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-tdfx 1.4.7.
      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-tdfx'
    593 PACKAGE_TARNAME='xf86-video-tdfx'
    594 PACKAGE_VERSION='1.4.7'
    595 PACKAGE_STRING='xf86-video-tdfx 1.4.7'
    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 XAA_FALSE
    643 XAA_TRUE
    644 XSERVER_LIBPCIACCESS_FALSE
    645 XSERVER_LIBPCIACCESS_TRUE
    646 PCIACCESS_LIBS
    647 PCIACCESS_CFLAGS
    648 DRI_LIBS
    649 DRI_CFLAGS
    650 DRI_FALSE
    651 DRI_TRUE
    652 XORG_LIBS
    653 XORG_CFLAGS
    654 LT_SYS_LIBRARY_PATH
    655 OTOOL64
    656 OTOOL
    657 LIPO
    658 NMEDIT
    659 DSYMUTIL
    660 MANIFEST_TOOL
    661 RANLIB
    662 ac_ct_AR
    663 AR
    664 DLLTOOL
    665 OBJDUMP
    666 LN_S
    667 NM
    668 ac_ct_DUMPBIN
    669 DUMPBIN
    670 LD
    671 FGREP
    672 LIBTOOL
    673 MAN_SUBSTS
    674 XORG_MAN_PAGE
    675 ADMIN_MAN_DIR
    676 DRIVER_MAN_DIR
    677 MISC_MAN_DIR
    678 FILE_MAN_DIR
    679 LIB_MAN_DIR
    680 APP_MAN_DIR
    681 ADMIN_MAN_SUFFIX
    682 DRIVER_MAN_SUFFIX
    683 MISC_MAN_SUFFIX
    684 FILE_MAN_SUFFIX
    685 LIB_MAN_SUFFIX
    686 APP_MAN_SUFFIX
    687 SED
    688 host_os
    689 host_vendor
    690 host_cpu
    691 host
    692 build_os
    693 build_vendor
    694 build_cpu
    695 build
    696 INSTALL_CMD
    697 PKG_CONFIG_LIBDIR
    698 PKG_CONFIG_PATH
    699 PKG_CONFIG
    700 CHANGELOG_CMD
    701 STRICT_CFLAGS
    702 CWARNFLAGS
    703 BASE_CFLAGS
    704 EGREP
    705 GREP
    706 CPP
    707 am__fastdepCC_FALSE
    708 am__fastdepCC_TRUE
    709 CCDEPMODE
    710 am__nodep
    711 AMDEPBACKSLASH
    712 AMDEP_FALSE
    713 AMDEP_TRUE
    714 am__quote
    715 am__include
    716 DEPDIR
    717 OBJEXT
    718 EXEEXT
    719 ac_ct_CC
    720 CPPFLAGS
    721 LDFLAGS
    722 CFLAGS
    723 CC
    724 MAINT
    725 MAINTAINER_MODE_FALSE
    726 MAINTAINER_MODE_TRUE
    727 AM_BACKSLASH
    728 AM_DEFAULT_VERBOSITY
    729 AM_DEFAULT_V
    730 AM_V
    731 am__untar
    732 am__tar
    733 AMTAR
    734 am__leading_dot
    735 SET_MAKE
    736 AWK
    737 mkdir_p
    738 MKDIR_P
    739 INSTALL_STRIP_PROGRAM
    740 STRIP
    741 install_sh
    742 MAKEINFO
    743 AUTOHEADER
    744 AUTOMAKE
    745 AUTOCONF
    746 ACLOCAL
    747 VERSION
    748 PACKAGE
    749 CYGPATH_W
    750 am__isrc
    751 INSTALL_DATA
    752 INSTALL_SCRIPT
    753 INSTALL_PROGRAM
    754 target_alias
    755 host_alias
    756 build_alias
    757 LIBS
    758 ECHO_T
    759 ECHO_N
    760 ECHO_C
    761 DEFS
    762 mandir
    763 localedir
    764 libdir
    765 psdir
    766 pdfdir
    767 dvidir
    768 htmldir
    769 infodir
    770 docdir
    771 oldincludedir
    772 includedir
    773 localstatedir
    774 sharedstatedir
    775 sysconfdir
    776 datadir
    777 datarootdir
    778 libexecdir
    779 sbindir
    780 bindir
    781 program_transform_name
    782 prefix
    783 exec_prefix
    784 PACKAGE_URL
    785 PACKAGE_BUGREPORT
    786 PACKAGE_STRING
    787 PACKAGE_VERSION
    788 PACKAGE_TARNAME
    789 PACKAGE_NAME
    790 PATH_SEPARATOR
    791 SHELL'
    792 ac_subst_files=''
    793 ac_user_opts='
    794 enable_option_checking
    795 enable_silent_rules
    796 enable_maintainer_mode
    797 enable_dependency_tracking
    798 enable_selective_werror
    799 enable_strict_compilation
    800 enable_static
    801 enable_shared
    802 with_pic
    803 enable_fast_install
    804 with_aix_soname
    805 with_gnu_ld
    806 with_sysroot
    807 enable_libtool_lock
    808 with_xorg_module_dir
    809 enable_dri
    810 enable_xaa
    811 '
    812       ac_precious_vars='build_alias
    813 host_alias
    814 target_alias
    815 CC
    816 CFLAGS
    817 LDFLAGS
    818 LIBS
    819 CPPFLAGS
    820 CPP
    821 PKG_CONFIG
    822 PKG_CONFIG_PATH
    823 PKG_CONFIG_LIBDIR
    824 LT_SYS_LIBRARY_PATH
    825 XORG_CFLAGS
    826 XORG_LIBS
    827 DRI_CFLAGS
    828 DRI_LIBS
    829 PCIACCESS_CFLAGS
    830 PCIACCESS_LIBS'
    831 
    832 
    833 # Initialize some variables set by options.
    834 ac_init_help=
    835 ac_init_version=false
    836 ac_unrecognized_opts=
    837 ac_unrecognized_sep=
    838 # The variables have the same names as the options, with
    839 # dashes changed to underlines.
    840 cache_file=/dev/null
    841 exec_prefix=NONE
    842 no_create=
    843 no_recursion=
    844 prefix=NONE
    845 program_prefix=NONE
    846 program_suffix=NONE
    847 program_transform_name=s,x,x,
    848 silent=
    849 site=
    850 srcdir=
    851 verbose=
    852 x_includes=NONE
    853 x_libraries=NONE
    854 
    855 # Installation directory options.
    856 # These are left unexpanded so users can "make install exec_prefix=/foo"
    857 # and all the variables that are supposed to be based on exec_prefix
    858 # by default will actually change.
    859 # Use braces instead of parens because sh, perl, etc. also accept them.
    860 # (The list follows the same order as the GNU Coding Standards.)
    861 bindir='${exec_prefix}/bin'
    862 sbindir='${exec_prefix}/sbin'
    863 libexecdir='${exec_prefix}/libexec'
    864 datarootdir='${prefix}/share'
    865 datadir='${datarootdir}'
    866 sysconfdir='${prefix}/etc'
    867 sharedstatedir='${prefix}/com'
    868 localstatedir='${prefix}/var'
    869 includedir='${prefix}/include'
    870 oldincludedir='/usr/include'
    871 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    872 infodir='${datarootdir}/info'
    873 htmldir='${docdir}'
    874 dvidir='${docdir}'
    875 pdfdir='${docdir}'
    876 psdir='${docdir}'
    877 libdir='${exec_prefix}/lib'
    878 localedir='${datarootdir}/locale'
    879 mandir='${datarootdir}/man'
    880 
    881 ac_prev=
    882 ac_dashdash=
    883 for ac_option
    884 do
    885   # If the previous option needs an argument, assign it.
    886   if test -n "$ac_prev"; then
    887     eval $ac_prev=\$ac_option
    888     ac_prev=
    889     continue
    890   fi
    891 
    892   case $ac_option in
    893   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    894   *=)   ac_optarg= ;;
    895   *)    ac_optarg=yes ;;
    896   esac
    897 
    898   # Accept the important Cygnus configure options, so we can diagnose typos.
    899 
    900   case $ac_dashdash$ac_option in
    901   --)
    902     ac_dashdash=yes ;;
    903 
    904   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    905     ac_prev=bindir ;;
    906   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    907     bindir=$ac_optarg ;;
    908 
    909   -build | --build | --buil | --bui | --bu)
    910     ac_prev=build_alias ;;
    911   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    912     build_alias=$ac_optarg ;;
    913 
    914   -cache-file | --cache-file | --cache-fil | --cache-fi \
    915   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    916     ac_prev=cache_file ;;
    917   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    918   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    919     cache_file=$ac_optarg ;;
    920 
    921   --config-cache | -C)
    922     cache_file=config.cache ;;
    923 
    924   -datadir | --datadir | --datadi | --datad)
    925     ac_prev=datadir ;;
    926   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    927     datadir=$ac_optarg ;;
    928 
    929   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    930   | --dataroo | --dataro | --datar)
    931     ac_prev=datarootdir ;;
    932   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    933   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    934     datarootdir=$ac_optarg ;;
    935 
    936   -disable-* | --disable-*)
    937     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    938     # Reject names that are not valid shell variable names.
    939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    940       as_fn_error $? "invalid feature name: $ac_useropt"
    941     ac_useropt_orig=$ac_useropt
    942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    943     case $ac_user_opts in
    944       *"
    945 "enable_$ac_useropt"
    946 "*) ;;
    947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    948 	 ac_unrecognized_sep=', ';;
    949     esac
    950     eval enable_$ac_useropt=no ;;
    951 
    952   -docdir | --docdir | --docdi | --doc | --do)
    953     ac_prev=docdir ;;
    954   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    955     docdir=$ac_optarg ;;
    956 
    957   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    958     ac_prev=dvidir ;;
    959   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    960     dvidir=$ac_optarg ;;
    961 
    962   -enable-* | --enable-*)
    963     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    964     # Reject names that are not valid shell variable names.
    965     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    966       as_fn_error $? "invalid feature name: $ac_useropt"
    967     ac_useropt_orig=$ac_useropt
    968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    969     case $ac_user_opts in
    970       *"
    971 "enable_$ac_useropt"
    972 "*) ;;
    973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    974 	 ac_unrecognized_sep=', ';;
    975     esac
    976     eval enable_$ac_useropt=\$ac_optarg ;;
    977 
    978   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    979   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    980   | --exec | --exe | --ex)
    981     ac_prev=exec_prefix ;;
    982   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    983   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    984   | --exec=* | --exe=* | --ex=*)
    985     exec_prefix=$ac_optarg ;;
    986 
    987   -gas | --gas | --ga | --g)
    988     # Obsolete; use --with-gas.
    989     with_gas=yes ;;
    990 
    991   -help | --help | --hel | --he | -h)
    992     ac_init_help=long ;;
    993   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    994     ac_init_help=recursive ;;
    995   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    996     ac_init_help=short ;;
    997 
    998   -host | --host | --hos | --ho)
    999     ac_prev=host_alias ;;
   1000   -host=* | --host=* | --hos=* | --ho=*)
   1001     host_alias=$ac_optarg ;;
   1002 
   1003   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1004     ac_prev=htmldir ;;
   1005   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1006   | --ht=*)
   1007     htmldir=$ac_optarg ;;
   1008 
   1009   -includedir | --includedir | --includedi | --included | --include \
   1010   | --includ | --inclu | --incl | --inc)
   1011     ac_prev=includedir ;;
   1012   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1013   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1014     includedir=$ac_optarg ;;
   1015 
   1016   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1017     ac_prev=infodir ;;
   1018   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1019     infodir=$ac_optarg ;;
   1020 
   1021   -libdir | --libdir | --libdi | --libd)
   1022     ac_prev=libdir ;;
   1023   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1024     libdir=$ac_optarg ;;
   1025 
   1026   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1027   | --libexe | --libex | --libe)
   1028     ac_prev=libexecdir ;;
   1029   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1030   | --libexe=* | --libex=* | --libe=*)
   1031     libexecdir=$ac_optarg ;;
   1032 
   1033   -localedir | --localedir | --localedi | --localed | --locale)
   1034     ac_prev=localedir ;;
   1035   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1036     localedir=$ac_optarg ;;
   1037 
   1038   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1039   | --localstate | --localstat | --localsta | --localst | --locals)
   1040     ac_prev=localstatedir ;;
   1041   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1042   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1043     localstatedir=$ac_optarg ;;
   1044 
   1045   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1046     ac_prev=mandir ;;
   1047   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1048     mandir=$ac_optarg ;;
   1049 
   1050   -nfp | --nfp | --nf)
   1051     # Obsolete; use --without-fp.
   1052     with_fp=no ;;
   1053 
   1054   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1055   | --no-cr | --no-c | -n)
   1056     no_create=yes ;;
   1057 
   1058   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1059   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1060     no_recursion=yes ;;
   1061 
   1062   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1063   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1064   | --oldin | --oldi | --old | --ol | --o)
   1065     ac_prev=oldincludedir ;;
   1066   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1067   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1068   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1069     oldincludedir=$ac_optarg ;;
   1070 
   1071   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1072     ac_prev=prefix ;;
   1073   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1074     prefix=$ac_optarg ;;
   1075 
   1076   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1077   | --program-pre | --program-pr | --program-p)
   1078     ac_prev=program_prefix ;;
   1079   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1080   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1081     program_prefix=$ac_optarg ;;
   1082 
   1083   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1084   | --program-suf | --program-su | --program-s)
   1085     ac_prev=program_suffix ;;
   1086   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1087   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1088     program_suffix=$ac_optarg ;;
   1089 
   1090   -program-transform-name | --program-transform-name \
   1091   | --program-transform-nam | --program-transform-na \
   1092   | --program-transform-n | --program-transform- \
   1093   | --program-transform | --program-transfor \
   1094   | --program-transfo | --program-transf \
   1095   | --program-trans | --program-tran \
   1096   | --progr-tra | --program-tr | --program-t)
   1097     ac_prev=program_transform_name ;;
   1098   -program-transform-name=* | --program-transform-name=* \
   1099   | --program-transform-nam=* | --program-transform-na=* \
   1100   | --program-transform-n=* | --program-transform-=* \
   1101   | --program-transform=* | --program-transfor=* \
   1102   | --program-transfo=* | --program-transf=* \
   1103   | --program-trans=* | --program-tran=* \
   1104   | --progr-tra=* | --program-tr=* | --program-t=*)
   1105     program_transform_name=$ac_optarg ;;
   1106 
   1107   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1108     ac_prev=pdfdir ;;
   1109   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1110     pdfdir=$ac_optarg ;;
   1111 
   1112   -psdir | --psdir | --psdi | --psd | --ps)
   1113     ac_prev=psdir ;;
   1114   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1115     psdir=$ac_optarg ;;
   1116 
   1117   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1118   | -silent | --silent | --silen | --sile | --sil)
   1119     silent=yes ;;
   1120 
   1121   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1122     ac_prev=sbindir ;;
   1123   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1124   | --sbi=* | --sb=*)
   1125     sbindir=$ac_optarg ;;
   1126 
   1127   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1128   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1129   | --sharedst | --shareds | --shared | --share | --shar \
   1130   | --sha | --sh)
   1131     ac_prev=sharedstatedir ;;
   1132   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1133   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1134   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1135   | --sha=* | --sh=*)
   1136     sharedstatedir=$ac_optarg ;;
   1137 
   1138   -site | --site | --sit)
   1139     ac_prev=site ;;
   1140   -site=* | --site=* | --sit=*)
   1141     site=$ac_optarg ;;
   1142 
   1143   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1144     ac_prev=srcdir ;;
   1145   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1146     srcdir=$ac_optarg ;;
   1147 
   1148   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1149   | --syscon | --sysco | --sysc | --sys | --sy)
   1150     ac_prev=sysconfdir ;;
   1151   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1152   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1153     sysconfdir=$ac_optarg ;;
   1154 
   1155   -target | --target | --targe | --targ | --tar | --ta | --t)
   1156     ac_prev=target_alias ;;
   1157   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1158     target_alias=$ac_optarg ;;
   1159 
   1160   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1161     verbose=yes ;;
   1162 
   1163   -version | --version | --versio | --versi | --vers | -V)
   1164     ac_init_version=: ;;
   1165 
   1166   -with-* | --with-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1168     # Reject names that are not valid shell variable names.
   1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1170       as_fn_error $? "invalid package name: $ac_useropt"
   1171     ac_useropt_orig=$ac_useropt
   1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1173     case $ac_user_opts in
   1174       *"
   1175 "with_$ac_useropt"
   1176 "*) ;;
   1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=\$ac_optarg ;;
   1181 
   1182   -without-* | --without-*)
   1183     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1184     # Reject names that are not valid shell variable names.
   1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1186       as_fn_error $? "invalid package name: $ac_useropt"
   1187     ac_useropt_orig=$ac_useropt
   1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1189     case $ac_user_opts in
   1190       *"
   1191 "with_$ac_useropt"
   1192 "*) ;;
   1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1194 	 ac_unrecognized_sep=', ';;
   1195     esac
   1196     eval with_$ac_useropt=no ;;
   1197 
   1198   --x)
   1199     # Obsolete; use --with-x.
   1200     with_x=yes ;;
   1201 
   1202   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1203   | --x-incl | --x-inc | --x-in | --x-i)
   1204     ac_prev=x_includes ;;
   1205   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1206   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1207     x_includes=$ac_optarg ;;
   1208 
   1209   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1210   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1211     ac_prev=x_libraries ;;
   1212   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1213   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1214     x_libraries=$ac_optarg ;;
   1215 
   1216   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1217 Try \`$0 --help' for more information"
   1218     ;;
   1219 
   1220   *=*)
   1221     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1222     # Reject names that are not valid shell variable names.
   1223     case $ac_envvar in #(
   1224       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1225       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1226     esac
   1227     eval $ac_envvar=\$ac_optarg
   1228     export $ac_envvar ;;
   1229 
   1230   *)
   1231     # FIXME: should be removed in autoconf 3.0.
   1232     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1233     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1234       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1235     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1236     ;;
   1237 
   1238   esac
   1239 done
   1240 
   1241 if test -n "$ac_prev"; then
   1242   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1243   as_fn_error $? "missing argument to $ac_option"
   1244 fi
   1245 
   1246 if test -n "$ac_unrecognized_opts"; then
   1247   case $enable_option_checking in
   1248     no) ;;
   1249     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1250     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1251   esac
   1252 fi
   1253 
   1254 # Check all directory arguments for consistency.
   1255 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1256 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1257 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1258 		libdir localedir mandir
   1259 do
   1260   eval ac_val=\$$ac_var
   1261   # Remove trailing slashes.
   1262   case $ac_val in
   1263     */ )
   1264       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1265       eval $ac_var=\$ac_val;;
   1266   esac
   1267   # Be sure to have absolute directory names.
   1268   case $ac_val in
   1269     [\\/$]* | ?:[\\/]* )  continue;;
   1270     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1271   esac
   1272   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1273 done
   1274 
   1275 # There might be people who depend on the old broken behavior: `$host'
   1276 # used to hold the argument of --host etc.
   1277 # FIXME: To remove some day.
   1278 build=$build_alias
   1279 host=$host_alias
   1280 target=$target_alias
   1281 
   1282 # FIXME: To remove some day.
   1283 if test "x$host_alias" != x; then
   1284   if test "x$build_alias" = x; then
   1285     cross_compiling=maybe
   1286   elif test "x$build_alias" != "x$host_alias"; then
   1287     cross_compiling=yes
   1288   fi
   1289 fi
   1290 
   1291 ac_tool_prefix=
   1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1293 
   1294 test "$silent" = yes && exec 6>/dev/null
   1295 
   1296 
   1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1298 ac_ls_di=`ls -di .` &&
   1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1300   as_fn_error $? "working directory cannot be determined"
   1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1302   as_fn_error $? "pwd does not report name of working directory"
   1303 
   1304 
   1305 # Find the source files, if location was not specified.
   1306 if test -z "$srcdir"; then
   1307   ac_srcdir_defaulted=yes
   1308   # Try the directory containing this script, then the parent directory.
   1309   ac_confdir=`$as_dirname -- "$as_myself" ||
   1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1311 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1312 	 X"$as_myself" : 'X\(//\)$' \| \
   1313 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1314 $as_echo X"$as_myself" |
   1315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1316 	    s//\1/
   1317 	    q
   1318 	  }
   1319 	  /^X\(\/\/\)[^/].*/{
   1320 	    s//\1/
   1321 	    q
   1322 	  }
   1323 	  /^X\(\/\/\)$/{
   1324 	    s//\1/
   1325 	    q
   1326 	  }
   1327 	  /^X\(\/\).*/{
   1328 	    s//\1/
   1329 	    q
   1330 	  }
   1331 	  s/.*/./; q'`
   1332   srcdir=$ac_confdir
   1333   if test ! -r "$srcdir/$ac_unique_file"; then
   1334     srcdir=..
   1335   fi
   1336 else
   1337   ac_srcdir_defaulted=no
   1338 fi
   1339 if test ! -r "$srcdir/$ac_unique_file"; then
   1340   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1341   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1342 fi
   1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1344 ac_abs_confdir=`(
   1345 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1346 	pwd)`
   1347 # When building in place, set srcdir=.
   1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1349   srcdir=.
   1350 fi
   1351 # Remove unnecessary trailing slashes from srcdir.
   1352 # Double slashes in file names in object file debugging info
   1353 # mess up M-x gdb in Emacs.
   1354 case $srcdir in
   1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1356 esac
   1357 for ac_var in $ac_precious_vars; do
   1358   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1359   eval ac_env_${ac_var}_value=\$${ac_var}
   1360   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1361   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1362 done
   1363 
   1364 #
   1365 # Report the --help message.
   1366 #
   1367 if test "$ac_init_help" = "long"; then
   1368   # Omit some internal or obsolete options to make the list less imposing.
   1369   # This message is too long to be a string in the A/UX 3.1 sh.
   1370   cat <<_ACEOF
   1371 \`configure' configures xf86-video-tdfx 1.4.7 to adapt to many kinds of systems.
   1372 
   1373 Usage: $0 [OPTION]... [VAR=VALUE]...
   1374 
   1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1376 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1377 
   1378 Defaults for the options are specified in brackets.
   1379 
   1380 Configuration:
   1381   -h, --help              display this help and exit
   1382       --help=short        display options specific to this package
   1383       --help=recursive    display the short help of all the included packages
   1384   -V, --version           display version information and exit
   1385   -q, --quiet, --silent   do not print \`checking ...' messages
   1386       --cache-file=FILE   cache test results in FILE [disabled]
   1387   -C, --config-cache      alias for \`--cache-file=config.cache'
   1388   -n, --no-create         do not create output files
   1389       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1390 
   1391 Installation directories:
   1392   --prefix=PREFIX         install architecture-independent files in PREFIX
   1393                           [$ac_default_prefix]
   1394   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1395                           [PREFIX]
   1396 
   1397 By default, \`make install' will install all the files in
   1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1400 for instance \`--prefix=\$HOME'.
   1401 
   1402 For better control, use the options below.
   1403 
   1404 Fine tuning of the installation directories:
   1405   --bindir=DIR            user executables [EPREFIX/bin]
   1406   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1407   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1408   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1409   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1410   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1411   --libdir=DIR            object code libraries [EPREFIX/lib]
   1412   --includedir=DIR        C header files [PREFIX/include]
   1413   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1414   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1415   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1416   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1417   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1418   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1419   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-tdfx]
   1420   --htmldir=DIR           html documentation [DOCDIR]
   1421   --dvidir=DIR            dvi documentation [DOCDIR]
   1422   --pdfdir=DIR            pdf documentation [DOCDIR]
   1423   --psdir=DIR             ps documentation [DOCDIR]
   1424 _ACEOF
   1425 
   1426   cat <<\_ACEOF
   1427 
   1428 Program names:
   1429   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1430   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1431   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1432 
   1433 System types:
   1434   --build=BUILD     configure for building on BUILD [guessed]
   1435   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1436 _ACEOF
   1437 fi
   1438 
   1439 if test -n "$ac_init_help"; then
   1440   case $ac_init_help in
   1441      short | recursive ) echo "Configuration of xf86-video-tdfx 1.4.7:";;
   1442    esac
   1443   cat <<\_ACEOF
   1444 
   1445 Optional Features:
   1446   --disable-option-checking  ignore unrecognized --enable/--with options
   1447   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1448   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1449   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1450   --disable-silent-rules  verbose build output (undo: "make V=0")
   1451   --enable-maintainer-mode
   1452                           enable make rules and dependencies not useful (and
   1453                           sometimes confusing) to the casual installer
   1454   --enable-dependency-tracking
   1455                           do not reject slow dependency extractors
   1456   --disable-dependency-tracking
   1457                           speeds up one-time build
   1458   --disable-selective-werror
   1459                           Turn off selective compiler errors. (default:
   1460                           enabled)
   1461   --enable-strict-compilation
   1462                           Enable all warnings from compiler and make them
   1463                           errors (default: disabled)
   1464   --enable-static[=PKGS]  build static libraries [default=no]
   1465   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1466   --enable-fast-install[=PKGS]
   1467                           optimize for fast installation [default=yes]
   1468   --disable-libtool-lock  avoid locking (might break parallel builds)
   1469   --disable-dri           Disable DRI support [[default=auto]]
   1470   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1471                           [default=auto]
   1472 
   1473 Optional Packages:
   1474   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1475   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1476   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1477                           both]
   1478   --with-aix-soname=aix|svr4|both
   1479                           shared library versioning (aka "SONAME") variant to
   1480                           provide on AIX, [default=aix].
   1481   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1482   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1483                           compiler's sysroot if not specified).
   1484   --with-xorg-module-dir=DIR
   1485                           Default xorg module directory
   1486                           [[default=$libdir/xorg/modules]]
   1487 
   1488 Some influential environment variables:
   1489   CC          C compiler command
   1490   CFLAGS      C compiler flags
   1491   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1492               nonstandard directory <lib dir>
   1493   LIBS        libraries to pass to the linker, e.g. -l<library>
   1494   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1495               you have headers in a nonstandard directory <include dir>
   1496   CPP         C preprocessor
   1497   PKG_CONFIG  path to pkg-config utility
   1498   PKG_CONFIG_PATH
   1499               directories to add to pkg-config's search path
   1500   PKG_CONFIG_LIBDIR
   1501               path overriding pkg-config's built-in search path
   1502   LT_SYS_LIBRARY_PATH
   1503               User-defined run-time library search path.
   1504   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1505   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1506   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1507   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1508   PCIACCESS_CFLAGS
   1509               C compiler flags for PCIACCESS, overriding pkg-config
   1510   PCIACCESS_LIBS
   1511               linker flags for PCIACCESS, overriding pkg-config
   1512 
   1513 Use these variables to override the choices made by `configure' or to help
   1514 it to find libraries and programs with nonstandard names/locations.
   1515 
   1516 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1517 _ACEOF
   1518 ac_status=$?
   1519 fi
   1520 
   1521 if test "$ac_init_help" = "recursive"; then
   1522   # If there are subdirs, report their specific --help.
   1523   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1524     test -d "$ac_dir" ||
   1525       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1526       continue
   1527     ac_builddir=.
   1528 
   1529 case "$ac_dir" in
   1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1531 *)
   1532   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1533   # A ".." for each directory in $ac_dir_suffix.
   1534   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1535   case $ac_top_builddir_sub in
   1536   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1537   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1538   esac ;;
   1539 esac
   1540 ac_abs_top_builddir=$ac_pwd
   1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1542 # for backward compatibility:
   1543 ac_top_builddir=$ac_top_build_prefix
   1544 
   1545 case $srcdir in
   1546   .)  # We are building in place.
   1547     ac_srcdir=.
   1548     ac_top_srcdir=$ac_top_builddir_sub
   1549     ac_abs_top_srcdir=$ac_pwd ;;
   1550   [\\/]* | ?:[\\/]* )  # Absolute name.
   1551     ac_srcdir=$srcdir$ac_dir_suffix;
   1552     ac_top_srcdir=$srcdir
   1553     ac_abs_top_srcdir=$srcdir ;;
   1554   *) # Relative name.
   1555     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1556     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1557     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1558 esac
   1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1560 
   1561     cd "$ac_dir" || { ac_status=$?; continue; }
   1562     # Check for guested configure.
   1563     if test -f "$ac_srcdir/configure.gnu"; then
   1564       echo &&
   1565       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1566     elif test -f "$ac_srcdir/configure"; then
   1567       echo &&
   1568       $SHELL "$ac_srcdir/configure" --help=recursive
   1569     else
   1570       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1571     fi || ac_status=$?
   1572     cd "$ac_pwd" || { ac_status=$?; break; }
   1573   done
   1574 fi
   1575 
   1576 test -n "$ac_init_help" && exit $ac_status
   1577 if $ac_init_version; then
   1578   cat <<\_ACEOF
   1579 xf86-video-tdfx configure 1.4.7
   1580 generated by GNU Autoconf 2.69
   1581 
   1582 Copyright (C) 2012 Free Software Foundation, Inc.
   1583 This configure script is free software; the Free Software Foundation
   1584 gives unlimited permission to copy, distribute and modify it.
   1585 _ACEOF
   1586   exit
   1587 fi
   1588 
   1589 ## ------------------------ ##
   1590 ## Autoconf initialization. ##
   1591 ## ------------------------ ##
   1592 
   1593 # ac_fn_c_try_compile LINENO
   1594 # --------------------------
   1595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1596 ac_fn_c_try_compile ()
   1597 {
   1598   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1599   rm -f conftest.$ac_objext
   1600   if { { ac_try="$ac_compile"
   1601 case "(($ac_try" in
   1602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1603   *) ac_try_echo=$ac_try;;
   1604 esac
   1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1606 $as_echo "$ac_try_echo"; } >&5
   1607   (eval "$ac_compile") 2>conftest.err
   1608   ac_status=$?
   1609   if test -s conftest.err; then
   1610     grep -v '^ *+' conftest.err >conftest.er1
   1611     cat conftest.er1 >&5
   1612     mv -f conftest.er1 conftest.err
   1613   fi
   1614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1615   test $ac_status = 0; } && {
   1616 	 test -z "$ac_c_werror_flag" ||
   1617 	 test ! -s conftest.err
   1618        } && test -s conftest.$ac_objext; then :
   1619   ac_retval=0
   1620 else
   1621   $as_echo "$as_me: failed program was:" >&5
   1622 sed 's/^/| /' conftest.$ac_ext >&5
   1623 
   1624 	ac_retval=1
   1625 fi
   1626   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1627   as_fn_set_status $ac_retval
   1628 
   1629 } # ac_fn_c_try_compile
   1630 
   1631 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1632 # ---------------------------------------------
   1633 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1634 # accordingly.
   1635 ac_fn_c_check_decl ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1639   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1641 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1642 if eval \${$3+:} false; then :
   1643   $as_echo_n "(cached) " >&6
   1644 else
   1645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1646 /* end confdefs.h.  */
   1647 $4
   1648 int
   1649 main ()
   1650 {
   1651 #ifndef $as_decl_name
   1652 #ifdef __cplusplus
   1653   (void) $as_decl_use;
   1654 #else
   1655   (void) $as_decl_name;
   1656 #endif
   1657 #endif
   1658 
   1659   ;
   1660   return 0;
   1661 }
   1662 _ACEOF
   1663 if ac_fn_c_try_compile "$LINENO"; then :
   1664   eval "$3=yes"
   1665 else
   1666   eval "$3=no"
   1667 fi
   1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1669 fi
   1670 eval ac_res=\$$3
   1671 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1672 $as_echo "$ac_res" >&6; }
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674 
   1675 } # ac_fn_c_check_decl
   1676 
   1677 # ac_fn_c_try_cpp LINENO
   1678 # ----------------------
   1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1680 ac_fn_c_try_cpp ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } > conftest.i && {
   1699 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        }; then :
   1702   ac_retval=0
   1703 else
   1704   $as_echo "$as_me: failed program was:" >&5
   1705 sed 's/^/| /' conftest.$ac_ext >&5
   1706 
   1707     ac_retval=1
   1708 fi
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710   as_fn_set_status $ac_retval
   1711 
   1712 } # ac_fn_c_try_cpp
   1713 
   1714 # ac_fn_c_try_run LINENO
   1715 # ----------------------
   1716 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1717 # that executables *can* be run.
   1718 ac_fn_c_try_run ()
   1719 {
   1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1721   if { { ac_try="$ac_link"
   1722 case "(($ac_try" in
   1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1724   *) ac_try_echo=$ac_try;;
   1725 esac
   1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1727 $as_echo "$ac_try_echo"; } >&5
   1728   (eval "$ac_link") 2>&5
   1729   ac_status=$?
   1730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1731   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1732   { { case "(($ac_try" in
   1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1734   *) ac_try_echo=$ac_try;;
   1735 esac
   1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1737 $as_echo "$ac_try_echo"; } >&5
   1738   (eval "$ac_try") 2>&5
   1739   ac_status=$?
   1740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1741   test $ac_status = 0; }; }; then :
   1742   ac_retval=0
   1743 else
   1744   $as_echo "$as_me: program exited with status $ac_status" >&5
   1745        $as_echo "$as_me: failed program was:" >&5
   1746 sed 's/^/| /' conftest.$ac_ext >&5
   1747 
   1748        ac_retval=$ac_status
   1749 fi
   1750   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_run
   1755 
   1756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1757 # -------------------------------------------------------
   1758 # Tests whether HEADER exists and can be compiled using the include files in
   1759 # INCLUDES, setting the cache variable VAR accordingly.
   1760 ac_fn_c_check_header_compile ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1764 $as_echo_n "checking for $2... " >&6; }
   1765 if eval \${$3+:} false; then :
   1766   $as_echo_n "(cached) " >&6
   1767 else
   1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1769 /* end confdefs.h.  */
   1770 $4
   1771 #include <$2>
   1772 _ACEOF
   1773 if ac_fn_c_try_compile "$LINENO"; then :
   1774   eval "$3=yes"
   1775 else
   1776   eval "$3=no"
   1777 fi
   1778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1779 fi
   1780 eval ac_res=\$$3
   1781 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1782 $as_echo "$ac_res" >&6; }
   1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1784 
   1785 } # ac_fn_c_check_header_compile
   1786 
   1787 # ac_fn_c_try_link LINENO
   1788 # -----------------------
   1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1790 ac_fn_c_try_link ()
   1791 {
   1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1793   rm -f conftest.$ac_objext conftest$ac_exeext
   1794   if { { ac_try="$ac_link"
   1795 case "(($ac_try" in
   1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1797   *) ac_try_echo=$ac_try;;
   1798 esac
   1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1800 $as_echo "$ac_try_echo"; } >&5
   1801   (eval "$ac_link") 2>conftest.err
   1802   ac_status=$?
   1803   if test -s conftest.err; then
   1804     grep -v '^ *+' conftest.err >conftest.er1
   1805     cat conftest.er1 >&5
   1806     mv -f conftest.er1 conftest.err
   1807   fi
   1808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1809   test $ac_status = 0; } && {
   1810 	 test -z "$ac_c_werror_flag" ||
   1811 	 test ! -s conftest.err
   1812        } && test -s conftest$ac_exeext && {
   1813 	 test "$cross_compiling" = yes ||
   1814 	 test -x conftest$ac_exeext
   1815        }; then :
   1816   ac_retval=0
   1817 else
   1818   $as_echo "$as_me: failed program was:" >&5
   1819 sed 's/^/| /' conftest.$ac_ext >&5
   1820 
   1821 	ac_retval=1
   1822 fi
   1823   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1824   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1825   # interfere with the next link command; also delete a directory that is
   1826   # left behind by Apple's compiler.  We do this before executing the actions.
   1827   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1829   as_fn_set_status $ac_retval
   1830 
   1831 } # ac_fn_c_try_link
   1832 
   1833 # ac_fn_c_check_func LINENO FUNC VAR
   1834 # ----------------------------------
   1835 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1836 ac_fn_c_check_func ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1840 $as_echo_n "checking for $2... " >&6; }
   1841 if eval \${$3+:} false; then :
   1842   $as_echo_n "(cached) " >&6
   1843 else
   1844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1845 /* end confdefs.h.  */
   1846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1848 #define $2 innocuous_$2
   1849 
   1850 /* System header to define __stub macros and hopefully few prototypes,
   1851     which can conflict with char $2 (); below.
   1852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1853     <limits.h> exists even on freestanding compilers.  */
   1854 
   1855 #ifdef __STDC__
   1856 # include <limits.h>
   1857 #else
   1858 # include <assert.h>
   1859 #endif
   1860 
   1861 #undef $2
   1862 
   1863 /* Override any GCC internal prototype to avoid an error.
   1864    Use char because int might match the return type of a GCC
   1865    builtin and then its argument prototype would still apply.  */
   1866 #ifdef __cplusplus
   1867 extern "C"
   1868 #endif
   1869 char $2 ();
   1870 /* The GNU C library defines this for functions which it implements
   1871     to always fail with ENOSYS.  Some functions are actually named
   1872     something starting with __ and the normal name is an alias.  */
   1873 #if defined __stub_$2 || defined __stub___$2
   1874 choke me
   1875 #endif
   1876 
   1877 int
   1878 main ()
   1879 {
   1880 return $2 ();
   1881   ;
   1882   return 0;
   1883 }
   1884 _ACEOF
   1885 if ac_fn_c_try_link "$LINENO"; then :
   1886   eval "$3=yes"
   1887 else
   1888   eval "$3=no"
   1889 fi
   1890 rm -f core conftest.err conftest.$ac_objext \
   1891     conftest$ac_exeext conftest.$ac_ext
   1892 fi
   1893 eval ac_res=\$$3
   1894 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1895 $as_echo "$ac_res" >&6; }
   1896   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1897 
   1898 } # ac_fn_c_check_func
   1899 
   1900 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1901 # -------------------------------------------------------
   1902 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1903 # the include files in INCLUDES and setting the cache variable VAR
   1904 # accordingly.
   1905 ac_fn_c_check_header_mongrel ()
   1906 {
   1907   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1908   if eval \${$3+:} false; then :
   1909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1910 $as_echo_n "checking for $2... " >&6; }
   1911 if eval \${$3+:} false; then :
   1912   $as_echo_n "(cached) " >&6
   1913 fi
   1914 eval ac_res=\$$3
   1915 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1916 $as_echo "$ac_res" >&6; }
   1917 else
   1918   # Is the header compilable?
   1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1920 $as_echo_n "checking $2 usability... " >&6; }
   1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1922 /* end confdefs.h.  */
   1923 $4
   1924 #include <$2>
   1925 _ACEOF
   1926 if ac_fn_c_try_compile "$LINENO"; then :
   1927   ac_header_compiler=yes
   1928 else
   1929   ac_header_compiler=no
   1930 fi
   1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1933 $as_echo "$ac_header_compiler" >&6; }
   1934 
   1935 # Is the header present?
   1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1937 $as_echo_n "checking $2 presence... " >&6; }
   1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1939 /* end confdefs.h.  */
   1940 #include <$2>
   1941 _ACEOF
   1942 if ac_fn_c_try_cpp "$LINENO"; then :
   1943   ac_header_preproc=yes
   1944 else
   1945   ac_header_preproc=no
   1946 fi
   1947 rm -f conftest.err conftest.i conftest.$ac_ext
   1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1949 $as_echo "$ac_header_preproc" >&6; }
   1950 
   1951 # So?  What about this header?
   1952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1953   yes:no: )
   1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1955 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1957 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1958     ;;
   1959   no:yes:* )
   1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1961 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1963 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1965 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1967 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1969 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1970 ( $as_echo "## ---------------------------------------------------------------------- ##
   1971 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1972 ## ---------------------------------------------------------------------- ##"
   1973      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1974     ;;
   1975 esac
   1976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1977 $as_echo_n "checking for $2... " >&6; }
   1978 if eval \${$3+:} false; then :
   1979   $as_echo_n "(cached) " >&6
   1980 else
   1981   eval "$3=\$ac_header_compiler"
   1982 fi
   1983 eval ac_res=\$$3
   1984 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1985 $as_echo "$ac_res" >&6; }
   1986 fi
   1987   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1988 
   1989 } # ac_fn_c_check_header_mongrel
   1990 cat >config.log <<_ACEOF
   1991 This file contains any messages produced by compilers while
   1992 running configure, to aid debugging if configure makes a mistake.
   1993 
   1994 It was created by xf86-video-tdfx $as_me 1.4.7, which was
   1995 generated by GNU Autoconf 2.69.  Invocation command line was
   1996 
   1997   $ $0 $@
   1998 
   1999 _ACEOF
   2000 exec 5>>config.log
   2001 {
   2002 cat <<_ASUNAME
   2003 ## --------- ##
   2004 ## Platform. ##
   2005 ## --------- ##
   2006 
   2007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2012 
   2013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2014 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2015 
   2016 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2017 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2019 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2020 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2021 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2022 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2023 
   2024 _ASUNAME
   2025 
   2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2027 for as_dir in $PATH
   2028 do
   2029   IFS=$as_save_IFS
   2030   test -z "$as_dir" && as_dir=.
   2031     $as_echo "PATH: $as_dir"
   2032   done
   2033 IFS=$as_save_IFS
   2034 
   2035 } >&5
   2036 
   2037 cat >&5 <<_ACEOF
   2038 
   2039 
   2040 ## ----------- ##
   2041 ## Core tests. ##
   2042 ## ----------- ##
   2043 
   2044 _ACEOF
   2045 
   2046 
   2047 # Keep a trace of the command line.
   2048 # Strip out --no-create and --no-recursion so they do not pile up.
   2049 # Strip out --silent because we don't want to record it for future runs.
   2050 # Also quote any args containing shell meta-characters.
   2051 # Make two passes to allow for proper duplicate-argument suppression.
   2052 ac_configure_args=
   2053 ac_configure_args0=
   2054 ac_configure_args1=
   2055 ac_must_keep_next=false
   2056 for ac_pass in 1 2
   2057 do
   2058   for ac_arg
   2059   do
   2060     case $ac_arg in
   2061     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2062     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2063     | -silent | --silent | --silen | --sile | --sil)
   2064       continue ;;
   2065     *\'*)
   2066       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2067     esac
   2068     case $ac_pass in
   2069     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2070     2)
   2071       as_fn_append ac_configure_args1 " '$ac_arg'"
   2072       if test $ac_must_keep_next = true; then
   2073 	ac_must_keep_next=false # Got value, back to normal.
   2074       else
   2075 	case $ac_arg in
   2076 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2077 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2078 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2079 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2080 	    case "$ac_configure_args0 " in
   2081 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2082 	    esac
   2083 	    ;;
   2084 	  -* ) ac_must_keep_next=true ;;
   2085 	esac
   2086       fi
   2087       as_fn_append ac_configure_args " '$ac_arg'"
   2088       ;;
   2089     esac
   2090   done
   2091 done
   2092 { ac_configure_args0=; unset ac_configure_args0;}
   2093 { ac_configure_args1=; unset ac_configure_args1;}
   2094 
   2095 # When interrupted or exit'd, cleanup temporary files, and complete
   2096 # config.log.  We remove comments because anyway the quotes in there
   2097 # would cause problems or look ugly.
   2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2100 trap 'exit_status=$?
   2101   # Save into config.log some information that might help in debugging.
   2102   {
   2103     echo
   2104 
   2105     $as_echo "## ---------------- ##
   2106 ## Cache variables. ##
   2107 ## ---------------- ##"
   2108     echo
   2109     # The following way of writing the cache mishandles newlines in values,
   2110 (
   2111   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2112     eval ac_val=\$$ac_var
   2113     case $ac_val in #(
   2114     *${as_nl}*)
   2115       case $ac_var in #(
   2116       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2118       esac
   2119       case $ac_var in #(
   2120       _ | IFS | as_nl) ;; #(
   2121       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2122       *) { eval $ac_var=; unset $ac_var;} ;;
   2123       esac ;;
   2124     esac
   2125   done
   2126   (set) 2>&1 |
   2127     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2128     *${as_nl}ac_space=\ *)
   2129       sed -n \
   2130 	"s/'\''/'\''\\\\'\'''\''/g;
   2131 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2132       ;; #(
   2133     *)
   2134       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2135       ;;
   2136     esac |
   2137     sort
   2138 )
   2139     echo
   2140 
   2141     $as_echo "## ----------------- ##
   2142 ## Output variables. ##
   2143 ## ----------------- ##"
   2144     echo
   2145     for ac_var in $ac_subst_vars
   2146     do
   2147       eval ac_val=\$$ac_var
   2148       case $ac_val in
   2149       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2150       esac
   2151       $as_echo "$ac_var='\''$ac_val'\''"
   2152     done | sort
   2153     echo
   2154 
   2155     if test -n "$ac_subst_files"; then
   2156       $as_echo "## ------------------- ##
   2157 ## File substitutions. ##
   2158 ## ------------------- ##"
   2159       echo
   2160       for ac_var in $ac_subst_files
   2161       do
   2162 	eval ac_val=\$$ac_var
   2163 	case $ac_val in
   2164 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2165 	esac
   2166 	$as_echo "$ac_var='\''$ac_val'\''"
   2167       done | sort
   2168       echo
   2169     fi
   2170 
   2171     if test -s confdefs.h; then
   2172       $as_echo "## ----------- ##
   2173 ## confdefs.h. ##
   2174 ## ----------- ##"
   2175       echo
   2176       cat confdefs.h
   2177       echo
   2178     fi
   2179     test "$ac_signal" != 0 &&
   2180       $as_echo "$as_me: caught signal $ac_signal"
   2181     $as_echo "$as_me: exit $exit_status"
   2182   } >&5
   2183   rm -f core *.core core.conftest.* &&
   2184     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2185     exit $exit_status
   2186 ' 0
   2187 for ac_signal in 1 2 13 15; do
   2188   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2189 done
   2190 ac_signal=0
   2191 
   2192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2193 rm -f -r conftest* confdefs.h
   2194 
   2195 $as_echo "/* confdefs.h */" > confdefs.h
   2196 
   2197 # Predefined preprocessor variables.
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_NAME "$PACKAGE_NAME"
   2201 _ACEOF
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2205 _ACEOF
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2209 _ACEOF
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_STRING "$PACKAGE_STRING"
   2213 _ACEOF
   2214 
   2215 cat >>confdefs.h <<_ACEOF
   2216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2217 _ACEOF
   2218 
   2219 cat >>confdefs.h <<_ACEOF
   2220 #define PACKAGE_URL "$PACKAGE_URL"
   2221 _ACEOF
   2222 
   2223 
   2224 # Let the site file select an alternate cache file if it wants to.
   2225 # Prefer an explicitly selected file to automatically selected ones.
   2226 ac_site_file1=NONE
   2227 ac_site_file2=NONE
   2228 if test -n "$CONFIG_SITE"; then
   2229   # We do not want a PATH search for config.site.
   2230   case $CONFIG_SITE in #((
   2231     -*)  ac_site_file1=./$CONFIG_SITE;;
   2232     */*) ac_site_file1=$CONFIG_SITE;;
   2233     *)   ac_site_file1=./$CONFIG_SITE;;
   2234   esac
   2235 elif test "x$prefix" != xNONE; then
   2236   ac_site_file1=$prefix/share/config.site
   2237   ac_site_file2=$prefix/etc/config.site
   2238 else
   2239   ac_site_file1=$ac_default_prefix/share/config.site
   2240   ac_site_file2=$ac_default_prefix/etc/config.site
   2241 fi
   2242 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2243 do
   2244   test "x$ac_site_file" = xNONE && continue
   2245   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2246     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2247 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2248     sed 's/^/| /' "$ac_site_file" >&5
   2249     . "$ac_site_file" \
   2250       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2252 as_fn_error $? "failed to load site script $ac_site_file
   2253 See \`config.log' for more details" "$LINENO" 5; }
   2254   fi
   2255 done
   2256 
   2257 if test -r "$cache_file"; then
   2258   # Some versions of bash will fail to source /dev/null (special files
   2259   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2260   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2261     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2262 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2263     case $cache_file in
   2264       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2265       *)                      . "./$cache_file";;
   2266     esac
   2267   fi
   2268 else
   2269   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2270 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2271   >$cache_file
   2272 fi
   2273 
   2274 # Check that the precious variables saved in the cache have kept the same
   2275 # value.
   2276 ac_cache_corrupted=false
   2277 for ac_var in $ac_precious_vars; do
   2278   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2279   eval ac_new_set=\$ac_env_${ac_var}_set
   2280   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2281   eval ac_new_val=\$ac_env_${ac_var}_value
   2282   case $ac_old_set,$ac_new_set in
   2283     set,)
   2284       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2285 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2286       ac_cache_corrupted=: ;;
   2287     ,set)
   2288       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2289 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2290       ac_cache_corrupted=: ;;
   2291     ,);;
   2292     *)
   2293       if test "x$ac_old_val" != "x$ac_new_val"; then
   2294 	# differences in whitespace do not lead to failure.
   2295 	ac_old_val_w=`echo x $ac_old_val`
   2296 	ac_new_val_w=`echo x $ac_new_val`
   2297 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2298 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2299 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2300 	  ac_cache_corrupted=:
   2301 	else
   2302 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2303 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2304 	  eval $ac_var=\$ac_old_val
   2305 	fi
   2306 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2307 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2308 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2309 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2310       fi;;
   2311   esac
   2312   # Pass precious variables to config.status.
   2313   if test "$ac_new_set" = set; then
   2314     case $ac_new_val in
   2315     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2316     *) ac_arg=$ac_var=$ac_new_val ;;
   2317     esac
   2318     case " $ac_configure_args " in
   2319       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2320       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2321     esac
   2322   fi
   2323 done
   2324 if $ac_cache_corrupted; then
   2325   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2327   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2328 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2329   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2330 fi
   2331 ## -------------------- ##
   2332 ## Main body of script. ##
   2333 ## -------------------- ##
   2334 
   2335 ac_ext=c
   2336 ac_cpp='$CPP $CPPFLAGS'
   2337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2340 
   2341 
   2342 
   2343 ac_config_headers="$ac_config_headers config.h"
   2344 
   2345 ac_aux_dir=
   2346 for ac_dir in . "$srcdir"/.; do
   2347   if test -f "$ac_dir/install-sh"; then
   2348     ac_aux_dir=$ac_dir
   2349     ac_install_sh="$ac_aux_dir/install-sh -c"
   2350     break
   2351   elif test -f "$ac_dir/install.sh"; then
   2352     ac_aux_dir=$ac_dir
   2353     ac_install_sh="$ac_aux_dir/install.sh -c"
   2354     break
   2355   elif test -f "$ac_dir/shtool"; then
   2356     ac_aux_dir=$ac_dir
   2357     ac_install_sh="$ac_aux_dir/shtool install -c"
   2358     break
   2359   fi
   2360 done
   2361 if test -z "$ac_aux_dir"; then
   2362   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2363 fi
   2364 
   2365 # These three variables are undocumented and unsupported,
   2366 # and are intended to be withdrawn in a future Autoconf release.
   2367 # They can cause serious problems if a builder's source tree is in a directory
   2368 # whose full name contains unusual characters.
   2369 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2370 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2371 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2372 
   2373 
   2374 
   2375 # Initialize Automake
   2376 am__api_version='1.15'
   2377 
   2378 # Find a good install program.  We prefer a C program (faster),
   2379 # so one script is as good as another.  But avoid the broken or
   2380 # incompatible versions:
   2381 # SysV /etc/install, /usr/sbin/install
   2382 # SunOS /usr/etc/install
   2383 # IRIX /sbin/install
   2384 # AIX /bin/install
   2385 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2389 # OS/2's system install, which has a completely different semantic
   2390 # ./install, which can be erroneously created by make from ./install.sh.
   2391 # Reject install programs that cannot install multiple files.
   2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2393 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2394 if test -z "$INSTALL"; then
   2395 if ${ac_cv_path_install+:} false; then :
   2396   $as_echo_n "(cached) " >&6
   2397 else
   2398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2399 for as_dir in $PATH
   2400 do
   2401   IFS=$as_save_IFS
   2402   test -z "$as_dir" && as_dir=.
   2403     # Account for people who put trailing slashes in PATH elements.
   2404 case $as_dir/ in #((
   2405   ./ | .// | /[cC]/* | \
   2406   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2407   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2408   /usr/ucb/* ) ;;
   2409   *)
   2410     # OSF1 and SCO ODT 3.0 have their own names for install.
   2411     # Don't use installbsd from OSF since it installs stuff as root
   2412     # by default.
   2413     for ac_prog in ginstall scoinst install; do
   2414       for ac_exec_ext in '' $ac_executable_extensions; do
   2415 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2416 	  if test $ac_prog = install &&
   2417 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2418 	    # AIX install.  It has an incompatible calling convention.
   2419 	    :
   2420 	  elif test $ac_prog = install &&
   2421 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2422 	    # program-specific install script used by HP pwplus--don't use.
   2423 	    :
   2424 	  else
   2425 	    rm -rf conftest.one conftest.two conftest.dir
   2426 	    echo one > conftest.one
   2427 	    echo two > conftest.two
   2428 	    mkdir conftest.dir
   2429 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2430 	      test -s conftest.one && test -s conftest.two &&
   2431 	      test -s conftest.dir/conftest.one &&
   2432 	      test -s conftest.dir/conftest.two
   2433 	    then
   2434 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2435 	      break 3
   2436 	    fi
   2437 	  fi
   2438 	fi
   2439       done
   2440     done
   2441     ;;
   2442 esac
   2443 
   2444   done
   2445 IFS=$as_save_IFS
   2446 
   2447 rm -rf conftest.one conftest.two conftest.dir
   2448 
   2449 fi
   2450   if test "${ac_cv_path_install+set}" = set; then
   2451     INSTALL=$ac_cv_path_install
   2452   else
   2453     # As a last resort, use the slow shell script.  Don't cache a
   2454     # value for INSTALL within a source directory, because that will
   2455     # break other packages using the cache if that directory is
   2456     # removed, or if the value is a relative name.
   2457     INSTALL=$ac_install_sh
   2458   fi
   2459 fi
   2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2461 $as_echo "$INSTALL" >&6; }
   2462 
   2463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2464 # It thinks the first close brace ends the variable substitution.
   2465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2466 
   2467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2468 
   2469 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2470 
   2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2472 $as_echo_n "checking whether build environment is sane... " >&6; }
   2473 # Reject unsafe characters in $srcdir or the absolute working directory
   2474 # name.  Accept space and tab only in the latter.
   2475 am_lf='
   2476 '
   2477 case `pwd` in
   2478   *[\\\"\#\$\&\'\`$am_lf]*)
   2479     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2480 esac
   2481 case $srcdir in
   2482   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2483     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2484 esac
   2485 
   2486 # Do 'set' in a subshell so we don't clobber the current shell's
   2487 # arguments.  Must try -L first in case configure is actually a
   2488 # symlink; some systems play weird games with the mod time of symlinks
   2489 # (eg FreeBSD returns the mod time of the symlink's containing
   2490 # directory).
   2491 if (
   2492    am_has_slept=no
   2493    for am_try in 1 2; do
   2494      echo "timestamp, slept: $am_has_slept" > conftest.file
   2495      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2496      if test "$*" = "X"; then
   2497 	# -L didn't work.
   2498 	set X `ls -t "$srcdir/configure" conftest.file`
   2499      fi
   2500      if test "$*" != "X $srcdir/configure conftest.file" \
   2501 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2502 
   2503 	# If neither matched, then we have a broken ls.  This can happen
   2504 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2505 	# broken ls alias from the environment.  This has actually
   2506 	# happened.  Such a system could not be considered "sane".
   2507 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2508   alias in your environment" "$LINENO" 5
   2509      fi
   2510      if test "$2" = conftest.file || test $am_try -eq 2; then
   2511        break
   2512      fi
   2513      # Just in case.
   2514      sleep 1
   2515      am_has_slept=yes
   2516    done
   2517    test "$2" = conftest.file
   2518    )
   2519 then
   2520    # Ok.
   2521    :
   2522 else
   2523    as_fn_error $? "newly created file is older than distributed files!
   2524 Check your system clock" "$LINENO" 5
   2525 fi
   2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2527 $as_echo "yes" >&6; }
   2528 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2529 # generated files are strictly newer.
   2530 am_sleep_pid=
   2531 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2532   ( sleep 1 ) &
   2533   am_sleep_pid=$!
   2534 fi
   2535 
   2536 rm -f conftest.file
   2537 
   2538 test "$program_prefix" != NONE &&
   2539   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2540 # Use a double $ so make ignores it.
   2541 test "$program_suffix" != NONE &&
   2542   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2543 # Double any \ or $.
   2544 # By default was `s,x,x', remove it if useless.
   2545 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2546 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2547 
   2548 # Expand $ac_aux_dir to an absolute path.
   2549 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2550 
   2551 if test x"${MISSING+set}" != xset; then
   2552   case $am_aux_dir in
   2553   *\ * | *\	*)
   2554     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2555   *)
   2556     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2557   esac
   2558 fi
   2559 # Use eval to expand $SHELL
   2560 if eval "$MISSING --is-lightweight"; then
   2561   am_missing_run="$MISSING "
   2562 else
   2563   am_missing_run=
   2564   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2565 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2566 fi
   2567 
   2568 if test x"${install_sh+set}" != xset; then
   2569   case $am_aux_dir in
   2570   *\ * | *\	*)
   2571     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2572   *)
   2573     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2574   esac
   2575 fi
   2576 
   2577 # Installed binaries are usually stripped using 'strip' when the user
   2578 # run "make install-strip".  However 'strip' might not be the right
   2579 # tool to use in cross-compilation environments, therefore Automake
   2580 # will honor the 'STRIP' environment variable to overrule this program.
   2581 if test "$cross_compiling" != no; then
   2582   if test -n "$ac_tool_prefix"; then
   2583   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2584 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2586 $as_echo_n "checking for $ac_word... " >&6; }
   2587 if ${ac_cv_prog_STRIP+:} false; then :
   2588   $as_echo_n "(cached) " >&6
   2589 else
   2590   if test -n "$STRIP"; then
   2591   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2592 else
   2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2594 for as_dir in $PATH
   2595 do
   2596   IFS=$as_save_IFS
   2597   test -z "$as_dir" && as_dir=.
   2598     for ac_exec_ext in '' $ac_executable_extensions; do
   2599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2600     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2602     break 2
   2603   fi
   2604 done
   2605   done
   2606 IFS=$as_save_IFS
   2607 
   2608 fi
   2609 fi
   2610 STRIP=$ac_cv_prog_STRIP
   2611 if test -n "$STRIP"; then
   2612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2613 $as_echo "$STRIP" >&6; }
   2614 else
   2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2616 $as_echo "no" >&6; }
   2617 fi
   2618 
   2619 
   2620 fi
   2621 if test -z "$ac_cv_prog_STRIP"; then
   2622   ac_ct_STRIP=$STRIP
   2623   # Extract the first word of "strip", so it can be a program name with args.
   2624 set dummy strip; ac_word=$2
   2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2626 $as_echo_n "checking for $ac_word... " >&6; }
   2627 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2628   $as_echo_n "(cached) " >&6
   2629 else
   2630   if test -n "$ac_ct_STRIP"; then
   2631   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2632 else
   2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2634 for as_dir in $PATH
   2635 do
   2636   IFS=$as_save_IFS
   2637   test -z "$as_dir" && as_dir=.
   2638     for ac_exec_ext in '' $ac_executable_extensions; do
   2639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2640     ac_cv_prog_ac_ct_STRIP="strip"
   2641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2642     break 2
   2643   fi
   2644 done
   2645   done
   2646 IFS=$as_save_IFS
   2647 
   2648 fi
   2649 fi
   2650 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2651 if test -n "$ac_ct_STRIP"; then
   2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2653 $as_echo "$ac_ct_STRIP" >&6; }
   2654 else
   2655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2656 $as_echo "no" >&6; }
   2657 fi
   2658 
   2659   if test "x$ac_ct_STRIP" = x; then
   2660     STRIP=":"
   2661   else
   2662     case $cross_compiling:$ac_tool_warned in
   2663 yes:)
   2664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2666 ac_tool_warned=yes ;;
   2667 esac
   2668     STRIP=$ac_ct_STRIP
   2669   fi
   2670 else
   2671   STRIP="$ac_cv_prog_STRIP"
   2672 fi
   2673 
   2674 fi
   2675 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2676 
   2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2678 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2679 if test -z "$MKDIR_P"; then
   2680   if ${ac_cv_path_mkdir+:} false; then :
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2684 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2685 do
   2686   IFS=$as_save_IFS
   2687   test -z "$as_dir" && as_dir=.
   2688     for ac_prog in mkdir gmkdir; do
   2689 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2690 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2691 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2692 	     'mkdir (GNU coreutils) '* | \
   2693 	     'mkdir (coreutils) '* | \
   2694 	     'mkdir (fileutils) '4.1*)
   2695 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2696 	       break 3;;
   2697 	   esac
   2698 	 done
   2699        done
   2700   done
   2701 IFS=$as_save_IFS
   2702 
   2703 fi
   2704 
   2705   test -d ./--version && rmdir ./--version
   2706   if test "${ac_cv_path_mkdir+set}" = set; then
   2707     MKDIR_P="$ac_cv_path_mkdir -p"
   2708   else
   2709     # As a last resort, use the slow shell script.  Don't cache a
   2710     # value for MKDIR_P within a source directory, because that will
   2711     # break other packages using the cache if that directory is
   2712     # removed, or if the value is a relative name.
   2713     MKDIR_P="$ac_install_sh -d"
   2714   fi
   2715 fi
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2717 $as_echo "$MKDIR_P" >&6; }
   2718 
   2719 for ac_prog in gawk mawk nawk awk
   2720 do
   2721   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2722 set dummy $ac_prog; ac_word=$2
   2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2724 $as_echo_n "checking for $ac_word... " >&6; }
   2725 if ${ac_cv_prog_AWK+:} false; then :
   2726   $as_echo_n "(cached) " >&6
   2727 else
   2728   if test -n "$AWK"; then
   2729   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2730 else
   2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2732 for as_dir in $PATH
   2733 do
   2734   IFS=$as_save_IFS
   2735   test -z "$as_dir" && as_dir=.
   2736     for ac_exec_ext in '' $ac_executable_extensions; do
   2737   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2738     ac_cv_prog_AWK="$ac_prog"
   2739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2740     break 2
   2741   fi
   2742 done
   2743   done
   2744 IFS=$as_save_IFS
   2745 
   2746 fi
   2747 fi
   2748 AWK=$ac_cv_prog_AWK
   2749 if test -n "$AWK"; then
   2750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2751 $as_echo "$AWK" >&6; }
   2752 else
   2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2754 $as_echo "no" >&6; }
   2755 fi
   2756 
   2757 
   2758   test -n "$AWK" && break
   2759 done
   2760 
   2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2762 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2763 set x ${MAKE-make}
   2764 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2765 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2766   $as_echo_n "(cached) " >&6
   2767 else
   2768   cat >conftest.make <<\_ACEOF
   2769 SHELL = /bin/sh
   2770 all:
   2771 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2772 _ACEOF
   2773 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2774 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2775   *@@@%%%=?*=@@@%%%*)
   2776     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2777   *)
   2778     eval ac_cv_prog_make_${ac_make}_set=no;;
   2779 esac
   2780 rm -f conftest.make
   2781 fi
   2782 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2784 $as_echo "yes" >&6; }
   2785   SET_MAKE=
   2786 else
   2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2788 $as_echo "no" >&6; }
   2789   SET_MAKE="MAKE=${MAKE-make}"
   2790 fi
   2791 
   2792 rm -rf .tst 2>/dev/null
   2793 mkdir .tst 2>/dev/null
   2794 if test -d .tst; then
   2795   am__leading_dot=.
   2796 else
   2797   am__leading_dot=_
   2798 fi
   2799 rmdir .tst 2>/dev/null
   2800 
   2801 # Check whether --enable-silent-rules was given.
   2802 if test "${enable_silent_rules+set}" = set; then :
   2803   enableval=$enable_silent_rules;
   2804 fi
   2805 
   2806 case $enable_silent_rules in # (((
   2807   yes) AM_DEFAULT_VERBOSITY=0;;
   2808    no) AM_DEFAULT_VERBOSITY=1;;
   2809     *) AM_DEFAULT_VERBOSITY=1;;
   2810 esac
   2811 am_make=${MAKE-make}
   2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2813 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2814 if ${am_cv_make_support_nested_variables+:} false; then :
   2815   $as_echo_n "(cached) " >&6
   2816 else
   2817   if $as_echo 'TRUE=$(BAR$(V))
   2818 BAR0=false
   2819 BAR1=true
   2820 V=1
   2821 am__doit:
   2822 	@$(TRUE)
   2823 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2824   am_cv_make_support_nested_variables=yes
   2825 else
   2826   am_cv_make_support_nested_variables=no
   2827 fi
   2828 fi
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2830 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2831 if test $am_cv_make_support_nested_variables = yes; then
   2832     AM_V='$(V)'
   2833   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2834 else
   2835   AM_V=$AM_DEFAULT_VERBOSITY
   2836   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2837 fi
   2838 AM_BACKSLASH='\'
   2839 
   2840 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2841   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2842   # is not polluted with repeated "-I."
   2843   am__isrc=' -I$(srcdir)'
   2844   # test to see if srcdir already configured
   2845   if test -f $srcdir/config.status; then
   2846     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2847   fi
   2848 fi
   2849 
   2850 # test whether we have cygpath
   2851 if test -z "$CYGPATH_W"; then
   2852   if (cygpath --version) >/dev/null 2>/dev/null; then
   2853     CYGPATH_W='cygpath -w'
   2854   else
   2855     CYGPATH_W=echo
   2856   fi
   2857 fi
   2858 
   2859 
   2860 # Define the identity of the package.
   2861  PACKAGE='xf86-video-tdfx'
   2862  VERSION='1.4.7'
   2863 
   2864 
   2865 cat >>confdefs.h <<_ACEOF
   2866 #define PACKAGE "$PACKAGE"
   2867 _ACEOF
   2868 
   2869 
   2870 cat >>confdefs.h <<_ACEOF
   2871 #define VERSION "$VERSION"
   2872 _ACEOF
   2873 
   2874 # Some tools Automake needs.
   2875 
   2876 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2877 
   2878 
   2879 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2880 
   2881 
   2882 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2883 
   2884 
   2885 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2886 
   2887 
   2888 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2889 
   2890 # For better backward compatibility.  To be removed once Automake 1.9.x
   2891 # dies out for good.  For more background, see:
   2892 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2893 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2894 mkdir_p='$(MKDIR_P)'
   2895 
   2896 # We need awk for the "check" target (and possibly the TAP driver).  The
   2897 # system "awk" is bad on some platforms.
   2898 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2899 # in the wild :-(  We should find a proper way to deprecate it ...
   2900 AMTAR='$${TAR-tar}'
   2901 
   2902 
   2903 # We'll loop over all known methods to create a tar archive until one works.
   2904 _am_tools='gnutar  pax cpio none'
   2905 
   2906 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2907 
   2908 
   2909 
   2910 
   2911 
   2912 
   2913 # POSIX will say in a future version that running "rm -f" with no argument
   2914 # is OK; and we want to be able to make that assumption in our Makefile
   2915 # recipes.  So use an aggressive probe to check that the usage we want is
   2916 # actually supported "in the wild" to an acceptable degree.
   2917 # See automake bug#10828.
   2918 # To make any issue more visible, cause the running configure to be aborted
   2919 # by default if the 'rm' program in use doesn't match our expectations; the
   2920 # user can still override this though.
   2921 if rm -f && rm -fr && rm -rf; then : OK; else
   2922   cat >&2 <<'END'
   2923 Oops!
   2924 
   2925 Your 'rm' program seems unable to run without file operands specified
   2926 on the command line, even when the '-f' option is present.  This is contrary
   2927 to the behaviour of most rm programs out there, and not conforming with
   2928 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2929 
   2930 Please tell bug-automake@gnu.org about your system, including the value
   2931 of your $PATH and any error possibly output before this message.  This
   2932 can help us improve future automake versions.
   2933 
   2934 END
   2935   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2936     echo 'Configuration will proceed anyway, since you have set the' >&2
   2937     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2938     echo >&2
   2939   else
   2940     cat >&2 <<'END'
   2941 Aborting the configuration process, to ensure you take notice of the issue.
   2942 
   2943 You can download and install GNU coreutils to get an 'rm' implementation
   2944 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2945 
   2946 If you want to complete the configuration process using your problematic
   2947 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2948 to "yes", and re-run configure.
   2949 
   2950 END
   2951     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2952   fi
   2953 fi
   2954 
   2955 
   2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2957 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2958     # Check whether --enable-maintainer-mode was given.
   2959 if test "${enable_maintainer_mode+set}" = set; then :
   2960   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2961 else
   2962   USE_MAINTAINER_MODE=no
   2963 fi
   2964 
   2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2966 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2967    if test $USE_MAINTAINER_MODE = yes; then
   2968   MAINTAINER_MODE_TRUE=
   2969   MAINTAINER_MODE_FALSE='#'
   2970 else
   2971   MAINTAINER_MODE_TRUE='#'
   2972   MAINTAINER_MODE_FALSE=
   2973 fi
   2974 
   2975   MAINT=$MAINTAINER_MODE_TRUE
   2976 
   2977 
   2978 
   2979 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 
   2988 
   2989 
   2990 
   2991 DEPDIR="${am__leading_dot}deps"
   2992 
   2993 ac_config_commands="$ac_config_commands depfiles"
   2994 
   2995 
   2996 am_make=${MAKE-make}
   2997 cat > confinc << 'END'
   2998 am__doit:
   2999 	@echo this is the am__doit target
   3000 .PHONY: am__doit
   3001 END
   3002 # If we don't find an include directive, just comment out the code.
   3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3004 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3005 am__include="#"
   3006 am__quote=
   3007 _am_result=none
   3008 # First try GNU make style include.
   3009 echo "include confinc" > confmf
   3010 # Ignore all kinds of additional output from 'make'.
   3011 case `$am_make -s -f confmf 2> /dev/null` in #(
   3012 *the\ am__doit\ target*)
   3013   am__include=include
   3014   am__quote=
   3015   _am_result=GNU
   3016   ;;
   3017 esac
   3018 # Now try BSD make style include.
   3019 if test "$am__include" = "#"; then
   3020    echo '.include "confinc"' > confmf
   3021    case `$am_make -s -f confmf 2> /dev/null` in #(
   3022    *the\ am__doit\ target*)
   3023      am__include=.include
   3024      am__quote="\""
   3025      _am_result=BSD
   3026      ;;
   3027    esac
   3028 fi
   3029 
   3030 
   3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3032 $as_echo "$_am_result" >&6; }
   3033 rm -f confinc confmf
   3034 
   3035 # Check whether --enable-dependency-tracking was given.
   3036 if test "${enable_dependency_tracking+set}" = set; then :
   3037   enableval=$enable_dependency_tracking;
   3038 fi
   3039 
   3040 if test "x$enable_dependency_tracking" != xno; then
   3041   am_depcomp="$ac_aux_dir/depcomp"
   3042   AMDEPBACKSLASH='\'
   3043   am__nodep='_no'
   3044 fi
   3045  if test "x$enable_dependency_tracking" != xno; then
   3046   AMDEP_TRUE=
   3047   AMDEP_FALSE='#'
   3048 else
   3049   AMDEP_TRUE='#'
   3050   AMDEP_FALSE=
   3051 fi
   3052 
   3053 
   3054 ac_ext=c
   3055 ac_cpp='$CPP $CPPFLAGS'
   3056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3059 if test -n "$ac_tool_prefix"; then
   3060   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3061 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3063 $as_echo_n "checking for $ac_word... " >&6; }
   3064 if ${ac_cv_prog_CC+:} false; then :
   3065   $as_echo_n "(cached) " >&6
   3066 else
   3067   if test -n "$CC"; then
   3068   ac_cv_prog_CC="$CC" # Let the user override the test.
   3069 else
   3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3071 for as_dir in $PATH
   3072 do
   3073   IFS=$as_save_IFS
   3074   test -z "$as_dir" && as_dir=.
   3075     for ac_exec_ext in '' $ac_executable_extensions; do
   3076   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3077     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3079     break 2
   3080   fi
   3081 done
   3082   done
   3083 IFS=$as_save_IFS
   3084 
   3085 fi
   3086 fi
   3087 CC=$ac_cv_prog_CC
   3088 if test -n "$CC"; then
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3090 $as_echo "$CC" >&6; }
   3091 else
   3092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3093 $as_echo "no" >&6; }
   3094 fi
   3095 
   3096 
   3097 fi
   3098 if test -z "$ac_cv_prog_CC"; then
   3099   ac_ct_CC=$CC
   3100   # Extract the first word of "gcc", so it can be a program name with args.
   3101 set dummy gcc; ac_word=$2
   3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3103 $as_echo_n "checking for $ac_word... " >&6; }
   3104 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3105   $as_echo_n "(cached) " >&6
   3106 else
   3107   if test -n "$ac_ct_CC"; then
   3108   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3109 else
   3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3111 for as_dir in $PATH
   3112 do
   3113   IFS=$as_save_IFS
   3114   test -z "$as_dir" && as_dir=.
   3115     for ac_exec_ext in '' $ac_executable_extensions; do
   3116   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3117     ac_cv_prog_ac_ct_CC="gcc"
   3118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3119     break 2
   3120   fi
   3121 done
   3122   done
   3123 IFS=$as_save_IFS
   3124 
   3125 fi
   3126 fi
   3127 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3128 if test -n "$ac_ct_CC"; then
   3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3130 $as_echo "$ac_ct_CC" >&6; }
   3131 else
   3132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3133 $as_echo "no" >&6; }
   3134 fi
   3135 
   3136   if test "x$ac_ct_CC" = x; then
   3137     CC=""
   3138   else
   3139     case $cross_compiling:$ac_tool_warned in
   3140 yes:)
   3141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3143 ac_tool_warned=yes ;;
   3144 esac
   3145     CC=$ac_ct_CC
   3146   fi
   3147 else
   3148   CC="$ac_cv_prog_CC"
   3149 fi
   3150 
   3151 if test -z "$CC"; then
   3152           if test -n "$ac_tool_prefix"; then
   3153     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3154 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3156 $as_echo_n "checking for $ac_word... " >&6; }
   3157 if ${ac_cv_prog_CC+:} false; then :
   3158   $as_echo_n "(cached) " >&6
   3159 else
   3160   if test -n "$CC"; then
   3161   ac_cv_prog_CC="$CC" # Let the user override the test.
   3162 else
   3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3164 for as_dir in $PATH
   3165 do
   3166   IFS=$as_save_IFS
   3167   test -z "$as_dir" && as_dir=.
   3168     for ac_exec_ext in '' $ac_executable_extensions; do
   3169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3170     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3172     break 2
   3173   fi
   3174 done
   3175   done
   3176 IFS=$as_save_IFS
   3177 
   3178 fi
   3179 fi
   3180 CC=$ac_cv_prog_CC
   3181 if test -n "$CC"; then
   3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3183 $as_echo "$CC" >&6; }
   3184 else
   3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3186 $as_echo "no" >&6; }
   3187 fi
   3188 
   3189 
   3190   fi
   3191 fi
   3192 if test -z "$CC"; then
   3193   # Extract the first word of "cc", so it can be a program name with args.
   3194 set dummy cc; ac_word=$2
   3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3196 $as_echo_n "checking for $ac_word... " >&6; }
   3197 if ${ac_cv_prog_CC+:} false; then :
   3198   $as_echo_n "(cached) " >&6
   3199 else
   3200   if test -n "$CC"; then
   3201   ac_cv_prog_CC="$CC" # Let the user override the test.
   3202 else
   3203   ac_prog_rejected=no
   3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3205 for as_dir in $PATH
   3206 do
   3207   IFS=$as_save_IFS
   3208   test -z "$as_dir" && as_dir=.
   3209     for ac_exec_ext in '' $ac_executable_extensions; do
   3210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3211     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3212        ac_prog_rejected=yes
   3213        continue
   3214      fi
   3215     ac_cv_prog_CC="cc"
   3216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3217     break 2
   3218   fi
   3219 done
   3220   done
   3221 IFS=$as_save_IFS
   3222 
   3223 if test $ac_prog_rejected = yes; then
   3224   # We found a bogon in the path, so make sure we never use it.
   3225   set dummy $ac_cv_prog_CC
   3226   shift
   3227   if test $# != 0; then
   3228     # We chose a different compiler from the bogus one.
   3229     # However, it has the same basename, so the bogon will be chosen
   3230     # first if we set CC to just the basename; use the full file name.
   3231     shift
   3232     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3233   fi
   3234 fi
   3235 fi
   3236 fi
   3237 CC=$ac_cv_prog_CC
   3238 if test -n "$CC"; then
   3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3240 $as_echo "$CC" >&6; }
   3241 else
   3242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3243 $as_echo "no" >&6; }
   3244 fi
   3245 
   3246 
   3247 fi
   3248 if test -z "$CC"; then
   3249   if test -n "$ac_tool_prefix"; then
   3250   for ac_prog in cl.exe
   3251   do
   3252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3255 $as_echo_n "checking for $ac_word... " >&6; }
   3256 if ${ac_cv_prog_CC+:} false; then :
   3257   $as_echo_n "(cached) " >&6
   3258 else
   3259   if test -n "$CC"; then
   3260   ac_cv_prog_CC="$CC" # Let the user override the test.
   3261 else
   3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3263 for as_dir in $PATH
   3264 do
   3265   IFS=$as_save_IFS
   3266   test -z "$as_dir" && as_dir=.
   3267     for ac_exec_ext in '' $ac_executable_extensions; do
   3268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3269     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3271     break 2
   3272   fi
   3273 done
   3274   done
   3275 IFS=$as_save_IFS
   3276 
   3277 fi
   3278 fi
   3279 CC=$ac_cv_prog_CC
   3280 if test -n "$CC"; then
   3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3282 $as_echo "$CC" >&6; }
   3283 else
   3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3285 $as_echo "no" >&6; }
   3286 fi
   3287 
   3288 
   3289     test -n "$CC" && break
   3290   done
   3291 fi
   3292 if test -z "$CC"; then
   3293   ac_ct_CC=$CC
   3294   for ac_prog in cl.exe
   3295 do
   3296   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3297 set dummy $ac_prog; ac_word=$2
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3299 $as_echo_n "checking for $ac_word... " >&6; }
   3300 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3301   $as_echo_n "(cached) " >&6
   3302 else
   3303   if test -n "$ac_ct_CC"; then
   3304   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3305 else
   3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3307 for as_dir in $PATH
   3308 do
   3309   IFS=$as_save_IFS
   3310   test -z "$as_dir" && as_dir=.
   3311     for ac_exec_ext in '' $ac_executable_extensions; do
   3312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3313     ac_cv_prog_ac_ct_CC="$ac_prog"
   3314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3315     break 2
   3316   fi
   3317 done
   3318   done
   3319 IFS=$as_save_IFS
   3320 
   3321 fi
   3322 fi
   3323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3324 if test -n "$ac_ct_CC"; then
   3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3326 $as_echo "$ac_ct_CC" >&6; }
   3327 else
   3328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3329 $as_echo "no" >&6; }
   3330 fi
   3331 
   3332 
   3333   test -n "$ac_ct_CC" && break
   3334 done
   3335 
   3336   if test "x$ac_ct_CC" = x; then
   3337     CC=""
   3338   else
   3339     case $cross_compiling:$ac_tool_warned in
   3340 yes:)
   3341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3343 ac_tool_warned=yes ;;
   3344 esac
   3345     CC=$ac_ct_CC
   3346   fi
   3347 fi
   3348 
   3349 fi
   3350 
   3351 
   3352 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3354 as_fn_error $? "no acceptable C compiler found in \$PATH
   3355 See \`config.log' for more details" "$LINENO" 5; }
   3356 
   3357 # Provide some information about the compiler.
   3358 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3359 set X $ac_compile
   3360 ac_compiler=$2
   3361 for ac_option in --version -v -V -qversion; do
   3362   { { ac_try="$ac_compiler $ac_option >&5"
   3363 case "(($ac_try" in
   3364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3365   *) ac_try_echo=$ac_try;;
   3366 esac
   3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3368 $as_echo "$ac_try_echo"; } >&5
   3369   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3370   ac_status=$?
   3371   if test -s conftest.err; then
   3372     sed '10a\
   3373 ... rest of stderr output deleted ...
   3374          10q' conftest.err >conftest.er1
   3375     cat conftest.er1 >&5
   3376   fi
   3377   rm -f conftest.er1 conftest.err
   3378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3379   test $ac_status = 0; }
   3380 done
   3381 
   3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3383 /* end confdefs.h.  */
   3384 
   3385 int
   3386 main ()
   3387 {
   3388 
   3389   ;
   3390   return 0;
   3391 }
   3392 _ACEOF
   3393 ac_clean_files_save=$ac_clean_files
   3394 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3395 # Try to create an executable without -o first, disregard a.out.
   3396 # It will help us diagnose broken compilers, and finding out an intuition
   3397 # of exeext.
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3399 $as_echo_n "checking whether the C compiler works... " >&6; }
   3400 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3401 
   3402 # The possible output files:
   3403 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3404 
   3405 ac_rmfiles=
   3406 for ac_file in $ac_files
   3407 do
   3408   case $ac_file in
   3409     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3410     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3411   esac
   3412 done
   3413 rm -f $ac_rmfiles
   3414 
   3415 if { { ac_try="$ac_link_default"
   3416 case "(($ac_try" in
   3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3418   *) ac_try_echo=$ac_try;;
   3419 esac
   3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3421 $as_echo "$ac_try_echo"; } >&5
   3422   (eval "$ac_link_default") 2>&5
   3423   ac_status=$?
   3424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3425   test $ac_status = 0; }; then :
   3426   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3427 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3428 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3429 # so that the user can short-circuit this test for compilers unknown to
   3430 # Autoconf.
   3431 for ac_file in $ac_files ''
   3432 do
   3433   test -f "$ac_file" || continue
   3434   case $ac_file in
   3435     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3436 	;;
   3437     [ab].out )
   3438 	# We found the default executable, but exeext='' is most
   3439 	# certainly right.
   3440 	break;;
   3441     *.* )
   3442 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3443 	then :; else
   3444 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3445 	fi
   3446 	# We set ac_cv_exeext here because the later test for it is not
   3447 	# safe: cross compilers may not add the suffix if given an `-o'
   3448 	# argument, so we may need to know it at that point already.
   3449 	# Even if this section looks crufty: it has the advantage of
   3450 	# actually working.
   3451 	break;;
   3452     * )
   3453 	break;;
   3454   esac
   3455 done
   3456 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3457 
   3458 else
   3459   ac_file=''
   3460 fi
   3461 if test -z "$ac_file"; then :
   3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3463 $as_echo "no" >&6; }
   3464 $as_echo "$as_me: failed program was:" >&5
   3465 sed 's/^/| /' conftest.$ac_ext >&5
   3466 
   3467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3469 as_fn_error 77 "C compiler cannot create executables
   3470 See \`config.log' for more details" "$LINENO" 5; }
   3471 else
   3472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3473 $as_echo "yes" >&6; }
   3474 fi
   3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3476 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3478 $as_echo "$ac_file" >&6; }
   3479 ac_exeext=$ac_cv_exeext
   3480 
   3481 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3482 ac_clean_files=$ac_clean_files_save
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3484 $as_echo_n "checking for suffix of executables... " >&6; }
   3485 if { { ac_try="$ac_link"
   3486 case "(($ac_try" in
   3487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3488   *) ac_try_echo=$ac_try;;
   3489 esac
   3490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3491 $as_echo "$ac_try_echo"; } >&5
   3492   (eval "$ac_link") 2>&5
   3493   ac_status=$?
   3494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3495   test $ac_status = 0; }; then :
   3496   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3497 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3498 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3499 # `rm'.
   3500 for ac_file in conftest.exe conftest conftest.*; do
   3501   test -f "$ac_file" || continue
   3502   case $ac_file in
   3503     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3504     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3505 	  break;;
   3506     * ) break;;
   3507   esac
   3508 done
   3509 else
   3510   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3512 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3513 See \`config.log' for more details" "$LINENO" 5; }
   3514 fi
   3515 rm -f conftest conftest$ac_cv_exeext
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3517 $as_echo "$ac_cv_exeext" >&6; }
   3518 
   3519 rm -f conftest.$ac_ext
   3520 EXEEXT=$ac_cv_exeext
   3521 ac_exeext=$EXEEXT
   3522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3523 /* end confdefs.h.  */
   3524 #include <stdio.h>
   3525 int
   3526 main ()
   3527 {
   3528 FILE *f = fopen ("conftest.out", "w");
   3529  return ferror (f) || fclose (f) != 0;
   3530 
   3531   ;
   3532   return 0;
   3533 }
   3534 _ACEOF
   3535 ac_clean_files="$ac_clean_files conftest.out"
   3536 # Check that the compiler produces executables we can run.  If not, either
   3537 # the compiler is broken, or we cross compile.
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3539 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3540 if test "$cross_compiling" != yes; then
   3541   { { ac_try="$ac_link"
   3542 case "(($ac_try" in
   3543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3544   *) ac_try_echo=$ac_try;;
   3545 esac
   3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3547 $as_echo "$ac_try_echo"; } >&5
   3548   (eval "$ac_link") 2>&5
   3549   ac_status=$?
   3550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3551   test $ac_status = 0; }
   3552   if { ac_try='./conftest$ac_cv_exeext'
   3553   { { case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo"; } >&5
   3559   (eval "$ac_try") 2>&5
   3560   ac_status=$?
   3561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3562   test $ac_status = 0; }; }; then
   3563     cross_compiling=no
   3564   else
   3565     if test "$cross_compiling" = maybe; then
   3566 	cross_compiling=yes
   3567     else
   3568 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3570 as_fn_error $? "cannot run C compiled programs.
   3571 If you meant to cross compile, use \`--host'.
   3572 See \`config.log' for more details" "$LINENO" 5; }
   3573     fi
   3574   fi
   3575 fi
   3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3577 $as_echo "$cross_compiling" >&6; }
   3578 
   3579 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3580 ac_clean_files=$ac_clean_files_save
   3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3582 $as_echo_n "checking for suffix of object files... " >&6; }
   3583 if ${ac_cv_objext+:} false; then :
   3584   $as_echo_n "(cached) " >&6
   3585 else
   3586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3587 /* end confdefs.h.  */
   3588 
   3589 int
   3590 main ()
   3591 {
   3592 
   3593   ;
   3594   return 0;
   3595 }
   3596 _ACEOF
   3597 rm -f conftest.o conftest.obj
   3598 if { { ac_try="$ac_compile"
   3599 case "(($ac_try" in
   3600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3601   *) ac_try_echo=$ac_try;;
   3602 esac
   3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3604 $as_echo "$ac_try_echo"; } >&5
   3605   (eval "$ac_compile") 2>&5
   3606   ac_status=$?
   3607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3608   test $ac_status = 0; }; then :
   3609   for ac_file in conftest.o conftest.obj conftest.*; do
   3610   test -f "$ac_file" || continue;
   3611   case $ac_file in
   3612     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3613     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3614        break;;
   3615   esac
   3616 done
   3617 else
   3618   $as_echo "$as_me: failed program was:" >&5
   3619 sed 's/^/| /' conftest.$ac_ext >&5
   3620 
   3621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3623 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3624 See \`config.log' for more details" "$LINENO" 5; }
   3625 fi
   3626 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3627 fi
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3629 $as_echo "$ac_cv_objext" >&6; }
   3630 OBJEXT=$ac_cv_objext
   3631 ac_objext=$OBJEXT
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3633 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3634 if ${ac_cv_c_compiler_gnu+:} false; then :
   3635   $as_echo_n "(cached) " >&6
   3636 else
   3637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3638 /* end confdefs.h.  */
   3639 
   3640 int
   3641 main ()
   3642 {
   3643 #ifndef __GNUC__
   3644        choke me
   3645 #endif
   3646 
   3647   ;
   3648   return 0;
   3649 }
   3650 _ACEOF
   3651 if ac_fn_c_try_compile "$LINENO"; then :
   3652   ac_compiler_gnu=yes
   3653 else
   3654   ac_compiler_gnu=no
   3655 fi
   3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3657 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3658 
   3659 fi
   3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3661 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3662 if test $ac_compiler_gnu = yes; then
   3663   GCC=yes
   3664 else
   3665   GCC=
   3666 fi
   3667 ac_test_CFLAGS=${CFLAGS+set}
   3668 ac_save_CFLAGS=$CFLAGS
   3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3670 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3671 if ${ac_cv_prog_cc_g+:} false; then :
   3672   $as_echo_n "(cached) " >&6
   3673 else
   3674   ac_save_c_werror_flag=$ac_c_werror_flag
   3675    ac_c_werror_flag=yes
   3676    ac_cv_prog_cc_g=no
   3677    CFLAGS="-g"
   3678    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3679 /* end confdefs.h.  */
   3680 
   3681 int
   3682 main ()
   3683 {
   3684 
   3685   ;
   3686   return 0;
   3687 }
   3688 _ACEOF
   3689 if ac_fn_c_try_compile "$LINENO"; then :
   3690   ac_cv_prog_cc_g=yes
   3691 else
   3692   CFLAGS=""
   3693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3694 /* end confdefs.h.  */
   3695 
   3696 int
   3697 main ()
   3698 {
   3699 
   3700   ;
   3701   return 0;
   3702 }
   3703 _ACEOF
   3704 if ac_fn_c_try_compile "$LINENO"; then :
   3705 
   3706 else
   3707   ac_c_werror_flag=$ac_save_c_werror_flag
   3708 	 CFLAGS="-g"
   3709 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3710 /* end confdefs.h.  */
   3711 
   3712 int
   3713 main ()
   3714 {
   3715 
   3716   ;
   3717   return 0;
   3718 }
   3719 _ACEOF
   3720 if ac_fn_c_try_compile "$LINENO"; then :
   3721   ac_cv_prog_cc_g=yes
   3722 fi
   3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3724 fi
   3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3726 fi
   3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3728    ac_c_werror_flag=$ac_save_c_werror_flag
   3729 fi
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3731 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3732 if test "$ac_test_CFLAGS" = set; then
   3733   CFLAGS=$ac_save_CFLAGS
   3734 elif test $ac_cv_prog_cc_g = yes; then
   3735   if test "$GCC" = yes; then
   3736     CFLAGS="-g -O2"
   3737   else
   3738     CFLAGS="-g"
   3739   fi
   3740 else
   3741   if test "$GCC" = yes; then
   3742     CFLAGS="-O2"
   3743   else
   3744     CFLAGS=
   3745   fi
   3746 fi
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3748 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3749 if ${ac_cv_prog_cc_c89+:} false; then :
   3750   $as_echo_n "(cached) " >&6
   3751 else
   3752   ac_cv_prog_cc_c89=no
   3753 ac_save_CC=$CC
   3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3755 /* end confdefs.h.  */
   3756 #include <stdarg.h>
   3757 #include <stdio.h>
   3758 struct stat;
   3759 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3760 struct buf { int x; };
   3761 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3762 static char *e (p, i)
   3763      char **p;
   3764      int i;
   3765 {
   3766   return p[i];
   3767 }
   3768 static char *f (char * (*g) (char **, int), char **p, ...)
   3769 {
   3770   char *s;
   3771   va_list v;
   3772   va_start (v,p);
   3773   s = g (p, va_arg (v,int));
   3774   va_end (v);
   3775   return s;
   3776 }
   3777 
   3778 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3779    function prototypes and stuff, but not '\xHH' hex character constants.
   3780    These don't provoke an error unfortunately, instead are silently treated
   3781    as 'x'.  The following induces an error, until -std is added to get
   3782    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3783    array size at least.  It's necessary to write '\x00'==0 to get something
   3784    that's true only with -std.  */
   3785 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3786 
   3787 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3788    inside strings and character constants.  */
   3789 #define FOO(x) 'x'
   3790 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3791 
   3792 int test (int i, double x);
   3793 struct s1 {int (*f) (int a);};
   3794 struct s2 {int (*f) (double a);};
   3795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3796 int argc;
   3797 char **argv;
   3798 int
   3799 main ()
   3800 {
   3801 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3802   ;
   3803   return 0;
   3804 }
   3805 _ACEOF
   3806 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3807 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3808 do
   3809   CC="$ac_save_CC $ac_arg"
   3810   if ac_fn_c_try_compile "$LINENO"; then :
   3811   ac_cv_prog_cc_c89=$ac_arg
   3812 fi
   3813 rm -f core conftest.err conftest.$ac_objext
   3814   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3815 done
   3816 rm -f conftest.$ac_ext
   3817 CC=$ac_save_CC
   3818 
   3819 fi
   3820 # AC_CACHE_VAL
   3821 case "x$ac_cv_prog_cc_c89" in
   3822   x)
   3823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3824 $as_echo "none needed" >&6; } ;;
   3825   xno)
   3826     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3827 $as_echo "unsupported" >&6; } ;;
   3828   *)
   3829     CC="$CC $ac_cv_prog_cc_c89"
   3830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3831 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3832 esac
   3833 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3834 
   3835 fi
   3836 
   3837 ac_ext=c
   3838 ac_cpp='$CPP $CPPFLAGS'
   3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3842 
   3843 ac_ext=c
   3844 ac_cpp='$CPP $CPPFLAGS'
   3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3849 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3850 if ${am_cv_prog_cc_c_o+:} false; then :
   3851   $as_echo_n "(cached) " >&6
   3852 else
   3853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3854 /* end confdefs.h.  */
   3855 
   3856 int
   3857 main ()
   3858 {
   3859 
   3860   ;
   3861   return 0;
   3862 }
   3863 _ACEOF
   3864   # Make sure it works both with $CC and with simple cc.
   3865   # Following AC_PROG_CC_C_O, we do the test twice because some
   3866   # compilers refuse to overwrite an existing .o file with -o,
   3867   # though they will create one.
   3868   am_cv_prog_cc_c_o=yes
   3869   for am_i in 1 2; do
   3870     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3871    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3872    ac_status=$?
   3873    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3874    (exit $ac_status); } \
   3875          && test -f conftest2.$ac_objext; then
   3876       : OK
   3877     else
   3878       am_cv_prog_cc_c_o=no
   3879       break
   3880     fi
   3881   done
   3882   rm -f core conftest*
   3883   unset am_i
   3884 fi
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3886 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3887 if test "$am_cv_prog_cc_c_o" != yes; then
   3888    # Losing compiler, so override with the script.
   3889    # FIXME: It is wrong to rewrite CC.
   3890    # But if we don't then we get into trouble of one sort or another.
   3891    # A longer-term fix would be to have automake use am__CC in this case,
   3892    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3893    CC="$am_aux_dir/compile $CC"
   3894 fi
   3895 ac_ext=c
   3896 ac_cpp='$CPP $CPPFLAGS'
   3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3900 
   3901 
   3902 depcc="$CC"   am_compiler_list=
   3903 
   3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3905 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3906 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3907   $as_echo_n "(cached) " >&6
   3908 else
   3909   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3910   # We make a subdir and do the tests there.  Otherwise we can end up
   3911   # making bogus files that we don't know about and never remove.  For
   3912   # instance it was reported that on HP-UX the gcc test will end up
   3913   # making a dummy file named 'D' -- because '-MD' means "put the output
   3914   # in D".
   3915   rm -rf conftest.dir
   3916   mkdir conftest.dir
   3917   # Copy depcomp to subdir because otherwise we won't find it if we're
   3918   # using a relative directory.
   3919   cp "$am_depcomp" conftest.dir
   3920   cd conftest.dir
   3921   # We will build objects and dependencies in a subdirectory because
   3922   # it helps to detect inapplicable dependency modes.  For instance
   3923   # both Tru64's cc and ICC support -MD to output dependencies as a
   3924   # side effect of compilation, but ICC will put the dependencies in
   3925   # the current directory while Tru64 will put them in the object
   3926   # directory.
   3927   mkdir sub
   3928 
   3929   am_cv_CC_dependencies_compiler_type=none
   3930   if test "$am_compiler_list" = ""; then
   3931      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3932   fi
   3933   am__universal=false
   3934   case " $depcc " in #(
   3935      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3936      esac
   3937 
   3938   for depmode in $am_compiler_list; do
   3939     # Setup a source with many dependencies, because some compilers
   3940     # like to wrap large dependency lists on column 80 (with \), and
   3941     # we should not choose a depcomp mode which is confused by this.
   3942     #
   3943     # We need to recreate these files for each test, as the compiler may
   3944     # overwrite some of them when testing with obscure command lines.
   3945     # This happens at least with the AIX C compiler.
   3946     : > sub/conftest.c
   3947     for i in 1 2 3 4 5 6; do
   3948       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3949       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3950       # Solaris 10 /bin/sh.
   3951       echo '/* dummy */' > sub/conftst$i.h
   3952     done
   3953     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3954 
   3955     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3956     # mode.  It turns out that the SunPro C++ compiler does not properly
   3957     # handle '-M -o', and we need to detect this.  Also, some Intel
   3958     # versions had trouble with output in subdirs.
   3959     am__obj=sub/conftest.${OBJEXT-o}
   3960     am__minus_obj="-o $am__obj"
   3961     case $depmode in
   3962     gcc)
   3963       # This depmode causes a compiler race in universal mode.
   3964       test "$am__universal" = false || continue
   3965       ;;
   3966     nosideeffect)
   3967       # After this tag, mechanisms are not by side-effect, so they'll
   3968       # only be used when explicitly requested.
   3969       if test "x$enable_dependency_tracking" = xyes; then
   3970 	continue
   3971       else
   3972 	break
   3973       fi
   3974       ;;
   3975     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3976       # This compiler won't grok '-c -o', but also, the minuso test has
   3977       # not run yet.  These depmodes are late enough in the game, and
   3978       # so weak that their functioning should not be impacted.
   3979       am__obj=conftest.${OBJEXT-o}
   3980       am__minus_obj=
   3981       ;;
   3982     none) break ;;
   3983     esac
   3984     if depmode=$depmode \
   3985        source=sub/conftest.c object=$am__obj \
   3986        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3987        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3988          >/dev/null 2>conftest.err &&
   3989        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3990        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3991        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3992        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3993       # icc doesn't choke on unknown options, it will just issue warnings
   3994       # or remarks (even with -Werror).  So we grep stderr for any message
   3995       # that says an option was ignored or not supported.
   3996       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3997       #   icc: Command line warning: ignoring option '-M'; no argument required
   3998       # The diagnosis changed in icc 8.0:
   3999       #   icc: Command line remark: option '-MP' not supported
   4000       if (grep 'ignoring option' conftest.err ||
   4001           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4002         am_cv_CC_dependencies_compiler_type=$depmode
   4003         break
   4004       fi
   4005     fi
   4006   done
   4007 
   4008   cd ..
   4009   rm -rf conftest.dir
   4010 else
   4011   am_cv_CC_dependencies_compiler_type=none
   4012 fi
   4013 
   4014 fi
   4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4016 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4017 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4018 
   4019  if
   4020   test "x$enable_dependency_tracking" != xno \
   4021   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4022   am__fastdepCC_TRUE=
   4023   am__fastdepCC_FALSE='#'
   4024 else
   4025   am__fastdepCC_TRUE='#'
   4026   am__fastdepCC_FALSE=
   4027 fi
   4028 
   4029 
   4030    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4031 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4032 if ${ac_cv_prog_cc_c99+:} false; then :
   4033   $as_echo_n "(cached) " >&6
   4034 else
   4035   ac_cv_prog_cc_c99=no
   4036 ac_save_CC=$CC
   4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4038 /* end confdefs.h.  */
   4039 #include <stdarg.h>
   4040 #include <stdbool.h>
   4041 #include <stdlib.h>
   4042 #include <wchar.h>
   4043 #include <stdio.h>
   4044 
   4045 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4046 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4047 #define showlist(...) puts (#__VA_ARGS__)
   4048 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4049 static void
   4050 test_varargs_macros (void)
   4051 {
   4052   int x = 1234;
   4053   int y = 5678;
   4054   debug ("Flag");
   4055   debug ("X = %d\n", x);
   4056   showlist (The first, second, and third items.);
   4057   report (x>y, "x is %d but y is %d", x, y);
   4058 }
   4059 
   4060 // Check long long types.
   4061 #define BIG64 18446744073709551615ull
   4062 #define BIG32 4294967295ul
   4063 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4064 #if !BIG_OK
   4065   your preprocessor is broken;
   4066 #endif
   4067 #if BIG_OK
   4068 #else
   4069   your preprocessor is broken;
   4070 #endif
   4071 static long long int bignum = -9223372036854775807LL;
   4072 static unsigned long long int ubignum = BIG64;
   4073 
   4074 struct incomplete_array
   4075 {
   4076   int datasize;
   4077   double data[];
   4078 };
   4079 
   4080 struct named_init {
   4081   int number;
   4082   const wchar_t *name;
   4083   double average;
   4084 };
   4085 
   4086 typedef const char *ccp;
   4087 
   4088 static inline int
   4089 test_restrict (ccp restrict text)
   4090 {
   4091   // See if C++-style comments work.
   4092   // Iterate through items via the restricted pointer.
   4093   // Also check for declarations in for loops.
   4094   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4095     continue;
   4096   return 0;
   4097 }
   4098 
   4099 // Check varargs and va_copy.
   4100 static void
   4101 test_varargs (const char *format, ...)
   4102 {
   4103   va_list args;
   4104   va_start (args, format);
   4105   va_list args_copy;
   4106   va_copy (args_copy, args);
   4107 
   4108   const char *str;
   4109   int number;
   4110   float fnumber;
   4111 
   4112   while (*format)
   4113     {
   4114       switch (*format++)
   4115 	{
   4116 	case 's': // string
   4117 	  str = va_arg (args_copy, const char *);
   4118 	  break;
   4119 	case 'd': // int
   4120 	  number = va_arg (args_copy, int);
   4121 	  break;
   4122 	case 'f': // float
   4123 	  fnumber = va_arg (args_copy, double);
   4124 	  break;
   4125 	default:
   4126 	  break;
   4127 	}
   4128     }
   4129   va_end (args_copy);
   4130   va_end (args);
   4131 }
   4132 
   4133 int
   4134 main ()
   4135 {
   4136 
   4137   // Check bool.
   4138   _Bool success = false;
   4139 
   4140   // Check restrict.
   4141   if (test_restrict ("String literal") == 0)
   4142     success = true;
   4143   char *restrict newvar = "Another string";
   4144 
   4145   // Check varargs.
   4146   test_varargs ("s, d' f .", "string", 65, 34.234);
   4147   test_varargs_macros ();
   4148 
   4149   // Check flexible array members.
   4150   struct incomplete_array *ia =
   4151     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4152   ia->datasize = 10;
   4153   for (int i = 0; i < ia->datasize; ++i)
   4154     ia->data[i] = i * 1.234;
   4155 
   4156   // Check named initializers.
   4157   struct named_init ni = {
   4158     .number = 34,
   4159     .name = L"Test wide string",
   4160     .average = 543.34343,
   4161   };
   4162 
   4163   ni.number = 58;
   4164 
   4165   int dynamic_array[ni.number];
   4166   dynamic_array[ni.number - 1] = 543;
   4167 
   4168   // work around unused variable warnings
   4169   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4170 	  || dynamic_array[ni.number - 1] != 543);
   4171 
   4172   ;
   4173   return 0;
   4174 }
   4175 _ACEOF
   4176 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4177 do
   4178   CC="$ac_save_CC $ac_arg"
   4179   if ac_fn_c_try_compile "$LINENO"; then :
   4180   ac_cv_prog_cc_c99=$ac_arg
   4181 fi
   4182 rm -f core conftest.err conftest.$ac_objext
   4183   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4184 done
   4185 rm -f conftest.$ac_ext
   4186 CC=$ac_save_CC
   4187 
   4188 fi
   4189 # AC_CACHE_VAL
   4190 case "x$ac_cv_prog_cc_c99" in
   4191   x)
   4192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4193 $as_echo "none needed" >&6; } ;;
   4194   xno)
   4195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4196 $as_echo "unsupported" >&6; } ;;
   4197   *)
   4198     CC="$CC $ac_cv_prog_cc_c99"
   4199     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4200 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4201 esac
   4202 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4203 
   4204 fi
   4205 
   4206 
   4207 
   4208 ac_ext=c
   4209 ac_cpp='$CPP $CPPFLAGS'
   4210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4214 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4215 # On Suns, sometimes $CPP names a directory.
   4216 if test -n "$CPP" && test -d "$CPP"; then
   4217   CPP=
   4218 fi
   4219 if test -z "$CPP"; then
   4220   if ${ac_cv_prog_CPP+:} false; then :
   4221   $as_echo_n "(cached) " >&6
   4222 else
   4223       # Double quotes because CPP needs to be expanded
   4224     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4225     do
   4226       ac_preproc_ok=false
   4227 for ac_c_preproc_warn_flag in '' yes
   4228 do
   4229   # Use a header file that comes with gcc, so configuring glibc
   4230   # with a fresh cross-compiler works.
   4231   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4232   # <limits.h> exists even on freestanding compilers.
   4233   # On the NeXT, cc -E runs the code through the compiler's parser,
   4234   # not just through cpp. "Syntax error" is here to catch this case.
   4235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4236 /* end confdefs.h.  */
   4237 #ifdef __STDC__
   4238 # include <limits.h>
   4239 #else
   4240 # include <assert.h>
   4241 #endif
   4242 		     Syntax error
   4243 _ACEOF
   4244 if ac_fn_c_try_cpp "$LINENO"; then :
   4245 
   4246 else
   4247   # Broken: fails on valid input.
   4248 continue
   4249 fi
   4250 rm -f conftest.err conftest.i conftest.$ac_ext
   4251 
   4252   # OK, works on sane cases.  Now check whether nonexistent headers
   4253   # can be detected and how.
   4254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4255 /* end confdefs.h.  */
   4256 #include <ac_nonexistent.h>
   4257 _ACEOF
   4258 if ac_fn_c_try_cpp "$LINENO"; then :
   4259   # Broken: success on invalid input.
   4260 continue
   4261 else
   4262   # Passes both tests.
   4263 ac_preproc_ok=:
   4264 break
   4265 fi
   4266 rm -f conftest.err conftest.i conftest.$ac_ext
   4267 
   4268 done
   4269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4270 rm -f conftest.i conftest.err conftest.$ac_ext
   4271 if $ac_preproc_ok; then :
   4272   break
   4273 fi
   4274 
   4275     done
   4276     ac_cv_prog_CPP=$CPP
   4277 
   4278 fi
   4279   CPP=$ac_cv_prog_CPP
   4280 else
   4281   ac_cv_prog_CPP=$CPP
   4282 fi
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4284 $as_echo "$CPP" >&6; }
   4285 ac_preproc_ok=false
   4286 for ac_c_preproc_warn_flag in '' yes
   4287 do
   4288   # Use a header file that comes with gcc, so configuring glibc
   4289   # with a fresh cross-compiler works.
   4290   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4291   # <limits.h> exists even on freestanding compilers.
   4292   # On the NeXT, cc -E runs the code through the compiler's parser,
   4293   # not just through cpp. "Syntax error" is here to catch this case.
   4294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4295 /* end confdefs.h.  */
   4296 #ifdef __STDC__
   4297 # include <limits.h>
   4298 #else
   4299 # include <assert.h>
   4300 #endif
   4301 		     Syntax error
   4302 _ACEOF
   4303 if ac_fn_c_try_cpp "$LINENO"; then :
   4304 
   4305 else
   4306   # Broken: fails on valid input.
   4307 continue
   4308 fi
   4309 rm -f conftest.err conftest.i conftest.$ac_ext
   4310 
   4311   # OK, works on sane cases.  Now check whether nonexistent headers
   4312   # can be detected and how.
   4313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4314 /* end confdefs.h.  */
   4315 #include <ac_nonexistent.h>
   4316 _ACEOF
   4317 if ac_fn_c_try_cpp "$LINENO"; then :
   4318   # Broken: success on invalid input.
   4319 continue
   4320 else
   4321   # Passes both tests.
   4322 ac_preproc_ok=:
   4323 break
   4324 fi
   4325 rm -f conftest.err conftest.i conftest.$ac_ext
   4326 
   4327 done
   4328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4329 rm -f conftest.i conftest.err conftest.$ac_ext
   4330 if $ac_preproc_ok; then :
   4331 
   4332 else
   4333   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4335 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4336 See \`config.log' for more details" "$LINENO" 5; }
   4337 fi
   4338 
   4339 ac_ext=c
   4340 ac_cpp='$CPP $CPPFLAGS'
   4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4344 
   4345 
   4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4347 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4348 if ${ac_cv_path_GREP+:} false; then :
   4349   $as_echo_n "(cached) " >&6
   4350 else
   4351   if test -z "$GREP"; then
   4352   ac_path_GREP_found=false
   4353   # Loop through the user's path and test for each of PROGNAME-LIST
   4354   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4355 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4356 do
   4357   IFS=$as_save_IFS
   4358   test -z "$as_dir" && as_dir=.
   4359     for ac_prog in grep ggrep; do
   4360     for ac_exec_ext in '' $ac_executable_extensions; do
   4361       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4362       as_fn_executable_p "$ac_path_GREP" || continue
   4363 # Check for GNU ac_path_GREP and select it if it is found.
   4364   # Check for GNU $ac_path_GREP
   4365 case `"$ac_path_GREP" --version 2>&1` in
   4366 *GNU*)
   4367   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4368 *)
   4369   ac_count=0
   4370   $as_echo_n 0123456789 >"conftest.in"
   4371   while :
   4372   do
   4373     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4374     mv "conftest.tmp" "conftest.in"
   4375     cp "conftest.in" "conftest.nl"
   4376     $as_echo 'GREP' >> "conftest.nl"
   4377     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4378     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4379     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4380     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4381       # Best one so far, save it but keep looking for a better one
   4382       ac_cv_path_GREP="$ac_path_GREP"
   4383       ac_path_GREP_max=$ac_count
   4384     fi
   4385     # 10*(2^10) chars as input seems more than enough
   4386     test $ac_count -gt 10 && break
   4387   done
   4388   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4389 esac
   4390 
   4391       $ac_path_GREP_found && break 3
   4392     done
   4393   done
   4394   done
   4395 IFS=$as_save_IFS
   4396   if test -z "$ac_cv_path_GREP"; then
   4397     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4398   fi
   4399 else
   4400   ac_cv_path_GREP=$GREP
   4401 fi
   4402 
   4403 fi
   4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4405 $as_echo "$ac_cv_path_GREP" >&6; }
   4406  GREP="$ac_cv_path_GREP"
   4407 
   4408 
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4410 $as_echo_n "checking for egrep... " >&6; }
   4411 if ${ac_cv_path_EGREP+:} false; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4415    then ac_cv_path_EGREP="$GREP -E"
   4416    else
   4417      if test -z "$EGREP"; then
   4418   ac_path_EGREP_found=false
   4419   # Loop through the user's path and test for each of PROGNAME-LIST
   4420   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4421 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4422 do
   4423   IFS=$as_save_IFS
   4424   test -z "$as_dir" && as_dir=.
   4425     for ac_prog in egrep; do
   4426     for ac_exec_ext in '' $ac_executable_extensions; do
   4427       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4428       as_fn_executable_p "$ac_path_EGREP" || continue
   4429 # Check for GNU ac_path_EGREP and select it if it is found.
   4430   # Check for GNU $ac_path_EGREP
   4431 case `"$ac_path_EGREP" --version 2>&1` in
   4432 *GNU*)
   4433   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4434 *)
   4435   ac_count=0
   4436   $as_echo_n 0123456789 >"conftest.in"
   4437   while :
   4438   do
   4439     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4440     mv "conftest.tmp" "conftest.in"
   4441     cp "conftest.in" "conftest.nl"
   4442     $as_echo 'EGREP' >> "conftest.nl"
   4443     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4444     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4445     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4446     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4447       # Best one so far, save it but keep looking for a better one
   4448       ac_cv_path_EGREP="$ac_path_EGREP"
   4449       ac_path_EGREP_max=$ac_count
   4450     fi
   4451     # 10*(2^10) chars as input seems more than enough
   4452     test $ac_count -gt 10 && break
   4453   done
   4454   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4455 esac
   4456 
   4457       $ac_path_EGREP_found && break 3
   4458     done
   4459   done
   4460   done
   4461 IFS=$as_save_IFS
   4462   if test -z "$ac_cv_path_EGREP"; then
   4463     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4464   fi
   4465 else
   4466   ac_cv_path_EGREP=$EGREP
   4467 fi
   4468 
   4469    fi
   4470 fi
   4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4472 $as_echo "$ac_cv_path_EGREP" >&6; }
   4473  EGREP="$ac_cv_path_EGREP"
   4474 
   4475 
   4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4477 $as_echo_n "checking for ANSI C header files... " >&6; }
   4478 if ${ac_cv_header_stdc+:} false; then :
   4479   $as_echo_n "(cached) " >&6
   4480 else
   4481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4482 /* end confdefs.h.  */
   4483 #include <stdlib.h>
   4484 #include <stdarg.h>
   4485 #include <string.h>
   4486 #include <float.h>
   4487 
   4488 int
   4489 main ()
   4490 {
   4491 
   4492   ;
   4493   return 0;
   4494 }
   4495 _ACEOF
   4496 if ac_fn_c_try_compile "$LINENO"; then :
   4497   ac_cv_header_stdc=yes
   4498 else
   4499   ac_cv_header_stdc=no
   4500 fi
   4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4502 
   4503 if test $ac_cv_header_stdc = yes; then
   4504   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4506 /* end confdefs.h.  */
   4507 #include <string.h>
   4508 
   4509 _ACEOF
   4510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4511   $EGREP "memchr" >/dev/null 2>&1; then :
   4512 
   4513 else
   4514   ac_cv_header_stdc=no
   4515 fi
   4516 rm -f conftest*
   4517 
   4518 fi
   4519 
   4520 if test $ac_cv_header_stdc = yes; then
   4521   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4523 /* end confdefs.h.  */
   4524 #include <stdlib.h>
   4525 
   4526 _ACEOF
   4527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4528   $EGREP "free" >/dev/null 2>&1; then :
   4529 
   4530 else
   4531   ac_cv_header_stdc=no
   4532 fi
   4533 rm -f conftest*
   4534 
   4535 fi
   4536 
   4537 if test $ac_cv_header_stdc = yes; then
   4538   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4539   if test "$cross_compiling" = yes; then :
   4540   :
   4541 else
   4542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4543 /* end confdefs.h.  */
   4544 #include <ctype.h>
   4545 #include <stdlib.h>
   4546 #if ((' ' & 0x0FF) == 0x020)
   4547 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4548 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4549 #else
   4550 # define ISLOWER(c) \
   4551 		   (('a' <= (c) && (c) <= 'i') \
   4552 		     || ('j' <= (c) && (c) <= 'r') \
   4553 		     || ('s' <= (c) && (c) <= 'z'))
   4554 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4555 #endif
   4556 
   4557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4558 int
   4559 main ()
   4560 {
   4561   int i;
   4562   for (i = 0; i < 256; i++)
   4563     if (XOR (islower (i), ISLOWER (i))
   4564 	|| toupper (i) != TOUPPER (i))
   4565       return 2;
   4566   return 0;
   4567 }
   4568 _ACEOF
   4569 if ac_fn_c_try_run "$LINENO"; then :
   4570 
   4571 else
   4572   ac_cv_header_stdc=no
   4573 fi
   4574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4575   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4576 fi
   4577 
   4578 fi
   4579 fi
   4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4581 $as_echo "$ac_cv_header_stdc" >&6; }
   4582 if test $ac_cv_header_stdc = yes; then
   4583 
   4584 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4585 
   4586 fi
   4587 
   4588 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4589 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4590 		  inttypes.h stdint.h unistd.h
   4591 do :
   4592   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4594 "
   4595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4596   cat >>confdefs.h <<_ACEOF
   4597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4598 _ACEOF
   4599 
   4600 fi
   4601 
   4602 done
   4603 
   4604 
   4605 
   4606 
   4607 
   4608 
   4609 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4610 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4611   CLANGCC="yes"
   4612 else
   4613   CLANGCC="no"
   4614 fi
   4615 
   4616 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4617 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4618   INTELCC="yes"
   4619 else
   4620   INTELCC="no"
   4621 fi
   4622 
   4623 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4624 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4625   SUNCC="yes"
   4626 else
   4627   SUNCC="no"
   4628 fi
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4639 	if test -n "$ac_tool_prefix"; then
   4640   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4641 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4643 $as_echo_n "checking for $ac_word... " >&6; }
   4644 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4645   $as_echo_n "(cached) " >&6
   4646 else
   4647   case $PKG_CONFIG in
   4648   [\\/]* | ?:[\\/]*)
   4649   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4650   ;;
   4651   *)
   4652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4653 for as_dir in $PATH
   4654 do
   4655   IFS=$as_save_IFS
   4656   test -z "$as_dir" && as_dir=.
   4657     for ac_exec_ext in '' $ac_executable_extensions; do
   4658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4659     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4661     break 2
   4662   fi
   4663 done
   4664   done
   4665 IFS=$as_save_IFS
   4666 
   4667   ;;
   4668 esac
   4669 fi
   4670 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4671 if test -n "$PKG_CONFIG"; then
   4672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4673 $as_echo "$PKG_CONFIG" >&6; }
   4674 else
   4675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4676 $as_echo "no" >&6; }
   4677 fi
   4678 
   4679 
   4680 fi
   4681 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4682   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4683   # Extract the first word of "pkg-config", so it can be a program name with args.
   4684 set dummy pkg-config; ac_word=$2
   4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4686 $as_echo_n "checking for $ac_word... " >&6; }
   4687 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4688   $as_echo_n "(cached) " >&6
   4689 else
   4690   case $ac_pt_PKG_CONFIG in
   4691   [\\/]* | ?:[\\/]*)
   4692   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4693   ;;
   4694   *)
   4695   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4696 for as_dir in $PATH
   4697 do
   4698   IFS=$as_save_IFS
   4699   test -z "$as_dir" && as_dir=.
   4700     for ac_exec_ext in '' $ac_executable_extensions; do
   4701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4702     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4704     break 2
   4705   fi
   4706 done
   4707   done
   4708 IFS=$as_save_IFS
   4709 
   4710   ;;
   4711 esac
   4712 fi
   4713 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4714 if test -n "$ac_pt_PKG_CONFIG"; then
   4715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4716 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4717 else
   4718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4719 $as_echo "no" >&6; }
   4720 fi
   4721 
   4722   if test "x$ac_pt_PKG_CONFIG" = x; then
   4723     PKG_CONFIG=""
   4724   else
   4725     case $cross_compiling:$ac_tool_warned in
   4726 yes:)
   4727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4729 ac_tool_warned=yes ;;
   4730 esac
   4731     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4732   fi
   4733 else
   4734   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4735 fi
   4736 
   4737 fi
   4738 if test -n "$PKG_CONFIG"; then
   4739 	_pkg_min_version=0.9.0
   4740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4741 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4742 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4744 $as_echo "yes" >&6; }
   4745 	else
   4746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4747 $as_echo "no" >&6; }
   4748 		PKG_CONFIG=""
   4749 	fi
   4750 fi
   4751 # Make sure we can run config.sub.
   4752 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4753   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4754 
   4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4756 $as_echo_n "checking build system type... " >&6; }
   4757 if ${ac_cv_build+:} false; then :
   4758   $as_echo_n "(cached) " >&6
   4759 else
   4760   ac_build_alias=$build_alias
   4761 test "x$ac_build_alias" = x &&
   4762   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4763 test "x$ac_build_alias" = x &&
   4764   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4765 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4766   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4767 
   4768 fi
   4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4770 $as_echo "$ac_cv_build" >&6; }
   4771 case $ac_cv_build in
   4772 *-*-*) ;;
   4773 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4774 esac
   4775 build=$ac_cv_build
   4776 ac_save_IFS=$IFS; IFS='-'
   4777 set x $ac_cv_build
   4778 shift
   4779 build_cpu=$1
   4780 build_vendor=$2
   4781 shift; shift
   4782 # Remember, the first character of IFS is used to create $*,
   4783 # except with old shells:
   4784 build_os=$*
   4785 IFS=$ac_save_IFS
   4786 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4787 
   4788 
   4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4790 $as_echo_n "checking host system type... " >&6; }
   4791 if ${ac_cv_host+:} false; then :
   4792   $as_echo_n "(cached) " >&6
   4793 else
   4794   if test "x$host_alias" = x; then
   4795   ac_cv_host=$ac_cv_build
   4796 else
   4797   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4798     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4799 fi
   4800 
   4801 fi
   4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4803 $as_echo "$ac_cv_host" >&6; }
   4804 case $ac_cv_host in
   4805 *-*-*) ;;
   4806 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4807 esac
   4808 host=$ac_cv_host
   4809 ac_save_IFS=$IFS; IFS='-'
   4810 set x $ac_cv_host
   4811 shift
   4812 host_cpu=$1
   4813 host_vendor=$2
   4814 shift; shift
   4815 # Remember, the first character of IFS is used to create $*,
   4816 # except with old shells:
   4817 host_os=$*
   4818 IFS=$ac_save_IFS
   4819 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4820 
   4821 
   4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4823 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4824 if ${ac_cv_path_SED+:} false; then :
   4825   $as_echo_n "(cached) " >&6
   4826 else
   4827             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4828      for ac_i in 1 2 3 4 5 6 7; do
   4829        ac_script="$ac_script$as_nl$ac_script"
   4830      done
   4831      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4832      { ac_script=; unset ac_script;}
   4833      if test -z "$SED"; then
   4834   ac_path_SED_found=false
   4835   # Loop through the user's path and test for each of PROGNAME-LIST
   4836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4837 for as_dir in $PATH
   4838 do
   4839   IFS=$as_save_IFS
   4840   test -z "$as_dir" && as_dir=.
   4841     for ac_prog in sed gsed; do
   4842     for ac_exec_ext in '' $ac_executable_extensions; do
   4843       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4844       as_fn_executable_p "$ac_path_SED" || continue
   4845 # Check for GNU ac_path_SED and select it if it is found.
   4846   # Check for GNU $ac_path_SED
   4847 case `"$ac_path_SED" --version 2>&1` in
   4848 *GNU*)
   4849   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4850 *)
   4851   ac_count=0
   4852   $as_echo_n 0123456789 >"conftest.in"
   4853   while :
   4854   do
   4855     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4856     mv "conftest.tmp" "conftest.in"
   4857     cp "conftest.in" "conftest.nl"
   4858     $as_echo '' >> "conftest.nl"
   4859     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4860     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4861     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4862     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4863       # Best one so far, save it but keep looking for a better one
   4864       ac_cv_path_SED="$ac_path_SED"
   4865       ac_path_SED_max=$ac_count
   4866     fi
   4867     # 10*(2^10) chars as input seems more than enough
   4868     test $ac_count -gt 10 && break
   4869   done
   4870   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4871 esac
   4872 
   4873       $ac_path_SED_found && break 3
   4874     done
   4875   done
   4876   done
   4877 IFS=$as_save_IFS
   4878   if test -z "$ac_cv_path_SED"; then
   4879     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4880   fi
   4881 else
   4882   ac_cv_path_SED=$SED
   4883 fi
   4884 
   4885 fi
   4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4887 $as_echo "$ac_cv_path_SED" >&6; }
   4888  SED="$ac_cv_path_SED"
   4889   rm -f conftest.sed
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 # Check whether --enable-selective-werror was given.
   4897 if test "${enable_selective_werror+set}" = set; then :
   4898   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4899 else
   4900   SELECTIVE_WERROR=yes
   4901 fi
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4908 if test "x$SUNCC" = "xyes"; then
   4909     BASE_CFLAGS="-v"
   4910 else
   4911     BASE_CFLAGS=""
   4912 fi
   4913 
   4914 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 xorg_testset_save_CFLAGS="$CFLAGS"
   4929 
   4930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4935   $as_echo_n "(cached) " >&6
   4936 else
   4937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4938 /* end confdefs.h.  */
   4939 int i;
   4940 _ACEOF
   4941 if ac_fn_c_try_compile "$LINENO"; then :
   4942   xorg_cv_cc_flag_unknown_warning_option=yes
   4943 else
   4944   xorg_cv_cc_flag_unknown_warning_option=no
   4945 fi
   4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4947 fi
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4951 	CFLAGS="$xorg_testset_save_CFLAGS"
   4952 fi
   4953 
   4954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4957 	fi
   4958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4962   $as_echo_n "(cached) " >&6
   4963 else
   4964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4965 /* end confdefs.h.  */
   4966 int i;
   4967 _ACEOF
   4968 if ac_fn_c_try_compile "$LINENO"; then :
   4969   xorg_cv_cc_flag_unused_command_line_argument=yes
   4970 else
   4971   xorg_cv_cc_flag_unused_command_line_argument=no
   4972 fi
   4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4974 fi
   4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4978 	CFLAGS="$xorg_testset_save_CFLAGS"
   4979 fi
   4980 
   4981 found="no"
   4982 
   4983 	if test $found = "no" ; then
   4984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4986 		fi
   4987 
   4988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4990 		fi
   4991 
   4992 		CFLAGS="$CFLAGS -Wall"
   4993 
   4994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4995 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4996 		cacheid=xorg_cv_cc_flag__Wall
   4997 		if eval \${$cacheid+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5001 /* end confdefs.h.  */
   5002 int i;
   5003 int
   5004 main ()
   5005 {
   5006 
   5007   ;
   5008   return 0;
   5009 }
   5010 _ACEOF
   5011 if ac_fn_c_try_link "$LINENO"; then :
   5012   eval $cacheid=yes
   5013 else
   5014   eval $cacheid=no
   5015 fi
   5016 rm -f core conftest.err conftest.$ac_objext \
   5017     conftest$ac_exeext conftest.$ac_ext
   5018 fi
   5019 
   5020 
   5021 		CFLAGS="$xorg_testset_save_CFLAGS"
   5022 
   5023 		eval supported=\$$cacheid
   5024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5025 $as_echo "$supported" >&6; }
   5026 		if test "$supported" = "yes" ; then
   5027 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5028 			found="yes"
   5029 		fi
   5030 	fi
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 xorg_testset_save_CFLAGS="$CFLAGS"
   5047 
   5048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5056 /* end confdefs.h.  */
   5057 int i;
   5058 _ACEOF
   5059 if ac_fn_c_try_compile "$LINENO"; then :
   5060   xorg_cv_cc_flag_unknown_warning_option=yes
   5061 else
   5062   xorg_cv_cc_flag_unknown_warning_option=no
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5065 fi
   5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5069 	CFLAGS="$xorg_testset_save_CFLAGS"
   5070 fi
   5071 
   5072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5075 	fi
   5076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5080   $as_echo_n "(cached) " >&6
   5081 else
   5082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5083 /* end confdefs.h.  */
   5084 int i;
   5085 _ACEOF
   5086 if ac_fn_c_try_compile "$LINENO"; then :
   5087   xorg_cv_cc_flag_unused_command_line_argument=yes
   5088 else
   5089   xorg_cv_cc_flag_unused_command_line_argument=no
   5090 fi
   5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5092 fi
   5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5096 	CFLAGS="$xorg_testset_save_CFLAGS"
   5097 fi
   5098 
   5099 found="no"
   5100 
   5101 	if test $found = "no" ; then
   5102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5104 		fi
   5105 
   5106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5108 		fi
   5109 
   5110 		CFLAGS="$CFLAGS -Wpointer-arith"
   5111 
   5112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5113 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5114 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5115 		if eval \${$cacheid+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 int i;
   5121 int
   5122 main ()
   5123 {
   5124 
   5125   ;
   5126   return 0;
   5127 }
   5128 _ACEOF
   5129 if ac_fn_c_try_link "$LINENO"; then :
   5130   eval $cacheid=yes
   5131 else
   5132   eval $cacheid=no
   5133 fi
   5134 rm -f core conftest.err conftest.$ac_objext \
   5135     conftest$ac_exeext conftest.$ac_ext
   5136 fi
   5137 
   5138 
   5139 		CFLAGS="$xorg_testset_save_CFLAGS"
   5140 
   5141 		eval supported=\$$cacheid
   5142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5143 $as_echo "$supported" >&6; }
   5144 		if test "$supported" = "yes" ; then
   5145 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5146 			found="yes"
   5147 		fi
   5148 	fi
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 xorg_testset_save_CFLAGS="$CFLAGS"
   5165 
   5166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5171   $as_echo_n "(cached) " >&6
   5172 else
   5173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5174 /* end confdefs.h.  */
   5175 int i;
   5176 _ACEOF
   5177 if ac_fn_c_try_compile "$LINENO"; then :
   5178   xorg_cv_cc_flag_unknown_warning_option=yes
   5179 else
   5180   xorg_cv_cc_flag_unknown_warning_option=no
   5181 fi
   5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5183 fi
   5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5187 	CFLAGS="$xorg_testset_save_CFLAGS"
   5188 fi
   5189 
   5190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5193 	fi
   5194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5198   $as_echo_n "(cached) " >&6
   5199 else
   5200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5201 /* end confdefs.h.  */
   5202 int i;
   5203 _ACEOF
   5204 if ac_fn_c_try_compile "$LINENO"; then :
   5205   xorg_cv_cc_flag_unused_command_line_argument=yes
   5206 else
   5207   xorg_cv_cc_flag_unused_command_line_argument=no
   5208 fi
   5209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5210 fi
   5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5214 	CFLAGS="$xorg_testset_save_CFLAGS"
   5215 fi
   5216 
   5217 found="no"
   5218 
   5219 	if test $found = "no" ; then
   5220 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5222 		fi
   5223 
   5224 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5226 		fi
   5227 
   5228 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5229 
   5230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5231 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5232 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5233 		if eval \${$cacheid+:} false; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5237 /* end confdefs.h.  */
   5238 int i;
   5239 int
   5240 main ()
   5241 {
   5242 
   5243   ;
   5244   return 0;
   5245 }
   5246 _ACEOF
   5247 if ac_fn_c_try_link "$LINENO"; then :
   5248   eval $cacheid=yes
   5249 else
   5250   eval $cacheid=no
   5251 fi
   5252 rm -f core conftest.err conftest.$ac_objext \
   5253     conftest$ac_exeext conftest.$ac_ext
   5254 fi
   5255 
   5256 
   5257 		CFLAGS="$xorg_testset_save_CFLAGS"
   5258 
   5259 		eval supported=\$$cacheid
   5260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5261 $as_echo "$supported" >&6; }
   5262 		if test "$supported" = "yes" ; then
   5263 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5264 			found="yes"
   5265 		fi
   5266 	fi
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 xorg_testset_save_CFLAGS="$CFLAGS"
   5283 
   5284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5289   $as_echo_n "(cached) " >&6
   5290 else
   5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 _ACEOF
   5295 if ac_fn_c_try_compile "$LINENO"; then :
   5296   xorg_cv_cc_flag_unknown_warning_option=yes
   5297 else
   5298   xorg_cv_cc_flag_unknown_warning_option=no
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5301 fi
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5305 	CFLAGS="$xorg_testset_save_CFLAGS"
   5306 fi
   5307 
   5308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5311 	fi
   5312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5316   $as_echo_n "(cached) " >&6
   5317 else
   5318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5319 /* end confdefs.h.  */
   5320 int i;
   5321 _ACEOF
   5322 if ac_fn_c_try_compile "$LINENO"; then :
   5323   xorg_cv_cc_flag_unused_command_line_argument=yes
   5324 else
   5325   xorg_cv_cc_flag_unused_command_line_argument=no
   5326 fi
   5327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5328 fi
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5332 	CFLAGS="$xorg_testset_save_CFLAGS"
   5333 fi
   5334 
   5335 found="no"
   5336 
   5337 	if test $found = "no" ; then
   5338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5340 		fi
   5341 
   5342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5344 		fi
   5345 
   5346 		CFLAGS="$CFLAGS -Wformat=2"
   5347 
   5348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5349 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5350 		cacheid=xorg_cv_cc_flag__Wformat_2
   5351 		if eval \${$cacheid+:} false; then :
   5352   $as_echo_n "(cached) " >&6
   5353 else
   5354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 int
   5358 main ()
   5359 {
   5360 
   5361   ;
   5362   return 0;
   5363 }
   5364 _ACEOF
   5365 if ac_fn_c_try_link "$LINENO"; then :
   5366   eval $cacheid=yes
   5367 else
   5368   eval $cacheid=no
   5369 fi
   5370 rm -f core conftest.err conftest.$ac_objext \
   5371     conftest$ac_exeext conftest.$ac_ext
   5372 fi
   5373 
   5374 
   5375 		CFLAGS="$xorg_testset_save_CFLAGS"
   5376 
   5377 		eval supported=\$$cacheid
   5378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5379 $as_echo "$supported" >&6; }
   5380 		if test "$supported" = "yes" ; then
   5381 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5382 			found="yes"
   5383 		fi
   5384 	fi
   5385 
   5386 	if test $found = "no" ; then
   5387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5389 		fi
   5390 
   5391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5393 		fi
   5394 
   5395 		CFLAGS="$CFLAGS -Wformat"
   5396 
   5397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5398 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5399 		cacheid=xorg_cv_cc_flag__Wformat
   5400 		if eval \${$cacheid+:} false; then :
   5401   $as_echo_n "(cached) " >&6
   5402 else
   5403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5404 /* end confdefs.h.  */
   5405 int i;
   5406 int
   5407 main ()
   5408 {
   5409 
   5410   ;
   5411   return 0;
   5412 }
   5413 _ACEOF
   5414 if ac_fn_c_try_link "$LINENO"; then :
   5415   eval $cacheid=yes
   5416 else
   5417   eval $cacheid=no
   5418 fi
   5419 rm -f core conftest.err conftest.$ac_objext \
   5420     conftest$ac_exeext conftest.$ac_ext
   5421 fi
   5422 
   5423 
   5424 		CFLAGS="$xorg_testset_save_CFLAGS"
   5425 
   5426 		eval supported=\$$cacheid
   5427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5428 $as_echo "$supported" >&6; }
   5429 		if test "$supported" = "yes" ; then
   5430 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5431 			found="yes"
   5432 		fi
   5433 	fi
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 xorg_testset_save_CFLAGS="$CFLAGS"
   5452 
   5453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5456 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5457 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5458   $as_echo_n "(cached) " >&6
   5459 else
   5460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 _ACEOF
   5464 if ac_fn_c_try_compile "$LINENO"; then :
   5465   xorg_cv_cc_flag_unknown_warning_option=yes
   5466 else
   5467   xorg_cv_cc_flag_unknown_warning_option=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5470 fi
   5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5472 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5474 	CFLAGS="$xorg_testset_save_CFLAGS"
   5475 fi
   5476 
   5477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5480 	fi
   5481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5484 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5485   $as_echo_n "(cached) " >&6
   5486 else
   5487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5488 /* end confdefs.h.  */
   5489 int i;
   5490 _ACEOF
   5491 if ac_fn_c_try_compile "$LINENO"; then :
   5492   xorg_cv_cc_flag_unused_command_line_argument=yes
   5493 else
   5494   xorg_cv_cc_flag_unused_command_line_argument=no
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5497 fi
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5499 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5501 	CFLAGS="$xorg_testset_save_CFLAGS"
   5502 fi
   5503 
   5504 found="no"
   5505 
   5506 	if test $found = "no" ; then
   5507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5509 		fi
   5510 
   5511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5513 		fi
   5514 
   5515 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5516 
   5517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5518 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5519 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5520 		if eval \${$cacheid+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 int
   5527 main ()
   5528 {
   5529 
   5530   ;
   5531   return 0;
   5532 }
   5533 _ACEOF
   5534 if ac_fn_c_try_link "$LINENO"; then :
   5535   eval $cacheid=yes
   5536 else
   5537   eval $cacheid=no
   5538 fi
   5539 rm -f core conftest.err conftest.$ac_objext \
   5540     conftest$ac_exeext conftest.$ac_ext
   5541 fi
   5542 
   5543 
   5544 		CFLAGS="$xorg_testset_save_CFLAGS"
   5545 
   5546 		eval supported=\$$cacheid
   5547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5548 $as_echo "$supported" >&6; }
   5549 		if test "$supported" = "yes" ; then
   5550 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5551 			found="yes"
   5552 		fi
   5553 	fi
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 xorg_testset_save_CFLAGS="$CFLAGS"
   5570 
   5571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5576   $as_echo_n "(cached) " >&6
   5577 else
   5578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5579 /* end confdefs.h.  */
   5580 int i;
   5581 _ACEOF
   5582 if ac_fn_c_try_compile "$LINENO"; then :
   5583   xorg_cv_cc_flag_unknown_warning_option=yes
   5584 else
   5585   xorg_cv_cc_flag_unknown_warning_option=no
   5586 fi
   5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5588 fi
   5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5592 	CFLAGS="$xorg_testset_save_CFLAGS"
   5593 fi
   5594 
   5595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5598 	fi
   5599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5606 /* end confdefs.h.  */
   5607 int i;
   5608 _ACEOF
   5609 if ac_fn_c_try_compile "$LINENO"; then :
   5610   xorg_cv_cc_flag_unused_command_line_argument=yes
   5611 else
   5612   xorg_cv_cc_flag_unused_command_line_argument=no
   5613 fi
   5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5615 fi
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5619 	CFLAGS="$xorg_testset_save_CFLAGS"
   5620 fi
   5621 
   5622 found="no"
   5623 
   5624 	if test $found = "no" ; then
   5625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5627 		fi
   5628 
   5629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5631 		fi
   5632 
   5633 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5634 
   5635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5636 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5637 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5638 		if eval \${$cacheid+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5642 /* end confdefs.h.  */
   5643 int i;
   5644 int
   5645 main ()
   5646 {
   5647 
   5648   ;
   5649   return 0;
   5650 }
   5651 _ACEOF
   5652 if ac_fn_c_try_link "$LINENO"; then :
   5653   eval $cacheid=yes
   5654 else
   5655   eval $cacheid=no
   5656 fi
   5657 rm -f core conftest.err conftest.$ac_objext \
   5658     conftest$ac_exeext conftest.$ac_ext
   5659 fi
   5660 
   5661 
   5662 		CFLAGS="$xorg_testset_save_CFLAGS"
   5663 
   5664 		eval supported=\$$cacheid
   5665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5666 $as_echo "$supported" >&6; }
   5667 		if test "$supported" = "yes" ; then
   5668 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5669 			found="yes"
   5670 		fi
   5671 	fi
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 xorg_testset_save_CFLAGS="$CFLAGS"
   5688 
   5689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5692 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5693 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5694   $as_echo_n "(cached) " >&6
   5695 else
   5696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5697 /* end confdefs.h.  */
   5698 int i;
   5699 _ACEOF
   5700 if ac_fn_c_try_compile "$LINENO"; then :
   5701   xorg_cv_cc_flag_unknown_warning_option=yes
   5702 else
   5703   xorg_cv_cc_flag_unknown_warning_option=no
   5704 fi
   5705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5706 fi
   5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5708 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5710 	CFLAGS="$xorg_testset_save_CFLAGS"
   5711 fi
   5712 
   5713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5716 	fi
   5717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5719 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5720 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5721   $as_echo_n "(cached) " >&6
   5722 else
   5723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5724 /* end confdefs.h.  */
   5725 int i;
   5726 _ACEOF
   5727 if ac_fn_c_try_compile "$LINENO"; then :
   5728   xorg_cv_cc_flag_unused_command_line_argument=yes
   5729 else
   5730   xorg_cv_cc_flag_unused_command_line_argument=no
   5731 fi
   5732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5733 fi
   5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5735 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5737 	CFLAGS="$xorg_testset_save_CFLAGS"
   5738 fi
   5739 
   5740 found="no"
   5741 
   5742 	if test $found = "no" ; then
   5743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5745 		fi
   5746 
   5747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5749 		fi
   5750 
   5751 		CFLAGS="$CFLAGS -Wnested-externs"
   5752 
   5753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5754 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5755 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5756 		if eval \${$cacheid+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 int
   5763 main ()
   5764 {
   5765 
   5766   ;
   5767   return 0;
   5768 }
   5769 _ACEOF
   5770 if ac_fn_c_try_link "$LINENO"; then :
   5771   eval $cacheid=yes
   5772 else
   5773   eval $cacheid=no
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext \
   5776     conftest$ac_exeext conftest.$ac_ext
   5777 fi
   5778 
   5779 
   5780 		CFLAGS="$xorg_testset_save_CFLAGS"
   5781 
   5782 		eval supported=\$$cacheid
   5783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5784 $as_echo "$supported" >&6; }
   5785 		if test "$supported" = "yes" ; then
   5786 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5787 			found="yes"
   5788 		fi
   5789 	fi
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 xorg_testset_save_CFLAGS="$CFLAGS"
   5806 
   5807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5810 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5811 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5812   $as_echo_n "(cached) " >&6
   5813 else
   5814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5815 /* end confdefs.h.  */
   5816 int i;
   5817 _ACEOF
   5818 if ac_fn_c_try_compile "$LINENO"; then :
   5819   xorg_cv_cc_flag_unknown_warning_option=yes
   5820 else
   5821   xorg_cv_cc_flag_unknown_warning_option=no
   5822 fi
   5823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5824 fi
   5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5826 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5828 	CFLAGS="$xorg_testset_save_CFLAGS"
   5829 fi
   5830 
   5831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5834 	fi
   5835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5837 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5838 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5839   $as_echo_n "(cached) " >&6
   5840 else
   5841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5842 /* end confdefs.h.  */
   5843 int i;
   5844 _ACEOF
   5845 if ac_fn_c_try_compile "$LINENO"; then :
   5846   xorg_cv_cc_flag_unused_command_line_argument=yes
   5847 else
   5848   xorg_cv_cc_flag_unused_command_line_argument=no
   5849 fi
   5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5851 fi
   5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5853 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5855 	CFLAGS="$xorg_testset_save_CFLAGS"
   5856 fi
   5857 
   5858 found="no"
   5859 
   5860 	if test $found = "no" ; then
   5861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5863 		fi
   5864 
   5865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5867 		fi
   5868 
   5869 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5870 
   5871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5872 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5873 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5874 		if eval \${$cacheid+:} false; then :
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 int
   5881 main ()
   5882 {
   5883 
   5884   ;
   5885   return 0;
   5886 }
   5887 _ACEOF
   5888 if ac_fn_c_try_link "$LINENO"; then :
   5889   eval $cacheid=yes
   5890 else
   5891   eval $cacheid=no
   5892 fi
   5893 rm -f core conftest.err conftest.$ac_objext \
   5894     conftest$ac_exeext conftest.$ac_ext
   5895 fi
   5896 
   5897 
   5898 		CFLAGS="$xorg_testset_save_CFLAGS"
   5899 
   5900 		eval supported=\$$cacheid
   5901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5902 $as_echo "$supported" >&6; }
   5903 		if test "$supported" = "yes" ; then
   5904 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5905 			found="yes"
   5906 		fi
   5907 	fi
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 xorg_testset_save_CFLAGS="$CFLAGS"
   5924 
   5925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5933 /* end confdefs.h.  */
   5934 int i;
   5935 _ACEOF
   5936 if ac_fn_c_try_compile "$LINENO"; then :
   5937   xorg_cv_cc_flag_unknown_warning_option=yes
   5938 else
   5939   xorg_cv_cc_flag_unknown_warning_option=no
   5940 fi
   5941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5942 fi
   5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5946 	CFLAGS="$xorg_testset_save_CFLAGS"
   5947 fi
   5948 
   5949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5952 	fi
   5953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5957   $as_echo_n "(cached) " >&6
   5958 else
   5959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5960 /* end confdefs.h.  */
   5961 int i;
   5962 _ACEOF
   5963 if ac_fn_c_try_compile "$LINENO"; then :
   5964   xorg_cv_cc_flag_unused_command_line_argument=yes
   5965 else
   5966   xorg_cv_cc_flag_unused_command_line_argument=no
   5967 fi
   5968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5969 fi
   5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5973 	CFLAGS="$xorg_testset_save_CFLAGS"
   5974 fi
   5975 
   5976 found="no"
   5977 
   5978 	if test $found = "no" ; then
   5979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5981 		fi
   5982 
   5983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5985 		fi
   5986 
   5987 		CFLAGS="$CFLAGS -Wold-style-definition"
   5988 
   5989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5990 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5991 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5992 		if eval \${$cacheid+:} false; then :
   5993   $as_echo_n "(cached) " >&6
   5994 else
   5995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5996 /* end confdefs.h.  */
   5997 int i;
   5998 int
   5999 main ()
   6000 {
   6001 
   6002   ;
   6003   return 0;
   6004 }
   6005 _ACEOF
   6006 if ac_fn_c_try_link "$LINENO"; then :
   6007   eval $cacheid=yes
   6008 else
   6009   eval $cacheid=no
   6010 fi
   6011 rm -f core conftest.err conftest.$ac_objext \
   6012     conftest$ac_exeext conftest.$ac_ext
   6013 fi
   6014 
   6015 
   6016 		CFLAGS="$xorg_testset_save_CFLAGS"
   6017 
   6018 		eval supported=\$$cacheid
   6019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6020 $as_echo "$supported" >&6; }
   6021 		if test "$supported" = "yes" ; then
   6022 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6023 			found="yes"
   6024 		fi
   6025 	fi
   6026 
   6027 	if test $found = "no" ; then
   6028 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6030 		fi
   6031 
   6032 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6034 		fi
   6035 
   6036 		CFLAGS="$CFLAGS -fd"
   6037 
   6038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6039 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6040 		cacheid=xorg_cv_cc_flag__fd
   6041 		if eval \${$cacheid+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 int
   6048 main ()
   6049 {
   6050 
   6051   ;
   6052   return 0;
   6053 }
   6054 _ACEOF
   6055 if ac_fn_c_try_link "$LINENO"; then :
   6056   eval $cacheid=yes
   6057 else
   6058   eval $cacheid=no
   6059 fi
   6060 rm -f core conftest.err conftest.$ac_objext \
   6061     conftest$ac_exeext conftest.$ac_ext
   6062 fi
   6063 
   6064 
   6065 		CFLAGS="$xorg_testset_save_CFLAGS"
   6066 
   6067 		eval supported=\$$cacheid
   6068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6069 $as_echo "$supported" >&6; }
   6070 		if test "$supported" = "yes" ; then
   6071 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6072 			found="yes"
   6073 		fi
   6074 	fi
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 xorg_testset_save_CFLAGS="$CFLAGS"
   6091 
   6092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6097   $as_echo_n "(cached) " >&6
   6098 else
   6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 _ACEOF
   6103 if ac_fn_c_try_compile "$LINENO"; then :
   6104   xorg_cv_cc_flag_unknown_warning_option=yes
   6105 else
   6106   xorg_cv_cc_flag_unknown_warning_option=no
   6107 fi
   6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6109 fi
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6113 	CFLAGS="$xorg_testset_save_CFLAGS"
   6114 fi
   6115 
   6116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6119 	fi
   6120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6124   $as_echo_n "(cached) " >&6
   6125 else
   6126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6127 /* end confdefs.h.  */
   6128 int i;
   6129 _ACEOF
   6130 if ac_fn_c_try_compile "$LINENO"; then :
   6131   xorg_cv_cc_flag_unused_command_line_argument=yes
   6132 else
   6133   xorg_cv_cc_flag_unused_command_line_argument=no
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6136 fi
   6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6140 	CFLAGS="$xorg_testset_save_CFLAGS"
   6141 fi
   6142 
   6143 found="no"
   6144 
   6145 	if test $found = "no" ; then
   6146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6148 		fi
   6149 
   6150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6152 		fi
   6153 
   6154 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6155 
   6156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6157 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6158 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6159 		if eval \${$cacheid+:} false; then :
   6160   $as_echo_n "(cached) " >&6
   6161 else
   6162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6163 /* end confdefs.h.  */
   6164 int i;
   6165 int
   6166 main ()
   6167 {
   6168 
   6169   ;
   6170   return 0;
   6171 }
   6172 _ACEOF
   6173 if ac_fn_c_try_link "$LINENO"; then :
   6174   eval $cacheid=yes
   6175 else
   6176   eval $cacheid=no
   6177 fi
   6178 rm -f core conftest.err conftest.$ac_objext \
   6179     conftest$ac_exeext conftest.$ac_ext
   6180 fi
   6181 
   6182 
   6183 		CFLAGS="$xorg_testset_save_CFLAGS"
   6184 
   6185 		eval supported=\$$cacheid
   6186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6187 $as_echo "$supported" >&6; }
   6188 		if test "$supported" = "yes" ; then
   6189 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6190 			found="yes"
   6191 		fi
   6192 	fi
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 # This chunk adds additional warnings that could catch undesired effects.
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 xorg_testset_save_CFLAGS="$CFLAGS"
   6213 
   6214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6217 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6218 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6219   $as_echo_n "(cached) " >&6
   6220 else
   6221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6222 /* end confdefs.h.  */
   6223 int i;
   6224 _ACEOF
   6225 if ac_fn_c_try_compile "$LINENO"; then :
   6226   xorg_cv_cc_flag_unknown_warning_option=yes
   6227 else
   6228   xorg_cv_cc_flag_unknown_warning_option=no
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6231 fi
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6233 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6235 	CFLAGS="$xorg_testset_save_CFLAGS"
   6236 fi
   6237 
   6238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6241 	fi
   6242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6244 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6245 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6246   $as_echo_n "(cached) " >&6
   6247 else
   6248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6249 /* end confdefs.h.  */
   6250 int i;
   6251 _ACEOF
   6252 if ac_fn_c_try_compile "$LINENO"; then :
   6253   xorg_cv_cc_flag_unused_command_line_argument=yes
   6254 else
   6255   xorg_cv_cc_flag_unused_command_line_argument=no
   6256 fi
   6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6258 fi
   6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6260 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6261 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6262 	CFLAGS="$xorg_testset_save_CFLAGS"
   6263 fi
   6264 
   6265 found="no"
   6266 
   6267 	if test $found = "no" ; then
   6268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6270 		fi
   6271 
   6272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6274 		fi
   6275 
   6276 		CFLAGS="$CFLAGS -Wunused"
   6277 
   6278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6279 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6280 		cacheid=xorg_cv_cc_flag__Wunused
   6281 		if eval \${$cacheid+:} false; then :
   6282   $as_echo_n "(cached) " >&6
   6283 else
   6284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6285 /* end confdefs.h.  */
   6286 int i;
   6287 int
   6288 main ()
   6289 {
   6290 
   6291   ;
   6292   return 0;
   6293 }
   6294 _ACEOF
   6295 if ac_fn_c_try_link "$LINENO"; then :
   6296   eval $cacheid=yes
   6297 else
   6298   eval $cacheid=no
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext \
   6301     conftest$ac_exeext conftest.$ac_ext
   6302 fi
   6303 
   6304 
   6305 		CFLAGS="$xorg_testset_save_CFLAGS"
   6306 
   6307 		eval supported=\$$cacheid
   6308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6309 $as_echo "$supported" >&6; }
   6310 		if test "$supported" = "yes" ; then
   6311 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6312 			found="yes"
   6313 		fi
   6314 	fi
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 xorg_testset_save_CFLAGS="$CFLAGS"
   6331 
   6332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6335 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6336 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6337   $as_echo_n "(cached) " >&6
   6338 else
   6339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"; then :
   6344   xorg_cv_cc_flag_unknown_warning_option=yes
   6345 else
   6346   xorg_cv_cc_flag_unknown_warning_option=no
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6349 fi
   6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6351 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6353 	CFLAGS="$xorg_testset_save_CFLAGS"
   6354 fi
   6355 
   6356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 	fi
   6360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6362 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6363 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6364   $as_echo_n "(cached) " >&6
   6365 else
   6366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6367 /* end confdefs.h.  */
   6368 int i;
   6369 _ACEOF
   6370 if ac_fn_c_try_compile "$LINENO"; then :
   6371   xorg_cv_cc_flag_unused_command_line_argument=yes
   6372 else
   6373   xorg_cv_cc_flag_unused_command_line_argument=no
   6374 fi
   6375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6376 fi
   6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6378 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6380 	CFLAGS="$xorg_testset_save_CFLAGS"
   6381 fi
   6382 
   6383 found="no"
   6384 
   6385 	if test $found = "no" ; then
   6386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6388 		fi
   6389 
   6390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6392 		fi
   6393 
   6394 		CFLAGS="$CFLAGS -Wuninitialized"
   6395 
   6396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6397 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6398 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6399 		if eval \${$cacheid+:} false; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 int
   6406 main ()
   6407 {
   6408 
   6409   ;
   6410   return 0;
   6411 }
   6412 _ACEOF
   6413 if ac_fn_c_try_link "$LINENO"; then :
   6414   eval $cacheid=yes
   6415 else
   6416   eval $cacheid=no
   6417 fi
   6418 rm -f core conftest.err conftest.$ac_objext \
   6419     conftest$ac_exeext conftest.$ac_ext
   6420 fi
   6421 
   6422 
   6423 		CFLAGS="$xorg_testset_save_CFLAGS"
   6424 
   6425 		eval supported=\$$cacheid
   6426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6427 $as_echo "$supported" >&6; }
   6428 		if test "$supported" = "yes" ; then
   6429 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6430 			found="yes"
   6431 		fi
   6432 	fi
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 xorg_testset_save_CFLAGS="$CFLAGS"
   6449 
   6450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6453 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6454 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6455   $as_echo_n "(cached) " >&6
   6456 else
   6457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6458 /* end confdefs.h.  */
   6459 int i;
   6460 _ACEOF
   6461 if ac_fn_c_try_compile "$LINENO"; then :
   6462   xorg_cv_cc_flag_unknown_warning_option=yes
   6463 else
   6464   xorg_cv_cc_flag_unknown_warning_option=no
   6465 fi
   6466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6467 fi
   6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6469 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6471 	CFLAGS="$xorg_testset_save_CFLAGS"
   6472 fi
   6473 
   6474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6477 	fi
   6478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6480 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6481 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6482   $as_echo_n "(cached) " >&6
   6483 else
   6484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6485 /* end confdefs.h.  */
   6486 int i;
   6487 _ACEOF
   6488 if ac_fn_c_try_compile "$LINENO"; then :
   6489   xorg_cv_cc_flag_unused_command_line_argument=yes
   6490 else
   6491   xorg_cv_cc_flag_unused_command_line_argument=no
   6492 fi
   6493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6494 fi
   6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6496 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6498 	CFLAGS="$xorg_testset_save_CFLAGS"
   6499 fi
   6500 
   6501 found="no"
   6502 
   6503 	if test $found = "no" ; then
   6504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6506 		fi
   6507 
   6508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6510 		fi
   6511 
   6512 		CFLAGS="$CFLAGS -Wshadow"
   6513 
   6514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6515 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6516 		cacheid=xorg_cv_cc_flag__Wshadow
   6517 		if eval \${$cacheid+:} false; then :
   6518   $as_echo_n "(cached) " >&6
   6519 else
   6520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6521 /* end confdefs.h.  */
   6522 int i;
   6523 int
   6524 main ()
   6525 {
   6526 
   6527   ;
   6528   return 0;
   6529 }
   6530 _ACEOF
   6531 if ac_fn_c_try_link "$LINENO"; then :
   6532   eval $cacheid=yes
   6533 else
   6534   eval $cacheid=no
   6535 fi
   6536 rm -f core conftest.err conftest.$ac_objext \
   6537     conftest$ac_exeext conftest.$ac_ext
   6538 fi
   6539 
   6540 
   6541 		CFLAGS="$xorg_testset_save_CFLAGS"
   6542 
   6543 		eval supported=\$$cacheid
   6544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6545 $as_echo "$supported" >&6; }
   6546 		if test "$supported" = "yes" ; then
   6547 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6548 			found="yes"
   6549 		fi
   6550 	fi
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 xorg_testset_save_CFLAGS="$CFLAGS"
   6567 
   6568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6571 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6572 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6573   $as_echo_n "(cached) " >&6
   6574 else
   6575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6576 /* end confdefs.h.  */
   6577 int i;
   6578 _ACEOF
   6579 if ac_fn_c_try_compile "$LINENO"; then :
   6580   xorg_cv_cc_flag_unknown_warning_option=yes
   6581 else
   6582   xorg_cv_cc_flag_unknown_warning_option=no
   6583 fi
   6584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6585 fi
   6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6587 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6589 	CFLAGS="$xorg_testset_save_CFLAGS"
   6590 fi
   6591 
   6592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6595 	fi
   6596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6598 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6599 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6600   $as_echo_n "(cached) " >&6
   6601 else
   6602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6603 /* end confdefs.h.  */
   6604 int i;
   6605 _ACEOF
   6606 if ac_fn_c_try_compile "$LINENO"; then :
   6607   xorg_cv_cc_flag_unused_command_line_argument=yes
   6608 else
   6609   xorg_cv_cc_flag_unused_command_line_argument=no
   6610 fi
   6611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6612 fi
   6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6614 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6616 	CFLAGS="$xorg_testset_save_CFLAGS"
   6617 fi
   6618 
   6619 found="no"
   6620 
   6621 	if test $found = "no" ; then
   6622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6624 		fi
   6625 
   6626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6628 		fi
   6629 
   6630 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6631 
   6632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6633 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6634 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6635 		if eval \${$cacheid+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6639 /* end confdefs.h.  */
   6640 int i;
   6641 int
   6642 main ()
   6643 {
   6644 
   6645   ;
   6646   return 0;
   6647 }
   6648 _ACEOF
   6649 if ac_fn_c_try_link "$LINENO"; then :
   6650   eval $cacheid=yes
   6651 else
   6652   eval $cacheid=no
   6653 fi
   6654 rm -f core conftest.err conftest.$ac_objext \
   6655     conftest$ac_exeext conftest.$ac_ext
   6656 fi
   6657 
   6658 
   6659 		CFLAGS="$xorg_testset_save_CFLAGS"
   6660 
   6661 		eval supported=\$$cacheid
   6662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6663 $as_echo "$supported" >&6; }
   6664 		if test "$supported" = "yes" ; then
   6665 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6666 			found="yes"
   6667 		fi
   6668 	fi
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 xorg_testset_save_CFLAGS="$CFLAGS"
   6685 
   6686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6689 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6690 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6691   $as_echo_n "(cached) " >&6
   6692 else
   6693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6694 /* end confdefs.h.  */
   6695 int i;
   6696 _ACEOF
   6697 if ac_fn_c_try_compile "$LINENO"; then :
   6698   xorg_cv_cc_flag_unknown_warning_option=yes
   6699 else
   6700   xorg_cv_cc_flag_unknown_warning_option=no
   6701 fi
   6702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6703 fi
   6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6705 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6707 	CFLAGS="$xorg_testset_save_CFLAGS"
   6708 fi
   6709 
   6710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6713 	fi
   6714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6716 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6717 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6718   $as_echo_n "(cached) " >&6
   6719 else
   6720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6721 /* end confdefs.h.  */
   6722 int i;
   6723 _ACEOF
   6724 if ac_fn_c_try_compile "$LINENO"; then :
   6725   xorg_cv_cc_flag_unused_command_line_argument=yes
   6726 else
   6727   xorg_cv_cc_flag_unused_command_line_argument=no
   6728 fi
   6729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6730 fi
   6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6732 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6734 	CFLAGS="$xorg_testset_save_CFLAGS"
   6735 fi
   6736 
   6737 found="no"
   6738 
   6739 	if test $found = "no" ; then
   6740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6742 		fi
   6743 
   6744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6746 		fi
   6747 
   6748 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6749 
   6750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6751 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6752 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6753 		if eval \${$cacheid+:} false; then :
   6754   $as_echo_n "(cached) " >&6
   6755 else
   6756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 int
   6760 main ()
   6761 {
   6762 
   6763   ;
   6764   return 0;
   6765 }
   6766 _ACEOF
   6767 if ac_fn_c_try_link "$LINENO"; then :
   6768   eval $cacheid=yes
   6769 else
   6770   eval $cacheid=no
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext \
   6773     conftest$ac_exeext conftest.$ac_ext
   6774 fi
   6775 
   6776 
   6777 		CFLAGS="$xorg_testset_save_CFLAGS"
   6778 
   6779 		eval supported=\$$cacheid
   6780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6781 $as_echo "$supported" >&6; }
   6782 		if test "$supported" = "yes" ; then
   6783 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6784 			found="yes"
   6785 		fi
   6786 	fi
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 xorg_testset_save_CFLAGS="$CFLAGS"
   6803 
   6804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6809   $as_echo_n "(cached) " >&6
   6810 else
   6811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6812 /* end confdefs.h.  */
   6813 int i;
   6814 _ACEOF
   6815 if ac_fn_c_try_compile "$LINENO"; then :
   6816   xorg_cv_cc_flag_unknown_warning_option=yes
   6817 else
   6818   xorg_cv_cc_flag_unknown_warning_option=no
   6819 fi
   6820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6821 fi
   6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6825 	CFLAGS="$xorg_testset_save_CFLAGS"
   6826 fi
   6827 
   6828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6831 	fi
   6832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6839 /* end confdefs.h.  */
   6840 int i;
   6841 _ACEOF
   6842 if ac_fn_c_try_compile "$LINENO"; then :
   6843   xorg_cv_cc_flag_unused_command_line_argument=yes
   6844 else
   6845   xorg_cv_cc_flag_unused_command_line_argument=no
   6846 fi
   6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6848 fi
   6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6852 	CFLAGS="$xorg_testset_save_CFLAGS"
   6853 fi
   6854 
   6855 found="no"
   6856 
   6857 	if test $found = "no" ; then
   6858 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6860 		fi
   6861 
   6862 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6864 		fi
   6865 
   6866 		CFLAGS="$CFLAGS -Wredundant-decls"
   6867 
   6868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6869 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6870 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6871 		if eval \${$cacheid+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 int
   6878 main ()
   6879 {
   6880 
   6881   ;
   6882   return 0;
   6883 }
   6884 _ACEOF
   6885 if ac_fn_c_try_link "$LINENO"; then :
   6886   eval $cacheid=yes
   6887 else
   6888   eval $cacheid=no
   6889 fi
   6890 rm -f core conftest.err conftest.$ac_objext \
   6891     conftest$ac_exeext conftest.$ac_ext
   6892 fi
   6893 
   6894 
   6895 		CFLAGS="$xorg_testset_save_CFLAGS"
   6896 
   6897 		eval supported=\$$cacheid
   6898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6899 $as_echo "$supported" >&6; }
   6900 		if test "$supported" = "yes" ; then
   6901 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6902 			found="yes"
   6903 		fi
   6904 	fi
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 xorg_testset_save_CFLAGS="$CFLAGS"
   6921 
   6922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6927   $as_echo_n "(cached) " >&6
   6928 else
   6929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6930 /* end confdefs.h.  */
   6931 int i;
   6932 _ACEOF
   6933 if ac_fn_c_try_compile "$LINENO"; then :
   6934   xorg_cv_cc_flag_unknown_warning_option=yes
   6935 else
   6936   xorg_cv_cc_flag_unknown_warning_option=no
   6937 fi
   6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6939 fi
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6943 	CFLAGS="$xorg_testset_save_CFLAGS"
   6944 fi
   6945 
   6946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6949 	fi
   6950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6954   $as_echo_n "(cached) " >&6
   6955 else
   6956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6957 /* end confdefs.h.  */
   6958 int i;
   6959 _ACEOF
   6960 if ac_fn_c_try_compile "$LINENO"; then :
   6961   xorg_cv_cc_flag_unused_command_line_argument=yes
   6962 else
   6963   xorg_cv_cc_flag_unused_command_line_argument=no
   6964 fi
   6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6966 fi
   6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6970 	CFLAGS="$xorg_testset_save_CFLAGS"
   6971 fi
   6972 
   6973 found="no"
   6974 
   6975 	if test $found = "no" ; then
   6976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6978 		fi
   6979 
   6980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6982 		fi
   6983 
   6984 		CFLAGS="$CFLAGS -Wlogical-op"
   6985 
   6986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6987 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6988 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6989 		if eval \${$cacheid+:} false; then :
   6990   $as_echo_n "(cached) " >&6
   6991 else
   6992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6993 /* end confdefs.h.  */
   6994 int i;
   6995 int
   6996 main ()
   6997 {
   6998 
   6999   ;
   7000   return 0;
   7001 }
   7002 _ACEOF
   7003 if ac_fn_c_try_link "$LINENO"; then :
   7004   eval $cacheid=yes
   7005 else
   7006   eval $cacheid=no
   7007 fi
   7008 rm -f core conftest.err conftest.$ac_objext \
   7009     conftest$ac_exeext conftest.$ac_ext
   7010 fi
   7011 
   7012 
   7013 		CFLAGS="$xorg_testset_save_CFLAGS"
   7014 
   7015 		eval supported=\$$cacheid
   7016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7017 $as_echo "$supported" >&6; }
   7018 		if test "$supported" = "yes" ; then
   7019 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7020 			found="yes"
   7021 		fi
   7022 	fi
   7023 
   7024 
   7025 
   7026 # These are currently disabled because they are noisy.  They will be enabled
   7027 # in the future once the codebase is sufficiently modernized to silence
   7028 # them.  For now, I don't want them to drown out the other warnings.
   7029 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7030 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7031 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7032 
   7033 # Turn some warnings into errors, so we don't accidently get successful builds
   7034 # when there are problems that should be fixed.
   7035 
   7036 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 xorg_testset_save_CFLAGS="$CFLAGS"
   7051 
   7052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7060 /* end confdefs.h.  */
   7061 int i;
   7062 _ACEOF
   7063 if ac_fn_c_try_compile "$LINENO"; then :
   7064   xorg_cv_cc_flag_unknown_warning_option=yes
   7065 else
   7066   xorg_cv_cc_flag_unknown_warning_option=no
   7067 fi
   7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7069 fi
   7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7073 	CFLAGS="$xorg_testset_save_CFLAGS"
   7074 fi
   7075 
   7076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7079 	fi
   7080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7084   $as_echo_n "(cached) " >&6
   7085 else
   7086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7087 /* end confdefs.h.  */
   7088 int i;
   7089 _ACEOF
   7090 if ac_fn_c_try_compile "$LINENO"; then :
   7091   xorg_cv_cc_flag_unused_command_line_argument=yes
   7092 else
   7093   xorg_cv_cc_flag_unused_command_line_argument=no
   7094 fi
   7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7096 fi
   7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7100 	CFLAGS="$xorg_testset_save_CFLAGS"
   7101 fi
   7102 
   7103 found="no"
   7104 
   7105 	if test $found = "no" ; then
   7106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7108 		fi
   7109 
   7110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7112 		fi
   7113 
   7114 		CFLAGS="$CFLAGS -Werror=implicit"
   7115 
   7116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7117 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7118 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7119 		if eval \${$cacheid+:} false; then :
   7120   $as_echo_n "(cached) " >&6
   7121 else
   7122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7123 /* end confdefs.h.  */
   7124 int i;
   7125 int
   7126 main ()
   7127 {
   7128 
   7129   ;
   7130   return 0;
   7131 }
   7132 _ACEOF
   7133 if ac_fn_c_try_link "$LINENO"; then :
   7134   eval $cacheid=yes
   7135 else
   7136   eval $cacheid=no
   7137 fi
   7138 rm -f core conftest.err conftest.$ac_objext \
   7139     conftest$ac_exeext conftest.$ac_ext
   7140 fi
   7141 
   7142 
   7143 		CFLAGS="$xorg_testset_save_CFLAGS"
   7144 
   7145 		eval supported=\$$cacheid
   7146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7147 $as_echo "$supported" >&6; }
   7148 		if test "$supported" = "yes" ; then
   7149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7150 			found="yes"
   7151 		fi
   7152 	fi
   7153 
   7154 	if test $found = "no" ; then
   7155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7157 		fi
   7158 
   7159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7161 		fi
   7162 
   7163 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7164 
   7165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7166 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7167 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7168 		if eval \${$cacheid+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 int i;
   7174 int
   7175 main ()
   7176 {
   7177 
   7178   ;
   7179   return 0;
   7180 }
   7181 _ACEOF
   7182 if ac_fn_c_try_link "$LINENO"; then :
   7183   eval $cacheid=yes
   7184 else
   7185   eval $cacheid=no
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext \
   7188     conftest$ac_exeext conftest.$ac_ext
   7189 fi
   7190 
   7191 
   7192 		CFLAGS="$xorg_testset_save_CFLAGS"
   7193 
   7194 		eval supported=\$$cacheid
   7195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7196 $as_echo "$supported" >&6; }
   7197 		if test "$supported" = "yes" ; then
   7198 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7199 			found="yes"
   7200 		fi
   7201 	fi
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 xorg_testset_save_CFLAGS="$CFLAGS"
   7218 
   7219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7222 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7223 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7227 /* end confdefs.h.  */
   7228 int i;
   7229 _ACEOF
   7230 if ac_fn_c_try_compile "$LINENO"; then :
   7231   xorg_cv_cc_flag_unknown_warning_option=yes
   7232 else
   7233   xorg_cv_cc_flag_unknown_warning_option=no
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7236 fi
   7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7238 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7240 	CFLAGS="$xorg_testset_save_CFLAGS"
   7241 fi
   7242 
   7243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7246 	fi
   7247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7249 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7250 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7251   $as_echo_n "(cached) " >&6
   7252 else
   7253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 _ACEOF
   7257 if ac_fn_c_try_compile "$LINENO"; then :
   7258   xorg_cv_cc_flag_unused_command_line_argument=yes
   7259 else
   7260   xorg_cv_cc_flag_unused_command_line_argument=no
   7261 fi
   7262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7263 fi
   7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7265 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7267 	CFLAGS="$xorg_testset_save_CFLAGS"
   7268 fi
   7269 
   7270 found="no"
   7271 
   7272 	if test $found = "no" ; then
   7273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7275 		fi
   7276 
   7277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7279 		fi
   7280 
   7281 		CFLAGS="$CFLAGS -Werror=nonnull"
   7282 
   7283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7284 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7285 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7286 		if eval \${$cacheid+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 int i;
   7292 int
   7293 main ()
   7294 {
   7295 
   7296   ;
   7297   return 0;
   7298 }
   7299 _ACEOF
   7300 if ac_fn_c_try_link "$LINENO"; then :
   7301   eval $cacheid=yes
   7302 else
   7303   eval $cacheid=no
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext \
   7306     conftest$ac_exeext conftest.$ac_ext
   7307 fi
   7308 
   7309 
   7310 		CFLAGS="$xorg_testset_save_CFLAGS"
   7311 
   7312 		eval supported=\$$cacheid
   7313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7314 $as_echo "$supported" >&6; }
   7315 		if test "$supported" = "yes" ; then
   7316 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7317 			found="yes"
   7318 		fi
   7319 	fi
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 xorg_testset_save_CFLAGS="$CFLAGS"
   7336 
   7337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7342   $as_echo_n "(cached) " >&6
   7343 else
   7344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7345 /* end confdefs.h.  */
   7346 int i;
   7347 _ACEOF
   7348 if ac_fn_c_try_compile "$LINENO"; then :
   7349   xorg_cv_cc_flag_unknown_warning_option=yes
   7350 else
   7351   xorg_cv_cc_flag_unknown_warning_option=no
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7354 fi
   7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7358 	CFLAGS="$xorg_testset_save_CFLAGS"
   7359 fi
   7360 
   7361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 	fi
   7365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7369   $as_echo_n "(cached) " >&6
   7370 else
   7371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7372 /* end confdefs.h.  */
   7373 int i;
   7374 _ACEOF
   7375 if ac_fn_c_try_compile "$LINENO"; then :
   7376   xorg_cv_cc_flag_unused_command_line_argument=yes
   7377 else
   7378   xorg_cv_cc_flag_unused_command_line_argument=no
   7379 fi
   7380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7381 fi
   7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7385 	CFLAGS="$xorg_testset_save_CFLAGS"
   7386 fi
   7387 
   7388 found="no"
   7389 
   7390 	if test $found = "no" ; then
   7391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7393 		fi
   7394 
   7395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7397 		fi
   7398 
   7399 		CFLAGS="$CFLAGS -Werror=init-self"
   7400 
   7401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7402 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7403 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7404 		if eval \${$cacheid+:} false; then :
   7405   $as_echo_n "(cached) " >&6
   7406 else
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 int
   7411 main ()
   7412 {
   7413 
   7414   ;
   7415   return 0;
   7416 }
   7417 _ACEOF
   7418 if ac_fn_c_try_link "$LINENO"; then :
   7419   eval $cacheid=yes
   7420 else
   7421   eval $cacheid=no
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext \
   7424     conftest$ac_exeext conftest.$ac_ext
   7425 fi
   7426 
   7427 
   7428 		CFLAGS="$xorg_testset_save_CFLAGS"
   7429 
   7430 		eval supported=\$$cacheid
   7431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7432 $as_echo "$supported" >&6; }
   7433 		if test "$supported" = "yes" ; then
   7434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7435 			found="yes"
   7436 		fi
   7437 	fi
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 xorg_testset_save_CFLAGS="$CFLAGS"
   7454 
   7455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7458 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7459 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7463 /* end confdefs.h.  */
   7464 int i;
   7465 _ACEOF
   7466 if ac_fn_c_try_compile "$LINENO"; then :
   7467   xorg_cv_cc_flag_unknown_warning_option=yes
   7468 else
   7469   xorg_cv_cc_flag_unknown_warning_option=no
   7470 fi
   7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7472 fi
   7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7474 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7476 	CFLAGS="$xorg_testset_save_CFLAGS"
   7477 fi
   7478 
   7479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7482 	fi
   7483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7485 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7486 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 int i;
   7492 _ACEOF
   7493 if ac_fn_c_try_compile "$LINENO"; then :
   7494   xorg_cv_cc_flag_unused_command_line_argument=yes
   7495 else
   7496   xorg_cv_cc_flag_unused_command_line_argument=no
   7497 fi
   7498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7499 fi
   7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7501 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7503 	CFLAGS="$xorg_testset_save_CFLAGS"
   7504 fi
   7505 
   7506 found="no"
   7507 
   7508 	if test $found = "no" ; then
   7509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7511 		fi
   7512 
   7513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7515 		fi
   7516 
   7517 		CFLAGS="$CFLAGS -Werror=main"
   7518 
   7519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7520 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7521 		cacheid=xorg_cv_cc_flag__Werror_main
   7522 		if eval \${$cacheid+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 int
   7529 main ()
   7530 {
   7531 
   7532   ;
   7533   return 0;
   7534 }
   7535 _ACEOF
   7536 if ac_fn_c_try_link "$LINENO"; then :
   7537   eval $cacheid=yes
   7538 else
   7539   eval $cacheid=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext \
   7542     conftest$ac_exeext conftest.$ac_ext
   7543 fi
   7544 
   7545 
   7546 		CFLAGS="$xorg_testset_save_CFLAGS"
   7547 
   7548 		eval supported=\$$cacheid
   7549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7550 $as_echo "$supported" >&6; }
   7551 		if test "$supported" = "yes" ; then
   7552 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7553 			found="yes"
   7554 		fi
   7555 	fi
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 xorg_testset_save_CFLAGS="$CFLAGS"
   7572 
   7573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7576 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7577 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7578   $as_echo_n "(cached) " >&6
   7579 else
   7580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7581 /* end confdefs.h.  */
   7582 int i;
   7583 _ACEOF
   7584 if ac_fn_c_try_compile "$LINENO"; then :
   7585   xorg_cv_cc_flag_unknown_warning_option=yes
   7586 else
   7587   xorg_cv_cc_flag_unknown_warning_option=no
   7588 fi
   7589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7590 fi
   7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7592 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7594 	CFLAGS="$xorg_testset_save_CFLAGS"
   7595 fi
   7596 
   7597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7600 	fi
   7601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7603 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7604 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7608 /* end confdefs.h.  */
   7609 int i;
   7610 _ACEOF
   7611 if ac_fn_c_try_compile "$LINENO"; then :
   7612   xorg_cv_cc_flag_unused_command_line_argument=yes
   7613 else
   7614   xorg_cv_cc_flag_unused_command_line_argument=no
   7615 fi
   7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7617 fi
   7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7619 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7620 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7621 	CFLAGS="$xorg_testset_save_CFLAGS"
   7622 fi
   7623 
   7624 found="no"
   7625 
   7626 	if test $found = "no" ; then
   7627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7629 		fi
   7630 
   7631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7633 		fi
   7634 
   7635 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7636 
   7637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7638 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7639 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7640 		if eval \${$cacheid+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 int
   7647 main ()
   7648 {
   7649 
   7650   ;
   7651   return 0;
   7652 }
   7653 _ACEOF
   7654 if ac_fn_c_try_link "$LINENO"; then :
   7655   eval $cacheid=yes
   7656 else
   7657   eval $cacheid=no
   7658 fi
   7659 rm -f core conftest.err conftest.$ac_objext \
   7660     conftest$ac_exeext conftest.$ac_ext
   7661 fi
   7662 
   7663 
   7664 		CFLAGS="$xorg_testset_save_CFLAGS"
   7665 
   7666 		eval supported=\$$cacheid
   7667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7668 $as_echo "$supported" >&6; }
   7669 		if test "$supported" = "yes" ; then
   7670 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7671 			found="yes"
   7672 		fi
   7673 	fi
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 xorg_testset_save_CFLAGS="$CFLAGS"
   7690 
   7691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7694 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7695 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7699 /* end confdefs.h.  */
   7700 int i;
   7701 _ACEOF
   7702 if ac_fn_c_try_compile "$LINENO"; then :
   7703   xorg_cv_cc_flag_unknown_warning_option=yes
   7704 else
   7705   xorg_cv_cc_flag_unknown_warning_option=no
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7708 fi
   7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7710 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7712 	CFLAGS="$xorg_testset_save_CFLAGS"
   7713 fi
   7714 
   7715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7718 	fi
   7719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7721 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7722 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7723   $as_echo_n "(cached) " >&6
   7724 else
   7725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7726 /* end confdefs.h.  */
   7727 int i;
   7728 _ACEOF
   7729 if ac_fn_c_try_compile "$LINENO"; then :
   7730   xorg_cv_cc_flag_unused_command_line_argument=yes
   7731 else
   7732   xorg_cv_cc_flag_unused_command_line_argument=no
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7735 fi
   7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7737 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7738 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7739 	CFLAGS="$xorg_testset_save_CFLAGS"
   7740 fi
   7741 
   7742 found="no"
   7743 
   7744 	if test $found = "no" ; then
   7745 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7747 		fi
   7748 
   7749 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7751 		fi
   7752 
   7753 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7754 
   7755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7756 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7757 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7758 		if eval \${$cacheid+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 int i;
   7764 int
   7765 main ()
   7766 {
   7767 
   7768   ;
   7769   return 0;
   7770 }
   7771 _ACEOF
   7772 if ac_fn_c_try_link "$LINENO"; then :
   7773   eval $cacheid=yes
   7774 else
   7775   eval $cacheid=no
   7776 fi
   7777 rm -f core conftest.err conftest.$ac_objext \
   7778     conftest$ac_exeext conftest.$ac_ext
   7779 fi
   7780 
   7781 
   7782 		CFLAGS="$xorg_testset_save_CFLAGS"
   7783 
   7784 		eval supported=\$$cacheid
   7785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7786 $as_echo "$supported" >&6; }
   7787 		if test "$supported" = "yes" ; then
   7788 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7789 			found="yes"
   7790 		fi
   7791 	fi
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 xorg_testset_save_CFLAGS="$CFLAGS"
   7808 
   7809 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7813 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7814   $as_echo_n "(cached) " >&6
   7815 else
   7816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7817 /* end confdefs.h.  */
   7818 int i;
   7819 _ACEOF
   7820 if ac_fn_c_try_compile "$LINENO"; then :
   7821   xorg_cv_cc_flag_unknown_warning_option=yes
   7822 else
   7823   xorg_cv_cc_flag_unknown_warning_option=no
   7824 fi
   7825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7826 fi
   7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7828 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7830 	CFLAGS="$xorg_testset_save_CFLAGS"
   7831 fi
   7832 
   7833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7836 	fi
   7837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7840 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7841   $as_echo_n "(cached) " >&6
   7842 else
   7843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7844 /* end confdefs.h.  */
   7845 int i;
   7846 _ACEOF
   7847 if ac_fn_c_try_compile "$LINENO"; then :
   7848   xorg_cv_cc_flag_unused_command_line_argument=yes
   7849 else
   7850   xorg_cv_cc_flag_unused_command_line_argument=no
   7851 fi
   7852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7853 fi
   7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7855 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7857 	CFLAGS="$xorg_testset_save_CFLAGS"
   7858 fi
   7859 
   7860 found="no"
   7861 
   7862 	if test $found = "no" ; then
   7863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7865 		fi
   7866 
   7867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7869 		fi
   7870 
   7871 		CFLAGS="$CFLAGS -Werror=return-type"
   7872 
   7873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7874 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7875 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7876 		if eval \${$cacheid+:} false; then :
   7877   $as_echo_n "(cached) " >&6
   7878 else
   7879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7880 /* end confdefs.h.  */
   7881 int i;
   7882 int
   7883 main ()
   7884 {
   7885 
   7886   ;
   7887   return 0;
   7888 }
   7889 _ACEOF
   7890 if ac_fn_c_try_link "$LINENO"; then :
   7891   eval $cacheid=yes
   7892 else
   7893   eval $cacheid=no
   7894 fi
   7895 rm -f core conftest.err conftest.$ac_objext \
   7896     conftest$ac_exeext conftest.$ac_ext
   7897 fi
   7898 
   7899 
   7900 		CFLAGS="$xorg_testset_save_CFLAGS"
   7901 
   7902 		eval supported=\$$cacheid
   7903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7904 $as_echo "$supported" >&6; }
   7905 		if test "$supported" = "yes" ; then
   7906 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7907 			found="yes"
   7908 		fi
   7909 	fi
   7910 
   7911 	if test $found = "no" ; then
   7912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7914 		fi
   7915 
   7916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7918 		fi
   7919 
   7920 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7921 
   7922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7923 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7924 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7925 		if eval \${$cacheid+:} false; then :
   7926   $as_echo_n "(cached) " >&6
   7927 else
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 int
   7932 main ()
   7933 {
   7934 
   7935   ;
   7936   return 0;
   7937 }
   7938 _ACEOF
   7939 if ac_fn_c_try_link "$LINENO"; then :
   7940   eval $cacheid=yes
   7941 else
   7942   eval $cacheid=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext \
   7945     conftest$ac_exeext conftest.$ac_ext
   7946 fi
   7947 
   7948 
   7949 		CFLAGS="$xorg_testset_save_CFLAGS"
   7950 
   7951 		eval supported=\$$cacheid
   7952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7953 $as_echo "$supported" >&6; }
   7954 		if test "$supported" = "yes" ; then
   7955 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7956 			found="yes"
   7957 		fi
   7958 	fi
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 xorg_testset_save_CFLAGS="$CFLAGS"
   7975 
   7976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7979 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7980 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7981   $as_echo_n "(cached) " >&6
   7982 else
   7983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 int i;
   7986 _ACEOF
   7987 if ac_fn_c_try_compile "$LINENO"; then :
   7988   xorg_cv_cc_flag_unknown_warning_option=yes
   7989 else
   7990   xorg_cv_cc_flag_unknown_warning_option=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7993 fi
   7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7995 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7997 	CFLAGS="$xorg_testset_save_CFLAGS"
   7998 fi
   7999 
   8000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8003 	fi
   8004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8006 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8007 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8008   $as_echo_n "(cached) " >&6
   8009 else
   8010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8011 /* end confdefs.h.  */
   8012 int i;
   8013 _ACEOF
   8014 if ac_fn_c_try_compile "$LINENO"; then :
   8015   xorg_cv_cc_flag_unused_command_line_argument=yes
   8016 else
   8017   xorg_cv_cc_flag_unused_command_line_argument=no
   8018 fi
   8019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8020 fi
   8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8022 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8024 	CFLAGS="$xorg_testset_save_CFLAGS"
   8025 fi
   8026 
   8027 found="no"
   8028 
   8029 	if test $found = "no" ; then
   8030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 		fi
   8033 
   8034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 		fi
   8037 
   8038 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8039 
   8040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8041 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8042 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8043 		if eval \${$cacheid+:} false; then :
   8044   $as_echo_n "(cached) " >&6
   8045 else
   8046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 int
   8050 main ()
   8051 {
   8052 
   8053   ;
   8054   return 0;
   8055 }
   8056 _ACEOF
   8057 if ac_fn_c_try_link "$LINENO"; then :
   8058   eval $cacheid=yes
   8059 else
   8060   eval $cacheid=no
   8061 fi
   8062 rm -f core conftest.err conftest.$ac_objext \
   8063     conftest$ac_exeext conftest.$ac_ext
   8064 fi
   8065 
   8066 
   8067 		CFLAGS="$xorg_testset_save_CFLAGS"
   8068 
   8069 		eval supported=\$$cacheid
   8070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8071 $as_echo "$supported" >&6; }
   8072 		if test "$supported" = "yes" ; then
   8073 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8074 			found="yes"
   8075 		fi
   8076 	fi
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 xorg_testset_save_CFLAGS="$CFLAGS"
   8093 
   8094 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8097 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8098 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8099   $as_echo_n "(cached) " >&6
   8100 else
   8101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8102 /* end confdefs.h.  */
   8103 int i;
   8104 _ACEOF
   8105 if ac_fn_c_try_compile "$LINENO"; then :
   8106   xorg_cv_cc_flag_unknown_warning_option=yes
   8107 else
   8108   xorg_cv_cc_flag_unknown_warning_option=no
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8111 fi
   8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8113 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8115 	CFLAGS="$xorg_testset_save_CFLAGS"
   8116 fi
   8117 
   8118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8121 	fi
   8122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8124 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8125 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8126   $as_echo_n "(cached) " >&6
   8127 else
   8128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8129 /* end confdefs.h.  */
   8130 int i;
   8131 _ACEOF
   8132 if ac_fn_c_try_compile "$LINENO"; then :
   8133   xorg_cv_cc_flag_unused_command_line_argument=yes
   8134 else
   8135   xorg_cv_cc_flag_unused_command_line_argument=no
   8136 fi
   8137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8138 fi
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8140 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8142 	CFLAGS="$xorg_testset_save_CFLAGS"
   8143 fi
   8144 
   8145 found="no"
   8146 
   8147 	if test $found = "no" ; then
   8148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8150 		fi
   8151 
   8152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8154 		fi
   8155 
   8156 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8157 
   8158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8159 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8160 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8161 		if eval \${$cacheid+:} false; then :
   8162   $as_echo_n "(cached) " >&6
   8163 else
   8164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8165 /* end confdefs.h.  */
   8166 int i;
   8167 int
   8168 main ()
   8169 {
   8170 
   8171   ;
   8172   return 0;
   8173 }
   8174 _ACEOF
   8175 if ac_fn_c_try_link "$LINENO"; then :
   8176   eval $cacheid=yes
   8177 else
   8178   eval $cacheid=no
   8179 fi
   8180 rm -f core conftest.err conftest.$ac_objext \
   8181     conftest$ac_exeext conftest.$ac_ext
   8182 fi
   8183 
   8184 
   8185 		CFLAGS="$xorg_testset_save_CFLAGS"
   8186 
   8187 		eval supported=\$$cacheid
   8188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8189 $as_echo "$supported" >&6; }
   8190 		if test "$supported" = "yes" ; then
   8191 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8192 			found="yes"
   8193 		fi
   8194 	fi
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 xorg_testset_save_CFLAGS="$CFLAGS"
   8211 
   8212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8215 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8216 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8217   $as_echo_n "(cached) " >&6
   8218 else
   8219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8220 /* end confdefs.h.  */
   8221 int i;
   8222 _ACEOF
   8223 if ac_fn_c_try_compile "$LINENO"; then :
   8224   xorg_cv_cc_flag_unknown_warning_option=yes
   8225 else
   8226   xorg_cv_cc_flag_unknown_warning_option=no
   8227 fi
   8228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8229 fi
   8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8231 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8233 	CFLAGS="$xorg_testset_save_CFLAGS"
   8234 fi
   8235 
   8236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8239 	fi
   8240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8242 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8243 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8244   $as_echo_n "(cached) " >&6
   8245 else
   8246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8247 /* end confdefs.h.  */
   8248 int i;
   8249 _ACEOF
   8250 if ac_fn_c_try_compile "$LINENO"; then :
   8251   xorg_cv_cc_flag_unused_command_line_argument=yes
   8252 else
   8253   xorg_cv_cc_flag_unused_command_line_argument=no
   8254 fi
   8255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8256 fi
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8258 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8260 	CFLAGS="$xorg_testset_save_CFLAGS"
   8261 fi
   8262 
   8263 found="no"
   8264 
   8265 	if test $found = "no" ; then
   8266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8268 		fi
   8269 
   8270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8272 		fi
   8273 
   8274 		CFLAGS="$CFLAGS -Werror=write-strings"
   8275 
   8276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8277 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8278 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8279 		if eval \${$cacheid+:} false; then :
   8280   $as_echo_n "(cached) " >&6
   8281 else
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 int
   8286 main ()
   8287 {
   8288 
   8289   ;
   8290   return 0;
   8291 }
   8292 _ACEOF
   8293 if ac_fn_c_try_link "$LINENO"; then :
   8294   eval $cacheid=yes
   8295 else
   8296   eval $cacheid=no
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext \
   8299     conftest$ac_exeext conftest.$ac_ext
   8300 fi
   8301 
   8302 
   8303 		CFLAGS="$xorg_testset_save_CFLAGS"
   8304 
   8305 		eval supported=\$$cacheid
   8306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8307 $as_echo "$supported" >&6; }
   8308 		if test "$supported" = "yes" ; then
   8309 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8310 			found="yes"
   8311 		fi
   8312 	fi
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 xorg_testset_save_CFLAGS="$CFLAGS"
   8329 
   8330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8335   $as_echo_n "(cached) " >&6
   8336 else
   8337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8338 /* end confdefs.h.  */
   8339 int i;
   8340 _ACEOF
   8341 if ac_fn_c_try_compile "$LINENO"; then :
   8342   xorg_cv_cc_flag_unknown_warning_option=yes
   8343 else
   8344   xorg_cv_cc_flag_unknown_warning_option=no
   8345 fi
   8346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8347 fi
   8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8351 	CFLAGS="$xorg_testset_save_CFLAGS"
   8352 fi
   8353 
   8354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8357 	fi
   8358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8362   $as_echo_n "(cached) " >&6
   8363 else
   8364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8365 /* end confdefs.h.  */
   8366 int i;
   8367 _ACEOF
   8368 if ac_fn_c_try_compile "$LINENO"; then :
   8369   xorg_cv_cc_flag_unused_command_line_argument=yes
   8370 else
   8371   xorg_cv_cc_flag_unused_command_line_argument=no
   8372 fi
   8373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8374 fi
   8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8378 	CFLAGS="$xorg_testset_save_CFLAGS"
   8379 fi
   8380 
   8381 found="no"
   8382 
   8383 	if test $found = "no" ; then
   8384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8386 		fi
   8387 
   8388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8390 		fi
   8391 
   8392 		CFLAGS="$CFLAGS -Werror=address"
   8393 
   8394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8395 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8396 		cacheid=xorg_cv_cc_flag__Werror_address
   8397 		if eval \${$cacheid+:} false; then :
   8398   $as_echo_n "(cached) " >&6
   8399 else
   8400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8401 /* end confdefs.h.  */
   8402 int i;
   8403 int
   8404 main ()
   8405 {
   8406 
   8407   ;
   8408   return 0;
   8409 }
   8410 _ACEOF
   8411 if ac_fn_c_try_link "$LINENO"; then :
   8412   eval $cacheid=yes
   8413 else
   8414   eval $cacheid=no
   8415 fi
   8416 rm -f core conftest.err conftest.$ac_objext \
   8417     conftest$ac_exeext conftest.$ac_ext
   8418 fi
   8419 
   8420 
   8421 		CFLAGS="$xorg_testset_save_CFLAGS"
   8422 
   8423 		eval supported=\$$cacheid
   8424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8425 $as_echo "$supported" >&6; }
   8426 		if test "$supported" = "yes" ; then
   8427 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8428 			found="yes"
   8429 		fi
   8430 	fi
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 xorg_testset_save_CFLAGS="$CFLAGS"
   8447 
   8448 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8451 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8452 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8453   $as_echo_n "(cached) " >&6
   8454 else
   8455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8456 /* end confdefs.h.  */
   8457 int i;
   8458 _ACEOF
   8459 if ac_fn_c_try_compile "$LINENO"; then :
   8460   xorg_cv_cc_flag_unknown_warning_option=yes
   8461 else
   8462   xorg_cv_cc_flag_unknown_warning_option=no
   8463 fi
   8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8465 fi
   8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8467 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8469 	CFLAGS="$xorg_testset_save_CFLAGS"
   8470 fi
   8471 
   8472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8475 	fi
   8476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8478 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8479 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8480   $as_echo_n "(cached) " >&6
   8481 else
   8482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8483 /* end confdefs.h.  */
   8484 int i;
   8485 _ACEOF
   8486 if ac_fn_c_try_compile "$LINENO"; then :
   8487   xorg_cv_cc_flag_unused_command_line_argument=yes
   8488 else
   8489   xorg_cv_cc_flag_unused_command_line_argument=no
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8492 fi
   8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8494 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8496 	CFLAGS="$xorg_testset_save_CFLAGS"
   8497 fi
   8498 
   8499 found="no"
   8500 
   8501 	if test $found = "no" ; then
   8502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 		fi
   8505 
   8506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8508 		fi
   8509 
   8510 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8511 
   8512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8513 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8514 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8515 		if eval \${$cacheid+:} false; then :
   8516   $as_echo_n "(cached) " >&6
   8517 else
   8518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8519 /* end confdefs.h.  */
   8520 int i;
   8521 int
   8522 main ()
   8523 {
   8524 
   8525   ;
   8526   return 0;
   8527 }
   8528 _ACEOF
   8529 if ac_fn_c_try_link "$LINENO"; then :
   8530   eval $cacheid=yes
   8531 else
   8532   eval $cacheid=no
   8533 fi
   8534 rm -f core conftest.err conftest.$ac_objext \
   8535     conftest$ac_exeext conftest.$ac_ext
   8536 fi
   8537 
   8538 
   8539 		CFLAGS="$xorg_testset_save_CFLAGS"
   8540 
   8541 		eval supported=\$$cacheid
   8542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8543 $as_echo "$supported" >&6; }
   8544 		if test "$supported" = "yes" ; then
   8545 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8546 			found="yes"
   8547 		fi
   8548 	fi
   8549 
   8550 	if test $found = "no" ; then
   8551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8553 		fi
   8554 
   8555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8557 		fi
   8558 
   8559 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8560 
   8561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8562 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8563 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8564 		if eval \${$cacheid+:} false; then :
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 int
   8571 main ()
   8572 {
   8573 
   8574   ;
   8575   return 0;
   8576 }
   8577 _ACEOF
   8578 if ac_fn_c_try_link "$LINENO"; then :
   8579   eval $cacheid=yes
   8580 else
   8581   eval $cacheid=no
   8582 fi
   8583 rm -f core conftest.err conftest.$ac_objext \
   8584     conftest$ac_exeext conftest.$ac_ext
   8585 fi
   8586 
   8587 
   8588 		CFLAGS="$xorg_testset_save_CFLAGS"
   8589 
   8590 		eval supported=\$$cacheid
   8591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8592 $as_echo "$supported" >&6; }
   8593 		if test "$supported" = "yes" ; then
   8594 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8595 			found="yes"
   8596 		fi
   8597 	fi
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 xorg_testset_save_CFLAGS="$CFLAGS"
   8614 
   8615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8620   $as_echo_n "(cached) " >&6
   8621 else
   8622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 _ACEOF
   8626 if ac_fn_c_try_compile "$LINENO"; then :
   8627   xorg_cv_cc_flag_unknown_warning_option=yes
   8628 else
   8629   xorg_cv_cc_flag_unknown_warning_option=no
   8630 fi
   8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8632 fi
   8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8636 	CFLAGS="$xorg_testset_save_CFLAGS"
   8637 fi
   8638 
   8639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8642 	fi
   8643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8647   $as_echo_n "(cached) " >&6
   8648 else
   8649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8650 /* end confdefs.h.  */
   8651 int i;
   8652 _ACEOF
   8653 if ac_fn_c_try_compile "$LINENO"; then :
   8654   xorg_cv_cc_flag_unused_command_line_argument=yes
   8655 else
   8656   xorg_cv_cc_flag_unused_command_line_argument=no
   8657 fi
   8658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8659 fi
   8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8663 	CFLAGS="$xorg_testset_save_CFLAGS"
   8664 fi
   8665 
   8666 found="no"
   8667 
   8668 	if test $found = "no" ; then
   8669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8671 		fi
   8672 
   8673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8675 		fi
   8676 
   8677 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8678 
   8679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8680 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8681 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8682 		if eval \${$cacheid+:} false; then :
   8683   $as_echo_n "(cached) " >&6
   8684 else
   8685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8686 /* end confdefs.h.  */
   8687 int i;
   8688 int
   8689 main ()
   8690 {
   8691 
   8692   ;
   8693   return 0;
   8694 }
   8695 _ACEOF
   8696 if ac_fn_c_try_link "$LINENO"; then :
   8697   eval $cacheid=yes
   8698 else
   8699   eval $cacheid=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext \
   8702     conftest$ac_exeext conftest.$ac_ext
   8703 fi
   8704 
   8705 
   8706 		CFLAGS="$xorg_testset_save_CFLAGS"
   8707 
   8708 		eval supported=\$$cacheid
   8709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8710 $as_echo "$supported" >&6; }
   8711 		if test "$supported" = "yes" ; then
   8712 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8713 			found="yes"
   8714 		fi
   8715 	fi
   8716 
   8717  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8718 else
   8719 { $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
   8720 $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;}
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 xorg_testset_save_CFLAGS="$CFLAGS"
   8735 
   8736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8739 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8740 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8741   $as_echo_n "(cached) " >&6
   8742 else
   8743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 int i;
   8746 _ACEOF
   8747 if ac_fn_c_try_compile "$LINENO"; then :
   8748   xorg_cv_cc_flag_unknown_warning_option=yes
   8749 else
   8750   xorg_cv_cc_flag_unknown_warning_option=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8753 fi
   8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8755 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8757 	CFLAGS="$xorg_testset_save_CFLAGS"
   8758 fi
   8759 
   8760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 	fi
   8764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8766 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8767 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8768   $as_echo_n "(cached) " >&6
   8769 else
   8770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8771 /* end confdefs.h.  */
   8772 int i;
   8773 _ACEOF
   8774 if ac_fn_c_try_compile "$LINENO"; then :
   8775   xorg_cv_cc_flag_unused_command_line_argument=yes
   8776 else
   8777   xorg_cv_cc_flag_unused_command_line_argument=no
   8778 fi
   8779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8780 fi
   8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8782 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8784 	CFLAGS="$xorg_testset_save_CFLAGS"
   8785 fi
   8786 
   8787 found="no"
   8788 
   8789 	if test $found = "no" ; then
   8790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8792 		fi
   8793 
   8794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8796 		fi
   8797 
   8798 		CFLAGS="$CFLAGS -Wimplicit"
   8799 
   8800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8801 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8802 		cacheid=xorg_cv_cc_flag__Wimplicit
   8803 		if eval \${$cacheid+:} false; then :
   8804   $as_echo_n "(cached) " >&6
   8805 else
   8806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8807 /* end confdefs.h.  */
   8808 int i;
   8809 int
   8810 main ()
   8811 {
   8812 
   8813   ;
   8814   return 0;
   8815 }
   8816 _ACEOF
   8817 if ac_fn_c_try_link "$LINENO"; then :
   8818   eval $cacheid=yes
   8819 else
   8820   eval $cacheid=no
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext \
   8823     conftest$ac_exeext conftest.$ac_ext
   8824 fi
   8825 
   8826 
   8827 		CFLAGS="$xorg_testset_save_CFLAGS"
   8828 
   8829 		eval supported=\$$cacheid
   8830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8831 $as_echo "$supported" >&6; }
   8832 		if test "$supported" = "yes" ; then
   8833 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8834 			found="yes"
   8835 		fi
   8836 	fi
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 xorg_testset_save_CFLAGS="$CFLAGS"
   8853 
   8854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8859   $as_echo_n "(cached) " >&6
   8860 else
   8861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8862 /* end confdefs.h.  */
   8863 int i;
   8864 _ACEOF
   8865 if ac_fn_c_try_compile "$LINENO"; then :
   8866   xorg_cv_cc_flag_unknown_warning_option=yes
   8867 else
   8868   xorg_cv_cc_flag_unknown_warning_option=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8871 fi
   8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8875 	CFLAGS="$xorg_testset_save_CFLAGS"
   8876 fi
   8877 
   8878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8881 	fi
   8882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8886   $as_echo_n "(cached) " >&6
   8887 else
   8888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8889 /* end confdefs.h.  */
   8890 int i;
   8891 _ACEOF
   8892 if ac_fn_c_try_compile "$LINENO"; then :
   8893   xorg_cv_cc_flag_unused_command_line_argument=yes
   8894 else
   8895   xorg_cv_cc_flag_unused_command_line_argument=no
   8896 fi
   8897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8898 fi
   8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8902 	CFLAGS="$xorg_testset_save_CFLAGS"
   8903 fi
   8904 
   8905 found="no"
   8906 
   8907 	if test $found = "no" ; then
   8908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8910 		fi
   8911 
   8912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8914 		fi
   8915 
   8916 		CFLAGS="$CFLAGS -Wnonnull"
   8917 
   8918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8919 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8920 		cacheid=xorg_cv_cc_flag__Wnonnull
   8921 		if eval \${$cacheid+:} false; then :
   8922   $as_echo_n "(cached) " >&6
   8923 else
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 int
   8928 main ()
   8929 {
   8930 
   8931   ;
   8932   return 0;
   8933 }
   8934 _ACEOF
   8935 if ac_fn_c_try_link "$LINENO"; then :
   8936   eval $cacheid=yes
   8937 else
   8938   eval $cacheid=no
   8939 fi
   8940 rm -f core conftest.err conftest.$ac_objext \
   8941     conftest$ac_exeext conftest.$ac_ext
   8942 fi
   8943 
   8944 
   8945 		CFLAGS="$xorg_testset_save_CFLAGS"
   8946 
   8947 		eval supported=\$$cacheid
   8948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8949 $as_echo "$supported" >&6; }
   8950 		if test "$supported" = "yes" ; then
   8951 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8952 			found="yes"
   8953 		fi
   8954 	fi
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 xorg_testset_save_CFLAGS="$CFLAGS"
   8971 
   8972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8975 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8976 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8977   $as_echo_n "(cached) " >&6
   8978 else
   8979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8980 /* end confdefs.h.  */
   8981 int i;
   8982 _ACEOF
   8983 if ac_fn_c_try_compile "$LINENO"; then :
   8984   xorg_cv_cc_flag_unknown_warning_option=yes
   8985 else
   8986   xorg_cv_cc_flag_unknown_warning_option=no
   8987 fi
   8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8989 fi
   8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8991 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8993 	CFLAGS="$xorg_testset_save_CFLAGS"
   8994 fi
   8995 
   8996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8999 	fi
   9000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9002 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9003 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9004   $as_echo_n "(cached) " >&6
   9005 else
   9006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9007 /* end confdefs.h.  */
   9008 int i;
   9009 _ACEOF
   9010 if ac_fn_c_try_compile "$LINENO"; then :
   9011   xorg_cv_cc_flag_unused_command_line_argument=yes
   9012 else
   9013   xorg_cv_cc_flag_unused_command_line_argument=no
   9014 fi
   9015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9016 fi
   9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9018 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9020 	CFLAGS="$xorg_testset_save_CFLAGS"
   9021 fi
   9022 
   9023 found="no"
   9024 
   9025 	if test $found = "no" ; then
   9026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 		fi
   9029 
   9030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9032 		fi
   9033 
   9034 		CFLAGS="$CFLAGS -Winit-self"
   9035 
   9036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9037 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9038 		cacheid=xorg_cv_cc_flag__Winit_self
   9039 		if eval \${$cacheid+:} false; then :
   9040   $as_echo_n "(cached) " >&6
   9041 else
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 int
   9046 main ()
   9047 {
   9048 
   9049   ;
   9050   return 0;
   9051 }
   9052 _ACEOF
   9053 if ac_fn_c_try_link "$LINENO"; then :
   9054   eval $cacheid=yes
   9055 else
   9056   eval $cacheid=no
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext \
   9059     conftest$ac_exeext conftest.$ac_ext
   9060 fi
   9061 
   9062 
   9063 		CFLAGS="$xorg_testset_save_CFLAGS"
   9064 
   9065 		eval supported=\$$cacheid
   9066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9067 $as_echo "$supported" >&6; }
   9068 		if test "$supported" = "yes" ; then
   9069 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9070 			found="yes"
   9071 		fi
   9072 	fi
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 xorg_testset_save_CFLAGS="$CFLAGS"
   9089 
   9090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9095   $as_echo_n "(cached) " >&6
   9096 else
   9097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9098 /* end confdefs.h.  */
   9099 int i;
   9100 _ACEOF
   9101 if ac_fn_c_try_compile "$LINENO"; then :
   9102   xorg_cv_cc_flag_unknown_warning_option=yes
   9103 else
   9104   xorg_cv_cc_flag_unknown_warning_option=no
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9107 fi
   9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9111 	CFLAGS="$xorg_testset_save_CFLAGS"
   9112 fi
   9113 
   9114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	fi
   9118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9122   $as_echo_n "(cached) " >&6
   9123 else
   9124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9125 /* end confdefs.h.  */
   9126 int i;
   9127 _ACEOF
   9128 if ac_fn_c_try_compile "$LINENO"; then :
   9129   xorg_cv_cc_flag_unused_command_line_argument=yes
   9130 else
   9131   xorg_cv_cc_flag_unused_command_line_argument=no
   9132 fi
   9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9134 fi
   9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9138 	CFLAGS="$xorg_testset_save_CFLAGS"
   9139 fi
   9140 
   9141 found="no"
   9142 
   9143 	if test $found = "no" ; then
   9144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9146 		fi
   9147 
   9148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9150 		fi
   9151 
   9152 		CFLAGS="$CFLAGS -Wmain"
   9153 
   9154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9155 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9156 		cacheid=xorg_cv_cc_flag__Wmain
   9157 		if eval \${$cacheid+:} false; then :
   9158   $as_echo_n "(cached) " >&6
   9159 else
   9160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 int
   9164 main ()
   9165 {
   9166 
   9167   ;
   9168   return 0;
   9169 }
   9170 _ACEOF
   9171 if ac_fn_c_try_link "$LINENO"; then :
   9172   eval $cacheid=yes
   9173 else
   9174   eval $cacheid=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext \
   9177     conftest$ac_exeext conftest.$ac_ext
   9178 fi
   9179 
   9180 
   9181 		CFLAGS="$xorg_testset_save_CFLAGS"
   9182 
   9183 		eval supported=\$$cacheid
   9184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9185 $as_echo "$supported" >&6; }
   9186 		if test "$supported" = "yes" ; then
   9187 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9188 			found="yes"
   9189 		fi
   9190 	fi
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 xorg_testset_save_CFLAGS="$CFLAGS"
   9207 
   9208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9213   $as_echo_n "(cached) " >&6
   9214 else
   9215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9216 /* end confdefs.h.  */
   9217 int i;
   9218 _ACEOF
   9219 if ac_fn_c_try_compile "$LINENO"; then :
   9220   xorg_cv_cc_flag_unknown_warning_option=yes
   9221 else
   9222   xorg_cv_cc_flag_unknown_warning_option=no
   9223 fi
   9224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9225 fi
   9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9229 	CFLAGS="$xorg_testset_save_CFLAGS"
   9230 fi
   9231 
   9232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 	fi
   9236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9240   $as_echo_n "(cached) " >&6
   9241 else
   9242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9243 /* end confdefs.h.  */
   9244 int i;
   9245 _ACEOF
   9246 if ac_fn_c_try_compile "$LINENO"; then :
   9247   xorg_cv_cc_flag_unused_command_line_argument=yes
   9248 else
   9249   xorg_cv_cc_flag_unused_command_line_argument=no
   9250 fi
   9251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9252 fi
   9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9256 	CFLAGS="$xorg_testset_save_CFLAGS"
   9257 fi
   9258 
   9259 found="no"
   9260 
   9261 	if test $found = "no" ; then
   9262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9264 		fi
   9265 
   9266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9268 		fi
   9269 
   9270 		CFLAGS="$CFLAGS -Wmissing-braces"
   9271 
   9272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9273 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9274 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9275 		if eval \${$cacheid+:} false; then :
   9276   $as_echo_n "(cached) " >&6
   9277 else
   9278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9279 /* end confdefs.h.  */
   9280 int i;
   9281 int
   9282 main ()
   9283 {
   9284 
   9285   ;
   9286   return 0;
   9287 }
   9288 _ACEOF
   9289 if ac_fn_c_try_link "$LINENO"; then :
   9290   eval $cacheid=yes
   9291 else
   9292   eval $cacheid=no
   9293 fi
   9294 rm -f core conftest.err conftest.$ac_objext \
   9295     conftest$ac_exeext conftest.$ac_ext
   9296 fi
   9297 
   9298 
   9299 		CFLAGS="$xorg_testset_save_CFLAGS"
   9300 
   9301 		eval supported=\$$cacheid
   9302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9303 $as_echo "$supported" >&6; }
   9304 		if test "$supported" = "yes" ; then
   9305 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9306 			found="yes"
   9307 		fi
   9308 	fi
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 xorg_testset_save_CFLAGS="$CFLAGS"
   9325 
   9326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9331   $as_echo_n "(cached) " >&6
   9332 else
   9333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9334 /* end confdefs.h.  */
   9335 int i;
   9336 _ACEOF
   9337 if ac_fn_c_try_compile "$LINENO"; then :
   9338   xorg_cv_cc_flag_unknown_warning_option=yes
   9339 else
   9340   xorg_cv_cc_flag_unknown_warning_option=no
   9341 fi
   9342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9343 fi
   9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9347 	CFLAGS="$xorg_testset_save_CFLAGS"
   9348 fi
   9349 
   9350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 	fi
   9354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9358   $as_echo_n "(cached) " >&6
   9359 else
   9360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9361 /* end confdefs.h.  */
   9362 int i;
   9363 _ACEOF
   9364 if ac_fn_c_try_compile "$LINENO"; then :
   9365   xorg_cv_cc_flag_unused_command_line_argument=yes
   9366 else
   9367   xorg_cv_cc_flag_unused_command_line_argument=no
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9370 fi
   9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9374 	CFLAGS="$xorg_testset_save_CFLAGS"
   9375 fi
   9376 
   9377 found="no"
   9378 
   9379 	if test $found = "no" ; then
   9380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 		fi
   9383 
   9384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9386 		fi
   9387 
   9388 		CFLAGS="$CFLAGS -Wsequence-point"
   9389 
   9390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9391 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9392 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9393 		if eval \${$cacheid+:} false; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 int
   9400 main ()
   9401 {
   9402 
   9403   ;
   9404   return 0;
   9405 }
   9406 _ACEOF
   9407 if ac_fn_c_try_link "$LINENO"; then :
   9408   eval $cacheid=yes
   9409 else
   9410   eval $cacheid=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext \
   9413     conftest$ac_exeext conftest.$ac_ext
   9414 fi
   9415 
   9416 
   9417 		CFLAGS="$xorg_testset_save_CFLAGS"
   9418 
   9419 		eval supported=\$$cacheid
   9420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9421 $as_echo "$supported" >&6; }
   9422 		if test "$supported" = "yes" ; then
   9423 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9424 			found="yes"
   9425 		fi
   9426 	fi
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 xorg_testset_save_CFLAGS="$CFLAGS"
   9443 
   9444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9449   $as_echo_n "(cached) " >&6
   9450 else
   9451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 _ACEOF
   9455 if ac_fn_c_try_compile "$LINENO"; then :
   9456   xorg_cv_cc_flag_unknown_warning_option=yes
   9457 else
   9458   xorg_cv_cc_flag_unknown_warning_option=no
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9461 fi
   9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9465 	CFLAGS="$xorg_testset_save_CFLAGS"
   9466 fi
   9467 
   9468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 	fi
   9472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9476   $as_echo_n "(cached) " >&6
   9477 else
   9478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9479 /* end confdefs.h.  */
   9480 int i;
   9481 _ACEOF
   9482 if ac_fn_c_try_compile "$LINENO"; then :
   9483   xorg_cv_cc_flag_unused_command_line_argument=yes
   9484 else
   9485   xorg_cv_cc_flag_unused_command_line_argument=no
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9488 fi
   9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9492 	CFLAGS="$xorg_testset_save_CFLAGS"
   9493 fi
   9494 
   9495 found="no"
   9496 
   9497 	if test $found = "no" ; then
   9498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9500 		fi
   9501 
   9502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9504 		fi
   9505 
   9506 		CFLAGS="$CFLAGS -Wreturn-type"
   9507 
   9508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9509 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9510 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9511 		if eval \${$cacheid+:} false; then :
   9512   $as_echo_n "(cached) " >&6
   9513 else
   9514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9515 /* end confdefs.h.  */
   9516 int i;
   9517 int
   9518 main ()
   9519 {
   9520 
   9521   ;
   9522   return 0;
   9523 }
   9524 _ACEOF
   9525 if ac_fn_c_try_link "$LINENO"; then :
   9526   eval $cacheid=yes
   9527 else
   9528   eval $cacheid=no
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext \
   9531     conftest$ac_exeext conftest.$ac_ext
   9532 fi
   9533 
   9534 
   9535 		CFLAGS="$xorg_testset_save_CFLAGS"
   9536 
   9537 		eval supported=\$$cacheid
   9538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9539 $as_echo "$supported" >&6; }
   9540 		if test "$supported" = "yes" ; then
   9541 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9542 			found="yes"
   9543 		fi
   9544 	fi
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 xorg_testset_save_CFLAGS="$CFLAGS"
   9561 
   9562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9567   $as_echo_n "(cached) " >&6
   9568 else
   9569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9570 /* end confdefs.h.  */
   9571 int i;
   9572 _ACEOF
   9573 if ac_fn_c_try_compile "$LINENO"; then :
   9574   xorg_cv_cc_flag_unknown_warning_option=yes
   9575 else
   9576   xorg_cv_cc_flag_unknown_warning_option=no
   9577 fi
   9578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9579 fi
   9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9583 	CFLAGS="$xorg_testset_save_CFLAGS"
   9584 fi
   9585 
   9586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 	fi
   9590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9594   $as_echo_n "(cached) " >&6
   9595 else
   9596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9597 /* end confdefs.h.  */
   9598 int i;
   9599 _ACEOF
   9600 if ac_fn_c_try_compile "$LINENO"; then :
   9601   xorg_cv_cc_flag_unused_command_line_argument=yes
   9602 else
   9603   xorg_cv_cc_flag_unused_command_line_argument=no
   9604 fi
   9605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9606 fi
   9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9610 	CFLAGS="$xorg_testset_save_CFLAGS"
   9611 fi
   9612 
   9613 found="no"
   9614 
   9615 	if test $found = "no" ; then
   9616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9618 		fi
   9619 
   9620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9622 		fi
   9623 
   9624 		CFLAGS="$CFLAGS -Wtrigraphs"
   9625 
   9626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9627 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9628 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9629 		if eval \${$cacheid+:} false; then :
   9630   $as_echo_n "(cached) " >&6
   9631 else
   9632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9633 /* end confdefs.h.  */
   9634 int i;
   9635 int
   9636 main ()
   9637 {
   9638 
   9639   ;
   9640   return 0;
   9641 }
   9642 _ACEOF
   9643 if ac_fn_c_try_link "$LINENO"; then :
   9644   eval $cacheid=yes
   9645 else
   9646   eval $cacheid=no
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext \
   9649     conftest$ac_exeext conftest.$ac_ext
   9650 fi
   9651 
   9652 
   9653 		CFLAGS="$xorg_testset_save_CFLAGS"
   9654 
   9655 		eval supported=\$$cacheid
   9656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9657 $as_echo "$supported" >&6; }
   9658 		if test "$supported" = "yes" ; then
   9659 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9660 			found="yes"
   9661 		fi
   9662 	fi
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 xorg_testset_save_CFLAGS="$CFLAGS"
   9679 
   9680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9685   $as_echo_n "(cached) " >&6
   9686 else
   9687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9688 /* end confdefs.h.  */
   9689 int i;
   9690 _ACEOF
   9691 if ac_fn_c_try_compile "$LINENO"; then :
   9692   xorg_cv_cc_flag_unknown_warning_option=yes
   9693 else
   9694   xorg_cv_cc_flag_unknown_warning_option=no
   9695 fi
   9696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9697 fi
   9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9701 	CFLAGS="$xorg_testset_save_CFLAGS"
   9702 fi
   9703 
   9704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 	fi
   9708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9712   $as_echo_n "(cached) " >&6
   9713 else
   9714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9715 /* end confdefs.h.  */
   9716 int i;
   9717 _ACEOF
   9718 if ac_fn_c_try_compile "$LINENO"; then :
   9719   xorg_cv_cc_flag_unused_command_line_argument=yes
   9720 else
   9721   xorg_cv_cc_flag_unused_command_line_argument=no
   9722 fi
   9723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9724 fi
   9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9728 	CFLAGS="$xorg_testset_save_CFLAGS"
   9729 fi
   9730 
   9731 found="no"
   9732 
   9733 	if test $found = "no" ; then
   9734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 		fi
   9737 
   9738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9740 		fi
   9741 
   9742 		CFLAGS="$CFLAGS -Warray-bounds"
   9743 
   9744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9745 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9746 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9747 		if eval \${$cacheid+:} false; then :
   9748   $as_echo_n "(cached) " >&6
   9749 else
   9750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int i;
   9753 int
   9754 main ()
   9755 {
   9756 
   9757   ;
   9758   return 0;
   9759 }
   9760 _ACEOF
   9761 if ac_fn_c_try_link "$LINENO"; then :
   9762   eval $cacheid=yes
   9763 else
   9764   eval $cacheid=no
   9765 fi
   9766 rm -f core conftest.err conftest.$ac_objext \
   9767     conftest$ac_exeext conftest.$ac_ext
   9768 fi
   9769 
   9770 
   9771 		CFLAGS="$xorg_testset_save_CFLAGS"
   9772 
   9773 		eval supported=\$$cacheid
   9774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9775 $as_echo "$supported" >&6; }
   9776 		if test "$supported" = "yes" ; then
   9777 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9778 			found="yes"
   9779 		fi
   9780 	fi
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 xorg_testset_save_CFLAGS="$CFLAGS"
   9797 
   9798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9803   $as_echo_n "(cached) " >&6
   9804 else
   9805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9806 /* end confdefs.h.  */
   9807 int i;
   9808 _ACEOF
   9809 if ac_fn_c_try_compile "$LINENO"; then :
   9810   xorg_cv_cc_flag_unknown_warning_option=yes
   9811 else
   9812   xorg_cv_cc_flag_unknown_warning_option=no
   9813 fi
   9814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9815 fi
   9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9819 	CFLAGS="$xorg_testset_save_CFLAGS"
   9820 fi
   9821 
   9822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 	fi
   9826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9830   $as_echo_n "(cached) " >&6
   9831 else
   9832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 _ACEOF
   9836 if ac_fn_c_try_compile "$LINENO"; then :
   9837   xorg_cv_cc_flag_unused_command_line_argument=yes
   9838 else
   9839   xorg_cv_cc_flag_unused_command_line_argument=no
   9840 fi
   9841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9842 fi
   9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9846 	CFLAGS="$xorg_testset_save_CFLAGS"
   9847 fi
   9848 
   9849 found="no"
   9850 
   9851 	if test $found = "no" ; then
   9852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9854 		fi
   9855 
   9856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9858 		fi
   9859 
   9860 		CFLAGS="$CFLAGS -Wwrite-strings"
   9861 
   9862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9863 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9864 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9865 		if eval \${$cacheid+:} false; then :
   9866   $as_echo_n "(cached) " >&6
   9867 else
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 int
   9872 main ()
   9873 {
   9874 
   9875   ;
   9876   return 0;
   9877 }
   9878 _ACEOF
   9879 if ac_fn_c_try_link "$LINENO"; then :
   9880   eval $cacheid=yes
   9881 else
   9882   eval $cacheid=no
   9883 fi
   9884 rm -f core conftest.err conftest.$ac_objext \
   9885     conftest$ac_exeext conftest.$ac_ext
   9886 fi
   9887 
   9888 
   9889 		CFLAGS="$xorg_testset_save_CFLAGS"
   9890 
   9891 		eval supported=\$$cacheid
   9892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9893 $as_echo "$supported" >&6; }
   9894 		if test "$supported" = "yes" ; then
   9895 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9896 			found="yes"
   9897 		fi
   9898 	fi
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 xorg_testset_save_CFLAGS="$CFLAGS"
   9915 
   9916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9921   $as_echo_n "(cached) " >&6
   9922 else
   9923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9924 /* end confdefs.h.  */
   9925 int i;
   9926 _ACEOF
   9927 if ac_fn_c_try_compile "$LINENO"; then :
   9928   xorg_cv_cc_flag_unknown_warning_option=yes
   9929 else
   9930   xorg_cv_cc_flag_unknown_warning_option=no
   9931 fi
   9932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9933 fi
   9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9937 	CFLAGS="$xorg_testset_save_CFLAGS"
   9938 fi
   9939 
   9940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9943 	fi
   9944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9948   $as_echo_n "(cached) " >&6
   9949 else
   9950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 _ACEOF
   9954 if ac_fn_c_try_compile "$LINENO"; then :
   9955   xorg_cv_cc_flag_unused_command_line_argument=yes
   9956 else
   9957   xorg_cv_cc_flag_unused_command_line_argument=no
   9958 fi
   9959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9960 fi
   9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9964 	CFLAGS="$xorg_testset_save_CFLAGS"
   9965 fi
   9966 
   9967 found="no"
   9968 
   9969 	if test $found = "no" ; then
   9970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9972 		fi
   9973 
   9974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9976 		fi
   9977 
   9978 		CFLAGS="$CFLAGS -Waddress"
   9979 
   9980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9981 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9982 		cacheid=xorg_cv_cc_flag__Waddress
   9983 		if eval \${$cacheid+:} false; then :
   9984   $as_echo_n "(cached) " >&6
   9985 else
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 int
   9990 main ()
   9991 {
   9992 
   9993   ;
   9994   return 0;
   9995 }
   9996 _ACEOF
   9997 if ac_fn_c_try_link "$LINENO"; then :
   9998   eval $cacheid=yes
   9999 else
   10000   eval $cacheid=no
   10001 fi
   10002 rm -f core conftest.err conftest.$ac_objext \
   10003     conftest$ac_exeext conftest.$ac_ext
   10004 fi
   10005 
   10006 
   10007 		CFLAGS="$xorg_testset_save_CFLAGS"
   10008 
   10009 		eval supported=\$$cacheid
   10010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10011 $as_echo "$supported" >&6; }
   10012 		if test "$supported" = "yes" ; then
   10013 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10014 			found="yes"
   10015 		fi
   10016 	fi
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 xorg_testset_save_CFLAGS="$CFLAGS"
   10033 
   10034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10039   $as_echo_n "(cached) " >&6
   10040 else
   10041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10042 /* end confdefs.h.  */
   10043 int i;
   10044 _ACEOF
   10045 if ac_fn_c_try_compile "$LINENO"; then :
   10046   xorg_cv_cc_flag_unknown_warning_option=yes
   10047 else
   10048   xorg_cv_cc_flag_unknown_warning_option=no
   10049 fi
   10050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10051 fi
   10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10055 	CFLAGS="$xorg_testset_save_CFLAGS"
   10056 fi
   10057 
   10058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10061 	fi
   10062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10066   $as_echo_n "(cached) " >&6
   10067 else
   10068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10069 /* end confdefs.h.  */
   10070 int i;
   10071 _ACEOF
   10072 if ac_fn_c_try_compile "$LINENO"; then :
   10073   xorg_cv_cc_flag_unused_command_line_argument=yes
   10074 else
   10075   xorg_cv_cc_flag_unused_command_line_argument=no
   10076 fi
   10077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10078 fi
   10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10082 	CFLAGS="$xorg_testset_save_CFLAGS"
   10083 fi
   10084 
   10085 found="no"
   10086 
   10087 	if test $found = "no" ; then
   10088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10090 		fi
   10091 
   10092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10094 		fi
   10095 
   10096 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10097 
   10098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10099 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10100 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10101 		if eval \${$cacheid+:} false; then :
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10105 /* end confdefs.h.  */
   10106 int i;
   10107 int
   10108 main ()
   10109 {
   10110 
   10111   ;
   10112   return 0;
   10113 }
   10114 _ACEOF
   10115 if ac_fn_c_try_link "$LINENO"; then :
   10116   eval $cacheid=yes
   10117 else
   10118   eval $cacheid=no
   10119 fi
   10120 rm -f core conftest.err conftest.$ac_objext \
   10121     conftest$ac_exeext conftest.$ac_ext
   10122 fi
   10123 
   10124 
   10125 		CFLAGS="$xorg_testset_save_CFLAGS"
   10126 
   10127 		eval supported=\$$cacheid
   10128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10129 $as_echo "$supported" >&6; }
   10130 		if test "$supported" = "yes" ; then
   10131 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10132 			found="yes"
   10133 		fi
   10134 	fi
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 xorg_testset_save_CFLAGS="$CFLAGS"
   10151 
   10152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10157   $as_echo_n "(cached) " >&6
   10158 else
   10159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 _ACEOF
   10163 if ac_fn_c_try_compile "$LINENO"; then :
   10164   xorg_cv_cc_flag_unknown_warning_option=yes
   10165 else
   10166   xorg_cv_cc_flag_unknown_warning_option=no
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10169 fi
   10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10173 	CFLAGS="$xorg_testset_save_CFLAGS"
   10174 fi
   10175 
   10176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10179 	fi
   10180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10184   $as_echo_n "(cached) " >&6
   10185 else
   10186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10187 /* end confdefs.h.  */
   10188 int i;
   10189 _ACEOF
   10190 if ac_fn_c_try_compile "$LINENO"; then :
   10191   xorg_cv_cc_flag_unused_command_line_argument=yes
   10192 else
   10193   xorg_cv_cc_flag_unused_command_line_argument=no
   10194 fi
   10195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10196 fi
   10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10200 	CFLAGS="$xorg_testset_save_CFLAGS"
   10201 fi
   10202 
   10203 found="no"
   10204 
   10205 	if test $found = "no" ; then
   10206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10208 		fi
   10209 
   10210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10212 		fi
   10213 
   10214 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10215 
   10216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10217 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10218 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10219 		if eval \${$cacheid+:} false; then :
   10220   $as_echo_n "(cached) " >&6
   10221 else
   10222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 int i;
   10225 int
   10226 main ()
   10227 {
   10228 
   10229   ;
   10230   return 0;
   10231 }
   10232 _ACEOF
   10233 if ac_fn_c_try_link "$LINENO"; then :
   10234   eval $cacheid=yes
   10235 else
   10236   eval $cacheid=no
   10237 fi
   10238 rm -f core conftest.err conftest.$ac_objext \
   10239     conftest$ac_exeext conftest.$ac_ext
   10240 fi
   10241 
   10242 
   10243 		CFLAGS="$xorg_testset_save_CFLAGS"
   10244 
   10245 		eval supported=\$$cacheid
   10246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10247 $as_echo "$supported" >&6; }
   10248 		if test "$supported" = "yes" ; then
   10249 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10250 			found="yes"
   10251 		fi
   10252 	fi
   10253 
   10254 
   10255 fi
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 		CWARNFLAGS="$BASE_CFLAGS"
   10264 		if  test "x$GCC" = xyes ; then
   10265 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10266 		fi
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 # Check whether --enable-strict-compilation was given.
   10276 if test "${enable_strict_compilation+set}" = set; then :
   10277   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10278 else
   10279   STRICT_COMPILE=no
   10280 fi
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 STRICT_CFLAGS=""
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 xorg_testset_save_CFLAGS="$CFLAGS"
   10302 
   10303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10308   $as_echo_n "(cached) " >&6
   10309 else
   10310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10311 /* end confdefs.h.  */
   10312 int i;
   10313 _ACEOF
   10314 if ac_fn_c_try_compile "$LINENO"; then :
   10315   xorg_cv_cc_flag_unknown_warning_option=yes
   10316 else
   10317   xorg_cv_cc_flag_unknown_warning_option=no
   10318 fi
   10319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10320 fi
   10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10324 	CFLAGS="$xorg_testset_save_CFLAGS"
   10325 fi
   10326 
   10327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10330 	fi
   10331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10335   $as_echo_n "(cached) " >&6
   10336 else
   10337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10338 /* end confdefs.h.  */
   10339 int i;
   10340 _ACEOF
   10341 if ac_fn_c_try_compile "$LINENO"; then :
   10342   xorg_cv_cc_flag_unused_command_line_argument=yes
   10343 else
   10344   xorg_cv_cc_flag_unused_command_line_argument=no
   10345 fi
   10346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10347 fi
   10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10351 	CFLAGS="$xorg_testset_save_CFLAGS"
   10352 fi
   10353 
   10354 found="no"
   10355 
   10356 	if test $found = "no" ; then
   10357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10359 		fi
   10360 
   10361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10363 		fi
   10364 
   10365 		CFLAGS="$CFLAGS -pedantic"
   10366 
   10367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10368 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10369 		cacheid=xorg_cv_cc_flag__pedantic
   10370 		if eval \${$cacheid+:} false; then :
   10371   $as_echo_n "(cached) " >&6
   10372 else
   10373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10374 /* end confdefs.h.  */
   10375 int i;
   10376 int
   10377 main ()
   10378 {
   10379 
   10380   ;
   10381   return 0;
   10382 }
   10383 _ACEOF
   10384 if ac_fn_c_try_link "$LINENO"; then :
   10385   eval $cacheid=yes
   10386 else
   10387   eval $cacheid=no
   10388 fi
   10389 rm -f core conftest.err conftest.$ac_objext \
   10390     conftest$ac_exeext conftest.$ac_ext
   10391 fi
   10392 
   10393 
   10394 		CFLAGS="$xorg_testset_save_CFLAGS"
   10395 
   10396 		eval supported=\$$cacheid
   10397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10398 $as_echo "$supported" >&6; }
   10399 		if test "$supported" = "yes" ; then
   10400 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10401 			found="yes"
   10402 		fi
   10403 	fi
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 xorg_testset_save_CFLAGS="$CFLAGS"
   10420 
   10421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10429 /* end confdefs.h.  */
   10430 int i;
   10431 _ACEOF
   10432 if ac_fn_c_try_compile "$LINENO"; then :
   10433   xorg_cv_cc_flag_unknown_warning_option=yes
   10434 else
   10435   xorg_cv_cc_flag_unknown_warning_option=no
   10436 fi
   10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10438 fi
   10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10442 	CFLAGS="$xorg_testset_save_CFLAGS"
   10443 fi
   10444 
   10445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10448 	fi
   10449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10453   $as_echo_n "(cached) " >&6
   10454 else
   10455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10456 /* end confdefs.h.  */
   10457 int i;
   10458 _ACEOF
   10459 if ac_fn_c_try_compile "$LINENO"; then :
   10460   xorg_cv_cc_flag_unused_command_line_argument=yes
   10461 else
   10462   xorg_cv_cc_flag_unused_command_line_argument=no
   10463 fi
   10464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10465 fi
   10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10469 	CFLAGS="$xorg_testset_save_CFLAGS"
   10470 fi
   10471 
   10472 found="no"
   10473 
   10474 	if test $found = "no" ; then
   10475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10477 		fi
   10478 
   10479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10481 		fi
   10482 
   10483 		CFLAGS="$CFLAGS -Werror"
   10484 
   10485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10486 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10487 		cacheid=xorg_cv_cc_flag__Werror
   10488 		if eval \${$cacheid+:} false; then :
   10489   $as_echo_n "(cached) " >&6
   10490 else
   10491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10492 /* end confdefs.h.  */
   10493 int i;
   10494 int
   10495 main ()
   10496 {
   10497 
   10498   ;
   10499   return 0;
   10500 }
   10501 _ACEOF
   10502 if ac_fn_c_try_link "$LINENO"; then :
   10503   eval $cacheid=yes
   10504 else
   10505   eval $cacheid=no
   10506 fi
   10507 rm -f core conftest.err conftest.$ac_objext \
   10508     conftest$ac_exeext conftest.$ac_ext
   10509 fi
   10510 
   10511 
   10512 		CFLAGS="$xorg_testset_save_CFLAGS"
   10513 
   10514 		eval supported=\$$cacheid
   10515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10516 $as_echo "$supported" >&6; }
   10517 		if test "$supported" = "yes" ; then
   10518 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10519 			found="yes"
   10520 		fi
   10521 	fi
   10522 
   10523 	if test $found = "no" ; then
   10524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10526 		fi
   10527 
   10528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10530 		fi
   10531 
   10532 		CFLAGS="$CFLAGS -errwarn"
   10533 
   10534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10535 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10536 		cacheid=xorg_cv_cc_flag__errwarn
   10537 		if eval \${$cacheid+:} false; then :
   10538   $as_echo_n "(cached) " >&6
   10539 else
   10540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10541 /* end confdefs.h.  */
   10542 int i;
   10543 int
   10544 main ()
   10545 {
   10546 
   10547   ;
   10548   return 0;
   10549 }
   10550 _ACEOF
   10551 if ac_fn_c_try_link "$LINENO"; then :
   10552   eval $cacheid=yes
   10553 else
   10554   eval $cacheid=no
   10555 fi
   10556 rm -f core conftest.err conftest.$ac_objext \
   10557     conftest$ac_exeext conftest.$ac_ext
   10558 fi
   10559 
   10560 
   10561 		CFLAGS="$xorg_testset_save_CFLAGS"
   10562 
   10563 		eval supported=\$$cacheid
   10564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10565 $as_echo "$supported" >&6; }
   10566 		if test "$supported" = "yes" ; then
   10567 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10568 			found="yes"
   10569 		fi
   10570 	fi
   10571 
   10572 
   10573 
   10574 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10575 # activate it with -Werror, so we add it here explicitly.
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 xorg_testset_save_CFLAGS="$CFLAGS"
   10590 
   10591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10596   $as_echo_n "(cached) " >&6
   10597 else
   10598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 int i;
   10601 _ACEOF
   10602 if ac_fn_c_try_compile "$LINENO"; then :
   10603   xorg_cv_cc_flag_unknown_warning_option=yes
   10604 else
   10605   xorg_cv_cc_flag_unknown_warning_option=no
   10606 fi
   10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10608 fi
   10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10612 	CFLAGS="$xorg_testset_save_CFLAGS"
   10613 fi
   10614 
   10615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10618 	fi
   10619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10623   $as_echo_n "(cached) " >&6
   10624 else
   10625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10626 /* end confdefs.h.  */
   10627 int i;
   10628 _ACEOF
   10629 if ac_fn_c_try_compile "$LINENO"; then :
   10630   xorg_cv_cc_flag_unused_command_line_argument=yes
   10631 else
   10632   xorg_cv_cc_flag_unused_command_line_argument=no
   10633 fi
   10634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10635 fi
   10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10639 	CFLAGS="$xorg_testset_save_CFLAGS"
   10640 fi
   10641 
   10642 found="no"
   10643 
   10644 	if test $found = "no" ; then
   10645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10647 		fi
   10648 
   10649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10651 		fi
   10652 
   10653 		CFLAGS="$CFLAGS -Werror=attributes"
   10654 
   10655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10656 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10657 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10658 		if eval \${$cacheid+:} false; then :
   10659   $as_echo_n "(cached) " >&6
   10660 else
   10661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10662 /* end confdefs.h.  */
   10663 int i;
   10664 int
   10665 main ()
   10666 {
   10667 
   10668   ;
   10669   return 0;
   10670 }
   10671 _ACEOF
   10672 if ac_fn_c_try_link "$LINENO"; then :
   10673   eval $cacheid=yes
   10674 else
   10675   eval $cacheid=no
   10676 fi
   10677 rm -f core conftest.err conftest.$ac_objext \
   10678     conftest$ac_exeext conftest.$ac_ext
   10679 fi
   10680 
   10681 
   10682 		CFLAGS="$xorg_testset_save_CFLAGS"
   10683 
   10684 		eval supported=\$$cacheid
   10685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10686 $as_echo "$supported" >&6; }
   10687 		if test "$supported" = "yes" ; then
   10688 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10689 			found="yes"
   10690 		fi
   10691 	fi
   10692 
   10693 
   10694 
   10695 if test "x$STRICT_COMPILE" = "xyes"; then
   10696     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10697     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10698 fi
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 cat >>confdefs.h <<_ACEOF
   10706 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10707 _ACEOF
   10708 
   10709 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10710 	if test "x$PVM" = "x"; then
   10711 		PVM="0"
   10712 	fi
   10713 
   10714 cat >>confdefs.h <<_ACEOF
   10715 #define PACKAGE_VERSION_MINOR $PVM
   10716 _ACEOF
   10717 
   10718 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10719 	if test "x$PVP" = "x"; then
   10720 		PVP="0"
   10721 	fi
   10722 
   10723 cat >>confdefs.h <<_ACEOF
   10724 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10725 _ACEOF
   10726 
   10727 
   10728 
   10729 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10730 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10731 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10732 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10733 
   10734 
   10735 
   10736 
   10737 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10738 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10739 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10740 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10741 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 if test x$APP_MAN_SUFFIX = x    ; then
   10749     APP_MAN_SUFFIX=1
   10750 fi
   10751 if test x$APP_MAN_DIR = x    ; then
   10752     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10753 fi
   10754 
   10755 if test x$LIB_MAN_SUFFIX = x    ; then
   10756     LIB_MAN_SUFFIX=3
   10757 fi
   10758 if test x$LIB_MAN_DIR = x    ; then
   10759     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10760 fi
   10761 
   10762 if test x$FILE_MAN_SUFFIX = x    ; then
   10763     case $host_os in
   10764 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10765 	*)		FILE_MAN_SUFFIX=5  ;;
   10766     esac
   10767 fi
   10768 if test x$FILE_MAN_DIR = x    ; then
   10769     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10770 fi
   10771 
   10772 if test x$MISC_MAN_SUFFIX = x    ; then
   10773     case $host_os in
   10774 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10775 	*)		MISC_MAN_SUFFIX=7  ;;
   10776     esac
   10777 fi
   10778 if test x$MISC_MAN_DIR = x    ; then
   10779     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10780 fi
   10781 
   10782 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10783     case $host_os in
   10784 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10785 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10786     esac
   10787 fi
   10788 if test x$DRIVER_MAN_DIR = x    ; then
   10789     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10790 fi
   10791 
   10792 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10793     case $host_os in
   10794 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10795 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10796     esac
   10797 fi
   10798 if test x$ADMIN_MAN_DIR = x    ; then
   10799     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10800 fi
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 XORG_MAN_PAGE="X Version 11"
   10817 
   10818 MAN_SUBSTS="\
   10819 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10820 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10821 	-e 's|__xservername__|Xorg|g' \
   10822 	-e 's|__xconfigfile__|xorg.conf|g' \
   10823 	-e 's|__projectroot__|\$(prefix)|g' \
   10824 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10825 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10826 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10827 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10828 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10829 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10830 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10831 
   10832 
   10833 
   10834 # Check whether --enable-silent-rules was given.
   10835 if test "${enable_silent_rules+set}" = set; then :
   10836   enableval=$enable_silent_rules;
   10837 fi
   10838 
   10839 case $enable_silent_rules in # (((
   10840   yes) AM_DEFAULT_VERBOSITY=0;;
   10841    no) AM_DEFAULT_VERBOSITY=1;;
   10842     *) AM_DEFAULT_VERBOSITY=0;;
   10843 esac
   10844 am_make=${MAKE-make}
   10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10846 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10847 if ${am_cv_make_support_nested_variables+:} false; then :
   10848   $as_echo_n "(cached) " >&6
   10849 else
   10850   if $as_echo 'TRUE=$(BAR$(V))
   10851 BAR0=false
   10852 BAR1=true
   10853 V=1
   10854 am__doit:
   10855 	@$(TRUE)
   10856 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10857   am_cv_make_support_nested_variables=yes
   10858 else
   10859   am_cv_make_support_nested_variables=no
   10860 fi
   10861 fi
   10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10863 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10864 if test $am_cv_make_support_nested_variables = yes; then
   10865     AM_V='$(V)'
   10866   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10867 else
   10868   AM_V=$AM_DEFAULT_VERBOSITY
   10869   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10870 fi
   10871 AM_BACKSLASH='\'
   10872 
   10873 
   10874 
   10875 # Initialize libtool
   10876 # Check whether --enable-static was given.
   10877 if test "${enable_static+set}" = set; then :
   10878   enableval=$enable_static; p=${PACKAGE-default}
   10879     case $enableval in
   10880     yes) enable_static=yes ;;
   10881     no) enable_static=no ;;
   10882     *)
   10883      enable_static=no
   10884       # Look at the argument we got.  We use all the common list separators.
   10885       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10886       for pkg in $enableval; do
   10887 	IFS=$lt_save_ifs
   10888 	if test "X$pkg" = "X$p"; then
   10889 	  enable_static=yes
   10890 	fi
   10891       done
   10892       IFS=$lt_save_ifs
   10893       ;;
   10894     esac
   10895 else
   10896   enable_static=no
   10897 fi
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 case `pwd` in
   10908   *\ * | *\	*)
   10909     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10910 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10911 esac
   10912 
   10913 
   10914 
   10915 macro_version='2.4.6'
   10916 macro_revision='2.4.6'
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 ltmain=$ac_aux_dir/ltmain.sh
   10931 
   10932 # Backslashify metacharacters that are still active within
   10933 # double-quoted strings.
   10934 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10935 
   10936 # Same as above, but do not quote variable references.
   10937 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10938 
   10939 # Sed substitution to delay expansion of an escaped shell variable in a
   10940 # double_quote_subst'ed string.
   10941 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10942 
   10943 # Sed substitution to delay expansion of an escaped single quote.
   10944 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10945 
   10946 # Sed substitution to avoid accidental globbing in evaled expressions
   10947 no_glob_subst='s/\*/\\\*/g'
   10948 
   10949 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10950 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10951 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10952 
   10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10954 $as_echo_n "checking how to print strings... " >&6; }
   10955 # Test print first, because it will be a builtin if present.
   10956 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10957    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10958   ECHO='print -r --'
   10959 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10960   ECHO='printf %s\n'
   10961 else
   10962   # Use this function as a fallback that always works.
   10963   func_fallback_echo ()
   10964   {
   10965     eval 'cat <<_LTECHO_EOF
   10966 $1
   10967 _LTECHO_EOF'
   10968   }
   10969   ECHO='func_fallback_echo'
   10970 fi
   10971 
   10972 # func_echo_all arg...
   10973 # Invoke $ECHO with all args, space-separated.
   10974 func_echo_all ()
   10975 {
   10976     $ECHO ""
   10977 }
   10978 
   10979 case $ECHO in
   10980   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10981 $as_echo "printf" >&6; } ;;
   10982   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10983 $as_echo "print -r" >&6; } ;;
   10984   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10985 $as_echo "cat" >&6; } ;;
   10986 esac
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11002 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   11003 if ${ac_cv_path_SED+:} false; then :
   11004   $as_echo_n "(cached) " >&6
   11005 else
   11006             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11007      for ac_i in 1 2 3 4 5 6 7; do
   11008        ac_script="$ac_script$as_nl$ac_script"
   11009      done
   11010      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11011      { ac_script=; unset ac_script;}
   11012      if test -z "$SED"; then
   11013   ac_path_SED_found=false
   11014   # Loop through the user's path and test for each of PROGNAME-LIST
   11015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11016 for as_dir in $PATH
   11017 do
   11018   IFS=$as_save_IFS
   11019   test -z "$as_dir" && as_dir=.
   11020     for ac_prog in sed gsed; do
   11021     for ac_exec_ext in '' $ac_executable_extensions; do
   11022       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11023       as_fn_executable_p "$ac_path_SED" || continue
   11024 # Check for GNU ac_path_SED and select it if it is found.
   11025   # Check for GNU $ac_path_SED
   11026 case `"$ac_path_SED" --version 2>&1` in
   11027 *GNU*)
   11028   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11029 *)
   11030   ac_count=0
   11031   $as_echo_n 0123456789 >"conftest.in"
   11032   while :
   11033   do
   11034     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11035     mv "conftest.tmp" "conftest.in"
   11036     cp "conftest.in" "conftest.nl"
   11037     $as_echo '' >> "conftest.nl"
   11038     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11040     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11041     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11042       # Best one so far, save it but keep looking for a better one
   11043       ac_cv_path_SED="$ac_path_SED"
   11044       ac_path_SED_max=$ac_count
   11045     fi
   11046     # 10*(2^10) chars as input seems more than enough
   11047     test $ac_count -gt 10 && break
   11048   done
   11049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11050 esac
   11051 
   11052       $ac_path_SED_found && break 3
   11053     done
   11054   done
   11055   done
   11056 IFS=$as_save_IFS
   11057   if test -z "$ac_cv_path_SED"; then
   11058     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11059   fi
   11060 else
   11061   ac_cv_path_SED=$SED
   11062 fi
   11063 
   11064 fi
   11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11066 $as_echo "$ac_cv_path_SED" >&6; }
   11067  SED="$ac_cv_path_SED"
   11068   rm -f conftest.sed
   11069 
   11070 test -z "$SED" && SED=sed
   11071 Xsed="$SED -e 1s/^X//"
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11084 $as_echo_n "checking for fgrep... " >&6; }
   11085 if ${ac_cv_path_FGREP+:} false; then :
   11086   $as_echo_n "(cached) " >&6
   11087 else
   11088   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11089    then ac_cv_path_FGREP="$GREP -F"
   11090    else
   11091      if test -z "$FGREP"; then
   11092   ac_path_FGREP_found=false
   11093   # Loop through the user's path and test for each of PROGNAME-LIST
   11094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11095 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11096 do
   11097   IFS=$as_save_IFS
   11098   test -z "$as_dir" && as_dir=.
   11099     for ac_prog in fgrep; do
   11100     for ac_exec_ext in '' $ac_executable_extensions; do
   11101       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11102       as_fn_executable_p "$ac_path_FGREP" || continue
   11103 # Check for GNU ac_path_FGREP and select it if it is found.
   11104   # Check for GNU $ac_path_FGREP
   11105 case `"$ac_path_FGREP" --version 2>&1` in
   11106 *GNU*)
   11107   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11108 *)
   11109   ac_count=0
   11110   $as_echo_n 0123456789 >"conftest.in"
   11111   while :
   11112   do
   11113     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11114     mv "conftest.tmp" "conftest.in"
   11115     cp "conftest.in" "conftest.nl"
   11116     $as_echo 'FGREP' >> "conftest.nl"
   11117     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11119     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11120     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11121       # Best one so far, save it but keep looking for a better one
   11122       ac_cv_path_FGREP="$ac_path_FGREP"
   11123       ac_path_FGREP_max=$ac_count
   11124     fi
   11125     # 10*(2^10) chars as input seems more than enough
   11126     test $ac_count -gt 10 && break
   11127   done
   11128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11129 esac
   11130 
   11131       $ac_path_FGREP_found && break 3
   11132     done
   11133   done
   11134   done
   11135 IFS=$as_save_IFS
   11136   if test -z "$ac_cv_path_FGREP"; then
   11137     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11138   fi
   11139 else
   11140   ac_cv_path_FGREP=$FGREP
   11141 fi
   11142 
   11143    fi
   11144 fi
   11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11146 $as_echo "$ac_cv_path_FGREP" >&6; }
   11147  FGREP="$ac_cv_path_FGREP"
   11148 
   11149 
   11150 test -z "$GREP" && GREP=grep
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 # Check whether --with-gnu-ld was given.
   11171 if test "${with_gnu_ld+set}" = set; then :
   11172   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11173 else
   11174   with_gnu_ld=no
   11175 fi
   11176 
   11177 ac_prog=ld
   11178 if test yes = "$GCC"; then
   11179   # Check if gcc -print-prog-name=ld gives a path.
   11180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11181 $as_echo_n "checking for ld used by $CC... " >&6; }
   11182   case $host in
   11183   *-*-mingw*)
   11184     # gcc leaves a trailing carriage return, which upsets mingw
   11185     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11186   *)
   11187     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11188   esac
   11189   case $ac_prog in
   11190     # Accept absolute paths.
   11191     [\\/]* | ?:[\\/]*)
   11192       re_direlt='/[^/][^/]*/\.\./'
   11193       # Canonicalize the pathname of ld
   11194       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11195       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11196 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11197       done
   11198       test -z "$LD" && LD=$ac_prog
   11199       ;;
   11200   "")
   11201     # If it fails, then pretend we aren't using GCC.
   11202     ac_prog=ld
   11203     ;;
   11204   *)
   11205     # If it is relative, then search for the first ld in PATH.
   11206     with_gnu_ld=unknown
   11207     ;;
   11208   esac
   11209 elif test yes = "$with_gnu_ld"; then
   11210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11211 $as_echo_n "checking for GNU ld... " >&6; }
   11212 else
   11213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11214 $as_echo_n "checking for non-GNU ld... " >&6; }
   11215 fi
   11216 if ${lt_cv_path_LD+:} false; then :
   11217   $as_echo_n "(cached) " >&6
   11218 else
   11219   if test -z "$LD"; then
   11220   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11221   for ac_dir in $PATH; do
   11222     IFS=$lt_save_ifs
   11223     test -z "$ac_dir" && ac_dir=.
   11224     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11225       lt_cv_path_LD=$ac_dir/$ac_prog
   11226       # Check to see if the program is GNU ld.  I'd rather use --version,
   11227       # but apparently some variants of GNU ld only accept -v.
   11228       # Break only if it was the GNU/non-GNU ld that we prefer.
   11229       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11230       *GNU* | *'with BFD'*)
   11231 	test no != "$with_gnu_ld" && break
   11232 	;;
   11233       *)
   11234 	test yes != "$with_gnu_ld" && break
   11235 	;;
   11236       esac
   11237     fi
   11238   done
   11239   IFS=$lt_save_ifs
   11240 else
   11241   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11242 fi
   11243 fi
   11244 
   11245 LD=$lt_cv_path_LD
   11246 if test -n "$LD"; then
   11247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11248 $as_echo "$LD" >&6; }
   11249 else
   11250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11251 $as_echo "no" >&6; }
   11252 fi
   11253 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11255 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11256 if ${lt_cv_prog_gnu_ld+:} false; then :
   11257   $as_echo_n "(cached) " >&6
   11258 else
   11259   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11260 case `$LD -v 2>&1 </dev/null` in
   11261 *GNU* | *'with BFD'*)
   11262   lt_cv_prog_gnu_ld=yes
   11263   ;;
   11264 *)
   11265   lt_cv_prog_gnu_ld=no
   11266   ;;
   11267 esac
   11268 fi
   11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11270 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11271 with_gnu_ld=$lt_cv_prog_gnu_ld
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11282 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11283 if ${lt_cv_path_NM+:} false; then :
   11284   $as_echo_n "(cached) " >&6
   11285 else
   11286   if test -n "$NM"; then
   11287   # Let the user override the test.
   11288   lt_cv_path_NM=$NM
   11289 else
   11290   lt_nm_to_check=${ac_tool_prefix}nm
   11291   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11292     lt_nm_to_check="$lt_nm_to_check nm"
   11293   fi
   11294   for lt_tmp_nm in $lt_nm_to_check; do
   11295     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11296     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11297       IFS=$lt_save_ifs
   11298       test -z "$ac_dir" && ac_dir=.
   11299       tmp_nm=$ac_dir/$lt_tmp_nm
   11300       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11301 	# Check to see if the nm accepts a BSD-compat flag.
   11302 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11303 	#   nm: unknown option "B" ignored
   11304 	# Tru64's nm complains that /dev/null is an invalid object file
   11305 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11306 	case $build_os in
   11307 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11308 	*) lt_bad_file=/dev/null ;;
   11309 	esac
   11310 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11311 	*$lt_bad_file* | *'Invalid file or object type'*)
   11312 	  lt_cv_path_NM="$tmp_nm -B"
   11313 	  break 2
   11314 	  ;;
   11315 	*)
   11316 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11317 	  */dev/null*)
   11318 	    lt_cv_path_NM="$tmp_nm -p"
   11319 	    break 2
   11320 	    ;;
   11321 	  *)
   11322 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11323 	    continue # so that we can try to find one that supports BSD flags
   11324 	    ;;
   11325 	  esac
   11326 	  ;;
   11327 	esac
   11328       fi
   11329     done
   11330     IFS=$lt_save_ifs
   11331   done
   11332   : ${lt_cv_path_NM=no}
   11333 fi
   11334 fi
   11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11336 $as_echo "$lt_cv_path_NM" >&6; }
   11337 if test no != "$lt_cv_path_NM"; then
   11338   NM=$lt_cv_path_NM
   11339 else
   11340   # Didn't find any BSD compatible name lister, look for dumpbin.
   11341   if test -n "$DUMPBIN"; then :
   11342     # Let the user override the test.
   11343   else
   11344     if test -n "$ac_tool_prefix"; then
   11345   for ac_prog in dumpbin "link -dump"
   11346   do
   11347     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11350 $as_echo_n "checking for $ac_word... " >&6; }
   11351 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11352   $as_echo_n "(cached) " >&6
   11353 else
   11354   if test -n "$DUMPBIN"; then
   11355   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11356 else
   11357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11358 for as_dir in $PATH
   11359 do
   11360   IFS=$as_save_IFS
   11361   test -z "$as_dir" && as_dir=.
   11362     for ac_exec_ext in '' $ac_executable_extensions; do
   11363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11364     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11366     break 2
   11367   fi
   11368 done
   11369   done
   11370 IFS=$as_save_IFS
   11371 
   11372 fi
   11373 fi
   11374 DUMPBIN=$ac_cv_prog_DUMPBIN
   11375 if test -n "$DUMPBIN"; then
   11376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11377 $as_echo "$DUMPBIN" >&6; }
   11378 else
   11379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11380 $as_echo "no" >&6; }
   11381 fi
   11382 
   11383 
   11384     test -n "$DUMPBIN" && break
   11385   done
   11386 fi
   11387 if test -z "$DUMPBIN"; then
   11388   ac_ct_DUMPBIN=$DUMPBIN
   11389   for ac_prog in dumpbin "link -dump"
   11390 do
   11391   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11392 set dummy $ac_prog; ac_word=$2
   11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11394 $as_echo_n "checking for $ac_word... " >&6; }
   11395 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11396   $as_echo_n "(cached) " >&6
   11397 else
   11398   if test -n "$ac_ct_DUMPBIN"; then
   11399   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11400 else
   11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11402 for as_dir in $PATH
   11403 do
   11404   IFS=$as_save_IFS
   11405   test -z "$as_dir" && as_dir=.
   11406     for ac_exec_ext in '' $ac_executable_extensions; do
   11407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11408     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11410     break 2
   11411   fi
   11412 done
   11413   done
   11414 IFS=$as_save_IFS
   11415 
   11416 fi
   11417 fi
   11418 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11419 if test -n "$ac_ct_DUMPBIN"; then
   11420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11421 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11422 else
   11423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11424 $as_echo "no" >&6; }
   11425 fi
   11426 
   11427 
   11428   test -n "$ac_ct_DUMPBIN" && break
   11429 done
   11430 
   11431   if test "x$ac_ct_DUMPBIN" = x; then
   11432     DUMPBIN=":"
   11433   else
   11434     case $cross_compiling:$ac_tool_warned in
   11435 yes:)
   11436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11438 ac_tool_warned=yes ;;
   11439 esac
   11440     DUMPBIN=$ac_ct_DUMPBIN
   11441   fi
   11442 fi
   11443 
   11444     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11445     *COFF*)
   11446       DUMPBIN="$DUMPBIN -symbols -headers"
   11447       ;;
   11448     *)
   11449       DUMPBIN=:
   11450       ;;
   11451     esac
   11452   fi
   11453 
   11454   if test : != "$DUMPBIN"; then
   11455     NM=$DUMPBIN
   11456   fi
   11457 fi
   11458 test -z "$NM" && NM=nm
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11466 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11467 if ${lt_cv_nm_interface+:} false; then :
   11468   $as_echo_n "(cached) " >&6
   11469 else
   11470   lt_cv_nm_interface="BSD nm"
   11471   echo "int some_variable = 0;" > conftest.$ac_ext
   11472   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11473   (eval "$ac_compile" 2>conftest.err)
   11474   cat conftest.err >&5
   11475   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11476   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11477   cat conftest.err >&5
   11478   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11479   cat conftest.out >&5
   11480   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11481     lt_cv_nm_interface="MS dumpbin"
   11482   fi
   11483   rm -f conftest*
   11484 fi
   11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11486 $as_echo "$lt_cv_nm_interface" >&6; }
   11487 
   11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11489 $as_echo_n "checking whether ln -s works... " >&6; }
   11490 LN_S=$as_ln_s
   11491 if test "$LN_S" = "ln -s"; then
   11492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11493 $as_echo "yes" >&6; }
   11494 else
   11495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11496 $as_echo "no, using $LN_S" >&6; }
   11497 fi
   11498 
   11499 # find the maximum length of command line arguments
   11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11501 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11502 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11503   $as_echo_n "(cached) " >&6
   11504 else
   11505     i=0
   11506   teststring=ABCD
   11507 
   11508   case $build_os in
   11509   msdosdjgpp*)
   11510     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11511     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11512     # during glob expansion).  Even if it were fixed, the result of this
   11513     # check would be larger than it should be.
   11514     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11515     ;;
   11516 
   11517   gnu*)
   11518     # Under GNU Hurd, this test is not required because there is
   11519     # no limit to the length of command line arguments.
   11520     # Libtool will interpret -1 as no limit whatsoever
   11521     lt_cv_sys_max_cmd_len=-1;
   11522     ;;
   11523 
   11524   cygwin* | mingw* | cegcc*)
   11525     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11526     # about 5 minutes as the teststring grows exponentially.
   11527     # Worse, since 9x/ME are not pre-emptively multitasking,
   11528     # you end up with a "frozen" computer, even though with patience
   11529     # the test eventually succeeds (with a max line length of 256k).
   11530     # Instead, let's just punt: use the minimum linelength reported by
   11531     # all of the supported platforms: 8192 (on NT/2K/XP).
   11532     lt_cv_sys_max_cmd_len=8192;
   11533     ;;
   11534 
   11535   mint*)
   11536     # On MiNT this can take a long time and run out of memory.
   11537     lt_cv_sys_max_cmd_len=8192;
   11538     ;;
   11539 
   11540   amigaos*)
   11541     # On AmigaOS with pdksh, this test takes hours, literally.
   11542     # So we just punt and use a minimum line length of 8192.
   11543     lt_cv_sys_max_cmd_len=8192;
   11544     ;;
   11545 
   11546   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11547     # This has been around since 386BSD, at least.  Likely further.
   11548     if test -x /sbin/sysctl; then
   11549       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11550     elif test -x /usr/sbin/sysctl; then
   11551       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11552     else
   11553       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11554     fi
   11555     # And add a safety zone
   11556     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11557     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11558     ;;
   11559 
   11560   interix*)
   11561     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11562     lt_cv_sys_max_cmd_len=196608
   11563     ;;
   11564 
   11565   os2*)
   11566     # The test takes a long time on OS/2.
   11567     lt_cv_sys_max_cmd_len=8192
   11568     ;;
   11569 
   11570   osf*)
   11571     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11572     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11573     # nice to cause kernel panics so lets avoid the loop below.
   11574     # First set a reasonable default.
   11575     lt_cv_sys_max_cmd_len=16384
   11576     #
   11577     if test -x /sbin/sysconfig; then
   11578       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11579         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11580       esac
   11581     fi
   11582     ;;
   11583   sco3.2v5*)
   11584     lt_cv_sys_max_cmd_len=102400
   11585     ;;
   11586   sysv5* | sco5v6* | sysv4.2uw2*)
   11587     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11588     if test -n "$kargmax"; then
   11589       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11590     else
   11591       lt_cv_sys_max_cmd_len=32768
   11592     fi
   11593     ;;
   11594   *)
   11595     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11596     if test -n "$lt_cv_sys_max_cmd_len" && \
   11597        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11598       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11599       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11600     else
   11601       # Make teststring a little bigger before we do anything with it.
   11602       # a 1K string should be a reasonable start.
   11603       for i in 1 2 3 4 5 6 7 8; do
   11604         teststring=$teststring$teststring
   11605       done
   11606       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11607       # If test is not a shell built-in, we'll probably end up computing a
   11608       # maximum length that is only half of the actual maximum length, but
   11609       # we can't tell.
   11610       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11611 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11612 	      test 17 != "$i" # 1/2 MB should be enough
   11613       do
   11614         i=`expr $i + 1`
   11615         teststring=$teststring$teststring
   11616       done
   11617       # Only check the string length outside the loop.
   11618       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11619       teststring=
   11620       # Add a significant safety factor because C++ compilers can tack on
   11621       # massive amounts of additional arguments before passing them to the
   11622       # linker.  It appears as though 1/2 is a usable value.
   11623       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11624     fi
   11625     ;;
   11626   esac
   11627 
   11628 fi
   11629 
   11630 if test -n "$lt_cv_sys_max_cmd_len"; then
   11631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11632 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11633 else
   11634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11635 $as_echo "none" >&6; }
   11636 fi
   11637 max_cmd_len=$lt_cv_sys_max_cmd_len
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 : ${CP="cp -f"}
   11645 : ${MV="mv -f"}
   11646 : ${RM="rm -f"}
   11647 
   11648 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11649   lt_unset=unset
   11650 else
   11651   lt_unset=false
   11652 fi
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 # test EBCDIC or ASCII
   11659 case `echo X|tr X '\101'` in
   11660  A) # ASCII based system
   11661     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11662   lt_SP2NL='tr \040 \012'
   11663   lt_NL2SP='tr \015\012 \040\040'
   11664   ;;
   11665  *) # EBCDIC based system
   11666   lt_SP2NL='tr \100 \n'
   11667   lt_NL2SP='tr \r\n \100\100'
   11668   ;;
   11669 esac
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11680 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11681 if ${lt_cv_to_host_file_cmd+:} false; then :
   11682   $as_echo_n "(cached) " >&6
   11683 else
   11684   case $host in
   11685   *-*-mingw* )
   11686     case $build in
   11687       *-*-mingw* ) # actually msys
   11688         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11689         ;;
   11690       *-*-cygwin* )
   11691         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11692         ;;
   11693       * ) # otherwise, assume *nix
   11694         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11695         ;;
   11696     esac
   11697     ;;
   11698   *-*-cygwin* )
   11699     case $build in
   11700       *-*-mingw* ) # actually msys
   11701         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11702         ;;
   11703       *-*-cygwin* )
   11704         lt_cv_to_host_file_cmd=func_convert_file_noop
   11705         ;;
   11706       * ) # otherwise, assume *nix
   11707         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11708         ;;
   11709     esac
   11710     ;;
   11711   * ) # unhandled hosts (and "normal" native builds)
   11712     lt_cv_to_host_file_cmd=func_convert_file_noop
   11713     ;;
   11714 esac
   11715 
   11716 fi
   11717 
   11718 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11720 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11727 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11728 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11729   $as_echo_n "(cached) " >&6
   11730 else
   11731   #assume ordinary cross tools, or native build.
   11732 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11733 case $host in
   11734   *-*-mingw* )
   11735     case $build in
   11736       *-*-mingw* ) # actually msys
   11737         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11738         ;;
   11739     esac
   11740     ;;
   11741 esac
   11742 
   11743 fi
   11744 
   11745 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11747 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11754 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11755 if ${lt_cv_ld_reload_flag+:} false; then :
   11756   $as_echo_n "(cached) " >&6
   11757 else
   11758   lt_cv_ld_reload_flag='-r'
   11759 fi
   11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11761 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11762 reload_flag=$lt_cv_ld_reload_flag
   11763 case $reload_flag in
   11764 "" | " "*) ;;
   11765 *) reload_flag=" $reload_flag" ;;
   11766 esac
   11767 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11768 case $host_os in
   11769   cygwin* | mingw* | pw32* | cegcc*)
   11770     if test yes != "$GCC"; then
   11771       reload_cmds=false
   11772     fi
   11773     ;;
   11774   darwin*)
   11775     if test yes = "$GCC"; then
   11776       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11777     else
   11778       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11779     fi
   11780     ;;
   11781 esac
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 if test -n "$ac_tool_prefix"; then
   11792   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11793 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11795 $as_echo_n "checking for $ac_word... " >&6; }
   11796 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11797   $as_echo_n "(cached) " >&6
   11798 else
   11799   if test -n "$OBJDUMP"; then
   11800   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11801 else
   11802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11803 for as_dir in $PATH
   11804 do
   11805   IFS=$as_save_IFS
   11806   test -z "$as_dir" && as_dir=.
   11807     for ac_exec_ext in '' $ac_executable_extensions; do
   11808   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11809     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11811     break 2
   11812   fi
   11813 done
   11814   done
   11815 IFS=$as_save_IFS
   11816 
   11817 fi
   11818 fi
   11819 OBJDUMP=$ac_cv_prog_OBJDUMP
   11820 if test -n "$OBJDUMP"; then
   11821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11822 $as_echo "$OBJDUMP" >&6; }
   11823 else
   11824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11825 $as_echo "no" >&6; }
   11826 fi
   11827 
   11828 
   11829 fi
   11830 if test -z "$ac_cv_prog_OBJDUMP"; then
   11831   ac_ct_OBJDUMP=$OBJDUMP
   11832   # Extract the first word of "objdump", so it can be a program name with args.
   11833 set dummy objdump; ac_word=$2
   11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11835 $as_echo_n "checking for $ac_word... " >&6; }
   11836 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11837   $as_echo_n "(cached) " >&6
   11838 else
   11839   if test -n "$ac_ct_OBJDUMP"; then
   11840   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11841 else
   11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11843 for as_dir in $PATH
   11844 do
   11845   IFS=$as_save_IFS
   11846   test -z "$as_dir" && as_dir=.
   11847     for ac_exec_ext in '' $ac_executable_extensions; do
   11848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11849     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11851     break 2
   11852   fi
   11853 done
   11854   done
   11855 IFS=$as_save_IFS
   11856 
   11857 fi
   11858 fi
   11859 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11860 if test -n "$ac_ct_OBJDUMP"; then
   11861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11862 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11863 else
   11864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11865 $as_echo "no" >&6; }
   11866 fi
   11867 
   11868   if test "x$ac_ct_OBJDUMP" = x; then
   11869     OBJDUMP="false"
   11870   else
   11871     case $cross_compiling:$ac_tool_warned in
   11872 yes:)
   11873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11875 ac_tool_warned=yes ;;
   11876 esac
   11877     OBJDUMP=$ac_ct_OBJDUMP
   11878   fi
   11879 else
   11880   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11881 fi
   11882 
   11883 test -z "$OBJDUMP" && OBJDUMP=objdump
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11894 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11895 if ${lt_cv_deplibs_check_method+:} false; then :
   11896   $as_echo_n "(cached) " >&6
   11897 else
   11898   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11899 lt_cv_file_magic_test_file=
   11900 lt_cv_deplibs_check_method='unknown'
   11901 # Need to set the preceding variable on all platforms that support
   11902 # interlibrary dependencies.
   11903 # 'none' -- dependencies not supported.
   11904 # 'unknown' -- same as none, but documents that we really don't know.
   11905 # 'pass_all' -- all dependencies passed with no checks.
   11906 # 'test_compile' -- check by making test program.
   11907 # 'file_magic [[regex]]' -- check by looking for files in library path
   11908 # that responds to the $file_magic_cmd with a given extended regex.
   11909 # If you have 'file' or equivalent on your system and you're not sure
   11910 # whether 'pass_all' will *always* work, you probably want this one.
   11911 
   11912 case $host_os in
   11913 aix[4-9]*)
   11914   lt_cv_deplibs_check_method=pass_all
   11915   ;;
   11916 
   11917 beos*)
   11918   lt_cv_deplibs_check_method=pass_all
   11919   ;;
   11920 
   11921 bsdi[45]*)
   11922   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11923   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11924   lt_cv_file_magic_test_file=/shlib/libc.so
   11925   ;;
   11926 
   11927 cygwin*)
   11928   # func_win32_libid is a shell function defined in ltmain.sh
   11929   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11930   lt_cv_file_magic_cmd='func_win32_libid'
   11931   ;;
   11932 
   11933 mingw* | pw32*)
   11934   # Base MSYS/MinGW do not provide the 'file' command needed by
   11935   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11936   # unless we find 'file', for example because we are cross-compiling.
   11937   if ( file / ) >/dev/null 2>&1; then
   11938     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11939     lt_cv_file_magic_cmd='func_win32_libid'
   11940   else
   11941     # Keep this pattern in sync with the one in func_win32_libid.
   11942     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11943     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11944   fi
   11945   ;;
   11946 
   11947 cegcc*)
   11948   # use the weaker test based on 'objdump'. See mingw*.
   11949   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11950   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11951   ;;
   11952 
   11953 darwin* | rhapsody*)
   11954   lt_cv_deplibs_check_method=pass_all
   11955   ;;
   11956 
   11957 freebsd* | dragonfly*)
   11958   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11959     case $host_cpu in
   11960     i*86 )
   11961       # Not sure whether the presence of OpenBSD here was a mistake.
   11962       # Let's accept both of them until this is cleared up.
   11963       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11964       lt_cv_file_magic_cmd=/usr/bin/file
   11965       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11966       ;;
   11967     esac
   11968   else
   11969     lt_cv_deplibs_check_method=pass_all
   11970   fi
   11971   ;;
   11972 
   11973 haiku*)
   11974   lt_cv_deplibs_check_method=pass_all
   11975   ;;
   11976 
   11977 hpux10.20* | hpux11*)
   11978   lt_cv_file_magic_cmd=/usr/bin/file
   11979   case $host_cpu in
   11980   ia64*)
   11981     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11982     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11983     ;;
   11984   hppa*64*)
   11985     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]'
   11986     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11987     ;;
   11988   *)
   11989     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11990     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11991     ;;
   11992   esac
   11993   ;;
   11994 
   11995 interix[3-9]*)
   11996   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11997   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11998   ;;
   11999 
   12000 irix5* | irix6* | nonstopux*)
   12001   case $LD in
   12002   *-32|*"-32 ") libmagic=32-bit;;
   12003   *-n32|*"-n32 ") libmagic=N32;;
   12004   *-64|*"-64 ") libmagic=64-bit;;
   12005   *) libmagic=never-match;;
   12006   esac
   12007   lt_cv_deplibs_check_method=pass_all
   12008   ;;
   12009 
   12010 # This must be glibc/ELF.
   12011 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12012   lt_cv_deplibs_check_method=pass_all
   12013   ;;
   12014 
   12015 netbsd*)
   12016   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12017     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12018   else
   12019     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12020   fi
   12021   ;;
   12022 
   12023 newos6*)
   12024   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12025   lt_cv_file_magic_cmd=/usr/bin/file
   12026   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12027   ;;
   12028 
   12029 *nto* | *qnx*)
   12030   lt_cv_deplibs_check_method=pass_all
   12031   ;;
   12032 
   12033 openbsd* | bitrig*)
   12034   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12035     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12036   else
   12037     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12038   fi
   12039   ;;
   12040 
   12041 osf3* | osf4* | osf5*)
   12042   lt_cv_deplibs_check_method=pass_all
   12043   ;;
   12044 
   12045 rdos*)
   12046   lt_cv_deplibs_check_method=pass_all
   12047   ;;
   12048 
   12049 solaris*)
   12050   lt_cv_deplibs_check_method=pass_all
   12051   ;;
   12052 
   12053 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12054   lt_cv_deplibs_check_method=pass_all
   12055   ;;
   12056 
   12057 sysv4 | sysv4.3*)
   12058   case $host_vendor in
   12059   motorola)
   12060     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]'
   12061     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12062     ;;
   12063   ncr)
   12064     lt_cv_deplibs_check_method=pass_all
   12065     ;;
   12066   sequent)
   12067     lt_cv_file_magic_cmd='/bin/file'
   12068     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12069     ;;
   12070   sni)
   12071     lt_cv_file_magic_cmd='/bin/file'
   12072     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12073     lt_cv_file_magic_test_file=/lib/libc.so
   12074     ;;
   12075   siemens)
   12076     lt_cv_deplibs_check_method=pass_all
   12077     ;;
   12078   pc)
   12079     lt_cv_deplibs_check_method=pass_all
   12080     ;;
   12081   esac
   12082   ;;
   12083 
   12084 tpf*)
   12085   lt_cv_deplibs_check_method=pass_all
   12086   ;;
   12087 os2*)
   12088   lt_cv_deplibs_check_method=pass_all
   12089   ;;
   12090 esac
   12091 
   12092 fi
   12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12094 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12095 
   12096 file_magic_glob=
   12097 want_nocaseglob=no
   12098 if test "$build" = "$host"; then
   12099   case $host_os in
   12100   mingw* | pw32*)
   12101     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12102       want_nocaseglob=yes
   12103     else
   12104       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12105     fi
   12106     ;;
   12107   esac
   12108 fi
   12109 
   12110 file_magic_cmd=$lt_cv_file_magic_cmd
   12111 deplibs_check_method=$lt_cv_deplibs_check_method
   12112 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 if test -n "$ac_tool_prefix"; then
   12136   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12137 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12139 $as_echo_n "checking for $ac_word... " >&6; }
   12140 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12141   $as_echo_n "(cached) " >&6
   12142 else
   12143   if test -n "$DLLTOOL"; then
   12144   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12145 else
   12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12147 for as_dir in $PATH
   12148 do
   12149   IFS=$as_save_IFS
   12150   test -z "$as_dir" && as_dir=.
   12151     for ac_exec_ext in '' $ac_executable_extensions; do
   12152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12153     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12155     break 2
   12156   fi
   12157 done
   12158   done
   12159 IFS=$as_save_IFS
   12160 
   12161 fi
   12162 fi
   12163 DLLTOOL=$ac_cv_prog_DLLTOOL
   12164 if test -n "$DLLTOOL"; then
   12165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12166 $as_echo "$DLLTOOL" >&6; }
   12167 else
   12168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12169 $as_echo "no" >&6; }
   12170 fi
   12171 
   12172 
   12173 fi
   12174 if test -z "$ac_cv_prog_DLLTOOL"; then
   12175   ac_ct_DLLTOOL=$DLLTOOL
   12176   # Extract the first word of "dlltool", so it can be a program name with args.
   12177 set dummy dlltool; ac_word=$2
   12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12179 $as_echo_n "checking for $ac_word... " >&6; }
   12180 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12181   $as_echo_n "(cached) " >&6
   12182 else
   12183   if test -n "$ac_ct_DLLTOOL"; then
   12184   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12185 else
   12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12187 for as_dir in $PATH
   12188 do
   12189   IFS=$as_save_IFS
   12190   test -z "$as_dir" && as_dir=.
   12191     for ac_exec_ext in '' $ac_executable_extensions; do
   12192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12193     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12195     break 2
   12196   fi
   12197 done
   12198   done
   12199 IFS=$as_save_IFS
   12200 
   12201 fi
   12202 fi
   12203 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12204 if test -n "$ac_ct_DLLTOOL"; then
   12205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12206 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12207 else
   12208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12209 $as_echo "no" >&6; }
   12210 fi
   12211 
   12212   if test "x$ac_ct_DLLTOOL" = x; then
   12213     DLLTOOL="false"
   12214   else
   12215     case $cross_compiling:$ac_tool_warned in
   12216 yes:)
   12217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12219 ac_tool_warned=yes ;;
   12220 esac
   12221     DLLTOOL=$ac_ct_DLLTOOL
   12222   fi
   12223 else
   12224   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12225 fi
   12226 
   12227 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12239 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12240 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12241   $as_echo_n "(cached) " >&6
   12242 else
   12243   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12244 
   12245 case $host_os in
   12246 cygwin* | mingw* | pw32* | cegcc*)
   12247   # two different shell functions defined in ltmain.sh;
   12248   # decide which one to use based on capabilities of $DLLTOOL
   12249   case `$DLLTOOL --help 2>&1` in
   12250   *--identify-strict*)
   12251     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12252     ;;
   12253   *)
   12254     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12255     ;;
   12256   esac
   12257   ;;
   12258 *)
   12259   # fallback: assume linklib IS sharedlib
   12260   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12261   ;;
   12262 esac
   12263 
   12264 fi
   12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12266 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12267 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12268 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 if test -n "$ac_tool_prefix"; then
   12277   for ac_prog in ar
   12278   do
   12279     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12282 $as_echo_n "checking for $ac_word... " >&6; }
   12283 if ${ac_cv_prog_AR+:} false; then :
   12284   $as_echo_n "(cached) " >&6
   12285 else
   12286   if test -n "$AR"; then
   12287   ac_cv_prog_AR="$AR" # Let the user override the test.
   12288 else
   12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12290 for as_dir in $PATH
   12291 do
   12292   IFS=$as_save_IFS
   12293   test -z "$as_dir" && as_dir=.
   12294     for ac_exec_ext in '' $ac_executable_extensions; do
   12295   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12296     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12298     break 2
   12299   fi
   12300 done
   12301   done
   12302 IFS=$as_save_IFS
   12303 
   12304 fi
   12305 fi
   12306 AR=$ac_cv_prog_AR
   12307 if test -n "$AR"; then
   12308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12309 $as_echo "$AR" >&6; }
   12310 else
   12311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12312 $as_echo "no" >&6; }
   12313 fi
   12314 
   12315 
   12316     test -n "$AR" && break
   12317   done
   12318 fi
   12319 if test -z "$AR"; then
   12320   ac_ct_AR=$AR
   12321   for ac_prog in ar
   12322 do
   12323   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12324 set dummy $ac_prog; ac_word=$2
   12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12326 $as_echo_n "checking for $ac_word... " >&6; }
   12327 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12328   $as_echo_n "(cached) " >&6
   12329 else
   12330   if test -n "$ac_ct_AR"; then
   12331   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12332 else
   12333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12334 for as_dir in $PATH
   12335 do
   12336   IFS=$as_save_IFS
   12337   test -z "$as_dir" && as_dir=.
   12338     for ac_exec_ext in '' $ac_executable_extensions; do
   12339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12340     ac_cv_prog_ac_ct_AR="$ac_prog"
   12341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12342     break 2
   12343   fi
   12344 done
   12345   done
   12346 IFS=$as_save_IFS
   12347 
   12348 fi
   12349 fi
   12350 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12351 if test -n "$ac_ct_AR"; then
   12352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12353 $as_echo "$ac_ct_AR" >&6; }
   12354 else
   12355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12356 $as_echo "no" >&6; }
   12357 fi
   12358 
   12359 
   12360   test -n "$ac_ct_AR" && break
   12361 done
   12362 
   12363   if test "x$ac_ct_AR" = x; then
   12364     AR="false"
   12365   else
   12366     case $cross_compiling:$ac_tool_warned in
   12367 yes:)
   12368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12370 ac_tool_warned=yes ;;
   12371 esac
   12372     AR=$ac_ct_AR
   12373   fi
   12374 fi
   12375 
   12376 : ${AR=ar}
   12377 : ${AR_FLAGS=cru}
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12390 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12391 if ${lt_cv_ar_at_file+:} false; then :
   12392   $as_echo_n "(cached) " >&6
   12393 else
   12394   lt_cv_ar_at_file=no
   12395    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12396 /* end confdefs.h.  */
   12397 
   12398 int
   12399 main ()
   12400 {
   12401 
   12402   ;
   12403   return 0;
   12404 }
   12405 _ACEOF
   12406 if ac_fn_c_try_compile "$LINENO"; then :
   12407   echo conftest.$ac_objext > conftest.lst
   12408       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12409       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12410   (eval $lt_ar_try) 2>&5
   12411   ac_status=$?
   12412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12413   test $ac_status = 0; }
   12414       if test 0 -eq "$ac_status"; then
   12415 	# Ensure the archiver fails upon bogus file names.
   12416 	rm -f conftest.$ac_objext libconftest.a
   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 -ne "$ac_status"; then
   12423           lt_cv_ar_at_file=@
   12424         fi
   12425       fi
   12426       rm -f conftest.* libconftest.a
   12427 
   12428 fi
   12429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12430 
   12431 fi
   12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12433 $as_echo "$lt_cv_ar_at_file" >&6; }
   12434 
   12435 if test no = "$lt_cv_ar_at_file"; then
   12436   archiver_list_spec=
   12437 else
   12438   archiver_list_spec=$lt_cv_ar_at_file
   12439 fi
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 if test -n "$ac_tool_prefix"; then
   12448   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12449 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12451 $as_echo_n "checking for $ac_word... " >&6; }
   12452 if ${ac_cv_prog_STRIP+:} false; then :
   12453   $as_echo_n "(cached) " >&6
   12454 else
   12455   if test -n "$STRIP"; then
   12456   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12457 else
   12458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12459 for as_dir in $PATH
   12460 do
   12461   IFS=$as_save_IFS
   12462   test -z "$as_dir" && as_dir=.
   12463     for ac_exec_ext in '' $ac_executable_extensions; do
   12464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12465     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12467     break 2
   12468   fi
   12469 done
   12470   done
   12471 IFS=$as_save_IFS
   12472 
   12473 fi
   12474 fi
   12475 STRIP=$ac_cv_prog_STRIP
   12476 if test -n "$STRIP"; then
   12477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12478 $as_echo "$STRIP" >&6; }
   12479 else
   12480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12481 $as_echo "no" >&6; }
   12482 fi
   12483 
   12484 
   12485 fi
   12486 if test -z "$ac_cv_prog_STRIP"; then
   12487   ac_ct_STRIP=$STRIP
   12488   # Extract the first word of "strip", so it can be a program name with args.
   12489 set dummy strip; ac_word=$2
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12491 $as_echo_n "checking for $ac_word... " >&6; }
   12492 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12493   $as_echo_n "(cached) " >&6
   12494 else
   12495   if test -n "$ac_ct_STRIP"; then
   12496   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12497 else
   12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12499 for as_dir in $PATH
   12500 do
   12501   IFS=$as_save_IFS
   12502   test -z "$as_dir" && as_dir=.
   12503     for ac_exec_ext in '' $ac_executable_extensions; do
   12504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12505     ac_cv_prog_ac_ct_STRIP="strip"
   12506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12507     break 2
   12508   fi
   12509 done
   12510   done
   12511 IFS=$as_save_IFS
   12512 
   12513 fi
   12514 fi
   12515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12516 if test -n "$ac_ct_STRIP"; then
   12517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12518 $as_echo "$ac_ct_STRIP" >&6; }
   12519 else
   12520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12521 $as_echo "no" >&6; }
   12522 fi
   12523 
   12524   if test "x$ac_ct_STRIP" = x; then
   12525     STRIP=":"
   12526   else
   12527     case $cross_compiling:$ac_tool_warned in
   12528 yes:)
   12529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12531 ac_tool_warned=yes ;;
   12532 esac
   12533     STRIP=$ac_ct_STRIP
   12534   fi
   12535 else
   12536   STRIP="$ac_cv_prog_STRIP"
   12537 fi
   12538 
   12539 test -z "$STRIP" && STRIP=:
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 if test -n "$ac_tool_prefix"; then
   12547   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12548 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12550 $as_echo_n "checking for $ac_word... " >&6; }
   12551 if ${ac_cv_prog_RANLIB+:} false; then :
   12552   $as_echo_n "(cached) " >&6
   12553 else
   12554   if test -n "$RANLIB"; then
   12555   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12556 else
   12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12558 for as_dir in $PATH
   12559 do
   12560   IFS=$as_save_IFS
   12561   test -z "$as_dir" && as_dir=.
   12562     for ac_exec_ext in '' $ac_executable_extensions; do
   12563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12564     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12566     break 2
   12567   fi
   12568 done
   12569   done
   12570 IFS=$as_save_IFS
   12571 
   12572 fi
   12573 fi
   12574 RANLIB=$ac_cv_prog_RANLIB
   12575 if test -n "$RANLIB"; then
   12576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12577 $as_echo "$RANLIB" >&6; }
   12578 else
   12579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12580 $as_echo "no" >&6; }
   12581 fi
   12582 
   12583 
   12584 fi
   12585 if test -z "$ac_cv_prog_RANLIB"; then
   12586   ac_ct_RANLIB=$RANLIB
   12587   # Extract the first word of "ranlib", so it can be a program name with args.
   12588 set dummy ranlib; ac_word=$2
   12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12590 $as_echo_n "checking for $ac_word... " >&6; }
   12591 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12592   $as_echo_n "(cached) " >&6
   12593 else
   12594   if test -n "$ac_ct_RANLIB"; then
   12595   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12596 else
   12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12598 for as_dir in $PATH
   12599 do
   12600   IFS=$as_save_IFS
   12601   test -z "$as_dir" && as_dir=.
   12602     for ac_exec_ext in '' $ac_executable_extensions; do
   12603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12604     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12606     break 2
   12607   fi
   12608 done
   12609   done
   12610 IFS=$as_save_IFS
   12611 
   12612 fi
   12613 fi
   12614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12615 if test -n "$ac_ct_RANLIB"; then
   12616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12617 $as_echo "$ac_ct_RANLIB" >&6; }
   12618 else
   12619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12620 $as_echo "no" >&6; }
   12621 fi
   12622 
   12623   if test "x$ac_ct_RANLIB" = x; then
   12624     RANLIB=":"
   12625   else
   12626     case $cross_compiling:$ac_tool_warned in
   12627 yes:)
   12628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12630 ac_tool_warned=yes ;;
   12631 esac
   12632     RANLIB=$ac_ct_RANLIB
   12633   fi
   12634 else
   12635   RANLIB="$ac_cv_prog_RANLIB"
   12636 fi
   12637 
   12638 test -z "$RANLIB" && RANLIB=:
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 # Determine commands to create old-style static archives.
   12646 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12647 old_postinstall_cmds='chmod 644 $oldlib'
   12648 old_postuninstall_cmds=
   12649 
   12650 if test -n "$RANLIB"; then
   12651   case $host_os in
   12652   bitrig* | openbsd*)
   12653     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12654     ;;
   12655   *)
   12656     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12657     ;;
   12658   esac
   12659   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12660 fi
   12661 
   12662 case $host_os in
   12663   darwin*)
   12664     lock_old_archive_extraction=yes ;;
   12665   *)
   12666     lock_old_archive_extraction=no ;;
   12667 esac
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   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 # If no C compiler was specified, use CC.
   12708 LTCC=${LTCC-"$CC"}
   12709 
   12710 # If no C compiler flags were specified, use CFLAGS.
   12711 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12712 
   12713 # Allow CC to be a program name with arguments.
   12714 compiler=$CC
   12715 
   12716 
   12717 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12719 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12720 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12721   $as_echo_n "(cached) " >&6
   12722 else
   12723 
   12724 # These are sane defaults that work on at least a few old systems.
   12725 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12726 
   12727 # Character class describing NM global symbol codes.
   12728 symcode='[BCDEGRST]'
   12729 
   12730 # Regexp to match symbols that can be accessed directly from C.
   12731 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12732 
   12733 # Define system-specific variables.
   12734 case $host_os in
   12735 aix*)
   12736   symcode='[BCDT]'
   12737   ;;
   12738 cygwin* | mingw* | pw32* | cegcc*)
   12739   symcode='[ABCDGISTW]'
   12740   ;;
   12741 hpux*)
   12742   if test ia64 = "$host_cpu"; then
   12743     symcode='[ABCDEGRST]'
   12744   fi
   12745   ;;
   12746 irix* | nonstopux*)
   12747   symcode='[BCDEGRST]'
   12748   ;;
   12749 osf*)
   12750   symcode='[BCDEGQRST]'
   12751   ;;
   12752 solaris*)
   12753   symcode='[BDRT]'
   12754   ;;
   12755 sco3.2v5*)
   12756   symcode='[DT]'
   12757   ;;
   12758 sysv4.2uw2*)
   12759   symcode='[DT]'
   12760   ;;
   12761 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12762   symcode='[ABDT]'
   12763   ;;
   12764 sysv4)
   12765   symcode='[DFNSTU]'
   12766   ;;
   12767 esac
   12768 
   12769 # If we're using GNU nm, then use its standard symbol codes.
   12770 case `$NM -V 2>&1` in
   12771 *GNU* | *'with BFD'*)
   12772   symcode='[ABCDGIRSTW]' ;;
   12773 esac
   12774 
   12775 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12776   # Gets list of data symbols to import.
   12777   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12778   # Adjust the below global symbol transforms to fixup imported variables.
   12779   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12780   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12781   lt_c_name_lib_hook="\
   12782   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12783   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12784 else
   12785   # Disable hooks by default.
   12786   lt_cv_sys_global_symbol_to_import=
   12787   lt_cdecl_hook=
   12788   lt_c_name_hook=
   12789   lt_c_name_lib_hook=
   12790 fi
   12791 
   12792 # Transform an extracted symbol line into a proper C declaration.
   12793 # Some systems (esp. on ia64) link data and code symbols differently,
   12794 # so use this general approach.
   12795 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12796 $lt_cdecl_hook\
   12797 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12798 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12799 
   12800 # Transform an extracted symbol line into symbol name and symbol address
   12801 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12802 $lt_c_name_hook\
   12803 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12804 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12805 
   12806 # Transform an extracted symbol line into symbol name with lib prefix and
   12807 # symbol address.
   12808 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12809 $lt_c_name_lib_hook\
   12810 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12811 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12812 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12813 
   12814 # Handle CRLF in mingw tool chain
   12815 opt_cr=
   12816 case $build_os in
   12817 mingw*)
   12818   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12819   ;;
   12820 esac
   12821 
   12822 # Try without a prefix underscore, then with it.
   12823 for ac_symprfx in "" "_"; do
   12824 
   12825   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12826   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12827 
   12828   # Write the raw and C identifiers.
   12829   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12830     # Fake it for dumpbin and say T for any non-static function,
   12831     # D for any global variable and I for any imported variable.
   12832     # Also find C++ and __fastcall symbols from MSVC++,
   12833     # which start with @ or ?.
   12834     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12835 "     {last_section=section; section=\$ 3};"\
   12836 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12837 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12838 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12839 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12840 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12841 "     \$ 0!~/External *\|/{next};"\
   12842 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12843 "     {if(hide[section]) next};"\
   12844 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12845 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12846 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12847 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12848 "     ' prfx=^$ac_symprfx"
   12849   else
   12850     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12851   fi
   12852   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12853 
   12854   # Check to see that the pipe works correctly.
   12855   pipe_works=no
   12856 
   12857   rm -f conftest*
   12858   cat > conftest.$ac_ext <<_LT_EOF
   12859 #ifdef __cplusplus
   12860 extern "C" {
   12861 #endif
   12862 char nm_test_var;
   12863 void nm_test_func(void);
   12864 void nm_test_func(void){}
   12865 #ifdef __cplusplus
   12866 }
   12867 #endif
   12868 int main(){nm_test_var='a';nm_test_func();return(0);}
   12869 _LT_EOF
   12870 
   12871   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12872   (eval $ac_compile) 2>&5
   12873   ac_status=$?
   12874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12875   test $ac_status = 0; }; then
   12876     # Now try to grab the symbols.
   12877     nlist=conftest.nm
   12878     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12879   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12880   ac_status=$?
   12881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12882   test $ac_status = 0; } && test -s "$nlist"; then
   12883       # Try sorting and uniquifying the output.
   12884       if sort "$nlist" | uniq > "$nlist"T; then
   12885 	mv -f "$nlist"T "$nlist"
   12886       else
   12887 	rm -f "$nlist"T
   12888       fi
   12889 
   12890       # Make sure that we snagged all the symbols we need.
   12891       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12892 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12893 	  cat <<_LT_EOF > conftest.$ac_ext
   12894 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12895 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12896 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12897    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12898 # define LT_DLSYM_CONST
   12899 #elif defined __osf__
   12900 /* This system does not cope well with relocations in const data.  */
   12901 # define LT_DLSYM_CONST
   12902 #else
   12903 # define LT_DLSYM_CONST const
   12904 #endif
   12905 
   12906 #ifdef __cplusplus
   12907 extern "C" {
   12908 #endif
   12909 
   12910 _LT_EOF
   12911 	  # Now generate the symbol file.
   12912 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12913 
   12914 	  cat <<_LT_EOF >> conftest.$ac_ext
   12915 
   12916 /* The mapping between symbol names and symbols.  */
   12917 LT_DLSYM_CONST struct {
   12918   const char *name;
   12919   void       *address;
   12920 }
   12921 lt__PROGRAM__LTX_preloaded_symbols[] =
   12922 {
   12923   { "@PROGRAM@", (void *) 0 },
   12924 _LT_EOF
   12925 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12926 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12927   {0, (void *) 0}
   12928 };
   12929 
   12930 /* This works around a problem in FreeBSD linker */
   12931 #ifdef FREEBSD_WORKAROUND
   12932 static const void *lt_preloaded_setup() {
   12933   return lt__PROGRAM__LTX_preloaded_symbols;
   12934 }
   12935 #endif
   12936 
   12937 #ifdef __cplusplus
   12938 }
   12939 #endif
   12940 _LT_EOF
   12941 	  # Now try linking the two files.
   12942 	  mv conftest.$ac_objext conftstm.$ac_objext
   12943 	  lt_globsym_save_LIBS=$LIBS
   12944 	  lt_globsym_save_CFLAGS=$CFLAGS
   12945 	  LIBS=conftstm.$ac_objext
   12946 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12947 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12948   (eval $ac_link) 2>&5
   12949   ac_status=$?
   12950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12951   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12952 	    pipe_works=yes
   12953 	  fi
   12954 	  LIBS=$lt_globsym_save_LIBS
   12955 	  CFLAGS=$lt_globsym_save_CFLAGS
   12956 	else
   12957 	  echo "cannot find nm_test_func in $nlist" >&5
   12958 	fi
   12959       else
   12960 	echo "cannot find nm_test_var in $nlist" >&5
   12961       fi
   12962     else
   12963       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12964     fi
   12965   else
   12966     echo "$progname: failed program was:" >&5
   12967     cat conftest.$ac_ext >&5
   12968   fi
   12969   rm -rf conftest* conftst*
   12970 
   12971   # Do not use the global_symbol_pipe unless it works.
   12972   if test yes = "$pipe_works"; then
   12973     break
   12974   else
   12975     lt_cv_sys_global_symbol_pipe=
   12976   fi
   12977 done
   12978 
   12979 fi
   12980 
   12981 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12982   lt_cv_sys_global_symbol_to_cdecl=
   12983 fi
   12984 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12986 $as_echo "failed" >&6; }
   12987 else
   12988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12989 $as_echo "ok" >&6; }
   12990 fi
   12991 
   12992 # Response file support.
   12993 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12994   nm_file_list_spec='@'
   12995 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12996   nm_file_list_spec='@'
   12997 fi
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13036 $as_echo_n "checking for sysroot... " >&6; }
   13037 
   13038 # Check whether --with-sysroot was given.
   13039 if test "${with_sysroot+set}" = set; then :
   13040   withval=$with_sysroot;
   13041 else
   13042   with_sysroot=no
   13043 fi
   13044 
   13045 
   13046 lt_sysroot=
   13047 case $with_sysroot in #(
   13048  yes)
   13049    if test yes = "$GCC"; then
   13050      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13051    fi
   13052    ;; #(
   13053  /*)
   13054    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13055    ;; #(
   13056  no|'')
   13057    ;; #(
   13058  *)
   13059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13060 $as_echo "$with_sysroot" >&6; }
   13061    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13062    ;;
   13063 esac
   13064 
   13065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13066 $as_echo "${lt_sysroot:-no}" >&6; }
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13073 $as_echo_n "checking for a working dd... " >&6; }
   13074 if ${ac_cv_path_lt_DD+:} false; then :
   13075   $as_echo_n "(cached) " >&6
   13076 else
   13077   printf 0123456789abcdef0123456789abcdef >conftest.i
   13078 cat conftest.i conftest.i >conftest2.i
   13079 : ${lt_DD:=$DD}
   13080 if test -z "$lt_DD"; then
   13081   ac_path_lt_DD_found=false
   13082   # Loop through the user's path and test for each of PROGNAME-LIST
   13083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13084 for as_dir in $PATH
   13085 do
   13086   IFS=$as_save_IFS
   13087   test -z "$as_dir" && as_dir=.
   13088     for ac_prog in dd; do
   13089     for ac_exec_ext in '' $ac_executable_extensions; do
   13090       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13091       as_fn_executable_p "$ac_path_lt_DD" || continue
   13092 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13093   cmp -s conftest.i conftest.out \
   13094   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13095 fi
   13096       $ac_path_lt_DD_found && break 3
   13097     done
   13098   done
   13099   done
   13100 IFS=$as_save_IFS
   13101   if test -z "$ac_cv_path_lt_DD"; then
   13102     :
   13103   fi
   13104 else
   13105   ac_cv_path_lt_DD=$lt_DD
   13106 fi
   13107 
   13108 rm -f conftest.i conftest2.i conftest.out
   13109 fi
   13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13111 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13112 
   13113 
   13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13115 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13116 if ${lt_cv_truncate_bin+:} false; then :
   13117   $as_echo_n "(cached) " >&6
   13118 else
   13119   printf 0123456789abcdef0123456789abcdef >conftest.i
   13120 cat conftest.i conftest.i >conftest2.i
   13121 lt_cv_truncate_bin=
   13122 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13123   cmp -s conftest.i conftest.out \
   13124   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13125 fi
   13126 rm -f conftest.i conftest2.i conftest.out
   13127 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13128 fi
   13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13130 $as_echo "$lt_cv_truncate_bin" >&6; }
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13139 func_cc_basename ()
   13140 {
   13141     for cc_temp in $*""; do
   13142       case $cc_temp in
   13143         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13144         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13145         \-*) ;;
   13146         *) break;;
   13147       esac
   13148     done
   13149     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13150 }
   13151 
   13152 # Check whether --enable-libtool-lock was given.
   13153 if test "${enable_libtool_lock+set}" = set; then :
   13154   enableval=$enable_libtool_lock;
   13155 fi
   13156 
   13157 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13158 
   13159 # Some flags need to be propagated to the compiler or linker for good
   13160 # libtool support.
   13161 case $host in
   13162 ia64-*-hpux*)
   13163   # Find out what ABI is being produced by ac_compile, and set mode
   13164   # options accordingly.
   13165   echo 'int i;' > conftest.$ac_ext
   13166   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13167   (eval $ac_compile) 2>&5
   13168   ac_status=$?
   13169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13170   test $ac_status = 0; }; then
   13171     case `/usr/bin/file conftest.$ac_objext` in
   13172       *ELF-32*)
   13173 	HPUX_IA64_MODE=32
   13174 	;;
   13175       *ELF-64*)
   13176 	HPUX_IA64_MODE=64
   13177 	;;
   13178     esac
   13179   fi
   13180   rm -rf conftest*
   13181   ;;
   13182 *-*-irix6*)
   13183   # Find out what ABI is being produced by ac_compile, and set linker
   13184   # options accordingly.
   13185   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13186   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13187   (eval $ac_compile) 2>&5
   13188   ac_status=$?
   13189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13190   test $ac_status = 0; }; then
   13191     if test yes = "$lt_cv_prog_gnu_ld"; then
   13192       case `/usr/bin/file conftest.$ac_objext` in
   13193 	*32-bit*)
   13194 	  LD="${LD-ld} -melf32bsmip"
   13195 	  ;;
   13196 	*N32*)
   13197 	  LD="${LD-ld} -melf32bmipn32"
   13198 	  ;;
   13199 	*64-bit*)
   13200 	  LD="${LD-ld} -melf64bmip"
   13201 	;;
   13202       esac
   13203     else
   13204       case `/usr/bin/file conftest.$ac_objext` in
   13205 	*32-bit*)
   13206 	  LD="${LD-ld} -32"
   13207 	  ;;
   13208 	*N32*)
   13209 	  LD="${LD-ld} -n32"
   13210 	  ;;
   13211 	*64-bit*)
   13212 	  LD="${LD-ld} -64"
   13213 	  ;;
   13214       esac
   13215     fi
   13216   fi
   13217   rm -rf conftest*
   13218   ;;
   13219 
   13220 mips64*-*linux*)
   13221   # Find out what ABI is being produced by ac_compile, and set linker
   13222   # options accordingly.
   13223   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13224   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13225   (eval $ac_compile) 2>&5
   13226   ac_status=$?
   13227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13228   test $ac_status = 0; }; then
   13229     emul=elf
   13230     case `/usr/bin/file conftest.$ac_objext` in
   13231       *32-bit*)
   13232 	emul="${emul}32"
   13233 	;;
   13234       *64-bit*)
   13235 	emul="${emul}64"
   13236 	;;
   13237     esac
   13238     case `/usr/bin/file conftest.$ac_objext` in
   13239       *MSB*)
   13240 	emul="${emul}btsmip"
   13241 	;;
   13242       *LSB*)
   13243 	emul="${emul}ltsmip"
   13244 	;;
   13245     esac
   13246     case `/usr/bin/file conftest.$ac_objext` in
   13247       *N32*)
   13248 	emul="${emul}n32"
   13249 	;;
   13250     esac
   13251     LD="${LD-ld} -m $emul"
   13252   fi
   13253   rm -rf conftest*
   13254   ;;
   13255 
   13256 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13257 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13258   # Find out what ABI is being produced by ac_compile, and set linker
   13259   # options accordingly.  Note that the listed cases only cover the
   13260   # situations where additional linker options are needed (such as when
   13261   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13262   # vice versa); the common cases where no linker options are needed do
   13263   # not appear in the list.
   13264   echo 'int i;' > conftest.$ac_ext
   13265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13266   (eval $ac_compile) 2>&5
   13267   ac_status=$?
   13268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13269   test $ac_status = 0; }; then
   13270     case `/usr/bin/file conftest.o` in
   13271       *32-bit*)
   13272 	case $host in
   13273 	  x86_64-*kfreebsd*-gnu)
   13274 	    LD="${LD-ld} -m elf_i386_fbsd"
   13275 	    ;;
   13276 	  x86_64-*linux*)
   13277 	    case `/usr/bin/file conftest.o` in
   13278 	      *x86-64*)
   13279 		LD="${LD-ld} -m elf32_x86_64"
   13280 		;;
   13281 	      *)
   13282 		LD="${LD-ld} -m elf_i386"
   13283 		;;
   13284 	    esac
   13285 	    ;;
   13286 	  powerpc64le-*linux*)
   13287 	    LD="${LD-ld} -m elf32lppclinux"
   13288 	    ;;
   13289 	  powerpc64-*linux*)
   13290 	    LD="${LD-ld} -m elf32ppclinux"
   13291 	    ;;
   13292 	  s390x-*linux*)
   13293 	    LD="${LD-ld} -m elf_s390"
   13294 	    ;;
   13295 	  sparc64-*linux*)
   13296 	    LD="${LD-ld} -m elf32_sparc"
   13297 	    ;;
   13298 	esac
   13299 	;;
   13300       *64-bit*)
   13301 	case $host in
   13302 	  x86_64-*kfreebsd*-gnu)
   13303 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13304 	    ;;
   13305 	  x86_64-*linux*)
   13306 	    LD="${LD-ld} -m elf_x86_64"
   13307 	    ;;
   13308 	  powerpcle-*linux*)
   13309 	    LD="${LD-ld} -m elf64lppc"
   13310 	    ;;
   13311 	  powerpc-*linux*)
   13312 	    LD="${LD-ld} -m elf64ppc"
   13313 	    ;;
   13314 	  s390*-*linux*|s390*-*tpf*)
   13315 	    LD="${LD-ld} -m elf64_s390"
   13316 	    ;;
   13317 	  sparc*-*linux*)
   13318 	    LD="${LD-ld} -m elf64_sparc"
   13319 	    ;;
   13320 	esac
   13321 	;;
   13322     esac
   13323   fi
   13324   rm -rf conftest*
   13325   ;;
   13326 
   13327 *-*-sco3.2v5*)
   13328   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13329   SAVE_CFLAGS=$CFLAGS
   13330   CFLAGS="$CFLAGS -belf"
   13331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13332 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13333 if ${lt_cv_cc_needs_belf+:} false; then :
   13334   $as_echo_n "(cached) " >&6
   13335 else
   13336   ac_ext=c
   13337 ac_cpp='$CPP $CPPFLAGS'
   13338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13341 
   13342      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13343 /* end confdefs.h.  */
   13344 
   13345 int
   13346 main ()
   13347 {
   13348 
   13349   ;
   13350   return 0;
   13351 }
   13352 _ACEOF
   13353 if ac_fn_c_try_link "$LINENO"; then :
   13354   lt_cv_cc_needs_belf=yes
   13355 else
   13356   lt_cv_cc_needs_belf=no
   13357 fi
   13358 rm -f core conftest.err conftest.$ac_objext \
   13359     conftest$ac_exeext conftest.$ac_ext
   13360      ac_ext=c
   13361 ac_cpp='$CPP $CPPFLAGS'
   13362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13365 
   13366 fi
   13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13368 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13369   if test yes != "$lt_cv_cc_needs_belf"; then
   13370     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13371     CFLAGS=$SAVE_CFLAGS
   13372   fi
   13373   ;;
   13374 *-*solaris*)
   13375   # Find out what ABI is being produced by ac_compile, and set linker
   13376   # options accordingly.
   13377   echo 'int i;' > conftest.$ac_ext
   13378   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13379   (eval $ac_compile) 2>&5
   13380   ac_status=$?
   13381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13382   test $ac_status = 0; }; then
   13383     case `/usr/bin/file conftest.o` in
   13384     *64-bit*)
   13385       case $lt_cv_prog_gnu_ld in
   13386       yes*)
   13387         case $host in
   13388         i?86-*-solaris*|x86_64-*-solaris*)
   13389           LD="${LD-ld} -m elf_x86_64"
   13390           ;;
   13391         sparc*-*-solaris*)
   13392           LD="${LD-ld} -m elf64_sparc"
   13393           ;;
   13394         esac
   13395         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13396         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13397           LD=${LD-ld}_sol2
   13398         fi
   13399         ;;
   13400       *)
   13401 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13402 	  LD="${LD-ld} -64"
   13403 	fi
   13404 	;;
   13405       esac
   13406       ;;
   13407     esac
   13408   fi
   13409   rm -rf conftest*
   13410   ;;
   13411 esac
   13412 
   13413 need_locks=$enable_libtool_lock
   13414 
   13415 if test -n "$ac_tool_prefix"; then
   13416   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13417 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13419 $as_echo_n "checking for $ac_word... " >&6; }
   13420 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13421   $as_echo_n "(cached) " >&6
   13422 else
   13423   if test -n "$MANIFEST_TOOL"; then
   13424   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13425 else
   13426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13427 for as_dir in $PATH
   13428 do
   13429   IFS=$as_save_IFS
   13430   test -z "$as_dir" && as_dir=.
   13431     for ac_exec_ext in '' $ac_executable_extensions; do
   13432   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13433     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13435     break 2
   13436   fi
   13437 done
   13438   done
   13439 IFS=$as_save_IFS
   13440 
   13441 fi
   13442 fi
   13443 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13444 if test -n "$MANIFEST_TOOL"; then
   13445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13446 $as_echo "$MANIFEST_TOOL" >&6; }
   13447 else
   13448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13449 $as_echo "no" >&6; }
   13450 fi
   13451 
   13452 
   13453 fi
   13454 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13455   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13456   # Extract the first word of "mt", so it can be a program name with args.
   13457 set dummy mt; ac_word=$2
   13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13459 $as_echo_n "checking for $ac_word... " >&6; }
   13460 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13461   $as_echo_n "(cached) " >&6
   13462 else
   13463   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13464   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13465 else
   13466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13467 for as_dir in $PATH
   13468 do
   13469   IFS=$as_save_IFS
   13470   test -z "$as_dir" && as_dir=.
   13471     for ac_exec_ext in '' $ac_executable_extensions; do
   13472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13473     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13475     break 2
   13476   fi
   13477 done
   13478   done
   13479 IFS=$as_save_IFS
   13480 
   13481 fi
   13482 fi
   13483 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13484 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13486 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13487 else
   13488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13489 $as_echo "no" >&6; }
   13490 fi
   13491 
   13492   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13493     MANIFEST_TOOL=":"
   13494   else
   13495     case $cross_compiling:$ac_tool_warned in
   13496 yes:)
   13497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13499 ac_tool_warned=yes ;;
   13500 esac
   13501     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13502   fi
   13503 else
   13504   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13505 fi
   13506 
   13507 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13509 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13510 if ${lt_cv_path_mainfest_tool+:} false; then :
   13511   $as_echo_n "(cached) " >&6
   13512 else
   13513   lt_cv_path_mainfest_tool=no
   13514   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13515   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13516   cat conftest.err >&5
   13517   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13518     lt_cv_path_mainfest_tool=yes
   13519   fi
   13520   rm -f conftest*
   13521 fi
   13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13523 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13524 if test yes != "$lt_cv_path_mainfest_tool"; then
   13525   MANIFEST_TOOL=:
   13526 fi
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533   case $host_os in
   13534     rhapsody* | darwin*)
   13535     if test -n "$ac_tool_prefix"; then
   13536   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13537 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13539 $as_echo_n "checking for $ac_word... " >&6; }
   13540 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13541   $as_echo_n "(cached) " >&6
   13542 else
   13543   if test -n "$DSYMUTIL"; then
   13544   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13545 else
   13546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13547 for as_dir in $PATH
   13548 do
   13549   IFS=$as_save_IFS
   13550   test -z "$as_dir" && as_dir=.
   13551     for ac_exec_ext in '' $ac_executable_extensions; do
   13552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13553     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13555     break 2
   13556   fi
   13557 done
   13558   done
   13559 IFS=$as_save_IFS
   13560 
   13561 fi
   13562 fi
   13563 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13564 if test -n "$DSYMUTIL"; then
   13565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13566 $as_echo "$DSYMUTIL" >&6; }
   13567 else
   13568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13569 $as_echo "no" >&6; }
   13570 fi
   13571 
   13572 
   13573 fi
   13574 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13575   ac_ct_DSYMUTIL=$DSYMUTIL
   13576   # Extract the first word of "dsymutil", so it can be a program name with args.
   13577 set dummy dsymutil; ac_word=$2
   13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13579 $as_echo_n "checking for $ac_word... " >&6; }
   13580 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13581   $as_echo_n "(cached) " >&6
   13582 else
   13583   if test -n "$ac_ct_DSYMUTIL"; then
   13584   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13585 else
   13586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13587 for as_dir in $PATH
   13588 do
   13589   IFS=$as_save_IFS
   13590   test -z "$as_dir" && as_dir=.
   13591     for ac_exec_ext in '' $ac_executable_extensions; do
   13592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13593     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13595     break 2
   13596   fi
   13597 done
   13598   done
   13599 IFS=$as_save_IFS
   13600 
   13601 fi
   13602 fi
   13603 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13604 if test -n "$ac_ct_DSYMUTIL"; then
   13605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13606 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13607 else
   13608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13609 $as_echo "no" >&6; }
   13610 fi
   13611 
   13612   if test "x$ac_ct_DSYMUTIL" = x; then
   13613     DSYMUTIL=":"
   13614   else
   13615     case $cross_compiling:$ac_tool_warned in
   13616 yes:)
   13617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13619 ac_tool_warned=yes ;;
   13620 esac
   13621     DSYMUTIL=$ac_ct_DSYMUTIL
   13622   fi
   13623 else
   13624   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13625 fi
   13626 
   13627     if test -n "$ac_tool_prefix"; then
   13628   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13629 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13631 $as_echo_n "checking for $ac_word... " >&6; }
   13632 if ${ac_cv_prog_NMEDIT+:} false; then :
   13633   $as_echo_n "(cached) " >&6
   13634 else
   13635   if test -n "$NMEDIT"; then
   13636   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13637 else
   13638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13639 for as_dir in $PATH
   13640 do
   13641   IFS=$as_save_IFS
   13642   test -z "$as_dir" && as_dir=.
   13643     for ac_exec_ext in '' $ac_executable_extensions; do
   13644   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13645     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13647     break 2
   13648   fi
   13649 done
   13650   done
   13651 IFS=$as_save_IFS
   13652 
   13653 fi
   13654 fi
   13655 NMEDIT=$ac_cv_prog_NMEDIT
   13656 if test -n "$NMEDIT"; then
   13657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13658 $as_echo "$NMEDIT" >&6; }
   13659 else
   13660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13661 $as_echo "no" >&6; }
   13662 fi
   13663 
   13664 
   13665 fi
   13666 if test -z "$ac_cv_prog_NMEDIT"; then
   13667   ac_ct_NMEDIT=$NMEDIT
   13668   # Extract the first word of "nmedit", so it can be a program name with args.
   13669 set dummy nmedit; ac_word=$2
   13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13671 $as_echo_n "checking for $ac_word... " >&6; }
   13672 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13673   $as_echo_n "(cached) " >&6
   13674 else
   13675   if test -n "$ac_ct_NMEDIT"; then
   13676   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13677 else
   13678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13679 for as_dir in $PATH
   13680 do
   13681   IFS=$as_save_IFS
   13682   test -z "$as_dir" && as_dir=.
   13683     for ac_exec_ext in '' $ac_executable_extensions; do
   13684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13685     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13687     break 2
   13688   fi
   13689 done
   13690   done
   13691 IFS=$as_save_IFS
   13692 
   13693 fi
   13694 fi
   13695 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13696 if test -n "$ac_ct_NMEDIT"; then
   13697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13698 $as_echo "$ac_ct_NMEDIT" >&6; }
   13699 else
   13700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13701 $as_echo "no" >&6; }
   13702 fi
   13703 
   13704   if test "x$ac_ct_NMEDIT" = x; then
   13705     NMEDIT=":"
   13706   else
   13707     case $cross_compiling:$ac_tool_warned in
   13708 yes:)
   13709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13711 ac_tool_warned=yes ;;
   13712 esac
   13713     NMEDIT=$ac_ct_NMEDIT
   13714   fi
   13715 else
   13716   NMEDIT="$ac_cv_prog_NMEDIT"
   13717 fi
   13718 
   13719     if test -n "$ac_tool_prefix"; then
   13720   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13721 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13723 $as_echo_n "checking for $ac_word... " >&6; }
   13724 if ${ac_cv_prog_LIPO+:} false; then :
   13725   $as_echo_n "(cached) " >&6
   13726 else
   13727   if test -n "$LIPO"; then
   13728   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13729 else
   13730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13731 for as_dir in $PATH
   13732 do
   13733   IFS=$as_save_IFS
   13734   test -z "$as_dir" && as_dir=.
   13735     for ac_exec_ext in '' $ac_executable_extensions; do
   13736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13737     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13739     break 2
   13740   fi
   13741 done
   13742   done
   13743 IFS=$as_save_IFS
   13744 
   13745 fi
   13746 fi
   13747 LIPO=$ac_cv_prog_LIPO
   13748 if test -n "$LIPO"; then
   13749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13750 $as_echo "$LIPO" >&6; }
   13751 else
   13752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13753 $as_echo "no" >&6; }
   13754 fi
   13755 
   13756 
   13757 fi
   13758 if test -z "$ac_cv_prog_LIPO"; then
   13759   ac_ct_LIPO=$LIPO
   13760   # Extract the first word of "lipo", so it can be a program name with args.
   13761 set dummy lipo; ac_word=$2
   13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13763 $as_echo_n "checking for $ac_word... " >&6; }
   13764 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13765   $as_echo_n "(cached) " >&6
   13766 else
   13767   if test -n "$ac_ct_LIPO"; then
   13768   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13769 else
   13770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13771 for as_dir in $PATH
   13772 do
   13773   IFS=$as_save_IFS
   13774   test -z "$as_dir" && as_dir=.
   13775     for ac_exec_ext in '' $ac_executable_extensions; do
   13776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13777     ac_cv_prog_ac_ct_LIPO="lipo"
   13778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13779     break 2
   13780   fi
   13781 done
   13782   done
   13783 IFS=$as_save_IFS
   13784 
   13785 fi
   13786 fi
   13787 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13788 if test -n "$ac_ct_LIPO"; then
   13789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13790 $as_echo "$ac_ct_LIPO" >&6; }
   13791 else
   13792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13793 $as_echo "no" >&6; }
   13794 fi
   13795 
   13796   if test "x$ac_ct_LIPO" = x; then
   13797     LIPO=":"
   13798   else
   13799     case $cross_compiling:$ac_tool_warned in
   13800 yes:)
   13801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13803 ac_tool_warned=yes ;;
   13804 esac
   13805     LIPO=$ac_ct_LIPO
   13806   fi
   13807 else
   13808   LIPO="$ac_cv_prog_LIPO"
   13809 fi
   13810 
   13811     if test -n "$ac_tool_prefix"; then
   13812   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13813 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13815 $as_echo_n "checking for $ac_word... " >&6; }
   13816 if ${ac_cv_prog_OTOOL+:} false; then :
   13817   $as_echo_n "(cached) " >&6
   13818 else
   13819   if test -n "$OTOOL"; then
   13820   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13821 else
   13822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13823 for as_dir in $PATH
   13824 do
   13825   IFS=$as_save_IFS
   13826   test -z "$as_dir" && as_dir=.
   13827     for ac_exec_ext in '' $ac_executable_extensions; do
   13828   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13829     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13831     break 2
   13832   fi
   13833 done
   13834   done
   13835 IFS=$as_save_IFS
   13836 
   13837 fi
   13838 fi
   13839 OTOOL=$ac_cv_prog_OTOOL
   13840 if test -n "$OTOOL"; then
   13841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13842 $as_echo "$OTOOL" >&6; }
   13843 else
   13844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13845 $as_echo "no" >&6; }
   13846 fi
   13847 
   13848 
   13849 fi
   13850 if test -z "$ac_cv_prog_OTOOL"; then
   13851   ac_ct_OTOOL=$OTOOL
   13852   # Extract the first word of "otool", so it can be a program name with args.
   13853 set dummy otool; ac_word=$2
   13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13855 $as_echo_n "checking for $ac_word... " >&6; }
   13856 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13857   $as_echo_n "(cached) " >&6
   13858 else
   13859   if test -n "$ac_ct_OTOOL"; then
   13860   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13861 else
   13862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13863 for as_dir in $PATH
   13864 do
   13865   IFS=$as_save_IFS
   13866   test -z "$as_dir" && as_dir=.
   13867     for ac_exec_ext in '' $ac_executable_extensions; do
   13868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13869     ac_cv_prog_ac_ct_OTOOL="otool"
   13870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13871     break 2
   13872   fi
   13873 done
   13874   done
   13875 IFS=$as_save_IFS
   13876 
   13877 fi
   13878 fi
   13879 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13880 if test -n "$ac_ct_OTOOL"; then
   13881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13882 $as_echo "$ac_ct_OTOOL" >&6; }
   13883 else
   13884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13885 $as_echo "no" >&6; }
   13886 fi
   13887 
   13888   if test "x$ac_ct_OTOOL" = x; then
   13889     OTOOL=":"
   13890   else
   13891     case $cross_compiling:$ac_tool_warned in
   13892 yes:)
   13893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13895 ac_tool_warned=yes ;;
   13896 esac
   13897     OTOOL=$ac_ct_OTOOL
   13898   fi
   13899 else
   13900   OTOOL="$ac_cv_prog_OTOOL"
   13901 fi
   13902 
   13903     if test -n "$ac_tool_prefix"; then
   13904   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13905 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13907 $as_echo_n "checking for $ac_word... " >&6; }
   13908 if ${ac_cv_prog_OTOOL64+:} false; then :
   13909   $as_echo_n "(cached) " >&6
   13910 else
   13911   if test -n "$OTOOL64"; then
   13912   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13913 else
   13914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13915 for as_dir in $PATH
   13916 do
   13917   IFS=$as_save_IFS
   13918   test -z "$as_dir" && as_dir=.
   13919     for ac_exec_ext in '' $ac_executable_extensions; do
   13920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13921     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13923     break 2
   13924   fi
   13925 done
   13926   done
   13927 IFS=$as_save_IFS
   13928 
   13929 fi
   13930 fi
   13931 OTOOL64=$ac_cv_prog_OTOOL64
   13932 if test -n "$OTOOL64"; then
   13933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13934 $as_echo "$OTOOL64" >&6; }
   13935 else
   13936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13937 $as_echo "no" >&6; }
   13938 fi
   13939 
   13940 
   13941 fi
   13942 if test -z "$ac_cv_prog_OTOOL64"; then
   13943   ac_ct_OTOOL64=$OTOOL64
   13944   # Extract the first word of "otool64", so it can be a program name with args.
   13945 set dummy otool64; ac_word=$2
   13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13947 $as_echo_n "checking for $ac_word... " >&6; }
   13948 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13949   $as_echo_n "(cached) " >&6
   13950 else
   13951   if test -n "$ac_ct_OTOOL64"; then
   13952   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13953 else
   13954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13955 for as_dir in $PATH
   13956 do
   13957   IFS=$as_save_IFS
   13958   test -z "$as_dir" && as_dir=.
   13959     for ac_exec_ext in '' $ac_executable_extensions; do
   13960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13961     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13963     break 2
   13964   fi
   13965 done
   13966   done
   13967 IFS=$as_save_IFS
   13968 
   13969 fi
   13970 fi
   13971 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13972 if test -n "$ac_ct_OTOOL64"; then
   13973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13974 $as_echo "$ac_ct_OTOOL64" >&6; }
   13975 else
   13976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13977 $as_echo "no" >&6; }
   13978 fi
   13979 
   13980   if test "x$ac_ct_OTOOL64" = x; then
   13981     OTOOL64=":"
   13982   else
   13983     case $cross_compiling:$ac_tool_warned in
   13984 yes:)
   13985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13987 ac_tool_warned=yes ;;
   13988 esac
   13989     OTOOL64=$ac_ct_OTOOL64
   13990   fi
   13991 else
   13992   OTOOL64="$ac_cv_prog_OTOOL64"
   13993 fi
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14022 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14023 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14024   $as_echo_n "(cached) " >&6
   14025 else
   14026   lt_cv_apple_cc_single_mod=no
   14027       if test -z "$LT_MULTI_MODULE"; then
   14028 	# By default we will add the -single_module flag. You can override
   14029 	# by either setting the environment variable LT_MULTI_MODULE
   14030 	# non-empty at configure time, or by adding -multi_module to the
   14031 	# link flags.
   14032 	rm -rf libconftest.dylib*
   14033 	echo "int foo(void){return 1;}" > conftest.c
   14034 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14035 -dynamiclib -Wl,-single_module conftest.c" >&5
   14036 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14037 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14038         _lt_result=$?
   14039 	# If there is a non-empty error log, and "single_module"
   14040 	# appears in it, assume the flag caused a linker warning
   14041         if test -s conftest.err && $GREP single_module conftest.err; then
   14042 	  cat conftest.err >&5
   14043 	# Otherwise, if the output was created with a 0 exit code from
   14044 	# the compiler, it worked.
   14045 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14046 	  lt_cv_apple_cc_single_mod=yes
   14047 	else
   14048 	  cat conftest.err >&5
   14049 	fi
   14050 	rm -rf libconftest.dylib*
   14051 	rm -f conftest.*
   14052       fi
   14053 fi
   14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14055 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14056 
   14057     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14058 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14059 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14060   $as_echo_n "(cached) " >&6
   14061 else
   14062   lt_cv_ld_exported_symbols_list=no
   14063       save_LDFLAGS=$LDFLAGS
   14064       echo "_main" > conftest.sym
   14065       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14067 /* end confdefs.h.  */
   14068 
   14069 int
   14070 main ()
   14071 {
   14072 
   14073   ;
   14074   return 0;
   14075 }
   14076 _ACEOF
   14077 if ac_fn_c_try_link "$LINENO"; then :
   14078   lt_cv_ld_exported_symbols_list=yes
   14079 else
   14080   lt_cv_ld_exported_symbols_list=no
   14081 fi
   14082 rm -f core conftest.err conftest.$ac_objext \
   14083     conftest$ac_exeext conftest.$ac_ext
   14084 	LDFLAGS=$save_LDFLAGS
   14085 
   14086 fi
   14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14088 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14089 
   14090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14091 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14092 if ${lt_cv_ld_force_load+:} false; then :
   14093   $as_echo_n "(cached) " >&6
   14094 else
   14095   lt_cv_ld_force_load=no
   14096       cat > conftest.c << _LT_EOF
   14097 int forced_loaded() { return 2;}
   14098 _LT_EOF
   14099       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14100       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14101       echo "$AR cru libconftest.a conftest.o" >&5
   14102       $AR cru libconftest.a conftest.o 2>&5
   14103       echo "$RANLIB libconftest.a" >&5
   14104       $RANLIB libconftest.a 2>&5
   14105       cat > conftest.c << _LT_EOF
   14106 int main() { return 0;}
   14107 _LT_EOF
   14108       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14109       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14110       _lt_result=$?
   14111       if test -s conftest.err && $GREP force_load conftest.err; then
   14112 	cat conftest.err >&5
   14113       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14114 	lt_cv_ld_force_load=yes
   14115       else
   14116 	cat conftest.err >&5
   14117       fi
   14118         rm -f conftest.err libconftest.a conftest conftest.c
   14119         rm -rf conftest.dSYM
   14120 
   14121 fi
   14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14123 $as_echo "$lt_cv_ld_force_load" >&6; }
   14124     case $host_os in
   14125     rhapsody* | darwin1.[012])
   14126       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14127     darwin1.*)
   14128       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14129     darwin*) # darwin 5.x on
   14130       # if running on 10.5 or later, the deployment target defaults
   14131       # to the OS version, if on x86, and 10.4, the deployment
   14132       # target defaults to 10.4. Don't you love it?
   14133       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14134 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14135 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14136 	10.[012][,.]*)
   14137 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14138 	10.*)
   14139 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14140       esac
   14141     ;;
   14142   esac
   14143     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14144       _lt_dar_single_mod='$single_module'
   14145     fi
   14146     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14147       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14148     else
   14149       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14150     fi
   14151     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14152       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14153     else
   14154       _lt_dsymutil=
   14155     fi
   14156     ;;
   14157   esac
   14158 
   14159 # func_munge_path_list VARIABLE PATH
   14160 # -----------------------------------
   14161 # VARIABLE is name of variable containing _space_ separated list of
   14162 # directories to be munged by the contents of PATH, which is string
   14163 # having a format:
   14164 # "DIR[:DIR]:"
   14165 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14166 # ":DIR[:DIR]"
   14167 #       string "DIR[ DIR]" will be appended to VARIABLE
   14168 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14169 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14170 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14171 # "DIR[:DIR]"
   14172 #       VARIABLE will be replaced by "DIR[ DIR]"
   14173 func_munge_path_list ()
   14174 {
   14175     case x$2 in
   14176     x)
   14177         ;;
   14178     *:)
   14179         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14180         ;;
   14181     x:*)
   14182         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14183         ;;
   14184     *::*)
   14185         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14186         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14187         ;;
   14188     *)
   14189         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14190         ;;
   14191     esac
   14192 }
   14193 
   14194 for ac_header in dlfcn.h
   14195 do :
   14196   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14197 "
   14198 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14199   cat >>confdefs.h <<_ACEOF
   14200 #define HAVE_DLFCN_H 1
   14201 _ACEOF
   14202 
   14203 fi
   14204 
   14205 done
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 # Set options
   14212 
   14213 
   14214 
   14215         enable_dlopen=no
   14216 
   14217 
   14218   enable_win32_dll=no
   14219 
   14220 
   14221             # Check whether --enable-shared was given.
   14222 if test "${enable_shared+set}" = set; then :
   14223   enableval=$enable_shared; p=${PACKAGE-default}
   14224     case $enableval in
   14225     yes) enable_shared=yes ;;
   14226     no) enable_shared=no ;;
   14227     *)
   14228       enable_shared=no
   14229       # Look at the argument we got.  We use all the common list separators.
   14230       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14231       for pkg in $enableval; do
   14232 	IFS=$lt_save_ifs
   14233 	if test "X$pkg" = "X$p"; then
   14234 	  enable_shared=yes
   14235 	fi
   14236       done
   14237       IFS=$lt_save_ifs
   14238       ;;
   14239     esac
   14240 else
   14241   enable_shared=yes
   14242 fi
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 # Check whether --with-pic was given.
   14255 if test "${with_pic+set}" = set; then :
   14256   withval=$with_pic; lt_p=${PACKAGE-default}
   14257     case $withval in
   14258     yes|no) pic_mode=$withval ;;
   14259     *)
   14260       pic_mode=default
   14261       # Look at the argument we got.  We use all the common list separators.
   14262       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14263       for lt_pkg in $withval; do
   14264 	IFS=$lt_save_ifs
   14265 	if test "X$lt_pkg" = "X$lt_p"; then
   14266 	  pic_mode=yes
   14267 	fi
   14268       done
   14269       IFS=$lt_save_ifs
   14270       ;;
   14271     esac
   14272 else
   14273   pic_mode=default
   14274 fi
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283   # Check whether --enable-fast-install was given.
   14284 if test "${enable_fast_install+set}" = set; then :
   14285   enableval=$enable_fast_install; p=${PACKAGE-default}
   14286     case $enableval in
   14287     yes) enable_fast_install=yes ;;
   14288     no) enable_fast_install=no ;;
   14289     *)
   14290       enable_fast_install=no
   14291       # Look at the argument we got.  We use all the common list separators.
   14292       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14293       for pkg in $enableval; do
   14294 	IFS=$lt_save_ifs
   14295 	if test "X$pkg" = "X$p"; then
   14296 	  enable_fast_install=yes
   14297 	fi
   14298       done
   14299       IFS=$lt_save_ifs
   14300       ;;
   14301     esac
   14302 else
   14303   enable_fast_install=yes
   14304 fi
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313   shared_archive_member_spec=
   14314 case $host,$enable_shared in
   14315 power*-*-aix[5-9]*,yes)
   14316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14317 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14318 
   14319 # Check whether --with-aix-soname was given.
   14320 if test "${with_aix_soname+set}" = set; then :
   14321   withval=$with_aix_soname; case $withval in
   14322     aix|svr4|both)
   14323       ;;
   14324     *)
   14325       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14326       ;;
   14327     esac
   14328     lt_cv_with_aix_soname=$with_aix_soname
   14329 else
   14330   if ${lt_cv_with_aix_soname+:} false; then :
   14331   $as_echo_n "(cached) " >&6
   14332 else
   14333   lt_cv_with_aix_soname=aix
   14334 fi
   14335 
   14336     with_aix_soname=$lt_cv_with_aix_soname
   14337 fi
   14338 
   14339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14340 $as_echo "$with_aix_soname" >&6; }
   14341   if test aix != "$with_aix_soname"; then
   14342     # For the AIX way of multilib, we name the shared archive member
   14343     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14344     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14345     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14346     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14347     if test 64 = "${OBJECT_MODE-32}"; then
   14348       shared_archive_member_spec=shr_64
   14349     else
   14350       shared_archive_member_spec=shr
   14351     fi
   14352   fi
   14353   ;;
   14354 *)
   14355   with_aix_soname=aix
   14356   ;;
   14357 esac
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 # This can be used to rebuild libtool when needed
   14369 LIBTOOL_DEPS=$ltmain
   14370 
   14371 # Always use our own libtool.
   14372 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 test -z "$LN_S" && LN_S="ln -s"
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 if test -n "${ZSH_VERSION+set}"; then
   14419    setopt NO_GLOB_SUBST
   14420 fi
   14421 
   14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14423 $as_echo_n "checking for objdir... " >&6; }
   14424 if ${lt_cv_objdir+:} false; then :
   14425   $as_echo_n "(cached) " >&6
   14426 else
   14427   rm -f .libs 2>/dev/null
   14428 mkdir .libs 2>/dev/null
   14429 if test -d .libs; then
   14430   lt_cv_objdir=.libs
   14431 else
   14432   # MS-DOS does not allow filenames that begin with a dot.
   14433   lt_cv_objdir=_libs
   14434 fi
   14435 rmdir .libs 2>/dev/null
   14436 fi
   14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14438 $as_echo "$lt_cv_objdir" >&6; }
   14439 objdir=$lt_cv_objdir
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 cat >>confdefs.h <<_ACEOF
   14446 #define LT_OBJDIR "$lt_cv_objdir/"
   14447 _ACEOF
   14448 
   14449 
   14450 
   14451 
   14452 case $host_os in
   14453 aix3*)
   14454   # AIX sometimes has problems with the GCC collect2 program.  For some
   14455   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14456   # vanish in a puff of smoke.
   14457   if test set != "${COLLECT_NAMES+set}"; then
   14458     COLLECT_NAMES=
   14459     export COLLECT_NAMES
   14460   fi
   14461   ;;
   14462 esac
   14463 
   14464 # Global variables:
   14465 ofile=libtool
   14466 can_build_shared=yes
   14467 
   14468 # All known linkers require a '.a' archive for static linking (except MSVC,
   14469 # which needs '.lib').
   14470 libext=a
   14471 
   14472 with_gnu_ld=$lt_cv_prog_gnu_ld
   14473 
   14474 old_CC=$CC
   14475 old_CFLAGS=$CFLAGS
   14476 
   14477 # Set sane defaults for various variables
   14478 test -z "$CC" && CC=cc
   14479 test -z "$LTCC" && LTCC=$CC
   14480 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14481 test -z "$LD" && LD=ld
   14482 test -z "$ac_objext" && ac_objext=o
   14483 
   14484 func_cc_basename $compiler
   14485 cc_basename=$func_cc_basename_result
   14486 
   14487 
   14488 # Only perform the check for file, if the check method requires it
   14489 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14490 case $deplibs_check_method in
   14491 file_magic*)
   14492   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14494 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14495 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14496   $as_echo_n "(cached) " >&6
   14497 else
   14498   case $MAGIC_CMD in
   14499 [\\/*] |  ?:[\\/]*)
   14500   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14501   ;;
   14502 *)
   14503   lt_save_MAGIC_CMD=$MAGIC_CMD
   14504   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14505   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14506   for ac_dir in $ac_dummy; do
   14507     IFS=$lt_save_ifs
   14508     test -z "$ac_dir" && ac_dir=.
   14509     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14510       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14511       if test -n "$file_magic_test_file"; then
   14512 	case $deplibs_check_method in
   14513 	"file_magic "*)
   14514 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14515 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14516 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14517 	    $EGREP "$file_magic_regex" > /dev/null; then
   14518 	    :
   14519 	  else
   14520 	    cat <<_LT_EOF 1>&2
   14521 
   14522 *** Warning: the command libtool uses to detect shared libraries,
   14523 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14524 *** The result is that libtool may fail to recognize shared libraries
   14525 *** as such.  This will affect the creation of libtool libraries that
   14526 *** depend on shared libraries, but programs linked with such libtool
   14527 *** libraries will work regardless of this problem.  Nevertheless, you
   14528 *** may want to report the problem to your system manager and/or to
   14529 *** bug-libtool (at] gnu.org
   14530 
   14531 _LT_EOF
   14532 	  fi ;;
   14533 	esac
   14534       fi
   14535       break
   14536     fi
   14537   done
   14538   IFS=$lt_save_ifs
   14539   MAGIC_CMD=$lt_save_MAGIC_CMD
   14540   ;;
   14541 esac
   14542 fi
   14543 
   14544 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14545 if test -n "$MAGIC_CMD"; then
   14546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14547 $as_echo "$MAGIC_CMD" >&6; }
   14548 else
   14549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14550 $as_echo "no" >&6; }
   14551 fi
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14558   if test -n "$ac_tool_prefix"; then
   14559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14560 $as_echo_n "checking for file... " >&6; }
   14561 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14562   $as_echo_n "(cached) " >&6
   14563 else
   14564   case $MAGIC_CMD in
   14565 [\\/*] |  ?:[\\/]*)
   14566   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14567   ;;
   14568 *)
   14569   lt_save_MAGIC_CMD=$MAGIC_CMD
   14570   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14571   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14572   for ac_dir in $ac_dummy; do
   14573     IFS=$lt_save_ifs
   14574     test -z "$ac_dir" && ac_dir=.
   14575     if test -f "$ac_dir/file"; then
   14576       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14577       if test -n "$file_magic_test_file"; then
   14578 	case $deplibs_check_method in
   14579 	"file_magic "*)
   14580 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14581 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14582 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14583 	    $EGREP "$file_magic_regex" > /dev/null; then
   14584 	    :
   14585 	  else
   14586 	    cat <<_LT_EOF 1>&2
   14587 
   14588 *** Warning: the command libtool uses to detect shared libraries,
   14589 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14590 *** The result is that libtool may fail to recognize shared libraries
   14591 *** as such.  This will affect the creation of libtool libraries that
   14592 *** depend on shared libraries, but programs linked with such libtool
   14593 *** libraries will work regardless of this problem.  Nevertheless, you
   14594 *** may want to report the problem to your system manager and/or to
   14595 *** bug-libtool (at] gnu.org
   14596 
   14597 _LT_EOF
   14598 	  fi ;;
   14599 	esac
   14600       fi
   14601       break
   14602     fi
   14603   done
   14604   IFS=$lt_save_ifs
   14605   MAGIC_CMD=$lt_save_MAGIC_CMD
   14606   ;;
   14607 esac
   14608 fi
   14609 
   14610 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14611 if test -n "$MAGIC_CMD"; then
   14612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14613 $as_echo "$MAGIC_CMD" >&6; }
   14614 else
   14615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14616 $as_echo "no" >&6; }
   14617 fi
   14618 
   14619 
   14620   else
   14621     MAGIC_CMD=:
   14622   fi
   14623 fi
   14624 
   14625   fi
   14626   ;;
   14627 esac
   14628 
   14629 # Use C for the default configuration in the libtool script
   14630 
   14631 lt_save_CC=$CC
   14632 ac_ext=c
   14633 ac_cpp='$CPP $CPPFLAGS'
   14634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14637 
   14638 
   14639 # Source file extension for C test sources.
   14640 ac_ext=c
   14641 
   14642 # Object file extension for compiled C test sources.
   14643 objext=o
   14644 objext=$objext
   14645 
   14646 # Code to be used in simple compile tests
   14647 lt_simple_compile_test_code="int some_variable = 0;"
   14648 
   14649 # Code to be used in simple link tests
   14650 lt_simple_link_test_code='int main(){return(0);}'
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 # If no C compiler was specified, use CC.
   14659 LTCC=${LTCC-"$CC"}
   14660 
   14661 # If no C compiler flags were specified, use CFLAGS.
   14662 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14663 
   14664 # Allow CC to be a program name with arguments.
   14665 compiler=$CC
   14666 
   14667 # Save the default compiler, since it gets overwritten when the other
   14668 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14669 compiler_DEFAULT=$CC
   14670 
   14671 # save warnings/boilerplate of simple test code
   14672 ac_outfile=conftest.$ac_objext
   14673 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14674 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14675 _lt_compiler_boilerplate=`cat conftest.err`
   14676 $RM conftest*
   14677 
   14678 ac_outfile=conftest.$ac_objext
   14679 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14680 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14681 _lt_linker_boilerplate=`cat conftest.err`
   14682 $RM -r conftest*
   14683 
   14684 
   14685 if test -n "$compiler"; then
   14686 
   14687 lt_prog_compiler_no_builtin_flag=
   14688 
   14689 if test yes = "$GCC"; then
   14690   case $cc_basename in
   14691   nvcc*)
   14692     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14693   *)
   14694     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14695   esac
   14696 
   14697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14698 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14699 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14700   $as_echo_n "(cached) " >&6
   14701 else
   14702   lt_cv_prog_compiler_rtti_exceptions=no
   14703    ac_outfile=conftest.$ac_objext
   14704    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14705    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14706    # Insert the option either (1) after the last *FLAGS variable, or
   14707    # (2) before a word containing "conftest.", or (3) at the end.
   14708    # Note that $ac_compile itself does not contain backslashes and begins
   14709    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14710    # The option is referenced via a variable to avoid confusing sed.
   14711    lt_compile=`echo "$ac_compile" | $SED \
   14712    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14713    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14714    -e 's:$: $lt_compiler_flag:'`
   14715    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14716    (eval "$lt_compile" 2>conftest.err)
   14717    ac_status=$?
   14718    cat conftest.err >&5
   14719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14720    if (exit $ac_status) && test -s "$ac_outfile"; then
   14721      # The compiler can only warn and ignore the option if not recognized
   14722      # So say no if there are warnings other than the usual output.
   14723      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14724      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14725      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14726        lt_cv_prog_compiler_rtti_exceptions=yes
   14727      fi
   14728    fi
   14729    $RM conftest*
   14730 
   14731 fi
   14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14733 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14734 
   14735 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14736     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14737 else
   14738     :
   14739 fi
   14740 
   14741 fi
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748   lt_prog_compiler_wl=
   14749 lt_prog_compiler_pic=
   14750 lt_prog_compiler_static=
   14751 
   14752 
   14753   if test yes = "$GCC"; then
   14754     lt_prog_compiler_wl='-Wl,'
   14755     lt_prog_compiler_static='-static'
   14756 
   14757     case $host_os in
   14758       aix*)
   14759       # All AIX code is PIC.
   14760       if test ia64 = "$host_cpu"; then
   14761 	# AIX 5 now supports IA64 processor
   14762 	lt_prog_compiler_static='-Bstatic'
   14763       fi
   14764       lt_prog_compiler_pic='-fPIC'
   14765       ;;
   14766 
   14767     amigaos*)
   14768       case $host_cpu in
   14769       powerpc)
   14770             # see comment about AmigaOS4 .so support
   14771             lt_prog_compiler_pic='-fPIC'
   14772         ;;
   14773       m68k)
   14774             # FIXME: we need at least 68020 code to build shared libraries, but
   14775             # adding the '-m68020' flag to GCC prevents building anything better,
   14776             # like '-m68040'.
   14777             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14778         ;;
   14779       esac
   14780       ;;
   14781 
   14782     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14783       # PIC is the default for these OSes.
   14784       ;;
   14785 
   14786     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14787       # This hack is so that the source file can tell whether it is being
   14788       # built for inclusion in a dll (and should export symbols for example).
   14789       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14790       # (--disable-auto-import) libraries
   14791       lt_prog_compiler_pic='-DDLL_EXPORT'
   14792       case $host_os in
   14793       os2*)
   14794 	lt_prog_compiler_static='$wl-static'
   14795 	;;
   14796       esac
   14797       ;;
   14798 
   14799     darwin* | rhapsody*)
   14800       # PIC is the default on this platform
   14801       # Common symbols not allowed in MH_DYLIB files
   14802       lt_prog_compiler_pic='-fno-common'
   14803       ;;
   14804 
   14805     haiku*)
   14806       # PIC is the default for Haiku.
   14807       # The "-static" flag exists, but is broken.
   14808       lt_prog_compiler_static=
   14809       ;;
   14810 
   14811     hpux*)
   14812       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14813       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14814       # sets the default TLS model and affects inlining.
   14815       case $host_cpu in
   14816       hppa*64*)
   14817 	# +Z the default
   14818 	;;
   14819       *)
   14820 	lt_prog_compiler_pic='-fPIC'
   14821 	;;
   14822       esac
   14823       ;;
   14824 
   14825     interix[3-9]*)
   14826       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14827       # Instead, we relocate shared libraries at runtime.
   14828       ;;
   14829 
   14830     msdosdjgpp*)
   14831       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14832       # on systems that don't support them.
   14833       lt_prog_compiler_can_build_shared=no
   14834       enable_shared=no
   14835       ;;
   14836 
   14837     *nto* | *qnx*)
   14838       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14839       # it will coredump.
   14840       lt_prog_compiler_pic='-fPIC -shared'
   14841       ;;
   14842 
   14843     sysv4*MP*)
   14844       if test -d /usr/nec; then
   14845 	lt_prog_compiler_pic=-Kconform_pic
   14846       fi
   14847       ;;
   14848 
   14849     *)
   14850       lt_prog_compiler_pic='-fPIC'
   14851       ;;
   14852     esac
   14853 
   14854     case $cc_basename in
   14855     nvcc*) # Cuda Compiler Driver 2.2
   14856       lt_prog_compiler_wl='-Xlinker '
   14857       if test -n "$lt_prog_compiler_pic"; then
   14858         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14859       fi
   14860       ;;
   14861     esac
   14862   else
   14863     # PORTME Check for flag to pass linker flags through the system compiler.
   14864     case $host_os in
   14865     aix*)
   14866       lt_prog_compiler_wl='-Wl,'
   14867       if test ia64 = "$host_cpu"; then
   14868 	# AIX 5 now supports IA64 processor
   14869 	lt_prog_compiler_static='-Bstatic'
   14870       else
   14871 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14872       fi
   14873       ;;
   14874 
   14875     darwin* | rhapsody*)
   14876       # PIC is the default on this platform
   14877       # Common symbols not allowed in MH_DYLIB files
   14878       lt_prog_compiler_pic='-fno-common'
   14879       case $cc_basename in
   14880       nagfor*)
   14881         # NAG Fortran compiler
   14882         lt_prog_compiler_wl='-Wl,-Wl,,'
   14883         lt_prog_compiler_pic='-PIC'
   14884         lt_prog_compiler_static='-Bstatic'
   14885         ;;
   14886       esac
   14887       ;;
   14888 
   14889     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14890       # This hack is so that the source file can tell whether it is being
   14891       # built for inclusion in a dll (and should export symbols for example).
   14892       lt_prog_compiler_pic='-DDLL_EXPORT'
   14893       case $host_os in
   14894       os2*)
   14895 	lt_prog_compiler_static='$wl-static'
   14896 	;;
   14897       esac
   14898       ;;
   14899 
   14900     hpux9* | hpux10* | hpux11*)
   14901       lt_prog_compiler_wl='-Wl,'
   14902       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14903       # not for PA HP-UX.
   14904       case $host_cpu in
   14905       hppa*64*|ia64*)
   14906 	# +Z the default
   14907 	;;
   14908       *)
   14909 	lt_prog_compiler_pic='+Z'
   14910 	;;
   14911       esac
   14912       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14913       lt_prog_compiler_static='$wl-a ${wl}archive'
   14914       ;;
   14915 
   14916     irix5* | irix6* | nonstopux*)
   14917       lt_prog_compiler_wl='-Wl,'
   14918       # PIC (with -KPIC) is the default.
   14919       lt_prog_compiler_static='-non_shared'
   14920       ;;
   14921 
   14922     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14923       case $cc_basename in
   14924       # old Intel for x86_64, which still supported -KPIC.
   14925       ecc*)
   14926 	lt_prog_compiler_wl='-Wl,'
   14927 	lt_prog_compiler_pic='-KPIC'
   14928 	lt_prog_compiler_static='-static'
   14929         ;;
   14930       # icc used to be incompatible with GCC.
   14931       # ICC 10 doesn't accept -KPIC any more.
   14932       icc* | ifort*)
   14933 	lt_prog_compiler_wl='-Wl,'
   14934 	lt_prog_compiler_pic='-fPIC'
   14935 	lt_prog_compiler_static='-static'
   14936         ;;
   14937       # Lahey Fortran 8.1.
   14938       lf95*)
   14939 	lt_prog_compiler_wl='-Wl,'
   14940 	lt_prog_compiler_pic='--shared'
   14941 	lt_prog_compiler_static='--static'
   14942 	;;
   14943       nagfor*)
   14944 	# NAG Fortran compiler
   14945 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14946 	lt_prog_compiler_pic='-PIC'
   14947 	lt_prog_compiler_static='-Bstatic'
   14948 	;;
   14949       tcc*)
   14950 	# Fabrice Bellard et al's Tiny C Compiler
   14951 	lt_prog_compiler_wl='-Wl,'
   14952 	lt_prog_compiler_pic='-fPIC'
   14953 	lt_prog_compiler_static='-static'
   14954 	;;
   14955       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14956         # Portland Group compilers (*not* the Pentium gcc compiler,
   14957 	# which looks to be a dead project)
   14958 	lt_prog_compiler_wl='-Wl,'
   14959 	lt_prog_compiler_pic='-fpic'
   14960 	lt_prog_compiler_static='-Bstatic'
   14961         ;;
   14962       ccc*)
   14963         lt_prog_compiler_wl='-Wl,'
   14964         # All Alpha code is PIC.
   14965         lt_prog_compiler_static='-non_shared'
   14966         ;;
   14967       xl* | bgxl* | bgf* | mpixl*)
   14968 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14969 	lt_prog_compiler_wl='-Wl,'
   14970 	lt_prog_compiler_pic='-qpic'
   14971 	lt_prog_compiler_static='-qstaticlink'
   14972 	;;
   14973       *)
   14974 	case `$CC -V 2>&1 | sed 5q` in
   14975 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14976 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14977 	  lt_prog_compiler_pic='-KPIC'
   14978 	  lt_prog_compiler_static='-Bstatic'
   14979 	  lt_prog_compiler_wl=''
   14980 	  ;;
   14981 	*Sun\ F* | *Sun*Fortran*)
   14982 	  lt_prog_compiler_pic='-KPIC'
   14983 	  lt_prog_compiler_static='-Bstatic'
   14984 	  lt_prog_compiler_wl='-Qoption ld '
   14985 	  ;;
   14986 	*Sun\ C*)
   14987 	  # Sun C 5.9
   14988 	  lt_prog_compiler_pic='-KPIC'
   14989 	  lt_prog_compiler_static='-Bstatic'
   14990 	  lt_prog_compiler_wl='-Wl,'
   14991 	  ;;
   14992         *Intel*\ [CF]*Compiler*)
   14993 	  lt_prog_compiler_wl='-Wl,'
   14994 	  lt_prog_compiler_pic='-fPIC'
   14995 	  lt_prog_compiler_static='-static'
   14996 	  ;;
   14997 	*Portland\ Group*)
   14998 	  lt_prog_compiler_wl='-Wl,'
   14999 	  lt_prog_compiler_pic='-fpic'
   15000 	  lt_prog_compiler_static='-Bstatic'
   15001 	  ;;
   15002 	esac
   15003 	;;
   15004       esac
   15005       ;;
   15006 
   15007     newsos6)
   15008       lt_prog_compiler_pic='-KPIC'
   15009       lt_prog_compiler_static='-Bstatic'
   15010       ;;
   15011 
   15012     *nto* | *qnx*)
   15013       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15014       # it will coredump.
   15015       lt_prog_compiler_pic='-fPIC -shared'
   15016       ;;
   15017 
   15018     osf3* | osf4* | osf5*)
   15019       lt_prog_compiler_wl='-Wl,'
   15020       # All OSF/1 code is PIC.
   15021       lt_prog_compiler_static='-non_shared'
   15022       ;;
   15023 
   15024     rdos*)
   15025       lt_prog_compiler_static='-non_shared'
   15026       ;;
   15027 
   15028     solaris*)
   15029       lt_prog_compiler_pic='-KPIC'
   15030       lt_prog_compiler_static='-Bstatic'
   15031       case $cc_basename in
   15032       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15033 	lt_prog_compiler_wl='-Qoption ld ';;
   15034       *)
   15035 	lt_prog_compiler_wl='-Wl,';;
   15036       esac
   15037       ;;
   15038 
   15039     sunos4*)
   15040       lt_prog_compiler_wl='-Qoption ld '
   15041       lt_prog_compiler_pic='-PIC'
   15042       lt_prog_compiler_static='-Bstatic'
   15043       ;;
   15044 
   15045     sysv4 | sysv4.2uw2* | sysv4.3*)
   15046       lt_prog_compiler_wl='-Wl,'
   15047       lt_prog_compiler_pic='-KPIC'
   15048       lt_prog_compiler_static='-Bstatic'
   15049       ;;
   15050 
   15051     sysv4*MP*)
   15052       if test -d /usr/nec; then
   15053 	lt_prog_compiler_pic='-Kconform_pic'
   15054 	lt_prog_compiler_static='-Bstatic'
   15055       fi
   15056       ;;
   15057 
   15058     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15059       lt_prog_compiler_wl='-Wl,'
   15060       lt_prog_compiler_pic='-KPIC'
   15061       lt_prog_compiler_static='-Bstatic'
   15062       ;;
   15063 
   15064     unicos*)
   15065       lt_prog_compiler_wl='-Wl,'
   15066       lt_prog_compiler_can_build_shared=no
   15067       ;;
   15068 
   15069     uts4*)
   15070       lt_prog_compiler_pic='-pic'
   15071       lt_prog_compiler_static='-Bstatic'
   15072       ;;
   15073 
   15074     *)
   15075       lt_prog_compiler_can_build_shared=no
   15076       ;;
   15077     esac
   15078   fi
   15079 
   15080 case $host_os in
   15081   # For platforms that do not support PIC, -DPIC is meaningless:
   15082   *djgpp*)
   15083     lt_prog_compiler_pic=
   15084     ;;
   15085   *)
   15086     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15087     ;;
   15088 esac
   15089 
   15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15091 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15092 if ${lt_cv_prog_compiler_pic+:} false; then :
   15093   $as_echo_n "(cached) " >&6
   15094 else
   15095   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15096 fi
   15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15098 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15099 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15100 
   15101 #
   15102 # Check to make sure the PIC flag actually works.
   15103 #
   15104 if test -n "$lt_prog_compiler_pic"; then
   15105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15106 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15107 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15108   $as_echo_n "(cached) " >&6
   15109 else
   15110   lt_cv_prog_compiler_pic_works=no
   15111    ac_outfile=conftest.$ac_objext
   15112    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15113    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15114    # Insert the option either (1) after the last *FLAGS variable, or
   15115    # (2) before a word containing "conftest.", or (3) at the end.
   15116    # Note that $ac_compile itself does not contain backslashes and begins
   15117    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15118    # The option is referenced via a variable to avoid confusing sed.
   15119    lt_compile=`echo "$ac_compile" | $SED \
   15120    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15121    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15122    -e 's:$: $lt_compiler_flag:'`
   15123    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15124    (eval "$lt_compile" 2>conftest.err)
   15125    ac_status=$?
   15126    cat conftest.err >&5
   15127    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15128    if (exit $ac_status) && test -s "$ac_outfile"; then
   15129      # The compiler can only warn and ignore the option if not recognized
   15130      # So say no if there are warnings other than the usual output.
   15131      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15132      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15133      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15134        lt_cv_prog_compiler_pic_works=yes
   15135      fi
   15136    fi
   15137    $RM conftest*
   15138 
   15139 fi
   15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15141 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15142 
   15143 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15144     case $lt_prog_compiler_pic in
   15145      "" | " "*) ;;
   15146      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15147      esac
   15148 else
   15149     lt_prog_compiler_pic=
   15150      lt_prog_compiler_can_build_shared=no
   15151 fi
   15152 
   15153 fi
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 #
   15166 # Check to make sure the static flag actually works.
   15167 #
   15168 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15170 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15171 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15172   $as_echo_n "(cached) " >&6
   15173 else
   15174   lt_cv_prog_compiler_static_works=no
   15175    save_LDFLAGS=$LDFLAGS
   15176    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15177    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15178    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15179      # The linker can only warn and ignore the option if not recognized
   15180      # So say no if there are warnings
   15181      if test -s conftest.err; then
   15182        # Append any errors to the config.log.
   15183        cat conftest.err 1>&5
   15184        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15185        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15186        if diff conftest.exp conftest.er2 >/dev/null; then
   15187          lt_cv_prog_compiler_static_works=yes
   15188        fi
   15189      else
   15190        lt_cv_prog_compiler_static_works=yes
   15191      fi
   15192    fi
   15193    $RM -r conftest*
   15194    LDFLAGS=$save_LDFLAGS
   15195 
   15196 fi
   15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15198 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15199 
   15200 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15201     :
   15202 else
   15203     lt_prog_compiler_static=
   15204 fi
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15213 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15214 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15215   $as_echo_n "(cached) " >&6
   15216 else
   15217   lt_cv_prog_compiler_c_o=no
   15218    $RM -r conftest 2>/dev/null
   15219    mkdir conftest
   15220    cd conftest
   15221    mkdir out
   15222    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15223 
   15224    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15225    # Insert the option either (1) after the last *FLAGS variable, or
   15226    # (2) before a word containing "conftest.", or (3) at the end.
   15227    # Note that $ac_compile itself does not contain backslashes and begins
   15228    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15229    lt_compile=`echo "$ac_compile" | $SED \
   15230    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15231    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15232    -e 's:$: $lt_compiler_flag:'`
   15233    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15234    (eval "$lt_compile" 2>out/conftest.err)
   15235    ac_status=$?
   15236    cat out/conftest.err >&5
   15237    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15238    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15239    then
   15240      # The compiler can only warn and ignore the option if not recognized
   15241      # So say no if there are warnings
   15242      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15243      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15244      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15245        lt_cv_prog_compiler_c_o=yes
   15246      fi
   15247    fi
   15248    chmod u+w . 2>&5
   15249    $RM conftest*
   15250    # SGI C++ compiler will create directory out/ii_files/ for
   15251    # template instantiation
   15252    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15253    $RM out/* && rmdir out
   15254    cd ..
   15255    $RM -r conftest
   15256    $RM conftest*
   15257 
   15258 fi
   15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15260 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15268 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15269 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15270   $as_echo_n "(cached) " >&6
   15271 else
   15272   lt_cv_prog_compiler_c_o=no
   15273    $RM -r conftest 2>/dev/null
   15274    mkdir conftest
   15275    cd conftest
   15276    mkdir out
   15277    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15278 
   15279    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15280    # Insert the option either (1) after the last *FLAGS variable, or
   15281    # (2) before a word containing "conftest.", or (3) at the end.
   15282    # Note that $ac_compile itself does not contain backslashes and begins
   15283    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15284    lt_compile=`echo "$ac_compile" | $SED \
   15285    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15286    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15287    -e 's:$: $lt_compiler_flag:'`
   15288    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15289    (eval "$lt_compile" 2>out/conftest.err)
   15290    ac_status=$?
   15291    cat out/conftest.err >&5
   15292    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15293    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15294    then
   15295      # The compiler can only warn and ignore the option if not recognized
   15296      # So say no if there are warnings
   15297      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15298      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15299      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15300        lt_cv_prog_compiler_c_o=yes
   15301      fi
   15302    fi
   15303    chmod u+w . 2>&5
   15304    $RM conftest*
   15305    # SGI C++ compiler will create directory out/ii_files/ for
   15306    # template instantiation
   15307    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15308    $RM out/* && rmdir out
   15309    cd ..
   15310    $RM -r conftest
   15311    $RM conftest*
   15312 
   15313 fi
   15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15315 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15316 
   15317 
   15318 
   15319 
   15320 hard_links=nottested
   15321 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15322   # do not overwrite the value of need_locks provided by the user
   15323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15324 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15325   hard_links=yes
   15326   $RM conftest*
   15327   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15328   touch conftest.a
   15329   ln conftest.a conftest.b 2>&5 || hard_links=no
   15330   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15332 $as_echo "$hard_links" >&6; }
   15333   if test no = "$hard_links"; then
   15334     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15335 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15336     need_locks=warn
   15337   fi
   15338 else
   15339   need_locks=no
   15340 fi
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15348 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15349 
   15350   runpath_var=
   15351   allow_undefined_flag=
   15352   always_export_symbols=no
   15353   archive_cmds=
   15354   archive_expsym_cmds=
   15355   compiler_needs_object=no
   15356   enable_shared_with_static_runtimes=no
   15357   export_dynamic_flag_spec=
   15358   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15359   hardcode_automatic=no
   15360   hardcode_direct=no
   15361   hardcode_direct_absolute=no
   15362   hardcode_libdir_flag_spec=
   15363   hardcode_libdir_separator=
   15364   hardcode_minus_L=no
   15365   hardcode_shlibpath_var=unsupported
   15366   inherit_rpath=no
   15367   link_all_deplibs=unknown
   15368   module_cmds=
   15369   module_expsym_cmds=
   15370   old_archive_from_new_cmds=
   15371   old_archive_from_expsyms_cmds=
   15372   thread_safe_flag_spec=
   15373   whole_archive_flag_spec=
   15374   # include_expsyms should be a list of space-separated symbols to be *always*
   15375   # included in the symbol list
   15376   include_expsyms=
   15377   # exclude_expsyms can be an extended regexp of symbols to exclude
   15378   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15379   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15380   # as well as any symbol that contains 'd'.
   15381   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15382   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15383   # platforms (ab)use it in PIC code, but their linkers get confused if
   15384   # the symbol is explicitly referenced.  Since portable code cannot
   15385   # rely on this symbol name, it's probably fine to never include it in
   15386   # preloaded symbol tables.
   15387   # Exclude shared library initialization/finalization symbols.
   15388   extract_expsyms_cmds=
   15389 
   15390   case $host_os in
   15391   cygwin* | mingw* | pw32* | cegcc*)
   15392     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15393     # When not using gcc, we currently assume that we are using
   15394     # Microsoft Visual C++.
   15395     if test yes != "$GCC"; then
   15396       with_gnu_ld=no
   15397     fi
   15398     ;;
   15399   interix*)
   15400     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15401     with_gnu_ld=yes
   15402     ;;
   15403   openbsd* | bitrig*)
   15404     with_gnu_ld=no
   15405     ;;
   15406   esac
   15407 
   15408   ld_shlibs=yes
   15409 
   15410   # On some targets, GNU ld is compatible enough with the native linker
   15411   # that we're better off using the native interface for both.
   15412   lt_use_gnu_ld_interface=no
   15413   if test yes = "$with_gnu_ld"; then
   15414     case $host_os in
   15415       aix*)
   15416 	# The AIX port of GNU ld has always aspired to compatibility
   15417 	# with the native linker.  However, as the warning in the GNU ld
   15418 	# block says, versions before 2.19.5* couldn't really create working
   15419 	# shared libraries, regardless of the interface used.
   15420 	case `$LD -v 2>&1` in
   15421 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15422 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15423 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15424 	  *)
   15425 	    lt_use_gnu_ld_interface=yes
   15426 	    ;;
   15427 	esac
   15428 	;;
   15429       *)
   15430 	lt_use_gnu_ld_interface=yes
   15431 	;;
   15432     esac
   15433   fi
   15434 
   15435   if test yes = "$lt_use_gnu_ld_interface"; then
   15436     # If archive_cmds runs LD, not CC, wlarc should be empty
   15437     wlarc='$wl'
   15438 
   15439     # Set some defaults for GNU ld with shared library support. These
   15440     # are reset later if shared libraries are not supported. Putting them
   15441     # here allows them to be overridden if necessary.
   15442     runpath_var=LD_RUN_PATH
   15443     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15444     export_dynamic_flag_spec='$wl--export-dynamic'
   15445     # ancient GNU ld didn't support --whole-archive et. al.
   15446     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15447       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15448     else
   15449       whole_archive_flag_spec=
   15450     fi
   15451     supports_anon_versioning=no
   15452     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15453       *GNU\ gold*) supports_anon_versioning=yes ;;
   15454       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15455       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15456       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15457       *\ 2.11.*) ;; # other 2.11 versions
   15458       *) supports_anon_versioning=yes ;;
   15459     esac
   15460 
   15461     # See if GNU ld supports shared libraries.
   15462     case $host_os in
   15463     aix[3-9]*)
   15464       # On AIX/PPC, the GNU linker is very broken
   15465       if test ia64 != "$host_cpu"; then
   15466 	ld_shlibs=no
   15467 	cat <<_LT_EOF 1>&2
   15468 
   15469 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15470 *** to be unable to reliably create shared libraries on AIX.
   15471 *** Therefore, libtool is disabling shared libraries support.  If you
   15472 *** really care for shared libraries, you may want to install binutils
   15473 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15474 *** You will then need to restart the configuration process.
   15475 
   15476 _LT_EOF
   15477       fi
   15478       ;;
   15479 
   15480     amigaos*)
   15481       case $host_cpu in
   15482       powerpc)
   15483             # see comment about AmigaOS4 .so support
   15484             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15485             archive_expsym_cmds=''
   15486         ;;
   15487       m68k)
   15488             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)'
   15489             hardcode_libdir_flag_spec='-L$libdir'
   15490             hardcode_minus_L=yes
   15491         ;;
   15492       esac
   15493       ;;
   15494 
   15495     beos*)
   15496       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15497 	allow_undefined_flag=unsupported
   15498 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15499 	# support --undefined.  This deserves some investigation.  FIXME
   15500 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15501       else
   15502 	ld_shlibs=no
   15503       fi
   15504       ;;
   15505 
   15506     cygwin* | mingw* | pw32* | cegcc*)
   15507       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15508       # as there is no search path for DLLs.
   15509       hardcode_libdir_flag_spec='-L$libdir'
   15510       export_dynamic_flag_spec='$wl--export-all-symbols'
   15511       allow_undefined_flag=unsupported
   15512       always_export_symbols=no
   15513       enable_shared_with_static_runtimes=yes
   15514       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'
   15515       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15516 
   15517       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15518         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15519 	# If the export-symbols file already is a .def file, use it as
   15520 	# is; otherwise, prepend EXPORTS...
   15521 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15522           cp $export_symbols $output_objdir/$soname.def;
   15523         else
   15524           echo EXPORTS > $output_objdir/$soname.def;
   15525           cat $export_symbols >> $output_objdir/$soname.def;
   15526         fi~
   15527         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15528       else
   15529 	ld_shlibs=no
   15530       fi
   15531       ;;
   15532 
   15533     haiku*)
   15534       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15535       link_all_deplibs=yes
   15536       ;;
   15537 
   15538     os2*)
   15539       hardcode_libdir_flag_spec='-L$libdir'
   15540       hardcode_minus_L=yes
   15541       allow_undefined_flag=unsupported
   15542       shrext_cmds=.dll
   15543       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15544 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15545 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15546 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15547 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15548 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15549 	emximp -o $lib $output_objdir/$libname.def'
   15550       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15551 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15552 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15553 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15554 	prefix_cmds="$SED"~
   15555 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15556 	  prefix_cmds="$prefix_cmds -e 1d";
   15557 	fi~
   15558 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15559 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15560 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15561 	emximp -o $lib $output_objdir/$libname.def'
   15562       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15563       enable_shared_with_static_runtimes=yes
   15564       ;;
   15565 
   15566     interix[3-9]*)
   15567       hardcode_direct=no
   15568       hardcode_shlibpath_var=no
   15569       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15570       export_dynamic_flag_spec='$wl-E'
   15571       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15572       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15573       # default) and relocated if they conflict, which is a slow very memory
   15574       # consuming and fragmenting process.  To avoid this, we pick a random,
   15575       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15576       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15577       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15578       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'
   15579       ;;
   15580 
   15581     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15582       tmp_diet=no
   15583       if test linux-dietlibc = "$host_os"; then
   15584 	case $cc_basename in
   15585 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15586 	esac
   15587       fi
   15588       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15589 	 && test no = "$tmp_diet"
   15590       then
   15591 	tmp_addflag=' $pic_flag'
   15592 	tmp_sharedflag='-shared'
   15593 	case $cc_basename,$host_cpu in
   15594         pgcc*)				# Portland Group C compiler
   15595 	  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'
   15596 	  tmp_addflag=' $pic_flag'
   15597 	  ;;
   15598 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15599 					# Portland Group f77 and f90 compilers
   15600 	  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'
   15601 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15602 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15603 	  tmp_addflag=' -i_dynamic' ;;
   15604 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15605 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15606 	ifc* | ifort*)			# Intel Fortran compiler
   15607 	  tmp_addflag=' -nofor_main' ;;
   15608 	lf95*)				# Lahey Fortran 8.1
   15609 	  whole_archive_flag_spec=
   15610 	  tmp_sharedflag='--shared' ;;
   15611         nagfor*)                        # NAGFOR 5.3
   15612           tmp_sharedflag='-Wl,-shared' ;;
   15613 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15614 	  tmp_sharedflag='-qmkshrobj'
   15615 	  tmp_addflag= ;;
   15616 	nvcc*)	# Cuda Compiler Driver 2.2
   15617 	  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'
   15618 	  compiler_needs_object=yes
   15619 	  ;;
   15620 	esac
   15621 	case `$CC -V 2>&1 | sed 5q` in
   15622 	*Sun\ C*)			# Sun C 5.9
   15623 	  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'
   15624 	  compiler_needs_object=yes
   15625 	  tmp_sharedflag='-G' ;;
   15626 	*Sun\ F*)			# Sun Fortran 8.3
   15627 	  tmp_sharedflag='-G' ;;
   15628 	esac
   15629 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15630 
   15631         if test yes = "$supports_anon_versioning"; then
   15632           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15633             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15634             echo "local: *; };" >> $output_objdir/$libname.ver~
   15635             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15636         fi
   15637 
   15638 	case $cc_basename in
   15639 	tcc*)
   15640 	  export_dynamic_flag_spec='-rdynamic'
   15641 	  ;;
   15642 	xlf* | bgf* | bgxlf* | mpixlf*)
   15643 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15644 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15645 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15646 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15647 	  if test yes = "$supports_anon_versioning"; then
   15648 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15649               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15650               echo "local: *; };" >> $output_objdir/$libname.ver~
   15651               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15652 	  fi
   15653 	  ;;
   15654 	esac
   15655       else
   15656         ld_shlibs=no
   15657       fi
   15658       ;;
   15659 
   15660     netbsd*)
   15661       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15662 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15663 	wlarc=
   15664       else
   15665 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15666 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15667       fi
   15668       ;;
   15669 
   15670     solaris*)
   15671       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15672 	ld_shlibs=no
   15673 	cat <<_LT_EOF 1>&2
   15674 
   15675 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15676 *** create shared libraries on Solaris systems.  Therefore, libtool
   15677 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15678 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15679 *** your PATH or compiler configuration so that the native linker is
   15680 *** used, and then restart.
   15681 
   15682 _LT_EOF
   15683       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15684 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15685 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15686       else
   15687 	ld_shlibs=no
   15688       fi
   15689       ;;
   15690 
   15691     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15692       case `$LD -v 2>&1` in
   15693         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15694 	ld_shlibs=no
   15695 	cat <<_LT_EOF 1>&2
   15696 
   15697 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15698 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15699 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15700 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15701 *** your PATH or compiler configuration so that the native linker is
   15702 *** used, and then restart.
   15703 
   15704 _LT_EOF
   15705 	;;
   15706 	*)
   15707 	  # For security reasons, it is highly recommended that you always
   15708 	  # use absolute paths for naming shared libraries, and exclude the
   15709 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15710 	  # requires that you compile everything twice, which is a pain.
   15711 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15712 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15713 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15714 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15715 	  else
   15716 	    ld_shlibs=no
   15717 	  fi
   15718 	;;
   15719       esac
   15720       ;;
   15721 
   15722     sunos4*)
   15723       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15724       wlarc=
   15725       hardcode_direct=yes
   15726       hardcode_shlibpath_var=no
   15727       ;;
   15728 
   15729     *)
   15730       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15731 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15732 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15733       else
   15734 	ld_shlibs=no
   15735       fi
   15736       ;;
   15737     esac
   15738 
   15739     if test no = "$ld_shlibs"; then
   15740       runpath_var=
   15741       hardcode_libdir_flag_spec=
   15742       export_dynamic_flag_spec=
   15743       whole_archive_flag_spec=
   15744     fi
   15745   else
   15746     # PORTME fill in a description of your system's linker (not GNU ld)
   15747     case $host_os in
   15748     aix3*)
   15749       allow_undefined_flag=unsupported
   15750       always_export_symbols=yes
   15751       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'
   15752       # Note: this linker hardcodes the directories in LIBPATH if there
   15753       # are no directories specified by -L.
   15754       hardcode_minus_L=yes
   15755       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15756 	# Neither direct hardcoding nor static linking is supported with a
   15757 	# broken collect2.
   15758 	hardcode_direct=unsupported
   15759       fi
   15760       ;;
   15761 
   15762     aix[4-9]*)
   15763       if test ia64 = "$host_cpu"; then
   15764 	# On IA64, the linker does run time linking by default, so we don't
   15765 	# have to do anything special.
   15766 	aix_use_runtimelinking=no
   15767 	exp_sym_flag='-Bexport'
   15768 	no_entry_flag=
   15769       else
   15770 	# If we're using GNU nm, then we don't want the "-C" option.
   15771 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15772 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15773 	# weak defined symbols like other global defined symbols, whereas
   15774 	# GNU nm marks them as "W".
   15775 	# While the 'weak' keyword is ignored in the Export File, we need
   15776 	# it in the Import File for the 'aix-soname' feature, so we have
   15777 	# to replace the "-B" option with "-P" for AIX nm.
   15778 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15779 	  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'
   15780 	else
   15781 	  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'
   15782 	fi
   15783 	aix_use_runtimelinking=no
   15784 
   15785 	# Test if we are trying to use run time linking or normal
   15786 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15787 	# have runtime linking enabled, and use it for executables.
   15788 	# For shared libraries, we enable/disable runtime linking
   15789 	# depending on the kind of the shared library created -
   15790 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15791 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15792 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15793 	#            lib.a           static archive
   15794 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15795 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15796 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15797 	#            lib.a(lib.so.V) shared, rtl:no
   15798 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15799 	#            lib.a           static archive
   15800 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15801 	  for ld_flag in $LDFLAGS; do
   15802 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15803 	    aix_use_runtimelinking=yes
   15804 	    break
   15805 	  fi
   15806 	  done
   15807 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15808 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15809 	    # so we don't have lib.a shared libs to link our executables.
   15810 	    # We have to force runtime linking in this case.
   15811 	    aix_use_runtimelinking=yes
   15812 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15813 	  fi
   15814 	  ;;
   15815 	esac
   15816 
   15817 	exp_sym_flag='-bexport'
   15818 	no_entry_flag='-bnoentry'
   15819       fi
   15820 
   15821       # When large executables or shared objects are built, AIX ld can
   15822       # have problems creating the table of contents.  If linking a library
   15823       # or program results in "error TOC overflow" add -mminimal-toc to
   15824       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15825       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15826 
   15827       archive_cmds=''
   15828       hardcode_direct=yes
   15829       hardcode_direct_absolute=yes
   15830       hardcode_libdir_separator=':'
   15831       link_all_deplibs=yes
   15832       file_list_spec='$wl-f,'
   15833       case $with_aix_soname,$aix_use_runtimelinking in
   15834       aix,*) ;; # traditional, no import file
   15835       svr4,* | *,yes) # use import file
   15836 	# The Import File defines what to hardcode.
   15837 	hardcode_direct=no
   15838 	hardcode_direct_absolute=no
   15839 	;;
   15840       esac
   15841 
   15842       if test yes = "$GCC"; then
   15843 	case $host_os in aix4.[012]|aix4.[012].*)
   15844 	# We only want to do this on AIX 4.2 and lower, the check
   15845 	# below for broken collect2 doesn't work under 4.3+
   15846 	  collect2name=`$CC -print-prog-name=collect2`
   15847 	  if test -f "$collect2name" &&
   15848 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15849 	  then
   15850 	  # We have reworked collect2
   15851 	  :
   15852 	  else
   15853 	  # We have old collect2
   15854 	  hardcode_direct=unsupported
   15855 	  # It fails to find uninstalled libraries when the uninstalled
   15856 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15857 	  # to unsupported forces relinking
   15858 	  hardcode_minus_L=yes
   15859 	  hardcode_libdir_flag_spec='-L$libdir'
   15860 	  hardcode_libdir_separator=
   15861 	  fi
   15862 	  ;;
   15863 	esac
   15864 	shared_flag='-shared'
   15865 	if test yes = "$aix_use_runtimelinking"; then
   15866 	  shared_flag="$shared_flag "'$wl-G'
   15867 	fi
   15868 	# Need to ensure runtime linking is disabled for the traditional
   15869 	# shared library, or the linker may eventually find shared libraries
   15870 	# /with/ Import File - we do not want to mix them.
   15871 	shared_flag_aix='-shared'
   15872 	shared_flag_svr4='-shared $wl-G'
   15873       else
   15874 	# not using gcc
   15875 	if test ia64 = "$host_cpu"; then
   15876 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15877 	# chokes on -Wl,-G. The following line is correct:
   15878 	  shared_flag='-G'
   15879 	else
   15880 	  if test yes = "$aix_use_runtimelinking"; then
   15881 	    shared_flag='$wl-G'
   15882 	  else
   15883 	    shared_flag='$wl-bM:SRE'
   15884 	  fi
   15885 	  shared_flag_aix='$wl-bM:SRE'
   15886 	  shared_flag_svr4='$wl-G'
   15887 	fi
   15888       fi
   15889 
   15890       export_dynamic_flag_spec='$wl-bexpall'
   15891       # It seems that -bexpall does not export symbols beginning with
   15892       # underscore (_), so it is better to generate a list of symbols to export.
   15893       always_export_symbols=yes
   15894       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15895 	# Warning - without using the other runtime loading flags (-brtl),
   15896 	# -berok will link without error, but may produce a broken library.
   15897 	allow_undefined_flag='-berok'
   15898         # Determine the default libpath from the value encoded in an
   15899         # empty executable.
   15900         if test set = "${lt_cv_aix_libpath+set}"; then
   15901   aix_libpath=$lt_cv_aix_libpath
   15902 else
   15903   if ${lt_cv_aix_libpath_+:} false; then :
   15904   $as_echo_n "(cached) " >&6
   15905 else
   15906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15907 /* end confdefs.h.  */
   15908 
   15909 int
   15910 main ()
   15911 {
   15912 
   15913   ;
   15914   return 0;
   15915 }
   15916 _ACEOF
   15917 if ac_fn_c_try_link "$LINENO"; then :
   15918 
   15919   lt_aix_libpath_sed='
   15920       /Import File Strings/,/^$/ {
   15921 	  /^0/ {
   15922 	      s/^0  *\([^ ]*\) *$/\1/
   15923 	      p
   15924 	  }
   15925       }'
   15926   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15927   # Check for a 64-bit object if we didn't find anything.
   15928   if test -z "$lt_cv_aix_libpath_"; then
   15929     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15930   fi
   15931 fi
   15932 rm -f core conftest.err conftest.$ac_objext \
   15933     conftest$ac_exeext conftest.$ac_ext
   15934   if test -z "$lt_cv_aix_libpath_"; then
   15935     lt_cv_aix_libpath_=/usr/lib:/lib
   15936   fi
   15937 
   15938 fi
   15939 
   15940   aix_libpath=$lt_cv_aix_libpath_
   15941 fi
   15942 
   15943         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15944         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
   15945       else
   15946 	if test ia64 = "$host_cpu"; then
   15947 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15948 	  allow_undefined_flag="-z nodefs"
   15949 	  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"
   15950 	else
   15951 	 # Determine the default libpath from the value encoded in an
   15952 	 # empty executable.
   15953 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15954   aix_libpath=$lt_cv_aix_libpath
   15955 else
   15956   if ${lt_cv_aix_libpath_+:} false; then :
   15957   $as_echo_n "(cached) " >&6
   15958 else
   15959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 
   15962 int
   15963 main ()
   15964 {
   15965 
   15966   ;
   15967   return 0;
   15968 }
   15969 _ACEOF
   15970 if ac_fn_c_try_link "$LINENO"; then :
   15971 
   15972   lt_aix_libpath_sed='
   15973       /Import File Strings/,/^$/ {
   15974 	  /^0/ {
   15975 	      s/^0  *\([^ ]*\) *$/\1/
   15976 	      p
   15977 	  }
   15978       }'
   15979   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15980   # Check for a 64-bit object if we didn't find anything.
   15981   if test -z "$lt_cv_aix_libpath_"; then
   15982     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15983   fi
   15984 fi
   15985 rm -f core conftest.err conftest.$ac_objext \
   15986     conftest$ac_exeext conftest.$ac_ext
   15987   if test -z "$lt_cv_aix_libpath_"; then
   15988     lt_cv_aix_libpath_=/usr/lib:/lib
   15989   fi
   15990 
   15991 fi
   15992 
   15993   aix_libpath=$lt_cv_aix_libpath_
   15994 fi
   15995 
   15996 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15997 	  # Warning - without using the other run time loading flags,
   15998 	  # -berok will link without error, but may produce a broken library.
   15999 	  no_undefined_flag=' $wl-bernotok'
   16000 	  allow_undefined_flag=' $wl-berok'
   16001 	  if test yes = "$with_gnu_ld"; then
   16002 	    # We only use this code for GNU lds that support --whole-archive.
   16003 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16004 	  else
   16005 	    # Exported symbols can be pulled into shared objects from archives
   16006 	    whole_archive_flag_spec='$convenience'
   16007 	  fi
   16008 	  archive_cmds_need_lc=yes
   16009 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16010 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16011 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16012 	  if test svr4 != "$with_aix_soname"; then
   16013 	    # This is similar to how AIX traditionally builds its shared libraries.
   16014 	    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'
   16015 	  fi
   16016 	  if test aix != "$with_aix_soname"; then
   16017 	    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'
   16018 	  else
   16019 	    # used by -dlpreopen to get the symbols
   16020 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16021 	  fi
   16022 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16023 	fi
   16024       fi
   16025       ;;
   16026 
   16027     amigaos*)
   16028       case $host_cpu in
   16029       powerpc)
   16030             # see comment about AmigaOS4 .so support
   16031             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16032             archive_expsym_cmds=''
   16033         ;;
   16034       m68k)
   16035             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)'
   16036             hardcode_libdir_flag_spec='-L$libdir'
   16037             hardcode_minus_L=yes
   16038         ;;
   16039       esac
   16040       ;;
   16041 
   16042     bsdi[45]*)
   16043       export_dynamic_flag_spec=-rdynamic
   16044       ;;
   16045 
   16046     cygwin* | mingw* | pw32* | cegcc*)
   16047       # When not using gcc, we currently assume that we are using
   16048       # Microsoft Visual C++.
   16049       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16050       # no search path for DLLs.
   16051       case $cc_basename in
   16052       cl*)
   16053 	# Native MSVC
   16054 	hardcode_libdir_flag_spec=' '
   16055 	allow_undefined_flag=unsupported
   16056 	always_export_symbols=yes
   16057 	file_list_spec='@'
   16058 	# Tell ltmain to make .lib files, not .a files.
   16059 	libext=lib
   16060 	# Tell ltmain to make .dll files, not .so files.
   16061 	shrext_cmds=.dll
   16062 	# FIXME: Setting linknames here is a bad hack.
   16063 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16064 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16065             cp "$export_symbols" "$output_objdir/$soname.def";
   16066             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16067           else
   16068             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16069           fi~
   16070           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16071           linknames='
   16072 	# The linker will not automatically build a static lib if we build a DLL.
   16073 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16074 	enable_shared_with_static_runtimes=yes
   16075 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16076 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16077 	# Don't use ranlib
   16078 	old_postinstall_cmds='chmod 644 $oldlib'
   16079 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16080           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16081           case $lt_outputfile in
   16082             *.exe|*.EXE) ;;
   16083             *)
   16084               lt_outputfile=$lt_outputfile.exe
   16085               lt_tool_outputfile=$lt_tool_outputfile.exe
   16086               ;;
   16087           esac~
   16088           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16089             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16090             $RM "$lt_outputfile.manifest";
   16091           fi'
   16092 	;;
   16093       *)
   16094 	# Assume MSVC wrapper
   16095 	hardcode_libdir_flag_spec=' '
   16096 	allow_undefined_flag=unsupported
   16097 	# Tell ltmain to make .lib files, not .a files.
   16098 	libext=lib
   16099 	# Tell ltmain to make .dll files, not .so files.
   16100 	shrext_cmds=.dll
   16101 	# FIXME: Setting linknames here is a bad hack.
   16102 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16103 	# The linker will automatically build a .lib file if we build a DLL.
   16104 	old_archive_from_new_cmds='true'
   16105 	# FIXME: Should let the user specify the lib program.
   16106 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16107 	enable_shared_with_static_runtimes=yes
   16108 	;;
   16109       esac
   16110       ;;
   16111 
   16112     darwin* | rhapsody*)
   16113 
   16114 
   16115   archive_cmds_need_lc=no
   16116   hardcode_direct=no
   16117   hardcode_automatic=yes
   16118   hardcode_shlibpath_var=unsupported
   16119   if test yes = "$lt_cv_ld_force_load"; then
   16120     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\"`'
   16121 
   16122   else
   16123     whole_archive_flag_spec=''
   16124   fi
   16125   link_all_deplibs=yes
   16126   allow_undefined_flag=$_lt_dar_allow_undefined
   16127   case $cc_basename in
   16128      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16129      *) _lt_dar_can_shared=$GCC ;;
   16130   esac
   16131   if test yes = "$_lt_dar_can_shared"; then
   16132     output_verbose_link_cmd=func_echo_all
   16133     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16134     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16135     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"
   16136     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"
   16137 
   16138   else
   16139   ld_shlibs=no
   16140   fi
   16141 
   16142       ;;
   16143 
   16144     dgux*)
   16145       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16146       hardcode_libdir_flag_spec='-L$libdir'
   16147       hardcode_shlibpath_var=no
   16148       ;;
   16149 
   16150     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16151     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16152     # does not break anything, and helps significantly (at the cost of a little
   16153     # extra space).
   16154     freebsd2.2*)
   16155       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16156       hardcode_libdir_flag_spec='-R$libdir'
   16157       hardcode_direct=yes
   16158       hardcode_shlibpath_var=no
   16159       ;;
   16160 
   16161     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16162     freebsd2.*)
   16163       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16164       hardcode_direct=yes
   16165       hardcode_minus_L=yes
   16166       hardcode_shlibpath_var=no
   16167       ;;
   16168 
   16169     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16170     freebsd* | dragonfly*)
   16171       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16172       hardcode_libdir_flag_spec='-R$libdir'
   16173       hardcode_direct=yes
   16174       hardcode_shlibpath_var=no
   16175       ;;
   16176 
   16177     hpux9*)
   16178       if test yes = "$GCC"; then
   16179 	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'
   16180       else
   16181 	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'
   16182       fi
   16183       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16184       hardcode_libdir_separator=:
   16185       hardcode_direct=yes
   16186 
   16187       # hardcode_minus_L: Not really in the search PATH,
   16188       # but as the default location of the library.
   16189       hardcode_minus_L=yes
   16190       export_dynamic_flag_spec='$wl-E'
   16191       ;;
   16192 
   16193     hpux10*)
   16194       if test yes,no = "$GCC,$with_gnu_ld"; then
   16195 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16196       else
   16197 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16198       fi
   16199       if test no = "$with_gnu_ld"; then
   16200 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16201 	hardcode_libdir_separator=:
   16202 	hardcode_direct=yes
   16203 	hardcode_direct_absolute=yes
   16204 	export_dynamic_flag_spec='$wl-E'
   16205 	# hardcode_minus_L: Not really in the search PATH,
   16206 	# but as the default location of the library.
   16207 	hardcode_minus_L=yes
   16208       fi
   16209       ;;
   16210 
   16211     hpux11*)
   16212       if test yes,no = "$GCC,$with_gnu_ld"; then
   16213 	case $host_cpu in
   16214 	hppa*64*)
   16215 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16216 	  ;;
   16217 	ia64*)
   16218 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16219 	  ;;
   16220 	*)
   16221 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16222 	  ;;
   16223 	esac
   16224       else
   16225 	case $host_cpu in
   16226 	hppa*64*)
   16227 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16228 	  ;;
   16229 	ia64*)
   16230 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16231 	  ;;
   16232 	*)
   16233 
   16234 	  # Older versions of the 11.00 compiler do not understand -b yet
   16235 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16236 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16237 $as_echo_n "checking if $CC understands -b... " >&6; }
   16238 if ${lt_cv_prog_compiler__b+:} false; then :
   16239   $as_echo_n "(cached) " >&6
   16240 else
   16241   lt_cv_prog_compiler__b=no
   16242    save_LDFLAGS=$LDFLAGS
   16243    LDFLAGS="$LDFLAGS -b"
   16244    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16245    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16246      # The linker can only warn and ignore the option if not recognized
   16247      # So say no if there are warnings
   16248      if test -s conftest.err; then
   16249        # Append any errors to the config.log.
   16250        cat conftest.err 1>&5
   16251        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16252        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16253        if diff conftest.exp conftest.er2 >/dev/null; then
   16254          lt_cv_prog_compiler__b=yes
   16255        fi
   16256      else
   16257        lt_cv_prog_compiler__b=yes
   16258      fi
   16259    fi
   16260    $RM -r conftest*
   16261    LDFLAGS=$save_LDFLAGS
   16262 
   16263 fi
   16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16265 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16266 
   16267 if test yes = "$lt_cv_prog_compiler__b"; then
   16268     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16269 else
   16270     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16271 fi
   16272 
   16273 	  ;;
   16274 	esac
   16275       fi
   16276       if test no = "$with_gnu_ld"; then
   16277 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16278 	hardcode_libdir_separator=:
   16279 
   16280 	case $host_cpu in
   16281 	hppa*64*|ia64*)
   16282 	  hardcode_direct=no
   16283 	  hardcode_shlibpath_var=no
   16284 	  ;;
   16285 	*)
   16286 	  hardcode_direct=yes
   16287 	  hardcode_direct_absolute=yes
   16288 	  export_dynamic_flag_spec='$wl-E'
   16289 
   16290 	  # hardcode_minus_L: Not really in the search PATH,
   16291 	  # but as the default location of the library.
   16292 	  hardcode_minus_L=yes
   16293 	  ;;
   16294 	esac
   16295       fi
   16296       ;;
   16297 
   16298     irix5* | irix6* | nonstopux*)
   16299       if test yes = "$GCC"; then
   16300 	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'
   16301 	# Try to use the -exported_symbol ld option, if it does not
   16302 	# work, assume that -exports_file does not work either and
   16303 	# implicitly export all symbols.
   16304 	# This should be the same for all languages, so no per-tag cache variable.
   16305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16306 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16307 if ${lt_cv_irix_exported_symbol+:} false; then :
   16308   $as_echo_n "(cached) " >&6
   16309 else
   16310   save_LDFLAGS=$LDFLAGS
   16311 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16312 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16313 /* end confdefs.h.  */
   16314 int foo (void) { return 0; }
   16315 _ACEOF
   16316 if ac_fn_c_try_link "$LINENO"; then :
   16317   lt_cv_irix_exported_symbol=yes
   16318 else
   16319   lt_cv_irix_exported_symbol=no
   16320 fi
   16321 rm -f core conftest.err conftest.$ac_objext \
   16322     conftest$ac_exeext conftest.$ac_ext
   16323            LDFLAGS=$save_LDFLAGS
   16324 fi
   16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16326 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16327 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16328           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'
   16329 	fi
   16330       else
   16331 	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'
   16332 	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'
   16333       fi
   16334       archive_cmds_need_lc='no'
   16335       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16336       hardcode_libdir_separator=:
   16337       inherit_rpath=yes
   16338       link_all_deplibs=yes
   16339       ;;
   16340 
   16341     linux*)
   16342       case $cc_basename in
   16343       tcc*)
   16344 	# Fabrice Bellard et al's Tiny C Compiler
   16345 	ld_shlibs=yes
   16346 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16347 	;;
   16348       esac
   16349       ;;
   16350 
   16351     netbsd*)
   16352       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16353 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16354       else
   16355 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16356       fi
   16357       hardcode_libdir_flag_spec='-R$libdir'
   16358       hardcode_direct=yes
   16359       hardcode_shlibpath_var=no
   16360       ;;
   16361 
   16362     newsos6)
   16363       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16364       hardcode_direct=yes
   16365       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16366       hardcode_libdir_separator=:
   16367       hardcode_shlibpath_var=no
   16368       ;;
   16369 
   16370     *nto* | *qnx*)
   16371       ;;
   16372 
   16373     openbsd* | bitrig*)
   16374       if test -f /usr/libexec/ld.so; then
   16375 	hardcode_direct=yes
   16376 	hardcode_shlibpath_var=no
   16377 	hardcode_direct_absolute=yes
   16378 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16379 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16380 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16381 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16382 	  export_dynamic_flag_spec='$wl-E'
   16383 	else
   16384 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16385 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16386 	fi
   16387       else
   16388 	ld_shlibs=no
   16389       fi
   16390       ;;
   16391 
   16392     os2*)
   16393       hardcode_libdir_flag_spec='-L$libdir'
   16394       hardcode_minus_L=yes
   16395       allow_undefined_flag=unsupported
   16396       shrext_cmds=.dll
   16397       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16398 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16399 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16400 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16401 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16402 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16403 	emximp -o $lib $output_objdir/$libname.def'
   16404       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16405 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16406 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16407 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16408 	prefix_cmds="$SED"~
   16409 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16410 	  prefix_cmds="$prefix_cmds -e 1d";
   16411 	fi~
   16412 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16413 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16414 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16415 	emximp -o $lib $output_objdir/$libname.def'
   16416       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16417       enable_shared_with_static_runtimes=yes
   16418       ;;
   16419 
   16420     osf3*)
   16421       if test yes = "$GCC"; then
   16422 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16423 	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'
   16424       else
   16425 	allow_undefined_flag=' -expect_unresolved \*'
   16426 	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'
   16427       fi
   16428       archive_cmds_need_lc='no'
   16429       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16430       hardcode_libdir_separator=:
   16431       ;;
   16432 
   16433     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16434       if test yes = "$GCC"; then
   16435 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16436 	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'
   16437 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16438       else
   16439 	allow_undefined_flag=' -expect_unresolved \*'
   16440 	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'
   16441 	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~
   16442           $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'
   16443 
   16444 	# Both c and cxx compiler support -rpath directly
   16445 	hardcode_libdir_flag_spec='-rpath $libdir'
   16446       fi
   16447       archive_cmds_need_lc='no'
   16448       hardcode_libdir_separator=:
   16449       ;;
   16450 
   16451     solaris*)
   16452       no_undefined_flag=' -z defs'
   16453       if test yes = "$GCC"; then
   16454 	wlarc='$wl'
   16455 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16456 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16457           $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'
   16458       else
   16459 	case `$CC -V 2>&1` in
   16460 	*"Compilers 5.0"*)
   16461 	  wlarc=''
   16462 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16463 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16464             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16465 	  ;;
   16466 	*)
   16467 	  wlarc='$wl'
   16468 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16469 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16470             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16471 	  ;;
   16472 	esac
   16473       fi
   16474       hardcode_libdir_flag_spec='-R$libdir'
   16475       hardcode_shlibpath_var=no
   16476       case $host_os in
   16477       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16478       *)
   16479 	# The compiler driver will combine and reorder linker options,
   16480 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16481 	# but is careful enough not to reorder.
   16482 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16483 	if test yes = "$GCC"; then
   16484 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16485 	else
   16486 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16487 	fi
   16488 	;;
   16489       esac
   16490       link_all_deplibs=yes
   16491       ;;
   16492 
   16493     sunos4*)
   16494       if test sequent = "$host_vendor"; then
   16495 	# Use $CC to link under sequent, because it throws in some extra .o
   16496 	# files that make .init and .fini sections work.
   16497 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16498       else
   16499 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16500       fi
   16501       hardcode_libdir_flag_spec='-L$libdir'
   16502       hardcode_direct=yes
   16503       hardcode_minus_L=yes
   16504       hardcode_shlibpath_var=no
   16505       ;;
   16506 
   16507     sysv4)
   16508       case $host_vendor in
   16509 	sni)
   16510 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16511 	  hardcode_direct=yes # is this really true???
   16512 	;;
   16513 	siemens)
   16514 	  ## LD is ld it makes a PLAMLIB
   16515 	  ## CC just makes a GrossModule.
   16516 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16517 	  reload_cmds='$CC -r -o $output$reload_objs'
   16518 	  hardcode_direct=no
   16519         ;;
   16520 	motorola)
   16521 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16522 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16523 	;;
   16524       esac
   16525       runpath_var='LD_RUN_PATH'
   16526       hardcode_shlibpath_var=no
   16527       ;;
   16528 
   16529     sysv4.3*)
   16530       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16531       hardcode_shlibpath_var=no
   16532       export_dynamic_flag_spec='-Bexport'
   16533       ;;
   16534 
   16535     sysv4*MP*)
   16536       if test -d /usr/nec; then
   16537 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16538 	hardcode_shlibpath_var=no
   16539 	runpath_var=LD_RUN_PATH
   16540 	hardcode_runpath_var=yes
   16541 	ld_shlibs=yes
   16542       fi
   16543       ;;
   16544 
   16545     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16546       no_undefined_flag='$wl-z,text'
   16547       archive_cmds_need_lc=no
   16548       hardcode_shlibpath_var=no
   16549       runpath_var='LD_RUN_PATH'
   16550 
   16551       if test yes = "$GCC"; then
   16552 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16553 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16554       else
   16555 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16556 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16557       fi
   16558       ;;
   16559 
   16560     sysv5* | sco3.2v5* | sco5v6*)
   16561       # Note: We CANNOT use -z defs as we might desire, because we do not
   16562       # link with -lc, and that would cause any symbols used from libc to
   16563       # always be unresolved, which means just about no library would
   16564       # ever link correctly.  If we're not using GNU ld we use -z text
   16565       # though, which does catch some bad symbols but isn't as heavy-handed
   16566       # as -z defs.
   16567       no_undefined_flag='$wl-z,text'
   16568       allow_undefined_flag='$wl-z,nodefs'
   16569       archive_cmds_need_lc=no
   16570       hardcode_shlibpath_var=no
   16571       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16572       hardcode_libdir_separator=':'
   16573       link_all_deplibs=yes
   16574       export_dynamic_flag_spec='$wl-Bexport'
   16575       runpath_var='LD_RUN_PATH'
   16576 
   16577       if test yes = "$GCC"; then
   16578 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16579 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16580       else
   16581 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16582 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16583       fi
   16584       ;;
   16585 
   16586     uts4*)
   16587       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16588       hardcode_libdir_flag_spec='-L$libdir'
   16589       hardcode_shlibpath_var=no
   16590       ;;
   16591 
   16592     *)
   16593       ld_shlibs=no
   16594       ;;
   16595     esac
   16596 
   16597     if test sni = "$host_vendor"; then
   16598       case $host in
   16599       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16600 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16601 	;;
   16602       esac
   16603     fi
   16604   fi
   16605 
   16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16607 $as_echo "$ld_shlibs" >&6; }
   16608 test no = "$ld_shlibs" && can_build_shared=no
   16609 
   16610 with_gnu_ld=$with_gnu_ld
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 #
   16627 # Do we need to explicitly link libc?
   16628 #
   16629 case "x$archive_cmds_need_lc" in
   16630 x|xyes)
   16631   # Assume -lc should be added
   16632   archive_cmds_need_lc=yes
   16633 
   16634   if test yes,yes = "$GCC,$enable_shared"; then
   16635     case $archive_cmds in
   16636     *'~'*)
   16637       # FIXME: we may have to deal with multi-command sequences.
   16638       ;;
   16639     '$CC '*)
   16640       # Test whether the compiler implicitly links with -lc since on some
   16641       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16642       # to ld, don't add -lc before -lgcc.
   16643       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16644 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16645 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16646   $as_echo_n "(cached) " >&6
   16647 else
   16648   $RM conftest*
   16649 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16650 
   16651 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16652   (eval $ac_compile) 2>&5
   16653   ac_status=$?
   16654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16655   test $ac_status = 0; } 2>conftest.err; then
   16656 	  soname=conftest
   16657 	  lib=conftest
   16658 	  libobjs=conftest.$ac_objext
   16659 	  deplibs=
   16660 	  wl=$lt_prog_compiler_wl
   16661 	  pic_flag=$lt_prog_compiler_pic
   16662 	  compiler_flags=-v
   16663 	  linker_flags=-v
   16664 	  verstring=
   16665 	  output_objdir=.
   16666 	  libname=conftest
   16667 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16668 	  allow_undefined_flag=
   16669 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16670   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16671   ac_status=$?
   16672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16673   test $ac_status = 0; }
   16674 	  then
   16675 	    lt_cv_archive_cmds_need_lc=no
   16676 	  else
   16677 	    lt_cv_archive_cmds_need_lc=yes
   16678 	  fi
   16679 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16680 	else
   16681 	  cat conftest.err 1>&5
   16682 	fi
   16683 	$RM conftest*
   16684 
   16685 fi
   16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16687 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16688       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16689       ;;
   16690     esac
   16691   fi
   16692   ;;
   16693 esac
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16847 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16848 
   16849 if test yes = "$GCC"; then
   16850   case $host_os in
   16851     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16852     *) lt_awk_arg='/^libraries:/' ;;
   16853   esac
   16854   case $host_os in
   16855     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16856     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16857   esac
   16858   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16859   case $lt_search_path_spec in
   16860   *\;*)
   16861     # if the path contains ";" then we assume it to be the separator
   16862     # otherwise default to the standard path separator (i.e. ":") - it is
   16863     # assumed that no part of a normal pathname contains ";" but that should
   16864     # okay in the real world where ";" in dirpaths is itself problematic.
   16865     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16866     ;;
   16867   *)
   16868     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16869     ;;
   16870   esac
   16871   # Ok, now we have the path, separated by spaces, we can step through it
   16872   # and add multilib dir if necessary...
   16873   lt_tmp_lt_search_path_spec=
   16874   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16875   # ...but if some path component already ends with the multilib dir we assume
   16876   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16877   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16878   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16879     lt_multi_os_dir=
   16880     ;;
   16881   esac
   16882   for lt_sys_path in $lt_search_path_spec; do
   16883     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16884       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16885     elif test -n "$lt_multi_os_dir"; then
   16886       test -d "$lt_sys_path" && \
   16887 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16888     fi
   16889   done
   16890   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16891 BEGIN {RS = " "; FS = "/|\n";} {
   16892   lt_foo = "";
   16893   lt_count = 0;
   16894   for (lt_i = NF; lt_i > 0; lt_i--) {
   16895     if ($lt_i != "" && $lt_i != ".") {
   16896       if ($lt_i == "..") {
   16897         lt_count++;
   16898       } else {
   16899         if (lt_count == 0) {
   16900           lt_foo = "/" $lt_i lt_foo;
   16901         } else {
   16902           lt_count--;
   16903         }
   16904       }
   16905     }
   16906   }
   16907   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16908   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16909 }'`
   16910   # AWK program above erroneously prepends '/' to C:/dos/paths
   16911   # for these hosts.
   16912   case $host_os in
   16913     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16914       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16915   esac
   16916   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16917 else
   16918   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16919 fi
   16920 library_names_spec=
   16921 libname_spec='lib$name'
   16922 soname_spec=
   16923 shrext_cmds=.so
   16924 postinstall_cmds=
   16925 postuninstall_cmds=
   16926 finish_cmds=
   16927 finish_eval=
   16928 shlibpath_var=
   16929 shlibpath_overrides_runpath=unknown
   16930 version_type=none
   16931 dynamic_linker="$host_os ld.so"
   16932 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16933 need_lib_prefix=unknown
   16934 hardcode_into_libs=no
   16935 
   16936 # when you set need_version to no, make sure it does not cause -set_version
   16937 # flags to be left without arguments
   16938 need_version=unknown
   16939 
   16940 
   16941 
   16942 case $host_os in
   16943 aix3*)
   16944   version_type=linux # correct to gnu/linux during the next big refactor
   16945   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16946   shlibpath_var=LIBPATH
   16947 
   16948   # AIX 3 has no versioning support, so we append a major version to the name.
   16949   soname_spec='$libname$release$shared_ext$major'
   16950   ;;
   16951 
   16952 aix[4-9]*)
   16953   version_type=linux # correct to gnu/linux during the next big refactor
   16954   need_lib_prefix=no
   16955   need_version=no
   16956   hardcode_into_libs=yes
   16957   if test ia64 = "$host_cpu"; then
   16958     # AIX 5 supports IA64
   16959     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16960     shlibpath_var=LD_LIBRARY_PATH
   16961   else
   16962     # With GCC up to 2.95.x, collect2 would create an import file
   16963     # for dependence libraries.  The import file would start with
   16964     # the line '#! .'.  This would cause the generated library to
   16965     # depend on '.', always an invalid library.  This was fixed in
   16966     # development snapshots of GCC prior to 3.0.
   16967     case $host_os in
   16968       aix4 | aix4.[01] | aix4.[01].*)
   16969       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16970 	   echo ' yes '
   16971 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16972 	:
   16973       else
   16974 	can_build_shared=no
   16975       fi
   16976       ;;
   16977     esac
   16978     # Using Import Files as archive members, it is possible to support
   16979     # filename-based versioning of shared library archives on AIX. While
   16980     # this would work for both with and without runtime linking, it will
   16981     # prevent static linking of such archives. So we do filename-based
   16982     # shared library versioning with .so extension only, which is used
   16983     # when both runtime linking and shared linking is enabled.
   16984     # Unfortunately, runtime linking may impact performance, so we do
   16985     # not want this to be the default eventually. Also, we use the
   16986     # versioned .so libs for executables only if there is the -brtl
   16987     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16988     # To allow for filename-based versioning support, we need to create
   16989     # libNAME.so.V as an archive file, containing:
   16990     # *) an Import File, referring to the versioned filename of the
   16991     #    archive as well as the shared archive member, telling the
   16992     #    bitwidth (32 or 64) of that shared object, and providing the
   16993     #    list of exported symbols of that shared object, eventually
   16994     #    decorated with the 'weak' keyword
   16995     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16996     #    it being seen by the linker.
   16997     # At run time we better use the real file rather than another symlink,
   16998     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16999 
   17000     case $with_aix_soname,$aix_use_runtimelinking in
   17001     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17002     # soname into executable. Probably we can add versioning support to
   17003     # collect2, so additional links can be useful in future.
   17004     aix,yes) # traditional libtool
   17005       dynamic_linker='AIX unversionable lib.so'
   17006       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17007       # instead of lib<name>.a to let people know that these are not
   17008       # typical AIX shared libraries.
   17009       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17010       ;;
   17011     aix,no) # traditional AIX only
   17012       dynamic_linker='AIX lib.a(lib.so.V)'
   17013       # We preserve .a as extension for shared libraries through AIX4.2
   17014       # and later when we are not doing run time linking.
   17015       library_names_spec='$libname$release.a $libname.a'
   17016       soname_spec='$libname$release$shared_ext$major'
   17017       ;;
   17018     svr4,*) # full svr4 only
   17019       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17020       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17021       # We do not specify a path in Import Files, so LIBPATH fires.
   17022       shlibpath_overrides_runpath=yes
   17023       ;;
   17024     *,yes) # both, prefer svr4
   17025       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17026       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17027       # unpreferred sharedlib libNAME.a needs extra handling
   17028       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"'
   17029       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"'
   17030       # We do not specify a path in Import Files, so LIBPATH fires.
   17031       shlibpath_overrides_runpath=yes
   17032       ;;
   17033     *,no) # both, prefer aix
   17034       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17035       library_names_spec='$libname$release.a $libname.a'
   17036       soname_spec='$libname$release$shared_ext$major'
   17037       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17038       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)'
   17039       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"'
   17040       ;;
   17041     esac
   17042     shlibpath_var=LIBPATH
   17043   fi
   17044   ;;
   17045 
   17046 amigaos*)
   17047   case $host_cpu in
   17048   powerpc)
   17049     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17050     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17051     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17052     ;;
   17053   m68k)
   17054     library_names_spec='$libname.ixlibrary $libname.a'
   17055     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17056     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'
   17057     ;;
   17058   esac
   17059   ;;
   17060 
   17061 beos*)
   17062   library_names_spec='$libname$shared_ext'
   17063   dynamic_linker="$host_os ld.so"
   17064   shlibpath_var=LIBRARY_PATH
   17065   ;;
   17066 
   17067 bsdi[45]*)
   17068   version_type=linux # correct to gnu/linux during the next big refactor
   17069   need_version=no
   17070   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17071   soname_spec='$libname$release$shared_ext$major'
   17072   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17073   shlibpath_var=LD_LIBRARY_PATH
   17074   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17075   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17076   # the default ld.so.conf also contains /usr/contrib/lib and
   17077   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17078   # libtool to hard-code these into programs
   17079   ;;
   17080 
   17081 cygwin* | mingw* | pw32* | cegcc*)
   17082   version_type=windows
   17083   shrext_cmds=.dll
   17084   need_version=no
   17085   need_lib_prefix=no
   17086 
   17087   case $GCC,$cc_basename in
   17088   yes,*)
   17089     # gcc
   17090     library_names_spec='$libname.dll.a'
   17091     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17092     postinstall_cmds='base_file=`basename \$file`~
   17093       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17094       dldir=$destdir/`dirname \$dlpath`~
   17095       test -d \$dldir || mkdir -p \$dldir~
   17096       $install_prog $dir/$dlname \$dldir/$dlname~
   17097       chmod a+x \$dldir/$dlname~
   17098       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17099         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17100       fi'
   17101     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17102       dlpath=$dir/\$dldll~
   17103        $RM \$dlpath'
   17104     shlibpath_overrides_runpath=yes
   17105 
   17106     case $host_os in
   17107     cygwin*)
   17108       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17109       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17110 
   17111       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17112       ;;
   17113     mingw* | cegcc*)
   17114       # MinGW DLLs use traditional 'lib' prefix
   17115       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17116       ;;
   17117     pw32*)
   17118       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17119       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17120       ;;
   17121     esac
   17122     dynamic_linker='Win32 ld.exe'
   17123     ;;
   17124 
   17125   *,cl*)
   17126     # Native MSVC
   17127     libname_spec='$name'
   17128     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17129     library_names_spec='$libname.dll.lib'
   17130 
   17131     case $build_os in
   17132     mingw*)
   17133       sys_lib_search_path_spec=
   17134       lt_save_ifs=$IFS
   17135       IFS=';'
   17136       for lt_path in $LIB
   17137       do
   17138         IFS=$lt_save_ifs
   17139         # Let DOS variable expansion print the short 8.3 style file name.
   17140         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17141         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17142       done
   17143       IFS=$lt_save_ifs
   17144       # Convert to MSYS style.
   17145       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17146       ;;
   17147     cygwin*)
   17148       # Convert to unix form, then to dos form, then back to unix form
   17149       # but this time dos style (no spaces!) so that the unix form looks
   17150       # like /cygdrive/c/PROGRA~1:/cygdr...
   17151       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17152       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17153       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17154       ;;
   17155     *)
   17156       sys_lib_search_path_spec=$LIB
   17157       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17158         # It is most probably a Windows format PATH.
   17159         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17160       else
   17161         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17162       fi
   17163       # FIXME: find the short name or the path components, as spaces are
   17164       # common. (e.g. "Program Files" -> "PROGRA~1")
   17165       ;;
   17166     esac
   17167 
   17168     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17169     postinstall_cmds='base_file=`basename \$file`~
   17170       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17171       dldir=$destdir/`dirname \$dlpath`~
   17172       test -d \$dldir || mkdir -p \$dldir~
   17173       $install_prog $dir/$dlname \$dldir/$dlname'
   17174     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17175       dlpath=$dir/\$dldll~
   17176        $RM \$dlpath'
   17177     shlibpath_overrides_runpath=yes
   17178     dynamic_linker='Win32 link.exe'
   17179     ;;
   17180 
   17181   *)
   17182     # Assume MSVC wrapper
   17183     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17184     dynamic_linker='Win32 ld.exe'
   17185     ;;
   17186   esac
   17187   # FIXME: first we should search . and the directory the executable is in
   17188   shlibpath_var=PATH
   17189   ;;
   17190 
   17191 darwin* | rhapsody*)
   17192   dynamic_linker="$host_os dyld"
   17193   version_type=darwin
   17194   need_lib_prefix=no
   17195   need_version=no
   17196   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17197   soname_spec='$libname$release$major$shared_ext'
   17198   shlibpath_overrides_runpath=yes
   17199   shlibpath_var=DYLD_LIBRARY_PATH
   17200   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17201 
   17202   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17203   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17204   ;;
   17205 
   17206 dgux*)
   17207   version_type=linux # correct to gnu/linux during the next big refactor
   17208   need_lib_prefix=no
   17209   need_version=no
   17210   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17211   soname_spec='$libname$release$shared_ext$major'
   17212   shlibpath_var=LD_LIBRARY_PATH
   17213   ;;
   17214 
   17215 freebsd* | dragonfly*)
   17216   # DragonFly does not have aout.  When/if they implement a new
   17217   # versioning mechanism, adjust this.
   17218   if test -x /usr/bin/objformat; then
   17219     objformat=`/usr/bin/objformat`
   17220   else
   17221     case $host_os in
   17222     freebsd[23].*) objformat=aout ;;
   17223     *) objformat=elf ;;
   17224     esac
   17225   fi
   17226   # Handle Gentoo/FreeBSD as it was Linux
   17227   case $host_vendor in
   17228     gentoo)
   17229       version_type=linux ;;
   17230     *)
   17231       version_type=freebsd-$objformat ;;
   17232   esac
   17233 
   17234   case $version_type in
   17235     freebsd-elf*)
   17236       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17237       soname_spec='$libname$release$shared_ext$major'
   17238       need_version=no
   17239       need_lib_prefix=no
   17240       ;;
   17241     freebsd-*)
   17242       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17243       need_version=yes
   17244       ;;
   17245     linux)
   17246       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17247       soname_spec='${libname}${release}${shared_ext}$major'
   17248       need_lib_prefix=no
   17249       need_version=no
   17250       ;;
   17251   esac
   17252   shlibpath_var=LD_LIBRARY_PATH
   17253   case $host_os in
   17254   freebsd2.*)
   17255     shlibpath_overrides_runpath=yes
   17256     ;;
   17257   freebsd3.[01]* | freebsdelf3.[01]*)
   17258     shlibpath_overrides_runpath=yes
   17259     hardcode_into_libs=yes
   17260     ;;
   17261   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17262   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17263     shlibpath_overrides_runpath=no
   17264     hardcode_into_libs=yes
   17265     ;;
   17266   *) # from 4.6 on, and DragonFly
   17267     shlibpath_overrides_runpath=yes
   17268     hardcode_into_libs=yes
   17269     ;;
   17270   esac
   17271   ;;
   17272 
   17273 haiku*)
   17274   version_type=linux # correct to gnu/linux during the next big refactor
   17275   need_lib_prefix=no
   17276   need_version=no
   17277   dynamic_linker="$host_os runtime_loader"
   17278   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17279   soname_spec='$libname$release$shared_ext$major'
   17280   shlibpath_var=LIBRARY_PATH
   17281   shlibpath_overrides_runpath=no
   17282   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17283   hardcode_into_libs=yes
   17284   ;;
   17285 
   17286 hpux9* | hpux10* | hpux11*)
   17287   # Give a soname corresponding to the major version so that dld.sl refuses to
   17288   # link against other versions.
   17289   version_type=sunos
   17290   need_lib_prefix=no
   17291   need_version=no
   17292   case $host_cpu in
   17293   ia64*)
   17294     shrext_cmds='.so'
   17295     hardcode_into_libs=yes
   17296     dynamic_linker="$host_os dld.so"
   17297     shlibpath_var=LD_LIBRARY_PATH
   17298     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17299     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17300     soname_spec='$libname$release$shared_ext$major'
   17301     if test 32 = "$HPUX_IA64_MODE"; then
   17302       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17303       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17304     else
   17305       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17306       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17307     fi
   17308     ;;
   17309   hppa*64*)
   17310     shrext_cmds='.sl'
   17311     hardcode_into_libs=yes
   17312     dynamic_linker="$host_os dld.sl"
   17313     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17314     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17315     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17316     soname_spec='$libname$release$shared_ext$major'
   17317     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17318     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17319     ;;
   17320   *)
   17321     shrext_cmds='.sl'
   17322     dynamic_linker="$host_os dld.sl"
   17323     shlibpath_var=SHLIB_PATH
   17324     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17325     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17326     soname_spec='$libname$release$shared_ext$major'
   17327     ;;
   17328   esac
   17329   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17330   postinstall_cmds='chmod 555 $lib'
   17331   # or fails outright, so override atomically:
   17332   install_override_mode=555
   17333   ;;
   17334 
   17335 interix[3-9]*)
   17336   version_type=linux # correct to gnu/linux during the next big refactor
   17337   need_lib_prefix=no
   17338   need_version=no
   17339   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17340   soname_spec='$libname$release$shared_ext$major'
   17341   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17342   shlibpath_var=LD_LIBRARY_PATH
   17343   shlibpath_overrides_runpath=no
   17344   hardcode_into_libs=yes
   17345   ;;
   17346 
   17347 irix5* | irix6* | nonstopux*)
   17348   case $host_os in
   17349     nonstopux*) version_type=nonstopux ;;
   17350     *)
   17351 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17352 		version_type=linux # correct to gnu/linux during the next big refactor
   17353 	else
   17354 		version_type=irix
   17355 	fi ;;
   17356   esac
   17357   need_lib_prefix=no
   17358   need_version=no
   17359   soname_spec='$libname$release$shared_ext$major'
   17360   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17361   case $host_os in
   17362   irix5* | nonstopux*)
   17363     libsuff= shlibsuff=
   17364     ;;
   17365   *)
   17366     case $LD in # libtool.m4 will add one of these switches to LD
   17367     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17368       libsuff= shlibsuff= libmagic=32-bit;;
   17369     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17370       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17371     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17372       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17373     *) libsuff= shlibsuff= libmagic=never-match;;
   17374     esac
   17375     ;;
   17376   esac
   17377   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17378   shlibpath_overrides_runpath=no
   17379   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17380   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17381   hardcode_into_libs=yes
   17382   ;;
   17383 
   17384 # No shared lib support for Linux oldld, aout, or coff.
   17385 linux*oldld* | linux*aout* | linux*coff*)
   17386   dynamic_linker=no
   17387   ;;
   17388 
   17389 linux*android*)
   17390   version_type=none # Android doesn't support versioned libraries.
   17391   need_lib_prefix=no
   17392   need_version=no
   17393   library_names_spec='$libname$release$shared_ext'
   17394   soname_spec='$libname$release$shared_ext'
   17395   finish_cmds=
   17396   shlibpath_var=LD_LIBRARY_PATH
   17397   shlibpath_overrides_runpath=yes
   17398 
   17399   # This implies no fast_install, which is unacceptable.
   17400   # Some rework will be needed to allow for fast_install
   17401   # before this can be enabled.
   17402   hardcode_into_libs=yes
   17403 
   17404   dynamic_linker='Android linker'
   17405   # Don't embed -rpath directories since the linker doesn't support them.
   17406   hardcode_libdir_flag_spec='-L$libdir'
   17407   ;;
   17408 
   17409 # This must be glibc/ELF.
   17410 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17411   version_type=linux # correct to gnu/linux during the next big refactor
   17412   need_lib_prefix=no
   17413   need_version=no
   17414   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17415   soname_spec='$libname$release$shared_ext$major'
   17416   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17417   shlibpath_var=LD_LIBRARY_PATH
   17418   shlibpath_overrides_runpath=no
   17419 
   17420   # Some binutils ld are patched to set DT_RUNPATH
   17421   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17422   $as_echo_n "(cached) " >&6
   17423 else
   17424   lt_cv_shlibpath_overrides_runpath=no
   17425     save_LDFLAGS=$LDFLAGS
   17426     save_libdir=$libdir
   17427     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17428 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17429     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17430 /* end confdefs.h.  */
   17431 
   17432 int
   17433 main ()
   17434 {
   17435 
   17436   ;
   17437   return 0;
   17438 }
   17439 _ACEOF
   17440 if ac_fn_c_try_link "$LINENO"; then :
   17441   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17442   lt_cv_shlibpath_overrides_runpath=yes
   17443 fi
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext \
   17446     conftest$ac_exeext conftest.$ac_ext
   17447     LDFLAGS=$save_LDFLAGS
   17448     libdir=$save_libdir
   17449 
   17450 fi
   17451 
   17452   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17453 
   17454   # This implies no fast_install, which is unacceptable.
   17455   # Some rework will be needed to allow for fast_install
   17456   # before this can be enabled.
   17457   hardcode_into_libs=yes
   17458 
   17459   # Ideally, we could use ldconfig to report *all* directores which are
   17460   # searched for libraries, however this is still not possible.  Aside from not
   17461   # being certain /sbin/ldconfig is available, command
   17462   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17463   # even though it is searched at run-time.  Try to do the best guess by
   17464   # appending ld.so.conf contents (and includes) to the search path.
   17465   if test -f /etc/ld.so.conf; then
   17466     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' ' '`
   17467     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17468   fi
   17469 
   17470   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17471   # powerpc, because MkLinux only supported shared libraries with the
   17472   # GNU dynamic linker.  Since this was broken with cross compilers,
   17473   # most powerpc-linux boxes support dynamic linking these days and
   17474   # people can always --disable-shared, the test was removed, and we
   17475   # assume the GNU/Linux dynamic linker is in use.
   17476   dynamic_linker='GNU/Linux ld.so'
   17477   ;;
   17478 
   17479 netbsd*)
   17480   version_type=sunos
   17481   need_lib_prefix=no
   17482   need_version=no
   17483   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17484     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17485     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17486     dynamic_linker='NetBSD (a.out) ld.so'
   17487   else
   17488     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17489     soname_spec='$libname$release$shared_ext$major'
   17490     dynamic_linker='NetBSD ld.elf_so'
   17491   fi
   17492   shlibpath_var=LD_LIBRARY_PATH
   17493   shlibpath_overrides_runpath=yes
   17494   hardcode_into_libs=yes
   17495   ;;
   17496 
   17497 newsos6)
   17498   version_type=linux # correct to gnu/linux during the next big refactor
   17499   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17500   shlibpath_var=LD_LIBRARY_PATH
   17501   shlibpath_overrides_runpath=yes
   17502   ;;
   17503 
   17504 *nto* | *qnx*)
   17505   version_type=qnx
   17506   need_lib_prefix=no
   17507   need_version=no
   17508   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17509   soname_spec='$libname$release$shared_ext$major'
   17510   shlibpath_var=LD_LIBRARY_PATH
   17511   shlibpath_overrides_runpath=no
   17512   hardcode_into_libs=yes
   17513   dynamic_linker='ldqnx.so'
   17514   ;;
   17515 
   17516 openbsd* | bitrig*)
   17517   version_type=sunos
   17518   sys_lib_dlsearch_path_spec=/usr/lib
   17519   need_lib_prefix=no
   17520   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17521     need_version=no
   17522   else
   17523     need_version=yes
   17524   fi
   17525   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17526   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17527   shlibpath_var=LD_LIBRARY_PATH
   17528   shlibpath_overrides_runpath=yes
   17529   ;;
   17530 
   17531 os2*)
   17532   libname_spec='$name'
   17533   version_type=windows
   17534   shrext_cmds=.dll
   17535   need_version=no
   17536   need_lib_prefix=no
   17537   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17538   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17539     v=$($ECHO $release$versuffix | tr -d .-);
   17540     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17541     $ECHO $n$v`$shared_ext'
   17542   library_names_spec='${libname}_dll.$libext'
   17543   dynamic_linker='OS/2 ld.exe'
   17544   shlibpath_var=BEGINLIBPATH
   17545   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17546   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17547   postinstall_cmds='base_file=`basename \$file`~
   17548     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17549     dldir=$destdir/`dirname \$dlpath`~
   17550     test -d \$dldir || mkdir -p \$dldir~
   17551     $install_prog $dir/$dlname \$dldir/$dlname~
   17552     chmod a+x \$dldir/$dlname~
   17553     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17554       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17555     fi'
   17556   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17557     dlpath=$dir/\$dldll~
   17558     $RM \$dlpath'
   17559   ;;
   17560 
   17561 osf3* | osf4* | osf5*)
   17562   version_type=osf
   17563   need_lib_prefix=no
   17564   need_version=no
   17565   soname_spec='$libname$release$shared_ext$major'
   17566   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17567   shlibpath_var=LD_LIBRARY_PATH
   17568   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17569   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17570   ;;
   17571 
   17572 rdos*)
   17573   dynamic_linker=no
   17574   ;;
   17575 
   17576 solaris*)
   17577   version_type=linux # correct to gnu/linux during the next big refactor
   17578   need_lib_prefix=no
   17579   need_version=no
   17580   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17581   soname_spec='$libname$release$shared_ext$major'
   17582   shlibpath_var=LD_LIBRARY_PATH
   17583   shlibpath_overrides_runpath=yes
   17584   hardcode_into_libs=yes
   17585   # ldd complains unless libraries are executable
   17586   postinstall_cmds='chmod +x $lib'
   17587   ;;
   17588 
   17589 sunos4*)
   17590   version_type=sunos
   17591   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17592   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17593   shlibpath_var=LD_LIBRARY_PATH
   17594   shlibpath_overrides_runpath=yes
   17595   if test yes = "$with_gnu_ld"; then
   17596     need_lib_prefix=no
   17597   fi
   17598   need_version=yes
   17599   ;;
   17600 
   17601 sysv4 | sysv4.3*)
   17602   version_type=linux # correct to gnu/linux during the next big refactor
   17603   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17604   soname_spec='$libname$release$shared_ext$major'
   17605   shlibpath_var=LD_LIBRARY_PATH
   17606   case $host_vendor in
   17607     sni)
   17608       shlibpath_overrides_runpath=no
   17609       need_lib_prefix=no
   17610       runpath_var=LD_RUN_PATH
   17611       ;;
   17612     siemens)
   17613       need_lib_prefix=no
   17614       ;;
   17615     motorola)
   17616       need_lib_prefix=no
   17617       need_version=no
   17618       shlibpath_overrides_runpath=no
   17619       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17620       ;;
   17621   esac
   17622   ;;
   17623 
   17624 sysv4*MP*)
   17625   if test -d /usr/nec; then
   17626     version_type=linux # correct to gnu/linux during the next big refactor
   17627     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17628     soname_spec='$libname$shared_ext.$major'
   17629     shlibpath_var=LD_LIBRARY_PATH
   17630   fi
   17631   ;;
   17632 
   17633 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17634   version_type=sco
   17635   need_lib_prefix=no
   17636   need_version=no
   17637   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17638   soname_spec='$libname$release$shared_ext$major'
   17639   shlibpath_var=LD_LIBRARY_PATH
   17640   shlibpath_overrides_runpath=yes
   17641   hardcode_into_libs=yes
   17642   if test yes = "$with_gnu_ld"; then
   17643     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17644   else
   17645     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17646     case $host_os in
   17647       sco3.2v5*)
   17648         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17649 	;;
   17650     esac
   17651   fi
   17652   sys_lib_dlsearch_path_spec='/usr/lib'
   17653   ;;
   17654 
   17655 tpf*)
   17656   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17657   version_type=linux # correct to gnu/linux during the next big refactor
   17658   need_lib_prefix=no
   17659   need_version=no
   17660   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17661   shlibpath_var=LD_LIBRARY_PATH
   17662   shlibpath_overrides_runpath=no
   17663   hardcode_into_libs=yes
   17664   ;;
   17665 
   17666 uts4*)
   17667   version_type=linux # correct to gnu/linux during the next big refactor
   17668   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17669   soname_spec='$libname$release$shared_ext$major'
   17670   shlibpath_var=LD_LIBRARY_PATH
   17671   ;;
   17672 
   17673 *)
   17674   dynamic_linker=no
   17675   ;;
   17676 esac
   17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17678 $as_echo "$dynamic_linker" >&6; }
   17679 test no = "$dynamic_linker" && can_build_shared=no
   17680 
   17681 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17682 if test yes = "$GCC"; then
   17683   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17684 fi
   17685 
   17686 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17687   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17688 fi
   17689 
   17690 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17691   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17692 fi
   17693 
   17694 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17695 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17696 
   17697 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17698 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17699 
   17700 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17701 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17800 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17801 hardcode_action=
   17802 if test -n "$hardcode_libdir_flag_spec" ||
   17803    test -n "$runpath_var" ||
   17804    test yes = "$hardcode_automatic"; then
   17805 
   17806   # We can hardcode non-existent directories.
   17807   if test no != "$hardcode_direct" &&
   17808      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17809      # have to relink, otherwise we might link with an installed library
   17810      # when we should be linking with a yet-to-be-installed one
   17811      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17812      test no != "$hardcode_minus_L"; then
   17813     # Linking always hardcodes the temporary library directory.
   17814     hardcode_action=relink
   17815   else
   17816     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17817     hardcode_action=immediate
   17818   fi
   17819 else
   17820   # We cannot hardcode anything, or else we can only hardcode existing
   17821   # directories.
   17822   hardcode_action=unsupported
   17823 fi
   17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17825 $as_echo "$hardcode_action" >&6; }
   17826 
   17827 if test relink = "$hardcode_action" ||
   17828    test yes = "$inherit_rpath"; then
   17829   # Fast installation is not supported
   17830   enable_fast_install=no
   17831 elif test yes = "$shlibpath_overrides_runpath" ||
   17832      test no = "$enable_shared"; then
   17833   # Fast installation is not necessary
   17834   enable_fast_install=needless
   17835 fi
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842   if test yes != "$enable_dlopen"; then
   17843   enable_dlopen=unknown
   17844   enable_dlopen_self=unknown
   17845   enable_dlopen_self_static=unknown
   17846 else
   17847   lt_cv_dlopen=no
   17848   lt_cv_dlopen_libs=
   17849 
   17850   case $host_os in
   17851   beos*)
   17852     lt_cv_dlopen=load_add_on
   17853     lt_cv_dlopen_libs=
   17854     lt_cv_dlopen_self=yes
   17855     ;;
   17856 
   17857   mingw* | pw32* | cegcc*)
   17858     lt_cv_dlopen=LoadLibrary
   17859     lt_cv_dlopen_libs=
   17860     ;;
   17861 
   17862   cygwin*)
   17863     lt_cv_dlopen=dlopen
   17864     lt_cv_dlopen_libs=
   17865     ;;
   17866 
   17867   darwin*)
   17868     # if libdl is installed we need to link against it
   17869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17870 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17871 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17872   $as_echo_n "(cached) " >&6
   17873 else
   17874   ac_check_lib_save_LIBS=$LIBS
   17875 LIBS="-ldl  $LIBS"
   17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17877 /* end confdefs.h.  */
   17878 
   17879 /* Override any GCC internal prototype to avoid an error.
   17880    Use char because int might match the return type of a GCC
   17881    builtin and then its argument prototype would still apply.  */
   17882 #ifdef __cplusplus
   17883 extern "C"
   17884 #endif
   17885 char dlopen ();
   17886 int
   17887 main ()
   17888 {
   17889 return dlopen ();
   17890   ;
   17891   return 0;
   17892 }
   17893 _ACEOF
   17894 if ac_fn_c_try_link "$LINENO"; then :
   17895   ac_cv_lib_dl_dlopen=yes
   17896 else
   17897   ac_cv_lib_dl_dlopen=no
   17898 fi
   17899 rm -f core conftest.err conftest.$ac_objext \
   17900     conftest$ac_exeext conftest.$ac_ext
   17901 LIBS=$ac_check_lib_save_LIBS
   17902 fi
   17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17904 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17905 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17906   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17907 else
   17908 
   17909     lt_cv_dlopen=dyld
   17910     lt_cv_dlopen_libs=
   17911     lt_cv_dlopen_self=yes
   17912 
   17913 fi
   17914 
   17915     ;;
   17916 
   17917   tpf*)
   17918     # Don't try to run any link tests for TPF.  We know it's impossible
   17919     # because TPF is a cross-compiler, and we know how we open DSOs.
   17920     lt_cv_dlopen=dlopen
   17921     lt_cv_dlopen_libs=
   17922     lt_cv_dlopen_self=no
   17923     ;;
   17924 
   17925   *)
   17926     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17927 if test "x$ac_cv_func_shl_load" = xyes; then :
   17928   lt_cv_dlopen=shl_load
   17929 else
   17930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17931 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17932 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17933   $as_echo_n "(cached) " >&6
   17934 else
   17935   ac_check_lib_save_LIBS=$LIBS
   17936 LIBS="-ldld  $LIBS"
   17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17938 /* end confdefs.h.  */
   17939 
   17940 /* Override any GCC internal prototype to avoid an error.
   17941    Use char because int might match the return type of a GCC
   17942    builtin and then its argument prototype would still apply.  */
   17943 #ifdef __cplusplus
   17944 extern "C"
   17945 #endif
   17946 char shl_load ();
   17947 int
   17948 main ()
   17949 {
   17950 return shl_load ();
   17951   ;
   17952   return 0;
   17953 }
   17954 _ACEOF
   17955 if ac_fn_c_try_link "$LINENO"; then :
   17956   ac_cv_lib_dld_shl_load=yes
   17957 else
   17958   ac_cv_lib_dld_shl_load=no
   17959 fi
   17960 rm -f core conftest.err conftest.$ac_objext \
   17961     conftest$ac_exeext conftest.$ac_ext
   17962 LIBS=$ac_check_lib_save_LIBS
   17963 fi
   17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17965 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17966 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17967   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17968 else
   17969   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17970 if test "x$ac_cv_func_dlopen" = xyes; then :
   17971   lt_cv_dlopen=dlopen
   17972 else
   17973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17974 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17975 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17976   $as_echo_n "(cached) " >&6
   17977 else
   17978   ac_check_lib_save_LIBS=$LIBS
   17979 LIBS="-ldl  $LIBS"
   17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17981 /* end confdefs.h.  */
   17982 
   17983 /* Override any GCC internal prototype to avoid an error.
   17984    Use char because int might match the return type of a GCC
   17985    builtin and then its argument prototype would still apply.  */
   17986 #ifdef __cplusplus
   17987 extern "C"
   17988 #endif
   17989 char dlopen ();
   17990 int
   17991 main ()
   17992 {
   17993 return dlopen ();
   17994   ;
   17995   return 0;
   17996 }
   17997 _ACEOF
   17998 if ac_fn_c_try_link "$LINENO"; then :
   17999   ac_cv_lib_dl_dlopen=yes
   18000 else
   18001   ac_cv_lib_dl_dlopen=no
   18002 fi
   18003 rm -f core conftest.err conftest.$ac_objext \
   18004     conftest$ac_exeext conftest.$ac_ext
   18005 LIBS=$ac_check_lib_save_LIBS
   18006 fi
   18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18008 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18009 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18010   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18011 else
   18012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18013 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18014 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18015   $as_echo_n "(cached) " >&6
   18016 else
   18017   ac_check_lib_save_LIBS=$LIBS
   18018 LIBS="-lsvld  $LIBS"
   18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18020 /* end confdefs.h.  */
   18021 
   18022 /* Override any GCC internal prototype to avoid an error.
   18023    Use char because int might match the return type of a GCC
   18024    builtin and then its argument prototype would still apply.  */
   18025 #ifdef __cplusplus
   18026 extern "C"
   18027 #endif
   18028 char dlopen ();
   18029 int
   18030 main ()
   18031 {
   18032 return dlopen ();
   18033   ;
   18034   return 0;
   18035 }
   18036 _ACEOF
   18037 if ac_fn_c_try_link "$LINENO"; then :
   18038   ac_cv_lib_svld_dlopen=yes
   18039 else
   18040   ac_cv_lib_svld_dlopen=no
   18041 fi
   18042 rm -f core conftest.err conftest.$ac_objext \
   18043     conftest$ac_exeext conftest.$ac_ext
   18044 LIBS=$ac_check_lib_save_LIBS
   18045 fi
   18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18047 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18048 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18049   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18050 else
   18051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18052 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18053 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18054   $as_echo_n "(cached) " >&6
   18055 else
   18056   ac_check_lib_save_LIBS=$LIBS
   18057 LIBS="-ldld  $LIBS"
   18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18059 /* end confdefs.h.  */
   18060 
   18061 /* Override any GCC internal prototype to avoid an error.
   18062    Use char because int might match the return type of a GCC
   18063    builtin and then its argument prototype would still apply.  */
   18064 #ifdef __cplusplus
   18065 extern "C"
   18066 #endif
   18067 char dld_link ();
   18068 int
   18069 main ()
   18070 {
   18071 return dld_link ();
   18072   ;
   18073   return 0;
   18074 }
   18075 _ACEOF
   18076 if ac_fn_c_try_link "$LINENO"; then :
   18077   ac_cv_lib_dld_dld_link=yes
   18078 else
   18079   ac_cv_lib_dld_dld_link=no
   18080 fi
   18081 rm -f core conftest.err conftest.$ac_objext \
   18082     conftest$ac_exeext conftest.$ac_ext
   18083 LIBS=$ac_check_lib_save_LIBS
   18084 fi
   18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18086 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18087 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18088   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18089 fi
   18090 
   18091 
   18092 fi
   18093 
   18094 
   18095 fi
   18096 
   18097 
   18098 fi
   18099 
   18100 
   18101 fi
   18102 
   18103 
   18104 fi
   18105 
   18106     ;;
   18107   esac
   18108 
   18109   if test no = "$lt_cv_dlopen"; then
   18110     enable_dlopen=no
   18111   else
   18112     enable_dlopen=yes
   18113   fi
   18114 
   18115   case $lt_cv_dlopen in
   18116   dlopen)
   18117     save_CPPFLAGS=$CPPFLAGS
   18118     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18119 
   18120     save_LDFLAGS=$LDFLAGS
   18121     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18122 
   18123     save_LIBS=$LIBS
   18124     LIBS="$lt_cv_dlopen_libs $LIBS"
   18125 
   18126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18127 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18128 if ${lt_cv_dlopen_self+:} false; then :
   18129   $as_echo_n "(cached) " >&6
   18130 else
   18131   	  if test yes = "$cross_compiling"; then :
   18132   lt_cv_dlopen_self=cross
   18133 else
   18134   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18135   lt_status=$lt_dlunknown
   18136   cat > conftest.$ac_ext <<_LT_EOF
   18137 #line $LINENO "configure"
   18138 #include "confdefs.h"
   18139 
   18140 #if HAVE_DLFCN_H
   18141 #include <dlfcn.h>
   18142 #endif
   18143 
   18144 #include <stdio.h>
   18145 
   18146 #ifdef RTLD_GLOBAL
   18147 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18148 #else
   18149 #  ifdef DL_GLOBAL
   18150 #    define LT_DLGLOBAL		DL_GLOBAL
   18151 #  else
   18152 #    define LT_DLGLOBAL		0
   18153 #  endif
   18154 #endif
   18155 
   18156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18157    find out it does not work in some platform. */
   18158 #ifndef LT_DLLAZY_OR_NOW
   18159 #  ifdef RTLD_LAZY
   18160 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18161 #  else
   18162 #    ifdef DL_LAZY
   18163 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18164 #    else
   18165 #      ifdef RTLD_NOW
   18166 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18167 #      else
   18168 #        ifdef DL_NOW
   18169 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18170 #        else
   18171 #          define LT_DLLAZY_OR_NOW	0
   18172 #        endif
   18173 #      endif
   18174 #    endif
   18175 #  endif
   18176 #endif
   18177 
   18178 /* When -fvisibility=hidden is used, assume the code has been annotated
   18179    correspondingly for the symbols needed.  */
   18180 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18181 int fnord () __attribute__((visibility("default")));
   18182 #endif
   18183 
   18184 int fnord () { return 42; }
   18185 int main ()
   18186 {
   18187   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18188   int status = $lt_dlunknown;
   18189 
   18190   if (self)
   18191     {
   18192       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18193       else
   18194         {
   18195 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18196           else puts (dlerror ());
   18197 	}
   18198       /* dlclose (self); */
   18199     }
   18200   else
   18201     puts (dlerror ());
   18202 
   18203   return status;
   18204 }
   18205 _LT_EOF
   18206   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18207   (eval $ac_link) 2>&5
   18208   ac_status=$?
   18209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18210   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18211     (./conftest; exit; ) >&5 2>/dev/null
   18212     lt_status=$?
   18213     case x$lt_status in
   18214       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18215       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18216       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18217     esac
   18218   else :
   18219     # compilation failed
   18220     lt_cv_dlopen_self=no
   18221   fi
   18222 fi
   18223 rm -fr conftest*
   18224 
   18225 
   18226 fi
   18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18228 $as_echo "$lt_cv_dlopen_self" >&6; }
   18229 
   18230     if test yes = "$lt_cv_dlopen_self"; then
   18231       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18232       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18233 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18234 if ${lt_cv_dlopen_self_static+:} false; then :
   18235   $as_echo_n "(cached) " >&6
   18236 else
   18237   	  if test yes = "$cross_compiling"; then :
   18238   lt_cv_dlopen_self_static=cross
   18239 else
   18240   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18241   lt_status=$lt_dlunknown
   18242   cat > conftest.$ac_ext <<_LT_EOF
   18243 #line $LINENO "configure"
   18244 #include "confdefs.h"
   18245 
   18246 #if HAVE_DLFCN_H
   18247 #include <dlfcn.h>
   18248 #endif
   18249 
   18250 #include <stdio.h>
   18251 
   18252 #ifdef RTLD_GLOBAL
   18253 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18254 #else
   18255 #  ifdef DL_GLOBAL
   18256 #    define LT_DLGLOBAL		DL_GLOBAL
   18257 #  else
   18258 #    define LT_DLGLOBAL		0
   18259 #  endif
   18260 #endif
   18261 
   18262 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18263    find out it does not work in some platform. */
   18264 #ifndef LT_DLLAZY_OR_NOW
   18265 #  ifdef RTLD_LAZY
   18266 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18267 #  else
   18268 #    ifdef DL_LAZY
   18269 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18270 #    else
   18271 #      ifdef RTLD_NOW
   18272 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18273 #      else
   18274 #        ifdef DL_NOW
   18275 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18276 #        else
   18277 #          define LT_DLLAZY_OR_NOW	0
   18278 #        endif
   18279 #      endif
   18280 #    endif
   18281 #  endif
   18282 #endif
   18283 
   18284 /* When -fvisibility=hidden is used, assume the code has been annotated
   18285    correspondingly for the symbols needed.  */
   18286 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18287 int fnord () __attribute__((visibility("default")));
   18288 #endif
   18289 
   18290 int fnord () { return 42; }
   18291 int main ()
   18292 {
   18293   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18294   int status = $lt_dlunknown;
   18295 
   18296   if (self)
   18297     {
   18298       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18299       else
   18300         {
   18301 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18302           else puts (dlerror ());
   18303 	}
   18304       /* dlclose (self); */
   18305     }
   18306   else
   18307     puts (dlerror ());
   18308 
   18309   return status;
   18310 }
   18311 _LT_EOF
   18312   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18313   (eval $ac_link) 2>&5
   18314   ac_status=$?
   18315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18316   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18317     (./conftest; exit; ) >&5 2>/dev/null
   18318     lt_status=$?
   18319     case x$lt_status in
   18320       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18321       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18322       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18323     esac
   18324   else :
   18325     # compilation failed
   18326     lt_cv_dlopen_self_static=no
   18327   fi
   18328 fi
   18329 rm -fr conftest*
   18330 
   18331 
   18332 fi
   18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18334 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18335     fi
   18336 
   18337     CPPFLAGS=$save_CPPFLAGS
   18338     LDFLAGS=$save_LDFLAGS
   18339     LIBS=$save_LIBS
   18340     ;;
   18341   esac
   18342 
   18343   case $lt_cv_dlopen_self in
   18344   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18345   *) enable_dlopen_self=unknown ;;
   18346   esac
   18347 
   18348   case $lt_cv_dlopen_self_static in
   18349   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18350   *) enable_dlopen_self_static=unknown ;;
   18351   esac
   18352 fi
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 striplib=
   18371 old_striplib=
   18372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18373 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18374 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18375   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18376   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18378 $as_echo "yes" >&6; }
   18379 else
   18380 # FIXME - insert some real tests, host_os isn't really good enough
   18381   case $host_os in
   18382   darwin*)
   18383     if test -n "$STRIP"; then
   18384       striplib="$STRIP -x"
   18385       old_striplib="$STRIP -S"
   18386       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18387 $as_echo "yes" >&6; }
   18388     else
   18389       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18390 $as_echo "no" >&6; }
   18391     fi
   18392     ;;
   18393   *)
   18394     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18395 $as_echo "no" >&6; }
   18396     ;;
   18397   esac
   18398 fi
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408 
   18409 
   18410 
   18411   # Report what library types will actually be built
   18412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18413 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18415 $as_echo "$can_build_shared" >&6; }
   18416 
   18417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18418 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18419   test no = "$can_build_shared" && enable_shared=no
   18420 
   18421   # On AIX, shared libraries and static libraries use the same namespace, and
   18422   # are all built from PIC.
   18423   case $host_os in
   18424   aix3*)
   18425     test yes = "$enable_shared" && enable_static=no
   18426     if test -n "$RANLIB"; then
   18427       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18428       postinstall_cmds='$RANLIB $lib'
   18429     fi
   18430     ;;
   18431 
   18432   aix[4-9]*)
   18433     if test ia64 != "$host_cpu"; then
   18434       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18435       yes,aix,yes) ;;			# shared object as lib.so file only
   18436       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18437       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18438       esac
   18439     fi
   18440     ;;
   18441   esac
   18442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18443 $as_echo "$enable_shared" >&6; }
   18444 
   18445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18446 $as_echo_n "checking whether to build static libraries... " >&6; }
   18447   # Make sure either enable_shared or enable_static is yes.
   18448   test yes = "$enable_shared" || enable_static=yes
   18449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18450 $as_echo "$enable_static" >&6; }
   18451 
   18452 
   18453 
   18454 
   18455 fi
   18456 ac_ext=c
   18457 ac_cpp='$CPP $CPPFLAGS'
   18458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18461 
   18462 CC=$lt_save_CC
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478         ac_config_commands="$ac_config_commands libtool"
   18479 
   18480 
   18481 
   18482 
   18483 # Only expand once:
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 # Define a configure option for an alternate module directory
   18490 
   18491 # Check whether --with-xorg-module-dir was given.
   18492 if test "${with_xorg_module_dir+set}" = set; then :
   18493   withval=$with_xorg_module_dir; moduledir="$withval"
   18494 else
   18495   moduledir="$libdir/xorg/modules"
   18496 fi
   18497 
   18498 
   18499 # Check whether --enable-dri was given.
   18500 if test "${enable_dri+set}" = set; then :
   18501   enableval=$enable_dri; DRI="$enableval"
   18502 else
   18503   DRI=auto
   18504 fi
   18505 
   18506 
   18507 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18508 
   18509 
   18510 	SAVE_CFLAGS="$CFLAGS"
   18511 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18512 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18513 /* end confdefs.h.  */
   18514 
   18515 #include "xorg-server.h"
   18516 #if !defined RANDR
   18517 #error RANDR not defined
   18518 #endif
   18519 
   18520 int
   18521 main ()
   18522 {
   18523 
   18524   ;
   18525   return 0;
   18526 }
   18527 _ACEOF
   18528 if ac_fn_c_try_compile "$LINENO"; then :
   18529   _EXT_CHECK=yes
   18530 else
   18531   _EXT_CHECK=no
   18532 fi
   18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18534 	CFLAGS="$SAVE_CFLAGS"
   18535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18536 $as_echo_n "checking if RANDR is defined... " >&6; }
   18537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18538 $as_echo "$_EXT_CHECK" >&6; }
   18539 	if test "$_EXT_CHECK" != no; then
   18540 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18541 	fi
   18542 
   18543 
   18544 
   18545 	SAVE_CFLAGS="$CFLAGS"
   18546 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18547 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18548 /* end confdefs.h.  */
   18549 
   18550 #include "xorg-server.h"
   18551 #if !defined RENDER
   18552 #error RENDER not defined
   18553 #endif
   18554 
   18555 int
   18556 main ()
   18557 {
   18558 
   18559   ;
   18560   return 0;
   18561 }
   18562 _ACEOF
   18563 if ac_fn_c_try_compile "$LINENO"; then :
   18564   _EXT_CHECK=yes
   18565 else
   18566   _EXT_CHECK=no
   18567 fi
   18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18569 	CFLAGS="$SAVE_CFLAGS"
   18570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18571 $as_echo_n "checking if RENDER is defined... " >&6; }
   18572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18573 $as_echo "$_EXT_CHECK" >&6; }
   18574 	if test "$_EXT_CHECK" != no; then
   18575 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18576 	fi
   18577 
   18578 
   18579 
   18580 	SAVE_CFLAGS="$CFLAGS"
   18581 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18582 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18583 /* end confdefs.h.  */
   18584 
   18585 #include "xorg-server.h"
   18586 #if !defined XV
   18587 #error XV not defined
   18588 #endif
   18589 
   18590 int
   18591 main ()
   18592 {
   18593 
   18594   ;
   18595   return 0;
   18596 }
   18597 _ACEOF
   18598 if ac_fn_c_try_compile "$LINENO"; then :
   18599   _EXT_CHECK=yes
   18600 else
   18601   _EXT_CHECK=no
   18602 fi
   18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18604 	CFLAGS="$SAVE_CFLAGS"
   18605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18606 $as_echo_n "checking if XV is defined... " >&6; }
   18607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18608 $as_echo "$_EXT_CHECK" >&6; }
   18609 	if test "$_EXT_CHECK" != no; then
   18610 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18611 	fi
   18612 
   18613 
   18614 
   18615 	SAVE_CFLAGS="$CFLAGS"
   18616 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18617 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18618 /* end confdefs.h.  */
   18619 
   18620 #include "xorg-server.h"
   18621 #if !defined DPMSExtension
   18622 #error DPMSExtension not defined
   18623 #endif
   18624 
   18625 int
   18626 main ()
   18627 {
   18628 
   18629   ;
   18630   return 0;
   18631 }
   18632 _ACEOF
   18633 if ac_fn_c_try_compile "$LINENO"; then :
   18634   _EXT_CHECK=yes
   18635 else
   18636   _EXT_CHECK=no
   18637 fi
   18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18639 	CFLAGS="$SAVE_CFLAGS"
   18640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18641 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18643 $as_echo "$_EXT_CHECK" >&6; }
   18644 	if test "$_EXT_CHECK" != no; then
   18645 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18646 	fi
   18647 
   18648 
   18649 # Obtain compiler/linker options for the driver dependencies
   18650 
   18651 pkg_failed=no
   18652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18653 $as_echo_n "checking for XORG... " >&6; }
   18654 
   18655 if test -n "$XORG_CFLAGS"; then
   18656     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18657  elif test -n "$PKG_CONFIG"; then
   18658     if test -n "$PKG_CONFIG" && \
   18659     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18660   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18661   ac_status=$?
   18662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18663   test $ac_status = 0; }; then
   18664   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18665 		      test "x$?" != "x0" && pkg_failed=yes
   18666 else
   18667   pkg_failed=yes
   18668 fi
   18669  else
   18670     pkg_failed=untried
   18671 fi
   18672 if test -n "$XORG_LIBS"; then
   18673     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18674  elif test -n "$PKG_CONFIG"; then
   18675     if test -n "$PKG_CONFIG" && \
   18676     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18677   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18678   ac_status=$?
   18679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18680   test $ac_status = 0; }; then
   18681   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18682 		      test "x$?" != "x0" && pkg_failed=yes
   18683 else
   18684   pkg_failed=yes
   18685 fi
   18686  else
   18687     pkg_failed=untried
   18688 fi
   18689 
   18690 
   18691 
   18692 if test $pkg_failed = yes; then
   18693    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18694 $as_echo "no" >&6; }
   18695 
   18696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18697         _pkg_short_errors_supported=yes
   18698 else
   18699         _pkg_short_errors_supported=no
   18700 fi
   18701         if test $_pkg_short_errors_supported = yes; then
   18702 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18703         else
   18704 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18705         fi
   18706 	# Put the nasty error message in config.log where it belongs
   18707 	echo "$XORG_PKG_ERRORS" >&5
   18708 
   18709 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18710 
   18711 $XORG_PKG_ERRORS
   18712 
   18713 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18714 installed software in a non-standard prefix.
   18715 
   18716 Alternatively, you may set the environment variables XORG_CFLAGS
   18717 and XORG_LIBS to avoid the need to call pkg-config.
   18718 See the pkg-config man page for more details." "$LINENO" 5
   18719 elif test $pkg_failed = untried; then
   18720      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18721 $as_echo "no" >&6; }
   18722 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18724 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18725 is in your PATH or set the PKG_CONFIG environment variable to the full
   18726 path to pkg-config.
   18727 
   18728 Alternatively, you may set the environment variables XORG_CFLAGS
   18729 and XORG_LIBS to avoid the need to call pkg-config.
   18730 See the pkg-config man page for more details.
   18731 
   18732 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18733 See \`config.log' for more details" "$LINENO" 5; }
   18734 else
   18735 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18736 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18737         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18738 $as_echo "yes" >&6; }
   18739 
   18740 fi
   18741 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18742 
   18743 # Checks for libraries.
   18744 SAVE_CPPFLAGS="$CPPFLAGS"
   18745 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18746 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18747 "
   18748 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18749   XSERVER_LIBPCIACCESS=yes
   18750 else
   18751   XSERVER_LIBPCIACCESS=no
   18752 fi
   18753 
   18754 CPPFLAGS="$SAVE_CPPFLAGS"
   18755 
   18756 if test "$DRI" != no; then
   18757         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18759 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18760 if eval \${$as_ac_File+:} false; then :
   18761   $as_echo_n "(cached) " >&6
   18762 else
   18763   test "$cross_compiling" = yes &&
   18764   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18765 if test -r "${sdkdir}/dri.h"; then
   18766   eval "$as_ac_File=yes"
   18767 else
   18768   eval "$as_ac_File=no"
   18769 fi
   18770 fi
   18771 eval ac_res=\$$as_ac_File
   18772 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18773 $as_echo "$ac_res" >&6; }
   18774 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18775   have_dri_h="yes"
   18776 else
   18777   have_dri_h="no"
   18778 fi
   18779 
   18780         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18782 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18783 if eval \${$as_ac_File+:} false; then :
   18784   $as_echo_n "(cached) " >&6
   18785 else
   18786   test "$cross_compiling" = yes &&
   18787   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18788 if test -r "${sdkdir}/sarea.h"; then
   18789   eval "$as_ac_File=yes"
   18790 else
   18791   eval "$as_ac_File=no"
   18792 fi
   18793 fi
   18794 eval ac_res=\$$as_ac_File
   18795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18796 $as_echo "$ac_res" >&6; }
   18797 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18798   have_sarea_h="yes"
   18799 else
   18800   have_sarea_h="no"
   18801 fi
   18802 
   18803         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18805 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18806 if eval \${$as_ac_File+:} false; then :
   18807   $as_echo_n "(cached) " >&6
   18808 else
   18809   test "$cross_compiling" = yes &&
   18810   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18811 if test -r "${sdkdir}/dristruct.h"; then
   18812   eval "$as_ac_File=yes"
   18813 else
   18814   eval "$as_ac_File=no"
   18815 fi
   18816 fi
   18817 eval ac_res=\$$as_ac_File
   18818 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18819 $as_echo "$ac_res" >&6; }
   18820 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18821   have_dristruct_h="yes"
   18822 else
   18823   have_dristruct_h="no"
   18824 fi
   18825 
   18826 fi
   18827 
   18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18829 $as_echo_n "checking whether to include DRI support... " >&6; }
   18830 if test x$DRI = xauto; then
   18831         if test "$have_dri_h" = yes -a \
   18832                 "$have_sarea_h" = yes -a \
   18833                 "$have_dristruct_h" = yes; then
   18834                 DRI="yes"
   18835         else
   18836                 DRI="no"
   18837         fi
   18838 fi
   18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18840 $as_echo "$DRI" >&6; }
   18841 
   18842  if test x$DRI = xyes; then
   18843   DRI_TRUE=
   18844   DRI_FALSE='#'
   18845 else
   18846   DRI_TRUE='#'
   18847   DRI_FALSE=
   18848 fi
   18849 
   18850 if test "$DRI" = yes; then
   18851 
   18852 pkg_failed=no
   18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18854 $as_echo_n "checking for DRI... " >&6; }
   18855 
   18856 if test -n "$DRI_CFLAGS"; then
   18857     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18858  elif test -n "$PKG_CONFIG"; then
   18859     if test -n "$PKG_CONFIG" && \
   18860     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18861   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18862   ac_status=$?
   18863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18864   test $ac_status = 0; }; then
   18865   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18866 		      test "x$?" != "x0" && pkg_failed=yes
   18867 else
   18868   pkg_failed=yes
   18869 fi
   18870  else
   18871     pkg_failed=untried
   18872 fi
   18873 if test -n "$DRI_LIBS"; then
   18874     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18875  elif test -n "$PKG_CONFIG"; then
   18876     if test -n "$PKG_CONFIG" && \
   18877     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18878   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18879   ac_status=$?
   18880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18881   test $ac_status = 0; }; then
   18882   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18883 		      test "x$?" != "x0" && pkg_failed=yes
   18884 else
   18885   pkg_failed=yes
   18886 fi
   18887  else
   18888     pkg_failed=untried
   18889 fi
   18890 
   18891 
   18892 
   18893 if test $pkg_failed = yes; then
   18894    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18895 $as_echo "no" >&6; }
   18896 
   18897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18898         _pkg_short_errors_supported=yes
   18899 else
   18900         _pkg_short_errors_supported=no
   18901 fi
   18902         if test $_pkg_short_errors_supported = yes; then
   18903 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18904         else
   18905 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18906         fi
   18907 	# Put the nasty error message in config.log where it belongs
   18908 	echo "$DRI_PKG_ERRORS" >&5
   18909 
   18910 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   18911 
   18912 $DRI_PKG_ERRORS
   18913 
   18914 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18915 installed software in a non-standard prefix.
   18916 
   18917 Alternatively, you may set the environment variables DRI_CFLAGS
   18918 and DRI_LIBS to avoid the need to call pkg-config.
   18919 See the pkg-config man page for more details." "$LINENO" 5
   18920 elif test $pkg_failed = untried; then
   18921      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18922 $as_echo "no" >&6; }
   18923 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18925 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18926 is in your PATH or set the PKG_CONFIG environment variable to the full
   18927 path to pkg-config.
   18928 
   18929 Alternatively, you may set the environment variables DRI_CFLAGS
   18930 and DRI_LIBS to avoid the need to call pkg-config.
   18931 See the pkg-config man page for more details.
   18932 
   18933 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18934 See \`config.log' for more details" "$LINENO" 5; }
   18935 else
   18936 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   18937 	DRI_LIBS=$pkg_cv_DRI_LIBS
   18938         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18939 $as_echo "yes" >&6; }
   18940 
   18941 fi
   18942 
   18943 $as_echo "#define TDFXDRI 1" >>confdefs.h
   18944 
   18945 
   18946 $as_echo "#define TDFXDRI_DEVEL 1" >>confdefs.h
   18947 
   18948 fi
   18949 
   18950 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18951 
   18952 pkg_failed=no
   18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18954 $as_echo_n "checking for PCIACCESS... " >&6; }
   18955 
   18956 if test -n "$PCIACCESS_CFLAGS"; then
   18957     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18958  elif test -n "$PKG_CONFIG"; then
   18959     if test -n "$PKG_CONFIG" && \
   18960     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18961   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18962   ac_status=$?
   18963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18964   test $ac_status = 0; }; then
   18965   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18966 		      test "x$?" != "x0" && pkg_failed=yes
   18967 else
   18968   pkg_failed=yes
   18969 fi
   18970  else
   18971     pkg_failed=untried
   18972 fi
   18973 if test -n "$PCIACCESS_LIBS"; then
   18974     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18975  elif test -n "$PKG_CONFIG"; then
   18976     if test -n "$PKG_CONFIG" && \
   18977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18978   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18979   ac_status=$?
   18980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18981   test $ac_status = 0; }; then
   18982   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18983 		      test "x$?" != "x0" && pkg_failed=yes
   18984 else
   18985   pkg_failed=yes
   18986 fi
   18987  else
   18988     pkg_failed=untried
   18989 fi
   18990 
   18991 
   18992 
   18993 if test $pkg_failed = yes; then
   18994    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18995 $as_echo "no" >&6; }
   18996 
   18997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18998         _pkg_short_errors_supported=yes
   18999 else
   19000         _pkg_short_errors_supported=no
   19001 fi
   19002         if test $_pkg_short_errors_supported = yes; then
   19003 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19004         else
   19005 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19006         fi
   19007 	# Put the nasty error message in config.log where it belongs
   19008 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19009 
   19010 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19011 
   19012 $PCIACCESS_PKG_ERRORS
   19013 
   19014 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19015 installed software in a non-standard prefix.
   19016 
   19017 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19018 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19019 See the pkg-config man page for more details." "$LINENO" 5
   19020 elif test $pkg_failed = untried; then
   19021      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19022 $as_echo "no" >&6; }
   19023 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19025 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19026 is in your PATH or set the PKG_CONFIG environment variable to the full
   19027 path to pkg-config.
   19028 
   19029 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19030 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19031 See the pkg-config man page for more details.
   19032 
   19033 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19034 See \`config.log' for more details" "$LINENO" 5; }
   19035 else
   19036 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19037 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19039 $as_echo "yes" >&6; }
   19040 
   19041 fi
   19042     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   19043 fi
   19044  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19045   XSERVER_LIBPCIACCESS_TRUE=
   19046   XSERVER_LIBPCIACCESS_FALSE='#'
   19047 else
   19048   XSERVER_LIBPCIACCESS_TRUE='#'
   19049   XSERVER_LIBPCIACCESS_FALSE=
   19050 fi
   19051 
   19052 
   19053 # Check whether --enable-xaa was given.
   19054 if test "${enable_xaa+set}" = set; then :
   19055   enableval=$enable_xaa; XAA="$enableval"
   19056 else
   19057   XAA=auto
   19058 fi
   19059 
   19060 if test "x$XAA" != xno; then
   19061         save_CFLAGS=$CFLAGS
   19062         save_CPPFLAGS=$CPPFLAGS
   19063         CFLAGS=$XORG_CFLAGS
   19064         CPPFLAGS="$XORG_CFLAGS"
   19065         for ac_header in xaa.h
   19066 do :
   19067   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19068 if test "x$ac_cv_header_xaa_h" = xyes; then :
   19069   cat >>confdefs.h <<_ACEOF
   19070 #define HAVE_XAA_H 1
   19071 _ACEOF
   19072  XAA=yes
   19073 else
   19074   XAA=no
   19075 fi
   19076 
   19077 done
   19078 
   19079         CFLAGS=$save_CFLAGS
   19080         CPPFLAGS=$save_CPPFLAGS
   19081 fi
   19082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19083 $as_echo_n "checking whether to include XAA support... " >&6; }
   19084  if test "x$XAA" = xyes; then
   19085   XAA_TRUE=
   19086   XAA_FALSE='#'
   19087 else
   19088   XAA_TRUE='#'
   19089   XAA_FALSE=
   19090 fi
   19091 
   19092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19093 $as_echo "$XAA" >&6; }
   19094 
   19095 
   19096 
   19097 DRIVER_NAME=tdfx
   19098 
   19099 
   19100 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19101 
   19102 cat >confcache <<\_ACEOF
   19103 # This file is a shell script that caches the results of configure
   19104 # tests run on this system so they can be shared between configure
   19105 # scripts and configure runs, see configure's option --config-cache.
   19106 # It is not useful on other systems.  If it contains results you don't
   19107 # want to keep, you may remove or edit it.
   19108 #
   19109 # config.status only pays attention to the cache file if you give it
   19110 # the --recheck option to rerun configure.
   19111 #
   19112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19114 # following values.
   19115 
   19116 _ACEOF
   19117 
   19118 # The following way of writing the cache mishandles newlines in values,
   19119 # but we know of no workaround that is simple, portable, and efficient.
   19120 # So, we kill variables containing newlines.
   19121 # Ultrix sh set writes to stderr and can't be redirected directly,
   19122 # and sets the high bit in the cache file unless we assign to the vars.
   19123 (
   19124   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19125     eval ac_val=\$$ac_var
   19126     case $ac_val in #(
   19127     *${as_nl}*)
   19128       case $ac_var in #(
   19129       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19130 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19131       esac
   19132       case $ac_var in #(
   19133       _ | IFS | as_nl) ;; #(
   19134       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19135       *) { eval $ac_var=; unset $ac_var;} ;;
   19136       esac ;;
   19137     esac
   19138   done
   19139 
   19140   (set) 2>&1 |
   19141     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19142     *${as_nl}ac_space=\ *)
   19143       # `set' does not quote correctly, so add quotes: double-quote
   19144       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19145       sed -n \
   19146 	"s/'/'\\\\''/g;
   19147 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19148       ;; #(
   19149     *)
   19150       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19151       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19152       ;;
   19153     esac |
   19154     sort
   19155 ) |
   19156   sed '
   19157      /^ac_cv_env_/b end
   19158      t clear
   19159      :clear
   19160      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19161      t end
   19162      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19163      :end' >>confcache
   19164 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19165   if test -w "$cache_file"; then
   19166     if test "x$cache_file" != "x/dev/null"; then
   19167       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19168 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19169       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19170 	cat confcache >"$cache_file"
   19171       else
   19172         case $cache_file in #(
   19173         */* | ?:*)
   19174 	  mv -f confcache "$cache_file"$$ &&
   19175 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19176         *)
   19177 	  mv -f confcache "$cache_file" ;;
   19178 	esac
   19179       fi
   19180     fi
   19181   else
   19182     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19183 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19184   fi
   19185 fi
   19186 rm -f confcache
   19187 
   19188 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19189 # Let make expand exec_prefix.
   19190 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19191 
   19192 DEFS=-DHAVE_CONFIG_H
   19193 
   19194 ac_libobjs=
   19195 ac_ltlibobjs=
   19196 U=
   19197 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19198   # 1. Remove the extension, and $U if already installed.
   19199   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19200   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19201   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19202   #    will be set to the directory where LIBOBJS objects are built.
   19203   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19204   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19205 done
   19206 LIBOBJS=$ac_libobjs
   19207 
   19208 LTLIBOBJS=$ac_ltlibobjs
   19209 
   19210 
   19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19212 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19213    if test -n "$am_sleep_pid"; then
   19214      # Hide warnings about reused PIDs.
   19215      wait $am_sleep_pid 2>/dev/null
   19216    fi
   19217    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19218 $as_echo "done" >&6; }
   19219  if test -n "$EXEEXT"; then
   19220   am__EXEEXT_TRUE=
   19221   am__EXEEXT_FALSE='#'
   19222 else
   19223   am__EXEEXT_TRUE='#'
   19224   am__EXEEXT_FALSE=
   19225 fi
   19226 
   19227 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19228   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19230 fi
   19231 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19232   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19234 fi
   19235 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19236   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19238 fi
   19239 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   19240   as_fn_error $? "conditional \"DRI\" was never defined.
   19241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19242 fi
   19243 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19244   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19246 fi
   19247 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19248   as_fn_error $? "conditional \"XAA\" was never defined.
   19249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19250 fi
   19251 
   19252 : "${CONFIG_STATUS=./config.status}"
   19253 ac_write_fail=0
   19254 ac_clean_files_save=$ac_clean_files
   19255 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19257 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19258 as_write_fail=0
   19259 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19260 #! $SHELL
   19261 # Generated by $as_me.
   19262 # Run this file to recreate the current configuration.
   19263 # Compiler output produced by configure, useful for debugging
   19264 # configure, is in config.log if it exists.
   19265 
   19266 debug=false
   19267 ac_cs_recheck=false
   19268 ac_cs_silent=false
   19269 
   19270 SHELL=\${CONFIG_SHELL-$SHELL}
   19271 export SHELL
   19272 _ASEOF
   19273 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19274 ## -------------------- ##
   19275 ## M4sh Initialization. ##
   19276 ## -------------------- ##
   19277 
   19278 # Be more Bourne compatible
   19279 DUALCASE=1; export DUALCASE # for MKS sh
   19280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19281   emulate sh
   19282   NULLCMD=:
   19283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19284   # is contrary to our usage.  Disable this feature.
   19285   alias -g '${1+"$@"}'='"$@"'
   19286   setopt NO_GLOB_SUBST
   19287 else
   19288   case `(set -o) 2>/dev/null` in #(
   19289   *posix*) :
   19290     set -o posix ;; #(
   19291   *) :
   19292      ;;
   19293 esac
   19294 fi
   19295 
   19296 
   19297 as_nl='
   19298 '
   19299 export as_nl
   19300 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19301 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19302 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19304 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19305 # but without wasting forks for bash or zsh.
   19306 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19307     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19308   as_echo='print -r --'
   19309   as_echo_n='print -rn --'
   19310 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19311   as_echo='printf %s\n'
   19312   as_echo_n='printf %s'
   19313 else
   19314   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19315     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19316     as_echo_n='/usr/ucb/echo -n'
   19317   else
   19318     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19319     as_echo_n_body='eval
   19320       arg=$1;
   19321       case $arg in #(
   19322       *"$as_nl"*)
   19323 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19324 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19325       esac;
   19326       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19327     '
   19328     export as_echo_n_body
   19329     as_echo_n='sh -c $as_echo_n_body as_echo'
   19330   fi
   19331   export as_echo_body
   19332   as_echo='sh -c $as_echo_body as_echo'
   19333 fi
   19334 
   19335 # The user is always right.
   19336 if test "${PATH_SEPARATOR+set}" != set; then
   19337   PATH_SEPARATOR=:
   19338   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19339     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19340       PATH_SEPARATOR=';'
   19341   }
   19342 fi
   19343 
   19344 
   19345 # IFS
   19346 # We need space, tab and new line, in precisely that order.  Quoting is
   19347 # there to prevent editors from complaining about space-tab.
   19348 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19349 # splitting by setting IFS to empty value.)
   19350 IFS=" ""	$as_nl"
   19351 
   19352 # Find who we are.  Look in the path if we contain no directory separator.
   19353 as_myself=
   19354 case $0 in #((
   19355   *[\\/]* ) as_myself=$0 ;;
   19356   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19357 for as_dir in $PATH
   19358 do
   19359   IFS=$as_save_IFS
   19360   test -z "$as_dir" && as_dir=.
   19361     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19362   done
   19363 IFS=$as_save_IFS
   19364 
   19365      ;;
   19366 esac
   19367 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19368 # in which case we are not to be found in the path.
   19369 if test "x$as_myself" = x; then
   19370   as_myself=$0
   19371 fi
   19372 if test ! -f "$as_myself"; then
   19373   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19374   exit 1
   19375 fi
   19376 
   19377 # Unset variables that we do not need and which cause bugs (e.g. in
   19378 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19379 # suppresses any "Segmentation fault" message there.  '((' could
   19380 # trigger a bug in pdksh 5.2.14.
   19381 for as_var in BASH_ENV ENV MAIL MAILPATH
   19382 do eval test x\${$as_var+set} = xset \
   19383   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19384 done
   19385 PS1='$ '
   19386 PS2='> '
   19387 PS4='+ '
   19388 
   19389 # NLS nuisances.
   19390 LC_ALL=C
   19391 export LC_ALL
   19392 LANGUAGE=C
   19393 export LANGUAGE
   19394 
   19395 # CDPATH.
   19396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19397 
   19398 
   19399 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19400 # ----------------------------------------
   19401 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19402 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19403 # script with STATUS, using 1 if that was 0.
   19404 as_fn_error ()
   19405 {
   19406   as_status=$1; test $as_status -eq 0 && as_status=1
   19407   if test "$4"; then
   19408     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19409     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19410   fi
   19411   $as_echo "$as_me: error: $2" >&2
   19412   as_fn_exit $as_status
   19413 } # as_fn_error
   19414 
   19415 
   19416 # as_fn_set_status STATUS
   19417 # -----------------------
   19418 # Set $? to STATUS, without forking.
   19419 as_fn_set_status ()
   19420 {
   19421   return $1
   19422 } # as_fn_set_status
   19423 
   19424 # as_fn_exit STATUS
   19425 # -----------------
   19426 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19427 as_fn_exit ()
   19428 {
   19429   set +e
   19430   as_fn_set_status $1
   19431   exit $1
   19432 } # as_fn_exit
   19433 
   19434 # as_fn_unset VAR
   19435 # ---------------
   19436 # Portably unset VAR.
   19437 as_fn_unset ()
   19438 {
   19439   { eval $1=; unset $1;}
   19440 }
   19441 as_unset=as_fn_unset
   19442 # as_fn_append VAR VALUE
   19443 # ----------------------
   19444 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19445 # advantage of any shell optimizations that allow amortized linear growth over
   19446 # repeated appends, instead of the typical quadratic growth present in naive
   19447 # implementations.
   19448 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19449   eval 'as_fn_append ()
   19450   {
   19451     eval $1+=\$2
   19452   }'
   19453 else
   19454   as_fn_append ()
   19455   {
   19456     eval $1=\$$1\$2
   19457   }
   19458 fi # as_fn_append
   19459 
   19460 # as_fn_arith ARG...
   19461 # ------------------
   19462 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19463 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19464 # must be portable across $(()) and expr.
   19465 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19466   eval 'as_fn_arith ()
   19467   {
   19468     as_val=$(( $* ))
   19469   }'
   19470 else
   19471   as_fn_arith ()
   19472   {
   19473     as_val=`expr "$@" || test $? -eq 1`
   19474   }
   19475 fi # as_fn_arith
   19476 
   19477 
   19478 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19479    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19480   as_expr=expr
   19481 else
   19482   as_expr=false
   19483 fi
   19484 
   19485 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19486   as_basename=basename
   19487 else
   19488   as_basename=false
   19489 fi
   19490 
   19491 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19492   as_dirname=dirname
   19493 else
   19494   as_dirname=false
   19495 fi
   19496 
   19497 as_me=`$as_basename -- "$0" ||
   19498 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19499 	 X"$0" : 'X\(//\)$' \| \
   19500 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19501 $as_echo X/"$0" |
   19502     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19503 	    s//\1/
   19504 	    q
   19505 	  }
   19506 	  /^X\/\(\/\/\)$/{
   19507 	    s//\1/
   19508 	    q
   19509 	  }
   19510 	  /^X\/\(\/\).*/{
   19511 	    s//\1/
   19512 	    q
   19513 	  }
   19514 	  s/.*/./; q'`
   19515 
   19516 # Avoid depending upon Character Ranges.
   19517 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19518 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19519 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19520 as_cr_digits='0123456789'
   19521 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19522 
   19523 ECHO_C= ECHO_N= ECHO_T=
   19524 case `echo -n x` in #(((((
   19525 -n*)
   19526   case `echo 'xy\c'` in
   19527   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19528   xy)  ECHO_C='\c';;
   19529   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19530        ECHO_T='	';;
   19531   esac;;
   19532 *)
   19533   ECHO_N='-n';;
   19534 esac
   19535 
   19536 rm -f conf$$ conf$$.exe conf$$.file
   19537 if test -d conf$$.dir; then
   19538   rm -f conf$$.dir/conf$$.file
   19539 else
   19540   rm -f conf$$.dir
   19541   mkdir conf$$.dir 2>/dev/null
   19542 fi
   19543 if (echo >conf$$.file) 2>/dev/null; then
   19544   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19545     as_ln_s='ln -s'
   19546     # ... but there are two gotchas:
   19547     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19548     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19549     # In both cases, we have to default to `cp -pR'.
   19550     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19551       as_ln_s='cp -pR'
   19552   elif ln conf$$.file conf$$ 2>/dev/null; then
   19553     as_ln_s=ln
   19554   else
   19555     as_ln_s='cp -pR'
   19556   fi
   19557 else
   19558   as_ln_s='cp -pR'
   19559 fi
   19560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19561 rmdir conf$$.dir 2>/dev/null
   19562 
   19563 
   19564 # as_fn_mkdir_p
   19565 # -------------
   19566 # Create "$as_dir" as a directory, including parents if necessary.
   19567 as_fn_mkdir_p ()
   19568 {
   19569 
   19570   case $as_dir in #(
   19571   -*) as_dir=./$as_dir;;
   19572   esac
   19573   test -d "$as_dir" || eval $as_mkdir_p || {
   19574     as_dirs=
   19575     while :; do
   19576       case $as_dir in #(
   19577       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19578       *) as_qdir=$as_dir;;
   19579       esac
   19580       as_dirs="'$as_qdir' $as_dirs"
   19581       as_dir=`$as_dirname -- "$as_dir" ||
   19582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19583 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19584 	 X"$as_dir" : 'X\(//\)$' \| \
   19585 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19586 $as_echo X"$as_dir" |
   19587     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19588 	    s//\1/
   19589 	    q
   19590 	  }
   19591 	  /^X\(\/\/\)[^/].*/{
   19592 	    s//\1/
   19593 	    q
   19594 	  }
   19595 	  /^X\(\/\/\)$/{
   19596 	    s//\1/
   19597 	    q
   19598 	  }
   19599 	  /^X\(\/\).*/{
   19600 	    s//\1/
   19601 	    q
   19602 	  }
   19603 	  s/.*/./; q'`
   19604       test -d "$as_dir" && break
   19605     done
   19606     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19607   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19608 
   19609 
   19610 } # as_fn_mkdir_p
   19611 if mkdir -p . 2>/dev/null; then
   19612   as_mkdir_p='mkdir -p "$as_dir"'
   19613 else
   19614   test -d ./-p && rmdir ./-p
   19615   as_mkdir_p=false
   19616 fi
   19617 
   19618 
   19619 # as_fn_executable_p FILE
   19620 # -----------------------
   19621 # Test if FILE is an executable regular file.
   19622 as_fn_executable_p ()
   19623 {
   19624   test -f "$1" && test -x "$1"
   19625 } # as_fn_executable_p
   19626 as_test_x='test -x'
   19627 as_executable_p=as_fn_executable_p
   19628 
   19629 # Sed expression to map a string onto a valid CPP name.
   19630 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19631 
   19632 # Sed expression to map a string onto a valid variable name.
   19633 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19634 
   19635 
   19636 exec 6>&1
   19637 ## ----------------------------------- ##
   19638 ## Main body of $CONFIG_STATUS script. ##
   19639 ## ----------------------------------- ##
   19640 _ASEOF
   19641 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19642 
   19643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19644 # Save the log message, to keep $0 and so on meaningful, and to
   19645 # report actual input values of CONFIG_FILES etc. instead of their
   19646 # values after options handling.
   19647 ac_log="
   19648 This file was extended by xf86-video-tdfx $as_me 1.4.7, which was
   19649 generated by GNU Autoconf 2.69.  Invocation command line was
   19650 
   19651   CONFIG_FILES    = $CONFIG_FILES
   19652   CONFIG_HEADERS  = $CONFIG_HEADERS
   19653   CONFIG_LINKS    = $CONFIG_LINKS
   19654   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19655   $ $0 $@
   19656 
   19657 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19658 "
   19659 
   19660 _ACEOF
   19661 
   19662 case $ac_config_files in *"
   19663 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19664 esac
   19665 
   19666 case $ac_config_headers in *"
   19667 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19668 esac
   19669 
   19670 
   19671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19672 # Files that config.status was made for.
   19673 config_files="$ac_config_files"
   19674 config_headers="$ac_config_headers"
   19675 config_commands="$ac_config_commands"
   19676 
   19677 _ACEOF
   19678 
   19679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19680 ac_cs_usage="\
   19681 \`$as_me' instantiates files and other configuration actions
   19682 from templates according to the current configuration.  Unless the files
   19683 and actions are specified as TAGs, all are instantiated by default.
   19684 
   19685 Usage: $0 [OPTION]... [TAG]...
   19686 
   19687   -h, --help       print this help, then exit
   19688   -V, --version    print version number and configuration settings, then exit
   19689       --config     print configuration, then exit
   19690   -q, --quiet, --silent
   19691                    do not print progress messages
   19692   -d, --debug      don't remove temporary files
   19693       --recheck    update $as_me by reconfiguring in the same conditions
   19694       --file=FILE[:TEMPLATE]
   19695                    instantiate the configuration file FILE
   19696       --header=FILE[:TEMPLATE]
   19697                    instantiate the configuration header FILE
   19698 
   19699 Configuration files:
   19700 $config_files
   19701 
   19702 Configuration headers:
   19703 $config_headers
   19704 
   19705 Configuration commands:
   19706 $config_commands
   19707 
   19708 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19709 
   19710 _ACEOF
   19711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19712 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19713 ac_cs_version="\\
   19714 xf86-video-tdfx config.status 1.4.7
   19715 configured by $0, generated by GNU Autoconf 2.69,
   19716   with options \\"\$ac_cs_config\\"
   19717 
   19718 Copyright (C) 2012 Free Software Foundation, Inc.
   19719 This config.status script is free software; the Free Software Foundation
   19720 gives unlimited permission to copy, distribute and modify it."
   19721 
   19722 ac_pwd='$ac_pwd'
   19723 srcdir='$srcdir'
   19724 INSTALL='$INSTALL'
   19725 MKDIR_P='$MKDIR_P'
   19726 AWK='$AWK'
   19727 test -n "\$AWK" || AWK=awk
   19728 _ACEOF
   19729 
   19730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19731 # The default lists apply if the user does not specify any file.
   19732 ac_need_defaults=:
   19733 while test $# != 0
   19734 do
   19735   case $1 in
   19736   --*=?*)
   19737     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19738     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19739     ac_shift=:
   19740     ;;
   19741   --*=)
   19742     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19743     ac_optarg=
   19744     ac_shift=:
   19745     ;;
   19746   *)
   19747     ac_option=$1
   19748     ac_optarg=$2
   19749     ac_shift=shift
   19750     ;;
   19751   esac
   19752 
   19753   case $ac_option in
   19754   # Handling of the options.
   19755   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19756     ac_cs_recheck=: ;;
   19757   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19758     $as_echo "$ac_cs_version"; exit ;;
   19759   --config | --confi | --conf | --con | --co | --c )
   19760     $as_echo "$ac_cs_config"; exit ;;
   19761   --debug | --debu | --deb | --de | --d | -d )
   19762     debug=: ;;
   19763   --file | --fil | --fi | --f )
   19764     $ac_shift
   19765     case $ac_optarg in
   19766     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19767     '') as_fn_error $? "missing file argument" ;;
   19768     esac
   19769     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19770     ac_need_defaults=false;;
   19771   --header | --heade | --head | --hea )
   19772     $ac_shift
   19773     case $ac_optarg in
   19774     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19775     esac
   19776     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19777     ac_need_defaults=false;;
   19778   --he | --h)
   19779     # Conflict between --help and --header
   19780     as_fn_error $? "ambiguous option: \`$1'
   19781 Try \`$0 --help' for more information.";;
   19782   --help | --hel | -h )
   19783     $as_echo "$ac_cs_usage"; exit ;;
   19784   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19785   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19786     ac_cs_silent=: ;;
   19787 
   19788   # This is an error.
   19789   -*) as_fn_error $? "unrecognized option: \`$1'
   19790 Try \`$0 --help' for more information." ;;
   19791 
   19792   *) as_fn_append ac_config_targets " $1"
   19793      ac_need_defaults=false ;;
   19794 
   19795   esac
   19796   shift
   19797 done
   19798 
   19799 ac_configure_extra_args=
   19800 
   19801 if $ac_cs_silent; then
   19802   exec 6>/dev/null
   19803   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19804 fi
   19805 
   19806 _ACEOF
   19807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19808 if \$ac_cs_recheck; then
   19809   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19810   shift
   19811   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19812   CONFIG_SHELL='$SHELL'
   19813   export CONFIG_SHELL
   19814   exec "\$@"
   19815 fi
   19816 
   19817 _ACEOF
   19818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19819 exec 5>>config.log
   19820 {
   19821   echo
   19822   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19823 ## Running $as_me. ##
   19824 _ASBOX
   19825   $as_echo "$ac_log"
   19826 } >&5
   19827 
   19828 _ACEOF
   19829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19830 #
   19831 # INIT-COMMANDS
   19832 #
   19833 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19834 
   19835 
   19836 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19837 # if CDPATH is set.
   19838 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19839 
   19840 sed_quote_subst='$sed_quote_subst'
   19841 double_quote_subst='$double_quote_subst'
   19842 delay_variable_subst='$delay_variable_subst'
   19843 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19844 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19845 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19846 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19847 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19848 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19849 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19850 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19851 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19852 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19853 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19854 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19855 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19856 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19857 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19858 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19859 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19860 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19861 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19862 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19863 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19864 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19865 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19866 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19867 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19868 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19869 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19870 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19871 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19872 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19873 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19874 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19875 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19876 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19877 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19878 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19879 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19880 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19881 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19882 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19883 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19884 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19885 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19886 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19887 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19888 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19889 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19890 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19891 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19892 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19893 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19894 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19895 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19896 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19897 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19898 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19899 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19900 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19901 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"`'
   19902 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19903 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19904 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19905 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19906 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19907 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19908 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19909 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19910 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19911 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19912 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19913 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19914 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19915 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19916 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19917 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19918 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19919 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19920 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19921 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19922 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19923 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19924 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19925 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19926 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19927 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19928 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19929 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19930 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19931 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19932 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19933 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19934 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19935 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19936 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19937 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19938 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19939 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19940 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19941 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19942 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19943 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19944 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19945 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19946 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19947 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19948 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19949 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19950 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19951 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19952 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19953 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19954 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19955 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19956 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19957 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19958 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19959 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19960 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19961 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19962 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19963 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19964 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19965 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19966 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19967 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19968 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19969 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19970 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19971 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19972 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19973 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19974 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19975 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19976 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19977 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19978 
   19979 LTCC='$LTCC'
   19980 LTCFLAGS='$LTCFLAGS'
   19981 compiler='$compiler_DEFAULT'
   19982 
   19983 # A function that is used when there is no print builtin or printf.
   19984 func_fallback_echo ()
   19985 {
   19986   eval 'cat <<_LTECHO_EOF
   19987 \$1
   19988 _LTECHO_EOF'
   19989 }
   19990 
   19991 # Quote evaled strings.
   19992 for var in SHELL \
   19993 ECHO \
   19994 PATH_SEPARATOR \
   19995 SED \
   19996 GREP \
   19997 EGREP \
   19998 FGREP \
   19999 LD \
   20000 NM \
   20001 LN_S \
   20002 lt_SP2NL \
   20003 lt_NL2SP \
   20004 reload_flag \
   20005 OBJDUMP \
   20006 deplibs_check_method \
   20007 file_magic_cmd \
   20008 file_magic_glob \
   20009 want_nocaseglob \
   20010 DLLTOOL \
   20011 sharedlib_from_linklib_cmd \
   20012 AR \
   20013 AR_FLAGS \
   20014 archiver_list_spec \
   20015 STRIP \
   20016 RANLIB \
   20017 CC \
   20018 CFLAGS \
   20019 compiler \
   20020 lt_cv_sys_global_symbol_pipe \
   20021 lt_cv_sys_global_symbol_to_cdecl \
   20022 lt_cv_sys_global_symbol_to_import \
   20023 lt_cv_sys_global_symbol_to_c_name_address \
   20024 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20025 lt_cv_nm_interface \
   20026 nm_file_list_spec \
   20027 lt_cv_truncate_bin \
   20028 lt_prog_compiler_no_builtin_flag \
   20029 lt_prog_compiler_pic \
   20030 lt_prog_compiler_wl \
   20031 lt_prog_compiler_static \
   20032 lt_cv_prog_compiler_c_o \
   20033 need_locks \
   20034 MANIFEST_TOOL \
   20035 DSYMUTIL \
   20036 NMEDIT \
   20037 LIPO \
   20038 OTOOL \
   20039 OTOOL64 \
   20040 shrext_cmds \
   20041 export_dynamic_flag_spec \
   20042 whole_archive_flag_spec \
   20043 compiler_needs_object \
   20044 with_gnu_ld \
   20045 allow_undefined_flag \
   20046 no_undefined_flag \
   20047 hardcode_libdir_flag_spec \
   20048 hardcode_libdir_separator \
   20049 exclude_expsyms \
   20050 include_expsyms \
   20051 file_list_spec \
   20052 variables_saved_for_relink \
   20053 libname_spec \
   20054 library_names_spec \
   20055 soname_spec \
   20056 install_override_mode \
   20057 finish_eval \
   20058 old_striplib \
   20059 striplib; do
   20060     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20061     *[\\\\\\\`\\"\\\$]*)
   20062       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20063       ;;
   20064     *)
   20065       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20066       ;;
   20067     esac
   20068 done
   20069 
   20070 # Double-quote double-evaled strings.
   20071 for var in reload_cmds \
   20072 old_postinstall_cmds \
   20073 old_postuninstall_cmds \
   20074 old_archive_cmds \
   20075 extract_expsyms_cmds \
   20076 old_archive_from_new_cmds \
   20077 old_archive_from_expsyms_cmds \
   20078 archive_cmds \
   20079 archive_expsym_cmds \
   20080 module_cmds \
   20081 module_expsym_cmds \
   20082 export_symbols_cmds \
   20083 prelink_cmds \
   20084 postlink_cmds \
   20085 postinstall_cmds \
   20086 postuninstall_cmds \
   20087 finish_cmds \
   20088 sys_lib_search_path_spec \
   20089 configure_time_dlsearch_path \
   20090 configure_time_lt_sys_library_path; do
   20091     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20092     *[\\\\\\\`\\"\\\$]*)
   20093       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20094       ;;
   20095     *)
   20096       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20097       ;;
   20098     esac
   20099 done
   20100 
   20101 ac_aux_dir='$ac_aux_dir'
   20102 
   20103 # See if we are running on zsh, and set the options that allow our
   20104 # commands through without removal of \ escapes INIT.
   20105 if test -n "\${ZSH_VERSION+set}"; then
   20106    setopt NO_GLOB_SUBST
   20107 fi
   20108 
   20109 
   20110     PACKAGE='$PACKAGE'
   20111     VERSION='$VERSION'
   20112     RM='$RM'
   20113     ofile='$ofile'
   20114 
   20115 
   20116 
   20117 
   20118 _ACEOF
   20119 
   20120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20121 
   20122 # Handling of arguments.
   20123 for ac_config_target in $ac_config_targets
   20124 do
   20125   case $ac_config_target in
   20126     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20127     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20128     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20129     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20130     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20131     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20132 
   20133   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20134   esac
   20135 done
   20136 
   20137 
   20138 # If the user did not use the arguments to specify the items to instantiate,
   20139 # then the envvar interface is used.  Set only those that are not.
   20140 # We use the long form for the default assignment because of an extremely
   20141 # bizarre bug on SunOS 4.1.3.
   20142 if $ac_need_defaults; then
   20143   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20144   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20145   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20146 fi
   20147 
   20148 # Have a temporary directory for convenience.  Make it in the build tree
   20149 # simply because there is no reason against having it here, and in addition,
   20150 # creating and moving files from /tmp can sometimes cause problems.
   20151 # Hook for its removal unless debugging.
   20152 # Note that there is a small window in which the directory will not be cleaned:
   20153 # after its creation but before its name has been assigned to `$tmp'.
   20154 $debug ||
   20155 {
   20156   tmp= ac_tmp=
   20157   trap 'exit_status=$?
   20158   : "${ac_tmp:=$tmp}"
   20159   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20160 ' 0
   20161   trap 'as_fn_exit 1' 1 2 13 15
   20162 }
   20163 # Create a (secure) tmp directory for tmp files.
   20164 
   20165 {
   20166   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20167   test -d "$tmp"
   20168 }  ||
   20169 {
   20170   tmp=./conf$$-$RANDOM
   20171   (umask 077 && mkdir "$tmp")
   20172 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20173 ac_tmp=$tmp
   20174 
   20175 # Set up the scripts for CONFIG_FILES section.
   20176 # No need to generate them if there are no CONFIG_FILES.
   20177 # This happens for instance with `./config.status config.h'.
   20178 if test -n "$CONFIG_FILES"; then
   20179 
   20180 
   20181 ac_cr=`echo X | tr X '\015'`
   20182 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20183 # But we know of no other shell where ac_cr would be empty at this
   20184 # point, so we can use a bashism as a fallback.
   20185 if test "x$ac_cr" = x; then
   20186   eval ac_cr=\$\'\\r\'
   20187 fi
   20188 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20189 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20190   ac_cs_awk_cr='\\r'
   20191 else
   20192   ac_cs_awk_cr=$ac_cr
   20193 fi
   20194 
   20195 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20196 _ACEOF
   20197 
   20198 
   20199 {
   20200   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20201   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20202   echo "_ACEOF"
   20203 } >conf$$subs.sh ||
   20204   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20205 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20206 ac_delim='%!_!# '
   20207 for ac_last_try in false false false false false :; do
   20208   . ./conf$$subs.sh ||
   20209     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20210 
   20211   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20212   if test $ac_delim_n = $ac_delim_num; then
   20213     break
   20214   elif $ac_last_try; then
   20215     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20216   else
   20217     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20218   fi
   20219 done
   20220 rm -f conf$$subs.sh
   20221 
   20222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20223 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20224 _ACEOF
   20225 sed -n '
   20226 h
   20227 s/^/S["/; s/!.*/"]=/
   20228 p
   20229 g
   20230 s/^[^!]*!//
   20231 :repl
   20232 t repl
   20233 s/'"$ac_delim"'$//
   20234 t delim
   20235 :nl
   20236 h
   20237 s/\(.\{148\}\)..*/\1/
   20238 t more1
   20239 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20240 p
   20241 n
   20242 b repl
   20243 :more1
   20244 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20245 p
   20246 g
   20247 s/.\{148\}//
   20248 t nl
   20249 :delim
   20250 h
   20251 s/\(.\{148\}\)..*/\1/
   20252 t more2
   20253 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20254 p
   20255 b
   20256 :more2
   20257 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20258 p
   20259 g
   20260 s/.\{148\}//
   20261 t delim
   20262 ' <conf$$subs.awk | sed '
   20263 /^[^""]/{
   20264   N
   20265   s/\n//
   20266 }
   20267 ' >>$CONFIG_STATUS || ac_write_fail=1
   20268 rm -f conf$$subs.awk
   20269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20270 _ACAWK
   20271 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20272   for (key in S) S_is_set[key] = 1
   20273   FS = ""
   20274 
   20275 }
   20276 {
   20277   line = $ 0
   20278   nfields = split(line, field, "@")
   20279   substed = 0
   20280   len = length(field[1])
   20281   for (i = 2; i < nfields; i++) {
   20282     key = field[i]
   20283     keylen = length(key)
   20284     if (S_is_set[key]) {
   20285       value = S[key]
   20286       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20287       len += length(value) + length(field[++i])
   20288       substed = 1
   20289     } else
   20290       len += 1 + keylen
   20291   }
   20292 
   20293   print line
   20294 }
   20295 
   20296 _ACAWK
   20297 _ACEOF
   20298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20299 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20300   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20301 else
   20302   cat
   20303 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20304   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20305 _ACEOF
   20306 
   20307 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20308 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20309 # trailing colons and then remove the whole line if VPATH becomes empty
   20310 # (actually we leave an empty line to preserve line numbers).
   20311 if test "x$srcdir" = x.; then
   20312   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20313 h
   20314 s///
   20315 s/^/:/
   20316 s/[	 ]*$/:/
   20317 s/:\$(srcdir):/:/g
   20318 s/:\${srcdir}:/:/g
   20319 s/:@srcdir@:/:/g
   20320 s/^:*//
   20321 s/:*$//
   20322 x
   20323 s/\(=[	 ]*\).*/\1/
   20324 G
   20325 s/\n//
   20326 s/^[^=]*=[	 ]*$//
   20327 }'
   20328 fi
   20329 
   20330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20331 fi # test -n "$CONFIG_FILES"
   20332 
   20333 # Set up the scripts for CONFIG_HEADERS section.
   20334 # No need to generate them if there are no CONFIG_HEADERS.
   20335 # This happens for instance with `./config.status Makefile'.
   20336 if test -n "$CONFIG_HEADERS"; then
   20337 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20338 BEGIN {
   20339 _ACEOF
   20340 
   20341 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20342 # here-document in config.status, that substitutes the proper values into
   20343 # config.h.in to produce config.h.
   20344 
   20345 # Create a delimiter string that does not exist in confdefs.h, to ease
   20346 # handling of long lines.
   20347 ac_delim='%!_!# '
   20348 for ac_last_try in false false :; do
   20349   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20350   if test -z "$ac_tt"; then
   20351     break
   20352   elif $ac_last_try; then
   20353     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20354   else
   20355     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20356   fi
   20357 done
   20358 
   20359 # For the awk script, D is an array of macro values keyed by name,
   20360 # likewise P contains macro parameters if any.  Preserve backslash
   20361 # newline sequences.
   20362 
   20363 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20364 sed -n '
   20365 s/.\{148\}/&'"$ac_delim"'/g
   20366 t rset
   20367 :rset
   20368 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20369 t def
   20370 d
   20371 :def
   20372 s/\\$//
   20373 t bsnl
   20374 s/["\\]/\\&/g
   20375 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20376 D["\1"]=" \3"/p
   20377 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20378 d
   20379 :bsnl
   20380 s/["\\]/\\&/g
   20381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20382 D["\1"]=" \3\\\\\\n"\\/p
   20383 t cont
   20384 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20385 t cont
   20386 d
   20387 :cont
   20388 n
   20389 s/.\{148\}/&'"$ac_delim"'/g
   20390 t clear
   20391 :clear
   20392 s/\\$//
   20393 t bsnlc
   20394 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20395 d
   20396 :bsnlc
   20397 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20398 b cont
   20399 ' <confdefs.h | sed '
   20400 s/'"$ac_delim"'/"\\\
   20401 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20402 
   20403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20404   for (key in D) D_is_set[key] = 1
   20405   FS = ""
   20406 }
   20407 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20408   line = \$ 0
   20409   split(line, arg, " ")
   20410   if (arg[1] == "#") {
   20411     defundef = arg[2]
   20412     mac1 = arg[3]
   20413   } else {
   20414     defundef = substr(arg[1], 2)
   20415     mac1 = arg[2]
   20416   }
   20417   split(mac1, mac2, "(") #)
   20418   macro = mac2[1]
   20419   prefix = substr(line, 1, index(line, defundef) - 1)
   20420   if (D_is_set[macro]) {
   20421     # Preserve the white space surrounding the "#".
   20422     print prefix "define", macro P[macro] D[macro]
   20423     next
   20424   } else {
   20425     # Replace #undef with comments.  This is necessary, for example,
   20426     # in the case of _POSIX_SOURCE, which is predefined and required
   20427     # on some systems where configure will not decide to define it.
   20428     if (defundef == "undef") {
   20429       print "/*", prefix defundef, macro, "*/"
   20430       next
   20431     }
   20432   }
   20433 }
   20434 { print }
   20435 _ACAWK
   20436 _ACEOF
   20437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20438   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20439 fi # test -n "$CONFIG_HEADERS"
   20440 
   20441 
   20442 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20443 shift
   20444 for ac_tag
   20445 do
   20446   case $ac_tag in
   20447   :[FHLC]) ac_mode=$ac_tag; continue;;
   20448   esac
   20449   case $ac_mode$ac_tag in
   20450   :[FHL]*:*);;
   20451   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20452   :[FH]-) ac_tag=-:-;;
   20453   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20454   esac
   20455   ac_save_IFS=$IFS
   20456   IFS=:
   20457   set x $ac_tag
   20458   IFS=$ac_save_IFS
   20459   shift
   20460   ac_file=$1
   20461   shift
   20462 
   20463   case $ac_mode in
   20464   :L) ac_source=$1;;
   20465   :[FH])
   20466     ac_file_inputs=
   20467     for ac_f
   20468     do
   20469       case $ac_f in
   20470       -) ac_f="$ac_tmp/stdin";;
   20471       *) # Look for the file first in the build tree, then in the source tree
   20472 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20473 	 # because $ac_f cannot contain `:'.
   20474 	 test -f "$ac_f" ||
   20475 	   case $ac_f in
   20476 	   [\\/$]*) false;;
   20477 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20478 	   esac ||
   20479 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20480       esac
   20481       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20482       as_fn_append ac_file_inputs " '$ac_f'"
   20483     done
   20484 
   20485     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20486     # use $as_me), people would be surprised to read:
   20487     #    /* config.h.  Generated by config.status.  */
   20488     configure_input='Generated from '`
   20489 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20490 	`' by configure.'
   20491     if test x"$ac_file" != x-; then
   20492       configure_input="$ac_file.  $configure_input"
   20493       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20494 $as_echo "$as_me: creating $ac_file" >&6;}
   20495     fi
   20496     # Neutralize special characters interpreted by sed in replacement strings.
   20497     case $configure_input in #(
   20498     *\&* | *\|* | *\\* )
   20499        ac_sed_conf_input=`$as_echo "$configure_input" |
   20500        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20501     *) ac_sed_conf_input=$configure_input;;
   20502     esac
   20503 
   20504     case $ac_tag in
   20505     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20506       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20507     esac
   20508     ;;
   20509   esac
   20510 
   20511   ac_dir=`$as_dirname -- "$ac_file" ||
   20512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20513 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20514 	 X"$ac_file" : 'X\(//\)$' \| \
   20515 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20516 $as_echo X"$ac_file" |
   20517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20518 	    s//\1/
   20519 	    q
   20520 	  }
   20521 	  /^X\(\/\/\)[^/].*/{
   20522 	    s//\1/
   20523 	    q
   20524 	  }
   20525 	  /^X\(\/\/\)$/{
   20526 	    s//\1/
   20527 	    q
   20528 	  }
   20529 	  /^X\(\/\).*/{
   20530 	    s//\1/
   20531 	    q
   20532 	  }
   20533 	  s/.*/./; q'`
   20534   as_dir="$ac_dir"; as_fn_mkdir_p
   20535   ac_builddir=.
   20536 
   20537 case "$ac_dir" in
   20538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20539 *)
   20540   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20541   # A ".." for each directory in $ac_dir_suffix.
   20542   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20543   case $ac_top_builddir_sub in
   20544   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20545   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20546   esac ;;
   20547 esac
   20548 ac_abs_top_builddir=$ac_pwd
   20549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20550 # for backward compatibility:
   20551 ac_top_builddir=$ac_top_build_prefix
   20552 
   20553 case $srcdir in
   20554   .)  # We are building in place.
   20555     ac_srcdir=.
   20556     ac_top_srcdir=$ac_top_builddir_sub
   20557     ac_abs_top_srcdir=$ac_pwd ;;
   20558   [\\/]* | ?:[\\/]* )  # Absolute name.
   20559     ac_srcdir=$srcdir$ac_dir_suffix;
   20560     ac_top_srcdir=$srcdir
   20561     ac_abs_top_srcdir=$srcdir ;;
   20562   *) # Relative name.
   20563     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20564     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20565     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20566 esac
   20567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20568 
   20569 
   20570   case $ac_mode in
   20571   :F)
   20572   #
   20573   # CONFIG_FILE
   20574   #
   20575 
   20576   case $INSTALL in
   20577   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20578   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20579   esac
   20580   ac_MKDIR_P=$MKDIR_P
   20581   case $MKDIR_P in
   20582   [\\/$]* | ?:[\\/]* ) ;;
   20583   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20584   esac
   20585 _ACEOF
   20586 
   20587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20588 # If the template does not know about datarootdir, expand it.
   20589 # FIXME: This hack should be removed a few years after 2.60.
   20590 ac_datarootdir_hack=; ac_datarootdir_seen=
   20591 ac_sed_dataroot='
   20592 /datarootdir/ {
   20593   p
   20594   q
   20595 }
   20596 /@datadir@/p
   20597 /@docdir@/p
   20598 /@infodir@/p
   20599 /@localedir@/p
   20600 /@mandir@/p'
   20601 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20602 *datarootdir*) ac_datarootdir_seen=yes;;
   20603 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20604   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20605 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20606 _ACEOF
   20607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20608   ac_datarootdir_hack='
   20609   s&@datadir@&$datadir&g
   20610   s&@docdir@&$docdir&g
   20611   s&@infodir@&$infodir&g
   20612   s&@localedir@&$localedir&g
   20613   s&@mandir@&$mandir&g
   20614   s&\\\${datarootdir}&$datarootdir&g' ;;
   20615 esac
   20616 _ACEOF
   20617 
   20618 # Neutralize VPATH when `$srcdir' = `.'.
   20619 # Shell code in configure.ac might set extrasub.
   20620 # FIXME: do we really want to maintain this feature?
   20621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20622 ac_sed_extra="$ac_vpsub
   20623 $extrasub
   20624 _ACEOF
   20625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20626 :t
   20627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20628 s|@configure_input@|$ac_sed_conf_input|;t t
   20629 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20630 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20631 s&@srcdir@&$ac_srcdir&;t t
   20632 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20633 s&@top_srcdir@&$ac_top_srcdir&;t t
   20634 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20635 s&@builddir@&$ac_builddir&;t t
   20636 s&@abs_builddir@&$ac_abs_builddir&;t t
   20637 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20638 s&@INSTALL@&$ac_INSTALL&;t t
   20639 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20640 $ac_datarootdir_hack
   20641 "
   20642 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20643   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20644 
   20645 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20646   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20647   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20648       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20649   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20650 which seems to be undefined.  Please make sure it is defined" >&5
   20651 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20652 which seems to be undefined.  Please make sure it is defined" >&2;}
   20653 
   20654   rm -f "$ac_tmp/stdin"
   20655   case $ac_file in
   20656   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20657   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20658   esac \
   20659   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20660  ;;
   20661   :H)
   20662   #
   20663   # CONFIG_HEADER
   20664   #
   20665   if test x"$ac_file" != x-; then
   20666     {
   20667       $as_echo "/* $configure_input  */" \
   20668       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20669     } >"$ac_tmp/config.h" \
   20670       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20671     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20672       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20673 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20674     else
   20675       rm -f "$ac_file"
   20676       mv "$ac_tmp/config.h" "$ac_file" \
   20677 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20678     fi
   20679   else
   20680     $as_echo "/* $configure_input  */" \
   20681       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20682       || as_fn_error $? "could not create -" "$LINENO" 5
   20683   fi
   20684 # Compute "$ac_file"'s index in $config_headers.
   20685 _am_arg="$ac_file"
   20686 _am_stamp_count=1
   20687 for _am_header in $config_headers :; do
   20688   case $_am_header in
   20689     $_am_arg | $_am_arg:* )
   20690       break ;;
   20691     * )
   20692       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20693   esac
   20694 done
   20695 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20696 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20697 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20698 	 X"$_am_arg" : 'X\(//\)$' \| \
   20699 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20700 $as_echo X"$_am_arg" |
   20701     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20702 	    s//\1/
   20703 	    q
   20704 	  }
   20705 	  /^X\(\/\/\)[^/].*/{
   20706 	    s//\1/
   20707 	    q
   20708 	  }
   20709 	  /^X\(\/\/\)$/{
   20710 	    s//\1/
   20711 	    q
   20712 	  }
   20713 	  /^X\(\/\).*/{
   20714 	    s//\1/
   20715 	    q
   20716 	  }
   20717 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20718  ;;
   20719 
   20720   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20721 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20722  ;;
   20723   esac
   20724 
   20725 
   20726   case $ac_file$ac_mode in
   20727     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20728   # Older Autoconf quotes --file arguments for eval, but not when files
   20729   # are listed without --file.  Let's play safe and only enable the eval
   20730   # if we detect the quoting.
   20731   case $CONFIG_FILES in
   20732   *\'*) eval set x "$CONFIG_FILES" ;;
   20733   *)   set x $CONFIG_FILES ;;
   20734   esac
   20735   shift
   20736   for mf
   20737   do
   20738     # Strip MF so we end up with the name of the file.
   20739     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20740     # Check whether this is an Automake generated Makefile or not.
   20741     # We used to match only the files named 'Makefile.in', but
   20742     # some people rename them; so instead we look at the file content.
   20743     # Grep'ing the first line is not enough: some people post-process
   20744     # each Makefile.in and add a new line on top of each file to say so.
   20745     # Grep'ing the whole file is not good either: AIX grep has a line
   20746     # limit of 2048, but all sed's we know have understand at least 4000.
   20747     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20748       dirpart=`$as_dirname -- "$mf" ||
   20749 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20750 	 X"$mf" : 'X\(//\)[^/]' \| \
   20751 	 X"$mf" : 'X\(//\)$' \| \
   20752 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20753 $as_echo X"$mf" |
   20754     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20755 	    s//\1/
   20756 	    q
   20757 	  }
   20758 	  /^X\(\/\/\)[^/].*/{
   20759 	    s//\1/
   20760 	    q
   20761 	  }
   20762 	  /^X\(\/\/\)$/{
   20763 	    s//\1/
   20764 	    q
   20765 	  }
   20766 	  /^X\(\/\).*/{
   20767 	    s//\1/
   20768 	    q
   20769 	  }
   20770 	  s/.*/./; q'`
   20771     else
   20772       continue
   20773     fi
   20774     # Extract the definition of DEPDIR, am__include, and am__quote
   20775     # from the Makefile without running 'make'.
   20776     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20777     test -z "$DEPDIR" && continue
   20778     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20779     test -z "$am__include" && continue
   20780     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20781     # Find all dependency output files, they are included files with
   20782     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20783     # simplest approach to changing $(DEPDIR) to its actual value in the
   20784     # expansion.
   20785     for file in `sed -n "
   20786       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20787 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20788       # Make sure the directory exists.
   20789       test -f "$dirpart/$file" && continue
   20790       fdir=`$as_dirname -- "$file" ||
   20791 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20792 	 X"$file" : 'X\(//\)[^/]' \| \
   20793 	 X"$file" : 'X\(//\)$' \| \
   20794 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20795 $as_echo X"$file" |
   20796     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20797 	    s//\1/
   20798 	    q
   20799 	  }
   20800 	  /^X\(\/\/\)[^/].*/{
   20801 	    s//\1/
   20802 	    q
   20803 	  }
   20804 	  /^X\(\/\/\)$/{
   20805 	    s//\1/
   20806 	    q
   20807 	  }
   20808 	  /^X\(\/\).*/{
   20809 	    s//\1/
   20810 	    q
   20811 	  }
   20812 	  s/.*/./; q'`
   20813       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20814       # echo "creating $dirpart/$file"
   20815       echo '# dummy' > "$dirpart/$file"
   20816     done
   20817   done
   20818 }
   20819  ;;
   20820     "libtool":C)
   20821 
   20822     # See if we are running on zsh, and set the options that allow our
   20823     # commands through without removal of \ escapes.
   20824     if test -n "${ZSH_VERSION+set}"; then
   20825       setopt NO_GLOB_SUBST
   20826     fi
   20827 
   20828     cfgfile=${ofile}T
   20829     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20830     $RM "$cfgfile"
   20831 
   20832     cat <<_LT_EOF >> "$cfgfile"
   20833 #! $SHELL
   20834 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20835 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20836 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20837 
   20838 # Provide generalized library-building support services.
   20839 # Written by Gordon Matzigkeit, 1996
   20840 
   20841 # Copyright (C) 2014 Free Software Foundation, Inc.
   20842 # This is free software; see the source for copying conditions.  There is NO
   20843 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20844 
   20845 # GNU Libtool is free software; you can redistribute it and/or modify
   20846 # it under the terms of the GNU General Public License as published by
   20847 # the Free Software Foundation; either version 2 of of the License, or
   20848 # (at your option) any later version.
   20849 #
   20850 # As a special exception to the GNU General Public License, if you
   20851 # distribute this file as part of a program or library that is built
   20852 # using GNU Libtool, you may include this file under the  same
   20853 # distribution terms that you use for the rest of that program.
   20854 #
   20855 # GNU Libtool is distributed in the hope that it will be useful, but
   20856 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20857 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20858 # GNU General Public License for more details.
   20859 #
   20860 # You should have received a copy of the GNU General Public License
   20861 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20862 
   20863 
   20864 # The names of the tagged configurations supported by this script.
   20865 available_tags=''
   20866 
   20867 # Configured defaults for sys_lib_dlsearch_path munging.
   20868 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20869 
   20870 # ### BEGIN LIBTOOL CONFIG
   20871 
   20872 # Whether or not to build static libraries.
   20873 build_old_libs=$enable_static
   20874 
   20875 # Which release of libtool.m4 was used?
   20876 macro_version=$macro_version
   20877 macro_revision=$macro_revision
   20878 
   20879 # Whether or not to build shared libraries.
   20880 build_libtool_libs=$enable_shared
   20881 
   20882 # What type of objects to build.
   20883 pic_mode=$pic_mode
   20884 
   20885 # Whether or not to optimize for fast installation.
   20886 fast_install=$enable_fast_install
   20887 
   20888 # Shared archive member basename,for filename based shared library versioning on AIX.
   20889 shared_archive_member_spec=$shared_archive_member_spec
   20890 
   20891 # Shell to use when invoking shell scripts.
   20892 SHELL=$lt_SHELL
   20893 
   20894 # An echo program that protects backslashes.
   20895 ECHO=$lt_ECHO
   20896 
   20897 # The PATH separator for the build system.
   20898 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20899 
   20900 # The host system.
   20901 host_alias=$host_alias
   20902 host=$host
   20903 host_os=$host_os
   20904 
   20905 # The build system.
   20906 build_alias=$build_alias
   20907 build=$build
   20908 build_os=$build_os
   20909 
   20910 # A sed program that does not truncate output.
   20911 SED=$lt_SED
   20912 
   20913 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20914 Xsed="\$SED -e 1s/^X//"
   20915 
   20916 # A grep program that handles long lines.
   20917 GREP=$lt_GREP
   20918 
   20919 # An ERE matcher.
   20920 EGREP=$lt_EGREP
   20921 
   20922 # A literal string matcher.
   20923 FGREP=$lt_FGREP
   20924 
   20925 # A BSD- or MS-compatible name lister.
   20926 NM=$lt_NM
   20927 
   20928 # Whether we need soft or hard links.
   20929 LN_S=$lt_LN_S
   20930 
   20931 # What is the maximum length of a command?
   20932 max_cmd_len=$max_cmd_len
   20933 
   20934 # Object file suffix (normally "o").
   20935 objext=$ac_objext
   20936 
   20937 # Executable file suffix (normally "").
   20938 exeext=$exeext
   20939 
   20940 # whether the shell understands "unset".
   20941 lt_unset=$lt_unset
   20942 
   20943 # turn spaces into newlines.
   20944 SP2NL=$lt_lt_SP2NL
   20945 
   20946 # turn newlines into spaces.
   20947 NL2SP=$lt_lt_NL2SP
   20948 
   20949 # convert \$build file names to \$host format.
   20950 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20951 
   20952 # convert \$build files to toolchain format.
   20953 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20954 
   20955 # An object symbol dumper.
   20956 OBJDUMP=$lt_OBJDUMP
   20957 
   20958 # Method to check whether dependent libraries are shared objects.
   20959 deplibs_check_method=$lt_deplibs_check_method
   20960 
   20961 # Command to use when deplibs_check_method = "file_magic".
   20962 file_magic_cmd=$lt_file_magic_cmd
   20963 
   20964 # How to find potential files when deplibs_check_method = "file_magic".
   20965 file_magic_glob=$lt_file_magic_glob
   20966 
   20967 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20968 want_nocaseglob=$lt_want_nocaseglob
   20969 
   20970 # DLL creation program.
   20971 DLLTOOL=$lt_DLLTOOL
   20972 
   20973 # Command to associate shared and link libraries.
   20974 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20975 
   20976 # The archiver.
   20977 AR=$lt_AR
   20978 
   20979 # Flags to create an archive.
   20980 AR_FLAGS=$lt_AR_FLAGS
   20981 
   20982 # How to feed a file listing to the archiver.
   20983 archiver_list_spec=$lt_archiver_list_spec
   20984 
   20985 # A symbol stripping program.
   20986 STRIP=$lt_STRIP
   20987 
   20988 # Commands used to install an old-style archive.
   20989 RANLIB=$lt_RANLIB
   20990 old_postinstall_cmds=$lt_old_postinstall_cmds
   20991 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20992 
   20993 # Whether to use a lock for old archive extraction.
   20994 lock_old_archive_extraction=$lock_old_archive_extraction
   20995 
   20996 # A C compiler.
   20997 LTCC=$lt_CC
   20998 
   20999 # LTCC compiler flags.
   21000 LTCFLAGS=$lt_CFLAGS
   21001 
   21002 # Take the output of nm and produce a listing of raw symbols and C names.
   21003 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21004 
   21005 # Transform the output of nm in a proper C declaration.
   21006 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21007 
   21008 # Transform the output of nm into a list of symbols to manually relocate.
   21009 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21010 
   21011 # Transform the output of nm in a C name address pair.
   21012 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21013 
   21014 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21015 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21016 
   21017 # The name lister interface.
   21018 nm_interface=$lt_lt_cv_nm_interface
   21019 
   21020 # Specify filename containing input files for \$NM.
   21021 nm_file_list_spec=$lt_nm_file_list_spec
   21022 
   21023 # The root where to search for dependent libraries,and where our libraries should be installed.
   21024 lt_sysroot=$lt_sysroot
   21025 
   21026 # Command to truncate a binary pipe.
   21027 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21028 
   21029 # The name of the directory that contains temporary libtool files.
   21030 objdir=$objdir
   21031 
   21032 # Used to examine libraries when file_magic_cmd begins with "file".
   21033 MAGIC_CMD=$MAGIC_CMD
   21034 
   21035 # Must we lock files when doing compilation?
   21036 need_locks=$lt_need_locks
   21037 
   21038 # Manifest tool.
   21039 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21040 
   21041 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21042 DSYMUTIL=$lt_DSYMUTIL
   21043 
   21044 # Tool to change global to local symbols on Mac OS X.
   21045 NMEDIT=$lt_NMEDIT
   21046 
   21047 # Tool to manipulate fat objects and archives on Mac OS X.
   21048 LIPO=$lt_LIPO
   21049 
   21050 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21051 OTOOL=$lt_OTOOL
   21052 
   21053 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21054 OTOOL64=$lt_OTOOL64
   21055 
   21056 # Old archive suffix (normally "a").
   21057 libext=$libext
   21058 
   21059 # Shared library suffix (normally ".so").
   21060 shrext_cmds=$lt_shrext_cmds
   21061 
   21062 # The commands to extract the exported symbol list from a shared archive.
   21063 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21064 
   21065 # Variables whose values should be saved in libtool wrapper scripts and
   21066 # restored at link time.
   21067 variables_saved_for_relink=$lt_variables_saved_for_relink
   21068 
   21069 # Do we need the "lib" prefix for modules?
   21070 need_lib_prefix=$need_lib_prefix
   21071 
   21072 # Do we need a version for libraries?
   21073 need_version=$need_version
   21074 
   21075 # Library versioning type.
   21076 version_type=$version_type
   21077 
   21078 # Shared library runtime path variable.
   21079 runpath_var=$runpath_var
   21080 
   21081 # Shared library path variable.
   21082 shlibpath_var=$shlibpath_var
   21083 
   21084 # Is shlibpath searched before the hard-coded library search path?
   21085 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21086 
   21087 # Format of library name prefix.
   21088 libname_spec=$lt_libname_spec
   21089 
   21090 # List of archive names.  First name is the real one, the rest are links.
   21091 # The last name is the one that the linker finds with -lNAME
   21092 library_names_spec=$lt_library_names_spec
   21093 
   21094 # The coded name of the library, if different from the real name.
   21095 soname_spec=$lt_soname_spec
   21096 
   21097 # Permission mode override for installation of shared libraries.
   21098 install_override_mode=$lt_install_override_mode
   21099 
   21100 # Command to use after installation of a shared archive.
   21101 postinstall_cmds=$lt_postinstall_cmds
   21102 
   21103 # Command to use after uninstallation of a shared archive.
   21104 postuninstall_cmds=$lt_postuninstall_cmds
   21105 
   21106 # Commands used to finish a libtool library installation in a directory.
   21107 finish_cmds=$lt_finish_cmds
   21108 
   21109 # As "finish_cmds", except a single script fragment to be evaled but
   21110 # not shown.
   21111 finish_eval=$lt_finish_eval
   21112 
   21113 # Whether we should hardcode library paths into libraries.
   21114 hardcode_into_libs=$hardcode_into_libs
   21115 
   21116 # Compile-time system search path for libraries.
   21117 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21118 
   21119 # Detected run-time system search path for libraries.
   21120 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21121 
   21122 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21123 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21124 
   21125 # Whether dlopen is supported.
   21126 dlopen_support=$enable_dlopen
   21127 
   21128 # Whether dlopen of programs is supported.
   21129 dlopen_self=$enable_dlopen_self
   21130 
   21131 # Whether dlopen of statically linked programs is supported.
   21132 dlopen_self_static=$enable_dlopen_self_static
   21133 
   21134 # Commands to strip libraries.
   21135 old_striplib=$lt_old_striplib
   21136 striplib=$lt_striplib
   21137 
   21138 
   21139 # The linker used to build libraries.
   21140 LD=$lt_LD
   21141 
   21142 # How to create reloadable object files.
   21143 reload_flag=$lt_reload_flag
   21144 reload_cmds=$lt_reload_cmds
   21145 
   21146 # Commands used to build an old-style archive.
   21147 old_archive_cmds=$lt_old_archive_cmds
   21148 
   21149 # A language specific compiler.
   21150 CC=$lt_compiler
   21151 
   21152 # Is the compiler the GNU compiler?
   21153 with_gcc=$GCC
   21154 
   21155 # Compiler flag to turn off builtin functions.
   21156 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21157 
   21158 # Additional compiler flags for building library objects.
   21159 pic_flag=$lt_lt_prog_compiler_pic
   21160 
   21161 # How to pass a linker flag through the compiler.
   21162 wl=$lt_lt_prog_compiler_wl
   21163 
   21164 # Compiler flag to prevent dynamic linking.
   21165 link_static_flag=$lt_lt_prog_compiler_static
   21166 
   21167 # Does compiler simultaneously support -c and -o options?
   21168 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21169 
   21170 # Whether or not to add -lc for building shared libraries.
   21171 build_libtool_need_lc=$archive_cmds_need_lc
   21172 
   21173 # Whether or not to disallow shared libs when runtime libs are static.
   21174 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21175 
   21176 # Compiler flag to allow reflexive dlopens.
   21177 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21178 
   21179 # Compiler flag to generate shared objects directly from archives.
   21180 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21181 
   21182 # Whether the compiler copes with passing no objects directly.
   21183 compiler_needs_object=$lt_compiler_needs_object
   21184 
   21185 # Create an old-style archive from a shared archive.
   21186 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21187 
   21188 # Create a temporary old-style archive to link instead of a shared archive.
   21189 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21190 
   21191 # Commands used to build a shared archive.
   21192 archive_cmds=$lt_archive_cmds
   21193 archive_expsym_cmds=$lt_archive_expsym_cmds
   21194 
   21195 # Commands used to build a loadable module if different from building
   21196 # a shared archive.
   21197 module_cmds=$lt_module_cmds
   21198 module_expsym_cmds=$lt_module_expsym_cmds
   21199 
   21200 # Whether we are building with GNU ld or not.
   21201 with_gnu_ld=$lt_with_gnu_ld
   21202 
   21203 # Flag that allows shared libraries with undefined symbols to be built.
   21204 allow_undefined_flag=$lt_allow_undefined_flag
   21205 
   21206 # Flag that enforces no undefined symbols.
   21207 no_undefined_flag=$lt_no_undefined_flag
   21208 
   21209 # Flag to hardcode \$libdir into a binary during linking.
   21210 # This must work even if \$libdir does not exist
   21211 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21212 
   21213 # Whether we need a single "-rpath" flag with a separated argument.
   21214 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21215 
   21216 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21217 # DIR into the resulting binary.
   21218 hardcode_direct=$hardcode_direct
   21219 
   21220 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21221 # DIR into the resulting binary and the resulting library dependency is
   21222 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21223 # library is relocated.
   21224 hardcode_direct_absolute=$hardcode_direct_absolute
   21225 
   21226 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21227 # into the resulting binary.
   21228 hardcode_minus_L=$hardcode_minus_L
   21229 
   21230 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21231 # into the resulting binary.
   21232 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21233 
   21234 # Set to "yes" if building a shared library automatically hardcodes DIR
   21235 # into the library and all subsequent libraries and executables linked
   21236 # against it.
   21237 hardcode_automatic=$hardcode_automatic
   21238 
   21239 # Set to yes if linker adds runtime paths of dependent libraries
   21240 # to runtime path list.
   21241 inherit_rpath=$inherit_rpath
   21242 
   21243 # Whether libtool must link a program against all its dependency libraries.
   21244 link_all_deplibs=$link_all_deplibs
   21245 
   21246 # Set to "yes" if exported symbols are required.
   21247 always_export_symbols=$always_export_symbols
   21248 
   21249 # The commands to list exported symbols.
   21250 export_symbols_cmds=$lt_export_symbols_cmds
   21251 
   21252 # Symbols that should not be listed in the preloaded symbols.
   21253 exclude_expsyms=$lt_exclude_expsyms
   21254 
   21255 # Symbols that must always be exported.
   21256 include_expsyms=$lt_include_expsyms
   21257 
   21258 # Commands necessary for linking programs (against libraries) with templates.
   21259 prelink_cmds=$lt_prelink_cmds
   21260 
   21261 # Commands necessary for finishing linking programs.
   21262 postlink_cmds=$lt_postlink_cmds
   21263 
   21264 # Specify filename containing input files.
   21265 file_list_spec=$lt_file_list_spec
   21266 
   21267 # How to hardcode a shared library path into an executable.
   21268 hardcode_action=$hardcode_action
   21269 
   21270 # ### END LIBTOOL CONFIG
   21271 
   21272 _LT_EOF
   21273 
   21274     cat <<'_LT_EOF' >> "$cfgfile"
   21275 
   21276 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21277 
   21278 # func_munge_path_list VARIABLE PATH
   21279 # -----------------------------------
   21280 # VARIABLE is name of variable containing _space_ separated list of
   21281 # directories to be munged by the contents of PATH, which is string
   21282 # having a format:
   21283 # "DIR[:DIR]:"
   21284 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21285 # ":DIR[:DIR]"
   21286 #       string "DIR[ DIR]" will be appended to VARIABLE
   21287 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21288 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21289 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21290 # "DIR[:DIR]"
   21291 #       VARIABLE will be replaced by "DIR[ DIR]"
   21292 func_munge_path_list ()
   21293 {
   21294     case x$2 in
   21295     x)
   21296         ;;
   21297     *:)
   21298         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21299         ;;
   21300     x:*)
   21301         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21302         ;;
   21303     *::*)
   21304         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21305         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21306         ;;
   21307     *)
   21308         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21309         ;;
   21310     esac
   21311 }
   21312 
   21313 
   21314 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21315 func_cc_basename ()
   21316 {
   21317     for cc_temp in $*""; do
   21318       case $cc_temp in
   21319         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21320         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21321         \-*) ;;
   21322         *) break;;
   21323       esac
   21324     done
   21325     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21326 }
   21327 
   21328 
   21329 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21330 
   21331 _LT_EOF
   21332 
   21333   case $host_os in
   21334   aix3*)
   21335     cat <<\_LT_EOF >> "$cfgfile"
   21336 # AIX sometimes has problems with the GCC collect2 program.  For some
   21337 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21338 # vanish in a puff of smoke.
   21339 if test set != "${COLLECT_NAMES+set}"; then
   21340   COLLECT_NAMES=
   21341   export COLLECT_NAMES
   21342 fi
   21343 _LT_EOF
   21344     ;;
   21345   esac
   21346 
   21347 
   21348 ltmain=$ac_aux_dir/ltmain.sh
   21349 
   21350 
   21351   # We use sed instead of cat because bash on DJGPP gets confused if
   21352   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21353   # text mode, it properly converts lines to CR/LF.  This bash problem
   21354   # is reportedly fixed, but why not run on old versions too?
   21355   sed '$q' "$ltmain" >> "$cfgfile" \
   21356      || (rm -f "$cfgfile"; exit 1)
   21357 
   21358    mv -f "$cfgfile" "$ofile" ||
   21359     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21360   chmod +x "$ofile"
   21361 
   21362  ;;
   21363 
   21364   esac
   21365 done # for ac_tag
   21366 
   21367 
   21368 as_fn_exit 0
   21369 _ACEOF
   21370 ac_clean_files=$ac_clean_files_save
   21371 
   21372 test $ac_write_fail = 0 ||
   21373   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21374 
   21375 
   21376 # configure is writing to config.log, and then calls config.status.
   21377 # config.status does its own redirection, appending to config.log.
   21378 # Unfortunately, on DOS this fails, as config.log is still kept open
   21379 # by configure, so config.status won't be able to write to it; its
   21380 # output is simply discarded.  So we exec the FD to /dev/null,
   21381 # effectively closing config.log, so it can be properly (re)opened and
   21382 # appended to by config.status.  When coming back to configure, we
   21383 # need to make the FD available again.
   21384 if test "$no_create" != yes; then
   21385   ac_cs_success=:
   21386   ac_config_status_args=
   21387   test "$silent" = yes &&
   21388     ac_config_status_args="$ac_config_status_args --quiet"
   21389   exec 5>/dev/null
   21390   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21391   exec 5>>config.log
   21392   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21393   # would make configure fail if this is the last instruction.
   21394   $ac_cs_success || as_fn_exit 1
   21395 fi
   21396 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21397   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21398 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21399 fi
   21400 
   21401