Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-mga 1.6.5.
      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-mga'
    593 PACKAGE_TARNAME='xf86-video-mga'
    594 PACKAGE_VERSION='1.6.5'
    595 PACKAGE_STRING='xf86-video-mga 1.6.5'
    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 USE_EXA_FALSE
    643 USE_EXA_TRUE
    644 XAA_FALSE
    645 XAA_TRUE
    646 XSERVER_LIBPCIACCESS_FALSE
    647 XSERVER_LIBPCIACCESS_TRUE
    648 PCIACCESS_LIBS
    649 PCIACCESS_CFLAGS
    650 DRI_LIBS
    651 DRI_CFLAGS
    652 DRI_FALSE
    653 DRI_TRUE
    654 XORG_LIBS
    655 XORG_CFLAGS
    656 LT_SYS_LIBRARY_PATH
    657 OTOOL64
    658 OTOOL
    659 LIPO
    660 NMEDIT
    661 DSYMUTIL
    662 MANIFEST_TOOL
    663 RANLIB
    664 ac_ct_AR
    665 AR
    666 DLLTOOL
    667 OBJDUMP
    668 LN_S
    669 NM
    670 ac_ct_DUMPBIN
    671 DUMPBIN
    672 LD
    673 FGREP
    674 LIBTOOL
    675 MAINT
    676 MAINTAINER_MODE_FALSE
    677 MAINTAINER_MODE_TRUE
    678 am__fastdepCC_FALSE
    679 am__fastdepCC_TRUE
    680 CCDEPMODE
    681 am__nodep
    682 AMDEPBACKSLASH
    683 AMDEP_FALSE
    684 AMDEP_TRUE
    685 am__quote
    686 am__include
    687 DEPDIR
    688 am__untar
    689 am__tar
    690 AMTAR
    691 am__leading_dot
    692 SET_MAKE
    693 AWK
    694 mkdir_p
    695 MKDIR_P
    696 INSTALL_STRIP_PROGRAM
    697 STRIP
    698 install_sh
    699 MAKEINFO
    700 AUTOHEADER
    701 AUTOMAKE
    702 AUTOCONF
    703 ACLOCAL
    704 VERSION
    705 PACKAGE
    706 CYGPATH_W
    707 am__isrc
    708 AM_BACKSLASH
    709 AM_DEFAULT_VERBOSITY
    710 AM_DEFAULT_V
    711 AM_V
    712 MAN_SUBSTS
    713 XORG_MAN_PAGE
    714 ADMIN_MAN_DIR
    715 DRIVER_MAN_DIR
    716 MISC_MAN_DIR
    717 FILE_MAN_DIR
    718 LIB_MAN_DIR
    719 APP_MAN_DIR
    720 ADMIN_MAN_SUFFIX
    721 DRIVER_MAN_SUFFIX
    722 MISC_MAN_SUFFIX
    723 FILE_MAN_SUFFIX
    724 LIB_MAN_SUFFIX
    725 APP_MAN_SUFFIX
    726 SED
    727 host_os
    728 host_vendor
    729 host_cpu
    730 host
    731 build_os
    732 build_vendor
    733 build_cpu
    734 build
    735 INSTALL_CMD
    736 PKG_CONFIG_LIBDIR
    737 PKG_CONFIG_PATH
    738 PKG_CONFIG
    739 CHANGELOG_CMD
    740 STRICT_CFLAGS
    741 CWARNFLAGS
    742 BASE_CFLAGS
    743 EGREP
    744 GREP
    745 CPP
    746 OBJEXT
    747 EXEEXT
    748 ac_ct_CC
    749 CPPFLAGS
    750 LDFLAGS
    751 CFLAGS
    752 CC
    753 INSTALL_DATA
    754 INSTALL_SCRIPT
    755 INSTALL_PROGRAM
    756 target_alias
    757 host_alias
    758 build_alias
    759 LIBS
    760 ECHO_T
    761 ECHO_N
    762 ECHO_C
    763 DEFS
    764 mandir
    765 localedir
    766 libdir
    767 psdir
    768 pdfdir
    769 dvidir
    770 htmldir
    771 infodir
    772 docdir
    773 oldincludedir
    774 includedir
    775 localstatedir
    776 sharedstatedir
    777 sysconfdir
    778 datadir
    779 datarootdir
    780 libexecdir
    781 sbindir
    782 bindir
    783 program_transform_name
    784 prefix
    785 exec_prefix
    786 PACKAGE_URL
    787 PACKAGE_BUGREPORT
    788 PACKAGE_STRING
    789 PACKAGE_VERSION
    790 PACKAGE_TARNAME
    791 PACKAGE_NAME
    792 PATH_SEPARATOR
    793 SHELL'
    794 ac_subst_files=''
    795 ac_user_opts='
    796 enable_option_checking
    797 enable_selective_werror
    798 enable_strict_compilation
    799 enable_silent_rules
    800 enable_dependency_tracking
    801 enable_maintainer_mode
    802 enable_static
    803 enable_shared
    804 with_pic
    805 enable_fast_install
    806 with_aix_soname
    807 with_gnu_ld
    808 with_sysroot
    809 enable_libtool_lock
    810 with_xorg_module_dir
    811 enable_dri
    812 enable_exa
    813 enable_xaa
    814 '
    815       ac_precious_vars='build_alias
    816 host_alias
    817 target_alias
    818 CC
    819 CFLAGS
    820 LDFLAGS
    821 LIBS
    822 CPPFLAGS
    823 CPP
    824 PKG_CONFIG
    825 PKG_CONFIG_PATH
    826 PKG_CONFIG_LIBDIR
    827 LT_SYS_LIBRARY_PATH
    828 XORG_CFLAGS
    829 XORG_LIBS
    830 DRI_CFLAGS
    831 DRI_LIBS
    832 PCIACCESS_CFLAGS
    833 PCIACCESS_LIBS'
    834 
    835 
    836 # Initialize some variables set by options.
    837 ac_init_help=
    838 ac_init_version=false
    839 ac_unrecognized_opts=
    840 ac_unrecognized_sep=
    841 # The variables have the same names as the options, with
    842 # dashes changed to underlines.
    843 cache_file=/dev/null
    844 exec_prefix=NONE
    845 no_create=
    846 no_recursion=
    847 prefix=NONE
    848 program_prefix=NONE
    849 program_suffix=NONE
    850 program_transform_name=s,x,x,
    851 silent=
    852 site=
    853 srcdir=
    854 verbose=
    855 x_includes=NONE
    856 x_libraries=NONE
    857 
    858 # Installation directory options.
    859 # These are left unexpanded so users can "make install exec_prefix=/foo"
    860 # and all the variables that are supposed to be based on exec_prefix
    861 # by default will actually change.
    862 # Use braces instead of parens because sh, perl, etc. also accept them.
    863 # (The list follows the same order as the GNU Coding Standards.)
    864 bindir='${exec_prefix}/bin'
    865 sbindir='${exec_prefix}/sbin'
    866 libexecdir='${exec_prefix}/libexec'
    867 datarootdir='${prefix}/share'
    868 datadir='${datarootdir}'
    869 sysconfdir='${prefix}/etc'
    870 sharedstatedir='${prefix}/com'
    871 localstatedir='${prefix}/var'
    872 includedir='${prefix}/include'
    873 oldincludedir='/usr/include'
    874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    875 infodir='${datarootdir}/info'
    876 htmldir='${docdir}'
    877 dvidir='${docdir}'
    878 pdfdir='${docdir}'
    879 psdir='${docdir}'
    880 libdir='${exec_prefix}/lib'
    881 localedir='${datarootdir}/locale'
    882 mandir='${datarootdir}/man'
    883 
    884 ac_prev=
    885 ac_dashdash=
    886 for ac_option
    887 do
    888   # If the previous option needs an argument, assign it.
    889   if test -n "$ac_prev"; then
    890     eval $ac_prev=\$ac_option
    891     ac_prev=
    892     continue
    893   fi
    894 
    895   case $ac_option in
    896   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    897   *=)   ac_optarg= ;;
    898   *)    ac_optarg=yes ;;
    899   esac
    900 
    901   # Accept the important Cygnus configure options, so we can diagnose typos.
    902 
    903   case $ac_dashdash$ac_option in
    904   --)
    905     ac_dashdash=yes ;;
    906 
    907   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    908     ac_prev=bindir ;;
    909   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    910     bindir=$ac_optarg ;;
    911 
    912   -build | --build | --buil | --bui | --bu)
    913     ac_prev=build_alias ;;
    914   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    915     build_alias=$ac_optarg ;;
    916 
    917   -cache-file | --cache-file | --cache-fil | --cache-fi \
    918   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    919     ac_prev=cache_file ;;
    920   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    921   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    922     cache_file=$ac_optarg ;;
    923 
    924   --config-cache | -C)
    925     cache_file=config.cache ;;
    926 
    927   -datadir | --datadir | --datadi | --datad)
    928     ac_prev=datadir ;;
    929   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    930     datadir=$ac_optarg ;;
    931 
    932   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    933   | --dataroo | --dataro | --datar)
    934     ac_prev=datarootdir ;;
    935   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    936   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    937     datarootdir=$ac_optarg ;;
    938 
    939   -disable-* | --disable-*)
    940     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    943       as_fn_error $? "invalid feature name: $ac_useropt"
    944     ac_useropt_orig=$ac_useropt
    945     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    946     case $ac_user_opts in
    947       *"
    948 "enable_$ac_useropt"
    949 "*) ;;
    950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    951 	 ac_unrecognized_sep=', ';;
    952     esac
    953     eval enable_$ac_useropt=no ;;
    954 
    955   -docdir | --docdir | --docdi | --doc | --do)
    956     ac_prev=docdir ;;
    957   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    958     docdir=$ac_optarg ;;
    959 
    960   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    961     ac_prev=dvidir ;;
    962   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    963     dvidir=$ac_optarg ;;
    964 
    965   -enable-* | --enable-*)
    966     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    967     # Reject names that are not valid shell variable names.
    968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    969       as_fn_error $? "invalid feature name: $ac_useropt"
    970     ac_useropt_orig=$ac_useropt
    971     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    972     case $ac_user_opts in
    973       *"
    974 "enable_$ac_useropt"
    975 "*) ;;
    976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    977 	 ac_unrecognized_sep=', ';;
    978     esac
    979     eval enable_$ac_useropt=\$ac_optarg ;;
    980 
    981   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    982   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    983   | --exec | --exe | --ex)
    984     ac_prev=exec_prefix ;;
    985   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    986   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    987   | --exec=* | --exe=* | --ex=*)
    988     exec_prefix=$ac_optarg ;;
    989 
    990   -gas | --gas | --ga | --g)
    991     # Obsolete; use --with-gas.
    992     with_gas=yes ;;
    993 
    994   -help | --help | --hel | --he | -h)
    995     ac_init_help=long ;;
    996   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    997     ac_init_help=recursive ;;
    998   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    999     ac_init_help=short ;;
   1000 
   1001   -host | --host | --hos | --ho)
   1002     ac_prev=host_alias ;;
   1003   -host=* | --host=* | --hos=* | --ho=*)
   1004     host_alias=$ac_optarg ;;
   1005 
   1006   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1007     ac_prev=htmldir ;;
   1008   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1009   | --ht=*)
   1010     htmldir=$ac_optarg ;;
   1011 
   1012   -includedir | --includedir | --includedi | --included | --include \
   1013   | --includ | --inclu | --incl | --inc)
   1014     ac_prev=includedir ;;
   1015   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1016   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1017     includedir=$ac_optarg ;;
   1018 
   1019   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1020     ac_prev=infodir ;;
   1021   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1022     infodir=$ac_optarg ;;
   1023 
   1024   -libdir | --libdir | --libdi | --libd)
   1025     ac_prev=libdir ;;
   1026   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1027     libdir=$ac_optarg ;;
   1028 
   1029   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1030   | --libexe | --libex | --libe)
   1031     ac_prev=libexecdir ;;
   1032   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1033   | --libexe=* | --libex=* | --libe=*)
   1034     libexecdir=$ac_optarg ;;
   1035 
   1036   -localedir | --localedir | --localedi | --localed | --locale)
   1037     ac_prev=localedir ;;
   1038   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1039     localedir=$ac_optarg ;;
   1040 
   1041   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1042   | --localstate | --localstat | --localsta | --localst | --locals)
   1043     ac_prev=localstatedir ;;
   1044   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1045   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1046     localstatedir=$ac_optarg ;;
   1047 
   1048   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1049     ac_prev=mandir ;;
   1050   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1051     mandir=$ac_optarg ;;
   1052 
   1053   -nfp | --nfp | --nf)
   1054     # Obsolete; use --without-fp.
   1055     with_fp=no ;;
   1056 
   1057   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1058   | --no-cr | --no-c | -n)
   1059     no_create=yes ;;
   1060 
   1061   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1062   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1063     no_recursion=yes ;;
   1064 
   1065   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1066   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1067   | --oldin | --oldi | --old | --ol | --o)
   1068     ac_prev=oldincludedir ;;
   1069   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1070   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1071   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1072     oldincludedir=$ac_optarg ;;
   1073 
   1074   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1075     ac_prev=prefix ;;
   1076   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1077     prefix=$ac_optarg ;;
   1078 
   1079   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1080   | --program-pre | --program-pr | --program-p)
   1081     ac_prev=program_prefix ;;
   1082   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1083   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1084     program_prefix=$ac_optarg ;;
   1085 
   1086   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1087   | --program-suf | --program-su | --program-s)
   1088     ac_prev=program_suffix ;;
   1089   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1090   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1091     program_suffix=$ac_optarg ;;
   1092 
   1093   -program-transform-name | --program-transform-name \
   1094   | --program-transform-nam | --program-transform-na \
   1095   | --program-transform-n | --program-transform- \
   1096   | --program-transform | --program-transfor \
   1097   | --program-transfo | --program-transf \
   1098   | --program-trans | --program-tran \
   1099   | --progr-tra | --program-tr | --program-t)
   1100     ac_prev=program_transform_name ;;
   1101   -program-transform-name=* | --program-transform-name=* \
   1102   | --program-transform-nam=* | --program-transform-na=* \
   1103   | --program-transform-n=* | --program-transform-=* \
   1104   | --program-transform=* | --program-transfor=* \
   1105   | --program-transfo=* | --program-transf=* \
   1106   | --program-trans=* | --program-tran=* \
   1107   | --progr-tra=* | --program-tr=* | --program-t=*)
   1108     program_transform_name=$ac_optarg ;;
   1109 
   1110   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1111     ac_prev=pdfdir ;;
   1112   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1113     pdfdir=$ac_optarg ;;
   1114 
   1115   -psdir | --psdir | --psdi | --psd | --ps)
   1116     ac_prev=psdir ;;
   1117   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1118     psdir=$ac_optarg ;;
   1119 
   1120   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1121   | -silent | --silent | --silen | --sile | --sil)
   1122     silent=yes ;;
   1123 
   1124   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1125     ac_prev=sbindir ;;
   1126   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1127   | --sbi=* | --sb=*)
   1128     sbindir=$ac_optarg ;;
   1129 
   1130   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1131   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1132   | --sharedst | --shareds | --shared | --share | --shar \
   1133   | --sha | --sh)
   1134     ac_prev=sharedstatedir ;;
   1135   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1136   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1137   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1138   | --sha=* | --sh=*)
   1139     sharedstatedir=$ac_optarg ;;
   1140 
   1141   -site | --site | --sit)
   1142     ac_prev=site ;;
   1143   -site=* | --site=* | --sit=*)
   1144     site=$ac_optarg ;;
   1145 
   1146   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1147     ac_prev=srcdir ;;
   1148   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1149     srcdir=$ac_optarg ;;
   1150 
   1151   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1152   | --syscon | --sysco | --sysc | --sys | --sy)
   1153     ac_prev=sysconfdir ;;
   1154   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1155   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1156     sysconfdir=$ac_optarg ;;
   1157 
   1158   -target | --target | --targe | --targ | --tar | --ta | --t)
   1159     ac_prev=target_alias ;;
   1160   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1161     target_alias=$ac_optarg ;;
   1162 
   1163   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1164     verbose=yes ;;
   1165 
   1166   -version | --version | --versio | --versi | --vers | -V)
   1167     ac_init_version=: ;;
   1168 
   1169   -with-* | --with-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: $ac_useropt"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=\$ac_optarg ;;
   1184 
   1185   -without-* | --without-*)
   1186     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1187     # Reject names that are not valid shell variable names.
   1188     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1189       as_fn_error $? "invalid package name: $ac_useropt"
   1190     ac_useropt_orig=$ac_useropt
   1191     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1192     case $ac_user_opts in
   1193       *"
   1194 "with_$ac_useropt"
   1195 "*) ;;
   1196       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1197 	 ac_unrecognized_sep=', ';;
   1198     esac
   1199     eval with_$ac_useropt=no ;;
   1200 
   1201   --x)
   1202     # Obsolete; use --with-x.
   1203     with_x=yes ;;
   1204 
   1205   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1206   | --x-incl | --x-inc | --x-in | --x-i)
   1207     ac_prev=x_includes ;;
   1208   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1209   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1210     x_includes=$ac_optarg ;;
   1211 
   1212   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1213   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1214     ac_prev=x_libraries ;;
   1215   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1216   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1217     x_libraries=$ac_optarg ;;
   1218 
   1219   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1220 Try \`$0 --help' for more information"
   1221     ;;
   1222 
   1223   *=*)
   1224     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1225     # Reject names that are not valid shell variable names.
   1226     case $ac_envvar in #(
   1227       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1228       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1229     esac
   1230     eval $ac_envvar=\$ac_optarg
   1231     export $ac_envvar ;;
   1232 
   1233   *)
   1234     # FIXME: should be removed in autoconf 3.0.
   1235     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1236     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1237       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1238     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1239     ;;
   1240 
   1241   esac
   1242 done
   1243 
   1244 if test -n "$ac_prev"; then
   1245   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1246   as_fn_error $? "missing argument to $ac_option"
   1247 fi
   1248 
   1249 if test -n "$ac_unrecognized_opts"; then
   1250   case $enable_option_checking in
   1251     no) ;;
   1252     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1253     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1254   esac
   1255 fi
   1256 
   1257 # Check all directory arguments for consistency.
   1258 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1259 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1260 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1261 		libdir localedir mandir
   1262 do
   1263   eval ac_val=\$$ac_var
   1264   # Remove trailing slashes.
   1265   case $ac_val in
   1266     */ )
   1267       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1268       eval $ac_var=\$ac_val;;
   1269   esac
   1270   # Be sure to have absolute directory names.
   1271   case $ac_val in
   1272     [\\/$]* | ?:[\\/]* )  continue;;
   1273     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1274   esac
   1275   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1276 done
   1277 
   1278 # There might be people who depend on the old broken behavior: `$host'
   1279 # used to hold the argument of --host etc.
   1280 # FIXME: To remove some day.
   1281 build=$build_alias
   1282 host=$host_alias
   1283 target=$target_alias
   1284 
   1285 # FIXME: To remove some day.
   1286 if test "x$host_alias" != x; then
   1287   if test "x$build_alias" = x; then
   1288     cross_compiling=maybe
   1289   elif test "x$build_alias" != "x$host_alias"; then
   1290     cross_compiling=yes
   1291   fi
   1292 fi
   1293 
   1294 ac_tool_prefix=
   1295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1296 
   1297 test "$silent" = yes && exec 6>/dev/null
   1298 
   1299 
   1300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1301 ac_ls_di=`ls -di .` &&
   1302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1303   as_fn_error $? "working directory cannot be determined"
   1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1305   as_fn_error $? "pwd does not report name of working directory"
   1306 
   1307 
   1308 # Find the source files, if location was not specified.
   1309 if test -z "$srcdir"; then
   1310   ac_srcdir_defaulted=yes
   1311   # Try the directory containing this script, then the parent directory.
   1312   ac_confdir=`$as_dirname -- "$as_myself" ||
   1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1314 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1315 	 X"$as_myself" : 'X\(//\)$' \| \
   1316 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1317 $as_echo X"$as_myself" |
   1318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)[^/].*/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\/\)$/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  /^X\(\/\).*/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  s/.*/./; q'`
   1335   srcdir=$ac_confdir
   1336   if test ! -r "$srcdir/$ac_unique_file"; then
   1337     srcdir=..
   1338   fi
   1339 else
   1340   ac_srcdir_defaulted=no
   1341 fi
   1342 if test ! -r "$srcdir/$ac_unique_file"; then
   1343   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1344   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1345 fi
   1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1347 ac_abs_confdir=`(
   1348 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1349 	pwd)`
   1350 # When building in place, set srcdir=.
   1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1352   srcdir=.
   1353 fi
   1354 # Remove unnecessary trailing slashes from srcdir.
   1355 # Double slashes in file names in object file debugging info
   1356 # mess up M-x gdb in Emacs.
   1357 case $srcdir in
   1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1359 esac
   1360 for ac_var in $ac_precious_vars; do
   1361   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1362   eval ac_env_${ac_var}_value=\$${ac_var}
   1363   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1364   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1365 done
   1366 
   1367 #
   1368 # Report the --help message.
   1369 #
   1370 if test "$ac_init_help" = "long"; then
   1371   # Omit some internal or obsolete options to make the list less imposing.
   1372   # This message is too long to be a string in the A/UX 3.1 sh.
   1373   cat <<_ACEOF
   1374 \`configure' configures xf86-video-mga 1.6.5 to adapt to many kinds of systems.
   1375 
   1376 Usage: $0 [OPTION]... [VAR=VALUE]...
   1377 
   1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1379 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1380 
   1381 Defaults for the options are specified in brackets.
   1382 
   1383 Configuration:
   1384   -h, --help              display this help and exit
   1385       --help=short        display options specific to this package
   1386       --help=recursive    display the short help of all the included packages
   1387   -V, --version           display version information and exit
   1388   -q, --quiet, --silent   do not print \`checking ...' messages
   1389       --cache-file=FILE   cache test results in FILE [disabled]
   1390   -C, --config-cache      alias for \`--cache-file=config.cache'
   1391   -n, --no-create         do not create output files
   1392       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1393 
   1394 Installation directories:
   1395   --prefix=PREFIX         install architecture-independent files in PREFIX
   1396                           [$ac_default_prefix]
   1397   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1398                           [PREFIX]
   1399 
   1400 By default, \`make install' will install all the files in
   1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1403 for instance \`--prefix=\$HOME'.
   1404 
   1405 For better control, use the options below.
   1406 
   1407 Fine tuning of the installation directories:
   1408   --bindir=DIR            user executables [EPREFIX/bin]
   1409   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1410   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1411   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1412   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1413   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1414   --libdir=DIR            object code libraries [EPREFIX/lib]
   1415   --includedir=DIR        C header files [PREFIX/include]
   1416   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1417   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1418   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1419   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1420   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1421   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1422   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-mga]
   1423   --htmldir=DIR           html documentation [DOCDIR]
   1424   --dvidir=DIR            dvi documentation [DOCDIR]
   1425   --pdfdir=DIR            pdf documentation [DOCDIR]
   1426   --psdir=DIR             ps documentation [DOCDIR]
   1427 _ACEOF
   1428 
   1429   cat <<\_ACEOF
   1430 
   1431 Program names:
   1432   --program-prefix=C            prepend C to installed program names
   1433   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1434   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1435 
   1436 System types:
   1437   --build=BUILD     configure for building on BUILD [guessed]
   1438   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1439 _ACEOF
   1440 fi
   1441 
   1442 if test -n "$ac_init_help"; then
   1443   case $ac_init_help in
   1444      short | recursive ) echo "Configuration of xf86-video-mga 1.6.5:";;
   1445    esac
   1446   cat <<\_ACEOF
   1447 
   1448 Optional Features:
   1449   --disable-option-checking  ignore unrecognized --enable/--with options
   1450   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1451   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1452   --disable-selective-werror
   1453                           Turn off selective compiler errors. (default:
   1454                           enabled)
   1455   --enable-strict-compilation
   1456                           Enable all warnings from compiler and make them
   1457                           errors (default: disabled)
   1458   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1459   --disable-silent-rules  verbose build output (undo: "make V=0")
   1460   --enable-dependency-tracking
   1461                           do not reject slow dependency extractors
   1462   --disable-dependency-tracking
   1463                           speeds up one-time build
   1464   --enable-maintainer-mode
   1465                           enable make rules and dependencies not useful (and
   1466                           sometimes confusing) to the casual installer
   1467   --enable-static[=PKGS]  build static libraries [default=no]
   1468   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1469   --enable-fast-install[=PKGS]
   1470                           optimize for fast installation [default=yes]
   1471   --disable-libtool-lock  avoid locking (might break parallel builds)
   1472   --disable-dri           Disable DRI support [[default=auto]]
   1473   --disable-exa           Disable EXA support [[default=enabled]]
   1474   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1475                           [default=auto]
   1476 
   1477 Optional Packages:
   1478   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1479   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1480   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1481                           both]
   1482   --with-aix-soname=aix|svr4|both
   1483                           shared library versioning (aka "SONAME") variant to
   1484                           provide on AIX, [default=aix].
   1485   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1486   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1487                           compiler's sysroot if not specified).
   1488   --with-xorg-module-dir=DIR
   1489                           Default xorg module directory
   1490                           [[default=$libdir/xorg/modules]]
   1491 
   1492 Some influential environment variables:
   1493   CC          C compiler command
   1494   CFLAGS      C compiler flags
   1495   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1496               nonstandard directory <lib dir>
   1497   LIBS        libraries to pass to the linker, e.g. -l<library>
   1498   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1499               you have headers in a nonstandard directory <include dir>
   1500   CPP         C preprocessor
   1501   PKG_CONFIG  path to pkg-config utility
   1502   PKG_CONFIG_PATH
   1503               directories to add to pkg-config's search path
   1504   PKG_CONFIG_LIBDIR
   1505               path overriding pkg-config's built-in search path
   1506   LT_SYS_LIBRARY_PATH
   1507               User-defined run-time library search path.
   1508   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1509   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1510   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1511   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1512   PCIACCESS_CFLAGS
   1513               C compiler flags for PCIACCESS, overriding pkg-config
   1514   PCIACCESS_LIBS
   1515               linker flags for PCIACCESS, overriding pkg-config
   1516 
   1517 Use these variables to override the choices made by `configure' or to help
   1518 it to find libraries and programs with nonstandard names/locations.
   1519 
   1520 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1521 _ACEOF
   1522 ac_status=$?
   1523 fi
   1524 
   1525 if test "$ac_init_help" = "recursive"; then
   1526   # If there are subdirs, report their specific --help.
   1527   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1528     test -d "$ac_dir" ||
   1529       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1530       continue
   1531     ac_builddir=.
   1532 
   1533 case "$ac_dir" in
   1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1535 *)
   1536   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1537   # A ".." for each directory in $ac_dir_suffix.
   1538   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1539   case $ac_top_builddir_sub in
   1540   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1541   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1542   esac ;;
   1543 esac
   1544 ac_abs_top_builddir=$ac_pwd
   1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1546 # for backward compatibility:
   1547 ac_top_builddir=$ac_top_build_prefix
   1548 
   1549 case $srcdir in
   1550   .)  # We are building in place.
   1551     ac_srcdir=.
   1552     ac_top_srcdir=$ac_top_builddir_sub
   1553     ac_abs_top_srcdir=$ac_pwd ;;
   1554   [\\/]* | ?:[\\/]* )  # Absolute name.
   1555     ac_srcdir=$srcdir$ac_dir_suffix;
   1556     ac_top_srcdir=$srcdir
   1557     ac_abs_top_srcdir=$srcdir ;;
   1558   *) # Relative name.
   1559     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1560     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1561     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1562 esac
   1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1564 
   1565     cd "$ac_dir" || { ac_status=$?; continue; }
   1566     # Check for guested configure.
   1567     if test -f "$ac_srcdir/configure.gnu"; then
   1568       echo &&
   1569       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1570     elif test -f "$ac_srcdir/configure"; then
   1571       echo &&
   1572       $SHELL "$ac_srcdir/configure" --help=recursive
   1573     else
   1574       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1575     fi || ac_status=$?
   1576     cd "$ac_pwd" || { ac_status=$?; break; }
   1577   done
   1578 fi
   1579 
   1580 test -n "$ac_init_help" && exit $ac_status
   1581 if $ac_init_version; then
   1582   cat <<\_ACEOF
   1583 xf86-video-mga configure 1.6.5
   1584 generated by GNU Autoconf 2.69
   1585 
   1586 Copyright (C) 2012 Free Software Foundation, Inc.
   1587 This configure script is free software; the Free Software Foundation
   1588 gives unlimited permission to copy, distribute and modify it.
   1589 _ACEOF
   1590   exit
   1591 fi
   1592 
   1593 ## ------------------------ ##
   1594 ## Autoconf initialization. ##
   1595 ## ------------------------ ##
   1596 
   1597 # ac_fn_c_try_compile LINENO
   1598 # --------------------------
   1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1600 ac_fn_c_try_compile ()
   1601 {
   1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1603   rm -f conftest.$ac_objext
   1604   if { { ac_try="$ac_compile"
   1605 case "(($ac_try" in
   1606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1607   *) ac_try_echo=$ac_try;;
   1608 esac
   1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1610 $as_echo "$ac_try_echo"; } >&5
   1611   (eval "$ac_compile") 2>conftest.err
   1612   ac_status=$?
   1613   if test -s conftest.err; then
   1614     grep -v '^ *+' conftest.err >conftest.er1
   1615     cat conftest.er1 >&5
   1616     mv -f conftest.er1 conftest.err
   1617   fi
   1618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1619   test $ac_status = 0; } && {
   1620 	 test -z "$ac_c_werror_flag" ||
   1621 	 test ! -s conftest.err
   1622        } && test -s conftest.$ac_objext; then :
   1623   ac_retval=0
   1624 else
   1625   $as_echo "$as_me: failed program was:" >&5
   1626 sed 's/^/| /' conftest.$ac_ext >&5
   1627 
   1628 	ac_retval=1
   1629 fi
   1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1631   as_fn_set_status $ac_retval
   1632 
   1633 } # ac_fn_c_try_compile
   1634 
   1635 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1636 # ---------------------------------------------
   1637 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1638 # accordingly.
   1639 ac_fn_c_check_decl ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1643   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1645 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1646 if eval \${$3+:} false; then :
   1647   $as_echo_n "(cached) " >&6
   1648 else
   1649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1650 /* end confdefs.h.  */
   1651 $4
   1652 int
   1653 main ()
   1654 {
   1655 #ifndef $as_decl_name
   1656 #ifdef __cplusplus
   1657   (void) $as_decl_use;
   1658 #else
   1659   (void) $as_decl_name;
   1660 #endif
   1661 #endif
   1662 
   1663   ;
   1664   return 0;
   1665 }
   1666 _ACEOF
   1667 if ac_fn_c_try_compile "$LINENO"; then :
   1668   eval "$3=yes"
   1669 else
   1670   eval "$3=no"
   1671 fi
   1672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1673 fi
   1674 eval ac_res=\$$3
   1675 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1676 $as_echo "$ac_res" >&6; }
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678 
   1679 } # ac_fn_c_check_decl
   1680 
   1681 # ac_fn_c_try_cpp LINENO
   1682 # ----------------------
   1683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1684 ac_fn_c_try_cpp ()
   1685 {
   1686   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1687   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1688 case "(($ac_try" in
   1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1690   *) ac_try_echo=$ac_try;;
   1691 esac
   1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1693 $as_echo "$ac_try_echo"; } >&5
   1694   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1695   ac_status=$?
   1696   if test -s conftest.err; then
   1697     grep -v '^ *+' conftest.err >conftest.er1
   1698     cat conftest.er1 >&5
   1699     mv -f conftest.er1 conftest.err
   1700   fi
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; } > conftest.i && {
   1703 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1704 	 test ! -s conftest.err
   1705        }; then :
   1706   ac_retval=0
   1707 else
   1708   $as_echo "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711     ac_retval=1
   1712 fi
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_cpp
   1717 
   1718 # ac_fn_c_try_run LINENO
   1719 # ----------------------
   1720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1721 # that executables *can* be run.
   1722 ac_fn_c_try_run ()
   1723 {
   1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1725   if { { ac_try="$ac_link"
   1726 case "(($ac_try" in
   1727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1728   *) ac_try_echo=$ac_try;;
   1729 esac
   1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1731 $as_echo "$ac_try_echo"; } >&5
   1732   (eval "$ac_link") 2>&5
   1733   ac_status=$?
   1734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1735   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1736   { { case "(($ac_try" in
   1737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1738   *) ac_try_echo=$ac_try;;
   1739 esac
   1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1741 $as_echo "$ac_try_echo"; } >&5
   1742   (eval "$ac_try") 2>&5
   1743   ac_status=$?
   1744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1745   test $ac_status = 0; }; }; then :
   1746   ac_retval=0
   1747 else
   1748   $as_echo "$as_me: program exited with status $ac_status" >&5
   1749        $as_echo "$as_me: failed program was:" >&5
   1750 sed 's/^/| /' conftest.$ac_ext >&5
   1751 
   1752        ac_retval=$ac_status
   1753 fi
   1754   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756   as_fn_set_status $ac_retval
   1757 
   1758 } # ac_fn_c_try_run
   1759 
   1760 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1761 # -------------------------------------------------------
   1762 # Tests whether HEADER exists and can be compiled using the include files in
   1763 # INCLUDES, setting the cache variable VAR accordingly.
   1764 ac_fn_c_check_header_compile ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1768 $as_echo_n "checking for $2... " >&6; }
   1769 if eval \${$3+:} false; then :
   1770   $as_echo_n "(cached) " >&6
   1771 else
   1772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1773 /* end confdefs.h.  */
   1774 $4
   1775 #include <$2>
   1776 _ACEOF
   1777 if ac_fn_c_try_compile "$LINENO"; then :
   1778   eval "$3=yes"
   1779 else
   1780   eval "$3=no"
   1781 fi
   1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1783 fi
   1784 eval ac_res=\$$3
   1785 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1786 $as_echo "$ac_res" >&6; }
   1787   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1788 
   1789 } # ac_fn_c_check_header_compile
   1790 
   1791 # ac_fn_c_try_link LINENO
   1792 # -----------------------
   1793 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1794 ac_fn_c_try_link ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   rm -f conftest.$ac_objext conftest$ac_exeext
   1798   if { { ac_try="$ac_link"
   1799 case "(($ac_try" in
   1800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1801   *) ac_try_echo=$ac_try;;
   1802 esac
   1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1804 $as_echo "$ac_try_echo"; } >&5
   1805   (eval "$ac_link") 2>conftest.err
   1806   ac_status=$?
   1807   if test -s conftest.err; then
   1808     grep -v '^ *+' conftest.err >conftest.er1
   1809     cat conftest.er1 >&5
   1810     mv -f conftest.er1 conftest.err
   1811   fi
   1812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1813   test $ac_status = 0; } && {
   1814 	 test -z "$ac_c_werror_flag" ||
   1815 	 test ! -s conftest.err
   1816        } && test -s conftest$ac_exeext && {
   1817 	 test "$cross_compiling" = yes ||
   1818 	 test -x conftest$ac_exeext
   1819        }; then :
   1820   ac_retval=0
   1821 else
   1822   $as_echo "$as_me: failed program was:" >&5
   1823 sed 's/^/| /' conftest.$ac_ext >&5
   1824 
   1825 	ac_retval=1
   1826 fi
   1827   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1828   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1829   # interfere with the next link command; also delete a directory that is
   1830   # left behind by Apple's compiler.  We do this before executing the actions.
   1831   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833   as_fn_set_status $ac_retval
   1834 
   1835 } # ac_fn_c_try_link
   1836 
   1837 # ac_fn_c_check_func LINENO FUNC VAR
   1838 # ----------------------------------
   1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1840 ac_fn_c_check_func ()
   1841 {
   1842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1844 $as_echo_n "checking for $2... " >&6; }
   1845 if eval \${$3+:} false; then :
   1846   $as_echo_n "(cached) " >&6
   1847 else
   1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1849 /* end confdefs.h.  */
   1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1852 #define $2 innocuous_$2
   1853 
   1854 /* System header to define __stub macros and hopefully few prototypes,
   1855     which can conflict with char $2 (); below.
   1856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1857     <limits.h> exists even on freestanding compilers.  */
   1858 
   1859 #ifdef __STDC__
   1860 # include <limits.h>
   1861 #else
   1862 # include <assert.h>
   1863 #endif
   1864 
   1865 #undef $2
   1866 
   1867 /* Override any GCC internal prototype to avoid an error.
   1868    Use char because int might match the return type of a GCC
   1869    builtin and then its argument prototype would still apply.  */
   1870 #ifdef __cplusplus
   1871 extern "C"
   1872 #endif
   1873 char $2 ();
   1874 /* The GNU C library defines this for functions which it implements
   1875     to always fail with ENOSYS.  Some functions are actually named
   1876     something starting with __ and the normal name is an alias.  */
   1877 #if defined __stub_$2 || defined __stub___$2
   1878 choke me
   1879 #endif
   1880 
   1881 int
   1882 main ()
   1883 {
   1884 return $2 ();
   1885   ;
   1886   return 0;
   1887 }
   1888 _ACEOF
   1889 if ac_fn_c_try_link "$LINENO"; then :
   1890   eval "$3=yes"
   1891 else
   1892   eval "$3=no"
   1893 fi
   1894 rm -f core conftest.err conftest.$ac_objext \
   1895     conftest$ac_exeext conftest.$ac_ext
   1896 fi
   1897 eval ac_res=\$$3
   1898 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1899 $as_echo "$ac_res" >&6; }
   1900   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1901 
   1902 } # ac_fn_c_check_func
   1903 
   1904 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1905 # -------------------------------------------------------
   1906 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1907 # the include files in INCLUDES and setting the cache variable VAR
   1908 # accordingly.
   1909 ac_fn_c_check_header_mongrel ()
   1910 {
   1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1912   if eval \${$3+:} false; then :
   1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1914 $as_echo_n "checking for $2... " >&6; }
   1915 if eval \${$3+:} false; then :
   1916   $as_echo_n "(cached) " >&6
   1917 fi
   1918 eval ac_res=\$$3
   1919 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1920 $as_echo "$ac_res" >&6; }
   1921 else
   1922   # Is the header compilable?
   1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1924 $as_echo_n "checking $2 usability... " >&6; }
   1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1926 /* end confdefs.h.  */
   1927 $4
   1928 #include <$2>
   1929 _ACEOF
   1930 if ac_fn_c_try_compile "$LINENO"; then :
   1931   ac_header_compiler=yes
   1932 else
   1933   ac_header_compiler=no
   1934 fi
   1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1937 $as_echo "$ac_header_compiler" >&6; }
   1938 
   1939 # Is the header present?
   1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1941 $as_echo_n "checking $2 presence... " >&6; }
   1942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1943 /* end confdefs.h.  */
   1944 #include <$2>
   1945 _ACEOF
   1946 if ac_fn_c_try_cpp "$LINENO"; then :
   1947   ac_header_preproc=yes
   1948 else
   1949   ac_header_preproc=no
   1950 fi
   1951 rm -f conftest.err conftest.i conftest.$ac_ext
   1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1953 $as_echo "$ac_header_preproc" >&6; }
   1954 
   1955 # So?  What about this header?
   1956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1957   yes:no: )
   1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1959 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1961 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1962     ;;
   1963   no:yes:* )
   1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1965 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1967 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1969 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1971 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1973 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1974 ( $as_echo "## ---------------------------------------------------------------------- ##
   1975 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1976 ## ---------------------------------------------------------------------- ##"
   1977      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1978     ;;
   1979 esac
   1980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1981 $as_echo_n "checking for $2... " >&6; }
   1982 if eval \${$3+:} false; then :
   1983   $as_echo_n "(cached) " >&6
   1984 else
   1985   eval "$3=\$ac_header_compiler"
   1986 fi
   1987 eval ac_res=\$$3
   1988 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1989 $as_echo "$ac_res" >&6; }
   1990 fi
   1991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1992 
   1993 } # ac_fn_c_check_header_mongrel
   1994 cat >config.log <<_ACEOF
   1995 This file contains any messages produced by compilers while
   1996 running configure, to aid debugging if configure makes a mistake.
   1997 
   1998 It was created by xf86-video-mga $as_me 1.6.5, which was
   1999 generated by GNU Autoconf 2.69.  Invocation command line was
   2000 
   2001   $ $0 $@
   2002 
   2003 _ACEOF
   2004 exec 5>>config.log
   2005 {
   2006 cat <<_ASUNAME
   2007 ## --------- ##
   2008 ## Platform. ##
   2009 ## --------- ##
   2010 
   2011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2016 
   2017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2018 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2019 
   2020 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2021 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2023 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2024 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2025 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2026 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2027 
   2028 _ASUNAME
   2029 
   2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2031 for as_dir in $PATH
   2032 do
   2033   IFS=$as_save_IFS
   2034   test -z "$as_dir" && as_dir=.
   2035     $as_echo "PATH: $as_dir"
   2036   done
   2037 IFS=$as_save_IFS
   2038 
   2039 } >&5
   2040 
   2041 cat >&5 <<_ACEOF
   2042 
   2043 
   2044 ## ----------- ##
   2045 ## Core tests. ##
   2046 ## ----------- ##
   2047 
   2048 _ACEOF
   2049 
   2050 
   2051 # Keep a trace of the command line.
   2052 # Strip out --no-create and --no-recursion so they do not pile up.
   2053 # Strip out --silent because we don't want to record it for future runs.
   2054 # Also quote any args containing shell meta-characters.
   2055 # Make two passes to allow for proper duplicate-argument suppression.
   2056 ac_configure_args=
   2057 ac_configure_args0=
   2058 ac_configure_args1=
   2059 ac_must_keep_next=false
   2060 for ac_pass in 1 2
   2061 do
   2062   for ac_arg
   2063   do
   2064     case $ac_arg in
   2065     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2066     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2067     | -silent | --silent | --silen | --sile | --sil)
   2068       continue ;;
   2069     *\'*)
   2070       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2071     esac
   2072     case $ac_pass in
   2073     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2074     2)
   2075       as_fn_append ac_configure_args1 " '$ac_arg'"
   2076       if test $ac_must_keep_next = true; then
   2077 	ac_must_keep_next=false # Got value, back to normal.
   2078       else
   2079 	case $ac_arg in
   2080 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2081 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2082 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2083 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2084 	    case "$ac_configure_args0 " in
   2085 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2086 	    esac
   2087 	    ;;
   2088 	  -* ) ac_must_keep_next=true ;;
   2089 	esac
   2090       fi
   2091       as_fn_append ac_configure_args " '$ac_arg'"
   2092       ;;
   2093     esac
   2094   done
   2095 done
   2096 { ac_configure_args0=; unset ac_configure_args0;}
   2097 { ac_configure_args1=; unset ac_configure_args1;}
   2098 
   2099 # When interrupted or exit'd, cleanup temporary files, and complete
   2100 # config.log.  We remove comments because anyway the quotes in there
   2101 # would cause problems or look ugly.
   2102 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2103 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2104 trap 'exit_status=$?
   2105   # Save into config.log some information that might help in debugging.
   2106   {
   2107     echo
   2108 
   2109     $as_echo "## ---------------- ##
   2110 ## Cache variables. ##
   2111 ## ---------------- ##"
   2112     echo
   2113     # The following way of writing the cache mishandles newlines in values,
   2114 (
   2115   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2116     eval ac_val=\$$ac_var
   2117     case $ac_val in #(
   2118     *${as_nl}*)
   2119       case $ac_var in #(
   2120       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2121 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2122       esac
   2123       case $ac_var in #(
   2124       _ | IFS | as_nl) ;; #(
   2125       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2126       *) { eval $ac_var=; unset $ac_var;} ;;
   2127       esac ;;
   2128     esac
   2129   done
   2130   (set) 2>&1 |
   2131     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2132     *${as_nl}ac_space=\ *)
   2133       sed -n \
   2134 	"s/'\''/'\''\\\\'\'''\''/g;
   2135 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2136       ;; #(
   2137     *)
   2138       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2139       ;;
   2140     esac |
   2141     sort
   2142 )
   2143     echo
   2144 
   2145     $as_echo "## ----------------- ##
   2146 ## Output variables. ##
   2147 ## ----------------- ##"
   2148     echo
   2149     for ac_var in $ac_subst_vars
   2150     do
   2151       eval ac_val=\$$ac_var
   2152       case $ac_val in
   2153       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2154       esac
   2155       $as_echo "$ac_var='\''$ac_val'\''"
   2156     done | sort
   2157     echo
   2158 
   2159     if test -n "$ac_subst_files"; then
   2160       $as_echo "## ------------------- ##
   2161 ## File substitutions. ##
   2162 ## ------------------- ##"
   2163       echo
   2164       for ac_var in $ac_subst_files
   2165       do
   2166 	eval ac_val=\$$ac_var
   2167 	case $ac_val in
   2168 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2169 	esac
   2170 	$as_echo "$ac_var='\''$ac_val'\''"
   2171       done | sort
   2172       echo
   2173     fi
   2174 
   2175     if test -s confdefs.h; then
   2176       $as_echo "## ----------- ##
   2177 ## confdefs.h. ##
   2178 ## ----------- ##"
   2179       echo
   2180       cat confdefs.h
   2181       echo
   2182     fi
   2183     test "$ac_signal" != 0 &&
   2184       $as_echo "$as_me: caught signal $ac_signal"
   2185     $as_echo "$as_me: exit $exit_status"
   2186   } >&5
   2187   rm -f core *.core core.conftest.* &&
   2188     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2189     exit $exit_status
   2190 ' 0
   2191 for ac_signal in 1 2 13 15; do
   2192   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2193 done
   2194 ac_signal=0
   2195 
   2196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2197 rm -f -r conftest* confdefs.h
   2198 
   2199 $as_echo "/* confdefs.h */" > confdefs.h
   2200 
   2201 # Predefined preprocessor variables.
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_NAME "$PACKAGE_NAME"
   2205 _ACEOF
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2209 _ACEOF
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2213 _ACEOF
   2214 
   2215 cat >>confdefs.h <<_ACEOF
   2216 #define PACKAGE_STRING "$PACKAGE_STRING"
   2217 _ACEOF
   2218 
   2219 cat >>confdefs.h <<_ACEOF
   2220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2221 _ACEOF
   2222 
   2223 cat >>confdefs.h <<_ACEOF
   2224 #define PACKAGE_URL "$PACKAGE_URL"
   2225 _ACEOF
   2226 
   2227 
   2228 # Let the site file select an alternate cache file if it wants to.
   2229 # Prefer an explicitly selected file to automatically selected ones.
   2230 ac_site_file1=NONE
   2231 ac_site_file2=NONE
   2232 if test -n "$CONFIG_SITE"; then
   2233   # We do not want a PATH search for config.site.
   2234   case $CONFIG_SITE in #((
   2235     -*)  ac_site_file1=./$CONFIG_SITE;;
   2236     */*) ac_site_file1=$CONFIG_SITE;;
   2237     *)   ac_site_file1=./$CONFIG_SITE;;
   2238   esac
   2239 elif test "x$prefix" != xNONE; then
   2240   ac_site_file1=$prefix/share/config.site
   2241   ac_site_file2=$prefix/etc/config.site
   2242 else
   2243   ac_site_file1=$ac_default_prefix/share/config.site
   2244   ac_site_file2=$ac_default_prefix/etc/config.site
   2245 fi
   2246 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2247 do
   2248   test "x$ac_site_file" = xNONE && continue
   2249   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2250     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2251 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2252     sed 's/^/| /' "$ac_site_file" >&5
   2253     . "$ac_site_file" \
   2254       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2256 as_fn_error $? "failed to load site script $ac_site_file
   2257 See \`config.log' for more details" "$LINENO" 5; }
   2258   fi
   2259 done
   2260 
   2261 if test -r "$cache_file"; then
   2262   # Some versions of bash will fail to source /dev/null (special files
   2263   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2264   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2265     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2266 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2267     case $cache_file in
   2268       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2269       *)                      . "./$cache_file";;
   2270     esac
   2271   fi
   2272 else
   2273   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2274 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2275   >$cache_file
   2276 fi
   2277 
   2278 # Check that the precious variables saved in the cache have kept the same
   2279 # value.
   2280 ac_cache_corrupted=false
   2281 for ac_var in $ac_precious_vars; do
   2282   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2283   eval ac_new_set=\$ac_env_${ac_var}_set
   2284   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2285   eval ac_new_val=\$ac_env_${ac_var}_value
   2286   case $ac_old_set,$ac_new_set in
   2287     set,)
   2288       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2289 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2290       ac_cache_corrupted=: ;;
   2291     ,set)
   2292       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2293 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2294       ac_cache_corrupted=: ;;
   2295     ,);;
   2296     *)
   2297       if test "x$ac_old_val" != "x$ac_new_val"; then
   2298 	# differences in whitespace do not lead to failure.
   2299 	ac_old_val_w=`echo x $ac_old_val`
   2300 	ac_new_val_w=`echo x $ac_new_val`
   2301 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2302 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2303 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2304 	  ac_cache_corrupted=:
   2305 	else
   2306 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2307 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2308 	  eval $ac_var=\$ac_old_val
   2309 	fi
   2310 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2311 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2312 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2313 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2314       fi;;
   2315   esac
   2316   # Pass precious variables to config.status.
   2317   if test "$ac_new_set" = set; then
   2318     case $ac_new_val in
   2319     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2320     *) ac_arg=$ac_var=$ac_new_val ;;
   2321     esac
   2322     case " $ac_configure_args " in
   2323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2324       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2325     esac
   2326   fi
   2327 done
   2328 if $ac_cache_corrupted; then
   2329   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2331   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2332 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2333   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2334 fi
   2335 ## -------------------- ##
   2336 ## Main body of script. ##
   2337 ## -------------------- ##
   2338 
   2339 ac_ext=c
   2340 ac_cpp='$CPP $CPPFLAGS'
   2341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2344 
   2345 
   2346 
   2347 ac_config_headers="$ac_config_headers config.h"
   2348 
   2349 
   2350 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2351 
   2352 
   2353 
   2354 
   2355 
   2356 
   2357 
   2358 
   2359 
   2360 
   2361 
   2362 ac_aux_dir=
   2363 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2364   if test -f "$ac_dir/install-sh"; then
   2365     ac_aux_dir=$ac_dir
   2366     ac_install_sh="$ac_aux_dir/install-sh -c"
   2367     break
   2368   elif test -f "$ac_dir/install.sh"; then
   2369     ac_aux_dir=$ac_dir
   2370     ac_install_sh="$ac_aux_dir/install.sh -c"
   2371     break
   2372   elif test -f "$ac_dir/shtool"; then
   2373     ac_aux_dir=$ac_dir
   2374     ac_install_sh="$ac_aux_dir/shtool install -c"
   2375     break
   2376   fi
   2377 done
   2378 if test -z "$ac_aux_dir"; then
   2379   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2380 fi
   2381 
   2382 # These three variables are undocumented and unsupported,
   2383 # and are intended to be withdrawn in a future Autoconf release.
   2384 # They can cause serious problems if a builder's source tree is in a directory
   2385 # whose full name contains unusual characters.
   2386 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2387 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2388 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2389 
   2390 
   2391 # Find a good install program.  We prefer a C program (faster),
   2392 # so one script is as good as another.  But avoid the broken or
   2393 # incompatible versions:
   2394 # SysV /etc/install, /usr/sbin/install
   2395 # SunOS /usr/etc/install
   2396 # IRIX /sbin/install
   2397 # AIX /bin/install
   2398 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2399 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2400 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2401 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2402 # OS/2's system install, which has a completely different semantic
   2403 # ./install, which can be erroneously created by make from ./install.sh.
   2404 # Reject install programs that cannot install multiple files.
   2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2406 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2407 if test -z "$INSTALL"; then
   2408 if ${ac_cv_path_install+:} false; then :
   2409   $as_echo_n "(cached) " >&6
   2410 else
   2411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2412 for as_dir in $PATH
   2413 do
   2414   IFS=$as_save_IFS
   2415   test -z "$as_dir" && as_dir=.
   2416     # Account for people who put trailing slashes in PATH elements.
   2417 case $as_dir/ in #((
   2418   ./ | .// | /[cC]/* | \
   2419   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2420   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2421   /usr/ucb/* ) ;;
   2422   *)
   2423     # OSF1 and SCO ODT 3.0 have their own names for install.
   2424     # Don't use installbsd from OSF since it installs stuff as root
   2425     # by default.
   2426     for ac_prog in ginstall scoinst install; do
   2427       for ac_exec_ext in '' $ac_executable_extensions; do
   2428 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2429 	  if test $ac_prog = install &&
   2430 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2431 	    # AIX install.  It has an incompatible calling convention.
   2432 	    :
   2433 	  elif test $ac_prog = install &&
   2434 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2435 	    # program-specific install script used by HP pwplus--don't use.
   2436 	    :
   2437 	  else
   2438 	    rm -rf conftest.one conftest.two conftest.dir
   2439 	    echo one > conftest.one
   2440 	    echo two > conftest.two
   2441 	    mkdir conftest.dir
   2442 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2443 	      test -s conftest.one && test -s conftest.two &&
   2444 	      test -s conftest.dir/conftest.one &&
   2445 	      test -s conftest.dir/conftest.two
   2446 	    then
   2447 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2448 	      break 3
   2449 	    fi
   2450 	  fi
   2451 	fi
   2452       done
   2453     done
   2454     ;;
   2455 esac
   2456 
   2457   done
   2458 IFS=$as_save_IFS
   2459 
   2460 rm -rf conftest.one conftest.two conftest.dir
   2461 
   2462 fi
   2463   if test "${ac_cv_path_install+set}" = set; then
   2464     INSTALL=$ac_cv_path_install
   2465   else
   2466     # As a last resort, use the slow shell script.  Don't cache a
   2467     # value for INSTALL within a source directory, because that will
   2468     # break other packages using the cache if that directory is
   2469     # removed, or if the value is a relative name.
   2470     INSTALL=$ac_install_sh
   2471   fi
   2472 fi
   2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2474 $as_echo "$INSTALL" >&6; }
   2475 
   2476 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2477 # It thinks the first close brace ends the variable substitution.
   2478 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2479 
   2480 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2481 
   2482 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2483 
   2484 # Expand $ac_aux_dir to an absolute path.
   2485 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2486 
   2487 ac_ext=c
   2488 ac_cpp='$CPP $CPPFLAGS'
   2489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2492 if test -n "$ac_tool_prefix"; then
   2493   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2494 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2496 $as_echo_n "checking for $ac_word... " >&6; }
   2497 if ${ac_cv_prog_CC+:} false; then :
   2498   $as_echo_n "(cached) " >&6
   2499 else
   2500   if test -n "$CC"; then
   2501   ac_cv_prog_CC="$CC" # Let the user override the test.
   2502 else
   2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2504 for as_dir in $PATH
   2505 do
   2506   IFS=$as_save_IFS
   2507   test -z "$as_dir" && as_dir=.
   2508     for ac_exec_ext in '' $ac_executable_extensions; do
   2509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2510     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2512     break 2
   2513   fi
   2514 done
   2515   done
   2516 IFS=$as_save_IFS
   2517 
   2518 fi
   2519 fi
   2520 CC=$ac_cv_prog_CC
   2521 if test -n "$CC"; then
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2523 $as_echo "$CC" >&6; }
   2524 else
   2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2526 $as_echo "no" >&6; }
   2527 fi
   2528 
   2529 
   2530 fi
   2531 if test -z "$ac_cv_prog_CC"; then
   2532   ac_ct_CC=$CC
   2533   # Extract the first word of "gcc", so it can be a program name with args.
   2534 set dummy gcc; ac_word=$2
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2536 $as_echo_n "checking for $ac_word... " >&6; }
   2537 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2538   $as_echo_n "(cached) " >&6
   2539 else
   2540   if test -n "$ac_ct_CC"; then
   2541   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2542 else
   2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2544 for as_dir in $PATH
   2545 do
   2546   IFS=$as_save_IFS
   2547   test -z "$as_dir" && as_dir=.
   2548     for ac_exec_ext in '' $ac_executable_extensions; do
   2549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2550     ac_cv_prog_ac_ct_CC="gcc"
   2551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2552     break 2
   2553   fi
   2554 done
   2555   done
   2556 IFS=$as_save_IFS
   2557 
   2558 fi
   2559 fi
   2560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2561 if test -n "$ac_ct_CC"; then
   2562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2563 $as_echo "$ac_ct_CC" >&6; }
   2564 else
   2565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2566 $as_echo "no" >&6; }
   2567 fi
   2568 
   2569   if test "x$ac_ct_CC" = x; then
   2570     CC=""
   2571   else
   2572     case $cross_compiling:$ac_tool_warned in
   2573 yes:)
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2576 ac_tool_warned=yes ;;
   2577 esac
   2578     CC=$ac_ct_CC
   2579   fi
   2580 else
   2581   CC="$ac_cv_prog_CC"
   2582 fi
   2583 
   2584 if test -z "$CC"; then
   2585           if test -n "$ac_tool_prefix"; then
   2586     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2587 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2589 $as_echo_n "checking for $ac_word... " >&6; }
   2590 if ${ac_cv_prog_CC+:} false; then :
   2591   $as_echo_n "(cached) " >&6
   2592 else
   2593   if test -n "$CC"; then
   2594   ac_cv_prog_CC="$CC" # Let the user override the test.
   2595 else
   2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2597 for as_dir in $PATH
   2598 do
   2599   IFS=$as_save_IFS
   2600   test -z "$as_dir" && as_dir=.
   2601     for ac_exec_ext in '' $ac_executable_extensions; do
   2602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2603     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2605     break 2
   2606   fi
   2607 done
   2608   done
   2609 IFS=$as_save_IFS
   2610 
   2611 fi
   2612 fi
   2613 CC=$ac_cv_prog_CC
   2614 if test -n "$CC"; then
   2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2616 $as_echo "$CC" >&6; }
   2617 else
   2618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2619 $as_echo "no" >&6; }
   2620 fi
   2621 
   2622 
   2623   fi
   2624 fi
   2625 if test -z "$CC"; then
   2626   # Extract the first word of "cc", so it can be a program name with args.
   2627 set dummy cc; ac_word=$2
   2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2629 $as_echo_n "checking for $ac_word... " >&6; }
   2630 if ${ac_cv_prog_CC+:} false; then :
   2631   $as_echo_n "(cached) " >&6
   2632 else
   2633   if test -n "$CC"; then
   2634   ac_cv_prog_CC="$CC" # Let the user override the test.
   2635 else
   2636   ac_prog_rejected=no
   2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2638 for as_dir in $PATH
   2639 do
   2640   IFS=$as_save_IFS
   2641   test -z "$as_dir" && as_dir=.
   2642     for ac_exec_ext in '' $ac_executable_extensions; do
   2643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2644     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2645        ac_prog_rejected=yes
   2646        continue
   2647      fi
   2648     ac_cv_prog_CC="cc"
   2649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2650     break 2
   2651   fi
   2652 done
   2653   done
   2654 IFS=$as_save_IFS
   2655 
   2656 if test $ac_prog_rejected = yes; then
   2657   # We found a bogon in the path, so make sure we never use it.
   2658   set dummy $ac_cv_prog_CC
   2659   shift
   2660   if test $# != 0; then
   2661     # We chose a different compiler from the bogus one.
   2662     # However, it has the same basename, so the bogon will be chosen
   2663     # first if we set CC to just the basename; use the full file name.
   2664     shift
   2665     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2666   fi
   2667 fi
   2668 fi
   2669 fi
   2670 CC=$ac_cv_prog_CC
   2671 if test -n "$CC"; then
   2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2673 $as_echo "$CC" >&6; }
   2674 else
   2675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2676 $as_echo "no" >&6; }
   2677 fi
   2678 
   2679 
   2680 fi
   2681 if test -z "$CC"; then
   2682   if test -n "$ac_tool_prefix"; then
   2683   for ac_prog in cl.exe
   2684   do
   2685     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2688 $as_echo_n "checking for $ac_word... " >&6; }
   2689 if ${ac_cv_prog_CC+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   if test -n "$CC"; then
   2693   ac_cv_prog_CC="$CC" # Let the user override the test.
   2694 else
   2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH
   2697 do
   2698   IFS=$as_save_IFS
   2699   test -z "$as_dir" && as_dir=.
   2700     for ac_exec_ext in '' $ac_executable_extensions; do
   2701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2702     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2704     break 2
   2705   fi
   2706 done
   2707   done
   2708 IFS=$as_save_IFS
   2709 
   2710 fi
   2711 fi
   2712 CC=$ac_cv_prog_CC
   2713 if test -n "$CC"; then
   2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2715 $as_echo "$CC" >&6; }
   2716 else
   2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2718 $as_echo "no" >&6; }
   2719 fi
   2720 
   2721 
   2722     test -n "$CC" && break
   2723   done
   2724 fi
   2725 if test -z "$CC"; then
   2726   ac_ct_CC=$CC
   2727   for ac_prog in cl.exe
   2728 do
   2729   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2730 set dummy $ac_prog; ac_word=$2
   2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2732 $as_echo_n "checking for $ac_word... " >&6; }
   2733 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2734   $as_echo_n "(cached) " >&6
   2735 else
   2736   if test -n "$ac_ct_CC"; then
   2737   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2738 else
   2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2740 for as_dir in $PATH
   2741 do
   2742   IFS=$as_save_IFS
   2743   test -z "$as_dir" && as_dir=.
   2744     for ac_exec_ext in '' $ac_executable_extensions; do
   2745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2746     ac_cv_prog_ac_ct_CC="$ac_prog"
   2747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2748     break 2
   2749   fi
   2750 done
   2751   done
   2752 IFS=$as_save_IFS
   2753 
   2754 fi
   2755 fi
   2756 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2757 if test -n "$ac_ct_CC"; then
   2758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2759 $as_echo "$ac_ct_CC" >&6; }
   2760 else
   2761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2762 $as_echo "no" >&6; }
   2763 fi
   2764 
   2765 
   2766   test -n "$ac_ct_CC" && break
   2767 done
   2768 
   2769   if test "x$ac_ct_CC" = x; then
   2770     CC=""
   2771   else
   2772     case $cross_compiling:$ac_tool_warned in
   2773 yes:)
   2774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2776 ac_tool_warned=yes ;;
   2777 esac
   2778     CC=$ac_ct_CC
   2779   fi
   2780 fi
   2781 
   2782 fi
   2783 
   2784 
   2785 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2787 as_fn_error $? "no acceptable C compiler found in \$PATH
   2788 See \`config.log' for more details" "$LINENO" 5; }
   2789 
   2790 # Provide some information about the compiler.
   2791 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2792 set X $ac_compile
   2793 ac_compiler=$2
   2794 for ac_option in --version -v -V -qversion; do
   2795   { { ac_try="$ac_compiler $ac_option >&5"
   2796 case "(($ac_try" in
   2797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2798   *) ac_try_echo=$ac_try;;
   2799 esac
   2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2801 $as_echo "$ac_try_echo"; } >&5
   2802   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2803   ac_status=$?
   2804   if test -s conftest.err; then
   2805     sed '10a\
   2806 ... rest of stderr output deleted ...
   2807          10q' conftest.err >conftest.er1
   2808     cat conftest.er1 >&5
   2809   fi
   2810   rm -f conftest.er1 conftest.err
   2811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2812   test $ac_status = 0; }
   2813 done
   2814 
   2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2816 /* end confdefs.h.  */
   2817 
   2818 int
   2819 main ()
   2820 {
   2821 
   2822   ;
   2823   return 0;
   2824 }
   2825 _ACEOF
   2826 ac_clean_files_save=$ac_clean_files
   2827 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2828 # Try to create an executable without -o first, disregard a.out.
   2829 # It will help us diagnose broken compilers, and finding out an intuition
   2830 # of exeext.
   2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2832 $as_echo_n "checking whether the C compiler works... " >&6; }
   2833 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2834 
   2835 # The possible output files:
   2836 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2837 
   2838 ac_rmfiles=
   2839 for ac_file in $ac_files
   2840 do
   2841   case $ac_file in
   2842     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2843     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2844   esac
   2845 done
   2846 rm -f $ac_rmfiles
   2847 
   2848 if { { ac_try="$ac_link_default"
   2849 case "(($ac_try" in
   2850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2851   *) ac_try_echo=$ac_try;;
   2852 esac
   2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2854 $as_echo "$ac_try_echo"; } >&5
   2855   (eval "$ac_link_default") 2>&5
   2856   ac_status=$?
   2857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2858   test $ac_status = 0; }; then :
   2859   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2860 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2861 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2862 # so that the user can short-circuit this test for compilers unknown to
   2863 # Autoconf.
   2864 for ac_file in $ac_files ''
   2865 do
   2866   test -f "$ac_file" || continue
   2867   case $ac_file in
   2868     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2869 	;;
   2870     [ab].out )
   2871 	# We found the default executable, but exeext='' is most
   2872 	# certainly right.
   2873 	break;;
   2874     *.* )
   2875 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2876 	then :; else
   2877 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2878 	fi
   2879 	# We set ac_cv_exeext here because the later test for it is not
   2880 	# safe: cross compilers may not add the suffix if given an `-o'
   2881 	# argument, so we may need to know it at that point already.
   2882 	# Even if this section looks crufty: it has the advantage of
   2883 	# actually working.
   2884 	break;;
   2885     * )
   2886 	break;;
   2887   esac
   2888 done
   2889 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2890 
   2891 else
   2892   ac_file=''
   2893 fi
   2894 if test -z "$ac_file"; then :
   2895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2896 $as_echo "no" >&6; }
   2897 $as_echo "$as_me: failed program was:" >&5
   2898 sed 's/^/| /' conftest.$ac_ext >&5
   2899 
   2900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2902 as_fn_error 77 "C compiler cannot create executables
   2903 See \`config.log' for more details" "$LINENO" 5; }
   2904 else
   2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2906 $as_echo "yes" >&6; }
   2907 fi
   2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2909 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2911 $as_echo "$ac_file" >&6; }
   2912 ac_exeext=$ac_cv_exeext
   2913 
   2914 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2915 ac_clean_files=$ac_clean_files_save
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2917 $as_echo_n "checking for suffix of executables... " >&6; }
   2918 if { { ac_try="$ac_link"
   2919 case "(($ac_try" in
   2920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2921   *) ac_try_echo=$ac_try;;
   2922 esac
   2923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2924 $as_echo "$ac_try_echo"; } >&5
   2925   (eval "$ac_link") 2>&5
   2926   ac_status=$?
   2927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2928   test $ac_status = 0; }; then :
   2929   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2930 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2931 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2932 # `rm'.
   2933 for ac_file in conftest.exe conftest conftest.*; do
   2934   test -f "$ac_file" || continue
   2935   case $ac_file in
   2936     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2937     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2938 	  break;;
   2939     * ) break;;
   2940   esac
   2941 done
   2942 else
   2943   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2945 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2946 See \`config.log' for more details" "$LINENO" 5; }
   2947 fi
   2948 rm -f conftest conftest$ac_cv_exeext
   2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2950 $as_echo "$ac_cv_exeext" >&6; }
   2951 
   2952 rm -f conftest.$ac_ext
   2953 EXEEXT=$ac_cv_exeext
   2954 ac_exeext=$EXEEXT
   2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2956 /* end confdefs.h.  */
   2957 #include <stdio.h>
   2958 int
   2959 main ()
   2960 {
   2961 FILE *f = fopen ("conftest.out", "w");
   2962  return ferror (f) || fclose (f) != 0;
   2963 
   2964   ;
   2965   return 0;
   2966 }
   2967 _ACEOF
   2968 ac_clean_files="$ac_clean_files conftest.out"
   2969 # Check that the compiler produces executables we can run.  If not, either
   2970 # the compiler is broken, or we cross compile.
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2972 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2973 if test "$cross_compiling" != yes; then
   2974   { { ac_try="$ac_link"
   2975 case "(($ac_try" in
   2976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2977   *) ac_try_echo=$ac_try;;
   2978 esac
   2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2980 $as_echo "$ac_try_echo"; } >&5
   2981   (eval "$ac_link") 2>&5
   2982   ac_status=$?
   2983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2984   test $ac_status = 0; }
   2985   if { ac_try='./conftest$ac_cv_exeext'
   2986   { { case "(($ac_try" in
   2987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2988   *) ac_try_echo=$ac_try;;
   2989 esac
   2990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2991 $as_echo "$ac_try_echo"; } >&5
   2992   (eval "$ac_try") 2>&5
   2993   ac_status=$?
   2994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2995   test $ac_status = 0; }; }; then
   2996     cross_compiling=no
   2997   else
   2998     if test "$cross_compiling" = maybe; then
   2999 	cross_compiling=yes
   3000     else
   3001 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3003 as_fn_error $? "cannot run C compiled programs.
   3004 If you meant to cross compile, use \`--host'.
   3005 See \`config.log' for more details" "$LINENO" 5; }
   3006     fi
   3007   fi
   3008 fi
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3010 $as_echo "$cross_compiling" >&6; }
   3011 
   3012 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3013 ac_clean_files=$ac_clean_files_save
   3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3015 $as_echo_n "checking for suffix of object files... " >&6; }
   3016 if ${ac_cv_objext+:} false; then :
   3017   $as_echo_n "(cached) " >&6
   3018 else
   3019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3020 /* end confdefs.h.  */
   3021 
   3022 int
   3023 main ()
   3024 {
   3025 
   3026   ;
   3027   return 0;
   3028 }
   3029 _ACEOF
   3030 rm -f conftest.o conftest.obj
   3031 if { { ac_try="$ac_compile"
   3032 case "(($ac_try" in
   3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3034   *) ac_try_echo=$ac_try;;
   3035 esac
   3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3037 $as_echo "$ac_try_echo"; } >&5
   3038   (eval "$ac_compile") 2>&5
   3039   ac_status=$?
   3040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3041   test $ac_status = 0; }; then :
   3042   for ac_file in conftest.o conftest.obj conftest.*; do
   3043   test -f "$ac_file" || continue;
   3044   case $ac_file in
   3045     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3046     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3047        break;;
   3048   esac
   3049 done
   3050 else
   3051   $as_echo "$as_me: failed program was:" >&5
   3052 sed 's/^/| /' conftest.$ac_ext >&5
   3053 
   3054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3056 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3057 See \`config.log' for more details" "$LINENO" 5; }
   3058 fi
   3059 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3060 fi
   3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3062 $as_echo "$ac_cv_objext" >&6; }
   3063 OBJEXT=$ac_cv_objext
   3064 ac_objext=$OBJEXT
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3066 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3067 if ${ac_cv_c_compiler_gnu+:} false; then :
   3068   $as_echo_n "(cached) " >&6
   3069 else
   3070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3071 /* end confdefs.h.  */
   3072 
   3073 int
   3074 main ()
   3075 {
   3076 #ifndef __GNUC__
   3077        choke me
   3078 #endif
   3079 
   3080   ;
   3081   return 0;
   3082 }
   3083 _ACEOF
   3084 if ac_fn_c_try_compile "$LINENO"; then :
   3085   ac_compiler_gnu=yes
   3086 else
   3087   ac_compiler_gnu=no
   3088 fi
   3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3090 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3091 
   3092 fi
   3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3094 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3095 if test $ac_compiler_gnu = yes; then
   3096   GCC=yes
   3097 else
   3098   GCC=
   3099 fi
   3100 ac_test_CFLAGS=${CFLAGS+set}
   3101 ac_save_CFLAGS=$CFLAGS
   3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3103 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3104 if ${ac_cv_prog_cc_g+:} false; then :
   3105   $as_echo_n "(cached) " >&6
   3106 else
   3107   ac_save_c_werror_flag=$ac_c_werror_flag
   3108    ac_c_werror_flag=yes
   3109    ac_cv_prog_cc_g=no
   3110    CFLAGS="-g"
   3111    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3112 /* end confdefs.h.  */
   3113 
   3114 int
   3115 main ()
   3116 {
   3117 
   3118   ;
   3119   return 0;
   3120 }
   3121 _ACEOF
   3122 if ac_fn_c_try_compile "$LINENO"; then :
   3123   ac_cv_prog_cc_g=yes
   3124 else
   3125   CFLAGS=""
   3126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3127 /* end confdefs.h.  */
   3128 
   3129 int
   3130 main ()
   3131 {
   3132 
   3133   ;
   3134   return 0;
   3135 }
   3136 _ACEOF
   3137 if ac_fn_c_try_compile "$LINENO"; then :
   3138 
   3139 else
   3140   ac_c_werror_flag=$ac_save_c_werror_flag
   3141 	 CFLAGS="-g"
   3142 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3143 /* end confdefs.h.  */
   3144 
   3145 int
   3146 main ()
   3147 {
   3148 
   3149   ;
   3150   return 0;
   3151 }
   3152 _ACEOF
   3153 if ac_fn_c_try_compile "$LINENO"; then :
   3154   ac_cv_prog_cc_g=yes
   3155 fi
   3156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3157 fi
   3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3159 fi
   3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3161    ac_c_werror_flag=$ac_save_c_werror_flag
   3162 fi
   3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3164 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3165 if test "$ac_test_CFLAGS" = set; then
   3166   CFLAGS=$ac_save_CFLAGS
   3167 elif test $ac_cv_prog_cc_g = yes; then
   3168   if test "$GCC" = yes; then
   3169     CFLAGS="-g -O2"
   3170   else
   3171     CFLAGS="-g"
   3172   fi
   3173 else
   3174   if test "$GCC" = yes; then
   3175     CFLAGS="-O2"
   3176   else
   3177     CFLAGS=
   3178   fi
   3179 fi
   3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3181 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3182 if ${ac_cv_prog_cc_c89+:} false; then :
   3183   $as_echo_n "(cached) " >&6
   3184 else
   3185   ac_cv_prog_cc_c89=no
   3186 ac_save_CC=$CC
   3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3188 /* end confdefs.h.  */
   3189 #include <stdarg.h>
   3190 #include <stdio.h>
   3191 struct stat;
   3192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3193 struct buf { int x; };
   3194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3195 static char *e (p, i)
   3196      char **p;
   3197      int i;
   3198 {
   3199   return p[i];
   3200 }
   3201 static char *f (char * (*g) (char **, int), char **p, ...)
   3202 {
   3203   char *s;
   3204   va_list v;
   3205   va_start (v,p);
   3206   s = g (p, va_arg (v,int));
   3207   va_end (v);
   3208   return s;
   3209 }
   3210 
   3211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3212    function prototypes and stuff, but not '\xHH' hex character constants.
   3213    These don't provoke an error unfortunately, instead are silently treated
   3214    as 'x'.  The following induces an error, until -std is added to get
   3215    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3216    array size at least.  It's necessary to write '\x00'==0 to get something
   3217    that's true only with -std.  */
   3218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3219 
   3220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3221    inside strings and character constants.  */
   3222 #define FOO(x) 'x'
   3223 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3224 
   3225 int test (int i, double x);
   3226 struct s1 {int (*f) (int a);};
   3227 struct s2 {int (*f) (double a);};
   3228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3229 int argc;
   3230 char **argv;
   3231 int
   3232 main ()
   3233 {
   3234 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3235   ;
   3236   return 0;
   3237 }
   3238 _ACEOF
   3239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3240 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3241 do
   3242   CC="$ac_save_CC $ac_arg"
   3243   if ac_fn_c_try_compile "$LINENO"; then :
   3244   ac_cv_prog_cc_c89=$ac_arg
   3245 fi
   3246 rm -f core conftest.err conftest.$ac_objext
   3247   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3248 done
   3249 rm -f conftest.$ac_ext
   3250 CC=$ac_save_CC
   3251 
   3252 fi
   3253 # AC_CACHE_VAL
   3254 case "x$ac_cv_prog_cc_c89" in
   3255   x)
   3256     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3257 $as_echo "none needed" >&6; } ;;
   3258   xno)
   3259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3260 $as_echo "unsupported" >&6; } ;;
   3261   *)
   3262     CC="$CC $ac_cv_prog_cc_c89"
   3263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3264 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3265 esac
   3266 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3267 
   3268 fi
   3269 
   3270 ac_ext=c
   3271 ac_cpp='$CPP $CPPFLAGS'
   3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3275 
   3276 ac_ext=c
   3277 ac_cpp='$CPP $CPPFLAGS'
   3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3282 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3283 if ${am_cv_prog_cc_c_o+:} false; then :
   3284   $as_echo_n "(cached) " >&6
   3285 else
   3286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3287 /* end confdefs.h.  */
   3288 
   3289 int
   3290 main ()
   3291 {
   3292 
   3293   ;
   3294   return 0;
   3295 }
   3296 _ACEOF
   3297   # Make sure it works both with $CC and with simple cc.
   3298   # Following AC_PROG_CC_C_O, we do the test twice because some
   3299   # compilers refuse to overwrite an existing .o file with -o,
   3300   # though they will create one.
   3301   am_cv_prog_cc_c_o=yes
   3302   for am_i in 1 2; do
   3303     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3304    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3305    ac_status=$?
   3306    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3307    (exit $ac_status); } \
   3308          && test -f conftest2.$ac_objext; then
   3309       : OK
   3310     else
   3311       am_cv_prog_cc_c_o=no
   3312       break
   3313     fi
   3314   done
   3315   rm -f core conftest*
   3316   unset am_i
   3317 fi
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3319 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3320 if test "$am_cv_prog_cc_c_o" != yes; then
   3321    # Losing compiler, so override with the script.
   3322    # FIXME: It is wrong to rewrite CC.
   3323    # But if we don't then we get into trouble of one sort or another.
   3324    # A longer-term fix would be to have automake use am__CC in this case,
   3325    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3326    CC="$am_aux_dir/compile $CC"
   3327 fi
   3328 ac_ext=c
   3329 ac_cpp='$CPP $CPPFLAGS'
   3330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3333 
   3334 
   3335    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3336 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3337 if ${ac_cv_prog_cc_c99+:} false; then :
   3338   $as_echo_n "(cached) " >&6
   3339 else
   3340   ac_cv_prog_cc_c99=no
   3341 ac_save_CC=$CC
   3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3343 /* end confdefs.h.  */
   3344 #include <stdarg.h>
   3345 #include <stdbool.h>
   3346 #include <stdlib.h>
   3347 #include <wchar.h>
   3348 #include <stdio.h>
   3349 
   3350 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3351 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3352 #define showlist(...) puts (#__VA_ARGS__)
   3353 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3354 static void
   3355 test_varargs_macros (void)
   3356 {
   3357   int x = 1234;
   3358   int y = 5678;
   3359   debug ("Flag");
   3360   debug ("X = %d\n", x);
   3361   showlist (The first, second, and third items.);
   3362   report (x>y, "x is %d but y is %d", x, y);
   3363 }
   3364 
   3365 // Check long long types.
   3366 #define BIG64 18446744073709551615ull
   3367 #define BIG32 4294967295ul
   3368 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3369 #if !BIG_OK
   3370   your preprocessor is broken;
   3371 #endif
   3372 #if BIG_OK
   3373 #else
   3374   your preprocessor is broken;
   3375 #endif
   3376 static long long int bignum = -9223372036854775807LL;
   3377 static unsigned long long int ubignum = BIG64;
   3378 
   3379 struct incomplete_array
   3380 {
   3381   int datasize;
   3382   double data[];
   3383 };
   3384 
   3385 struct named_init {
   3386   int number;
   3387   const wchar_t *name;
   3388   double average;
   3389 };
   3390 
   3391 typedef const char *ccp;
   3392 
   3393 static inline int
   3394 test_restrict (ccp restrict text)
   3395 {
   3396   // See if C++-style comments work.
   3397   // Iterate through items via the restricted pointer.
   3398   // Also check for declarations in for loops.
   3399   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3400     continue;
   3401   return 0;
   3402 }
   3403 
   3404 // Check varargs and va_copy.
   3405 static void
   3406 test_varargs (const char *format, ...)
   3407 {
   3408   va_list args;
   3409   va_start (args, format);
   3410   va_list args_copy;
   3411   va_copy (args_copy, args);
   3412 
   3413   const char *str;
   3414   int number;
   3415   float fnumber;
   3416 
   3417   while (*format)
   3418     {
   3419       switch (*format++)
   3420 	{
   3421 	case 's': // string
   3422 	  str = va_arg (args_copy, const char *);
   3423 	  break;
   3424 	case 'd': // int
   3425 	  number = va_arg (args_copy, int);
   3426 	  break;
   3427 	case 'f': // float
   3428 	  fnumber = va_arg (args_copy, double);
   3429 	  break;
   3430 	default:
   3431 	  break;
   3432 	}
   3433     }
   3434   va_end (args_copy);
   3435   va_end (args);
   3436 }
   3437 
   3438 int
   3439 main ()
   3440 {
   3441 
   3442   // Check bool.
   3443   _Bool success = false;
   3444 
   3445   // Check restrict.
   3446   if (test_restrict ("String literal") == 0)
   3447     success = true;
   3448   char *restrict newvar = "Another string";
   3449 
   3450   // Check varargs.
   3451   test_varargs ("s, d' f .", "string", 65, 34.234);
   3452   test_varargs_macros ();
   3453 
   3454   // Check flexible array members.
   3455   struct incomplete_array *ia =
   3456     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3457   ia->datasize = 10;
   3458   for (int i = 0; i < ia->datasize; ++i)
   3459     ia->data[i] = i * 1.234;
   3460 
   3461   // Check named initializers.
   3462   struct named_init ni = {
   3463     .number = 34,
   3464     .name = L"Test wide string",
   3465     .average = 543.34343,
   3466   };
   3467 
   3468   ni.number = 58;
   3469 
   3470   int dynamic_array[ni.number];
   3471   dynamic_array[ni.number - 1] = 543;
   3472 
   3473   // work around unused variable warnings
   3474   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3475 	  || dynamic_array[ni.number - 1] != 543);
   3476 
   3477   ;
   3478   return 0;
   3479 }
   3480 _ACEOF
   3481 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3482 do
   3483   CC="$ac_save_CC $ac_arg"
   3484   if ac_fn_c_try_compile "$LINENO"; then :
   3485   ac_cv_prog_cc_c99=$ac_arg
   3486 fi
   3487 rm -f core conftest.err conftest.$ac_objext
   3488   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3489 done
   3490 rm -f conftest.$ac_ext
   3491 CC=$ac_save_CC
   3492 
   3493 fi
   3494 # AC_CACHE_VAL
   3495 case "x$ac_cv_prog_cc_c99" in
   3496   x)
   3497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3498 $as_echo "none needed" >&6; } ;;
   3499   xno)
   3500     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3501 $as_echo "unsupported" >&6; } ;;
   3502   *)
   3503     CC="$CC $ac_cv_prog_cc_c99"
   3504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3505 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3506 esac
   3507 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3508 
   3509 fi
   3510 
   3511 
   3512 
   3513 ac_ext=c
   3514 ac_cpp='$CPP $CPPFLAGS'
   3515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3519 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3520 # On Suns, sometimes $CPP names a directory.
   3521 if test -n "$CPP" && test -d "$CPP"; then
   3522   CPP=
   3523 fi
   3524 if test -z "$CPP"; then
   3525   if ${ac_cv_prog_CPP+:} false; then :
   3526   $as_echo_n "(cached) " >&6
   3527 else
   3528       # Double quotes because CPP needs to be expanded
   3529     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3530     do
   3531       ac_preproc_ok=false
   3532 for ac_c_preproc_warn_flag in '' yes
   3533 do
   3534   # Use a header file that comes with gcc, so configuring glibc
   3535   # with a fresh cross-compiler works.
   3536   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3537   # <limits.h> exists even on freestanding compilers.
   3538   # On the NeXT, cc -E runs the code through the compiler's parser,
   3539   # not just through cpp. "Syntax error" is here to catch this case.
   3540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 #ifdef __STDC__
   3543 # include <limits.h>
   3544 #else
   3545 # include <assert.h>
   3546 #endif
   3547 		     Syntax error
   3548 _ACEOF
   3549 if ac_fn_c_try_cpp "$LINENO"; then :
   3550 
   3551 else
   3552   # Broken: fails on valid input.
   3553 continue
   3554 fi
   3555 rm -f conftest.err conftest.i conftest.$ac_ext
   3556 
   3557   # OK, works on sane cases.  Now check whether nonexistent headers
   3558   # can be detected and how.
   3559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3560 /* end confdefs.h.  */
   3561 #include <ac_nonexistent.h>
   3562 _ACEOF
   3563 if ac_fn_c_try_cpp "$LINENO"; then :
   3564   # Broken: success on invalid input.
   3565 continue
   3566 else
   3567   # Passes both tests.
   3568 ac_preproc_ok=:
   3569 break
   3570 fi
   3571 rm -f conftest.err conftest.i conftest.$ac_ext
   3572 
   3573 done
   3574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3575 rm -f conftest.i conftest.err conftest.$ac_ext
   3576 if $ac_preproc_ok; then :
   3577   break
   3578 fi
   3579 
   3580     done
   3581     ac_cv_prog_CPP=$CPP
   3582 
   3583 fi
   3584   CPP=$ac_cv_prog_CPP
   3585 else
   3586   ac_cv_prog_CPP=$CPP
   3587 fi
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3589 $as_echo "$CPP" >&6; }
   3590 ac_preproc_ok=false
   3591 for ac_c_preproc_warn_flag in '' yes
   3592 do
   3593   # Use a header file that comes with gcc, so configuring glibc
   3594   # with a fresh cross-compiler works.
   3595   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3596   # <limits.h> exists even on freestanding compilers.
   3597   # On the NeXT, cc -E runs the code through the compiler's parser,
   3598   # not just through cpp. "Syntax error" is here to catch this case.
   3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3600 /* end confdefs.h.  */
   3601 #ifdef __STDC__
   3602 # include <limits.h>
   3603 #else
   3604 # include <assert.h>
   3605 #endif
   3606 		     Syntax error
   3607 _ACEOF
   3608 if ac_fn_c_try_cpp "$LINENO"; then :
   3609 
   3610 else
   3611   # Broken: fails on valid input.
   3612 continue
   3613 fi
   3614 rm -f conftest.err conftest.i conftest.$ac_ext
   3615 
   3616   # OK, works on sane cases.  Now check whether nonexistent headers
   3617   # can be detected and how.
   3618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3619 /* end confdefs.h.  */
   3620 #include <ac_nonexistent.h>
   3621 _ACEOF
   3622 if ac_fn_c_try_cpp "$LINENO"; then :
   3623   # Broken: success on invalid input.
   3624 continue
   3625 else
   3626   # Passes both tests.
   3627 ac_preproc_ok=:
   3628 break
   3629 fi
   3630 rm -f conftest.err conftest.i conftest.$ac_ext
   3631 
   3632 done
   3633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3634 rm -f conftest.i conftest.err conftest.$ac_ext
   3635 if $ac_preproc_ok; then :
   3636 
   3637 else
   3638   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3640 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3641 See \`config.log' for more details" "$LINENO" 5; }
   3642 fi
   3643 
   3644 ac_ext=c
   3645 ac_cpp='$CPP $CPPFLAGS'
   3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3649 
   3650 
   3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3652 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3653 if ${ac_cv_path_GREP+:} false; then :
   3654   $as_echo_n "(cached) " >&6
   3655 else
   3656   if test -z "$GREP"; then
   3657   ac_path_GREP_found=false
   3658   # Loop through the user's path and test for each of PROGNAME-LIST
   3659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3660 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3661 do
   3662   IFS=$as_save_IFS
   3663   test -z "$as_dir" && as_dir=.
   3664     for ac_prog in grep ggrep; do
   3665     for ac_exec_ext in '' $ac_executable_extensions; do
   3666       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3667       as_fn_executable_p "$ac_path_GREP" || continue
   3668 # Check for GNU ac_path_GREP and select it if it is found.
   3669   # Check for GNU $ac_path_GREP
   3670 case `"$ac_path_GREP" --version 2>&1` in
   3671 *GNU*)
   3672   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3673 *)
   3674   ac_count=0
   3675   $as_echo_n 0123456789 >"conftest.in"
   3676   while :
   3677   do
   3678     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3679     mv "conftest.tmp" "conftest.in"
   3680     cp "conftest.in" "conftest.nl"
   3681     $as_echo 'GREP' >> "conftest.nl"
   3682     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3683     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3684     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3685     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3686       # Best one so far, save it but keep looking for a better one
   3687       ac_cv_path_GREP="$ac_path_GREP"
   3688       ac_path_GREP_max=$ac_count
   3689     fi
   3690     # 10*(2^10) chars as input seems more than enough
   3691     test $ac_count -gt 10 && break
   3692   done
   3693   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3694 esac
   3695 
   3696       $ac_path_GREP_found && break 3
   3697     done
   3698   done
   3699   done
   3700 IFS=$as_save_IFS
   3701   if test -z "$ac_cv_path_GREP"; then
   3702     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3703   fi
   3704 else
   3705   ac_cv_path_GREP=$GREP
   3706 fi
   3707 
   3708 fi
   3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3710 $as_echo "$ac_cv_path_GREP" >&6; }
   3711  GREP="$ac_cv_path_GREP"
   3712 
   3713 
   3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3715 $as_echo_n "checking for egrep... " >&6; }
   3716 if ${ac_cv_path_EGREP+:} false; then :
   3717   $as_echo_n "(cached) " >&6
   3718 else
   3719   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3720    then ac_cv_path_EGREP="$GREP -E"
   3721    else
   3722      if test -z "$EGREP"; then
   3723   ac_path_EGREP_found=false
   3724   # Loop through the user's path and test for each of PROGNAME-LIST
   3725   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3727 do
   3728   IFS=$as_save_IFS
   3729   test -z "$as_dir" && as_dir=.
   3730     for ac_prog in egrep; do
   3731     for ac_exec_ext in '' $ac_executable_extensions; do
   3732       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3733       as_fn_executable_p "$ac_path_EGREP" || continue
   3734 # Check for GNU ac_path_EGREP and select it if it is found.
   3735   # Check for GNU $ac_path_EGREP
   3736 case `"$ac_path_EGREP" --version 2>&1` in
   3737 *GNU*)
   3738   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3739 *)
   3740   ac_count=0
   3741   $as_echo_n 0123456789 >"conftest.in"
   3742   while :
   3743   do
   3744     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3745     mv "conftest.tmp" "conftest.in"
   3746     cp "conftest.in" "conftest.nl"
   3747     $as_echo 'EGREP' >> "conftest.nl"
   3748     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3749     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3750     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3751     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3752       # Best one so far, save it but keep looking for a better one
   3753       ac_cv_path_EGREP="$ac_path_EGREP"
   3754       ac_path_EGREP_max=$ac_count
   3755     fi
   3756     # 10*(2^10) chars as input seems more than enough
   3757     test $ac_count -gt 10 && break
   3758   done
   3759   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3760 esac
   3761 
   3762       $ac_path_EGREP_found && break 3
   3763     done
   3764   done
   3765   done
   3766 IFS=$as_save_IFS
   3767   if test -z "$ac_cv_path_EGREP"; then
   3768     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3769   fi
   3770 else
   3771   ac_cv_path_EGREP=$EGREP
   3772 fi
   3773 
   3774    fi
   3775 fi
   3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3777 $as_echo "$ac_cv_path_EGREP" >&6; }
   3778  EGREP="$ac_cv_path_EGREP"
   3779 
   3780 
   3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3782 $as_echo_n "checking for ANSI C header files... " >&6; }
   3783 if ${ac_cv_header_stdc+:} false; then :
   3784   $as_echo_n "(cached) " >&6
   3785 else
   3786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3787 /* end confdefs.h.  */
   3788 #include <stdlib.h>
   3789 #include <stdarg.h>
   3790 #include <string.h>
   3791 #include <float.h>
   3792 
   3793 int
   3794 main ()
   3795 {
   3796 
   3797   ;
   3798   return 0;
   3799 }
   3800 _ACEOF
   3801 if ac_fn_c_try_compile "$LINENO"; then :
   3802   ac_cv_header_stdc=yes
   3803 else
   3804   ac_cv_header_stdc=no
   3805 fi
   3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3807 
   3808 if test $ac_cv_header_stdc = yes; then
   3809   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3811 /* end confdefs.h.  */
   3812 #include <string.h>
   3813 
   3814 _ACEOF
   3815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3816   $EGREP "memchr" >/dev/null 2>&1; then :
   3817 
   3818 else
   3819   ac_cv_header_stdc=no
   3820 fi
   3821 rm -f conftest*
   3822 
   3823 fi
   3824 
   3825 if test $ac_cv_header_stdc = yes; then
   3826   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3828 /* end confdefs.h.  */
   3829 #include <stdlib.h>
   3830 
   3831 _ACEOF
   3832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3833   $EGREP "free" >/dev/null 2>&1; then :
   3834 
   3835 else
   3836   ac_cv_header_stdc=no
   3837 fi
   3838 rm -f conftest*
   3839 
   3840 fi
   3841 
   3842 if test $ac_cv_header_stdc = yes; then
   3843   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3844   if test "$cross_compiling" = yes; then :
   3845   :
   3846 else
   3847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3848 /* end confdefs.h.  */
   3849 #include <ctype.h>
   3850 #include <stdlib.h>
   3851 #if ((' ' & 0x0FF) == 0x020)
   3852 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3853 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3854 #else
   3855 # define ISLOWER(c) \
   3856 		   (('a' <= (c) && (c) <= 'i') \
   3857 		     || ('j' <= (c) && (c) <= 'r') \
   3858 		     || ('s' <= (c) && (c) <= 'z'))
   3859 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3860 #endif
   3861 
   3862 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3863 int
   3864 main ()
   3865 {
   3866   int i;
   3867   for (i = 0; i < 256; i++)
   3868     if (XOR (islower (i), ISLOWER (i))
   3869 	|| toupper (i) != TOUPPER (i))
   3870       return 2;
   3871   return 0;
   3872 }
   3873 _ACEOF
   3874 if ac_fn_c_try_run "$LINENO"; then :
   3875 
   3876 else
   3877   ac_cv_header_stdc=no
   3878 fi
   3879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3880   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3881 fi
   3882 
   3883 fi
   3884 fi
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3886 $as_echo "$ac_cv_header_stdc" >&6; }
   3887 if test $ac_cv_header_stdc = yes; then
   3888 
   3889 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3890 
   3891 fi
   3892 
   3893 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3894 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3895 		  inttypes.h stdint.h unistd.h
   3896 do :
   3897   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3898 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3899 "
   3900 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3901   cat >>confdefs.h <<_ACEOF
   3902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3903 _ACEOF
   3904 
   3905 fi
   3906 
   3907 done
   3908 
   3909 
   3910 
   3911 
   3912 
   3913 
   3914 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   3915 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   3916   CLANGCC="yes"
   3917 else
   3918   CLANGCC="no"
   3919 fi
   3920 
   3921 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   3922 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   3923   INTELCC="yes"
   3924 else
   3925   INTELCC="no"
   3926 fi
   3927 
   3928 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   3929 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   3930   SUNCC="yes"
   3931 else
   3932   SUNCC="no"
   3933 fi
   3934 
   3935 
   3936 
   3937 
   3938 
   3939 
   3940 
   3941 
   3942 
   3943 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   3944 	if test -n "$ac_tool_prefix"; then
   3945   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   3946 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3948 $as_echo_n "checking for $ac_word... " >&6; }
   3949 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   3950   $as_echo_n "(cached) " >&6
   3951 else
   3952   case $PKG_CONFIG in
   3953   [\\/]* | ?:[\\/]*)
   3954   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   3955   ;;
   3956   *)
   3957   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3958 for as_dir in $PATH
   3959 do
   3960   IFS=$as_save_IFS
   3961   test -z "$as_dir" && as_dir=.
   3962     for ac_exec_ext in '' $ac_executable_extensions; do
   3963   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3964     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3966     break 2
   3967   fi
   3968 done
   3969   done
   3970 IFS=$as_save_IFS
   3971 
   3972   ;;
   3973 esac
   3974 fi
   3975 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   3976 if test -n "$PKG_CONFIG"; then
   3977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   3978 $as_echo "$PKG_CONFIG" >&6; }
   3979 else
   3980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3981 $as_echo "no" >&6; }
   3982 fi
   3983 
   3984 
   3985 fi
   3986 if test -z "$ac_cv_path_PKG_CONFIG"; then
   3987   ac_pt_PKG_CONFIG=$PKG_CONFIG
   3988   # Extract the first word of "pkg-config", so it can be a program name with args.
   3989 set dummy pkg-config; ac_word=$2
   3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3991 $as_echo_n "checking for $ac_word... " >&6; }
   3992 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   3993   $as_echo_n "(cached) " >&6
   3994 else
   3995   case $ac_pt_PKG_CONFIG in
   3996   [\\/]* | ?:[\\/]*)
   3997   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   3998   ;;
   3999   *)
   4000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4001 for as_dir in $PATH
   4002 do
   4003   IFS=$as_save_IFS
   4004   test -z "$as_dir" && as_dir=.
   4005     for ac_exec_ext in '' $ac_executable_extensions; do
   4006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4007     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4009     break 2
   4010   fi
   4011 done
   4012   done
   4013 IFS=$as_save_IFS
   4014 
   4015   ;;
   4016 esac
   4017 fi
   4018 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4019 if test -n "$ac_pt_PKG_CONFIG"; then
   4020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4021 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4022 else
   4023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4024 $as_echo "no" >&6; }
   4025 fi
   4026 
   4027   if test "x$ac_pt_PKG_CONFIG" = x; then
   4028     PKG_CONFIG=""
   4029   else
   4030     case $cross_compiling:$ac_tool_warned in
   4031 yes:)
   4032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4034 ac_tool_warned=yes ;;
   4035 esac
   4036     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4037   fi
   4038 else
   4039   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4040 fi
   4041 
   4042 fi
   4043 if test -n "$PKG_CONFIG"; then
   4044 	_pkg_min_version=0.9.0
   4045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4046 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4047 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4049 $as_echo "yes" >&6; }
   4050 	else
   4051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4052 $as_echo "no" >&6; }
   4053 		PKG_CONFIG=""
   4054 	fi
   4055 fi
   4056 # Make sure we can run config.sub.
   4057 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4058   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4059 
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4061 $as_echo_n "checking build system type... " >&6; }
   4062 if ${ac_cv_build+:} false; then :
   4063   $as_echo_n "(cached) " >&6
   4064 else
   4065   ac_build_alias=$build_alias
   4066 test "x$ac_build_alias" = x &&
   4067   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4068 test "x$ac_build_alias" = x &&
   4069   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4070 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4071   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4072 
   4073 fi
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4075 $as_echo "$ac_cv_build" >&6; }
   4076 case $ac_cv_build in
   4077 *-*-*) ;;
   4078 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4079 esac
   4080 build=$ac_cv_build
   4081 ac_save_IFS=$IFS; IFS='-'
   4082 set x $ac_cv_build
   4083 shift
   4084 build_cpu=$1
   4085 build_vendor=$2
   4086 shift; shift
   4087 # Remember, the first character of IFS is used to create $*,
   4088 # except with old shells:
   4089 build_os=$*
   4090 IFS=$ac_save_IFS
   4091 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4092 
   4093 
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4095 $as_echo_n "checking host system type... " >&6; }
   4096 if ${ac_cv_host+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   if test "x$host_alias" = x; then
   4100   ac_cv_host=$ac_cv_build
   4101 else
   4102   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4103     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4104 fi
   4105 
   4106 fi
   4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4108 $as_echo "$ac_cv_host" >&6; }
   4109 case $ac_cv_host in
   4110 *-*-*) ;;
   4111 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4112 esac
   4113 host=$ac_cv_host
   4114 ac_save_IFS=$IFS; IFS='-'
   4115 set x $ac_cv_host
   4116 shift
   4117 host_cpu=$1
   4118 host_vendor=$2
   4119 shift; shift
   4120 # Remember, the first character of IFS is used to create $*,
   4121 # except with old shells:
   4122 host_os=$*
   4123 IFS=$ac_save_IFS
   4124 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4125 
   4126 
   4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4128 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4129 if ${ac_cv_path_SED+:} false; then :
   4130   $as_echo_n "(cached) " >&6
   4131 else
   4132             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4133      for ac_i in 1 2 3 4 5 6 7; do
   4134        ac_script="$ac_script$as_nl$ac_script"
   4135      done
   4136      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4137      { ac_script=; unset ac_script;}
   4138      if test -z "$SED"; then
   4139   ac_path_SED_found=false
   4140   # Loop through the user's path and test for each of PROGNAME-LIST
   4141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4142 for as_dir in $PATH
   4143 do
   4144   IFS=$as_save_IFS
   4145   test -z "$as_dir" && as_dir=.
   4146     for ac_prog in sed gsed; do
   4147     for ac_exec_ext in '' $ac_executable_extensions; do
   4148       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4149       as_fn_executable_p "$ac_path_SED" || continue
   4150 # Check for GNU ac_path_SED and select it if it is found.
   4151   # Check for GNU $ac_path_SED
   4152 case `"$ac_path_SED" --version 2>&1` in
   4153 *GNU*)
   4154   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4155 *)
   4156   ac_count=0
   4157   $as_echo_n 0123456789 >"conftest.in"
   4158   while :
   4159   do
   4160     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4161     mv "conftest.tmp" "conftest.in"
   4162     cp "conftest.in" "conftest.nl"
   4163     $as_echo '' >> "conftest.nl"
   4164     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4165     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4166     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4167     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4168       # Best one so far, save it but keep looking for a better one
   4169       ac_cv_path_SED="$ac_path_SED"
   4170       ac_path_SED_max=$ac_count
   4171     fi
   4172     # 10*(2^10) chars as input seems more than enough
   4173     test $ac_count -gt 10 && break
   4174   done
   4175   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4176 esac
   4177 
   4178       $ac_path_SED_found && break 3
   4179     done
   4180   done
   4181   done
   4182 IFS=$as_save_IFS
   4183   if test -z "$ac_cv_path_SED"; then
   4184     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4185   fi
   4186 else
   4187   ac_cv_path_SED=$SED
   4188 fi
   4189 
   4190 fi
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4192 $as_echo "$ac_cv_path_SED" >&6; }
   4193  SED="$ac_cv_path_SED"
   4194   rm -f conftest.sed
   4195 
   4196 
   4197 
   4198 
   4199 
   4200 
   4201 # Check whether --enable-selective-werror was given.
   4202 if test "${enable_selective_werror+set}" = set; then :
   4203   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4204 else
   4205   SELECTIVE_WERROR=yes
   4206 fi
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4213 if test "x$SUNCC" = "xyes"; then
   4214     BASE_CFLAGS="-v"
   4215 else
   4216     BASE_CFLAGS=""
   4217 fi
   4218 
   4219 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 
   4233 xorg_testset_save_CFLAGS="$CFLAGS"
   4234 
   4235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4240   $as_echo_n "(cached) " >&6
   4241 else
   4242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4243 /* end confdefs.h.  */
   4244 int i;
   4245 _ACEOF
   4246 if ac_fn_c_try_compile "$LINENO"; then :
   4247   xorg_cv_cc_flag_unknown_warning_option=yes
   4248 else
   4249   xorg_cv_cc_flag_unknown_warning_option=no
   4250 fi
   4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4252 fi
   4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4256 	CFLAGS="$xorg_testset_save_CFLAGS"
   4257 fi
   4258 
   4259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4262 	fi
   4263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4267   $as_echo_n "(cached) " >&6
   4268 else
   4269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4270 /* end confdefs.h.  */
   4271 int i;
   4272 _ACEOF
   4273 if ac_fn_c_try_compile "$LINENO"; then :
   4274   xorg_cv_cc_flag_unused_command_line_argument=yes
   4275 else
   4276   xorg_cv_cc_flag_unused_command_line_argument=no
   4277 fi
   4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4279 fi
   4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4283 	CFLAGS="$xorg_testset_save_CFLAGS"
   4284 fi
   4285 
   4286 found="no"
   4287 
   4288 	if test $found = "no" ; then
   4289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4291 		fi
   4292 
   4293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4295 		fi
   4296 
   4297 		CFLAGS="$CFLAGS -Wall"
   4298 
   4299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4300 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4301 		cacheid=xorg_cv_cc_flag__Wall
   4302 		if eval \${$cacheid+:} false; then :
   4303   $as_echo_n "(cached) " >&6
   4304 else
   4305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4306 /* end confdefs.h.  */
   4307 int i;
   4308 int
   4309 main ()
   4310 {
   4311 
   4312   ;
   4313   return 0;
   4314 }
   4315 _ACEOF
   4316 if ac_fn_c_try_link "$LINENO"; then :
   4317   eval $cacheid=yes
   4318 else
   4319   eval $cacheid=no
   4320 fi
   4321 rm -f core conftest.err conftest.$ac_objext \
   4322     conftest$ac_exeext conftest.$ac_ext
   4323 fi
   4324 
   4325 
   4326 		CFLAGS="$xorg_testset_save_CFLAGS"
   4327 
   4328 		eval supported=\$$cacheid
   4329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4330 $as_echo "$supported" >&6; }
   4331 		if test "$supported" = "yes" ; then
   4332 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4333 			found="yes"
   4334 		fi
   4335 	fi
   4336 
   4337 
   4338 
   4339 
   4340 
   4341 
   4342 
   4343 
   4344 
   4345 
   4346 
   4347 
   4348 
   4349 
   4350 
   4351 xorg_testset_save_CFLAGS="$CFLAGS"
   4352 
   4353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4358   $as_echo_n "(cached) " >&6
   4359 else
   4360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4361 /* end confdefs.h.  */
   4362 int i;
   4363 _ACEOF
   4364 if ac_fn_c_try_compile "$LINENO"; then :
   4365   xorg_cv_cc_flag_unknown_warning_option=yes
   4366 else
   4367   xorg_cv_cc_flag_unknown_warning_option=no
   4368 fi
   4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4370 fi
   4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4374 	CFLAGS="$xorg_testset_save_CFLAGS"
   4375 fi
   4376 
   4377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4380 	fi
   4381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4385   $as_echo_n "(cached) " >&6
   4386 else
   4387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4388 /* end confdefs.h.  */
   4389 int i;
   4390 _ACEOF
   4391 if ac_fn_c_try_compile "$LINENO"; then :
   4392   xorg_cv_cc_flag_unused_command_line_argument=yes
   4393 else
   4394   xorg_cv_cc_flag_unused_command_line_argument=no
   4395 fi
   4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4397 fi
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4401 	CFLAGS="$xorg_testset_save_CFLAGS"
   4402 fi
   4403 
   4404 found="no"
   4405 
   4406 	if test $found = "no" ; then
   4407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4409 		fi
   4410 
   4411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4413 		fi
   4414 
   4415 		CFLAGS="$CFLAGS -Wpointer-arith"
   4416 
   4417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4418 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4419 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4420 		if eval \${$cacheid+:} false; then :
   4421   $as_echo_n "(cached) " >&6
   4422 else
   4423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 int i;
   4426 int
   4427 main ()
   4428 {
   4429 
   4430   ;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 if ac_fn_c_try_link "$LINENO"; then :
   4435   eval $cacheid=yes
   4436 else
   4437   eval $cacheid=no
   4438 fi
   4439 rm -f core conftest.err conftest.$ac_objext \
   4440     conftest$ac_exeext conftest.$ac_ext
   4441 fi
   4442 
   4443 
   4444 		CFLAGS="$xorg_testset_save_CFLAGS"
   4445 
   4446 		eval supported=\$$cacheid
   4447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4448 $as_echo "$supported" >&6; }
   4449 		if test "$supported" = "yes" ; then
   4450 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4451 			found="yes"
   4452 		fi
   4453 	fi
   4454 
   4455 
   4456 
   4457 
   4458 
   4459 
   4460 
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 xorg_testset_save_CFLAGS="$CFLAGS"
   4470 
   4471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4476   $as_echo_n "(cached) " >&6
   4477 else
   4478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4479 /* end confdefs.h.  */
   4480 int i;
   4481 _ACEOF
   4482 if ac_fn_c_try_compile "$LINENO"; then :
   4483   xorg_cv_cc_flag_unknown_warning_option=yes
   4484 else
   4485   xorg_cv_cc_flag_unknown_warning_option=no
   4486 fi
   4487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4488 fi
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4492 	CFLAGS="$xorg_testset_save_CFLAGS"
   4493 fi
   4494 
   4495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4498 	fi
   4499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4503   $as_echo_n "(cached) " >&6
   4504 else
   4505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4506 /* end confdefs.h.  */
   4507 int i;
   4508 _ACEOF
   4509 if ac_fn_c_try_compile "$LINENO"; then :
   4510   xorg_cv_cc_flag_unused_command_line_argument=yes
   4511 else
   4512   xorg_cv_cc_flag_unused_command_line_argument=no
   4513 fi
   4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4515 fi
   4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4519 	CFLAGS="$xorg_testset_save_CFLAGS"
   4520 fi
   4521 
   4522 found="no"
   4523 
   4524 	if test $found = "no" ; then
   4525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4527 		fi
   4528 
   4529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4531 		fi
   4532 
   4533 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4534 
   4535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4536 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4537 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4538 		if eval \${$cacheid+:} false; then :
   4539   $as_echo_n "(cached) " >&6
   4540 else
   4541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4542 /* end confdefs.h.  */
   4543 int i;
   4544 int
   4545 main ()
   4546 {
   4547 
   4548   ;
   4549   return 0;
   4550 }
   4551 _ACEOF
   4552 if ac_fn_c_try_link "$LINENO"; then :
   4553   eval $cacheid=yes
   4554 else
   4555   eval $cacheid=no
   4556 fi
   4557 rm -f core conftest.err conftest.$ac_objext \
   4558     conftest$ac_exeext conftest.$ac_ext
   4559 fi
   4560 
   4561 
   4562 		CFLAGS="$xorg_testset_save_CFLAGS"
   4563 
   4564 		eval supported=\$$cacheid
   4565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4566 $as_echo "$supported" >&6; }
   4567 		if test "$supported" = "yes" ; then
   4568 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4569 			found="yes"
   4570 		fi
   4571 	fi
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 
   4586 
   4587 xorg_testset_save_CFLAGS="$CFLAGS"
   4588 
   4589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4594   $as_echo_n "(cached) " >&6
   4595 else
   4596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4597 /* end confdefs.h.  */
   4598 int i;
   4599 _ACEOF
   4600 if ac_fn_c_try_compile "$LINENO"; then :
   4601   xorg_cv_cc_flag_unknown_warning_option=yes
   4602 else
   4603   xorg_cv_cc_flag_unknown_warning_option=no
   4604 fi
   4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4606 fi
   4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4610 	CFLAGS="$xorg_testset_save_CFLAGS"
   4611 fi
   4612 
   4613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4616 	fi
   4617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4621   $as_echo_n "(cached) " >&6
   4622 else
   4623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4624 /* end confdefs.h.  */
   4625 int i;
   4626 _ACEOF
   4627 if ac_fn_c_try_compile "$LINENO"; then :
   4628   xorg_cv_cc_flag_unused_command_line_argument=yes
   4629 else
   4630   xorg_cv_cc_flag_unused_command_line_argument=no
   4631 fi
   4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4633 fi
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4637 	CFLAGS="$xorg_testset_save_CFLAGS"
   4638 fi
   4639 
   4640 found="no"
   4641 
   4642 	if test $found = "no" ; then
   4643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4645 		fi
   4646 
   4647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4649 		fi
   4650 
   4651 		CFLAGS="$CFLAGS -Wformat=2"
   4652 
   4653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4654 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4655 		cacheid=xorg_cv_cc_flag__Wformat_2
   4656 		if eval \${$cacheid+:} false; then :
   4657   $as_echo_n "(cached) " >&6
   4658 else
   4659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4660 /* end confdefs.h.  */
   4661 int i;
   4662 int
   4663 main ()
   4664 {
   4665 
   4666   ;
   4667   return 0;
   4668 }
   4669 _ACEOF
   4670 if ac_fn_c_try_link "$LINENO"; then :
   4671   eval $cacheid=yes
   4672 else
   4673   eval $cacheid=no
   4674 fi
   4675 rm -f core conftest.err conftest.$ac_objext \
   4676     conftest$ac_exeext conftest.$ac_ext
   4677 fi
   4678 
   4679 
   4680 		CFLAGS="$xorg_testset_save_CFLAGS"
   4681 
   4682 		eval supported=\$$cacheid
   4683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4684 $as_echo "$supported" >&6; }
   4685 		if test "$supported" = "yes" ; then
   4686 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4687 			found="yes"
   4688 		fi
   4689 	fi
   4690 
   4691 	if test $found = "no" ; then
   4692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4694 		fi
   4695 
   4696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4698 		fi
   4699 
   4700 		CFLAGS="$CFLAGS -Wformat"
   4701 
   4702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4703 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   4704 		cacheid=xorg_cv_cc_flag__Wformat
   4705 		if eval \${$cacheid+:} false; then :
   4706   $as_echo_n "(cached) " >&6
   4707 else
   4708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4709 /* end confdefs.h.  */
   4710 int i;
   4711 int
   4712 main ()
   4713 {
   4714 
   4715   ;
   4716   return 0;
   4717 }
   4718 _ACEOF
   4719 if ac_fn_c_try_link "$LINENO"; then :
   4720   eval $cacheid=yes
   4721 else
   4722   eval $cacheid=no
   4723 fi
   4724 rm -f core conftest.err conftest.$ac_objext \
   4725     conftest$ac_exeext conftest.$ac_ext
   4726 fi
   4727 
   4728 
   4729 		CFLAGS="$xorg_testset_save_CFLAGS"
   4730 
   4731 		eval supported=\$$cacheid
   4732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4733 $as_echo "$supported" >&6; }
   4734 		if test "$supported" = "yes" ; then
   4735 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   4736 			found="yes"
   4737 		fi
   4738 	fi
   4739 
   4740 
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 xorg_testset_save_CFLAGS="$CFLAGS"
   4757 
   4758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4761 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4762 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4763   $as_echo_n "(cached) " >&6
   4764 else
   4765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4766 /* end confdefs.h.  */
   4767 int i;
   4768 _ACEOF
   4769 if ac_fn_c_try_compile "$LINENO"; then :
   4770   xorg_cv_cc_flag_unknown_warning_option=yes
   4771 else
   4772   xorg_cv_cc_flag_unknown_warning_option=no
   4773 fi
   4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4775 fi
   4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4777 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4779 	CFLAGS="$xorg_testset_save_CFLAGS"
   4780 fi
   4781 
   4782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4785 	fi
   4786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4788 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4789 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4790   $as_echo_n "(cached) " >&6
   4791 else
   4792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4793 /* end confdefs.h.  */
   4794 int i;
   4795 _ACEOF
   4796 if ac_fn_c_try_compile "$LINENO"; then :
   4797   xorg_cv_cc_flag_unused_command_line_argument=yes
   4798 else
   4799   xorg_cv_cc_flag_unused_command_line_argument=no
   4800 fi
   4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4802 fi
   4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4804 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4806 	CFLAGS="$xorg_testset_save_CFLAGS"
   4807 fi
   4808 
   4809 found="no"
   4810 
   4811 	if test $found = "no" ; then
   4812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4814 		fi
   4815 
   4816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4818 		fi
   4819 
   4820 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   4821 
   4822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   4823 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   4824 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   4825 		if eval \${$cacheid+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4829 /* end confdefs.h.  */
   4830 int i;
   4831 int
   4832 main ()
   4833 {
   4834 
   4835   ;
   4836   return 0;
   4837 }
   4838 _ACEOF
   4839 if ac_fn_c_try_link "$LINENO"; then :
   4840   eval $cacheid=yes
   4841 else
   4842   eval $cacheid=no
   4843 fi
   4844 rm -f core conftest.err conftest.$ac_objext \
   4845     conftest$ac_exeext conftest.$ac_ext
   4846 fi
   4847 
   4848 
   4849 		CFLAGS="$xorg_testset_save_CFLAGS"
   4850 
   4851 		eval supported=\$$cacheid
   4852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4853 $as_echo "$supported" >&6; }
   4854 		if test "$supported" = "yes" ; then
   4855 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   4856 			found="yes"
   4857 		fi
   4858 	fi
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 xorg_testset_save_CFLAGS="$CFLAGS"
   4875 
   4876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4879 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4880 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4881   $as_echo_n "(cached) " >&6
   4882 else
   4883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4884 /* end confdefs.h.  */
   4885 int i;
   4886 _ACEOF
   4887 if ac_fn_c_try_compile "$LINENO"; then :
   4888   xorg_cv_cc_flag_unknown_warning_option=yes
   4889 else
   4890   xorg_cv_cc_flag_unknown_warning_option=no
   4891 fi
   4892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4893 fi
   4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4895 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4896 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4897 	CFLAGS="$xorg_testset_save_CFLAGS"
   4898 fi
   4899 
   4900 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4901 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4902 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4903 	fi
   4904 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4906 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4907 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4908   $as_echo_n "(cached) " >&6
   4909 else
   4910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4911 /* end confdefs.h.  */
   4912 int i;
   4913 _ACEOF
   4914 if ac_fn_c_try_compile "$LINENO"; then :
   4915   xorg_cv_cc_flag_unused_command_line_argument=yes
   4916 else
   4917   xorg_cv_cc_flag_unused_command_line_argument=no
   4918 fi
   4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4920 fi
   4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4922 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4924 	CFLAGS="$xorg_testset_save_CFLAGS"
   4925 fi
   4926 
   4927 found="no"
   4928 
   4929 	if test $found = "no" ; then
   4930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4932 		fi
   4933 
   4934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4936 		fi
   4937 
   4938 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   4939 
   4940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   4941 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   4942 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   4943 		if eval \${$cacheid+:} false; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4947 /* end confdefs.h.  */
   4948 int i;
   4949 int
   4950 main ()
   4951 {
   4952 
   4953   ;
   4954   return 0;
   4955 }
   4956 _ACEOF
   4957 if ac_fn_c_try_link "$LINENO"; then :
   4958   eval $cacheid=yes
   4959 else
   4960   eval $cacheid=no
   4961 fi
   4962 rm -f core conftest.err conftest.$ac_objext \
   4963     conftest$ac_exeext conftest.$ac_ext
   4964 fi
   4965 
   4966 
   4967 		CFLAGS="$xorg_testset_save_CFLAGS"
   4968 
   4969 		eval supported=\$$cacheid
   4970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4971 $as_echo "$supported" >&6; }
   4972 		if test "$supported" = "yes" ; then
   4973 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   4974 			found="yes"
   4975 		fi
   4976 	fi
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 xorg_testset_save_CFLAGS="$CFLAGS"
   4993 
   4994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4997 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4998 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4999   $as_echo_n "(cached) " >&6
   5000 else
   5001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5002 /* end confdefs.h.  */
   5003 int i;
   5004 _ACEOF
   5005 if ac_fn_c_try_compile "$LINENO"; then :
   5006   xorg_cv_cc_flag_unknown_warning_option=yes
   5007 else
   5008   xorg_cv_cc_flag_unknown_warning_option=no
   5009 fi
   5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5011 fi
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5013 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5015 	CFLAGS="$xorg_testset_save_CFLAGS"
   5016 fi
   5017 
   5018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5021 	fi
   5022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5024 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5025 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5029 /* end confdefs.h.  */
   5030 int i;
   5031 _ACEOF
   5032 if ac_fn_c_try_compile "$LINENO"; then :
   5033   xorg_cv_cc_flag_unused_command_line_argument=yes
   5034 else
   5035   xorg_cv_cc_flag_unused_command_line_argument=no
   5036 fi
   5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5038 fi
   5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5040 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5042 	CFLAGS="$xorg_testset_save_CFLAGS"
   5043 fi
   5044 
   5045 found="no"
   5046 
   5047 	if test $found = "no" ; then
   5048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5050 		fi
   5051 
   5052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5054 		fi
   5055 
   5056 		CFLAGS="$CFLAGS -Wnested-externs"
   5057 
   5058 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5059 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5060 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5061 		if eval \${$cacheid+:} false; then :
   5062   $as_echo_n "(cached) " >&6
   5063 else
   5064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5065 /* end confdefs.h.  */
   5066 int i;
   5067 int
   5068 main ()
   5069 {
   5070 
   5071   ;
   5072   return 0;
   5073 }
   5074 _ACEOF
   5075 if ac_fn_c_try_link "$LINENO"; then :
   5076   eval $cacheid=yes
   5077 else
   5078   eval $cacheid=no
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext \
   5081     conftest$ac_exeext conftest.$ac_ext
   5082 fi
   5083 
   5084 
   5085 		CFLAGS="$xorg_testset_save_CFLAGS"
   5086 
   5087 		eval supported=\$$cacheid
   5088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5089 $as_echo "$supported" >&6; }
   5090 		if test "$supported" = "yes" ; then
   5091 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5092 			found="yes"
   5093 		fi
   5094 	fi
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 xorg_testset_save_CFLAGS="$CFLAGS"
   5111 
   5112 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5115 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5116 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5117   $as_echo_n "(cached) " >&6
   5118 else
   5119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5120 /* end confdefs.h.  */
   5121 int i;
   5122 _ACEOF
   5123 if ac_fn_c_try_compile "$LINENO"; then :
   5124   xorg_cv_cc_flag_unknown_warning_option=yes
   5125 else
   5126   xorg_cv_cc_flag_unknown_warning_option=no
   5127 fi
   5128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5129 fi
   5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5131 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5133 	CFLAGS="$xorg_testset_save_CFLAGS"
   5134 fi
   5135 
   5136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5139 	fi
   5140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5142 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5143 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5144   $as_echo_n "(cached) " >&6
   5145 else
   5146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5147 /* end confdefs.h.  */
   5148 int i;
   5149 _ACEOF
   5150 if ac_fn_c_try_compile "$LINENO"; then :
   5151   xorg_cv_cc_flag_unused_command_line_argument=yes
   5152 else
   5153   xorg_cv_cc_flag_unused_command_line_argument=no
   5154 fi
   5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5156 fi
   5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5158 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5160 	CFLAGS="$xorg_testset_save_CFLAGS"
   5161 fi
   5162 
   5163 found="no"
   5164 
   5165 	if test $found = "no" ; then
   5166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5168 		fi
   5169 
   5170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5172 		fi
   5173 
   5174 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5175 
   5176 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5177 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5178 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5179 		if eval \${$cacheid+:} false; then :
   5180   $as_echo_n "(cached) " >&6
   5181 else
   5182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5183 /* end confdefs.h.  */
   5184 int i;
   5185 int
   5186 main ()
   5187 {
   5188 
   5189   ;
   5190   return 0;
   5191 }
   5192 _ACEOF
   5193 if ac_fn_c_try_link "$LINENO"; then :
   5194   eval $cacheid=yes
   5195 else
   5196   eval $cacheid=no
   5197 fi
   5198 rm -f core conftest.err conftest.$ac_objext \
   5199     conftest$ac_exeext conftest.$ac_ext
   5200 fi
   5201 
   5202 
   5203 		CFLAGS="$xorg_testset_save_CFLAGS"
   5204 
   5205 		eval supported=\$$cacheid
   5206 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5207 $as_echo "$supported" >&6; }
   5208 		if test "$supported" = "yes" ; then
   5209 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5210 			found="yes"
   5211 		fi
   5212 	fi
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 xorg_testset_save_CFLAGS="$CFLAGS"
   5229 
   5230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5233 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5234 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5235   $as_echo_n "(cached) " >&6
   5236 else
   5237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5238 /* end confdefs.h.  */
   5239 int i;
   5240 _ACEOF
   5241 if ac_fn_c_try_compile "$LINENO"; then :
   5242   xorg_cv_cc_flag_unknown_warning_option=yes
   5243 else
   5244   xorg_cv_cc_flag_unknown_warning_option=no
   5245 fi
   5246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5247 fi
   5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5249 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5251 	CFLAGS="$xorg_testset_save_CFLAGS"
   5252 fi
   5253 
   5254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5257 	fi
   5258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5260 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5261 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5262   $as_echo_n "(cached) " >&6
   5263 else
   5264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5265 /* end confdefs.h.  */
   5266 int i;
   5267 _ACEOF
   5268 if ac_fn_c_try_compile "$LINENO"; then :
   5269   xorg_cv_cc_flag_unused_command_line_argument=yes
   5270 else
   5271   xorg_cv_cc_flag_unused_command_line_argument=no
   5272 fi
   5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5274 fi
   5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5276 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5278 	CFLAGS="$xorg_testset_save_CFLAGS"
   5279 fi
   5280 
   5281 found="no"
   5282 
   5283 	if test $found = "no" ; then
   5284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5286 		fi
   5287 
   5288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5290 		fi
   5291 
   5292 		CFLAGS="$CFLAGS -Wold-style-definition"
   5293 
   5294 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5295 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5296 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5297 		if eval \${$cacheid+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 int
   5304 main ()
   5305 {
   5306 
   5307   ;
   5308   return 0;
   5309 }
   5310 _ACEOF
   5311 if ac_fn_c_try_link "$LINENO"; then :
   5312   eval $cacheid=yes
   5313 else
   5314   eval $cacheid=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext \
   5317     conftest$ac_exeext conftest.$ac_ext
   5318 fi
   5319 
   5320 
   5321 		CFLAGS="$xorg_testset_save_CFLAGS"
   5322 
   5323 		eval supported=\$$cacheid
   5324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5325 $as_echo "$supported" >&6; }
   5326 		if test "$supported" = "yes" ; then
   5327 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5328 			found="yes"
   5329 		fi
   5330 	fi
   5331 
   5332 	if test $found = "no" ; then
   5333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5335 		fi
   5336 
   5337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5339 		fi
   5340 
   5341 		CFLAGS="$CFLAGS -fd"
   5342 
   5343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5344 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5345 		cacheid=xorg_cv_cc_flag__fd
   5346 		if eval \${$cacheid+:} false; then :
   5347   $as_echo_n "(cached) " >&6
   5348 else
   5349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5350 /* end confdefs.h.  */
   5351 int i;
   5352 int
   5353 main ()
   5354 {
   5355 
   5356   ;
   5357   return 0;
   5358 }
   5359 _ACEOF
   5360 if ac_fn_c_try_link "$LINENO"; then :
   5361   eval $cacheid=yes
   5362 else
   5363   eval $cacheid=no
   5364 fi
   5365 rm -f core conftest.err conftest.$ac_objext \
   5366     conftest$ac_exeext conftest.$ac_ext
   5367 fi
   5368 
   5369 
   5370 		CFLAGS="$xorg_testset_save_CFLAGS"
   5371 
   5372 		eval supported=\$$cacheid
   5373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5374 $as_echo "$supported" >&6; }
   5375 		if test "$supported" = "yes" ; then
   5376 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5377 			found="yes"
   5378 		fi
   5379 	fi
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 xorg_testset_save_CFLAGS="$CFLAGS"
   5396 
   5397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5402   $as_echo_n "(cached) " >&6
   5403 else
   5404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5405 /* end confdefs.h.  */
   5406 int i;
   5407 _ACEOF
   5408 if ac_fn_c_try_compile "$LINENO"; then :
   5409   xorg_cv_cc_flag_unknown_warning_option=yes
   5410 else
   5411   xorg_cv_cc_flag_unknown_warning_option=no
   5412 fi
   5413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5414 fi
   5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5418 	CFLAGS="$xorg_testset_save_CFLAGS"
   5419 fi
   5420 
   5421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5424 	fi
   5425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5429   $as_echo_n "(cached) " >&6
   5430 else
   5431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5432 /* end confdefs.h.  */
   5433 int i;
   5434 _ACEOF
   5435 if ac_fn_c_try_compile "$LINENO"; then :
   5436   xorg_cv_cc_flag_unused_command_line_argument=yes
   5437 else
   5438   xorg_cv_cc_flag_unused_command_line_argument=no
   5439 fi
   5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5441 fi
   5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5445 	CFLAGS="$xorg_testset_save_CFLAGS"
   5446 fi
   5447 
   5448 found="no"
   5449 
   5450 	if test $found = "no" ; then
   5451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5453 		fi
   5454 
   5455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5457 		fi
   5458 
   5459 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5460 
   5461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5462 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5463 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5464 		if eval \${$cacheid+:} false; then :
   5465   $as_echo_n "(cached) " >&6
   5466 else
   5467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5468 /* end confdefs.h.  */
   5469 int i;
   5470 int
   5471 main ()
   5472 {
   5473 
   5474   ;
   5475   return 0;
   5476 }
   5477 _ACEOF
   5478 if ac_fn_c_try_link "$LINENO"; then :
   5479   eval $cacheid=yes
   5480 else
   5481   eval $cacheid=no
   5482 fi
   5483 rm -f core conftest.err conftest.$ac_objext \
   5484     conftest$ac_exeext conftest.$ac_ext
   5485 fi
   5486 
   5487 
   5488 		CFLAGS="$xorg_testset_save_CFLAGS"
   5489 
   5490 		eval supported=\$$cacheid
   5491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5492 $as_echo "$supported" >&6; }
   5493 		if test "$supported" = "yes" ; then
   5494 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5495 			found="yes"
   5496 		fi
   5497 	fi
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 # This chunk adds additional warnings that could catch undesired effects.
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 xorg_testset_save_CFLAGS="$CFLAGS"
   5518 
   5519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5522 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5523 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5524   $as_echo_n "(cached) " >&6
   5525 else
   5526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5527 /* end confdefs.h.  */
   5528 int i;
   5529 _ACEOF
   5530 if ac_fn_c_try_compile "$LINENO"; then :
   5531   xorg_cv_cc_flag_unknown_warning_option=yes
   5532 else
   5533   xorg_cv_cc_flag_unknown_warning_option=no
   5534 fi
   5535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5536 fi
   5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5538 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5540 	CFLAGS="$xorg_testset_save_CFLAGS"
   5541 fi
   5542 
   5543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 	fi
   5547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5549 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5550 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5551   $as_echo_n "(cached) " >&6
   5552 else
   5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5554 /* end confdefs.h.  */
   5555 int i;
   5556 _ACEOF
   5557 if ac_fn_c_try_compile "$LINENO"; then :
   5558   xorg_cv_cc_flag_unused_command_line_argument=yes
   5559 else
   5560   xorg_cv_cc_flag_unused_command_line_argument=no
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5563 fi
   5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5565 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5567 	CFLAGS="$xorg_testset_save_CFLAGS"
   5568 fi
   5569 
   5570 found="no"
   5571 
   5572 	if test $found = "no" ; then
   5573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5575 		fi
   5576 
   5577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5579 		fi
   5580 
   5581 		CFLAGS="$CFLAGS -Wunused"
   5582 
   5583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5584 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5585 		cacheid=xorg_cv_cc_flag__Wunused
   5586 		if eval \${$cacheid+:} false; then :
   5587   $as_echo_n "(cached) " >&6
   5588 else
   5589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5590 /* end confdefs.h.  */
   5591 int i;
   5592 int
   5593 main ()
   5594 {
   5595 
   5596   ;
   5597   return 0;
   5598 }
   5599 _ACEOF
   5600 if ac_fn_c_try_link "$LINENO"; then :
   5601   eval $cacheid=yes
   5602 else
   5603   eval $cacheid=no
   5604 fi
   5605 rm -f core conftest.err conftest.$ac_objext \
   5606     conftest$ac_exeext conftest.$ac_ext
   5607 fi
   5608 
   5609 
   5610 		CFLAGS="$xorg_testset_save_CFLAGS"
   5611 
   5612 		eval supported=\$$cacheid
   5613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5614 $as_echo "$supported" >&6; }
   5615 		if test "$supported" = "yes" ; then
   5616 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5617 			found="yes"
   5618 		fi
   5619 	fi
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 xorg_testset_save_CFLAGS="$CFLAGS"
   5636 
   5637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5640 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5641 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5642   $as_echo_n "(cached) " >&6
   5643 else
   5644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5645 /* end confdefs.h.  */
   5646 int i;
   5647 _ACEOF
   5648 if ac_fn_c_try_compile "$LINENO"; then :
   5649   xorg_cv_cc_flag_unknown_warning_option=yes
   5650 else
   5651   xorg_cv_cc_flag_unknown_warning_option=no
   5652 fi
   5653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5654 fi
   5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5656 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5658 	CFLAGS="$xorg_testset_save_CFLAGS"
   5659 fi
   5660 
   5661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5664 	fi
   5665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5667 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5668 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5669   $as_echo_n "(cached) " >&6
   5670 else
   5671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 int i;
   5674 _ACEOF
   5675 if ac_fn_c_try_compile "$LINENO"; then :
   5676   xorg_cv_cc_flag_unused_command_line_argument=yes
   5677 else
   5678   xorg_cv_cc_flag_unused_command_line_argument=no
   5679 fi
   5680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5681 fi
   5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5683 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5684 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5685 	CFLAGS="$xorg_testset_save_CFLAGS"
   5686 fi
   5687 
   5688 found="no"
   5689 
   5690 	if test $found = "no" ; then
   5691 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5693 		fi
   5694 
   5695 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5697 		fi
   5698 
   5699 		CFLAGS="$CFLAGS -Wuninitialized"
   5700 
   5701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5702 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5703 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5704 		if eval \${$cacheid+:} false; then :
   5705   $as_echo_n "(cached) " >&6
   5706 else
   5707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5708 /* end confdefs.h.  */
   5709 int i;
   5710 int
   5711 main ()
   5712 {
   5713 
   5714   ;
   5715   return 0;
   5716 }
   5717 _ACEOF
   5718 if ac_fn_c_try_link "$LINENO"; then :
   5719   eval $cacheid=yes
   5720 else
   5721   eval $cacheid=no
   5722 fi
   5723 rm -f core conftest.err conftest.$ac_objext \
   5724     conftest$ac_exeext conftest.$ac_ext
   5725 fi
   5726 
   5727 
   5728 		CFLAGS="$xorg_testset_save_CFLAGS"
   5729 
   5730 		eval supported=\$$cacheid
   5731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5732 $as_echo "$supported" >&6; }
   5733 		if test "$supported" = "yes" ; then
   5734 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5735 			found="yes"
   5736 		fi
   5737 	fi
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 xorg_testset_save_CFLAGS="$CFLAGS"
   5754 
   5755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5758 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5759 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5760   $as_echo_n "(cached) " >&6
   5761 else
   5762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5763 /* end confdefs.h.  */
   5764 int i;
   5765 _ACEOF
   5766 if ac_fn_c_try_compile "$LINENO"; then :
   5767   xorg_cv_cc_flag_unknown_warning_option=yes
   5768 else
   5769   xorg_cv_cc_flag_unknown_warning_option=no
   5770 fi
   5771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5772 fi
   5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5774 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5776 	CFLAGS="$xorg_testset_save_CFLAGS"
   5777 fi
   5778 
   5779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5782 	fi
   5783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5785 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5786 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5787   $as_echo_n "(cached) " >&6
   5788 else
   5789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5790 /* end confdefs.h.  */
   5791 int i;
   5792 _ACEOF
   5793 if ac_fn_c_try_compile "$LINENO"; then :
   5794   xorg_cv_cc_flag_unused_command_line_argument=yes
   5795 else
   5796   xorg_cv_cc_flag_unused_command_line_argument=no
   5797 fi
   5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5799 fi
   5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5801 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5803 	CFLAGS="$xorg_testset_save_CFLAGS"
   5804 fi
   5805 
   5806 found="no"
   5807 
   5808 	if test $found = "no" ; then
   5809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5811 		fi
   5812 
   5813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5815 		fi
   5816 
   5817 		CFLAGS="$CFLAGS -Wshadow"
   5818 
   5819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   5820 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   5821 		cacheid=xorg_cv_cc_flag__Wshadow
   5822 		if eval \${$cacheid+:} false; then :
   5823   $as_echo_n "(cached) " >&6
   5824 else
   5825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5826 /* end confdefs.h.  */
   5827 int i;
   5828 int
   5829 main ()
   5830 {
   5831 
   5832   ;
   5833   return 0;
   5834 }
   5835 _ACEOF
   5836 if ac_fn_c_try_link "$LINENO"; then :
   5837   eval $cacheid=yes
   5838 else
   5839   eval $cacheid=no
   5840 fi
   5841 rm -f core conftest.err conftest.$ac_objext \
   5842     conftest$ac_exeext conftest.$ac_ext
   5843 fi
   5844 
   5845 
   5846 		CFLAGS="$xorg_testset_save_CFLAGS"
   5847 
   5848 		eval supported=\$$cacheid
   5849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5850 $as_echo "$supported" >&6; }
   5851 		if test "$supported" = "yes" ; then
   5852 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   5853 			found="yes"
   5854 		fi
   5855 	fi
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 xorg_testset_save_CFLAGS="$CFLAGS"
   5872 
   5873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5878   $as_echo_n "(cached) " >&6
   5879 else
   5880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5881 /* end confdefs.h.  */
   5882 int i;
   5883 _ACEOF
   5884 if ac_fn_c_try_compile "$LINENO"; then :
   5885   xorg_cv_cc_flag_unknown_warning_option=yes
   5886 else
   5887   xorg_cv_cc_flag_unknown_warning_option=no
   5888 fi
   5889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5890 fi
   5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5894 	CFLAGS="$xorg_testset_save_CFLAGS"
   5895 fi
   5896 
   5897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 	fi
   5901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5905   $as_echo_n "(cached) " >&6
   5906 else
   5907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5908 /* end confdefs.h.  */
   5909 int i;
   5910 _ACEOF
   5911 if ac_fn_c_try_compile "$LINENO"; then :
   5912   xorg_cv_cc_flag_unused_command_line_argument=yes
   5913 else
   5914   xorg_cv_cc_flag_unused_command_line_argument=no
   5915 fi
   5916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5917 fi
   5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5921 	CFLAGS="$xorg_testset_save_CFLAGS"
   5922 fi
   5923 
   5924 found="no"
   5925 
   5926 	if test $found = "no" ; then
   5927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5929 		fi
   5930 
   5931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5933 		fi
   5934 
   5935 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   5936 
   5937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   5938 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   5939 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   5940 		if eval \${$cacheid+:} false; then :
   5941   $as_echo_n "(cached) " >&6
   5942 else
   5943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5944 /* end confdefs.h.  */
   5945 int i;
   5946 int
   5947 main ()
   5948 {
   5949 
   5950   ;
   5951   return 0;
   5952 }
   5953 _ACEOF
   5954 if ac_fn_c_try_link "$LINENO"; then :
   5955   eval $cacheid=yes
   5956 else
   5957   eval $cacheid=no
   5958 fi
   5959 rm -f core conftest.err conftest.$ac_objext \
   5960     conftest$ac_exeext conftest.$ac_ext
   5961 fi
   5962 
   5963 
   5964 		CFLAGS="$xorg_testset_save_CFLAGS"
   5965 
   5966 		eval supported=\$$cacheid
   5967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5968 $as_echo "$supported" >&6; }
   5969 		if test "$supported" = "yes" ; then
   5970 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   5971 			found="yes"
   5972 		fi
   5973 	fi
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 xorg_testset_save_CFLAGS="$CFLAGS"
   5990 
   5991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5996   $as_echo_n "(cached) " >&6
   5997 else
   5998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5999 /* end confdefs.h.  */
   6000 int i;
   6001 _ACEOF
   6002 if ac_fn_c_try_compile "$LINENO"; then :
   6003   xorg_cv_cc_flag_unknown_warning_option=yes
   6004 else
   6005   xorg_cv_cc_flag_unknown_warning_option=no
   6006 fi
   6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6008 fi
   6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6012 	CFLAGS="$xorg_testset_save_CFLAGS"
   6013 fi
   6014 
   6015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6018 	fi
   6019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6023   $as_echo_n "(cached) " >&6
   6024 else
   6025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6026 /* end confdefs.h.  */
   6027 int i;
   6028 _ACEOF
   6029 if ac_fn_c_try_compile "$LINENO"; then :
   6030   xorg_cv_cc_flag_unused_command_line_argument=yes
   6031 else
   6032   xorg_cv_cc_flag_unused_command_line_argument=no
   6033 fi
   6034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6035 fi
   6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6039 	CFLAGS="$xorg_testset_save_CFLAGS"
   6040 fi
   6041 
   6042 found="no"
   6043 
   6044 	if test $found = "no" ; then
   6045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6047 		fi
   6048 
   6049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6051 		fi
   6052 
   6053 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6054 
   6055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6056 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6057 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6058 		if eval \${$cacheid+:} false; then :
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6062 /* end confdefs.h.  */
   6063 int i;
   6064 int
   6065 main ()
   6066 {
   6067 
   6068   ;
   6069   return 0;
   6070 }
   6071 _ACEOF
   6072 if ac_fn_c_try_link "$LINENO"; then :
   6073   eval $cacheid=yes
   6074 else
   6075   eval $cacheid=no
   6076 fi
   6077 rm -f core conftest.err conftest.$ac_objext \
   6078     conftest$ac_exeext conftest.$ac_ext
   6079 fi
   6080 
   6081 
   6082 		CFLAGS="$xorg_testset_save_CFLAGS"
   6083 
   6084 		eval supported=\$$cacheid
   6085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6086 $as_echo "$supported" >&6; }
   6087 		if test "$supported" = "yes" ; then
   6088 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6089 			found="yes"
   6090 		fi
   6091 	fi
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 xorg_testset_save_CFLAGS="$CFLAGS"
   6108 
   6109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6112 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6113 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6114   $as_echo_n "(cached) " >&6
   6115 else
   6116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6117 /* end confdefs.h.  */
   6118 int i;
   6119 _ACEOF
   6120 if ac_fn_c_try_compile "$LINENO"; then :
   6121   xorg_cv_cc_flag_unknown_warning_option=yes
   6122 else
   6123   xorg_cv_cc_flag_unknown_warning_option=no
   6124 fi
   6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6126 fi
   6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6128 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6130 	CFLAGS="$xorg_testset_save_CFLAGS"
   6131 fi
   6132 
   6133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6136 	fi
   6137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6139 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6140 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6141   $as_echo_n "(cached) " >&6
   6142 else
   6143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6144 /* end confdefs.h.  */
   6145 int i;
   6146 _ACEOF
   6147 if ac_fn_c_try_compile "$LINENO"; then :
   6148   xorg_cv_cc_flag_unused_command_line_argument=yes
   6149 else
   6150   xorg_cv_cc_flag_unused_command_line_argument=no
   6151 fi
   6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6153 fi
   6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6155 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6157 	CFLAGS="$xorg_testset_save_CFLAGS"
   6158 fi
   6159 
   6160 found="no"
   6161 
   6162 	if test $found = "no" ; then
   6163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6165 		fi
   6166 
   6167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6169 		fi
   6170 
   6171 		CFLAGS="$CFLAGS -Wredundant-decls"
   6172 
   6173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6174 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6175 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6176 		if eval \${$cacheid+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6180 /* end confdefs.h.  */
   6181 int i;
   6182 int
   6183 main ()
   6184 {
   6185 
   6186   ;
   6187   return 0;
   6188 }
   6189 _ACEOF
   6190 if ac_fn_c_try_link "$LINENO"; then :
   6191   eval $cacheid=yes
   6192 else
   6193   eval $cacheid=no
   6194 fi
   6195 rm -f core conftest.err conftest.$ac_objext \
   6196     conftest$ac_exeext conftest.$ac_ext
   6197 fi
   6198 
   6199 
   6200 		CFLAGS="$xorg_testset_save_CFLAGS"
   6201 
   6202 		eval supported=\$$cacheid
   6203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6204 $as_echo "$supported" >&6; }
   6205 		if test "$supported" = "yes" ; then
   6206 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6207 			found="yes"
   6208 		fi
   6209 	fi
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 xorg_testset_save_CFLAGS="$CFLAGS"
   6226 
   6227 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6228 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6229 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6230 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6231 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6232   $as_echo_n "(cached) " >&6
   6233 else
   6234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6235 /* end confdefs.h.  */
   6236 int i;
   6237 _ACEOF
   6238 if ac_fn_c_try_compile "$LINENO"; then :
   6239   xorg_cv_cc_flag_unknown_warning_option=yes
   6240 else
   6241   xorg_cv_cc_flag_unknown_warning_option=no
   6242 fi
   6243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6244 fi
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6246 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6247 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6248 	CFLAGS="$xorg_testset_save_CFLAGS"
   6249 fi
   6250 
   6251 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6252 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6253 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6254 	fi
   6255 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6257 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6258 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6259   $as_echo_n "(cached) " >&6
   6260 else
   6261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6262 /* end confdefs.h.  */
   6263 int i;
   6264 _ACEOF
   6265 if ac_fn_c_try_compile "$LINENO"; then :
   6266   xorg_cv_cc_flag_unused_command_line_argument=yes
   6267 else
   6268   xorg_cv_cc_flag_unused_command_line_argument=no
   6269 fi
   6270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6271 fi
   6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6273 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6275 	CFLAGS="$xorg_testset_save_CFLAGS"
   6276 fi
   6277 
   6278 found="no"
   6279 
   6280 	if test $found = "no" ; then
   6281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6283 		fi
   6284 
   6285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6287 		fi
   6288 
   6289 		CFLAGS="$CFLAGS -Wlogical-op"
   6290 
   6291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6292 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6293 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6294 		if eval \${$cacheid+:} false; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 int i;
   6300 int
   6301 main ()
   6302 {
   6303 
   6304   ;
   6305   return 0;
   6306 }
   6307 _ACEOF
   6308 if ac_fn_c_try_link "$LINENO"; then :
   6309   eval $cacheid=yes
   6310 else
   6311   eval $cacheid=no
   6312 fi
   6313 rm -f core conftest.err conftest.$ac_objext \
   6314     conftest$ac_exeext conftest.$ac_ext
   6315 fi
   6316 
   6317 
   6318 		CFLAGS="$xorg_testset_save_CFLAGS"
   6319 
   6320 		eval supported=\$$cacheid
   6321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6322 $as_echo "$supported" >&6; }
   6323 		if test "$supported" = "yes" ; then
   6324 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6325 			found="yes"
   6326 		fi
   6327 	fi
   6328 
   6329 
   6330 
   6331 # These are currently disabled because they are noisy.  They will be enabled
   6332 # in the future once the codebase is sufficiently modernized to silence
   6333 # them.  For now, I don't want them to drown out the other warnings.
   6334 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6335 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6336 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6337 
   6338 # Turn some warnings into errors, so we don't accidently get successful builds
   6339 # when there are problems that should be fixed.
   6340 
   6341 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 xorg_testset_save_CFLAGS="$CFLAGS"
   6356 
   6357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6360 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6361 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6362   $as_echo_n "(cached) " >&6
   6363 else
   6364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 int i;
   6367 _ACEOF
   6368 if ac_fn_c_try_compile "$LINENO"; then :
   6369   xorg_cv_cc_flag_unknown_warning_option=yes
   6370 else
   6371   xorg_cv_cc_flag_unknown_warning_option=no
   6372 fi
   6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6374 fi
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6376 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6378 	CFLAGS="$xorg_testset_save_CFLAGS"
   6379 fi
   6380 
   6381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6384 	fi
   6385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6387 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6388 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6389   $as_echo_n "(cached) " >&6
   6390 else
   6391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 int i;
   6394 _ACEOF
   6395 if ac_fn_c_try_compile "$LINENO"; then :
   6396   xorg_cv_cc_flag_unused_command_line_argument=yes
   6397 else
   6398   xorg_cv_cc_flag_unused_command_line_argument=no
   6399 fi
   6400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6401 fi
   6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6403 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6405 	CFLAGS="$xorg_testset_save_CFLAGS"
   6406 fi
   6407 
   6408 found="no"
   6409 
   6410 	if test $found = "no" ; then
   6411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6413 		fi
   6414 
   6415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6417 		fi
   6418 
   6419 		CFLAGS="$CFLAGS -Werror=implicit"
   6420 
   6421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6422 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6423 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6424 		if eval \${$cacheid+:} false; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6428 /* end confdefs.h.  */
   6429 int i;
   6430 int
   6431 main ()
   6432 {
   6433 
   6434   ;
   6435   return 0;
   6436 }
   6437 _ACEOF
   6438 if ac_fn_c_try_link "$LINENO"; then :
   6439   eval $cacheid=yes
   6440 else
   6441   eval $cacheid=no
   6442 fi
   6443 rm -f core conftest.err conftest.$ac_objext \
   6444     conftest$ac_exeext conftest.$ac_ext
   6445 fi
   6446 
   6447 
   6448 		CFLAGS="$xorg_testset_save_CFLAGS"
   6449 
   6450 		eval supported=\$$cacheid
   6451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6452 $as_echo "$supported" >&6; }
   6453 		if test "$supported" = "yes" ; then
   6454 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6455 			found="yes"
   6456 		fi
   6457 	fi
   6458 
   6459 	if test $found = "no" ; then
   6460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6462 		fi
   6463 
   6464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6466 		fi
   6467 
   6468 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6469 
   6470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6471 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6472 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6473 		if eval \${$cacheid+:} false; then :
   6474   $as_echo_n "(cached) " >&6
   6475 else
   6476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6477 /* end confdefs.h.  */
   6478 int i;
   6479 int
   6480 main ()
   6481 {
   6482 
   6483   ;
   6484   return 0;
   6485 }
   6486 _ACEOF
   6487 if ac_fn_c_try_link "$LINENO"; then :
   6488   eval $cacheid=yes
   6489 else
   6490   eval $cacheid=no
   6491 fi
   6492 rm -f core conftest.err conftest.$ac_objext \
   6493     conftest$ac_exeext conftest.$ac_ext
   6494 fi
   6495 
   6496 
   6497 		CFLAGS="$xorg_testset_save_CFLAGS"
   6498 
   6499 		eval supported=\$$cacheid
   6500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6501 $as_echo "$supported" >&6; }
   6502 		if test "$supported" = "yes" ; then
   6503 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6504 			found="yes"
   6505 		fi
   6506 	fi
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 xorg_testset_save_CFLAGS="$CFLAGS"
   6523 
   6524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6529   $as_echo_n "(cached) " >&6
   6530 else
   6531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6532 /* end confdefs.h.  */
   6533 int i;
   6534 _ACEOF
   6535 if ac_fn_c_try_compile "$LINENO"; then :
   6536   xorg_cv_cc_flag_unknown_warning_option=yes
   6537 else
   6538   xorg_cv_cc_flag_unknown_warning_option=no
   6539 fi
   6540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6541 fi
   6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6545 	CFLAGS="$xorg_testset_save_CFLAGS"
   6546 fi
   6547 
   6548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6551 	fi
   6552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6556   $as_echo_n "(cached) " >&6
   6557 else
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"; then :
   6563   xorg_cv_cc_flag_unused_command_line_argument=yes
   6564 else
   6565   xorg_cv_cc_flag_unused_command_line_argument=no
   6566 fi
   6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6568 fi
   6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6572 	CFLAGS="$xorg_testset_save_CFLAGS"
   6573 fi
   6574 
   6575 found="no"
   6576 
   6577 	if test $found = "no" ; then
   6578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6580 		fi
   6581 
   6582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6584 		fi
   6585 
   6586 		CFLAGS="$CFLAGS -Werror=nonnull"
   6587 
   6588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6589 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6590 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   6591 		if eval \${$cacheid+:} false; then :
   6592   $as_echo_n "(cached) " >&6
   6593 else
   6594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6595 /* end confdefs.h.  */
   6596 int i;
   6597 int
   6598 main ()
   6599 {
   6600 
   6601   ;
   6602   return 0;
   6603 }
   6604 _ACEOF
   6605 if ac_fn_c_try_link "$LINENO"; then :
   6606   eval $cacheid=yes
   6607 else
   6608   eval $cacheid=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext \
   6611     conftest$ac_exeext conftest.$ac_ext
   6612 fi
   6613 
   6614 
   6615 		CFLAGS="$xorg_testset_save_CFLAGS"
   6616 
   6617 		eval supported=\$$cacheid
   6618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6619 $as_echo "$supported" >&6; }
   6620 		if test "$supported" = "yes" ; then
   6621 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6622 			found="yes"
   6623 		fi
   6624 	fi
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 xorg_testset_save_CFLAGS="$CFLAGS"
   6641 
   6642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6647   $as_echo_n "(cached) " >&6
   6648 else
   6649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6650 /* end confdefs.h.  */
   6651 int i;
   6652 _ACEOF
   6653 if ac_fn_c_try_compile "$LINENO"; then :
   6654   xorg_cv_cc_flag_unknown_warning_option=yes
   6655 else
   6656   xorg_cv_cc_flag_unknown_warning_option=no
   6657 fi
   6658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6659 fi
   6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6663 	CFLAGS="$xorg_testset_save_CFLAGS"
   6664 fi
   6665 
   6666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6669 	fi
   6670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6674   $as_echo_n "(cached) " >&6
   6675 else
   6676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 _ACEOF
   6680 if ac_fn_c_try_compile "$LINENO"; then :
   6681   xorg_cv_cc_flag_unused_command_line_argument=yes
   6682 else
   6683   xorg_cv_cc_flag_unused_command_line_argument=no
   6684 fi
   6685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6686 fi
   6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6690 	CFLAGS="$xorg_testset_save_CFLAGS"
   6691 fi
   6692 
   6693 found="no"
   6694 
   6695 	if test $found = "no" ; then
   6696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6698 		fi
   6699 
   6700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6702 		fi
   6703 
   6704 		CFLAGS="$CFLAGS -Werror=init-self"
   6705 
   6706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6707 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6708 		cacheid=xorg_cv_cc_flag__Werror_init_self
   6709 		if eval \${$cacheid+:} false; then :
   6710   $as_echo_n "(cached) " >&6
   6711 else
   6712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6713 /* end confdefs.h.  */
   6714 int i;
   6715 int
   6716 main ()
   6717 {
   6718 
   6719   ;
   6720   return 0;
   6721 }
   6722 _ACEOF
   6723 if ac_fn_c_try_link "$LINENO"; then :
   6724   eval $cacheid=yes
   6725 else
   6726   eval $cacheid=no
   6727 fi
   6728 rm -f core conftest.err conftest.$ac_objext \
   6729     conftest$ac_exeext conftest.$ac_ext
   6730 fi
   6731 
   6732 
   6733 		CFLAGS="$xorg_testset_save_CFLAGS"
   6734 
   6735 		eval supported=\$$cacheid
   6736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6737 $as_echo "$supported" >&6; }
   6738 		if test "$supported" = "yes" ; then
   6739 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6740 			found="yes"
   6741 		fi
   6742 	fi
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 xorg_testset_save_CFLAGS="$CFLAGS"
   6759 
   6760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6765   $as_echo_n "(cached) " >&6
   6766 else
   6767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6768 /* end confdefs.h.  */
   6769 int i;
   6770 _ACEOF
   6771 if ac_fn_c_try_compile "$LINENO"; then :
   6772   xorg_cv_cc_flag_unknown_warning_option=yes
   6773 else
   6774   xorg_cv_cc_flag_unknown_warning_option=no
   6775 fi
   6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6777 fi
   6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6781 	CFLAGS="$xorg_testset_save_CFLAGS"
   6782 fi
   6783 
   6784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6787 	fi
   6788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6792   $as_echo_n "(cached) " >&6
   6793 else
   6794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6795 /* end confdefs.h.  */
   6796 int i;
   6797 _ACEOF
   6798 if ac_fn_c_try_compile "$LINENO"; then :
   6799   xorg_cv_cc_flag_unused_command_line_argument=yes
   6800 else
   6801   xorg_cv_cc_flag_unused_command_line_argument=no
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6804 fi
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6808 	CFLAGS="$xorg_testset_save_CFLAGS"
   6809 fi
   6810 
   6811 found="no"
   6812 
   6813 	if test $found = "no" ; then
   6814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6816 		fi
   6817 
   6818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6820 		fi
   6821 
   6822 		CFLAGS="$CFLAGS -Werror=main"
   6823 
   6824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   6825 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   6826 		cacheid=xorg_cv_cc_flag__Werror_main
   6827 		if eval \${$cacheid+:} false; then :
   6828   $as_echo_n "(cached) " >&6
   6829 else
   6830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6831 /* end confdefs.h.  */
   6832 int i;
   6833 int
   6834 main ()
   6835 {
   6836 
   6837   ;
   6838   return 0;
   6839 }
   6840 _ACEOF
   6841 if ac_fn_c_try_link "$LINENO"; then :
   6842   eval $cacheid=yes
   6843 else
   6844   eval $cacheid=no
   6845 fi
   6846 rm -f core conftest.err conftest.$ac_objext \
   6847     conftest$ac_exeext conftest.$ac_ext
   6848 fi
   6849 
   6850 
   6851 		CFLAGS="$xorg_testset_save_CFLAGS"
   6852 
   6853 		eval supported=\$$cacheid
   6854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6855 $as_echo "$supported" >&6; }
   6856 		if test "$supported" = "yes" ; then
   6857 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   6858 			found="yes"
   6859 		fi
   6860 	fi
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 xorg_testset_save_CFLAGS="$CFLAGS"
   6877 
   6878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6881 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6882 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6883   $as_echo_n "(cached) " >&6
   6884 else
   6885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6886 /* end confdefs.h.  */
   6887 int i;
   6888 _ACEOF
   6889 if ac_fn_c_try_compile "$LINENO"; then :
   6890   xorg_cv_cc_flag_unknown_warning_option=yes
   6891 else
   6892   xorg_cv_cc_flag_unknown_warning_option=no
   6893 fi
   6894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6895 fi
   6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6897 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6899 	CFLAGS="$xorg_testset_save_CFLAGS"
   6900 fi
   6901 
   6902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6905 	fi
   6906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6908 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6909 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6910   $as_echo_n "(cached) " >&6
   6911 else
   6912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6913 /* end confdefs.h.  */
   6914 int i;
   6915 _ACEOF
   6916 if ac_fn_c_try_compile "$LINENO"; then :
   6917   xorg_cv_cc_flag_unused_command_line_argument=yes
   6918 else
   6919   xorg_cv_cc_flag_unused_command_line_argument=no
   6920 fi
   6921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6922 fi
   6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6924 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6926 	CFLAGS="$xorg_testset_save_CFLAGS"
   6927 fi
   6928 
   6929 found="no"
   6930 
   6931 	if test $found = "no" ; then
   6932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6934 		fi
   6935 
   6936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6938 		fi
   6939 
   6940 		CFLAGS="$CFLAGS -Werror=missing-braces"
   6941 
   6942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   6943 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   6944 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   6945 		if eval \${$cacheid+:} false; then :
   6946   $as_echo_n "(cached) " >&6
   6947 else
   6948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6949 /* end confdefs.h.  */
   6950 int i;
   6951 int
   6952 main ()
   6953 {
   6954 
   6955   ;
   6956   return 0;
   6957 }
   6958 _ACEOF
   6959 if ac_fn_c_try_link "$LINENO"; then :
   6960   eval $cacheid=yes
   6961 else
   6962   eval $cacheid=no
   6963 fi
   6964 rm -f core conftest.err conftest.$ac_objext \
   6965     conftest$ac_exeext conftest.$ac_ext
   6966 fi
   6967 
   6968 
   6969 		CFLAGS="$xorg_testset_save_CFLAGS"
   6970 
   6971 		eval supported=\$$cacheid
   6972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6973 $as_echo "$supported" >&6; }
   6974 		if test "$supported" = "yes" ; then
   6975 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   6976 			found="yes"
   6977 		fi
   6978 	fi
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 xorg_testset_save_CFLAGS="$CFLAGS"
   6995 
   6996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6999 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7000 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7001   $as_echo_n "(cached) " >&6
   7002 else
   7003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 _ACEOF
   7007 if ac_fn_c_try_compile "$LINENO"; then :
   7008   xorg_cv_cc_flag_unknown_warning_option=yes
   7009 else
   7010   xorg_cv_cc_flag_unknown_warning_option=no
   7011 fi
   7012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7013 fi
   7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7015 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7017 	CFLAGS="$xorg_testset_save_CFLAGS"
   7018 fi
   7019 
   7020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7023 	fi
   7024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7026 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7027 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7028   $as_echo_n "(cached) " >&6
   7029 else
   7030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7031 /* end confdefs.h.  */
   7032 int i;
   7033 _ACEOF
   7034 if ac_fn_c_try_compile "$LINENO"; then :
   7035   xorg_cv_cc_flag_unused_command_line_argument=yes
   7036 else
   7037   xorg_cv_cc_flag_unused_command_line_argument=no
   7038 fi
   7039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7040 fi
   7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7042 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7044 	CFLAGS="$xorg_testset_save_CFLAGS"
   7045 fi
   7046 
   7047 found="no"
   7048 
   7049 	if test $found = "no" ; then
   7050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7052 		fi
   7053 
   7054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7056 		fi
   7057 
   7058 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7059 
   7060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7061 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7062 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7063 		if eval \${$cacheid+:} false; then :
   7064   $as_echo_n "(cached) " >&6
   7065 else
   7066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 int
   7070 main ()
   7071 {
   7072 
   7073   ;
   7074   return 0;
   7075 }
   7076 _ACEOF
   7077 if ac_fn_c_try_link "$LINENO"; then :
   7078   eval $cacheid=yes
   7079 else
   7080   eval $cacheid=no
   7081 fi
   7082 rm -f core conftest.err conftest.$ac_objext \
   7083     conftest$ac_exeext conftest.$ac_ext
   7084 fi
   7085 
   7086 
   7087 		CFLAGS="$xorg_testset_save_CFLAGS"
   7088 
   7089 		eval supported=\$$cacheid
   7090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7091 $as_echo "$supported" >&6; }
   7092 		if test "$supported" = "yes" ; then
   7093 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7094 			found="yes"
   7095 		fi
   7096 	fi
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 xorg_testset_save_CFLAGS="$CFLAGS"
   7113 
   7114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7117 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7118 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7119   $as_echo_n "(cached) " >&6
   7120 else
   7121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7122 /* end confdefs.h.  */
   7123 int i;
   7124 _ACEOF
   7125 if ac_fn_c_try_compile "$LINENO"; then :
   7126   xorg_cv_cc_flag_unknown_warning_option=yes
   7127 else
   7128   xorg_cv_cc_flag_unknown_warning_option=no
   7129 fi
   7130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7131 fi
   7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7133 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7135 	CFLAGS="$xorg_testset_save_CFLAGS"
   7136 fi
   7137 
   7138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7141 	fi
   7142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7144 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7145 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7146   $as_echo_n "(cached) " >&6
   7147 else
   7148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7149 /* end confdefs.h.  */
   7150 int i;
   7151 _ACEOF
   7152 if ac_fn_c_try_compile "$LINENO"; then :
   7153   xorg_cv_cc_flag_unused_command_line_argument=yes
   7154 else
   7155   xorg_cv_cc_flag_unused_command_line_argument=no
   7156 fi
   7157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7158 fi
   7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7160 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7162 	CFLAGS="$xorg_testset_save_CFLAGS"
   7163 fi
   7164 
   7165 found="no"
   7166 
   7167 	if test $found = "no" ; then
   7168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7170 		fi
   7171 
   7172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7174 		fi
   7175 
   7176 		CFLAGS="$CFLAGS -Werror=return-type"
   7177 
   7178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7179 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7180 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7181 		if eval \${$cacheid+:} false; then :
   7182   $as_echo_n "(cached) " >&6
   7183 else
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 int
   7188 main ()
   7189 {
   7190 
   7191   ;
   7192   return 0;
   7193 }
   7194 _ACEOF
   7195 if ac_fn_c_try_link "$LINENO"; then :
   7196   eval $cacheid=yes
   7197 else
   7198   eval $cacheid=no
   7199 fi
   7200 rm -f core conftest.err conftest.$ac_objext \
   7201     conftest$ac_exeext conftest.$ac_ext
   7202 fi
   7203 
   7204 
   7205 		CFLAGS="$xorg_testset_save_CFLAGS"
   7206 
   7207 		eval supported=\$$cacheid
   7208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7209 $as_echo "$supported" >&6; }
   7210 		if test "$supported" = "yes" ; then
   7211 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7212 			found="yes"
   7213 		fi
   7214 	fi
   7215 
   7216 	if test $found = "no" ; then
   7217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7219 		fi
   7220 
   7221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7223 		fi
   7224 
   7225 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7226 
   7227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7228 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7229 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7230 		if eval \${$cacheid+:} false; then :
   7231   $as_echo_n "(cached) " >&6
   7232 else
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 int i;
   7236 int
   7237 main ()
   7238 {
   7239 
   7240   ;
   7241   return 0;
   7242 }
   7243 _ACEOF
   7244 if ac_fn_c_try_link "$LINENO"; then :
   7245   eval $cacheid=yes
   7246 else
   7247   eval $cacheid=no
   7248 fi
   7249 rm -f core conftest.err conftest.$ac_objext \
   7250     conftest$ac_exeext conftest.$ac_ext
   7251 fi
   7252 
   7253 
   7254 		CFLAGS="$xorg_testset_save_CFLAGS"
   7255 
   7256 		eval supported=\$$cacheid
   7257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7258 $as_echo "$supported" >&6; }
   7259 		if test "$supported" = "yes" ; then
   7260 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7261 			found="yes"
   7262 		fi
   7263 	fi
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 xorg_testset_save_CFLAGS="$CFLAGS"
   7280 
   7281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 int i;
   7291 _ACEOF
   7292 if ac_fn_c_try_compile "$LINENO"; then :
   7293   xorg_cv_cc_flag_unknown_warning_option=yes
   7294 else
   7295   xorg_cv_cc_flag_unknown_warning_option=no
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7298 fi
   7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7302 	CFLAGS="$xorg_testset_save_CFLAGS"
   7303 fi
   7304 
   7305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7308 	fi
   7309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 _ACEOF
   7319 if ac_fn_c_try_compile "$LINENO"; then :
   7320   xorg_cv_cc_flag_unused_command_line_argument=yes
   7321 else
   7322   xorg_cv_cc_flag_unused_command_line_argument=no
   7323 fi
   7324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7325 fi
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7329 	CFLAGS="$xorg_testset_save_CFLAGS"
   7330 fi
   7331 
   7332 found="no"
   7333 
   7334 	if test $found = "no" ; then
   7335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7337 		fi
   7338 
   7339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7341 		fi
   7342 
   7343 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7344 
   7345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7346 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7347 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7348 		if eval \${$cacheid+:} false; then :
   7349   $as_echo_n "(cached) " >&6
   7350 else
   7351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7352 /* end confdefs.h.  */
   7353 int i;
   7354 int
   7355 main ()
   7356 {
   7357 
   7358   ;
   7359   return 0;
   7360 }
   7361 _ACEOF
   7362 if ac_fn_c_try_link "$LINENO"; then :
   7363   eval $cacheid=yes
   7364 else
   7365   eval $cacheid=no
   7366 fi
   7367 rm -f core conftest.err conftest.$ac_objext \
   7368     conftest$ac_exeext conftest.$ac_ext
   7369 fi
   7370 
   7371 
   7372 		CFLAGS="$xorg_testset_save_CFLAGS"
   7373 
   7374 		eval supported=\$$cacheid
   7375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7376 $as_echo "$supported" >&6; }
   7377 		if test "$supported" = "yes" ; then
   7378 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7379 			found="yes"
   7380 		fi
   7381 	fi
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 xorg_testset_save_CFLAGS="$CFLAGS"
   7398 
   7399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7402 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7403 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7404   $as_echo_n "(cached) " >&6
   7405 else
   7406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 int i;
   7409 _ACEOF
   7410 if ac_fn_c_try_compile "$LINENO"; then :
   7411   xorg_cv_cc_flag_unknown_warning_option=yes
   7412 else
   7413   xorg_cv_cc_flag_unknown_warning_option=no
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7416 fi
   7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7418 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7420 	CFLAGS="$xorg_testset_save_CFLAGS"
   7421 fi
   7422 
   7423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	fi
   7427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7429 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7430 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7431   $as_echo_n "(cached) " >&6
   7432 else
   7433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7434 /* end confdefs.h.  */
   7435 int i;
   7436 _ACEOF
   7437 if ac_fn_c_try_compile "$LINENO"; then :
   7438   xorg_cv_cc_flag_unused_command_line_argument=yes
   7439 else
   7440   xorg_cv_cc_flag_unused_command_line_argument=no
   7441 fi
   7442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7443 fi
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7445 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7447 	CFLAGS="$xorg_testset_save_CFLAGS"
   7448 fi
   7449 
   7450 found="no"
   7451 
   7452 	if test $found = "no" ; then
   7453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7455 		fi
   7456 
   7457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7459 		fi
   7460 
   7461 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7462 
   7463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7464 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7465 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7466 		if eval \${$cacheid+:} false; then :
   7467   $as_echo_n "(cached) " >&6
   7468 else
   7469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7470 /* end confdefs.h.  */
   7471 int i;
   7472 int
   7473 main ()
   7474 {
   7475 
   7476   ;
   7477   return 0;
   7478 }
   7479 _ACEOF
   7480 if ac_fn_c_try_link "$LINENO"; then :
   7481   eval $cacheid=yes
   7482 else
   7483   eval $cacheid=no
   7484 fi
   7485 rm -f core conftest.err conftest.$ac_objext \
   7486     conftest$ac_exeext conftest.$ac_ext
   7487 fi
   7488 
   7489 
   7490 		CFLAGS="$xorg_testset_save_CFLAGS"
   7491 
   7492 		eval supported=\$$cacheid
   7493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7494 $as_echo "$supported" >&6; }
   7495 		if test "$supported" = "yes" ; then
   7496 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7497 			found="yes"
   7498 		fi
   7499 	fi
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 xorg_testset_save_CFLAGS="$CFLAGS"
   7516 
   7517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7525 /* end confdefs.h.  */
   7526 int i;
   7527 _ACEOF
   7528 if ac_fn_c_try_compile "$LINENO"; then :
   7529   xorg_cv_cc_flag_unknown_warning_option=yes
   7530 else
   7531   xorg_cv_cc_flag_unknown_warning_option=no
   7532 fi
   7533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7534 fi
   7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7538 	CFLAGS="$xorg_testset_save_CFLAGS"
   7539 fi
   7540 
   7541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7544 	fi
   7545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7549   $as_echo_n "(cached) " >&6
   7550 else
   7551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 int i;
   7554 _ACEOF
   7555 if ac_fn_c_try_compile "$LINENO"; then :
   7556   xorg_cv_cc_flag_unused_command_line_argument=yes
   7557 else
   7558   xorg_cv_cc_flag_unused_command_line_argument=no
   7559 fi
   7560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7561 fi
   7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7565 	CFLAGS="$xorg_testset_save_CFLAGS"
   7566 fi
   7567 
   7568 found="no"
   7569 
   7570 	if test $found = "no" ; then
   7571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7573 		fi
   7574 
   7575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7577 		fi
   7578 
   7579 		CFLAGS="$CFLAGS -Werror=write-strings"
   7580 
   7581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7582 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7583 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   7584 		if eval \${$cacheid+:} false; then :
   7585   $as_echo_n "(cached) " >&6
   7586 else
   7587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7588 /* end confdefs.h.  */
   7589 int i;
   7590 int
   7591 main ()
   7592 {
   7593 
   7594   ;
   7595   return 0;
   7596 }
   7597 _ACEOF
   7598 if ac_fn_c_try_link "$LINENO"; then :
   7599   eval $cacheid=yes
   7600 else
   7601   eval $cacheid=no
   7602 fi
   7603 rm -f core conftest.err conftest.$ac_objext \
   7604     conftest$ac_exeext conftest.$ac_ext
   7605 fi
   7606 
   7607 
   7608 		CFLAGS="$xorg_testset_save_CFLAGS"
   7609 
   7610 		eval supported=\$$cacheid
   7611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7612 $as_echo "$supported" >&6; }
   7613 		if test "$supported" = "yes" ; then
   7614 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7615 			found="yes"
   7616 		fi
   7617 	fi
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 xorg_testset_save_CFLAGS="$CFLAGS"
   7634 
   7635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7640   $as_echo_n "(cached) " >&6
   7641 else
   7642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7643 /* end confdefs.h.  */
   7644 int i;
   7645 _ACEOF
   7646 if ac_fn_c_try_compile "$LINENO"; then :
   7647   xorg_cv_cc_flag_unknown_warning_option=yes
   7648 else
   7649   xorg_cv_cc_flag_unknown_warning_option=no
   7650 fi
   7651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7652 fi
   7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7656 	CFLAGS="$xorg_testset_save_CFLAGS"
   7657 fi
   7658 
   7659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7662 	fi
   7663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7667   $as_echo_n "(cached) " >&6
   7668 else
   7669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7670 /* end confdefs.h.  */
   7671 int i;
   7672 _ACEOF
   7673 if ac_fn_c_try_compile "$LINENO"; then :
   7674   xorg_cv_cc_flag_unused_command_line_argument=yes
   7675 else
   7676   xorg_cv_cc_flag_unused_command_line_argument=no
   7677 fi
   7678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7679 fi
   7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7683 	CFLAGS="$xorg_testset_save_CFLAGS"
   7684 fi
   7685 
   7686 found="no"
   7687 
   7688 	if test $found = "no" ; then
   7689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7691 		fi
   7692 
   7693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7695 		fi
   7696 
   7697 		CFLAGS="$CFLAGS -Werror=address"
   7698 
   7699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7700 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7701 		cacheid=xorg_cv_cc_flag__Werror_address
   7702 		if eval \${$cacheid+:} false; then :
   7703   $as_echo_n "(cached) " >&6
   7704 else
   7705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7706 /* end confdefs.h.  */
   7707 int i;
   7708 int
   7709 main ()
   7710 {
   7711 
   7712   ;
   7713   return 0;
   7714 }
   7715 _ACEOF
   7716 if ac_fn_c_try_link "$LINENO"; then :
   7717   eval $cacheid=yes
   7718 else
   7719   eval $cacheid=no
   7720 fi
   7721 rm -f core conftest.err conftest.$ac_objext \
   7722     conftest$ac_exeext conftest.$ac_ext
   7723 fi
   7724 
   7725 
   7726 		CFLAGS="$xorg_testset_save_CFLAGS"
   7727 
   7728 		eval supported=\$$cacheid
   7729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7730 $as_echo "$supported" >&6; }
   7731 		if test "$supported" = "yes" ; then
   7732 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7733 			found="yes"
   7734 		fi
   7735 	fi
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 xorg_testset_save_CFLAGS="$CFLAGS"
   7752 
   7753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7758   $as_echo_n "(cached) " >&6
   7759 else
   7760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7761 /* end confdefs.h.  */
   7762 int i;
   7763 _ACEOF
   7764 if ac_fn_c_try_compile "$LINENO"; then :
   7765   xorg_cv_cc_flag_unknown_warning_option=yes
   7766 else
   7767   xorg_cv_cc_flag_unknown_warning_option=no
   7768 fi
   7769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7770 fi
   7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7774 	CFLAGS="$xorg_testset_save_CFLAGS"
   7775 fi
   7776 
   7777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7780 	fi
   7781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7785   $as_echo_n "(cached) " >&6
   7786 else
   7787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7788 /* end confdefs.h.  */
   7789 int i;
   7790 _ACEOF
   7791 if ac_fn_c_try_compile "$LINENO"; then :
   7792   xorg_cv_cc_flag_unused_command_line_argument=yes
   7793 else
   7794   xorg_cv_cc_flag_unused_command_line_argument=no
   7795 fi
   7796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7797 fi
   7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7801 	CFLAGS="$xorg_testset_save_CFLAGS"
   7802 fi
   7803 
   7804 found="no"
   7805 
   7806 	if test $found = "no" ; then
   7807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7809 		fi
   7810 
   7811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7813 		fi
   7814 
   7815 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   7816 
   7817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   7818 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   7819 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   7820 		if eval \${$cacheid+:} false; then :
   7821   $as_echo_n "(cached) " >&6
   7822 else
   7823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7824 /* end confdefs.h.  */
   7825 int i;
   7826 int
   7827 main ()
   7828 {
   7829 
   7830   ;
   7831   return 0;
   7832 }
   7833 _ACEOF
   7834 if ac_fn_c_try_link "$LINENO"; then :
   7835   eval $cacheid=yes
   7836 else
   7837   eval $cacheid=no
   7838 fi
   7839 rm -f core conftest.err conftest.$ac_objext \
   7840     conftest$ac_exeext conftest.$ac_ext
   7841 fi
   7842 
   7843 
   7844 		CFLAGS="$xorg_testset_save_CFLAGS"
   7845 
   7846 		eval supported=\$$cacheid
   7847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7848 $as_echo "$supported" >&6; }
   7849 		if test "$supported" = "yes" ; then
   7850 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   7851 			found="yes"
   7852 		fi
   7853 	fi
   7854 
   7855 	if test $found = "no" ; then
   7856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7858 		fi
   7859 
   7860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7862 		fi
   7863 
   7864 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7865 
   7866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   7867 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   7868 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   7869 		if eval \${$cacheid+:} false; then :
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 int i;
   7875 int
   7876 main ()
   7877 {
   7878 
   7879   ;
   7880   return 0;
   7881 }
   7882 _ACEOF
   7883 if ac_fn_c_try_link "$LINENO"; then :
   7884   eval $cacheid=yes
   7885 else
   7886   eval $cacheid=no
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext \
   7889     conftest$ac_exeext conftest.$ac_ext
   7890 fi
   7891 
   7892 
   7893 		CFLAGS="$xorg_testset_save_CFLAGS"
   7894 
   7895 		eval supported=\$$cacheid
   7896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7897 $as_echo "$supported" >&6; }
   7898 		if test "$supported" = "yes" ; then
   7899 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7900 			found="yes"
   7901 		fi
   7902 	fi
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 xorg_testset_save_CFLAGS="$CFLAGS"
   7919 
   7920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7923 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7924 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7928 /* end confdefs.h.  */
   7929 int i;
   7930 _ACEOF
   7931 if ac_fn_c_try_compile "$LINENO"; then :
   7932   xorg_cv_cc_flag_unknown_warning_option=yes
   7933 else
   7934   xorg_cv_cc_flag_unknown_warning_option=no
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7937 fi
   7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7939 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7941 	CFLAGS="$xorg_testset_save_CFLAGS"
   7942 fi
   7943 
   7944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7947 	fi
   7948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7950 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7951 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7952   $as_echo_n "(cached) " >&6
   7953 else
   7954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7955 /* end confdefs.h.  */
   7956 int i;
   7957 _ACEOF
   7958 if ac_fn_c_try_compile "$LINENO"; then :
   7959   xorg_cv_cc_flag_unused_command_line_argument=yes
   7960 else
   7961   xorg_cv_cc_flag_unused_command_line_argument=no
   7962 fi
   7963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7964 fi
   7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7966 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7968 	CFLAGS="$xorg_testset_save_CFLAGS"
   7969 fi
   7970 
   7971 found="no"
   7972 
   7973 	if test $found = "no" ; then
   7974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7976 		fi
   7977 
   7978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7980 		fi
   7981 
   7982 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   7983 
   7984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   7985 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   7986 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   7987 		if eval \${$cacheid+:} false; then :
   7988   $as_echo_n "(cached) " >&6
   7989 else
   7990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7991 /* end confdefs.h.  */
   7992 int i;
   7993 int
   7994 main ()
   7995 {
   7996 
   7997   ;
   7998   return 0;
   7999 }
   8000 _ACEOF
   8001 if ac_fn_c_try_link "$LINENO"; then :
   8002   eval $cacheid=yes
   8003 else
   8004   eval $cacheid=no
   8005 fi
   8006 rm -f core conftest.err conftest.$ac_objext \
   8007     conftest$ac_exeext conftest.$ac_ext
   8008 fi
   8009 
   8010 
   8011 		CFLAGS="$xorg_testset_save_CFLAGS"
   8012 
   8013 		eval supported=\$$cacheid
   8014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8015 $as_echo "$supported" >&6; }
   8016 		if test "$supported" = "yes" ; then
   8017 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8018 			found="yes"
   8019 		fi
   8020 	fi
   8021 
   8022  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8023 else
   8024 { $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
   8025 $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;}
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 xorg_testset_save_CFLAGS="$CFLAGS"
   8040 
   8041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8046   $as_echo_n "(cached) " >&6
   8047 else
   8048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8049 /* end confdefs.h.  */
   8050 int i;
   8051 _ACEOF
   8052 if ac_fn_c_try_compile "$LINENO"; then :
   8053   xorg_cv_cc_flag_unknown_warning_option=yes
   8054 else
   8055   xorg_cv_cc_flag_unknown_warning_option=no
   8056 fi
   8057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8058 fi
   8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8062 	CFLAGS="$xorg_testset_save_CFLAGS"
   8063 fi
   8064 
   8065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8068 	fi
   8069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8073   $as_echo_n "(cached) " >&6
   8074 else
   8075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8076 /* end confdefs.h.  */
   8077 int i;
   8078 _ACEOF
   8079 if ac_fn_c_try_compile "$LINENO"; then :
   8080   xorg_cv_cc_flag_unused_command_line_argument=yes
   8081 else
   8082   xorg_cv_cc_flag_unused_command_line_argument=no
   8083 fi
   8084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8085 fi
   8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8089 	CFLAGS="$xorg_testset_save_CFLAGS"
   8090 fi
   8091 
   8092 found="no"
   8093 
   8094 	if test $found = "no" ; then
   8095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8097 		fi
   8098 
   8099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8101 		fi
   8102 
   8103 		CFLAGS="$CFLAGS -Wimplicit"
   8104 
   8105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8106 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8107 		cacheid=xorg_cv_cc_flag__Wimplicit
   8108 		if eval \${$cacheid+:} false; then :
   8109   $as_echo_n "(cached) " >&6
   8110 else
   8111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8112 /* end confdefs.h.  */
   8113 int i;
   8114 int
   8115 main ()
   8116 {
   8117 
   8118   ;
   8119   return 0;
   8120 }
   8121 _ACEOF
   8122 if ac_fn_c_try_link "$LINENO"; then :
   8123   eval $cacheid=yes
   8124 else
   8125   eval $cacheid=no
   8126 fi
   8127 rm -f core conftest.err conftest.$ac_objext \
   8128     conftest$ac_exeext conftest.$ac_ext
   8129 fi
   8130 
   8131 
   8132 		CFLAGS="$xorg_testset_save_CFLAGS"
   8133 
   8134 		eval supported=\$$cacheid
   8135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8136 $as_echo "$supported" >&6; }
   8137 		if test "$supported" = "yes" ; then
   8138 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8139 			found="yes"
   8140 		fi
   8141 	fi
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 xorg_testset_save_CFLAGS="$CFLAGS"
   8158 
   8159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8164   $as_echo_n "(cached) " >&6
   8165 else
   8166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8167 /* end confdefs.h.  */
   8168 int i;
   8169 _ACEOF
   8170 if ac_fn_c_try_compile "$LINENO"; then :
   8171   xorg_cv_cc_flag_unknown_warning_option=yes
   8172 else
   8173   xorg_cv_cc_flag_unknown_warning_option=no
   8174 fi
   8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8176 fi
   8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8180 	CFLAGS="$xorg_testset_save_CFLAGS"
   8181 fi
   8182 
   8183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8186 	fi
   8187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8191   $as_echo_n "(cached) " >&6
   8192 else
   8193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8194 /* end confdefs.h.  */
   8195 int i;
   8196 _ACEOF
   8197 if ac_fn_c_try_compile "$LINENO"; then :
   8198   xorg_cv_cc_flag_unused_command_line_argument=yes
   8199 else
   8200   xorg_cv_cc_flag_unused_command_line_argument=no
   8201 fi
   8202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8203 fi
   8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8207 	CFLAGS="$xorg_testset_save_CFLAGS"
   8208 fi
   8209 
   8210 found="no"
   8211 
   8212 	if test $found = "no" ; then
   8213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8215 		fi
   8216 
   8217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8219 		fi
   8220 
   8221 		CFLAGS="$CFLAGS -Wnonnull"
   8222 
   8223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8224 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8225 		cacheid=xorg_cv_cc_flag__Wnonnull
   8226 		if eval \${$cacheid+:} false; then :
   8227   $as_echo_n "(cached) " >&6
   8228 else
   8229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8230 /* end confdefs.h.  */
   8231 int i;
   8232 int
   8233 main ()
   8234 {
   8235 
   8236   ;
   8237   return 0;
   8238 }
   8239 _ACEOF
   8240 if ac_fn_c_try_link "$LINENO"; then :
   8241   eval $cacheid=yes
   8242 else
   8243   eval $cacheid=no
   8244 fi
   8245 rm -f core conftest.err conftest.$ac_objext \
   8246     conftest$ac_exeext conftest.$ac_ext
   8247 fi
   8248 
   8249 
   8250 		CFLAGS="$xorg_testset_save_CFLAGS"
   8251 
   8252 		eval supported=\$$cacheid
   8253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8254 $as_echo "$supported" >&6; }
   8255 		if test "$supported" = "yes" ; then
   8256 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8257 			found="yes"
   8258 		fi
   8259 	fi
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 xorg_testset_save_CFLAGS="$CFLAGS"
   8276 
   8277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8285 /* end confdefs.h.  */
   8286 int i;
   8287 _ACEOF
   8288 if ac_fn_c_try_compile "$LINENO"; then :
   8289   xorg_cv_cc_flag_unknown_warning_option=yes
   8290 else
   8291   xorg_cv_cc_flag_unknown_warning_option=no
   8292 fi
   8293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8294 fi
   8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8298 	CFLAGS="$xorg_testset_save_CFLAGS"
   8299 fi
   8300 
   8301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8304 	fi
   8305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8309   $as_echo_n "(cached) " >&6
   8310 else
   8311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8312 /* end confdefs.h.  */
   8313 int i;
   8314 _ACEOF
   8315 if ac_fn_c_try_compile "$LINENO"; then :
   8316   xorg_cv_cc_flag_unused_command_line_argument=yes
   8317 else
   8318   xorg_cv_cc_flag_unused_command_line_argument=no
   8319 fi
   8320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8321 fi
   8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8325 	CFLAGS="$xorg_testset_save_CFLAGS"
   8326 fi
   8327 
   8328 found="no"
   8329 
   8330 	if test $found = "no" ; then
   8331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8333 		fi
   8334 
   8335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8337 		fi
   8338 
   8339 		CFLAGS="$CFLAGS -Winit-self"
   8340 
   8341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8342 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8343 		cacheid=xorg_cv_cc_flag__Winit_self
   8344 		if eval \${$cacheid+:} false; then :
   8345   $as_echo_n "(cached) " >&6
   8346 else
   8347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8348 /* end confdefs.h.  */
   8349 int i;
   8350 int
   8351 main ()
   8352 {
   8353 
   8354   ;
   8355   return 0;
   8356 }
   8357 _ACEOF
   8358 if ac_fn_c_try_link "$LINENO"; then :
   8359   eval $cacheid=yes
   8360 else
   8361   eval $cacheid=no
   8362 fi
   8363 rm -f core conftest.err conftest.$ac_objext \
   8364     conftest$ac_exeext conftest.$ac_ext
   8365 fi
   8366 
   8367 
   8368 		CFLAGS="$xorg_testset_save_CFLAGS"
   8369 
   8370 		eval supported=\$$cacheid
   8371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8372 $as_echo "$supported" >&6; }
   8373 		if test "$supported" = "yes" ; then
   8374 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8375 			found="yes"
   8376 		fi
   8377 	fi
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 xorg_testset_save_CFLAGS="$CFLAGS"
   8394 
   8395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8400   $as_echo_n "(cached) " >&6
   8401 else
   8402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8403 /* end confdefs.h.  */
   8404 int i;
   8405 _ACEOF
   8406 if ac_fn_c_try_compile "$LINENO"; then :
   8407   xorg_cv_cc_flag_unknown_warning_option=yes
   8408 else
   8409   xorg_cv_cc_flag_unknown_warning_option=no
   8410 fi
   8411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8412 fi
   8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8416 	CFLAGS="$xorg_testset_save_CFLAGS"
   8417 fi
   8418 
   8419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8422 	fi
   8423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8427   $as_echo_n "(cached) " >&6
   8428 else
   8429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8430 /* end confdefs.h.  */
   8431 int i;
   8432 _ACEOF
   8433 if ac_fn_c_try_compile "$LINENO"; then :
   8434   xorg_cv_cc_flag_unused_command_line_argument=yes
   8435 else
   8436   xorg_cv_cc_flag_unused_command_line_argument=no
   8437 fi
   8438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8439 fi
   8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8443 	CFLAGS="$xorg_testset_save_CFLAGS"
   8444 fi
   8445 
   8446 found="no"
   8447 
   8448 	if test $found = "no" ; then
   8449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8451 		fi
   8452 
   8453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8455 		fi
   8456 
   8457 		CFLAGS="$CFLAGS -Wmain"
   8458 
   8459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8460 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8461 		cacheid=xorg_cv_cc_flag__Wmain
   8462 		if eval \${$cacheid+:} false; then :
   8463   $as_echo_n "(cached) " >&6
   8464 else
   8465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8466 /* end confdefs.h.  */
   8467 int i;
   8468 int
   8469 main ()
   8470 {
   8471 
   8472   ;
   8473   return 0;
   8474 }
   8475 _ACEOF
   8476 if ac_fn_c_try_link "$LINENO"; then :
   8477   eval $cacheid=yes
   8478 else
   8479   eval $cacheid=no
   8480 fi
   8481 rm -f core conftest.err conftest.$ac_objext \
   8482     conftest$ac_exeext conftest.$ac_ext
   8483 fi
   8484 
   8485 
   8486 		CFLAGS="$xorg_testset_save_CFLAGS"
   8487 
   8488 		eval supported=\$$cacheid
   8489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8490 $as_echo "$supported" >&6; }
   8491 		if test "$supported" = "yes" ; then
   8492 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8493 			found="yes"
   8494 		fi
   8495 	fi
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 xorg_testset_save_CFLAGS="$CFLAGS"
   8512 
   8513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8518   $as_echo_n "(cached) " >&6
   8519 else
   8520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8521 /* end confdefs.h.  */
   8522 int i;
   8523 _ACEOF
   8524 if ac_fn_c_try_compile "$LINENO"; then :
   8525   xorg_cv_cc_flag_unknown_warning_option=yes
   8526 else
   8527   xorg_cv_cc_flag_unknown_warning_option=no
   8528 fi
   8529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8530 fi
   8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8534 	CFLAGS="$xorg_testset_save_CFLAGS"
   8535 fi
   8536 
   8537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8540 	fi
   8541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8545   $as_echo_n "(cached) " >&6
   8546 else
   8547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8548 /* end confdefs.h.  */
   8549 int i;
   8550 _ACEOF
   8551 if ac_fn_c_try_compile "$LINENO"; then :
   8552   xorg_cv_cc_flag_unused_command_line_argument=yes
   8553 else
   8554   xorg_cv_cc_flag_unused_command_line_argument=no
   8555 fi
   8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8557 fi
   8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8561 	CFLAGS="$xorg_testset_save_CFLAGS"
   8562 fi
   8563 
   8564 found="no"
   8565 
   8566 	if test $found = "no" ; then
   8567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8569 		fi
   8570 
   8571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8573 		fi
   8574 
   8575 		CFLAGS="$CFLAGS -Wmissing-braces"
   8576 
   8577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8578 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8579 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8580 		if eval \${$cacheid+:} false; then :
   8581   $as_echo_n "(cached) " >&6
   8582 else
   8583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8584 /* end confdefs.h.  */
   8585 int i;
   8586 int
   8587 main ()
   8588 {
   8589 
   8590   ;
   8591   return 0;
   8592 }
   8593 _ACEOF
   8594 if ac_fn_c_try_link "$LINENO"; then :
   8595   eval $cacheid=yes
   8596 else
   8597   eval $cacheid=no
   8598 fi
   8599 rm -f core conftest.err conftest.$ac_objext \
   8600     conftest$ac_exeext conftest.$ac_ext
   8601 fi
   8602 
   8603 
   8604 		CFLAGS="$xorg_testset_save_CFLAGS"
   8605 
   8606 		eval supported=\$$cacheid
   8607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8608 $as_echo "$supported" >&6; }
   8609 		if test "$supported" = "yes" ; then
   8610 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8611 			found="yes"
   8612 		fi
   8613 	fi
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 xorg_testset_save_CFLAGS="$CFLAGS"
   8630 
   8631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8634 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8635 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8636   $as_echo_n "(cached) " >&6
   8637 else
   8638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8639 /* end confdefs.h.  */
   8640 int i;
   8641 _ACEOF
   8642 if ac_fn_c_try_compile "$LINENO"; then :
   8643   xorg_cv_cc_flag_unknown_warning_option=yes
   8644 else
   8645   xorg_cv_cc_flag_unknown_warning_option=no
   8646 fi
   8647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8648 fi
   8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8650 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8652 	CFLAGS="$xorg_testset_save_CFLAGS"
   8653 fi
   8654 
   8655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8658 	fi
   8659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8661 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8662 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8663   $as_echo_n "(cached) " >&6
   8664 else
   8665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8666 /* end confdefs.h.  */
   8667 int i;
   8668 _ACEOF
   8669 if ac_fn_c_try_compile "$LINENO"; then :
   8670   xorg_cv_cc_flag_unused_command_line_argument=yes
   8671 else
   8672   xorg_cv_cc_flag_unused_command_line_argument=no
   8673 fi
   8674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8675 fi
   8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8677 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8679 	CFLAGS="$xorg_testset_save_CFLAGS"
   8680 fi
   8681 
   8682 found="no"
   8683 
   8684 	if test $found = "no" ; then
   8685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8687 		fi
   8688 
   8689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8691 		fi
   8692 
   8693 		CFLAGS="$CFLAGS -Wsequence-point"
   8694 
   8695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8696 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8697 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8698 		if eval \${$cacheid+:} false; then :
   8699   $as_echo_n "(cached) " >&6
   8700 else
   8701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8702 /* end confdefs.h.  */
   8703 int i;
   8704 int
   8705 main ()
   8706 {
   8707 
   8708   ;
   8709   return 0;
   8710 }
   8711 _ACEOF
   8712 if ac_fn_c_try_link "$LINENO"; then :
   8713   eval $cacheid=yes
   8714 else
   8715   eval $cacheid=no
   8716 fi
   8717 rm -f core conftest.err conftest.$ac_objext \
   8718     conftest$ac_exeext conftest.$ac_ext
   8719 fi
   8720 
   8721 
   8722 		CFLAGS="$xorg_testset_save_CFLAGS"
   8723 
   8724 		eval supported=\$$cacheid
   8725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8726 $as_echo "$supported" >&6; }
   8727 		if test "$supported" = "yes" ; then
   8728 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8729 			found="yes"
   8730 		fi
   8731 	fi
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 xorg_testset_save_CFLAGS="$CFLAGS"
   8748 
   8749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8754   $as_echo_n "(cached) " >&6
   8755 else
   8756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8757 /* end confdefs.h.  */
   8758 int i;
   8759 _ACEOF
   8760 if ac_fn_c_try_compile "$LINENO"; then :
   8761   xorg_cv_cc_flag_unknown_warning_option=yes
   8762 else
   8763   xorg_cv_cc_flag_unknown_warning_option=no
   8764 fi
   8765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8766 fi
   8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8770 	CFLAGS="$xorg_testset_save_CFLAGS"
   8771 fi
   8772 
   8773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8776 	fi
   8777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8781   $as_echo_n "(cached) " >&6
   8782 else
   8783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8784 /* end confdefs.h.  */
   8785 int i;
   8786 _ACEOF
   8787 if ac_fn_c_try_compile "$LINENO"; then :
   8788   xorg_cv_cc_flag_unused_command_line_argument=yes
   8789 else
   8790   xorg_cv_cc_flag_unused_command_line_argument=no
   8791 fi
   8792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8793 fi
   8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8797 	CFLAGS="$xorg_testset_save_CFLAGS"
   8798 fi
   8799 
   8800 found="no"
   8801 
   8802 	if test $found = "no" ; then
   8803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8805 		fi
   8806 
   8807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8809 		fi
   8810 
   8811 		CFLAGS="$CFLAGS -Wreturn-type"
   8812 
   8813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   8814 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   8815 		cacheid=xorg_cv_cc_flag__Wreturn_type
   8816 		if eval \${$cacheid+:} false; then :
   8817   $as_echo_n "(cached) " >&6
   8818 else
   8819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 int i;
   8822 int
   8823 main ()
   8824 {
   8825 
   8826   ;
   8827   return 0;
   8828 }
   8829 _ACEOF
   8830 if ac_fn_c_try_link "$LINENO"; then :
   8831   eval $cacheid=yes
   8832 else
   8833   eval $cacheid=no
   8834 fi
   8835 rm -f core conftest.err conftest.$ac_objext \
   8836     conftest$ac_exeext conftest.$ac_ext
   8837 fi
   8838 
   8839 
   8840 		CFLAGS="$xorg_testset_save_CFLAGS"
   8841 
   8842 		eval supported=\$$cacheid
   8843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8844 $as_echo "$supported" >&6; }
   8845 		if test "$supported" = "yes" ; then
   8846 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   8847 			found="yes"
   8848 		fi
   8849 	fi
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 xorg_testset_save_CFLAGS="$CFLAGS"
   8866 
   8867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8872   $as_echo_n "(cached) " >&6
   8873 else
   8874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8875 /* end confdefs.h.  */
   8876 int i;
   8877 _ACEOF
   8878 if ac_fn_c_try_compile "$LINENO"; then :
   8879   xorg_cv_cc_flag_unknown_warning_option=yes
   8880 else
   8881   xorg_cv_cc_flag_unknown_warning_option=no
   8882 fi
   8883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8884 fi
   8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8888 	CFLAGS="$xorg_testset_save_CFLAGS"
   8889 fi
   8890 
   8891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8894 	fi
   8895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8899   $as_echo_n "(cached) " >&6
   8900 else
   8901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8902 /* end confdefs.h.  */
   8903 int i;
   8904 _ACEOF
   8905 if ac_fn_c_try_compile "$LINENO"; then :
   8906   xorg_cv_cc_flag_unused_command_line_argument=yes
   8907 else
   8908   xorg_cv_cc_flag_unused_command_line_argument=no
   8909 fi
   8910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8911 fi
   8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8915 	CFLAGS="$xorg_testset_save_CFLAGS"
   8916 fi
   8917 
   8918 found="no"
   8919 
   8920 	if test $found = "no" ; then
   8921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8923 		fi
   8924 
   8925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8927 		fi
   8928 
   8929 		CFLAGS="$CFLAGS -Wtrigraphs"
   8930 
   8931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   8932 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   8933 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   8934 		if eval \${$cacheid+:} false; then :
   8935   $as_echo_n "(cached) " >&6
   8936 else
   8937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8938 /* end confdefs.h.  */
   8939 int i;
   8940 int
   8941 main ()
   8942 {
   8943 
   8944   ;
   8945   return 0;
   8946 }
   8947 _ACEOF
   8948 if ac_fn_c_try_link "$LINENO"; then :
   8949   eval $cacheid=yes
   8950 else
   8951   eval $cacheid=no
   8952 fi
   8953 rm -f core conftest.err conftest.$ac_objext \
   8954     conftest$ac_exeext conftest.$ac_ext
   8955 fi
   8956 
   8957 
   8958 		CFLAGS="$xorg_testset_save_CFLAGS"
   8959 
   8960 		eval supported=\$$cacheid
   8961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8962 $as_echo "$supported" >&6; }
   8963 		if test "$supported" = "yes" ; then
   8964 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   8965 			found="yes"
   8966 		fi
   8967 	fi
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 xorg_testset_save_CFLAGS="$CFLAGS"
   8984 
   8985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8986 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8988 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8989 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8990   $as_echo_n "(cached) " >&6
   8991 else
   8992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8993 /* end confdefs.h.  */
   8994 int i;
   8995 _ACEOF
   8996 if ac_fn_c_try_compile "$LINENO"; then :
   8997   xorg_cv_cc_flag_unknown_warning_option=yes
   8998 else
   8999   xorg_cv_cc_flag_unknown_warning_option=no
   9000 fi
   9001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9002 fi
   9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9004 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9006 	CFLAGS="$xorg_testset_save_CFLAGS"
   9007 fi
   9008 
   9009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9012 	fi
   9013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9015 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9016 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9017   $as_echo_n "(cached) " >&6
   9018 else
   9019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9020 /* end confdefs.h.  */
   9021 int i;
   9022 _ACEOF
   9023 if ac_fn_c_try_compile "$LINENO"; then :
   9024   xorg_cv_cc_flag_unused_command_line_argument=yes
   9025 else
   9026   xorg_cv_cc_flag_unused_command_line_argument=no
   9027 fi
   9028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9029 fi
   9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9031 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9032 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9033 	CFLAGS="$xorg_testset_save_CFLAGS"
   9034 fi
   9035 
   9036 found="no"
   9037 
   9038 	if test $found = "no" ; then
   9039 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9040 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9041 		fi
   9042 
   9043 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9044 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9045 		fi
   9046 
   9047 		CFLAGS="$CFLAGS -Warray-bounds"
   9048 
   9049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9050 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9051 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9052 		if eval \${$cacheid+:} false; then :
   9053   $as_echo_n "(cached) " >&6
   9054 else
   9055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9056 /* end confdefs.h.  */
   9057 int i;
   9058 int
   9059 main ()
   9060 {
   9061 
   9062   ;
   9063   return 0;
   9064 }
   9065 _ACEOF
   9066 if ac_fn_c_try_link "$LINENO"; then :
   9067   eval $cacheid=yes
   9068 else
   9069   eval $cacheid=no
   9070 fi
   9071 rm -f core conftest.err conftest.$ac_objext \
   9072     conftest$ac_exeext conftest.$ac_ext
   9073 fi
   9074 
   9075 
   9076 		CFLAGS="$xorg_testset_save_CFLAGS"
   9077 
   9078 		eval supported=\$$cacheid
   9079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9080 $as_echo "$supported" >&6; }
   9081 		if test "$supported" = "yes" ; then
   9082 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9083 			found="yes"
   9084 		fi
   9085 	fi
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 xorg_testset_save_CFLAGS="$CFLAGS"
   9102 
   9103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9106 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9107 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9108   $as_echo_n "(cached) " >&6
   9109 else
   9110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9111 /* end confdefs.h.  */
   9112 int i;
   9113 _ACEOF
   9114 if ac_fn_c_try_compile "$LINENO"; then :
   9115   xorg_cv_cc_flag_unknown_warning_option=yes
   9116 else
   9117   xorg_cv_cc_flag_unknown_warning_option=no
   9118 fi
   9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9120 fi
   9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9122 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9124 	CFLAGS="$xorg_testset_save_CFLAGS"
   9125 fi
   9126 
   9127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9130 	fi
   9131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9133 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9134 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9135   $as_echo_n "(cached) " >&6
   9136 else
   9137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9138 /* end confdefs.h.  */
   9139 int i;
   9140 _ACEOF
   9141 if ac_fn_c_try_compile "$LINENO"; then :
   9142   xorg_cv_cc_flag_unused_command_line_argument=yes
   9143 else
   9144   xorg_cv_cc_flag_unused_command_line_argument=no
   9145 fi
   9146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9147 fi
   9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9149 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9151 	CFLAGS="$xorg_testset_save_CFLAGS"
   9152 fi
   9153 
   9154 found="no"
   9155 
   9156 	if test $found = "no" ; then
   9157 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9159 		fi
   9160 
   9161 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9163 		fi
   9164 
   9165 		CFLAGS="$CFLAGS -Wwrite-strings"
   9166 
   9167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9168 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9169 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9170 		if eval \${$cacheid+:} false; then :
   9171   $as_echo_n "(cached) " >&6
   9172 else
   9173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9174 /* end confdefs.h.  */
   9175 int i;
   9176 int
   9177 main ()
   9178 {
   9179 
   9180   ;
   9181   return 0;
   9182 }
   9183 _ACEOF
   9184 if ac_fn_c_try_link "$LINENO"; then :
   9185   eval $cacheid=yes
   9186 else
   9187   eval $cacheid=no
   9188 fi
   9189 rm -f core conftest.err conftest.$ac_objext \
   9190     conftest$ac_exeext conftest.$ac_ext
   9191 fi
   9192 
   9193 
   9194 		CFLAGS="$xorg_testset_save_CFLAGS"
   9195 
   9196 		eval supported=\$$cacheid
   9197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9198 $as_echo "$supported" >&6; }
   9199 		if test "$supported" = "yes" ; then
   9200 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9201 			found="yes"
   9202 		fi
   9203 	fi
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 xorg_testset_save_CFLAGS="$CFLAGS"
   9220 
   9221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9224 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9225 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9226   $as_echo_n "(cached) " >&6
   9227 else
   9228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9229 /* end confdefs.h.  */
   9230 int i;
   9231 _ACEOF
   9232 if ac_fn_c_try_compile "$LINENO"; then :
   9233   xorg_cv_cc_flag_unknown_warning_option=yes
   9234 else
   9235   xorg_cv_cc_flag_unknown_warning_option=no
   9236 fi
   9237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9238 fi
   9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9240 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9242 	CFLAGS="$xorg_testset_save_CFLAGS"
   9243 fi
   9244 
   9245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9248 	fi
   9249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9251 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9252 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9253   $as_echo_n "(cached) " >&6
   9254 else
   9255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9256 /* end confdefs.h.  */
   9257 int i;
   9258 _ACEOF
   9259 if ac_fn_c_try_compile "$LINENO"; then :
   9260   xorg_cv_cc_flag_unused_command_line_argument=yes
   9261 else
   9262   xorg_cv_cc_flag_unused_command_line_argument=no
   9263 fi
   9264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9265 fi
   9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9267 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9269 	CFLAGS="$xorg_testset_save_CFLAGS"
   9270 fi
   9271 
   9272 found="no"
   9273 
   9274 	if test $found = "no" ; then
   9275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9277 		fi
   9278 
   9279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9281 		fi
   9282 
   9283 		CFLAGS="$CFLAGS -Waddress"
   9284 
   9285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9286 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9287 		cacheid=xorg_cv_cc_flag__Waddress
   9288 		if eval \${$cacheid+:} false; then :
   9289   $as_echo_n "(cached) " >&6
   9290 else
   9291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9292 /* end confdefs.h.  */
   9293 int i;
   9294 int
   9295 main ()
   9296 {
   9297 
   9298   ;
   9299   return 0;
   9300 }
   9301 _ACEOF
   9302 if ac_fn_c_try_link "$LINENO"; then :
   9303   eval $cacheid=yes
   9304 else
   9305   eval $cacheid=no
   9306 fi
   9307 rm -f core conftest.err conftest.$ac_objext \
   9308     conftest$ac_exeext conftest.$ac_ext
   9309 fi
   9310 
   9311 
   9312 		CFLAGS="$xorg_testset_save_CFLAGS"
   9313 
   9314 		eval supported=\$$cacheid
   9315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9316 $as_echo "$supported" >&6; }
   9317 		if test "$supported" = "yes" ; then
   9318 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9319 			found="yes"
   9320 		fi
   9321 	fi
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 xorg_testset_save_CFLAGS="$CFLAGS"
   9338 
   9339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9342 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9343 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9344   $as_echo_n "(cached) " >&6
   9345 else
   9346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9347 /* end confdefs.h.  */
   9348 int i;
   9349 _ACEOF
   9350 if ac_fn_c_try_compile "$LINENO"; then :
   9351   xorg_cv_cc_flag_unknown_warning_option=yes
   9352 else
   9353   xorg_cv_cc_flag_unknown_warning_option=no
   9354 fi
   9355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9356 fi
   9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9358 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9360 	CFLAGS="$xorg_testset_save_CFLAGS"
   9361 fi
   9362 
   9363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9366 	fi
   9367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9369 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9370 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9371   $as_echo_n "(cached) " >&6
   9372 else
   9373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9374 /* end confdefs.h.  */
   9375 int i;
   9376 _ACEOF
   9377 if ac_fn_c_try_compile "$LINENO"; then :
   9378   xorg_cv_cc_flag_unused_command_line_argument=yes
   9379 else
   9380   xorg_cv_cc_flag_unused_command_line_argument=no
   9381 fi
   9382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9383 fi
   9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9385 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9387 	CFLAGS="$xorg_testset_save_CFLAGS"
   9388 fi
   9389 
   9390 found="no"
   9391 
   9392 	if test $found = "no" ; then
   9393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9395 		fi
   9396 
   9397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9399 		fi
   9400 
   9401 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9402 
   9403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9404 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9405 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9406 		if eval \${$cacheid+:} false; then :
   9407   $as_echo_n "(cached) " >&6
   9408 else
   9409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9410 /* end confdefs.h.  */
   9411 int i;
   9412 int
   9413 main ()
   9414 {
   9415 
   9416   ;
   9417   return 0;
   9418 }
   9419 _ACEOF
   9420 if ac_fn_c_try_link "$LINENO"; then :
   9421   eval $cacheid=yes
   9422 else
   9423   eval $cacheid=no
   9424 fi
   9425 rm -f core conftest.err conftest.$ac_objext \
   9426     conftest$ac_exeext conftest.$ac_ext
   9427 fi
   9428 
   9429 
   9430 		CFLAGS="$xorg_testset_save_CFLAGS"
   9431 
   9432 		eval supported=\$$cacheid
   9433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9434 $as_echo "$supported" >&6; }
   9435 		if test "$supported" = "yes" ; then
   9436 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9437 			found="yes"
   9438 		fi
   9439 	fi
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 xorg_testset_save_CFLAGS="$CFLAGS"
   9456 
   9457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9460 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9461 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9462   $as_echo_n "(cached) " >&6
   9463 else
   9464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9465 /* end confdefs.h.  */
   9466 int i;
   9467 _ACEOF
   9468 if ac_fn_c_try_compile "$LINENO"; then :
   9469   xorg_cv_cc_flag_unknown_warning_option=yes
   9470 else
   9471   xorg_cv_cc_flag_unknown_warning_option=no
   9472 fi
   9473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9474 fi
   9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9476 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9477 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9478 	CFLAGS="$xorg_testset_save_CFLAGS"
   9479 fi
   9480 
   9481 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9482 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9483 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9484 	fi
   9485 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9487 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9488 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9489   $as_echo_n "(cached) " >&6
   9490 else
   9491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9492 /* end confdefs.h.  */
   9493 int i;
   9494 _ACEOF
   9495 if ac_fn_c_try_compile "$LINENO"; then :
   9496   xorg_cv_cc_flag_unused_command_line_argument=yes
   9497 else
   9498   xorg_cv_cc_flag_unused_command_line_argument=no
   9499 fi
   9500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9501 fi
   9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9503 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9504 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9505 	CFLAGS="$xorg_testset_save_CFLAGS"
   9506 fi
   9507 
   9508 found="no"
   9509 
   9510 	if test $found = "no" ; then
   9511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9513 		fi
   9514 
   9515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9517 		fi
   9518 
   9519 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9520 
   9521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9522 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9523 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9524 		if eval \${$cacheid+:} false; then :
   9525   $as_echo_n "(cached) " >&6
   9526 else
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 int
   9531 main ()
   9532 {
   9533 
   9534   ;
   9535   return 0;
   9536 }
   9537 _ACEOF
   9538 if ac_fn_c_try_link "$LINENO"; then :
   9539   eval $cacheid=yes
   9540 else
   9541   eval $cacheid=no
   9542 fi
   9543 rm -f core conftest.err conftest.$ac_objext \
   9544     conftest$ac_exeext conftest.$ac_ext
   9545 fi
   9546 
   9547 
   9548 		CFLAGS="$xorg_testset_save_CFLAGS"
   9549 
   9550 		eval supported=\$$cacheid
   9551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9552 $as_echo "$supported" >&6; }
   9553 		if test "$supported" = "yes" ; then
   9554 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9555 			found="yes"
   9556 		fi
   9557 	fi
   9558 
   9559 
   9560 fi
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 		CWARNFLAGS="$BASE_CFLAGS"
   9569 		if  test "x$GCC" = xyes ; then
   9570 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9571 		fi
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 # Check whether --enable-strict-compilation was given.
   9581 if test "${enable_strict_compilation+set}" = set; then :
   9582   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9583 else
   9584   STRICT_COMPILE=no
   9585 fi
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 STRICT_CFLAGS=""
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 xorg_testset_save_CFLAGS="$CFLAGS"
   9607 
   9608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9613   $as_echo_n "(cached) " >&6
   9614 else
   9615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9616 /* end confdefs.h.  */
   9617 int i;
   9618 _ACEOF
   9619 if ac_fn_c_try_compile "$LINENO"; then :
   9620   xorg_cv_cc_flag_unknown_warning_option=yes
   9621 else
   9622   xorg_cv_cc_flag_unknown_warning_option=no
   9623 fi
   9624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9625 fi
   9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9629 	CFLAGS="$xorg_testset_save_CFLAGS"
   9630 fi
   9631 
   9632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9635 	fi
   9636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9640   $as_echo_n "(cached) " >&6
   9641 else
   9642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9643 /* end confdefs.h.  */
   9644 int i;
   9645 _ACEOF
   9646 if ac_fn_c_try_compile "$LINENO"; then :
   9647   xorg_cv_cc_flag_unused_command_line_argument=yes
   9648 else
   9649   xorg_cv_cc_flag_unused_command_line_argument=no
   9650 fi
   9651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9652 fi
   9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9656 	CFLAGS="$xorg_testset_save_CFLAGS"
   9657 fi
   9658 
   9659 found="no"
   9660 
   9661 	if test $found = "no" ; then
   9662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9664 		fi
   9665 
   9666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9668 		fi
   9669 
   9670 		CFLAGS="$CFLAGS -pedantic"
   9671 
   9672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9673 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9674 		cacheid=xorg_cv_cc_flag__pedantic
   9675 		if eval \${$cacheid+:} false; then :
   9676   $as_echo_n "(cached) " >&6
   9677 else
   9678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9679 /* end confdefs.h.  */
   9680 int i;
   9681 int
   9682 main ()
   9683 {
   9684 
   9685   ;
   9686   return 0;
   9687 }
   9688 _ACEOF
   9689 if ac_fn_c_try_link "$LINENO"; then :
   9690   eval $cacheid=yes
   9691 else
   9692   eval $cacheid=no
   9693 fi
   9694 rm -f core conftest.err conftest.$ac_objext \
   9695     conftest$ac_exeext conftest.$ac_ext
   9696 fi
   9697 
   9698 
   9699 		CFLAGS="$xorg_testset_save_CFLAGS"
   9700 
   9701 		eval supported=\$$cacheid
   9702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9703 $as_echo "$supported" >&6; }
   9704 		if test "$supported" = "yes" ; then
   9705 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9706 			found="yes"
   9707 		fi
   9708 	fi
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 xorg_testset_save_CFLAGS="$CFLAGS"
   9725 
   9726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9729 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9730 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9731   $as_echo_n "(cached) " >&6
   9732 else
   9733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9734 /* end confdefs.h.  */
   9735 int i;
   9736 _ACEOF
   9737 if ac_fn_c_try_compile "$LINENO"; then :
   9738   xorg_cv_cc_flag_unknown_warning_option=yes
   9739 else
   9740   xorg_cv_cc_flag_unknown_warning_option=no
   9741 fi
   9742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9743 fi
   9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9745 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9747 	CFLAGS="$xorg_testset_save_CFLAGS"
   9748 fi
   9749 
   9750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9753 	fi
   9754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9756 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9757 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9758   $as_echo_n "(cached) " >&6
   9759 else
   9760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9761 /* end confdefs.h.  */
   9762 int i;
   9763 _ACEOF
   9764 if ac_fn_c_try_compile "$LINENO"; then :
   9765   xorg_cv_cc_flag_unused_command_line_argument=yes
   9766 else
   9767   xorg_cv_cc_flag_unused_command_line_argument=no
   9768 fi
   9769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9770 fi
   9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9772 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9774 	CFLAGS="$xorg_testset_save_CFLAGS"
   9775 fi
   9776 
   9777 found="no"
   9778 
   9779 	if test $found = "no" ; then
   9780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9782 		fi
   9783 
   9784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9786 		fi
   9787 
   9788 		CFLAGS="$CFLAGS -Werror"
   9789 
   9790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9791 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9792 		cacheid=xorg_cv_cc_flag__Werror
   9793 		if eval \${$cacheid+:} false; then :
   9794   $as_echo_n "(cached) " >&6
   9795 else
   9796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9797 /* end confdefs.h.  */
   9798 int i;
   9799 int
   9800 main ()
   9801 {
   9802 
   9803   ;
   9804   return 0;
   9805 }
   9806 _ACEOF
   9807 if ac_fn_c_try_link "$LINENO"; then :
   9808   eval $cacheid=yes
   9809 else
   9810   eval $cacheid=no
   9811 fi
   9812 rm -f core conftest.err conftest.$ac_objext \
   9813     conftest$ac_exeext conftest.$ac_ext
   9814 fi
   9815 
   9816 
   9817 		CFLAGS="$xorg_testset_save_CFLAGS"
   9818 
   9819 		eval supported=\$$cacheid
   9820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9821 $as_echo "$supported" >&6; }
   9822 		if test "$supported" = "yes" ; then
   9823 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   9824 			found="yes"
   9825 		fi
   9826 	fi
   9827 
   9828 	if test $found = "no" ; then
   9829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 		fi
   9832 
   9833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9835 		fi
   9836 
   9837 		CFLAGS="$CFLAGS -errwarn"
   9838 
   9839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   9840 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   9841 		cacheid=xorg_cv_cc_flag__errwarn
   9842 		if eval \${$cacheid+:} false; then :
   9843   $as_echo_n "(cached) " >&6
   9844 else
   9845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9846 /* end confdefs.h.  */
   9847 int i;
   9848 int
   9849 main ()
   9850 {
   9851 
   9852   ;
   9853   return 0;
   9854 }
   9855 _ACEOF
   9856 if ac_fn_c_try_link "$LINENO"; then :
   9857   eval $cacheid=yes
   9858 else
   9859   eval $cacheid=no
   9860 fi
   9861 rm -f core conftest.err conftest.$ac_objext \
   9862     conftest$ac_exeext conftest.$ac_ext
   9863 fi
   9864 
   9865 
   9866 		CFLAGS="$xorg_testset_save_CFLAGS"
   9867 
   9868 		eval supported=\$$cacheid
   9869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9870 $as_echo "$supported" >&6; }
   9871 		if test "$supported" = "yes" ; then
   9872 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   9873 			found="yes"
   9874 		fi
   9875 	fi
   9876 
   9877 
   9878 
   9879 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   9880 # activate it with -Werror, so we add it here explicitly.
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 xorg_testset_save_CFLAGS="$CFLAGS"
   9895 
   9896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9899 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9900 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9901   $as_echo_n "(cached) " >&6
   9902 else
   9903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9904 /* end confdefs.h.  */
   9905 int i;
   9906 _ACEOF
   9907 if ac_fn_c_try_compile "$LINENO"; then :
   9908   xorg_cv_cc_flag_unknown_warning_option=yes
   9909 else
   9910   xorg_cv_cc_flag_unknown_warning_option=no
   9911 fi
   9912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9913 fi
   9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9915 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9917 	CFLAGS="$xorg_testset_save_CFLAGS"
   9918 fi
   9919 
   9920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9923 	fi
   9924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9926 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9927 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9928   $as_echo_n "(cached) " >&6
   9929 else
   9930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9931 /* end confdefs.h.  */
   9932 int i;
   9933 _ACEOF
   9934 if ac_fn_c_try_compile "$LINENO"; then :
   9935   xorg_cv_cc_flag_unused_command_line_argument=yes
   9936 else
   9937   xorg_cv_cc_flag_unused_command_line_argument=no
   9938 fi
   9939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9940 fi
   9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9942 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9944 	CFLAGS="$xorg_testset_save_CFLAGS"
   9945 fi
   9946 
   9947 found="no"
   9948 
   9949 	if test $found = "no" ; then
   9950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9952 		fi
   9953 
   9954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9956 		fi
   9957 
   9958 		CFLAGS="$CFLAGS -Werror=attributes"
   9959 
   9960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   9961 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   9962 		cacheid=xorg_cv_cc_flag__Werror_attributes
   9963 		if eval \${$cacheid+:} false; then :
   9964   $as_echo_n "(cached) " >&6
   9965 else
   9966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9967 /* end confdefs.h.  */
   9968 int i;
   9969 int
   9970 main ()
   9971 {
   9972 
   9973   ;
   9974   return 0;
   9975 }
   9976 _ACEOF
   9977 if ac_fn_c_try_link "$LINENO"; then :
   9978   eval $cacheid=yes
   9979 else
   9980   eval $cacheid=no
   9981 fi
   9982 rm -f core conftest.err conftest.$ac_objext \
   9983     conftest$ac_exeext conftest.$ac_ext
   9984 fi
   9985 
   9986 
   9987 		CFLAGS="$xorg_testset_save_CFLAGS"
   9988 
   9989 		eval supported=\$$cacheid
   9990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9991 $as_echo "$supported" >&6; }
   9992 		if test "$supported" = "yes" ; then
   9993 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   9994 			found="yes"
   9995 		fi
   9996 	fi
   9997 
   9998 
   9999 
   10000 if test "x$STRICT_COMPILE" = "xyes"; then
   10001     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10002     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10003 fi
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 cat >>confdefs.h <<_ACEOF
   10011 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10012 _ACEOF
   10013 
   10014 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10015 	if test "x$PVM" = "x"; then
   10016 		PVM="0"
   10017 	fi
   10018 
   10019 cat >>confdefs.h <<_ACEOF
   10020 #define PACKAGE_VERSION_MINOR $PVM
   10021 _ACEOF
   10022 
   10023 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10024 	if test "x$PVP" = "x"; then
   10025 		PVP="0"
   10026 	fi
   10027 
   10028 cat >>confdefs.h <<_ACEOF
   10029 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10030 _ACEOF
   10031 
   10032 
   10033 
   10034 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10035 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10036 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10037 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10038 
   10039 
   10040 
   10041 
   10042 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10043 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10044 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10045 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10046 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 if test x$APP_MAN_SUFFIX = x    ; then
   10054     APP_MAN_SUFFIX=1
   10055 fi
   10056 if test x$APP_MAN_DIR = x    ; then
   10057     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10058 fi
   10059 
   10060 if test x$LIB_MAN_SUFFIX = x    ; then
   10061     LIB_MAN_SUFFIX=3
   10062 fi
   10063 if test x$LIB_MAN_DIR = x    ; then
   10064     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10065 fi
   10066 
   10067 if test x$FILE_MAN_SUFFIX = x    ; then
   10068     case $host_os in
   10069 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10070 	*)		FILE_MAN_SUFFIX=5  ;;
   10071     esac
   10072 fi
   10073 if test x$FILE_MAN_DIR = x    ; then
   10074     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10075 fi
   10076 
   10077 if test x$MISC_MAN_SUFFIX = x    ; then
   10078     case $host_os in
   10079 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10080 	*)		MISC_MAN_SUFFIX=7  ;;
   10081     esac
   10082 fi
   10083 if test x$MISC_MAN_DIR = x    ; then
   10084     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10085 fi
   10086 
   10087 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10088     case $host_os in
   10089 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10090 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10091     esac
   10092 fi
   10093 if test x$DRIVER_MAN_DIR = x    ; then
   10094     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10095 fi
   10096 
   10097 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10098     case $host_os in
   10099 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10100 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10101     esac
   10102 fi
   10103 if test x$ADMIN_MAN_DIR = x    ; then
   10104     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10105 fi
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 XORG_MAN_PAGE="X Version 11"
   10122 
   10123 MAN_SUBSTS="\
   10124 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10125 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10126 	-e 's|__xservername__|Xorg|g' \
   10127 	-e 's|__xconfigfile__|xorg.conf|g' \
   10128 	-e 's|__projectroot__|\$(prefix)|g' \
   10129 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10130 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10131 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10132 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10133 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10134 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10135 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10136 
   10137 
   10138 
   10139 # Check whether --enable-silent-rules was given.
   10140 if test "${enable_silent_rules+set}" = set; then :
   10141   enableval=$enable_silent_rules;
   10142 fi
   10143 
   10144 case $enable_silent_rules in # (((
   10145   yes) AM_DEFAULT_VERBOSITY=0;;
   10146    no) AM_DEFAULT_VERBOSITY=1;;
   10147     *) AM_DEFAULT_VERBOSITY=0;;
   10148 esac
   10149 am_make=${MAKE-make}
   10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10151 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10152 if ${am_cv_make_support_nested_variables+:} false; then :
   10153   $as_echo_n "(cached) " >&6
   10154 else
   10155   if $as_echo 'TRUE=$(BAR$(V))
   10156 BAR0=false
   10157 BAR1=true
   10158 V=1
   10159 am__doit:
   10160 	@$(TRUE)
   10161 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10162   am_cv_make_support_nested_variables=yes
   10163 else
   10164   am_cv_make_support_nested_variables=no
   10165 fi
   10166 fi
   10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10168 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10169 if test $am_cv_make_support_nested_variables = yes; then
   10170     AM_V='$(V)'
   10171   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10172 else
   10173   AM_V=$AM_DEFAULT_VERBOSITY
   10174   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10175 fi
   10176 AM_BACKSLASH='\'
   10177 
   10178 
   10179 
   10180 ac_aux_dir=
   10181 for ac_dir in . "$srcdir"/.; do
   10182   if test -f "$ac_dir/install-sh"; then
   10183     ac_aux_dir=$ac_dir
   10184     ac_install_sh="$ac_aux_dir/install-sh -c"
   10185     break
   10186   elif test -f "$ac_dir/install.sh"; then
   10187     ac_aux_dir=$ac_dir
   10188     ac_install_sh="$ac_aux_dir/install.sh -c"
   10189     break
   10190   elif test -f "$ac_dir/shtool"; then
   10191     ac_aux_dir=$ac_dir
   10192     ac_install_sh="$ac_aux_dir/shtool install -c"
   10193     break
   10194   fi
   10195 done
   10196 if test -z "$ac_aux_dir"; then
   10197   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   10198 fi
   10199 
   10200 # These three variables are undocumented and unsupported,
   10201 # and are intended to be withdrawn in a future Autoconf release.
   10202 # They can cause serious problems if a builder's source tree is in a directory
   10203 # whose full name contains unusual characters.
   10204 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   10205 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   10206 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   10207 
   10208 
   10209 
   10210 # Initialize Automake
   10211 am__api_version='1.15'
   10212 
   10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   10214 $as_echo_n "checking whether build environment is sane... " >&6; }
   10215 # Reject unsafe characters in $srcdir or the absolute working directory
   10216 # name.  Accept space and tab only in the latter.
   10217 am_lf='
   10218 '
   10219 case `pwd` in
   10220   *[\\\"\#\$\&\'\`$am_lf]*)
   10221     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   10222 esac
   10223 case $srcdir in
   10224   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   10225     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   10226 esac
   10227 
   10228 # Do 'set' in a subshell so we don't clobber the current shell's
   10229 # arguments.  Must try -L first in case configure is actually a
   10230 # symlink; some systems play weird games with the mod time of symlinks
   10231 # (eg FreeBSD returns the mod time of the symlink's containing
   10232 # directory).
   10233 if (
   10234    am_has_slept=no
   10235    for am_try in 1 2; do
   10236      echo "timestamp, slept: $am_has_slept" > conftest.file
   10237      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   10238      if test "$*" = "X"; then
   10239 	# -L didn't work.
   10240 	set X `ls -t "$srcdir/configure" conftest.file`
   10241      fi
   10242      if test "$*" != "X $srcdir/configure conftest.file" \
   10243 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   10244 
   10245 	# If neither matched, then we have a broken ls.  This can happen
   10246 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   10247 	# broken ls alias from the environment.  This has actually
   10248 	# happened.  Such a system could not be considered "sane".
   10249 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   10250   alias in your environment" "$LINENO" 5
   10251      fi
   10252      if test "$2" = conftest.file || test $am_try -eq 2; then
   10253        break
   10254      fi
   10255      # Just in case.
   10256      sleep 1
   10257      am_has_slept=yes
   10258    done
   10259    test "$2" = conftest.file
   10260    )
   10261 then
   10262    # Ok.
   10263    :
   10264 else
   10265    as_fn_error $? "newly created file is older than distributed files!
   10266 Check your system clock" "$LINENO" 5
   10267 fi
   10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10269 $as_echo "yes" >&6; }
   10270 # If we didn't sleep, we still need to ensure time stamps of config.status and
   10271 # generated files are strictly newer.
   10272 am_sleep_pid=
   10273 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   10274   ( sleep 1 ) &
   10275   am_sleep_pid=$!
   10276 fi
   10277 
   10278 rm -f conftest.file
   10279 
   10280 test "$program_prefix" != NONE &&
   10281   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   10282 # Use a double $ so make ignores it.
   10283 test "$program_suffix" != NONE &&
   10284   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   10285 # Double any \ or $.
   10286 # By default was `s,x,x', remove it if useless.
   10287 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   10288 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   10289 
   10290 if test x"${MISSING+set}" != xset; then
   10291   case $am_aux_dir in
   10292   *\ * | *\	*)
   10293     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   10294   *)
   10295     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   10296   esac
   10297 fi
   10298 # Use eval to expand $SHELL
   10299 if eval "$MISSING --is-lightweight"; then
   10300   am_missing_run="$MISSING "
   10301 else
   10302   am_missing_run=
   10303   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   10304 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   10305 fi
   10306 
   10307 if test x"${install_sh+set}" != xset; then
   10308   case $am_aux_dir in
   10309   *\ * | *\	*)
   10310     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   10311   *)
   10312     install_sh="\${SHELL} $am_aux_dir/install-sh"
   10313   esac
   10314 fi
   10315 
   10316 # Installed binaries are usually stripped using 'strip' when the user
   10317 # run "make install-strip".  However 'strip' might not be the right
   10318 # tool to use in cross-compilation environments, therefore Automake
   10319 # will honor the 'STRIP' environment variable to overrule this program.
   10320 if test "$cross_compiling" != no; then
   10321   if test -n "$ac_tool_prefix"; then
   10322   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   10323 set dummy ${ac_tool_prefix}strip; ac_word=$2
   10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10325 $as_echo_n "checking for $ac_word... " >&6; }
   10326 if ${ac_cv_prog_STRIP+:} false; then :
   10327   $as_echo_n "(cached) " >&6
   10328 else
   10329   if test -n "$STRIP"; then
   10330   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   10331 else
   10332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10333 for as_dir in $PATH
   10334 do
   10335   IFS=$as_save_IFS
   10336   test -z "$as_dir" && as_dir=.
   10337     for ac_exec_ext in '' $ac_executable_extensions; do
   10338   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10339     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   10340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10341     break 2
   10342   fi
   10343 done
   10344   done
   10345 IFS=$as_save_IFS
   10346 
   10347 fi
   10348 fi
   10349 STRIP=$ac_cv_prog_STRIP
   10350 if test -n "$STRIP"; then
   10351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   10352 $as_echo "$STRIP" >&6; }
   10353 else
   10354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10355 $as_echo "no" >&6; }
   10356 fi
   10357 
   10358 
   10359 fi
   10360 if test -z "$ac_cv_prog_STRIP"; then
   10361   ac_ct_STRIP=$STRIP
   10362   # Extract the first word of "strip", so it can be a program name with args.
   10363 set dummy strip; ac_word=$2
   10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10365 $as_echo_n "checking for $ac_word... " >&6; }
   10366 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   10367   $as_echo_n "(cached) " >&6
   10368 else
   10369   if test -n "$ac_ct_STRIP"; then
   10370   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   10371 else
   10372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10373 for as_dir in $PATH
   10374 do
   10375   IFS=$as_save_IFS
   10376   test -z "$as_dir" && as_dir=.
   10377     for ac_exec_ext in '' $ac_executable_extensions; do
   10378   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10379     ac_cv_prog_ac_ct_STRIP="strip"
   10380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10381     break 2
   10382   fi
   10383 done
   10384   done
   10385 IFS=$as_save_IFS
   10386 
   10387 fi
   10388 fi
   10389 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   10390 if test -n "$ac_ct_STRIP"; then
   10391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   10392 $as_echo "$ac_ct_STRIP" >&6; }
   10393 else
   10394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10395 $as_echo "no" >&6; }
   10396 fi
   10397 
   10398   if test "x$ac_ct_STRIP" = x; then
   10399     STRIP=":"
   10400   else
   10401     case $cross_compiling:$ac_tool_warned in
   10402 yes:)
   10403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10405 ac_tool_warned=yes ;;
   10406 esac
   10407     STRIP=$ac_ct_STRIP
   10408   fi
   10409 else
   10410   STRIP="$ac_cv_prog_STRIP"
   10411 fi
   10412 
   10413 fi
   10414 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   10415 
   10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   10417 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   10418 if test -z "$MKDIR_P"; then
   10419   if ${ac_cv_path_mkdir+:} false; then :
   10420   $as_echo_n "(cached) " >&6
   10421 else
   10422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10423 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   10424 do
   10425   IFS=$as_save_IFS
   10426   test -z "$as_dir" && as_dir=.
   10427     for ac_prog in mkdir gmkdir; do
   10428 	 for ac_exec_ext in '' $ac_executable_extensions; do
   10429 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   10430 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   10431 	     'mkdir (GNU coreutils) '* | \
   10432 	     'mkdir (coreutils) '* | \
   10433 	     'mkdir (fileutils) '4.1*)
   10434 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   10435 	       break 3;;
   10436 	   esac
   10437 	 done
   10438        done
   10439   done
   10440 IFS=$as_save_IFS
   10441 
   10442 fi
   10443 
   10444   test -d ./--version && rmdir ./--version
   10445   if test "${ac_cv_path_mkdir+set}" = set; then
   10446     MKDIR_P="$ac_cv_path_mkdir -p"
   10447   else
   10448     # As a last resort, use the slow shell script.  Don't cache a
   10449     # value for MKDIR_P within a source directory, because that will
   10450     # break other packages using the cache if that directory is
   10451     # removed, or if the value is a relative name.
   10452     MKDIR_P="$ac_install_sh -d"
   10453   fi
   10454 fi
   10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   10456 $as_echo "$MKDIR_P" >&6; }
   10457 
   10458 for ac_prog in gawk mawk nawk awk
   10459 do
   10460   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10461 set dummy $ac_prog; ac_word=$2
   10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10463 $as_echo_n "checking for $ac_word... " >&6; }
   10464 if ${ac_cv_prog_AWK+:} false; then :
   10465   $as_echo_n "(cached) " >&6
   10466 else
   10467   if test -n "$AWK"; then
   10468   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   10469 else
   10470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10471 for as_dir in $PATH
   10472 do
   10473   IFS=$as_save_IFS
   10474   test -z "$as_dir" && as_dir=.
   10475     for ac_exec_ext in '' $ac_executable_extensions; do
   10476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10477     ac_cv_prog_AWK="$ac_prog"
   10478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10479     break 2
   10480   fi
   10481 done
   10482   done
   10483 IFS=$as_save_IFS
   10484 
   10485 fi
   10486 fi
   10487 AWK=$ac_cv_prog_AWK
   10488 if test -n "$AWK"; then
   10489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   10490 $as_echo "$AWK" >&6; }
   10491 else
   10492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10493 $as_echo "no" >&6; }
   10494 fi
   10495 
   10496 
   10497   test -n "$AWK" && break
   10498 done
   10499 
   10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   10501 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   10502 set x ${MAKE-make}
   10503 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   10504 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   10505   $as_echo_n "(cached) " >&6
   10506 else
   10507   cat >conftest.make <<\_ACEOF
   10508 SHELL = /bin/sh
   10509 all:
   10510 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   10511 _ACEOF
   10512 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   10513 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   10514   *@@@%%%=?*=@@@%%%*)
   10515     eval ac_cv_prog_make_${ac_make}_set=yes;;
   10516   *)
   10517     eval ac_cv_prog_make_${ac_make}_set=no;;
   10518 esac
   10519 rm -f conftest.make
   10520 fi
   10521 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   10522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10523 $as_echo "yes" >&6; }
   10524   SET_MAKE=
   10525 else
   10526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10527 $as_echo "no" >&6; }
   10528   SET_MAKE="MAKE=${MAKE-make}"
   10529 fi
   10530 
   10531 rm -rf .tst 2>/dev/null
   10532 mkdir .tst 2>/dev/null
   10533 if test -d .tst; then
   10534   am__leading_dot=.
   10535 else
   10536   am__leading_dot=_
   10537 fi
   10538 rmdir .tst 2>/dev/null
   10539 
   10540 DEPDIR="${am__leading_dot}deps"
   10541 
   10542 ac_config_commands="$ac_config_commands depfiles"
   10543 
   10544 
   10545 am_make=${MAKE-make}
   10546 cat > confinc << 'END'
   10547 am__doit:
   10548 	@echo this is the am__doit target
   10549 .PHONY: am__doit
   10550 END
   10551 # If we don't find an include directive, just comment out the code.
   10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   10553 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   10554 am__include="#"
   10555 am__quote=
   10556 _am_result=none
   10557 # First try GNU make style include.
   10558 echo "include confinc" > confmf
   10559 # Ignore all kinds of additional output from 'make'.
   10560 case `$am_make -s -f confmf 2> /dev/null` in #(
   10561 *the\ am__doit\ target*)
   10562   am__include=include
   10563   am__quote=
   10564   _am_result=GNU
   10565   ;;
   10566 esac
   10567 # Now try BSD make style include.
   10568 if test "$am__include" = "#"; then
   10569    echo '.include "confinc"' > confmf
   10570    case `$am_make -s -f confmf 2> /dev/null` in #(
   10571    *the\ am__doit\ target*)
   10572      am__include=.include
   10573      am__quote="\""
   10574      _am_result=BSD
   10575      ;;
   10576    esac
   10577 fi
   10578 
   10579 
   10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   10581 $as_echo "$_am_result" >&6; }
   10582 rm -f confinc confmf
   10583 
   10584 # Check whether --enable-dependency-tracking was given.
   10585 if test "${enable_dependency_tracking+set}" = set; then :
   10586   enableval=$enable_dependency_tracking;
   10587 fi
   10588 
   10589 if test "x$enable_dependency_tracking" != xno; then
   10590   am_depcomp="$ac_aux_dir/depcomp"
   10591   AMDEPBACKSLASH='\'
   10592   am__nodep='_no'
   10593 fi
   10594  if test "x$enable_dependency_tracking" != xno; then
   10595   AMDEP_TRUE=
   10596   AMDEP_FALSE='#'
   10597 else
   10598   AMDEP_TRUE='#'
   10599   AMDEP_FALSE=
   10600 fi
   10601 
   10602 
   10603 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   10604   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   10605   # is not polluted with repeated "-I."
   10606   am__isrc=' -I$(srcdir)'
   10607   # test to see if srcdir already configured
   10608   if test -f $srcdir/config.status; then
   10609     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   10610   fi
   10611 fi
   10612 
   10613 # test whether we have cygpath
   10614 if test -z "$CYGPATH_W"; then
   10615   if (cygpath --version) >/dev/null 2>/dev/null; then
   10616     CYGPATH_W='cygpath -w'
   10617   else
   10618     CYGPATH_W=echo
   10619   fi
   10620 fi
   10621 
   10622 
   10623 # Define the identity of the package.
   10624  PACKAGE='xf86-video-mga'
   10625  VERSION='1.6.5'
   10626 
   10627 
   10628 cat >>confdefs.h <<_ACEOF
   10629 #define PACKAGE "$PACKAGE"
   10630 _ACEOF
   10631 
   10632 
   10633 cat >>confdefs.h <<_ACEOF
   10634 #define VERSION "$VERSION"
   10635 _ACEOF
   10636 
   10637 # Some tools Automake needs.
   10638 
   10639 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   10640 
   10641 
   10642 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   10643 
   10644 
   10645 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   10646 
   10647 
   10648 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   10649 
   10650 
   10651 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   10652 
   10653 # For better backward compatibility.  To be removed once Automake 1.9.x
   10654 # dies out for good.  For more background, see:
   10655 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   10656 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   10657 mkdir_p='$(MKDIR_P)'
   10658 
   10659 # We need awk for the "check" target (and possibly the TAP driver).  The
   10660 # system "awk" is bad on some platforms.
   10661 # Always define AMTAR for backward compatibility.  Yes, it's still used
   10662 # in the wild :-(  We should find a proper way to deprecate it ...
   10663 AMTAR='$${TAR-tar}'
   10664 
   10665 
   10666 # We'll loop over all known methods to create a tar archive until one works.
   10667 _am_tools='gnutar  pax cpio none'
   10668 
   10669 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 depcc="$CC"   am_compiler_list=
   10676 
   10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   10678 $as_echo_n "checking dependency style of $depcc... " >&6; }
   10679 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   10680   $as_echo_n "(cached) " >&6
   10681 else
   10682   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   10683   # We make a subdir and do the tests there.  Otherwise we can end up
   10684   # making bogus files that we don't know about and never remove.  For
   10685   # instance it was reported that on HP-UX the gcc test will end up
   10686   # making a dummy file named 'D' -- because '-MD' means "put the output
   10687   # in D".
   10688   rm -rf conftest.dir
   10689   mkdir conftest.dir
   10690   # Copy depcomp to subdir because otherwise we won't find it if we're
   10691   # using a relative directory.
   10692   cp "$am_depcomp" conftest.dir
   10693   cd conftest.dir
   10694   # We will build objects and dependencies in a subdirectory because
   10695   # it helps to detect inapplicable dependency modes.  For instance
   10696   # both Tru64's cc and ICC support -MD to output dependencies as a
   10697   # side effect of compilation, but ICC will put the dependencies in
   10698   # the current directory while Tru64 will put them in the object
   10699   # directory.
   10700   mkdir sub
   10701 
   10702   am_cv_CC_dependencies_compiler_type=none
   10703   if test "$am_compiler_list" = ""; then
   10704      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   10705   fi
   10706   am__universal=false
   10707   case " $depcc " in #(
   10708      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   10709      esac
   10710 
   10711   for depmode in $am_compiler_list; do
   10712     # Setup a source with many dependencies, because some compilers
   10713     # like to wrap large dependency lists on column 80 (with \), and
   10714     # we should not choose a depcomp mode which is confused by this.
   10715     #
   10716     # We need to recreate these files for each test, as the compiler may
   10717     # overwrite some of them when testing with obscure command lines.
   10718     # This happens at least with the AIX C compiler.
   10719     : > sub/conftest.c
   10720     for i in 1 2 3 4 5 6; do
   10721       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   10722       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   10723       # Solaris 10 /bin/sh.
   10724       echo '/* dummy */' > sub/conftst$i.h
   10725     done
   10726     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   10727 
   10728     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   10729     # mode.  It turns out that the SunPro C++ compiler does not properly
   10730     # handle '-M -o', and we need to detect this.  Also, some Intel
   10731     # versions had trouble with output in subdirs.
   10732     am__obj=sub/conftest.${OBJEXT-o}
   10733     am__minus_obj="-o $am__obj"
   10734     case $depmode in
   10735     gcc)
   10736       # This depmode causes a compiler race in universal mode.
   10737       test "$am__universal" = false || continue
   10738       ;;
   10739     nosideeffect)
   10740       # After this tag, mechanisms are not by side-effect, so they'll
   10741       # only be used when explicitly requested.
   10742       if test "x$enable_dependency_tracking" = xyes; then
   10743 	continue
   10744       else
   10745 	break
   10746       fi
   10747       ;;
   10748     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   10749       # This compiler won't grok '-c -o', but also, the minuso test has
   10750       # not run yet.  These depmodes are late enough in the game, and
   10751       # so weak that their functioning should not be impacted.
   10752       am__obj=conftest.${OBJEXT-o}
   10753       am__minus_obj=
   10754       ;;
   10755     none) break ;;
   10756     esac
   10757     if depmode=$depmode \
   10758        source=sub/conftest.c object=$am__obj \
   10759        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   10760        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   10761          >/dev/null 2>conftest.err &&
   10762        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   10763        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   10764        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   10765        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   10766       # icc doesn't choke on unknown options, it will just issue warnings
   10767       # or remarks (even with -Werror).  So we grep stderr for any message
   10768       # that says an option was ignored or not supported.
   10769       # When given -MP, icc 7.0 and 7.1 complain thusly:
   10770       #   icc: Command line warning: ignoring option '-M'; no argument required
   10771       # The diagnosis changed in icc 8.0:
   10772       #   icc: Command line remark: option '-MP' not supported
   10773       if (grep 'ignoring option' conftest.err ||
   10774           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   10775         am_cv_CC_dependencies_compiler_type=$depmode
   10776         break
   10777       fi
   10778     fi
   10779   done
   10780 
   10781   cd ..
   10782   rm -rf conftest.dir
   10783 else
   10784   am_cv_CC_dependencies_compiler_type=none
   10785 fi
   10786 
   10787 fi
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   10789 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   10790 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   10791 
   10792  if
   10793   test "x$enable_dependency_tracking" != xno \
   10794   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   10795   am__fastdepCC_TRUE=
   10796   am__fastdepCC_FALSE='#'
   10797 else
   10798   am__fastdepCC_TRUE='#'
   10799   am__fastdepCC_FALSE=
   10800 fi
   10801 
   10802 
   10803 
   10804 # POSIX will say in a future version that running "rm -f" with no argument
   10805 # is OK; and we want to be able to make that assumption in our Makefile
   10806 # recipes.  So use an aggressive probe to check that the usage we want is
   10807 # actually supported "in the wild" to an acceptable degree.
   10808 # See automake bug#10828.
   10809 # To make any issue more visible, cause the running configure to be aborted
   10810 # by default if the 'rm' program in use doesn't match our expectations; the
   10811 # user can still override this though.
   10812 if rm -f && rm -fr && rm -rf; then : OK; else
   10813   cat >&2 <<'END'
   10814 Oops!
   10815 
   10816 Your 'rm' program seems unable to run without file operands specified
   10817 on the command line, even when the '-f' option is present.  This is contrary
   10818 to the behaviour of most rm programs out there, and not conforming with
   10819 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   10820 
   10821 Please tell bug-automake@gnu.org about your system, including the value
   10822 of your $PATH and any error possibly output before this message.  This
   10823 can help us improve future automake versions.
   10824 
   10825 END
   10826   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   10827     echo 'Configuration will proceed anyway, since you have set the' >&2
   10828     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   10829     echo >&2
   10830   else
   10831     cat >&2 <<'END'
   10832 Aborting the configuration process, to ensure you take notice of the issue.
   10833 
   10834 You can download and install GNU coreutils to get an 'rm' implementation
   10835 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   10836 
   10837 If you want to complete the configuration process using your problematic
   10838 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   10839 to "yes", and re-run configure.
   10840 
   10841 END
   10842     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   10843   fi
   10844 fi
   10845 
   10846 
   10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   10848 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   10849     # Check whether --enable-maintainer-mode was given.
   10850 if test "${enable_maintainer_mode+set}" = set; then :
   10851   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   10852 else
   10853   USE_MAINTAINER_MODE=no
   10854 fi
   10855 
   10856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   10857 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   10858    if test $USE_MAINTAINER_MODE = yes; then
   10859   MAINTAINER_MODE_TRUE=
   10860   MAINTAINER_MODE_FALSE='#'
   10861 else
   10862   MAINTAINER_MODE_TRUE='#'
   10863   MAINTAINER_MODE_FALSE=
   10864 fi
   10865 
   10866   MAINT=$MAINTAINER_MODE_TRUE
   10867 
   10868 
   10869 
   10870 # Initialize libtool
   10871 # Check whether --enable-static was given.
   10872 if test "${enable_static+set}" = set; then :
   10873   enableval=$enable_static; p=${PACKAGE-default}
   10874     case $enableval in
   10875     yes) enable_static=yes ;;
   10876     no) enable_static=no ;;
   10877     *)
   10878      enable_static=no
   10879       # Look at the argument we got.  We use all the common list separators.
   10880       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10881       for pkg in $enableval; do
   10882 	IFS=$lt_save_ifs
   10883 	if test "X$pkg" = "X$p"; then
   10884 	  enable_static=yes
   10885 	fi
   10886       done
   10887       IFS=$lt_save_ifs
   10888       ;;
   10889     esac
   10890 else
   10891   enable_static=no
   10892 fi
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 case `pwd` in
   10903   *\ * | *\	*)
   10904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10905 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10906 esac
   10907 
   10908 
   10909 
   10910 macro_version='2.4.6'
   10911 macro_revision='2.4.6'
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 ltmain=$ac_aux_dir/ltmain.sh
   10926 
   10927 # Backslashify metacharacters that are still active within
   10928 # double-quoted strings.
   10929 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10930 
   10931 # Same as above, but do not quote variable references.
   10932 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10933 
   10934 # Sed substitution to delay expansion of an escaped shell variable in a
   10935 # double_quote_subst'ed string.
   10936 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10937 
   10938 # Sed substitution to delay expansion of an escaped single quote.
   10939 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10940 
   10941 # Sed substitution to avoid accidental globbing in evaled expressions
   10942 no_glob_subst='s/\*/\\\*/g'
   10943 
   10944 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10945 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10946 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10947 
   10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10949 $as_echo_n "checking how to print strings... " >&6; }
   10950 # Test print first, because it will be a builtin if present.
   10951 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10952    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10953   ECHO='print -r --'
   10954 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10955   ECHO='printf %s\n'
   10956 else
   10957   # Use this function as a fallback that always works.
   10958   func_fallback_echo ()
   10959   {
   10960     eval 'cat <<_LTECHO_EOF
   10961 $1
   10962 _LTECHO_EOF'
   10963   }
   10964   ECHO='func_fallback_echo'
   10965 fi
   10966 
   10967 # func_echo_all arg...
   10968 # Invoke $ECHO with all args, space-separated.
   10969 func_echo_all ()
   10970 {
   10971     $ECHO ""
   10972 }
   10973 
   10974 case $ECHO in
   10975   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10976 $as_echo "printf" >&6; } ;;
   10977   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10978 $as_echo "print -r" >&6; } ;;
   10979   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10980 $as_echo "cat" >&6; } ;;
   10981 esac
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10997 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10998 if ${ac_cv_path_SED+:} false; then :
   10999   $as_echo_n "(cached) " >&6
   11000 else
   11001             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11002      for ac_i in 1 2 3 4 5 6 7; do
   11003        ac_script="$ac_script$as_nl$ac_script"
   11004      done
   11005      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11006      { ac_script=; unset ac_script;}
   11007      if test -z "$SED"; then
   11008   ac_path_SED_found=false
   11009   # Loop through the user's path and test for each of PROGNAME-LIST
   11010   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11011 for as_dir in $PATH
   11012 do
   11013   IFS=$as_save_IFS
   11014   test -z "$as_dir" && as_dir=.
   11015     for ac_prog in sed gsed; do
   11016     for ac_exec_ext in '' $ac_executable_extensions; do
   11017       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11018       as_fn_executable_p "$ac_path_SED" || continue
   11019 # Check for GNU ac_path_SED and select it if it is found.
   11020   # Check for GNU $ac_path_SED
   11021 case `"$ac_path_SED" --version 2>&1` in
   11022 *GNU*)
   11023   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11024 *)
   11025   ac_count=0
   11026   $as_echo_n 0123456789 >"conftest.in"
   11027   while :
   11028   do
   11029     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11030     mv "conftest.tmp" "conftest.in"
   11031     cp "conftest.in" "conftest.nl"
   11032     $as_echo '' >> "conftest.nl"
   11033     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11034     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11035     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11036     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11037       # Best one so far, save it but keep looking for a better one
   11038       ac_cv_path_SED="$ac_path_SED"
   11039       ac_path_SED_max=$ac_count
   11040     fi
   11041     # 10*(2^10) chars as input seems more than enough
   11042     test $ac_count -gt 10 && break
   11043   done
   11044   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11045 esac
   11046 
   11047       $ac_path_SED_found && break 3
   11048     done
   11049   done
   11050   done
   11051 IFS=$as_save_IFS
   11052   if test -z "$ac_cv_path_SED"; then
   11053     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11054   fi
   11055 else
   11056   ac_cv_path_SED=$SED
   11057 fi
   11058 
   11059 fi
   11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11061 $as_echo "$ac_cv_path_SED" >&6; }
   11062  SED="$ac_cv_path_SED"
   11063   rm -f conftest.sed
   11064 
   11065 test -z "$SED" && SED=sed
   11066 Xsed="$SED -e 1s/^X//"
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11079 $as_echo_n "checking for fgrep... " >&6; }
   11080 if ${ac_cv_path_FGREP+:} false; then :
   11081   $as_echo_n "(cached) " >&6
   11082 else
   11083   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11084    then ac_cv_path_FGREP="$GREP -F"
   11085    else
   11086      if test -z "$FGREP"; then
   11087   ac_path_FGREP_found=false
   11088   # Loop through the user's path and test for each of PROGNAME-LIST
   11089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11091 do
   11092   IFS=$as_save_IFS
   11093   test -z "$as_dir" && as_dir=.
   11094     for ac_prog in fgrep; do
   11095     for ac_exec_ext in '' $ac_executable_extensions; do
   11096       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11097       as_fn_executable_p "$ac_path_FGREP" || continue
   11098 # Check for GNU ac_path_FGREP and select it if it is found.
   11099   # Check for GNU $ac_path_FGREP
   11100 case `"$ac_path_FGREP" --version 2>&1` in
   11101 *GNU*)
   11102   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11103 *)
   11104   ac_count=0
   11105   $as_echo_n 0123456789 >"conftest.in"
   11106   while :
   11107   do
   11108     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11109     mv "conftest.tmp" "conftest.in"
   11110     cp "conftest.in" "conftest.nl"
   11111     $as_echo 'FGREP' >> "conftest.nl"
   11112     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11113     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11114     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11115     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11116       # Best one so far, save it but keep looking for a better one
   11117       ac_cv_path_FGREP="$ac_path_FGREP"
   11118       ac_path_FGREP_max=$ac_count
   11119     fi
   11120     # 10*(2^10) chars as input seems more than enough
   11121     test $ac_count -gt 10 && break
   11122   done
   11123   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11124 esac
   11125 
   11126       $ac_path_FGREP_found && break 3
   11127     done
   11128   done
   11129   done
   11130 IFS=$as_save_IFS
   11131   if test -z "$ac_cv_path_FGREP"; then
   11132     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11133   fi
   11134 else
   11135   ac_cv_path_FGREP=$FGREP
   11136 fi
   11137 
   11138    fi
   11139 fi
   11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11141 $as_echo "$ac_cv_path_FGREP" >&6; }
   11142  FGREP="$ac_cv_path_FGREP"
   11143 
   11144 
   11145 test -z "$GREP" && GREP=grep
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 # Check whether --with-gnu-ld was given.
   11166 if test "${with_gnu_ld+set}" = set; then :
   11167   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11168 else
   11169   with_gnu_ld=no
   11170 fi
   11171 
   11172 ac_prog=ld
   11173 if test yes = "$GCC"; then
   11174   # Check if gcc -print-prog-name=ld gives a path.
   11175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11176 $as_echo_n "checking for ld used by $CC... " >&6; }
   11177   case $host in
   11178   *-*-mingw*)
   11179     # gcc leaves a trailing carriage return, which upsets mingw
   11180     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11181   *)
   11182     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11183   esac
   11184   case $ac_prog in
   11185     # Accept absolute paths.
   11186     [\\/]* | ?:[\\/]*)
   11187       re_direlt='/[^/][^/]*/\.\./'
   11188       # Canonicalize the pathname of ld
   11189       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11190       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11191 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11192       done
   11193       test -z "$LD" && LD=$ac_prog
   11194       ;;
   11195   "")
   11196     # If it fails, then pretend we aren't using GCC.
   11197     ac_prog=ld
   11198     ;;
   11199   *)
   11200     # If it is relative, then search for the first ld in PATH.
   11201     with_gnu_ld=unknown
   11202     ;;
   11203   esac
   11204 elif test yes = "$with_gnu_ld"; then
   11205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11206 $as_echo_n "checking for GNU ld... " >&6; }
   11207 else
   11208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11209 $as_echo_n "checking for non-GNU ld... " >&6; }
   11210 fi
   11211 if ${lt_cv_path_LD+:} false; then :
   11212   $as_echo_n "(cached) " >&6
   11213 else
   11214   if test -z "$LD"; then
   11215   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11216   for ac_dir in $PATH; do
   11217     IFS=$lt_save_ifs
   11218     test -z "$ac_dir" && ac_dir=.
   11219     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11220       lt_cv_path_LD=$ac_dir/$ac_prog
   11221       # Check to see if the program is GNU ld.  I'd rather use --version,
   11222       # but apparently some variants of GNU ld only accept -v.
   11223       # Break only if it was the GNU/non-GNU ld that we prefer.
   11224       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11225       *GNU* | *'with BFD'*)
   11226 	test no != "$with_gnu_ld" && break
   11227 	;;
   11228       *)
   11229 	test yes != "$with_gnu_ld" && break
   11230 	;;
   11231       esac
   11232     fi
   11233   done
   11234   IFS=$lt_save_ifs
   11235 else
   11236   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11237 fi
   11238 fi
   11239 
   11240 LD=$lt_cv_path_LD
   11241 if test -n "$LD"; then
   11242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11243 $as_echo "$LD" >&6; }
   11244 else
   11245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11246 $as_echo "no" >&6; }
   11247 fi
   11248 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11250 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11251 if ${lt_cv_prog_gnu_ld+:} false; then :
   11252   $as_echo_n "(cached) " >&6
   11253 else
   11254   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11255 case `$LD -v 2>&1 </dev/null` in
   11256 *GNU* | *'with BFD'*)
   11257   lt_cv_prog_gnu_ld=yes
   11258   ;;
   11259 *)
   11260   lt_cv_prog_gnu_ld=no
   11261   ;;
   11262 esac
   11263 fi
   11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11265 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11266 with_gnu_ld=$lt_cv_prog_gnu_ld
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11277 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11278 if ${lt_cv_path_NM+:} false; then :
   11279   $as_echo_n "(cached) " >&6
   11280 else
   11281   if test -n "$NM"; then
   11282   # Let the user override the test.
   11283   lt_cv_path_NM=$NM
   11284 else
   11285   lt_nm_to_check=${ac_tool_prefix}nm
   11286   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11287     lt_nm_to_check="$lt_nm_to_check nm"
   11288   fi
   11289   for lt_tmp_nm in $lt_nm_to_check; do
   11290     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11291     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11292       IFS=$lt_save_ifs
   11293       test -z "$ac_dir" && ac_dir=.
   11294       tmp_nm=$ac_dir/$lt_tmp_nm
   11295       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11296 	# Check to see if the nm accepts a BSD-compat flag.
   11297 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11298 	#   nm: unknown option "B" ignored
   11299 	# Tru64's nm complains that /dev/null is an invalid object file
   11300 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11301 	case $build_os in
   11302 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11303 	*) lt_bad_file=/dev/null ;;
   11304 	esac
   11305 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11306 	*$lt_bad_file* | *'Invalid file or object type'*)
   11307 	  lt_cv_path_NM="$tmp_nm -B"
   11308 	  break 2
   11309 	  ;;
   11310 	*)
   11311 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11312 	  */dev/null*)
   11313 	    lt_cv_path_NM="$tmp_nm -p"
   11314 	    break 2
   11315 	    ;;
   11316 	  *)
   11317 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11318 	    continue # so that we can try to find one that supports BSD flags
   11319 	    ;;
   11320 	  esac
   11321 	  ;;
   11322 	esac
   11323       fi
   11324     done
   11325     IFS=$lt_save_ifs
   11326   done
   11327   : ${lt_cv_path_NM=no}
   11328 fi
   11329 fi
   11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11331 $as_echo "$lt_cv_path_NM" >&6; }
   11332 if test no != "$lt_cv_path_NM"; then
   11333   NM=$lt_cv_path_NM
   11334 else
   11335   # Didn't find any BSD compatible name lister, look for dumpbin.
   11336   if test -n "$DUMPBIN"; then :
   11337     # Let the user override the test.
   11338   else
   11339     if test -n "$ac_tool_prefix"; then
   11340   for ac_prog in dumpbin "link -dump"
   11341   do
   11342     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11345 $as_echo_n "checking for $ac_word... " >&6; }
   11346 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11347   $as_echo_n "(cached) " >&6
   11348 else
   11349   if test -n "$DUMPBIN"; then
   11350   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11351 else
   11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11353 for as_dir in $PATH
   11354 do
   11355   IFS=$as_save_IFS
   11356   test -z "$as_dir" && as_dir=.
   11357     for ac_exec_ext in '' $ac_executable_extensions; do
   11358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11359     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11361     break 2
   11362   fi
   11363 done
   11364   done
   11365 IFS=$as_save_IFS
   11366 
   11367 fi
   11368 fi
   11369 DUMPBIN=$ac_cv_prog_DUMPBIN
   11370 if test -n "$DUMPBIN"; then
   11371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11372 $as_echo "$DUMPBIN" >&6; }
   11373 else
   11374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11375 $as_echo "no" >&6; }
   11376 fi
   11377 
   11378 
   11379     test -n "$DUMPBIN" && break
   11380   done
   11381 fi
   11382 if test -z "$DUMPBIN"; then
   11383   ac_ct_DUMPBIN=$DUMPBIN
   11384   for ac_prog in dumpbin "link -dump"
   11385 do
   11386   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11387 set dummy $ac_prog; ac_word=$2
   11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11389 $as_echo_n "checking for $ac_word... " >&6; }
   11390 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11391   $as_echo_n "(cached) " >&6
   11392 else
   11393   if test -n "$ac_ct_DUMPBIN"; then
   11394   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11395 else
   11396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11397 for as_dir in $PATH
   11398 do
   11399   IFS=$as_save_IFS
   11400   test -z "$as_dir" && as_dir=.
   11401     for ac_exec_ext in '' $ac_executable_extensions; do
   11402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11403     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11405     break 2
   11406   fi
   11407 done
   11408   done
   11409 IFS=$as_save_IFS
   11410 
   11411 fi
   11412 fi
   11413 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11414 if test -n "$ac_ct_DUMPBIN"; then
   11415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11416 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11417 else
   11418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11419 $as_echo "no" >&6; }
   11420 fi
   11421 
   11422 
   11423   test -n "$ac_ct_DUMPBIN" && break
   11424 done
   11425 
   11426   if test "x$ac_ct_DUMPBIN" = x; then
   11427     DUMPBIN=":"
   11428   else
   11429     case $cross_compiling:$ac_tool_warned in
   11430 yes:)
   11431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11433 ac_tool_warned=yes ;;
   11434 esac
   11435     DUMPBIN=$ac_ct_DUMPBIN
   11436   fi
   11437 fi
   11438 
   11439     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11440     *COFF*)
   11441       DUMPBIN="$DUMPBIN -symbols -headers"
   11442       ;;
   11443     *)
   11444       DUMPBIN=:
   11445       ;;
   11446     esac
   11447   fi
   11448 
   11449   if test : != "$DUMPBIN"; then
   11450     NM=$DUMPBIN
   11451   fi
   11452 fi
   11453 test -z "$NM" && NM=nm
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11461 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11462 if ${lt_cv_nm_interface+:} false; then :
   11463   $as_echo_n "(cached) " >&6
   11464 else
   11465   lt_cv_nm_interface="BSD nm"
   11466   echo "int some_variable = 0;" > conftest.$ac_ext
   11467   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11468   (eval "$ac_compile" 2>conftest.err)
   11469   cat conftest.err >&5
   11470   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11471   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11472   cat conftest.err >&5
   11473   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11474   cat conftest.out >&5
   11475   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11476     lt_cv_nm_interface="MS dumpbin"
   11477   fi
   11478   rm -f conftest*
   11479 fi
   11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11481 $as_echo "$lt_cv_nm_interface" >&6; }
   11482 
   11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11484 $as_echo_n "checking whether ln -s works... " >&6; }
   11485 LN_S=$as_ln_s
   11486 if test "$LN_S" = "ln -s"; then
   11487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11488 $as_echo "yes" >&6; }
   11489 else
   11490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11491 $as_echo "no, using $LN_S" >&6; }
   11492 fi
   11493 
   11494 # find the maximum length of command line arguments
   11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11496 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11497 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11498   $as_echo_n "(cached) " >&6
   11499 else
   11500     i=0
   11501   teststring=ABCD
   11502 
   11503   case $build_os in
   11504   msdosdjgpp*)
   11505     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11506     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11507     # during glob expansion).  Even if it were fixed, the result of this
   11508     # check would be larger than it should be.
   11509     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11510     ;;
   11511 
   11512   gnu*)
   11513     # Under GNU Hurd, this test is not required because there is
   11514     # no limit to the length of command line arguments.
   11515     # Libtool will interpret -1 as no limit whatsoever
   11516     lt_cv_sys_max_cmd_len=-1;
   11517     ;;
   11518 
   11519   cygwin* | mingw* | cegcc*)
   11520     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11521     # about 5 minutes as the teststring grows exponentially.
   11522     # Worse, since 9x/ME are not pre-emptively multitasking,
   11523     # you end up with a "frozen" computer, even though with patience
   11524     # the test eventually succeeds (with a max line length of 256k).
   11525     # Instead, let's just punt: use the minimum linelength reported by
   11526     # all of the supported platforms: 8192 (on NT/2K/XP).
   11527     lt_cv_sys_max_cmd_len=8192;
   11528     ;;
   11529 
   11530   mint*)
   11531     # On MiNT this can take a long time and run out of memory.
   11532     lt_cv_sys_max_cmd_len=8192;
   11533     ;;
   11534 
   11535   amigaos*)
   11536     # On AmigaOS with pdksh, this test takes hours, literally.
   11537     # So we just punt and use a minimum line length of 8192.
   11538     lt_cv_sys_max_cmd_len=8192;
   11539     ;;
   11540 
   11541   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11542     # This has been around since 386BSD, at least.  Likely further.
   11543     if test -x /sbin/sysctl; then
   11544       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11545     elif test -x /usr/sbin/sysctl; then
   11546       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11547     else
   11548       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11549     fi
   11550     # And add a safety zone
   11551     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11552     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11553     ;;
   11554 
   11555   interix*)
   11556     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11557     lt_cv_sys_max_cmd_len=196608
   11558     ;;
   11559 
   11560   os2*)
   11561     # The test takes a long time on OS/2.
   11562     lt_cv_sys_max_cmd_len=8192
   11563     ;;
   11564 
   11565   osf*)
   11566     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11567     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11568     # nice to cause kernel panics so lets avoid the loop below.
   11569     # First set a reasonable default.
   11570     lt_cv_sys_max_cmd_len=16384
   11571     #
   11572     if test -x /sbin/sysconfig; then
   11573       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11574         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11575       esac
   11576     fi
   11577     ;;
   11578   sco3.2v5*)
   11579     lt_cv_sys_max_cmd_len=102400
   11580     ;;
   11581   sysv5* | sco5v6* | sysv4.2uw2*)
   11582     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11583     if test -n "$kargmax"; then
   11584       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11585     else
   11586       lt_cv_sys_max_cmd_len=32768
   11587     fi
   11588     ;;
   11589   *)
   11590     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11591     if test -n "$lt_cv_sys_max_cmd_len" && \
   11592        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11593       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11594       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11595     else
   11596       # Make teststring a little bigger before we do anything with it.
   11597       # a 1K string should be a reasonable start.
   11598       for i in 1 2 3 4 5 6 7 8; do
   11599         teststring=$teststring$teststring
   11600       done
   11601       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11602       # If test is not a shell built-in, we'll probably end up computing a
   11603       # maximum length that is only half of the actual maximum length, but
   11604       # we can't tell.
   11605       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11606 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11607 	      test 17 != "$i" # 1/2 MB should be enough
   11608       do
   11609         i=`expr $i + 1`
   11610         teststring=$teststring$teststring
   11611       done
   11612       # Only check the string length outside the loop.
   11613       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11614       teststring=
   11615       # Add a significant safety factor because C++ compilers can tack on
   11616       # massive amounts of additional arguments before passing them to the
   11617       # linker.  It appears as though 1/2 is a usable value.
   11618       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11619     fi
   11620     ;;
   11621   esac
   11622 
   11623 fi
   11624 
   11625 if test -n "$lt_cv_sys_max_cmd_len"; then
   11626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11627 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11628 else
   11629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11630 $as_echo "none" >&6; }
   11631 fi
   11632 max_cmd_len=$lt_cv_sys_max_cmd_len
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 : ${CP="cp -f"}
   11640 : ${MV="mv -f"}
   11641 : ${RM="rm -f"}
   11642 
   11643 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11644   lt_unset=unset
   11645 else
   11646   lt_unset=false
   11647 fi
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 # test EBCDIC or ASCII
   11654 case `echo X|tr X '\101'` in
   11655  A) # ASCII based system
   11656     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11657   lt_SP2NL='tr \040 \012'
   11658   lt_NL2SP='tr \015\012 \040\040'
   11659   ;;
   11660  *) # EBCDIC based system
   11661   lt_SP2NL='tr \100 \n'
   11662   lt_NL2SP='tr \r\n \100\100'
   11663   ;;
   11664 esac
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11675 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11676 if ${lt_cv_to_host_file_cmd+:} false; then :
   11677   $as_echo_n "(cached) " >&6
   11678 else
   11679   case $host in
   11680   *-*-mingw* )
   11681     case $build in
   11682       *-*-mingw* ) # actually msys
   11683         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11684         ;;
   11685       *-*-cygwin* )
   11686         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11687         ;;
   11688       * ) # otherwise, assume *nix
   11689         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11690         ;;
   11691     esac
   11692     ;;
   11693   *-*-cygwin* )
   11694     case $build in
   11695       *-*-mingw* ) # actually msys
   11696         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11697         ;;
   11698       *-*-cygwin* )
   11699         lt_cv_to_host_file_cmd=func_convert_file_noop
   11700         ;;
   11701       * ) # otherwise, assume *nix
   11702         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11703         ;;
   11704     esac
   11705     ;;
   11706   * ) # unhandled hosts (and "normal" native builds)
   11707     lt_cv_to_host_file_cmd=func_convert_file_noop
   11708     ;;
   11709 esac
   11710 
   11711 fi
   11712 
   11713 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11715 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11722 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11723 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11724   $as_echo_n "(cached) " >&6
   11725 else
   11726   #assume ordinary cross tools, or native build.
   11727 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11728 case $host in
   11729   *-*-mingw* )
   11730     case $build in
   11731       *-*-mingw* ) # actually msys
   11732         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11733         ;;
   11734     esac
   11735     ;;
   11736 esac
   11737 
   11738 fi
   11739 
   11740 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11742 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11749 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11750 if ${lt_cv_ld_reload_flag+:} false; then :
   11751   $as_echo_n "(cached) " >&6
   11752 else
   11753   lt_cv_ld_reload_flag='-r'
   11754 fi
   11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11756 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11757 reload_flag=$lt_cv_ld_reload_flag
   11758 case $reload_flag in
   11759 "" | " "*) ;;
   11760 *) reload_flag=" $reload_flag" ;;
   11761 esac
   11762 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11763 case $host_os in
   11764   cygwin* | mingw* | pw32* | cegcc*)
   11765     if test yes != "$GCC"; then
   11766       reload_cmds=false
   11767     fi
   11768     ;;
   11769   darwin*)
   11770     if test yes = "$GCC"; then
   11771       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11772     else
   11773       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11774     fi
   11775     ;;
   11776 esac
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 if test -n "$ac_tool_prefix"; then
   11787   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11788 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11790 $as_echo_n "checking for $ac_word... " >&6; }
   11791 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11792   $as_echo_n "(cached) " >&6
   11793 else
   11794   if test -n "$OBJDUMP"; then
   11795   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11796 else
   11797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11798 for as_dir in $PATH
   11799 do
   11800   IFS=$as_save_IFS
   11801   test -z "$as_dir" && as_dir=.
   11802     for ac_exec_ext in '' $ac_executable_extensions; do
   11803   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11804     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11805     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11806     break 2
   11807   fi
   11808 done
   11809   done
   11810 IFS=$as_save_IFS
   11811 
   11812 fi
   11813 fi
   11814 OBJDUMP=$ac_cv_prog_OBJDUMP
   11815 if test -n "$OBJDUMP"; then
   11816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11817 $as_echo "$OBJDUMP" >&6; }
   11818 else
   11819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11820 $as_echo "no" >&6; }
   11821 fi
   11822 
   11823 
   11824 fi
   11825 if test -z "$ac_cv_prog_OBJDUMP"; then
   11826   ac_ct_OBJDUMP=$OBJDUMP
   11827   # Extract the first word of "objdump", so it can be a program name with args.
   11828 set dummy objdump; ac_word=$2
   11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11830 $as_echo_n "checking for $ac_word... " >&6; }
   11831 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11832   $as_echo_n "(cached) " >&6
   11833 else
   11834   if test -n "$ac_ct_OBJDUMP"; then
   11835   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11836 else
   11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11838 for as_dir in $PATH
   11839 do
   11840   IFS=$as_save_IFS
   11841   test -z "$as_dir" && as_dir=.
   11842     for ac_exec_ext in '' $ac_executable_extensions; do
   11843   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11844     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11846     break 2
   11847   fi
   11848 done
   11849   done
   11850 IFS=$as_save_IFS
   11851 
   11852 fi
   11853 fi
   11854 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11855 if test -n "$ac_ct_OBJDUMP"; then
   11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11857 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11858 else
   11859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11860 $as_echo "no" >&6; }
   11861 fi
   11862 
   11863   if test "x$ac_ct_OBJDUMP" = x; then
   11864     OBJDUMP="false"
   11865   else
   11866     case $cross_compiling:$ac_tool_warned in
   11867 yes:)
   11868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11870 ac_tool_warned=yes ;;
   11871 esac
   11872     OBJDUMP=$ac_ct_OBJDUMP
   11873   fi
   11874 else
   11875   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11876 fi
   11877 
   11878 test -z "$OBJDUMP" && OBJDUMP=objdump
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11889 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11890 if ${lt_cv_deplibs_check_method+:} false; then :
   11891   $as_echo_n "(cached) " >&6
   11892 else
   11893   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11894 lt_cv_file_magic_test_file=
   11895 lt_cv_deplibs_check_method='unknown'
   11896 # Need to set the preceding variable on all platforms that support
   11897 # interlibrary dependencies.
   11898 # 'none' -- dependencies not supported.
   11899 # 'unknown' -- same as none, but documents that we really don't know.
   11900 # 'pass_all' -- all dependencies passed with no checks.
   11901 # 'test_compile' -- check by making test program.
   11902 # 'file_magic [[regex]]' -- check by looking for files in library path
   11903 # that responds to the $file_magic_cmd with a given extended regex.
   11904 # If you have 'file' or equivalent on your system and you're not sure
   11905 # whether 'pass_all' will *always* work, you probably want this one.
   11906 
   11907 case $host_os in
   11908 aix[4-9]*)
   11909   lt_cv_deplibs_check_method=pass_all
   11910   ;;
   11911 
   11912 beos*)
   11913   lt_cv_deplibs_check_method=pass_all
   11914   ;;
   11915 
   11916 bsdi[45]*)
   11917   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11918   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11919   lt_cv_file_magic_test_file=/shlib/libc.so
   11920   ;;
   11921 
   11922 cygwin*)
   11923   # func_win32_libid is a shell function defined in ltmain.sh
   11924   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11925   lt_cv_file_magic_cmd='func_win32_libid'
   11926   ;;
   11927 
   11928 mingw* | pw32*)
   11929   # Base MSYS/MinGW do not provide the 'file' command needed by
   11930   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11931   # unless we find 'file', for example because we are cross-compiling.
   11932   if ( file / ) >/dev/null 2>&1; then
   11933     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11934     lt_cv_file_magic_cmd='func_win32_libid'
   11935   else
   11936     # Keep this pattern in sync with the one in func_win32_libid.
   11937     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11938     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11939   fi
   11940   ;;
   11941 
   11942 cegcc*)
   11943   # use the weaker test based on 'objdump'. See mingw*.
   11944   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11945   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11946   ;;
   11947 
   11948 darwin* | rhapsody*)
   11949   lt_cv_deplibs_check_method=pass_all
   11950   ;;
   11951 
   11952 freebsd* | dragonfly*)
   11953   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11954     case $host_cpu in
   11955     i*86 )
   11956       # Not sure whether the presence of OpenBSD here was a mistake.
   11957       # Let's accept both of them until this is cleared up.
   11958       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11959       lt_cv_file_magic_cmd=/usr/bin/file
   11960       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11961       ;;
   11962     esac
   11963   else
   11964     lt_cv_deplibs_check_method=pass_all
   11965   fi
   11966   ;;
   11967 
   11968 haiku*)
   11969   lt_cv_deplibs_check_method=pass_all
   11970   ;;
   11971 
   11972 hpux10.20* | hpux11*)
   11973   lt_cv_file_magic_cmd=/usr/bin/file
   11974   case $host_cpu in
   11975   ia64*)
   11976     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11977     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11978     ;;
   11979   hppa*64*)
   11980     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]'
   11981     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11982     ;;
   11983   *)
   11984     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11985     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11986     ;;
   11987   esac
   11988   ;;
   11989 
   11990 interix[3-9]*)
   11991   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11992   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11993   ;;
   11994 
   11995 irix5* | irix6* | nonstopux*)
   11996   case $LD in
   11997   *-32|*"-32 ") libmagic=32-bit;;
   11998   *-n32|*"-n32 ") libmagic=N32;;
   11999   *-64|*"-64 ") libmagic=64-bit;;
   12000   *) libmagic=never-match;;
   12001   esac
   12002   lt_cv_deplibs_check_method=pass_all
   12003   ;;
   12004 
   12005 # This must be glibc/ELF.
   12006 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12007   lt_cv_deplibs_check_method=pass_all
   12008   ;;
   12009 
   12010 netbsd*)
   12011   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12012     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12013   else
   12014     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12015   fi
   12016   ;;
   12017 
   12018 newos6*)
   12019   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12020   lt_cv_file_magic_cmd=/usr/bin/file
   12021   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12022   ;;
   12023 
   12024 *nto* | *qnx*)
   12025   lt_cv_deplibs_check_method=pass_all
   12026   ;;
   12027 
   12028 openbsd* | bitrig*)
   12029   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12030     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12031   else
   12032     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12033   fi
   12034   ;;
   12035 
   12036 osf3* | osf4* | osf5*)
   12037   lt_cv_deplibs_check_method=pass_all
   12038   ;;
   12039 
   12040 rdos*)
   12041   lt_cv_deplibs_check_method=pass_all
   12042   ;;
   12043 
   12044 solaris*)
   12045   lt_cv_deplibs_check_method=pass_all
   12046   ;;
   12047 
   12048 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12049   lt_cv_deplibs_check_method=pass_all
   12050   ;;
   12051 
   12052 sysv4 | sysv4.3*)
   12053   case $host_vendor in
   12054   motorola)
   12055     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]'
   12056     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12057     ;;
   12058   ncr)
   12059     lt_cv_deplibs_check_method=pass_all
   12060     ;;
   12061   sequent)
   12062     lt_cv_file_magic_cmd='/bin/file'
   12063     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12064     ;;
   12065   sni)
   12066     lt_cv_file_magic_cmd='/bin/file'
   12067     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12068     lt_cv_file_magic_test_file=/lib/libc.so
   12069     ;;
   12070   siemens)
   12071     lt_cv_deplibs_check_method=pass_all
   12072     ;;
   12073   pc)
   12074     lt_cv_deplibs_check_method=pass_all
   12075     ;;
   12076   esac
   12077   ;;
   12078 
   12079 tpf*)
   12080   lt_cv_deplibs_check_method=pass_all
   12081   ;;
   12082 os2*)
   12083   lt_cv_deplibs_check_method=pass_all
   12084   ;;
   12085 esac
   12086 
   12087 fi
   12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12089 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12090 
   12091 file_magic_glob=
   12092 want_nocaseglob=no
   12093 if test "$build" = "$host"; then
   12094   case $host_os in
   12095   mingw* | pw32*)
   12096     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12097       want_nocaseglob=yes
   12098     else
   12099       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12100     fi
   12101     ;;
   12102   esac
   12103 fi
   12104 
   12105 file_magic_cmd=$lt_cv_file_magic_cmd
   12106 deplibs_check_method=$lt_cv_deplibs_check_method
   12107 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 if test -n "$ac_tool_prefix"; then
   12131   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12132 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12134 $as_echo_n "checking for $ac_word... " >&6; }
   12135 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12136   $as_echo_n "(cached) " >&6
   12137 else
   12138   if test -n "$DLLTOOL"; then
   12139   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12140 else
   12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12142 for as_dir in $PATH
   12143 do
   12144   IFS=$as_save_IFS
   12145   test -z "$as_dir" && as_dir=.
   12146     for ac_exec_ext in '' $ac_executable_extensions; do
   12147   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12148     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12150     break 2
   12151   fi
   12152 done
   12153   done
   12154 IFS=$as_save_IFS
   12155 
   12156 fi
   12157 fi
   12158 DLLTOOL=$ac_cv_prog_DLLTOOL
   12159 if test -n "$DLLTOOL"; then
   12160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12161 $as_echo "$DLLTOOL" >&6; }
   12162 else
   12163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12164 $as_echo "no" >&6; }
   12165 fi
   12166 
   12167 
   12168 fi
   12169 if test -z "$ac_cv_prog_DLLTOOL"; then
   12170   ac_ct_DLLTOOL=$DLLTOOL
   12171   # Extract the first word of "dlltool", so it can be a program name with args.
   12172 set dummy dlltool; ac_word=$2
   12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12174 $as_echo_n "checking for $ac_word... " >&6; }
   12175 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12176   $as_echo_n "(cached) " >&6
   12177 else
   12178   if test -n "$ac_ct_DLLTOOL"; then
   12179   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12180 else
   12181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12182 for as_dir in $PATH
   12183 do
   12184   IFS=$as_save_IFS
   12185   test -z "$as_dir" && as_dir=.
   12186     for ac_exec_ext in '' $ac_executable_extensions; do
   12187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12188     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12190     break 2
   12191   fi
   12192 done
   12193   done
   12194 IFS=$as_save_IFS
   12195 
   12196 fi
   12197 fi
   12198 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12199 if test -n "$ac_ct_DLLTOOL"; then
   12200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12201 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12202 else
   12203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12204 $as_echo "no" >&6; }
   12205 fi
   12206 
   12207   if test "x$ac_ct_DLLTOOL" = x; then
   12208     DLLTOOL="false"
   12209   else
   12210     case $cross_compiling:$ac_tool_warned in
   12211 yes:)
   12212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12214 ac_tool_warned=yes ;;
   12215 esac
   12216     DLLTOOL=$ac_ct_DLLTOOL
   12217   fi
   12218 else
   12219   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12220 fi
   12221 
   12222 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12234 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12235 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12236   $as_echo_n "(cached) " >&6
   12237 else
   12238   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12239 
   12240 case $host_os in
   12241 cygwin* | mingw* | pw32* | cegcc*)
   12242   # two different shell functions defined in ltmain.sh;
   12243   # decide which one to use based on capabilities of $DLLTOOL
   12244   case `$DLLTOOL --help 2>&1` in
   12245   *--identify-strict*)
   12246     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12247     ;;
   12248   *)
   12249     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12250     ;;
   12251   esac
   12252   ;;
   12253 *)
   12254   # fallback: assume linklib IS sharedlib
   12255   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12256   ;;
   12257 esac
   12258 
   12259 fi
   12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12261 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12262 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12263 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 if test -n "$ac_tool_prefix"; then
   12272   for ac_prog in ar
   12273   do
   12274     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12277 $as_echo_n "checking for $ac_word... " >&6; }
   12278 if ${ac_cv_prog_AR+:} false; then :
   12279   $as_echo_n "(cached) " >&6
   12280 else
   12281   if test -n "$AR"; then
   12282   ac_cv_prog_AR="$AR" # Let the user override the test.
   12283 else
   12284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12285 for as_dir in $PATH
   12286 do
   12287   IFS=$as_save_IFS
   12288   test -z "$as_dir" && as_dir=.
   12289     for ac_exec_ext in '' $ac_executable_extensions; do
   12290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12291     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12293     break 2
   12294   fi
   12295 done
   12296   done
   12297 IFS=$as_save_IFS
   12298 
   12299 fi
   12300 fi
   12301 AR=$ac_cv_prog_AR
   12302 if test -n "$AR"; then
   12303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12304 $as_echo "$AR" >&6; }
   12305 else
   12306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12307 $as_echo "no" >&6; }
   12308 fi
   12309 
   12310 
   12311     test -n "$AR" && break
   12312   done
   12313 fi
   12314 if test -z "$AR"; then
   12315   ac_ct_AR=$AR
   12316   for ac_prog in ar
   12317 do
   12318   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12319 set dummy $ac_prog; ac_word=$2
   12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12321 $as_echo_n "checking for $ac_word... " >&6; }
   12322 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12323   $as_echo_n "(cached) " >&6
   12324 else
   12325   if test -n "$ac_ct_AR"; then
   12326   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12327 else
   12328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12329 for as_dir in $PATH
   12330 do
   12331   IFS=$as_save_IFS
   12332   test -z "$as_dir" && as_dir=.
   12333     for ac_exec_ext in '' $ac_executable_extensions; do
   12334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12335     ac_cv_prog_ac_ct_AR="$ac_prog"
   12336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12337     break 2
   12338   fi
   12339 done
   12340   done
   12341 IFS=$as_save_IFS
   12342 
   12343 fi
   12344 fi
   12345 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12346 if test -n "$ac_ct_AR"; then
   12347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12348 $as_echo "$ac_ct_AR" >&6; }
   12349 else
   12350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12351 $as_echo "no" >&6; }
   12352 fi
   12353 
   12354 
   12355   test -n "$ac_ct_AR" && break
   12356 done
   12357 
   12358   if test "x$ac_ct_AR" = x; then
   12359     AR="false"
   12360   else
   12361     case $cross_compiling:$ac_tool_warned in
   12362 yes:)
   12363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12365 ac_tool_warned=yes ;;
   12366 esac
   12367     AR=$ac_ct_AR
   12368   fi
   12369 fi
   12370 
   12371 : ${AR=ar}
   12372 : ${AR_FLAGS=cru}
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12385 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12386 if ${lt_cv_ar_at_file+:} false; then :
   12387   $as_echo_n "(cached) " >&6
   12388 else
   12389   lt_cv_ar_at_file=no
   12390    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12391 /* end confdefs.h.  */
   12392 
   12393 int
   12394 main ()
   12395 {
   12396 
   12397   ;
   12398   return 0;
   12399 }
   12400 _ACEOF
   12401 if ac_fn_c_try_compile "$LINENO"; then :
   12402   echo conftest.$ac_objext > conftest.lst
   12403       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12404       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12405   (eval $lt_ar_try) 2>&5
   12406   ac_status=$?
   12407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12408   test $ac_status = 0; }
   12409       if test 0 -eq "$ac_status"; then
   12410 	# Ensure the archiver fails upon bogus file names.
   12411 	rm -f conftest.$ac_objext libconftest.a
   12412 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12413   (eval $lt_ar_try) 2>&5
   12414   ac_status=$?
   12415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12416   test $ac_status = 0; }
   12417 	if test 0 -ne "$ac_status"; then
   12418           lt_cv_ar_at_file=@
   12419         fi
   12420       fi
   12421       rm -f conftest.* libconftest.a
   12422 
   12423 fi
   12424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12425 
   12426 fi
   12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12428 $as_echo "$lt_cv_ar_at_file" >&6; }
   12429 
   12430 if test no = "$lt_cv_ar_at_file"; then
   12431   archiver_list_spec=
   12432 else
   12433   archiver_list_spec=$lt_cv_ar_at_file
   12434 fi
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 if test -n "$ac_tool_prefix"; then
   12443   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12444 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12446 $as_echo_n "checking for $ac_word... " >&6; }
   12447 if ${ac_cv_prog_STRIP+:} false; then :
   12448   $as_echo_n "(cached) " >&6
   12449 else
   12450   if test -n "$STRIP"; then
   12451   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12452 else
   12453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12454 for as_dir in $PATH
   12455 do
   12456   IFS=$as_save_IFS
   12457   test -z "$as_dir" && as_dir=.
   12458     for ac_exec_ext in '' $ac_executable_extensions; do
   12459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12460     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12462     break 2
   12463   fi
   12464 done
   12465   done
   12466 IFS=$as_save_IFS
   12467 
   12468 fi
   12469 fi
   12470 STRIP=$ac_cv_prog_STRIP
   12471 if test -n "$STRIP"; then
   12472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12473 $as_echo "$STRIP" >&6; }
   12474 else
   12475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12476 $as_echo "no" >&6; }
   12477 fi
   12478 
   12479 
   12480 fi
   12481 if test -z "$ac_cv_prog_STRIP"; then
   12482   ac_ct_STRIP=$STRIP
   12483   # Extract the first word of "strip", so it can be a program name with args.
   12484 set dummy strip; ac_word=$2
   12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12486 $as_echo_n "checking for $ac_word... " >&6; }
   12487 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12488   $as_echo_n "(cached) " >&6
   12489 else
   12490   if test -n "$ac_ct_STRIP"; then
   12491   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12492 else
   12493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12494 for as_dir in $PATH
   12495 do
   12496   IFS=$as_save_IFS
   12497   test -z "$as_dir" && as_dir=.
   12498     for ac_exec_ext in '' $ac_executable_extensions; do
   12499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12500     ac_cv_prog_ac_ct_STRIP="strip"
   12501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12502     break 2
   12503   fi
   12504 done
   12505   done
   12506 IFS=$as_save_IFS
   12507 
   12508 fi
   12509 fi
   12510 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12511 if test -n "$ac_ct_STRIP"; then
   12512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12513 $as_echo "$ac_ct_STRIP" >&6; }
   12514 else
   12515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12516 $as_echo "no" >&6; }
   12517 fi
   12518 
   12519   if test "x$ac_ct_STRIP" = x; then
   12520     STRIP=":"
   12521   else
   12522     case $cross_compiling:$ac_tool_warned in
   12523 yes:)
   12524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12526 ac_tool_warned=yes ;;
   12527 esac
   12528     STRIP=$ac_ct_STRIP
   12529   fi
   12530 else
   12531   STRIP="$ac_cv_prog_STRIP"
   12532 fi
   12533 
   12534 test -z "$STRIP" && STRIP=:
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 if test -n "$ac_tool_prefix"; then
   12542   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12543 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12545 $as_echo_n "checking for $ac_word... " >&6; }
   12546 if ${ac_cv_prog_RANLIB+:} false; then :
   12547   $as_echo_n "(cached) " >&6
   12548 else
   12549   if test -n "$RANLIB"; then
   12550   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12551 else
   12552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12553 for as_dir in $PATH
   12554 do
   12555   IFS=$as_save_IFS
   12556   test -z "$as_dir" && as_dir=.
   12557     for ac_exec_ext in '' $ac_executable_extensions; do
   12558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12559     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12561     break 2
   12562   fi
   12563 done
   12564   done
   12565 IFS=$as_save_IFS
   12566 
   12567 fi
   12568 fi
   12569 RANLIB=$ac_cv_prog_RANLIB
   12570 if test -n "$RANLIB"; then
   12571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12572 $as_echo "$RANLIB" >&6; }
   12573 else
   12574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12575 $as_echo "no" >&6; }
   12576 fi
   12577 
   12578 
   12579 fi
   12580 if test -z "$ac_cv_prog_RANLIB"; then
   12581   ac_ct_RANLIB=$RANLIB
   12582   # Extract the first word of "ranlib", so it can be a program name with args.
   12583 set dummy ranlib; ac_word=$2
   12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12585 $as_echo_n "checking for $ac_word... " >&6; }
   12586 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12587   $as_echo_n "(cached) " >&6
   12588 else
   12589   if test -n "$ac_ct_RANLIB"; then
   12590   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12591 else
   12592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12593 for as_dir in $PATH
   12594 do
   12595   IFS=$as_save_IFS
   12596   test -z "$as_dir" && as_dir=.
   12597     for ac_exec_ext in '' $ac_executable_extensions; do
   12598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12599     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12601     break 2
   12602   fi
   12603 done
   12604   done
   12605 IFS=$as_save_IFS
   12606 
   12607 fi
   12608 fi
   12609 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12610 if test -n "$ac_ct_RANLIB"; then
   12611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12612 $as_echo "$ac_ct_RANLIB" >&6; }
   12613 else
   12614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12615 $as_echo "no" >&6; }
   12616 fi
   12617 
   12618   if test "x$ac_ct_RANLIB" = x; then
   12619     RANLIB=":"
   12620   else
   12621     case $cross_compiling:$ac_tool_warned in
   12622 yes:)
   12623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12625 ac_tool_warned=yes ;;
   12626 esac
   12627     RANLIB=$ac_ct_RANLIB
   12628   fi
   12629 else
   12630   RANLIB="$ac_cv_prog_RANLIB"
   12631 fi
   12632 
   12633 test -z "$RANLIB" && RANLIB=:
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 # Determine commands to create old-style static archives.
   12641 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12642 old_postinstall_cmds='chmod 644 $oldlib'
   12643 old_postuninstall_cmds=
   12644 
   12645 if test -n "$RANLIB"; then
   12646   case $host_os in
   12647   bitrig* | openbsd*)
   12648     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12649     ;;
   12650   *)
   12651     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12652     ;;
   12653   esac
   12654   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12655 fi
   12656 
   12657 case $host_os in
   12658   darwin*)
   12659     lock_old_archive_extraction=yes ;;
   12660   *)
   12661     lock_old_archive_extraction=no ;;
   12662 esac
   12663 
   12664 
   12665 
   12666 
   12667 
   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 # If no C compiler was specified, use CC.
   12703 LTCC=${LTCC-"$CC"}
   12704 
   12705 # If no C compiler flags were specified, use CFLAGS.
   12706 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12707 
   12708 # Allow CC to be a program name with arguments.
   12709 compiler=$CC
   12710 
   12711 
   12712 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12714 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12715 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12716   $as_echo_n "(cached) " >&6
   12717 else
   12718 
   12719 # These are sane defaults that work on at least a few old systems.
   12720 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12721 
   12722 # Character class describing NM global symbol codes.
   12723 symcode='[BCDEGRST]'
   12724 
   12725 # Regexp to match symbols that can be accessed directly from C.
   12726 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12727 
   12728 # Define system-specific variables.
   12729 case $host_os in
   12730 aix*)
   12731   symcode='[BCDT]'
   12732   ;;
   12733 cygwin* | mingw* | pw32* | cegcc*)
   12734   symcode='[ABCDGISTW]'
   12735   ;;
   12736 hpux*)
   12737   if test ia64 = "$host_cpu"; then
   12738     symcode='[ABCDEGRST]'
   12739   fi
   12740   ;;
   12741 irix* | nonstopux*)
   12742   symcode='[BCDEGRST]'
   12743   ;;
   12744 osf*)
   12745   symcode='[BCDEGQRST]'
   12746   ;;
   12747 solaris*)
   12748   symcode='[BDRT]'
   12749   ;;
   12750 sco3.2v5*)
   12751   symcode='[DT]'
   12752   ;;
   12753 sysv4.2uw2*)
   12754   symcode='[DT]'
   12755   ;;
   12756 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12757   symcode='[ABDT]'
   12758   ;;
   12759 sysv4)
   12760   symcode='[DFNSTU]'
   12761   ;;
   12762 esac
   12763 
   12764 # If we're using GNU nm, then use its standard symbol codes.
   12765 case `$NM -V 2>&1` in
   12766 *GNU* | *'with BFD'*)
   12767   symcode='[ABCDGIRSTW]' ;;
   12768 esac
   12769 
   12770 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12771   # Gets list of data symbols to import.
   12772   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12773   # Adjust the below global symbol transforms to fixup imported variables.
   12774   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12775   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12776   lt_c_name_lib_hook="\
   12777   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12778   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12779 else
   12780   # Disable hooks by default.
   12781   lt_cv_sys_global_symbol_to_import=
   12782   lt_cdecl_hook=
   12783   lt_c_name_hook=
   12784   lt_c_name_lib_hook=
   12785 fi
   12786 
   12787 # Transform an extracted symbol line into a proper C declaration.
   12788 # Some systems (esp. on ia64) link data and code symbols differently,
   12789 # so use this general approach.
   12790 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12791 $lt_cdecl_hook\
   12792 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12793 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12794 
   12795 # Transform an extracted symbol line into symbol name and symbol address
   12796 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12797 $lt_c_name_hook\
   12798 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12799 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12800 
   12801 # Transform an extracted symbol line into symbol name with lib prefix and
   12802 # symbol address.
   12803 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12804 $lt_c_name_lib_hook\
   12805 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12806 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12807 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12808 
   12809 # Handle CRLF in mingw tool chain
   12810 opt_cr=
   12811 case $build_os in
   12812 mingw*)
   12813   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12814   ;;
   12815 esac
   12816 
   12817 # Try without a prefix underscore, then with it.
   12818 for ac_symprfx in "" "_"; do
   12819 
   12820   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12821   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12822 
   12823   # Write the raw and C identifiers.
   12824   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12825     # Fake it for dumpbin and say T for any non-static function,
   12826     # D for any global variable and I for any imported variable.
   12827     # Also find C++ and __fastcall symbols from MSVC++,
   12828     # which start with @ or ?.
   12829     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12830 "     {last_section=section; section=\$ 3};"\
   12831 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12832 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12833 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12834 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12835 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12836 "     \$ 0!~/External *\|/{next};"\
   12837 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12838 "     {if(hide[section]) next};"\
   12839 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12840 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12841 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12842 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12843 "     ' prfx=^$ac_symprfx"
   12844   else
   12845     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12846   fi
   12847   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12848 
   12849   # Check to see that the pipe works correctly.
   12850   pipe_works=no
   12851 
   12852   rm -f conftest*
   12853   cat > conftest.$ac_ext <<_LT_EOF
   12854 #ifdef __cplusplus
   12855 extern "C" {
   12856 #endif
   12857 char nm_test_var;
   12858 void nm_test_func(void);
   12859 void nm_test_func(void){}
   12860 #ifdef __cplusplus
   12861 }
   12862 #endif
   12863 int main(){nm_test_var='a';nm_test_func();return(0);}
   12864 _LT_EOF
   12865 
   12866   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12867   (eval $ac_compile) 2>&5
   12868   ac_status=$?
   12869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12870   test $ac_status = 0; }; then
   12871     # Now try to grab the symbols.
   12872     nlist=conftest.nm
   12873     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12874   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12875   ac_status=$?
   12876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12877   test $ac_status = 0; } && test -s "$nlist"; then
   12878       # Try sorting and uniquifying the output.
   12879       if sort "$nlist" | uniq > "$nlist"T; then
   12880 	mv -f "$nlist"T "$nlist"
   12881       else
   12882 	rm -f "$nlist"T
   12883       fi
   12884 
   12885       # Make sure that we snagged all the symbols we need.
   12886       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12887 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12888 	  cat <<_LT_EOF > conftest.$ac_ext
   12889 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12890 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12891 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12892    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12893 # define LT_DLSYM_CONST
   12894 #elif defined __osf__
   12895 /* This system does not cope well with relocations in const data.  */
   12896 # define LT_DLSYM_CONST
   12897 #else
   12898 # define LT_DLSYM_CONST const
   12899 #endif
   12900 
   12901 #ifdef __cplusplus
   12902 extern "C" {
   12903 #endif
   12904 
   12905 _LT_EOF
   12906 	  # Now generate the symbol file.
   12907 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12908 
   12909 	  cat <<_LT_EOF >> conftest.$ac_ext
   12910 
   12911 /* The mapping between symbol names and symbols.  */
   12912 LT_DLSYM_CONST struct {
   12913   const char *name;
   12914   void       *address;
   12915 }
   12916 lt__PROGRAM__LTX_preloaded_symbols[] =
   12917 {
   12918   { "@PROGRAM@", (void *) 0 },
   12919 _LT_EOF
   12920 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12921 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12922   {0, (void *) 0}
   12923 };
   12924 
   12925 /* This works around a problem in FreeBSD linker */
   12926 #ifdef FREEBSD_WORKAROUND
   12927 static const void *lt_preloaded_setup() {
   12928   return lt__PROGRAM__LTX_preloaded_symbols;
   12929 }
   12930 #endif
   12931 
   12932 #ifdef __cplusplus
   12933 }
   12934 #endif
   12935 _LT_EOF
   12936 	  # Now try linking the two files.
   12937 	  mv conftest.$ac_objext conftstm.$ac_objext
   12938 	  lt_globsym_save_LIBS=$LIBS
   12939 	  lt_globsym_save_CFLAGS=$CFLAGS
   12940 	  LIBS=conftstm.$ac_objext
   12941 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12942 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12943   (eval $ac_link) 2>&5
   12944   ac_status=$?
   12945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12946   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12947 	    pipe_works=yes
   12948 	  fi
   12949 	  LIBS=$lt_globsym_save_LIBS
   12950 	  CFLAGS=$lt_globsym_save_CFLAGS
   12951 	else
   12952 	  echo "cannot find nm_test_func in $nlist" >&5
   12953 	fi
   12954       else
   12955 	echo "cannot find nm_test_var in $nlist" >&5
   12956       fi
   12957     else
   12958       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12959     fi
   12960   else
   12961     echo "$progname: failed program was:" >&5
   12962     cat conftest.$ac_ext >&5
   12963   fi
   12964   rm -rf conftest* conftst*
   12965 
   12966   # Do not use the global_symbol_pipe unless it works.
   12967   if test yes = "$pipe_works"; then
   12968     break
   12969   else
   12970     lt_cv_sys_global_symbol_pipe=
   12971   fi
   12972 done
   12973 
   12974 fi
   12975 
   12976 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12977   lt_cv_sys_global_symbol_to_cdecl=
   12978 fi
   12979 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12981 $as_echo "failed" >&6; }
   12982 else
   12983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12984 $as_echo "ok" >&6; }
   12985 fi
   12986 
   12987 # Response file support.
   12988 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12989   nm_file_list_spec='@'
   12990 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12991   nm_file_list_spec='@'
   12992 fi
   12993 
   12994 
   12995 
   12996 
   12997 
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13031 $as_echo_n "checking for sysroot... " >&6; }
   13032 
   13033 # Check whether --with-sysroot was given.
   13034 if test "${with_sysroot+set}" = set; then :
   13035   withval=$with_sysroot;
   13036 else
   13037   with_sysroot=no
   13038 fi
   13039 
   13040 
   13041 lt_sysroot=
   13042 case $with_sysroot in #(
   13043  yes)
   13044    if test yes = "$GCC"; then
   13045      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13046    fi
   13047    ;; #(
   13048  /*)
   13049    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13050    ;; #(
   13051  no|'')
   13052    ;; #(
   13053  *)
   13054    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13055 $as_echo "$with_sysroot" >&6; }
   13056    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13057    ;;
   13058 esac
   13059 
   13060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13061 $as_echo "${lt_sysroot:-no}" >&6; }
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13068 $as_echo_n "checking for a working dd... " >&6; }
   13069 if ${ac_cv_path_lt_DD+:} false; then :
   13070   $as_echo_n "(cached) " >&6
   13071 else
   13072   printf 0123456789abcdef0123456789abcdef >conftest.i
   13073 cat conftest.i conftest.i >conftest2.i
   13074 : ${lt_DD:=$DD}
   13075 if test -z "$lt_DD"; then
   13076   ac_path_lt_DD_found=false
   13077   # Loop through the user's path and test for each of PROGNAME-LIST
   13078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13079 for as_dir in $PATH
   13080 do
   13081   IFS=$as_save_IFS
   13082   test -z "$as_dir" && as_dir=.
   13083     for ac_prog in dd; do
   13084     for ac_exec_ext in '' $ac_executable_extensions; do
   13085       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13086       as_fn_executable_p "$ac_path_lt_DD" || continue
   13087 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13088   cmp -s conftest.i conftest.out \
   13089   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13090 fi
   13091       $ac_path_lt_DD_found && break 3
   13092     done
   13093   done
   13094   done
   13095 IFS=$as_save_IFS
   13096   if test -z "$ac_cv_path_lt_DD"; then
   13097     :
   13098   fi
   13099 else
   13100   ac_cv_path_lt_DD=$lt_DD
   13101 fi
   13102 
   13103 rm -f conftest.i conftest2.i conftest.out
   13104 fi
   13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13106 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13107 
   13108 
   13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13110 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13111 if ${lt_cv_truncate_bin+:} false; then :
   13112   $as_echo_n "(cached) " >&6
   13113 else
   13114   printf 0123456789abcdef0123456789abcdef >conftest.i
   13115 cat conftest.i conftest.i >conftest2.i
   13116 lt_cv_truncate_bin=
   13117 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13118   cmp -s conftest.i conftest.out \
   13119   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13120 fi
   13121 rm -f conftest.i conftest2.i conftest.out
   13122 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13123 fi
   13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13125 $as_echo "$lt_cv_truncate_bin" >&6; }
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13134 func_cc_basename ()
   13135 {
   13136     for cc_temp in $*""; do
   13137       case $cc_temp in
   13138         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13139         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13140         \-*) ;;
   13141         *) break;;
   13142       esac
   13143     done
   13144     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13145 }
   13146 
   13147 # Check whether --enable-libtool-lock was given.
   13148 if test "${enable_libtool_lock+set}" = set; then :
   13149   enableval=$enable_libtool_lock;
   13150 fi
   13151 
   13152 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13153 
   13154 # Some flags need to be propagated to the compiler or linker for good
   13155 # libtool support.
   13156 case $host in
   13157 ia64-*-hpux*)
   13158   # Find out what ABI is being produced by ac_compile, and set mode
   13159   # options accordingly.
   13160   echo 'int i;' > conftest.$ac_ext
   13161   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13162   (eval $ac_compile) 2>&5
   13163   ac_status=$?
   13164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13165   test $ac_status = 0; }; then
   13166     case `/usr/bin/file conftest.$ac_objext` in
   13167       *ELF-32*)
   13168 	HPUX_IA64_MODE=32
   13169 	;;
   13170       *ELF-64*)
   13171 	HPUX_IA64_MODE=64
   13172 	;;
   13173     esac
   13174   fi
   13175   rm -rf conftest*
   13176   ;;
   13177 *-*-irix6*)
   13178   # Find out what ABI is being produced by ac_compile, and set linker
   13179   # options accordingly.
   13180   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13181   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13182   (eval $ac_compile) 2>&5
   13183   ac_status=$?
   13184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13185   test $ac_status = 0; }; then
   13186     if test yes = "$lt_cv_prog_gnu_ld"; then
   13187       case `/usr/bin/file conftest.$ac_objext` in
   13188 	*32-bit*)
   13189 	  LD="${LD-ld} -melf32bsmip"
   13190 	  ;;
   13191 	*N32*)
   13192 	  LD="${LD-ld} -melf32bmipn32"
   13193 	  ;;
   13194 	*64-bit*)
   13195 	  LD="${LD-ld} -melf64bmip"
   13196 	;;
   13197       esac
   13198     else
   13199       case `/usr/bin/file conftest.$ac_objext` in
   13200 	*32-bit*)
   13201 	  LD="${LD-ld} -32"
   13202 	  ;;
   13203 	*N32*)
   13204 	  LD="${LD-ld} -n32"
   13205 	  ;;
   13206 	*64-bit*)
   13207 	  LD="${LD-ld} -64"
   13208 	  ;;
   13209       esac
   13210     fi
   13211   fi
   13212   rm -rf conftest*
   13213   ;;
   13214 
   13215 mips64*-*linux*)
   13216   # Find out what ABI is being produced by ac_compile, and set linker
   13217   # options accordingly.
   13218   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13219   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13220   (eval $ac_compile) 2>&5
   13221   ac_status=$?
   13222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13223   test $ac_status = 0; }; then
   13224     emul=elf
   13225     case `/usr/bin/file conftest.$ac_objext` in
   13226       *32-bit*)
   13227 	emul="${emul}32"
   13228 	;;
   13229       *64-bit*)
   13230 	emul="${emul}64"
   13231 	;;
   13232     esac
   13233     case `/usr/bin/file conftest.$ac_objext` in
   13234       *MSB*)
   13235 	emul="${emul}btsmip"
   13236 	;;
   13237       *LSB*)
   13238 	emul="${emul}ltsmip"
   13239 	;;
   13240     esac
   13241     case `/usr/bin/file conftest.$ac_objext` in
   13242       *N32*)
   13243 	emul="${emul}n32"
   13244 	;;
   13245     esac
   13246     LD="${LD-ld} -m $emul"
   13247   fi
   13248   rm -rf conftest*
   13249   ;;
   13250 
   13251 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13252 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13253   # Find out what ABI is being produced by ac_compile, and set linker
   13254   # options accordingly.  Note that the listed cases only cover the
   13255   # situations where additional linker options are needed (such as when
   13256   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13257   # vice versa); the common cases where no linker options are needed do
   13258   # not appear in the list.
   13259   echo 'int i;' > conftest.$ac_ext
   13260   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13261   (eval $ac_compile) 2>&5
   13262   ac_status=$?
   13263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13264   test $ac_status = 0; }; then
   13265     case `/usr/bin/file conftest.o` in
   13266       *32-bit*)
   13267 	case $host in
   13268 	  x86_64-*kfreebsd*-gnu)
   13269 	    LD="${LD-ld} -m elf_i386_fbsd"
   13270 	    ;;
   13271 	  x86_64-*linux*)
   13272 	    case `/usr/bin/file conftest.o` in
   13273 	      *x86-64*)
   13274 		LD="${LD-ld} -m elf32_x86_64"
   13275 		;;
   13276 	      *)
   13277 		LD="${LD-ld} -m elf_i386"
   13278 		;;
   13279 	    esac
   13280 	    ;;
   13281 	  powerpc64le-*linux*)
   13282 	    LD="${LD-ld} -m elf32lppclinux"
   13283 	    ;;
   13284 	  powerpc64-*linux*)
   13285 	    LD="${LD-ld} -m elf32ppclinux"
   13286 	    ;;
   13287 	  s390x-*linux*)
   13288 	    LD="${LD-ld} -m elf_s390"
   13289 	    ;;
   13290 	  sparc64-*linux*)
   13291 	    LD="${LD-ld} -m elf32_sparc"
   13292 	    ;;
   13293 	esac
   13294 	;;
   13295       *64-bit*)
   13296 	case $host in
   13297 	  x86_64-*kfreebsd*-gnu)
   13298 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13299 	    ;;
   13300 	  x86_64-*linux*)
   13301 	    LD="${LD-ld} -m elf_x86_64"
   13302 	    ;;
   13303 	  powerpcle-*linux*)
   13304 	    LD="${LD-ld} -m elf64lppc"
   13305 	    ;;
   13306 	  powerpc-*linux*)
   13307 	    LD="${LD-ld} -m elf64ppc"
   13308 	    ;;
   13309 	  s390*-*linux*|s390*-*tpf*)
   13310 	    LD="${LD-ld} -m elf64_s390"
   13311 	    ;;
   13312 	  sparc*-*linux*)
   13313 	    LD="${LD-ld} -m elf64_sparc"
   13314 	    ;;
   13315 	esac
   13316 	;;
   13317     esac
   13318   fi
   13319   rm -rf conftest*
   13320   ;;
   13321 
   13322 *-*-sco3.2v5*)
   13323   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13324   SAVE_CFLAGS=$CFLAGS
   13325   CFLAGS="$CFLAGS -belf"
   13326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13327 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13328 if ${lt_cv_cc_needs_belf+:} false; then :
   13329   $as_echo_n "(cached) " >&6
   13330 else
   13331   ac_ext=c
   13332 ac_cpp='$CPP $CPPFLAGS'
   13333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13336 
   13337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13338 /* end confdefs.h.  */
   13339 
   13340 int
   13341 main ()
   13342 {
   13343 
   13344   ;
   13345   return 0;
   13346 }
   13347 _ACEOF
   13348 if ac_fn_c_try_link "$LINENO"; then :
   13349   lt_cv_cc_needs_belf=yes
   13350 else
   13351   lt_cv_cc_needs_belf=no
   13352 fi
   13353 rm -f core conftest.err conftest.$ac_objext \
   13354     conftest$ac_exeext conftest.$ac_ext
   13355      ac_ext=c
   13356 ac_cpp='$CPP $CPPFLAGS'
   13357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13360 
   13361 fi
   13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13363 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13364   if test yes != "$lt_cv_cc_needs_belf"; then
   13365     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13366     CFLAGS=$SAVE_CFLAGS
   13367   fi
   13368   ;;
   13369 *-*solaris*)
   13370   # Find out what ABI is being produced by ac_compile, and set linker
   13371   # options accordingly.
   13372   echo 'int i;' > conftest.$ac_ext
   13373   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13374   (eval $ac_compile) 2>&5
   13375   ac_status=$?
   13376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13377   test $ac_status = 0; }; then
   13378     case `/usr/bin/file conftest.o` in
   13379     *64-bit*)
   13380       case $lt_cv_prog_gnu_ld in
   13381       yes*)
   13382         case $host in
   13383         i?86-*-solaris*|x86_64-*-solaris*)
   13384           LD="${LD-ld} -m elf_x86_64"
   13385           ;;
   13386         sparc*-*-solaris*)
   13387           LD="${LD-ld} -m elf64_sparc"
   13388           ;;
   13389         esac
   13390         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13391         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13392           LD=${LD-ld}_sol2
   13393         fi
   13394         ;;
   13395       *)
   13396 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13397 	  LD="${LD-ld} -64"
   13398 	fi
   13399 	;;
   13400       esac
   13401       ;;
   13402     esac
   13403   fi
   13404   rm -rf conftest*
   13405   ;;
   13406 esac
   13407 
   13408 need_locks=$enable_libtool_lock
   13409 
   13410 if test -n "$ac_tool_prefix"; then
   13411   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13412 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13414 $as_echo_n "checking for $ac_word... " >&6; }
   13415 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13416   $as_echo_n "(cached) " >&6
   13417 else
   13418   if test -n "$MANIFEST_TOOL"; then
   13419   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13420 else
   13421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13422 for as_dir in $PATH
   13423 do
   13424   IFS=$as_save_IFS
   13425   test -z "$as_dir" && as_dir=.
   13426     for ac_exec_ext in '' $ac_executable_extensions; do
   13427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13428     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13430     break 2
   13431   fi
   13432 done
   13433   done
   13434 IFS=$as_save_IFS
   13435 
   13436 fi
   13437 fi
   13438 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13439 if test -n "$MANIFEST_TOOL"; then
   13440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13441 $as_echo "$MANIFEST_TOOL" >&6; }
   13442 else
   13443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13444 $as_echo "no" >&6; }
   13445 fi
   13446 
   13447 
   13448 fi
   13449 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13450   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13451   # Extract the first word of "mt", so it can be a program name with args.
   13452 set dummy mt; ac_word=$2
   13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13454 $as_echo_n "checking for $ac_word... " >&6; }
   13455 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13456   $as_echo_n "(cached) " >&6
   13457 else
   13458   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13459   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13460 else
   13461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13462 for as_dir in $PATH
   13463 do
   13464   IFS=$as_save_IFS
   13465   test -z "$as_dir" && as_dir=.
   13466     for ac_exec_ext in '' $ac_executable_extensions; do
   13467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13468     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13470     break 2
   13471   fi
   13472 done
   13473   done
   13474 IFS=$as_save_IFS
   13475 
   13476 fi
   13477 fi
   13478 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13479 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13481 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13482 else
   13483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13484 $as_echo "no" >&6; }
   13485 fi
   13486 
   13487   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13488     MANIFEST_TOOL=":"
   13489   else
   13490     case $cross_compiling:$ac_tool_warned in
   13491 yes:)
   13492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13494 ac_tool_warned=yes ;;
   13495 esac
   13496     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13497   fi
   13498 else
   13499   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13500 fi
   13501 
   13502 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13504 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13505 if ${lt_cv_path_mainfest_tool+:} false; then :
   13506   $as_echo_n "(cached) " >&6
   13507 else
   13508   lt_cv_path_mainfest_tool=no
   13509   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13510   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13511   cat conftest.err >&5
   13512   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13513     lt_cv_path_mainfest_tool=yes
   13514   fi
   13515   rm -f conftest*
   13516 fi
   13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13518 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13519 if test yes != "$lt_cv_path_mainfest_tool"; then
   13520   MANIFEST_TOOL=:
   13521 fi
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528   case $host_os in
   13529     rhapsody* | darwin*)
   13530     if test -n "$ac_tool_prefix"; then
   13531   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13532 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13534 $as_echo_n "checking for $ac_word... " >&6; }
   13535 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13536   $as_echo_n "(cached) " >&6
   13537 else
   13538   if test -n "$DSYMUTIL"; then
   13539   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13540 else
   13541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13542 for as_dir in $PATH
   13543 do
   13544   IFS=$as_save_IFS
   13545   test -z "$as_dir" && as_dir=.
   13546     for ac_exec_ext in '' $ac_executable_extensions; do
   13547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13548     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13550     break 2
   13551   fi
   13552 done
   13553   done
   13554 IFS=$as_save_IFS
   13555 
   13556 fi
   13557 fi
   13558 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13559 if test -n "$DSYMUTIL"; then
   13560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13561 $as_echo "$DSYMUTIL" >&6; }
   13562 else
   13563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13564 $as_echo "no" >&6; }
   13565 fi
   13566 
   13567 
   13568 fi
   13569 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13570   ac_ct_DSYMUTIL=$DSYMUTIL
   13571   # Extract the first word of "dsymutil", so it can be a program name with args.
   13572 set dummy dsymutil; ac_word=$2
   13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13574 $as_echo_n "checking for $ac_word... " >&6; }
   13575 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13576   $as_echo_n "(cached) " >&6
   13577 else
   13578   if test -n "$ac_ct_DSYMUTIL"; then
   13579   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13580 else
   13581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13582 for as_dir in $PATH
   13583 do
   13584   IFS=$as_save_IFS
   13585   test -z "$as_dir" && as_dir=.
   13586     for ac_exec_ext in '' $ac_executable_extensions; do
   13587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13588     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13590     break 2
   13591   fi
   13592 done
   13593   done
   13594 IFS=$as_save_IFS
   13595 
   13596 fi
   13597 fi
   13598 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13599 if test -n "$ac_ct_DSYMUTIL"; then
   13600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13601 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13602 else
   13603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13604 $as_echo "no" >&6; }
   13605 fi
   13606 
   13607   if test "x$ac_ct_DSYMUTIL" = x; then
   13608     DSYMUTIL=":"
   13609   else
   13610     case $cross_compiling:$ac_tool_warned in
   13611 yes:)
   13612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13614 ac_tool_warned=yes ;;
   13615 esac
   13616     DSYMUTIL=$ac_ct_DSYMUTIL
   13617   fi
   13618 else
   13619   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13620 fi
   13621 
   13622     if test -n "$ac_tool_prefix"; then
   13623   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13624 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13626 $as_echo_n "checking for $ac_word... " >&6; }
   13627 if ${ac_cv_prog_NMEDIT+:} false; then :
   13628   $as_echo_n "(cached) " >&6
   13629 else
   13630   if test -n "$NMEDIT"; then
   13631   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13632 else
   13633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13634 for as_dir in $PATH
   13635 do
   13636   IFS=$as_save_IFS
   13637   test -z "$as_dir" && as_dir=.
   13638     for ac_exec_ext in '' $ac_executable_extensions; do
   13639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13640     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13642     break 2
   13643   fi
   13644 done
   13645   done
   13646 IFS=$as_save_IFS
   13647 
   13648 fi
   13649 fi
   13650 NMEDIT=$ac_cv_prog_NMEDIT
   13651 if test -n "$NMEDIT"; then
   13652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13653 $as_echo "$NMEDIT" >&6; }
   13654 else
   13655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13656 $as_echo "no" >&6; }
   13657 fi
   13658 
   13659 
   13660 fi
   13661 if test -z "$ac_cv_prog_NMEDIT"; then
   13662   ac_ct_NMEDIT=$NMEDIT
   13663   # Extract the first word of "nmedit", so it can be a program name with args.
   13664 set dummy nmedit; ac_word=$2
   13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13666 $as_echo_n "checking for $ac_word... " >&6; }
   13667 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13668   $as_echo_n "(cached) " >&6
   13669 else
   13670   if test -n "$ac_ct_NMEDIT"; then
   13671   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13672 else
   13673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13674 for as_dir in $PATH
   13675 do
   13676   IFS=$as_save_IFS
   13677   test -z "$as_dir" && as_dir=.
   13678     for ac_exec_ext in '' $ac_executable_extensions; do
   13679   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13680     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13682     break 2
   13683   fi
   13684 done
   13685   done
   13686 IFS=$as_save_IFS
   13687 
   13688 fi
   13689 fi
   13690 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13691 if test -n "$ac_ct_NMEDIT"; then
   13692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13693 $as_echo "$ac_ct_NMEDIT" >&6; }
   13694 else
   13695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13696 $as_echo "no" >&6; }
   13697 fi
   13698 
   13699   if test "x$ac_ct_NMEDIT" = x; then
   13700     NMEDIT=":"
   13701   else
   13702     case $cross_compiling:$ac_tool_warned in
   13703 yes:)
   13704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13706 ac_tool_warned=yes ;;
   13707 esac
   13708     NMEDIT=$ac_ct_NMEDIT
   13709   fi
   13710 else
   13711   NMEDIT="$ac_cv_prog_NMEDIT"
   13712 fi
   13713 
   13714     if test -n "$ac_tool_prefix"; then
   13715   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13716 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13718 $as_echo_n "checking for $ac_word... " >&6; }
   13719 if ${ac_cv_prog_LIPO+:} false; then :
   13720   $as_echo_n "(cached) " >&6
   13721 else
   13722   if test -n "$LIPO"; then
   13723   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13724 else
   13725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13726 for as_dir in $PATH
   13727 do
   13728   IFS=$as_save_IFS
   13729   test -z "$as_dir" && as_dir=.
   13730     for ac_exec_ext in '' $ac_executable_extensions; do
   13731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13732     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13734     break 2
   13735   fi
   13736 done
   13737   done
   13738 IFS=$as_save_IFS
   13739 
   13740 fi
   13741 fi
   13742 LIPO=$ac_cv_prog_LIPO
   13743 if test -n "$LIPO"; then
   13744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13745 $as_echo "$LIPO" >&6; }
   13746 else
   13747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13748 $as_echo "no" >&6; }
   13749 fi
   13750 
   13751 
   13752 fi
   13753 if test -z "$ac_cv_prog_LIPO"; then
   13754   ac_ct_LIPO=$LIPO
   13755   # Extract the first word of "lipo", so it can be a program name with args.
   13756 set dummy lipo; ac_word=$2
   13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13758 $as_echo_n "checking for $ac_word... " >&6; }
   13759 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13760   $as_echo_n "(cached) " >&6
   13761 else
   13762   if test -n "$ac_ct_LIPO"; then
   13763   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13764 else
   13765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13766 for as_dir in $PATH
   13767 do
   13768   IFS=$as_save_IFS
   13769   test -z "$as_dir" && as_dir=.
   13770     for ac_exec_ext in '' $ac_executable_extensions; do
   13771   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13772     ac_cv_prog_ac_ct_LIPO="lipo"
   13773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13774     break 2
   13775   fi
   13776 done
   13777   done
   13778 IFS=$as_save_IFS
   13779 
   13780 fi
   13781 fi
   13782 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13783 if test -n "$ac_ct_LIPO"; then
   13784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13785 $as_echo "$ac_ct_LIPO" >&6; }
   13786 else
   13787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13788 $as_echo "no" >&6; }
   13789 fi
   13790 
   13791   if test "x$ac_ct_LIPO" = x; then
   13792     LIPO=":"
   13793   else
   13794     case $cross_compiling:$ac_tool_warned in
   13795 yes:)
   13796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13798 ac_tool_warned=yes ;;
   13799 esac
   13800     LIPO=$ac_ct_LIPO
   13801   fi
   13802 else
   13803   LIPO="$ac_cv_prog_LIPO"
   13804 fi
   13805 
   13806     if test -n "$ac_tool_prefix"; then
   13807   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13808 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13810 $as_echo_n "checking for $ac_word... " >&6; }
   13811 if ${ac_cv_prog_OTOOL+:} false; then :
   13812   $as_echo_n "(cached) " >&6
   13813 else
   13814   if test -n "$OTOOL"; then
   13815   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13816 else
   13817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13818 for as_dir in $PATH
   13819 do
   13820   IFS=$as_save_IFS
   13821   test -z "$as_dir" && as_dir=.
   13822     for ac_exec_ext in '' $ac_executable_extensions; do
   13823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13824     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13826     break 2
   13827   fi
   13828 done
   13829   done
   13830 IFS=$as_save_IFS
   13831 
   13832 fi
   13833 fi
   13834 OTOOL=$ac_cv_prog_OTOOL
   13835 if test -n "$OTOOL"; then
   13836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13837 $as_echo "$OTOOL" >&6; }
   13838 else
   13839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13840 $as_echo "no" >&6; }
   13841 fi
   13842 
   13843 
   13844 fi
   13845 if test -z "$ac_cv_prog_OTOOL"; then
   13846   ac_ct_OTOOL=$OTOOL
   13847   # Extract the first word of "otool", so it can be a program name with args.
   13848 set dummy otool; ac_word=$2
   13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13850 $as_echo_n "checking for $ac_word... " >&6; }
   13851 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13852   $as_echo_n "(cached) " >&6
   13853 else
   13854   if test -n "$ac_ct_OTOOL"; then
   13855   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13856 else
   13857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13858 for as_dir in $PATH
   13859 do
   13860   IFS=$as_save_IFS
   13861   test -z "$as_dir" && as_dir=.
   13862     for ac_exec_ext in '' $ac_executable_extensions; do
   13863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13864     ac_cv_prog_ac_ct_OTOOL="otool"
   13865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13866     break 2
   13867   fi
   13868 done
   13869   done
   13870 IFS=$as_save_IFS
   13871 
   13872 fi
   13873 fi
   13874 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13875 if test -n "$ac_ct_OTOOL"; then
   13876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13877 $as_echo "$ac_ct_OTOOL" >&6; }
   13878 else
   13879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13880 $as_echo "no" >&6; }
   13881 fi
   13882 
   13883   if test "x$ac_ct_OTOOL" = x; then
   13884     OTOOL=":"
   13885   else
   13886     case $cross_compiling:$ac_tool_warned in
   13887 yes:)
   13888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13890 ac_tool_warned=yes ;;
   13891 esac
   13892     OTOOL=$ac_ct_OTOOL
   13893   fi
   13894 else
   13895   OTOOL="$ac_cv_prog_OTOOL"
   13896 fi
   13897 
   13898     if test -n "$ac_tool_prefix"; then
   13899   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13900 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13902 $as_echo_n "checking for $ac_word... " >&6; }
   13903 if ${ac_cv_prog_OTOOL64+:} false; then :
   13904   $as_echo_n "(cached) " >&6
   13905 else
   13906   if test -n "$OTOOL64"; then
   13907   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13908 else
   13909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13910 for as_dir in $PATH
   13911 do
   13912   IFS=$as_save_IFS
   13913   test -z "$as_dir" && as_dir=.
   13914     for ac_exec_ext in '' $ac_executable_extensions; do
   13915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13916     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13918     break 2
   13919   fi
   13920 done
   13921   done
   13922 IFS=$as_save_IFS
   13923 
   13924 fi
   13925 fi
   13926 OTOOL64=$ac_cv_prog_OTOOL64
   13927 if test -n "$OTOOL64"; then
   13928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13929 $as_echo "$OTOOL64" >&6; }
   13930 else
   13931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13932 $as_echo "no" >&6; }
   13933 fi
   13934 
   13935 
   13936 fi
   13937 if test -z "$ac_cv_prog_OTOOL64"; then
   13938   ac_ct_OTOOL64=$OTOOL64
   13939   # Extract the first word of "otool64", so it can be a program name with args.
   13940 set dummy otool64; ac_word=$2
   13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13942 $as_echo_n "checking for $ac_word... " >&6; }
   13943 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13944   $as_echo_n "(cached) " >&6
   13945 else
   13946   if test -n "$ac_ct_OTOOL64"; then
   13947   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13948 else
   13949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13950 for as_dir in $PATH
   13951 do
   13952   IFS=$as_save_IFS
   13953   test -z "$as_dir" && as_dir=.
   13954     for ac_exec_ext in '' $ac_executable_extensions; do
   13955   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13956     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13958     break 2
   13959   fi
   13960 done
   13961   done
   13962 IFS=$as_save_IFS
   13963 
   13964 fi
   13965 fi
   13966 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13967 if test -n "$ac_ct_OTOOL64"; then
   13968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13969 $as_echo "$ac_ct_OTOOL64" >&6; }
   13970 else
   13971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13972 $as_echo "no" >&6; }
   13973 fi
   13974 
   13975   if test "x$ac_ct_OTOOL64" = x; then
   13976     OTOOL64=":"
   13977   else
   13978     case $cross_compiling:$ac_tool_warned in
   13979 yes:)
   13980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13982 ac_tool_warned=yes ;;
   13983 esac
   13984     OTOOL64=$ac_ct_OTOOL64
   13985   fi
   13986 else
   13987   OTOOL64="$ac_cv_prog_OTOOL64"
   13988 fi
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14017 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14018 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14019   $as_echo_n "(cached) " >&6
   14020 else
   14021   lt_cv_apple_cc_single_mod=no
   14022       if test -z "$LT_MULTI_MODULE"; then
   14023 	# By default we will add the -single_module flag. You can override
   14024 	# by either setting the environment variable LT_MULTI_MODULE
   14025 	# non-empty at configure time, or by adding -multi_module to the
   14026 	# link flags.
   14027 	rm -rf libconftest.dylib*
   14028 	echo "int foo(void){return 1;}" > conftest.c
   14029 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14030 -dynamiclib -Wl,-single_module conftest.c" >&5
   14031 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14032 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14033         _lt_result=$?
   14034 	# If there is a non-empty error log, and "single_module"
   14035 	# appears in it, assume the flag caused a linker warning
   14036         if test -s conftest.err && $GREP single_module conftest.err; then
   14037 	  cat conftest.err >&5
   14038 	# Otherwise, if the output was created with a 0 exit code from
   14039 	# the compiler, it worked.
   14040 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14041 	  lt_cv_apple_cc_single_mod=yes
   14042 	else
   14043 	  cat conftest.err >&5
   14044 	fi
   14045 	rm -rf libconftest.dylib*
   14046 	rm -f conftest.*
   14047       fi
   14048 fi
   14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14050 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14051 
   14052     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14053 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14054 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14055   $as_echo_n "(cached) " >&6
   14056 else
   14057   lt_cv_ld_exported_symbols_list=no
   14058       save_LDFLAGS=$LDFLAGS
   14059       echo "_main" > conftest.sym
   14060       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14062 /* end confdefs.h.  */
   14063 
   14064 int
   14065 main ()
   14066 {
   14067 
   14068   ;
   14069   return 0;
   14070 }
   14071 _ACEOF
   14072 if ac_fn_c_try_link "$LINENO"; then :
   14073   lt_cv_ld_exported_symbols_list=yes
   14074 else
   14075   lt_cv_ld_exported_symbols_list=no
   14076 fi
   14077 rm -f core conftest.err conftest.$ac_objext \
   14078     conftest$ac_exeext conftest.$ac_ext
   14079 	LDFLAGS=$save_LDFLAGS
   14080 
   14081 fi
   14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14083 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14084 
   14085     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14086 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14087 if ${lt_cv_ld_force_load+:} false; then :
   14088   $as_echo_n "(cached) " >&6
   14089 else
   14090   lt_cv_ld_force_load=no
   14091       cat > conftest.c << _LT_EOF
   14092 int forced_loaded() { return 2;}
   14093 _LT_EOF
   14094       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14095       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14096       echo "$AR cru libconftest.a conftest.o" >&5
   14097       $AR cru libconftest.a conftest.o 2>&5
   14098       echo "$RANLIB libconftest.a" >&5
   14099       $RANLIB libconftest.a 2>&5
   14100       cat > conftest.c << _LT_EOF
   14101 int main() { return 0;}
   14102 _LT_EOF
   14103       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14104       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14105       _lt_result=$?
   14106       if test -s conftest.err && $GREP force_load conftest.err; then
   14107 	cat conftest.err >&5
   14108       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14109 	lt_cv_ld_force_load=yes
   14110       else
   14111 	cat conftest.err >&5
   14112       fi
   14113         rm -f conftest.err libconftest.a conftest conftest.c
   14114         rm -rf conftest.dSYM
   14115 
   14116 fi
   14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14118 $as_echo "$lt_cv_ld_force_load" >&6; }
   14119     case $host_os in
   14120     rhapsody* | darwin1.[012])
   14121       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14122     darwin1.*)
   14123       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14124     darwin*) # darwin 5.x on
   14125       # if running on 10.5 or later, the deployment target defaults
   14126       # to the OS version, if on x86, and 10.4, the deployment
   14127       # target defaults to 10.4. Don't you love it?
   14128       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14129 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14130 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14131 	10.[012][,.]*)
   14132 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14133 	10.*)
   14134 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14135       esac
   14136     ;;
   14137   esac
   14138     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14139       _lt_dar_single_mod='$single_module'
   14140     fi
   14141     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14142       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14143     else
   14144       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14145     fi
   14146     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14147       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14148     else
   14149       _lt_dsymutil=
   14150     fi
   14151     ;;
   14152   esac
   14153 
   14154 # func_munge_path_list VARIABLE PATH
   14155 # -----------------------------------
   14156 # VARIABLE is name of variable containing _space_ separated list of
   14157 # directories to be munged by the contents of PATH, which is string
   14158 # having a format:
   14159 # "DIR[:DIR]:"
   14160 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14161 # ":DIR[:DIR]"
   14162 #       string "DIR[ DIR]" will be appended to VARIABLE
   14163 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14164 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14165 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14166 # "DIR[:DIR]"
   14167 #       VARIABLE will be replaced by "DIR[ DIR]"
   14168 func_munge_path_list ()
   14169 {
   14170     case x$2 in
   14171     x)
   14172         ;;
   14173     *:)
   14174         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14175         ;;
   14176     x:*)
   14177         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14178         ;;
   14179     *::*)
   14180         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14181         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14182         ;;
   14183     *)
   14184         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14185         ;;
   14186     esac
   14187 }
   14188 
   14189 for ac_header in dlfcn.h
   14190 do :
   14191   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14192 "
   14193 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14194   cat >>confdefs.h <<_ACEOF
   14195 #define HAVE_DLFCN_H 1
   14196 _ACEOF
   14197 
   14198 fi
   14199 
   14200 done
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 # Set options
   14207 
   14208 
   14209 
   14210         enable_dlopen=no
   14211 
   14212 
   14213   enable_win32_dll=no
   14214 
   14215 
   14216             # Check whether --enable-shared was given.
   14217 if test "${enable_shared+set}" = set; then :
   14218   enableval=$enable_shared; p=${PACKAGE-default}
   14219     case $enableval in
   14220     yes) enable_shared=yes ;;
   14221     no) enable_shared=no ;;
   14222     *)
   14223       enable_shared=no
   14224       # Look at the argument we got.  We use all the common list separators.
   14225       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14226       for pkg in $enableval; do
   14227 	IFS=$lt_save_ifs
   14228 	if test "X$pkg" = "X$p"; then
   14229 	  enable_shared=yes
   14230 	fi
   14231       done
   14232       IFS=$lt_save_ifs
   14233       ;;
   14234     esac
   14235 else
   14236   enable_shared=yes
   14237 fi
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 # Check whether --with-pic was given.
   14250 if test "${with_pic+set}" = set; then :
   14251   withval=$with_pic; lt_p=${PACKAGE-default}
   14252     case $withval in
   14253     yes|no) pic_mode=$withval ;;
   14254     *)
   14255       pic_mode=default
   14256       # Look at the argument we got.  We use all the common list separators.
   14257       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14258       for lt_pkg in $withval; do
   14259 	IFS=$lt_save_ifs
   14260 	if test "X$lt_pkg" = "X$lt_p"; then
   14261 	  pic_mode=yes
   14262 	fi
   14263       done
   14264       IFS=$lt_save_ifs
   14265       ;;
   14266     esac
   14267 else
   14268   pic_mode=default
   14269 fi
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278   # Check whether --enable-fast-install was given.
   14279 if test "${enable_fast_install+set}" = set; then :
   14280   enableval=$enable_fast_install; p=${PACKAGE-default}
   14281     case $enableval in
   14282     yes) enable_fast_install=yes ;;
   14283     no) enable_fast_install=no ;;
   14284     *)
   14285       enable_fast_install=no
   14286       # Look at the argument we got.  We use all the common list separators.
   14287       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14288       for pkg in $enableval; do
   14289 	IFS=$lt_save_ifs
   14290 	if test "X$pkg" = "X$p"; then
   14291 	  enable_fast_install=yes
   14292 	fi
   14293       done
   14294       IFS=$lt_save_ifs
   14295       ;;
   14296     esac
   14297 else
   14298   enable_fast_install=yes
   14299 fi
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308   shared_archive_member_spec=
   14309 case $host,$enable_shared in
   14310 power*-*-aix[5-9]*,yes)
   14311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14312 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14313 
   14314 # Check whether --with-aix-soname was given.
   14315 if test "${with_aix_soname+set}" = set; then :
   14316   withval=$with_aix_soname; case $withval in
   14317     aix|svr4|both)
   14318       ;;
   14319     *)
   14320       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14321       ;;
   14322     esac
   14323     lt_cv_with_aix_soname=$with_aix_soname
   14324 else
   14325   if ${lt_cv_with_aix_soname+:} false; then :
   14326   $as_echo_n "(cached) " >&6
   14327 else
   14328   lt_cv_with_aix_soname=aix
   14329 fi
   14330 
   14331     with_aix_soname=$lt_cv_with_aix_soname
   14332 fi
   14333 
   14334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14335 $as_echo "$with_aix_soname" >&6; }
   14336   if test aix != "$with_aix_soname"; then
   14337     # For the AIX way of multilib, we name the shared archive member
   14338     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14339     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14340     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14341     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14342     if test 64 = "${OBJECT_MODE-32}"; then
   14343       shared_archive_member_spec=shr_64
   14344     else
   14345       shared_archive_member_spec=shr
   14346     fi
   14347   fi
   14348   ;;
   14349 *)
   14350   with_aix_soname=aix
   14351   ;;
   14352 esac
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 # This can be used to rebuild libtool when needed
   14364 LIBTOOL_DEPS=$ltmain
   14365 
   14366 # Always use our own libtool.
   14367 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14368 
   14369 
   14370 
   14371 
   14372 
   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 test -z "$LN_S" && LN_S="ln -s"
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 if test -n "${ZSH_VERSION+set}"; then
   14414    setopt NO_GLOB_SUBST
   14415 fi
   14416 
   14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14418 $as_echo_n "checking for objdir... " >&6; }
   14419 if ${lt_cv_objdir+:} false; then :
   14420   $as_echo_n "(cached) " >&6
   14421 else
   14422   rm -f .libs 2>/dev/null
   14423 mkdir .libs 2>/dev/null
   14424 if test -d .libs; then
   14425   lt_cv_objdir=.libs
   14426 else
   14427   # MS-DOS does not allow filenames that begin with a dot.
   14428   lt_cv_objdir=_libs
   14429 fi
   14430 rmdir .libs 2>/dev/null
   14431 fi
   14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14433 $as_echo "$lt_cv_objdir" >&6; }
   14434 objdir=$lt_cv_objdir
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 cat >>confdefs.h <<_ACEOF
   14441 #define LT_OBJDIR "$lt_cv_objdir/"
   14442 _ACEOF
   14443 
   14444 
   14445 
   14446 
   14447 case $host_os in
   14448 aix3*)
   14449   # AIX sometimes has problems with the GCC collect2 program.  For some
   14450   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14451   # vanish in a puff of smoke.
   14452   if test set != "${COLLECT_NAMES+set}"; then
   14453     COLLECT_NAMES=
   14454     export COLLECT_NAMES
   14455   fi
   14456   ;;
   14457 esac
   14458 
   14459 # Global variables:
   14460 ofile=libtool
   14461 can_build_shared=yes
   14462 
   14463 # All known linkers require a '.a' archive for static linking (except MSVC,
   14464 # which needs '.lib').
   14465 libext=a
   14466 
   14467 with_gnu_ld=$lt_cv_prog_gnu_ld
   14468 
   14469 old_CC=$CC
   14470 old_CFLAGS=$CFLAGS
   14471 
   14472 # Set sane defaults for various variables
   14473 test -z "$CC" && CC=cc
   14474 test -z "$LTCC" && LTCC=$CC
   14475 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14476 test -z "$LD" && LD=ld
   14477 test -z "$ac_objext" && ac_objext=o
   14478 
   14479 func_cc_basename $compiler
   14480 cc_basename=$func_cc_basename_result
   14481 
   14482 
   14483 # Only perform the check for file, if the check method requires it
   14484 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14485 case $deplibs_check_method in
   14486 file_magic*)
   14487   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14489 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14490 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14491   $as_echo_n "(cached) " >&6
   14492 else
   14493   case $MAGIC_CMD in
   14494 [\\/*] |  ?:[\\/]*)
   14495   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14496   ;;
   14497 *)
   14498   lt_save_MAGIC_CMD=$MAGIC_CMD
   14499   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14500   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14501   for ac_dir in $ac_dummy; do
   14502     IFS=$lt_save_ifs
   14503     test -z "$ac_dir" && ac_dir=.
   14504     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14505       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14506       if test -n "$file_magic_test_file"; then
   14507 	case $deplibs_check_method in
   14508 	"file_magic "*)
   14509 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14510 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14511 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14512 	    $EGREP "$file_magic_regex" > /dev/null; then
   14513 	    :
   14514 	  else
   14515 	    cat <<_LT_EOF 1>&2
   14516 
   14517 *** Warning: the command libtool uses to detect shared libraries,
   14518 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14519 *** The result is that libtool may fail to recognize shared libraries
   14520 *** as such.  This will affect the creation of libtool libraries that
   14521 *** depend on shared libraries, but programs linked with such libtool
   14522 *** libraries will work regardless of this problem.  Nevertheless, you
   14523 *** may want to report the problem to your system manager and/or to
   14524 *** bug-libtool (at] gnu.org
   14525 
   14526 _LT_EOF
   14527 	  fi ;;
   14528 	esac
   14529       fi
   14530       break
   14531     fi
   14532   done
   14533   IFS=$lt_save_ifs
   14534   MAGIC_CMD=$lt_save_MAGIC_CMD
   14535   ;;
   14536 esac
   14537 fi
   14538 
   14539 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14540 if test -n "$MAGIC_CMD"; then
   14541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14542 $as_echo "$MAGIC_CMD" >&6; }
   14543 else
   14544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14545 $as_echo "no" >&6; }
   14546 fi
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14553   if test -n "$ac_tool_prefix"; then
   14554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14555 $as_echo_n "checking for file... " >&6; }
   14556 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14557   $as_echo_n "(cached) " >&6
   14558 else
   14559   case $MAGIC_CMD in
   14560 [\\/*] |  ?:[\\/]*)
   14561   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14562   ;;
   14563 *)
   14564   lt_save_MAGIC_CMD=$MAGIC_CMD
   14565   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14566   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14567   for ac_dir in $ac_dummy; do
   14568     IFS=$lt_save_ifs
   14569     test -z "$ac_dir" && ac_dir=.
   14570     if test -f "$ac_dir/file"; then
   14571       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14572       if test -n "$file_magic_test_file"; then
   14573 	case $deplibs_check_method in
   14574 	"file_magic "*)
   14575 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14576 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14577 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14578 	    $EGREP "$file_magic_regex" > /dev/null; then
   14579 	    :
   14580 	  else
   14581 	    cat <<_LT_EOF 1>&2
   14582 
   14583 *** Warning: the command libtool uses to detect shared libraries,
   14584 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14585 *** The result is that libtool may fail to recognize shared libraries
   14586 *** as such.  This will affect the creation of libtool libraries that
   14587 *** depend on shared libraries, but programs linked with such libtool
   14588 *** libraries will work regardless of this problem.  Nevertheless, you
   14589 *** may want to report the problem to your system manager and/or to
   14590 *** bug-libtool (at] gnu.org
   14591 
   14592 _LT_EOF
   14593 	  fi ;;
   14594 	esac
   14595       fi
   14596       break
   14597     fi
   14598   done
   14599   IFS=$lt_save_ifs
   14600   MAGIC_CMD=$lt_save_MAGIC_CMD
   14601   ;;
   14602 esac
   14603 fi
   14604 
   14605 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14606 if test -n "$MAGIC_CMD"; then
   14607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14608 $as_echo "$MAGIC_CMD" >&6; }
   14609 else
   14610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14611 $as_echo "no" >&6; }
   14612 fi
   14613 
   14614 
   14615   else
   14616     MAGIC_CMD=:
   14617   fi
   14618 fi
   14619 
   14620   fi
   14621   ;;
   14622 esac
   14623 
   14624 # Use C for the default configuration in the libtool script
   14625 
   14626 lt_save_CC=$CC
   14627 ac_ext=c
   14628 ac_cpp='$CPP $CPPFLAGS'
   14629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14632 
   14633 
   14634 # Source file extension for C test sources.
   14635 ac_ext=c
   14636 
   14637 # Object file extension for compiled C test sources.
   14638 objext=o
   14639 objext=$objext
   14640 
   14641 # Code to be used in simple compile tests
   14642 lt_simple_compile_test_code="int some_variable = 0;"
   14643 
   14644 # Code to be used in simple link tests
   14645 lt_simple_link_test_code='int main(){return(0);}'
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 # If no C compiler was specified, use CC.
   14654 LTCC=${LTCC-"$CC"}
   14655 
   14656 # If no C compiler flags were specified, use CFLAGS.
   14657 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14658 
   14659 # Allow CC to be a program name with arguments.
   14660 compiler=$CC
   14661 
   14662 # Save the default compiler, since it gets overwritten when the other
   14663 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14664 compiler_DEFAULT=$CC
   14665 
   14666 # save warnings/boilerplate of simple test code
   14667 ac_outfile=conftest.$ac_objext
   14668 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14669 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14670 _lt_compiler_boilerplate=`cat conftest.err`
   14671 $RM conftest*
   14672 
   14673 ac_outfile=conftest.$ac_objext
   14674 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14675 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14676 _lt_linker_boilerplate=`cat conftest.err`
   14677 $RM -r conftest*
   14678 
   14679 
   14680 if test -n "$compiler"; then
   14681 
   14682 lt_prog_compiler_no_builtin_flag=
   14683 
   14684 if test yes = "$GCC"; then
   14685   case $cc_basename in
   14686   nvcc*)
   14687     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14688   *)
   14689     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14690   esac
   14691 
   14692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14693 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14694 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14695   $as_echo_n "(cached) " >&6
   14696 else
   14697   lt_cv_prog_compiler_rtti_exceptions=no
   14698    ac_outfile=conftest.$ac_objext
   14699    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14700    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14701    # Insert the option either (1) after the last *FLAGS variable, or
   14702    # (2) before a word containing "conftest.", or (3) at the end.
   14703    # Note that $ac_compile itself does not contain backslashes and begins
   14704    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14705    # The option is referenced via a variable to avoid confusing sed.
   14706    lt_compile=`echo "$ac_compile" | $SED \
   14707    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14708    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14709    -e 's:$: $lt_compiler_flag:'`
   14710    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14711    (eval "$lt_compile" 2>conftest.err)
   14712    ac_status=$?
   14713    cat conftest.err >&5
   14714    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14715    if (exit $ac_status) && test -s "$ac_outfile"; then
   14716      # The compiler can only warn and ignore the option if not recognized
   14717      # So say no if there are warnings other than the usual output.
   14718      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14719      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14720      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14721        lt_cv_prog_compiler_rtti_exceptions=yes
   14722      fi
   14723    fi
   14724    $RM conftest*
   14725 
   14726 fi
   14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14728 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14729 
   14730 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14731     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14732 else
   14733     :
   14734 fi
   14735 
   14736 fi
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 
   14743   lt_prog_compiler_wl=
   14744 lt_prog_compiler_pic=
   14745 lt_prog_compiler_static=
   14746 
   14747 
   14748   if test yes = "$GCC"; then
   14749     lt_prog_compiler_wl='-Wl,'
   14750     lt_prog_compiler_static='-static'
   14751 
   14752     case $host_os in
   14753       aix*)
   14754       # All AIX code is PIC.
   14755       if test ia64 = "$host_cpu"; then
   14756 	# AIX 5 now supports IA64 processor
   14757 	lt_prog_compiler_static='-Bstatic'
   14758       fi
   14759       lt_prog_compiler_pic='-fPIC'
   14760       ;;
   14761 
   14762     amigaos*)
   14763       case $host_cpu in
   14764       powerpc)
   14765             # see comment about AmigaOS4 .so support
   14766             lt_prog_compiler_pic='-fPIC'
   14767         ;;
   14768       m68k)
   14769             # FIXME: we need at least 68020 code to build shared libraries, but
   14770             # adding the '-m68020' flag to GCC prevents building anything better,
   14771             # like '-m68040'.
   14772             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14773         ;;
   14774       esac
   14775       ;;
   14776 
   14777     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14778       # PIC is the default for these OSes.
   14779       ;;
   14780 
   14781     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14782       # This hack is so that the source file can tell whether it is being
   14783       # built for inclusion in a dll (and should export symbols for example).
   14784       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14785       # (--disable-auto-import) libraries
   14786       lt_prog_compiler_pic='-DDLL_EXPORT'
   14787       case $host_os in
   14788       os2*)
   14789 	lt_prog_compiler_static='$wl-static'
   14790 	;;
   14791       esac
   14792       ;;
   14793 
   14794     darwin* | rhapsody*)
   14795       # PIC is the default on this platform
   14796       # Common symbols not allowed in MH_DYLIB files
   14797       lt_prog_compiler_pic='-fno-common'
   14798       ;;
   14799 
   14800     haiku*)
   14801       # PIC is the default for Haiku.
   14802       # The "-static" flag exists, but is broken.
   14803       lt_prog_compiler_static=
   14804       ;;
   14805 
   14806     hpux*)
   14807       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14808       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14809       # sets the default TLS model and affects inlining.
   14810       case $host_cpu in
   14811       hppa*64*)
   14812 	# +Z the default
   14813 	;;
   14814       *)
   14815 	lt_prog_compiler_pic='-fPIC'
   14816 	;;
   14817       esac
   14818       ;;
   14819 
   14820     interix[3-9]*)
   14821       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14822       # Instead, we relocate shared libraries at runtime.
   14823       ;;
   14824 
   14825     msdosdjgpp*)
   14826       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14827       # on systems that don't support them.
   14828       lt_prog_compiler_can_build_shared=no
   14829       enable_shared=no
   14830       ;;
   14831 
   14832     *nto* | *qnx*)
   14833       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14834       # it will coredump.
   14835       lt_prog_compiler_pic='-fPIC -shared'
   14836       ;;
   14837 
   14838     sysv4*MP*)
   14839       if test -d /usr/nec; then
   14840 	lt_prog_compiler_pic=-Kconform_pic
   14841       fi
   14842       ;;
   14843 
   14844     *)
   14845       lt_prog_compiler_pic='-fPIC'
   14846       ;;
   14847     esac
   14848 
   14849     case $cc_basename in
   14850     nvcc*) # Cuda Compiler Driver 2.2
   14851       lt_prog_compiler_wl='-Xlinker '
   14852       if test -n "$lt_prog_compiler_pic"; then
   14853         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14854       fi
   14855       ;;
   14856     esac
   14857   else
   14858     # PORTME Check for flag to pass linker flags through the system compiler.
   14859     case $host_os in
   14860     aix*)
   14861       lt_prog_compiler_wl='-Wl,'
   14862       if test ia64 = "$host_cpu"; then
   14863 	# AIX 5 now supports IA64 processor
   14864 	lt_prog_compiler_static='-Bstatic'
   14865       else
   14866 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14867       fi
   14868       ;;
   14869 
   14870     darwin* | rhapsody*)
   14871       # PIC is the default on this platform
   14872       # Common symbols not allowed in MH_DYLIB files
   14873       lt_prog_compiler_pic='-fno-common'
   14874       case $cc_basename in
   14875       nagfor*)
   14876         # NAG Fortran compiler
   14877         lt_prog_compiler_wl='-Wl,-Wl,,'
   14878         lt_prog_compiler_pic='-PIC'
   14879         lt_prog_compiler_static='-Bstatic'
   14880         ;;
   14881       esac
   14882       ;;
   14883 
   14884     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14885       # This hack is so that the source file can tell whether it is being
   14886       # built for inclusion in a dll (and should export symbols for example).
   14887       lt_prog_compiler_pic='-DDLL_EXPORT'
   14888       case $host_os in
   14889       os2*)
   14890 	lt_prog_compiler_static='$wl-static'
   14891 	;;
   14892       esac
   14893       ;;
   14894 
   14895     hpux9* | hpux10* | hpux11*)
   14896       lt_prog_compiler_wl='-Wl,'
   14897       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14898       # not for PA HP-UX.
   14899       case $host_cpu in
   14900       hppa*64*|ia64*)
   14901 	# +Z the default
   14902 	;;
   14903       *)
   14904 	lt_prog_compiler_pic='+Z'
   14905 	;;
   14906       esac
   14907       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14908       lt_prog_compiler_static='$wl-a ${wl}archive'
   14909       ;;
   14910 
   14911     irix5* | irix6* | nonstopux*)
   14912       lt_prog_compiler_wl='-Wl,'
   14913       # PIC (with -KPIC) is the default.
   14914       lt_prog_compiler_static='-non_shared'
   14915       ;;
   14916 
   14917     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14918       case $cc_basename in
   14919       # old Intel for x86_64, which still supported -KPIC.
   14920       ecc*)
   14921 	lt_prog_compiler_wl='-Wl,'
   14922 	lt_prog_compiler_pic='-KPIC'
   14923 	lt_prog_compiler_static='-static'
   14924         ;;
   14925       # icc used to be incompatible with GCC.
   14926       # ICC 10 doesn't accept -KPIC any more.
   14927       icc* | ifort*)
   14928 	lt_prog_compiler_wl='-Wl,'
   14929 	lt_prog_compiler_pic='-fPIC'
   14930 	lt_prog_compiler_static='-static'
   14931         ;;
   14932       # Lahey Fortran 8.1.
   14933       lf95*)
   14934 	lt_prog_compiler_wl='-Wl,'
   14935 	lt_prog_compiler_pic='--shared'
   14936 	lt_prog_compiler_static='--static'
   14937 	;;
   14938       nagfor*)
   14939 	# NAG Fortran compiler
   14940 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14941 	lt_prog_compiler_pic='-PIC'
   14942 	lt_prog_compiler_static='-Bstatic'
   14943 	;;
   14944       tcc*)
   14945 	# Fabrice Bellard et al's Tiny C Compiler
   14946 	lt_prog_compiler_wl='-Wl,'
   14947 	lt_prog_compiler_pic='-fPIC'
   14948 	lt_prog_compiler_static='-static'
   14949 	;;
   14950       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14951         # Portland Group compilers (*not* the Pentium gcc compiler,
   14952 	# which looks to be a dead project)
   14953 	lt_prog_compiler_wl='-Wl,'
   14954 	lt_prog_compiler_pic='-fpic'
   14955 	lt_prog_compiler_static='-Bstatic'
   14956         ;;
   14957       ccc*)
   14958         lt_prog_compiler_wl='-Wl,'
   14959         # All Alpha code is PIC.
   14960         lt_prog_compiler_static='-non_shared'
   14961         ;;
   14962       xl* | bgxl* | bgf* | mpixl*)
   14963 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14964 	lt_prog_compiler_wl='-Wl,'
   14965 	lt_prog_compiler_pic='-qpic'
   14966 	lt_prog_compiler_static='-qstaticlink'
   14967 	;;
   14968       *)
   14969 	case `$CC -V 2>&1 | sed 5q` in
   14970 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14971 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14972 	  lt_prog_compiler_pic='-KPIC'
   14973 	  lt_prog_compiler_static='-Bstatic'
   14974 	  lt_prog_compiler_wl=''
   14975 	  ;;
   14976 	*Sun\ F* | *Sun*Fortran*)
   14977 	  lt_prog_compiler_pic='-KPIC'
   14978 	  lt_prog_compiler_static='-Bstatic'
   14979 	  lt_prog_compiler_wl='-Qoption ld '
   14980 	  ;;
   14981 	*Sun\ C*)
   14982 	  # Sun C 5.9
   14983 	  lt_prog_compiler_pic='-KPIC'
   14984 	  lt_prog_compiler_static='-Bstatic'
   14985 	  lt_prog_compiler_wl='-Wl,'
   14986 	  ;;
   14987         *Intel*\ [CF]*Compiler*)
   14988 	  lt_prog_compiler_wl='-Wl,'
   14989 	  lt_prog_compiler_pic='-fPIC'
   14990 	  lt_prog_compiler_static='-static'
   14991 	  ;;
   14992 	*Portland\ Group*)
   14993 	  lt_prog_compiler_wl='-Wl,'
   14994 	  lt_prog_compiler_pic='-fpic'
   14995 	  lt_prog_compiler_static='-Bstatic'
   14996 	  ;;
   14997 	esac
   14998 	;;
   14999       esac
   15000       ;;
   15001 
   15002     newsos6)
   15003       lt_prog_compiler_pic='-KPIC'
   15004       lt_prog_compiler_static='-Bstatic'
   15005       ;;
   15006 
   15007     *nto* | *qnx*)
   15008       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15009       # it will coredump.
   15010       lt_prog_compiler_pic='-fPIC -shared'
   15011       ;;
   15012 
   15013     osf3* | osf4* | osf5*)
   15014       lt_prog_compiler_wl='-Wl,'
   15015       # All OSF/1 code is PIC.
   15016       lt_prog_compiler_static='-non_shared'
   15017       ;;
   15018 
   15019     rdos*)
   15020       lt_prog_compiler_static='-non_shared'
   15021       ;;
   15022 
   15023     solaris*)
   15024       lt_prog_compiler_pic='-KPIC'
   15025       lt_prog_compiler_static='-Bstatic'
   15026       case $cc_basename in
   15027       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15028 	lt_prog_compiler_wl='-Qoption ld ';;
   15029       *)
   15030 	lt_prog_compiler_wl='-Wl,';;
   15031       esac
   15032       ;;
   15033 
   15034     sunos4*)
   15035       lt_prog_compiler_wl='-Qoption ld '
   15036       lt_prog_compiler_pic='-PIC'
   15037       lt_prog_compiler_static='-Bstatic'
   15038       ;;
   15039 
   15040     sysv4 | sysv4.2uw2* | sysv4.3*)
   15041       lt_prog_compiler_wl='-Wl,'
   15042       lt_prog_compiler_pic='-KPIC'
   15043       lt_prog_compiler_static='-Bstatic'
   15044       ;;
   15045 
   15046     sysv4*MP*)
   15047       if test -d /usr/nec; then
   15048 	lt_prog_compiler_pic='-Kconform_pic'
   15049 	lt_prog_compiler_static='-Bstatic'
   15050       fi
   15051       ;;
   15052 
   15053     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15054       lt_prog_compiler_wl='-Wl,'
   15055       lt_prog_compiler_pic='-KPIC'
   15056       lt_prog_compiler_static='-Bstatic'
   15057       ;;
   15058 
   15059     unicos*)
   15060       lt_prog_compiler_wl='-Wl,'
   15061       lt_prog_compiler_can_build_shared=no
   15062       ;;
   15063 
   15064     uts4*)
   15065       lt_prog_compiler_pic='-pic'
   15066       lt_prog_compiler_static='-Bstatic'
   15067       ;;
   15068 
   15069     *)
   15070       lt_prog_compiler_can_build_shared=no
   15071       ;;
   15072     esac
   15073   fi
   15074 
   15075 case $host_os in
   15076   # For platforms that do not support PIC, -DPIC is meaningless:
   15077   *djgpp*)
   15078     lt_prog_compiler_pic=
   15079     ;;
   15080   *)
   15081     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15082     ;;
   15083 esac
   15084 
   15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15086 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15087 if ${lt_cv_prog_compiler_pic+:} false; then :
   15088   $as_echo_n "(cached) " >&6
   15089 else
   15090   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15091 fi
   15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15093 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15094 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15095 
   15096 #
   15097 # Check to make sure the PIC flag actually works.
   15098 #
   15099 if test -n "$lt_prog_compiler_pic"; then
   15100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15101 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15102 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15103   $as_echo_n "(cached) " >&6
   15104 else
   15105   lt_cv_prog_compiler_pic_works=no
   15106    ac_outfile=conftest.$ac_objext
   15107    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15108    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15109    # Insert the option either (1) after the last *FLAGS variable, or
   15110    # (2) before a word containing "conftest.", or (3) at the end.
   15111    # Note that $ac_compile itself does not contain backslashes and begins
   15112    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15113    # The option is referenced via a variable to avoid confusing sed.
   15114    lt_compile=`echo "$ac_compile" | $SED \
   15115    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15116    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15117    -e 's:$: $lt_compiler_flag:'`
   15118    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15119    (eval "$lt_compile" 2>conftest.err)
   15120    ac_status=$?
   15121    cat conftest.err >&5
   15122    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15123    if (exit $ac_status) && test -s "$ac_outfile"; then
   15124      # The compiler can only warn and ignore the option if not recognized
   15125      # So say no if there are warnings other than the usual output.
   15126      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15127      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15128      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15129        lt_cv_prog_compiler_pic_works=yes
   15130      fi
   15131    fi
   15132    $RM conftest*
   15133 
   15134 fi
   15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15136 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15137 
   15138 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15139     case $lt_prog_compiler_pic in
   15140      "" | " "*) ;;
   15141      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15142      esac
   15143 else
   15144     lt_prog_compiler_pic=
   15145      lt_prog_compiler_can_build_shared=no
   15146 fi
   15147 
   15148 fi
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 #
   15161 # Check to make sure the static flag actually works.
   15162 #
   15163 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15165 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15166 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15167   $as_echo_n "(cached) " >&6
   15168 else
   15169   lt_cv_prog_compiler_static_works=no
   15170    save_LDFLAGS=$LDFLAGS
   15171    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15172    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15173    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15174      # The linker can only warn and ignore the option if not recognized
   15175      # So say no if there are warnings
   15176      if test -s conftest.err; then
   15177        # Append any errors to the config.log.
   15178        cat conftest.err 1>&5
   15179        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15180        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15181        if diff conftest.exp conftest.er2 >/dev/null; then
   15182          lt_cv_prog_compiler_static_works=yes
   15183        fi
   15184      else
   15185        lt_cv_prog_compiler_static_works=yes
   15186      fi
   15187    fi
   15188    $RM -r conftest*
   15189    LDFLAGS=$save_LDFLAGS
   15190 
   15191 fi
   15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15193 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15194 
   15195 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15196     :
   15197 else
   15198     lt_prog_compiler_static=
   15199 fi
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15208 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15209 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15210   $as_echo_n "(cached) " >&6
   15211 else
   15212   lt_cv_prog_compiler_c_o=no
   15213    $RM -r conftest 2>/dev/null
   15214    mkdir conftest
   15215    cd conftest
   15216    mkdir out
   15217    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15218 
   15219    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15220    # Insert the option either (1) after the last *FLAGS variable, or
   15221    # (2) before a word containing "conftest.", or (3) at the end.
   15222    # Note that $ac_compile itself does not contain backslashes and begins
   15223    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15224    lt_compile=`echo "$ac_compile" | $SED \
   15225    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15226    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15227    -e 's:$: $lt_compiler_flag:'`
   15228    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15229    (eval "$lt_compile" 2>out/conftest.err)
   15230    ac_status=$?
   15231    cat out/conftest.err >&5
   15232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15233    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15234    then
   15235      # The compiler can only warn and ignore the option if not recognized
   15236      # So say no if there are warnings
   15237      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15238      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15239      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15240        lt_cv_prog_compiler_c_o=yes
   15241      fi
   15242    fi
   15243    chmod u+w . 2>&5
   15244    $RM conftest*
   15245    # SGI C++ compiler will create directory out/ii_files/ for
   15246    # template instantiation
   15247    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15248    $RM out/* && rmdir out
   15249    cd ..
   15250    $RM -r conftest
   15251    $RM conftest*
   15252 
   15253 fi
   15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15255 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15263 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15264 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15265   $as_echo_n "(cached) " >&6
   15266 else
   15267   lt_cv_prog_compiler_c_o=no
   15268    $RM -r conftest 2>/dev/null
   15269    mkdir conftest
   15270    cd conftest
   15271    mkdir out
   15272    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15273 
   15274    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15275    # Insert the option either (1) after the last *FLAGS variable, or
   15276    # (2) before a word containing "conftest.", or (3) at the end.
   15277    # Note that $ac_compile itself does not contain backslashes and begins
   15278    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15279    lt_compile=`echo "$ac_compile" | $SED \
   15280    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15281    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15282    -e 's:$: $lt_compiler_flag:'`
   15283    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15284    (eval "$lt_compile" 2>out/conftest.err)
   15285    ac_status=$?
   15286    cat out/conftest.err >&5
   15287    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15288    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15289    then
   15290      # The compiler can only warn and ignore the option if not recognized
   15291      # So say no if there are warnings
   15292      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15293      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15294      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15295        lt_cv_prog_compiler_c_o=yes
   15296      fi
   15297    fi
   15298    chmod u+w . 2>&5
   15299    $RM conftest*
   15300    # SGI C++ compiler will create directory out/ii_files/ for
   15301    # template instantiation
   15302    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15303    $RM out/* && rmdir out
   15304    cd ..
   15305    $RM -r conftest
   15306    $RM conftest*
   15307 
   15308 fi
   15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15310 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15311 
   15312 
   15313 
   15314 
   15315 hard_links=nottested
   15316 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15317   # do not overwrite the value of need_locks provided by the user
   15318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15319 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15320   hard_links=yes
   15321   $RM conftest*
   15322   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15323   touch conftest.a
   15324   ln conftest.a conftest.b 2>&5 || hard_links=no
   15325   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15327 $as_echo "$hard_links" >&6; }
   15328   if test no = "$hard_links"; then
   15329     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15330 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15331     need_locks=warn
   15332   fi
   15333 else
   15334   need_locks=no
   15335 fi
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15344 
   15345   runpath_var=
   15346   allow_undefined_flag=
   15347   always_export_symbols=no
   15348   archive_cmds=
   15349   archive_expsym_cmds=
   15350   compiler_needs_object=no
   15351   enable_shared_with_static_runtimes=no
   15352   export_dynamic_flag_spec=
   15353   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15354   hardcode_automatic=no
   15355   hardcode_direct=no
   15356   hardcode_direct_absolute=no
   15357   hardcode_libdir_flag_spec=
   15358   hardcode_libdir_separator=
   15359   hardcode_minus_L=no
   15360   hardcode_shlibpath_var=unsupported
   15361   inherit_rpath=no
   15362   link_all_deplibs=unknown
   15363   module_cmds=
   15364   module_expsym_cmds=
   15365   old_archive_from_new_cmds=
   15366   old_archive_from_expsyms_cmds=
   15367   thread_safe_flag_spec=
   15368   whole_archive_flag_spec=
   15369   # include_expsyms should be a list of space-separated symbols to be *always*
   15370   # included in the symbol list
   15371   include_expsyms=
   15372   # exclude_expsyms can be an extended regexp of symbols to exclude
   15373   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15374   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15375   # as well as any symbol that contains 'd'.
   15376   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15377   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15378   # platforms (ab)use it in PIC code, but their linkers get confused if
   15379   # the symbol is explicitly referenced.  Since portable code cannot
   15380   # rely on this symbol name, it's probably fine to never include it in
   15381   # preloaded symbol tables.
   15382   # Exclude shared library initialization/finalization symbols.
   15383   extract_expsyms_cmds=
   15384 
   15385   case $host_os in
   15386   cygwin* | mingw* | pw32* | cegcc*)
   15387     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15388     # When not using gcc, we currently assume that we are using
   15389     # Microsoft Visual C++.
   15390     if test yes != "$GCC"; then
   15391       with_gnu_ld=no
   15392     fi
   15393     ;;
   15394   interix*)
   15395     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15396     with_gnu_ld=yes
   15397     ;;
   15398   openbsd* | bitrig*)
   15399     with_gnu_ld=no
   15400     ;;
   15401   esac
   15402 
   15403   ld_shlibs=yes
   15404 
   15405   # On some targets, GNU ld is compatible enough with the native linker
   15406   # that we're better off using the native interface for both.
   15407   lt_use_gnu_ld_interface=no
   15408   if test yes = "$with_gnu_ld"; then
   15409     case $host_os in
   15410       aix*)
   15411 	# The AIX port of GNU ld has always aspired to compatibility
   15412 	# with the native linker.  However, as the warning in the GNU ld
   15413 	# block says, versions before 2.19.5* couldn't really create working
   15414 	# shared libraries, regardless of the interface used.
   15415 	case `$LD -v 2>&1` in
   15416 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15417 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15418 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15419 	  *)
   15420 	    lt_use_gnu_ld_interface=yes
   15421 	    ;;
   15422 	esac
   15423 	;;
   15424       *)
   15425 	lt_use_gnu_ld_interface=yes
   15426 	;;
   15427     esac
   15428   fi
   15429 
   15430   if test yes = "$lt_use_gnu_ld_interface"; then
   15431     # If archive_cmds runs LD, not CC, wlarc should be empty
   15432     wlarc='$wl'
   15433 
   15434     # Set some defaults for GNU ld with shared library support. These
   15435     # are reset later if shared libraries are not supported. Putting them
   15436     # here allows them to be overridden if necessary.
   15437     runpath_var=LD_RUN_PATH
   15438     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15439     export_dynamic_flag_spec='$wl--export-dynamic'
   15440     # ancient GNU ld didn't support --whole-archive et. al.
   15441     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15442       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15443     else
   15444       whole_archive_flag_spec=
   15445     fi
   15446     supports_anon_versioning=no
   15447     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15448       *GNU\ gold*) supports_anon_versioning=yes ;;
   15449       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15450       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15451       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15452       *\ 2.11.*) ;; # other 2.11 versions
   15453       *) supports_anon_versioning=yes ;;
   15454     esac
   15455 
   15456     # See if GNU ld supports shared libraries.
   15457     case $host_os in
   15458     aix[3-9]*)
   15459       # On AIX/PPC, the GNU linker is very broken
   15460       if test ia64 != "$host_cpu"; then
   15461 	ld_shlibs=no
   15462 	cat <<_LT_EOF 1>&2
   15463 
   15464 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15465 *** to be unable to reliably create shared libraries on AIX.
   15466 *** Therefore, libtool is disabling shared libraries support.  If you
   15467 *** really care for shared libraries, you may want to install binutils
   15468 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15469 *** You will then need to restart the configuration process.
   15470 
   15471 _LT_EOF
   15472       fi
   15473       ;;
   15474 
   15475     amigaos*)
   15476       case $host_cpu in
   15477       powerpc)
   15478             # see comment about AmigaOS4 .so support
   15479             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15480             archive_expsym_cmds=''
   15481         ;;
   15482       m68k)
   15483             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)'
   15484             hardcode_libdir_flag_spec='-L$libdir'
   15485             hardcode_minus_L=yes
   15486         ;;
   15487       esac
   15488       ;;
   15489 
   15490     beos*)
   15491       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15492 	allow_undefined_flag=unsupported
   15493 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15494 	# support --undefined.  This deserves some investigation.  FIXME
   15495 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15496       else
   15497 	ld_shlibs=no
   15498       fi
   15499       ;;
   15500 
   15501     cygwin* | mingw* | pw32* | cegcc*)
   15502       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15503       # as there is no search path for DLLs.
   15504       hardcode_libdir_flag_spec='-L$libdir'
   15505       export_dynamic_flag_spec='$wl--export-all-symbols'
   15506       allow_undefined_flag=unsupported
   15507       always_export_symbols=no
   15508       enable_shared_with_static_runtimes=yes
   15509       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'
   15510       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15511 
   15512       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15513         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15514 	# If the export-symbols file already is a .def file, use it as
   15515 	# is; otherwise, prepend EXPORTS...
   15516 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15517           cp $export_symbols $output_objdir/$soname.def;
   15518         else
   15519           echo EXPORTS > $output_objdir/$soname.def;
   15520           cat $export_symbols >> $output_objdir/$soname.def;
   15521         fi~
   15522         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15523       else
   15524 	ld_shlibs=no
   15525       fi
   15526       ;;
   15527 
   15528     haiku*)
   15529       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15530       link_all_deplibs=yes
   15531       ;;
   15532 
   15533     os2*)
   15534       hardcode_libdir_flag_spec='-L$libdir'
   15535       hardcode_minus_L=yes
   15536       allow_undefined_flag=unsupported
   15537       shrext_cmds=.dll
   15538       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15539 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15540 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15541 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15542 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15543 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15544 	emximp -o $lib $output_objdir/$libname.def'
   15545       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15546 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15547 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15548 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15549 	prefix_cmds="$SED"~
   15550 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15551 	  prefix_cmds="$prefix_cmds -e 1d";
   15552 	fi~
   15553 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15554 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15555 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15556 	emximp -o $lib $output_objdir/$libname.def'
   15557       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15558       enable_shared_with_static_runtimes=yes
   15559       ;;
   15560 
   15561     interix[3-9]*)
   15562       hardcode_direct=no
   15563       hardcode_shlibpath_var=no
   15564       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15565       export_dynamic_flag_spec='$wl-E'
   15566       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15567       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15568       # default) and relocated if they conflict, which is a slow very memory
   15569       # consuming and fragmenting process.  To avoid this, we pick a random,
   15570       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15571       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15572       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15573       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'
   15574       ;;
   15575 
   15576     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15577       tmp_diet=no
   15578       if test linux-dietlibc = "$host_os"; then
   15579 	case $cc_basename in
   15580 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15581 	esac
   15582       fi
   15583       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15584 	 && test no = "$tmp_diet"
   15585       then
   15586 	tmp_addflag=' $pic_flag'
   15587 	tmp_sharedflag='-shared'
   15588 	case $cc_basename,$host_cpu in
   15589         pgcc*)				# Portland Group C compiler
   15590 	  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'
   15591 	  tmp_addflag=' $pic_flag'
   15592 	  ;;
   15593 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15594 					# Portland Group f77 and f90 compilers
   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 -Mnomain' ;;
   15597 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15598 	  tmp_addflag=' -i_dynamic' ;;
   15599 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15600 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15601 	ifc* | ifort*)			# Intel Fortran compiler
   15602 	  tmp_addflag=' -nofor_main' ;;
   15603 	lf95*)				# Lahey Fortran 8.1
   15604 	  whole_archive_flag_spec=
   15605 	  tmp_sharedflag='--shared' ;;
   15606         nagfor*)                        # NAGFOR 5.3
   15607           tmp_sharedflag='-Wl,-shared' ;;
   15608 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15609 	  tmp_sharedflag='-qmkshrobj'
   15610 	  tmp_addflag= ;;
   15611 	nvcc*)	# Cuda Compiler Driver 2.2
   15612 	  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'
   15613 	  compiler_needs_object=yes
   15614 	  ;;
   15615 	esac
   15616 	case `$CC -V 2>&1 | sed 5q` in
   15617 	*Sun\ C*)			# Sun C 5.9
   15618 	  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'
   15619 	  compiler_needs_object=yes
   15620 	  tmp_sharedflag='-G' ;;
   15621 	*Sun\ F*)			# Sun Fortran 8.3
   15622 	  tmp_sharedflag='-G' ;;
   15623 	esac
   15624 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15625 
   15626         if test yes = "$supports_anon_versioning"; then
   15627           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15628             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15629             echo "local: *; };" >> $output_objdir/$libname.ver~
   15630             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15631         fi
   15632 
   15633 	case $cc_basename in
   15634 	tcc*)
   15635 	  export_dynamic_flag_spec='-rdynamic'
   15636 	  ;;
   15637 	xlf* | bgf* | bgxlf* | mpixlf*)
   15638 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15639 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15640 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15641 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15642 	  if test yes = "$supports_anon_versioning"; then
   15643 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15644               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15645               echo "local: *; };" >> $output_objdir/$libname.ver~
   15646               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15647 	  fi
   15648 	  ;;
   15649 	esac
   15650       else
   15651         ld_shlibs=no
   15652       fi
   15653       ;;
   15654 
   15655     netbsd*)
   15656       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15657 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15658 	wlarc=
   15659       else
   15660 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15661 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15662       fi
   15663       ;;
   15664 
   15665     solaris*)
   15666       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15667 	ld_shlibs=no
   15668 	cat <<_LT_EOF 1>&2
   15669 
   15670 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15671 *** create shared libraries on Solaris systems.  Therefore, libtool
   15672 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15673 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15674 *** your PATH or compiler configuration so that the native linker is
   15675 *** used, and then restart.
   15676 
   15677 _LT_EOF
   15678       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15679 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15680 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15681       else
   15682 	ld_shlibs=no
   15683       fi
   15684       ;;
   15685 
   15686     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15687       case `$LD -v 2>&1` in
   15688         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15689 	ld_shlibs=no
   15690 	cat <<_LT_EOF 1>&2
   15691 
   15692 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15693 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15694 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15695 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15696 *** your PATH or compiler configuration so that the native linker is
   15697 *** used, and then restart.
   15698 
   15699 _LT_EOF
   15700 	;;
   15701 	*)
   15702 	  # For security reasons, it is highly recommended that you always
   15703 	  # use absolute paths for naming shared libraries, and exclude the
   15704 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15705 	  # requires that you compile everything twice, which is a pain.
   15706 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15707 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15708 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15709 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15710 	  else
   15711 	    ld_shlibs=no
   15712 	  fi
   15713 	;;
   15714       esac
   15715       ;;
   15716 
   15717     sunos4*)
   15718       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15719       wlarc=
   15720       hardcode_direct=yes
   15721       hardcode_shlibpath_var=no
   15722       ;;
   15723 
   15724     *)
   15725       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15726 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15727 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15728       else
   15729 	ld_shlibs=no
   15730       fi
   15731       ;;
   15732     esac
   15733 
   15734     if test no = "$ld_shlibs"; then
   15735       runpath_var=
   15736       hardcode_libdir_flag_spec=
   15737       export_dynamic_flag_spec=
   15738       whole_archive_flag_spec=
   15739     fi
   15740   else
   15741     # PORTME fill in a description of your system's linker (not GNU ld)
   15742     case $host_os in
   15743     aix3*)
   15744       allow_undefined_flag=unsupported
   15745       always_export_symbols=yes
   15746       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'
   15747       # Note: this linker hardcodes the directories in LIBPATH if there
   15748       # are no directories specified by -L.
   15749       hardcode_minus_L=yes
   15750       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15751 	# Neither direct hardcoding nor static linking is supported with a
   15752 	# broken collect2.
   15753 	hardcode_direct=unsupported
   15754       fi
   15755       ;;
   15756 
   15757     aix[4-9]*)
   15758       if test ia64 = "$host_cpu"; then
   15759 	# On IA64, the linker does run time linking by default, so we don't
   15760 	# have to do anything special.
   15761 	aix_use_runtimelinking=no
   15762 	exp_sym_flag='-Bexport'
   15763 	no_entry_flag=
   15764       else
   15765 	# If we're using GNU nm, then we don't want the "-C" option.
   15766 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15767 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15768 	# weak defined symbols like other global defined symbols, whereas
   15769 	# GNU nm marks them as "W".
   15770 	# While the 'weak' keyword is ignored in the Export File, we need
   15771 	# it in the Import File for the 'aix-soname' feature, so we have
   15772 	# to replace the "-B" option with "-P" for AIX nm.
   15773 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15774 	  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'
   15775 	else
   15776 	  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'
   15777 	fi
   15778 	aix_use_runtimelinking=no
   15779 
   15780 	# Test if we are trying to use run time linking or normal
   15781 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15782 	# have runtime linking enabled, and use it for executables.
   15783 	# For shared libraries, we enable/disable runtime linking
   15784 	# depending on the kind of the shared library created -
   15785 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15786 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15787 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15788 	#            lib.a           static archive
   15789 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15790 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15791 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15792 	#            lib.a(lib.so.V) shared, rtl:no
   15793 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15794 	#            lib.a           static archive
   15795 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15796 	  for ld_flag in $LDFLAGS; do
   15797 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15798 	    aix_use_runtimelinking=yes
   15799 	    break
   15800 	  fi
   15801 	  done
   15802 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15803 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15804 	    # so we don't have lib.a shared libs to link our executables.
   15805 	    # We have to force runtime linking in this case.
   15806 	    aix_use_runtimelinking=yes
   15807 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15808 	  fi
   15809 	  ;;
   15810 	esac
   15811 
   15812 	exp_sym_flag='-bexport'
   15813 	no_entry_flag='-bnoentry'
   15814       fi
   15815 
   15816       # When large executables or shared objects are built, AIX ld can
   15817       # have problems creating the table of contents.  If linking a library
   15818       # or program results in "error TOC overflow" add -mminimal-toc to
   15819       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15820       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15821 
   15822       archive_cmds=''
   15823       hardcode_direct=yes
   15824       hardcode_direct_absolute=yes
   15825       hardcode_libdir_separator=':'
   15826       link_all_deplibs=yes
   15827       file_list_spec='$wl-f,'
   15828       case $with_aix_soname,$aix_use_runtimelinking in
   15829       aix,*) ;; # traditional, no import file
   15830       svr4,* | *,yes) # use import file
   15831 	# The Import File defines what to hardcode.
   15832 	hardcode_direct=no
   15833 	hardcode_direct_absolute=no
   15834 	;;
   15835       esac
   15836 
   15837       if test yes = "$GCC"; then
   15838 	case $host_os in aix4.[012]|aix4.[012].*)
   15839 	# We only want to do this on AIX 4.2 and lower, the check
   15840 	# below for broken collect2 doesn't work under 4.3+
   15841 	  collect2name=`$CC -print-prog-name=collect2`
   15842 	  if test -f "$collect2name" &&
   15843 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15844 	  then
   15845 	  # We have reworked collect2
   15846 	  :
   15847 	  else
   15848 	  # We have old collect2
   15849 	  hardcode_direct=unsupported
   15850 	  # It fails to find uninstalled libraries when the uninstalled
   15851 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15852 	  # to unsupported forces relinking
   15853 	  hardcode_minus_L=yes
   15854 	  hardcode_libdir_flag_spec='-L$libdir'
   15855 	  hardcode_libdir_separator=
   15856 	  fi
   15857 	  ;;
   15858 	esac
   15859 	shared_flag='-shared'
   15860 	if test yes = "$aix_use_runtimelinking"; then
   15861 	  shared_flag="$shared_flag "'$wl-G'
   15862 	fi
   15863 	# Need to ensure runtime linking is disabled for the traditional
   15864 	# shared library, or the linker may eventually find shared libraries
   15865 	# /with/ Import File - we do not want to mix them.
   15866 	shared_flag_aix='-shared'
   15867 	shared_flag_svr4='-shared $wl-G'
   15868       else
   15869 	# not using gcc
   15870 	if test ia64 = "$host_cpu"; then
   15871 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15872 	# chokes on -Wl,-G. The following line is correct:
   15873 	  shared_flag='-G'
   15874 	else
   15875 	  if test yes = "$aix_use_runtimelinking"; then
   15876 	    shared_flag='$wl-G'
   15877 	  else
   15878 	    shared_flag='$wl-bM:SRE'
   15879 	  fi
   15880 	  shared_flag_aix='$wl-bM:SRE'
   15881 	  shared_flag_svr4='$wl-G'
   15882 	fi
   15883       fi
   15884 
   15885       export_dynamic_flag_spec='$wl-bexpall'
   15886       # It seems that -bexpall does not export symbols beginning with
   15887       # underscore (_), so it is better to generate a list of symbols to export.
   15888       always_export_symbols=yes
   15889       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15890 	# Warning - without using the other runtime loading flags (-brtl),
   15891 	# -berok will link without error, but may produce a broken library.
   15892 	allow_undefined_flag='-berok'
   15893         # Determine the default libpath from the value encoded in an
   15894         # empty executable.
   15895         if test set = "${lt_cv_aix_libpath+set}"; then
   15896   aix_libpath=$lt_cv_aix_libpath
   15897 else
   15898   if ${lt_cv_aix_libpath_+:} false; then :
   15899   $as_echo_n "(cached) " >&6
   15900 else
   15901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15902 /* end confdefs.h.  */
   15903 
   15904 int
   15905 main ()
   15906 {
   15907 
   15908   ;
   15909   return 0;
   15910 }
   15911 _ACEOF
   15912 if ac_fn_c_try_link "$LINENO"; then :
   15913 
   15914   lt_aix_libpath_sed='
   15915       /Import File Strings/,/^$/ {
   15916 	  /^0/ {
   15917 	      s/^0  *\([^ ]*\) *$/\1/
   15918 	      p
   15919 	  }
   15920       }'
   15921   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15922   # Check for a 64-bit object if we didn't find anything.
   15923   if test -z "$lt_cv_aix_libpath_"; then
   15924     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15925   fi
   15926 fi
   15927 rm -f core conftest.err conftest.$ac_objext \
   15928     conftest$ac_exeext conftest.$ac_ext
   15929   if test -z "$lt_cv_aix_libpath_"; then
   15930     lt_cv_aix_libpath_=/usr/lib:/lib
   15931   fi
   15932 
   15933 fi
   15934 
   15935   aix_libpath=$lt_cv_aix_libpath_
   15936 fi
   15937 
   15938         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15939         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
   15940       else
   15941 	if test ia64 = "$host_cpu"; then
   15942 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15943 	  allow_undefined_flag="-z nodefs"
   15944 	  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"
   15945 	else
   15946 	 # Determine the default libpath from the value encoded in an
   15947 	 # empty executable.
   15948 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15949   aix_libpath=$lt_cv_aix_libpath
   15950 else
   15951   if ${lt_cv_aix_libpath_+:} false; then :
   15952   $as_echo_n "(cached) " >&6
   15953 else
   15954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15955 /* end confdefs.h.  */
   15956 
   15957 int
   15958 main ()
   15959 {
   15960 
   15961   ;
   15962   return 0;
   15963 }
   15964 _ACEOF
   15965 if ac_fn_c_try_link "$LINENO"; then :
   15966 
   15967   lt_aix_libpath_sed='
   15968       /Import File Strings/,/^$/ {
   15969 	  /^0/ {
   15970 	      s/^0  *\([^ ]*\) *$/\1/
   15971 	      p
   15972 	  }
   15973       }'
   15974   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15975   # Check for a 64-bit object if we didn't find anything.
   15976   if test -z "$lt_cv_aix_libpath_"; then
   15977     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15978   fi
   15979 fi
   15980 rm -f core conftest.err conftest.$ac_objext \
   15981     conftest$ac_exeext conftest.$ac_ext
   15982   if test -z "$lt_cv_aix_libpath_"; then
   15983     lt_cv_aix_libpath_=/usr/lib:/lib
   15984   fi
   15985 
   15986 fi
   15987 
   15988   aix_libpath=$lt_cv_aix_libpath_
   15989 fi
   15990 
   15991 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15992 	  # Warning - without using the other run time loading flags,
   15993 	  # -berok will link without error, but may produce a broken library.
   15994 	  no_undefined_flag=' $wl-bernotok'
   15995 	  allow_undefined_flag=' $wl-berok'
   15996 	  if test yes = "$with_gnu_ld"; then
   15997 	    # We only use this code for GNU lds that support --whole-archive.
   15998 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   15999 	  else
   16000 	    # Exported symbols can be pulled into shared objects from archives
   16001 	    whole_archive_flag_spec='$convenience'
   16002 	  fi
   16003 	  archive_cmds_need_lc=yes
   16004 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16005 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16006 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16007 	  if test svr4 != "$with_aix_soname"; then
   16008 	    # This is similar to how AIX traditionally builds its shared libraries.
   16009 	    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'
   16010 	  fi
   16011 	  if test aix != "$with_aix_soname"; then
   16012 	    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'
   16013 	  else
   16014 	    # used by -dlpreopen to get the symbols
   16015 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16016 	  fi
   16017 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16018 	fi
   16019       fi
   16020       ;;
   16021 
   16022     amigaos*)
   16023       case $host_cpu in
   16024       powerpc)
   16025             # see comment about AmigaOS4 .so support
   16026             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16027             archive_expsym_cmds=''
   16028         ;;
   16029       m68k)
   16030             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)'
   16031             hardcode_libdir_flag_spec='-L$libdir'
   16032             hardcode_minus_L=yes
   16033         ;;
   16034       esac
   16035       ;;
   16036 
   16037     bsdi[45]*)
   16038       export_dynamic_flag_spec=-rdynamic
   16039       ;;
   16040 
   16041     cygwin* | mingw* | pw32* | cegcc*)
   16042       # When not using gcc, we currently assume that we are using
   16043       # Microsoft Visual C++.
   16044       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16045       # no search path for DLLs.
   16046       case $cc_basename in
   16047       cl*)
   16048 	# Native MSVC
   16049 	hardcode_libdir_flag_spec=' '
   16050 	allow_undefined_flag=unsupported
   16051 	always_export_symbols=yes
   16052 	file_list_spec='@'
   16053 	# Tell ltmain to make .lib files, not .a files.
   16054 	libext=lib
   16055 	# Tell ltmain to make .dll files, not .so files.
   16056 	shrext_cmds=.dll
   16057 	# FIXME: Setting linknames here is a bad hack.
   16058 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16059 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16060             cp "$export_symbols" "$output_objdir/$soname.def";
   16061             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16062           else
   16063             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16064           fi~
   16065           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16066           linknames='
   16067 	# The linker will not automatically build a static lib if we build a DLL.
   16068 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16069 	enable_shared_with_static_runtimes=yes
   16070 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16071 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16072 	# Don't use ranlib
   16073 	old_postinstall_cmds='chmod 644 $oldlib'
   16074 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16075           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16076           case $lt_outputfile in
   16077             *.exe|*.EXE) ;;
   16078             *)
   16079               lt_outputfile=$lt_outputfile.exe
   16080               lt_tool_outputfile=$lt_tool_outputfile.exe
   16081               ;;
   16082           esac~
   16083           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16084             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16085             $RM "$lt_outputfile.manifest";
   16086           fi'
   16087 	;;
   16088       *)
   16089 	# Assume MSVC wrapper
   16090 	hardcode_libdir_flag_spec=' '
   16091 	allow_undefined_flag=unsupported
   16092 	# Tell ltmain to make .lib files, not .a files.
   16093 	libext=lib
   16094 	# Tell ltmain to make .dll files, not .so files.
   16095 	shrext_cmds=.dll
   16096 	# FIXME: Setting linknames here is a bad hack.
   16097 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16098 	# The linker will automatically build a .lib file if we build a DLL.
   16099 	old_archive_from_new_cmds='true'
   16100 	# FIXME: Should let the user specify the lib program.
   16101 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16102 	enable_shared_with_static_runtimes=yes
   16103 	;;
   16104       esac
   16105       ;;
   16106 
   16107     darwin* | rhapsody*)
   16108 
   16109 
   16110   archive_cmds_need_lc=no
   16111   hardcode_direct=no
   16112   hardcode_automatic=yes
   16113   hardcode_shlibpath_var=unsupported
   16114   if test yes = "$lt_cv_ld_force_load"; then
   16115     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\"`'
   16116 
   16117   else
   16118     whole_archive_flag_spec=''
   16119   fi
   16120   link_all_deplibs=yes
   16121   allow_undefined_flag=$_lt_dar_allow_undefined
   16122   case $cc_basename in
   16123      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16124      *) _lt_dar_can_shared=$GCC ;;
   16125   esac
   16126   if test yes = "$_lt_dar_can_shared"; then
   16127     output_verbose_link_cmd=func_echo_all
   16128     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16129     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16130     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"
   16131     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"
   16132 
   16133   else
   16134   ld_shlibs=no
   16135   fi
   16136 
   16137       ;;
   16138 
   16139     dgux*)
   16140       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16141       hardcode_libdir_flag_spec='-L$libdir'
   16142       hardcode_shlibpath_var=no
   16143       ;;
   16144 
   16145     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16146     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16147     # does not break anything, and helps significantly (at the cost of a little
   16148     # extra space).
   16149     freebsd2.2*)
   16150       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16151       hardcode_libdir_flag_spec='-R$libdir'
   16152       hardcode_direct=yes
   16153       hardcode_shlibpath_var=no
   16154       ;;
   16155 
   16156     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16157     freebsd2.*)
   16158       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16159       hardcode_direct=yes
   16160       hardcode_minus_L=yes
   16161       hardcode_shlibpath_var=no
   16162       ;;
   16163 
   16164     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16165     freebsd* | dragonfly*)
   16166       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16167       hardcode_libdir_flag_spec='-R$libdir'
   16168       hardcode_direct=yes
   16169       hardcode_shlibpath_var=no
   16170       ;;
   16171 
   16172     hpux9*)
   16173       if test yes = "$GCC"; then
   16174 	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'
   16175       else
   16176 	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'
   16177       fi
   16178       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16179       hardcode_libdir_separator=:
   16180       hardcode_direct=yes
   16181 
   16182       # hardcode_minus_L: Not really in the search PATH,
   16183       # but as the default location of the library.
   16184       hardcode_minus_L=yes
   16185       export_dynamic_flag_spec='$wl-E'
   16186       ;;
   16187 
   16188     hpux10*)
   16189       if test yes,no = "$GCC,$with_gnu_ld"; then
   16190 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16191       else
   16192 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16193       fi
   16194       if test no = "$with_gnu_ld"; then
   16195 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16196 	hardcode_libdir_separator=:
   16197 	hardcode_direct=yes
   16198 	hardcode_direct_absolute=yes
   16199 	export_dynamic_flag_spec='$wl-E'
   16200 	# hardcode_minus_L: Not really in the search PATH,
   16201 	# but as the default location of the library.
   16202 	hardcode_minus_L=yes
   16203       fi
   16204       ;;
   16205 
   16206     hpux11*)
   16207       if test yes,no = "$GCC,$with_gnu_ld"; then
   16208 	case $host_cpu in
   16209 	hppa*64*)
   16210 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16211 	  ;;
   16212 	ia64*)
   16213 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16214 	  ;;
   16215 	*)
   16216 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16217 	  ;;
   16218 	esac
   16219       else
   16220 	case $host_cpu in
   16221 	hppa*64*)
   16222 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16223 	  ;;
   16224 	ia64*)
   16225 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16226 	  ;;
   16227 	*)
   16228 
   16229 	  # Older versions of the 11.00 compiler do not understand -b yet
   16230 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16231 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16232 $as_echo_n "checking if $CC understands -b... " >&6; }
   16233 if ${lt_cv_prog_compiler__b+:} false; then :
   16234   $as_echo_n "(cached) " >&6
   16235 else
   16236   lt_cv_prog_compiler__b=no
   16237    save_LDFLAGS=$LDFLAGS
   16238    LDFLAGS="$LDFLAGS -b"
   16239    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16240    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16241      # The linker can only warn and ignore the option if not recognized
   16242      # So say no if there are warnings
   16243      if test -s conftest.err; then
   16244        # Append any errors to the config.log.
   16245        cat conftest.err 1>&5
   16246        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16247        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16248        if diff conftest.exp conftest.er2 >/dev/null; then
   16249          lt_cv_prog_compiler__b=yes
   16250        fi
   16251      else
   16252        lt_cv_prog_compiler__b=yes
   16253      fi
   16254    fi
   16255    $RM -r conftest*
   16256    LDFLAGS=$save_LDFLAGS
   16257 
   16258 fi
   16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16260 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16261 
   16262 if test yes = "$lt_cv_prog_compiler__b"; then
   16263     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16264 else
   16265     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16266 fi
   16267 
   16268 	  ;;
   16269 	esac
   16270       fi
   16271       if test no = "$with_gnu_ld"; then
   16272 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16273 	hardcode_libdir_separator=:
   16274 
   16275 	case $host_cpu in
   16276 	hppa*64*|ia64*)
   16277 	  hardcode_direct=no
   16278 	  hardcode_shlibpath_var=no
   16279 	  ;;
   16280 	*)
   16281 	  hardcode_direct=yes
   16282 	  hardcode_direct_absolute=yes
   16283 	  export_dynamic_flag_spec='$wl-E'
   16284 
   16285 	  # hardcode_minus_L: Not really in the search PATH,
   16286 	  # but as the default location of the library.
   16287 	  hardcode_minus_L=yes
   16288 	  ;;
   16289 	esac
   16290       fi
   16291       ;;
   16292 
   16293     irix5* | irix6* | nonstopux*)
   16294       if test yes = "$GCC"; then
   16295 	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'
   16296 	# Try to use the -exported_symbol ld option, if it does not
   16297 	# work, assume that -exports_file does not work either and
   16298 	# implicitly export all symbols.
   16299 	# This should be the same for all languages, so no per-tag cache variable.
   16300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16301 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16302 if ${lt_cv_irix_exported_symbol+:} false; then :
   16303   $as_echo_n "(cached) " >&6
   16304 else
   16305   save_LDFLAGS=$LDFLAGS
   16306 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16307 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16308 /* end confdefs.h.  */
   16309 int foo (void) { return 0; }
   16310 _ACEOF
   16311 if ac_fn_c_try_link "$LINENO"; then :
   16312   lt_cv_irix_exported_symbol=yes
   16313 else
   16314   lt_cv_irix_exported_symbol=no
   16315 fi
   16316 rm -f core conftest.err conftest.$ac_objext \
   16317     conftest$ac_exeext conftest.$ac_ext
   16318            LDFLAGS=$save_LDFLAGS
   16319 fi
   16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16321 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16322 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16323           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'
   16324 	fi
   16325       else
   16326 	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'
   16327 	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'
   16328       fi
   16329       archive_cmds_need_lc='no'
   16330       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16331       hardcode_libdir_separator=:
   16332       inherit_rpath=yes
   16333       link_all_deplibs=yes
   16334       ;;
   16335 
   16336     linux*)
   16337       case $cc_basename in
   16338       tcc*)
   16339 	# Fabrice Bellard et al's Tiny C Compiler
   16340 	ld_shlibs=yes
   16341 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16342 	;;
   16343       esac
   16344       ;;
   16345 
   16346     netbsd*)
   16347       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16348 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16349       else
   16350 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16351       fi
   16352       hardcode_libdir_flag_spec='-R$libdir'
   16353       hardcode_direct=yes
   16354       hardcode_shlibpath_var=no
   16355       ;;
   16356 
   16357     newsos6)
   16358       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16359       hardcode_direct=yes
   16360       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16361       hardcode_libdir_separator=:
   16362       hardcode_shlibpath_var=no
   16363       ;;
   16364 
   16365     *nto* | *qnx*)
   16366       ;;
   16367 
   16368     openbsd* | bitrig*)
   16369       if test -f /usr/libexec/ld.so; then
   16370 	hardcode_direct=yes
   16371 	hardcode_shlibpath_var=no
   16372 	hardcode_direct_absolute=yes
   16373 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16374 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16375 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16376 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16377 	  export_dynamic_flag_spec='$wl-E'
   16378 	else
   16379 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16380 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16381 	fi
   16382       else
   16383 	ld_shlibs=no
   16384       fi
   16385       ;;
   16386 
   16387     os2*)
   16388       hardcode_libdir_flag_spec='-L$libdir'
   16389       hardcode_minus_L=yes
   16390       allow_undefined_flag=unsupported
   16391       shrext_cmds=.dll
   16392       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16393 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16394 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16395 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16396 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16397 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16398 	emximp -o $lib $output_objdir/$libname.def'
   16399       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16400 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16401 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16402 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16403 	prefix_cmds="$SED"~
   16404 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16405 	  prefix_cmds="$prefix_cmds -e 1d";
   16406 	fi~
   16407 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16408 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16409 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16410 	emximp -o $lib $output_objdir/$libname.def'
   16411       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16412       enable_shared_with_static_runtimes=yes
   16413       ;;
   16414 
   16415     osf3*)
   16416       if test yes = "$GCC"; then
   16417 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16418 	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'
   16419       else
   16420 	allow_undefined_flag=' -expect_unresolved \*'
   16421 	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'
   16422       fi
   16423       archive_cmds_need_lc='no'
   16424       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16425       hardcode_libdir_separator=:
   16426       ;;
   16427 
   16428     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16429       if test yes = "$GCC"; then
   16430 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16431 	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'
   16432 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16433       else
   16434 	allow_undefined_flag=' -expect_unresolved \*'
   16435 	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'
   16436 	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~
   16437           $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'
   16438 
   16439 	# Both c and cxx compiler support -rpath directly
   16440 	hardcode_libdir_flag_spec='-rpath $libdir'
   16441       fi
   16442       archive_cmds_need_lc='no'
   16443       hardcode_libdir_separator=:
   16444       ;;
   16445 
   16446     solaris*)
   16447       no_undefined_flag=' -z defs'
   16448       if test yes = "$GCC"; then
   16449 	wlarc='$wl'
   16450 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16451 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16452           $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'
   16453       else
   16454 	case `$CC -V 2>&1` in
   16455 	*"Compilers 5.0"*)
   16456 	  wlarc=''
   16457 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16458 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16459             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16460 	  ;;
   16461 	*)
   16462 	  wlarc='$wl'
   16463 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16464 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16465             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16466 	  ;;
   16467 	esac
   16468       fi
   16469       hardcode_libdir_flag_spec='-R$libdir'
   16470       hardcode_shlibpath_var=no
   16471       case $host_os in
   16472       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16473       *)
   16474 	# The compiler driver will combine and reorder linker options,
   16475 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16476 	# but is careful enough not to reorder.
   16477 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16478 	if test yes = "$GCC"; then
   16479 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16480 	else
   16481 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16482 	fi
   16483 	;;
   16484       esac
   16485       link_all_deplibs=yes
   16486       ;;
   16487 
   16488     sunos4*)
   16489       if test sequent = "$host_vendor"; then
   16490 	# Use $CC to link under sequent, because it throws in some extra .o
   16491 	# files that make .init and .fini sections work.
   16492 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16493       else
   16494 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16495       fi
   16496       hardcode_libdir_flag_spec='-L$libdir'
   16497       hardcode_direct=yes
   16498       hardcode_minus_L=yes
   16499       hardcode_shlibpath_var=no
   16500       ;;
   16501 
   16502     sysv4)
   16503       case $host_vendor in
   16504 	sni)
   16505 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16506 	  hardcode_direct=yes # is this really true???
   16507 	;;
   16508 	siemens)
   16509 	  ## LD is ld it makes a PLAMLIB
   16510 	  ## CC just makes a GrossModule.
   16511 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16512 	  reload_cmds='$CC -r -o $output$reload_objs'
   16513 	  hardcode_direct=no
   16514         ;;
   16515 	motorola)
   16516 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16517 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16518 	;;
   16519       esac
   16520       runpath_var='LD_RUN_PATH'
   16521       hardcode_shlibpath_var=no
   16522       ;;
   16523 
   16524     sysv4.3*)
   16525       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16526       hardcode_shlibpath_var=no
   16527       export_dynamic_flag_spec='-Bexport'
   16528       ;;
   16529 
   16530     sysv4*MP*)
   16531       if test -d /usr/nec; then
   16532 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16533 	hardcode_shlibpath_var=no
   16534 	runpath_var=LD_RUN_PATH
   16535 	hardcode_runpath_var=yes
   16536 	ld_shlibs=yes
   16537       fi
   16538       ;;
   16539 
   16540     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16541       no_undefined_flag='$wl-z,text'
   16542       archive_cmds_need_lc=no
   16543       hardcode_shlibpath_var=no
   16544       runpath_var='LD_RUN_PATH'
   16545 
   16546       if test yes = "$GCC"; then
   16547 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16548 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16549       else
   16550 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16551 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16552       fi
   16553       ;;
   16554 
   16555     sysv5* | sco3.2v5* | sco5v6*)
   16556       # Note: We CANNOT use -z defs as we might desire, because we do not
   16557       # link with -lc, and that would cause any symbols used from libc to
   16558       # always be unresolved, which means just about no library would
   16559       # ever link correctly.  If we're not using GNU ld we use -z text
   16560       # though, which does catch some bad symbols but isn't as heavy-handed
   16561       # as -z defs.
   16562       no_undefined_flag='$wl-z,text'
   16563       allow_undefined_flag='$wl-z,nodefs'
   16564       archive_cmds_need_lc=no
   16565       hardcode_shlibpath_var=no
   16566       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16567       hardcode_libdir_separator=':'
   16568       link_all_deplibs=yes
   16569       export_dynamic_flag_spec='$wl-Bexport'
   16570       runpath_var='LD_RUN_PATH'
   16571 
   16572       if test yes = "$GCC"; then
   16573 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16574 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16575       else
   16576 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16577 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16578       fi
   16579       ;;
   16580 
   16581     uts4*)
   16582       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16583       hardcode_libdir_flag_spec='-L$libdir'
   16584       hardcode_shlibpath_var=no
   16585       ;;
   16586 
   16587     *)
   16588       ld_shlibs=no
   16589       ;;
   16590     esac
   16591 
   16592     if test sni = "$host_vendor"; then
   16593       case $host in
   16594       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16595 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16596 	;;
   16597       esac
   16598     fi
   16599   fi
   16600 
   16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16602 $as_echo "$ld_shlibs" >&6; }
   16603 test no = "$ld_shlibs" && can_build_shared=no
   16604 
   16605 with_gnu_ld=$with_gnu_ld
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 #
   16622 # Do we need to explicitly link libc?
   16623 #
   16624 case "x$archive_cmds_need_lc" in
   16625 x|xyes)
   16626   # Assume -lc should be added
   16627   archive_cmds_need_lc=yes
   16628 
   16629   if test yes,yes = "$GCC,$enable_shared"; then
   16630     case $archive_cmds in
   16631     *'~'*)
   16632       # FIXME: we may have to deal with multi-command sequences.
   16633       ;;
   16634     '$CC '*)
   16635       # Test whether the compiler implicitly links with -lc since on some
   16636       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16637       # to ld, don't add -lc before -lgcc.
   16638       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16639 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16640 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16641   $as_echo_n "(cached) " >&6
   16642 else
   16643   $RM conftest*
   16644 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16645 
   16646 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16647   (eval $ac_compile) 2>&5
   16648   ac_status=$?
   16649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16650   test $ac_status = 0; } 2>conftest.err; then
   16651 	  soname=conftest
   16652 	  lib=conftest
   16653 	  libobjs=conftest.$ac_objext
   16654 	  deplibs=
   16655 	  wl=$lt_prog_compiler_wl
   16656 	  pic_flag=$lt_prog_compiler_pic
   16657 	  compiler_flags=-v
   16658 	  linker_flags=-v
   16659 	  verstring=
   16660 	  output_objdir=.
   16661 	  libname=conftest
   16662 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16663 	  allow_undefined_flag=
   16664 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16665   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16666   ac_status=$?
   16667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16668   test $ac_status = 0; }
   16669 	  then
   16670 	    lt_cv_archive_cmds_need_lc=no
   16671 	  else
   16672 	    lt_cv_archive_cmds_need_lc=yes
   16673 	  fi
   16674 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16675 	else
   16676 	  cat conftest.err 1>&5
   16677 	fi
   16678 	$RM conftest*
   16679 
   16680 fi
   16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16682 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16683       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16684       ;;
   16685     esac
   16686   fi
   16687   ;;
   16688 esac
   16689 
   16690 
   16691 
   16692 
   16693 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16842 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16843 
   16844 if test yes = "$GCC"; then
   16845   case $host_os in
   16846     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16847     *) lt_awk_arg='/^libraries:/' ;;
   16848   esac
   16849   case $host_os in
   16850     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16851     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16852   esac
   16853   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16854   case $lt_search_path_spec in
   16855   *\;*)
   16856     # if the path contains ";" then we assume it to be the separator
   16857     # otherwise default to the standard path separator (i.e. ":") - it is
   16858     # assumed that no part of a normal pathname contains ";" but that should
   16859     # okay in the real world where ";" in dirpaths is itself problematic.
   16860     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16861     ;;
   16862   *)
   16863     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16864     ;;
   16865   esac
   16866   # Ok, now we have the path, separated by spaces, we can step through it
   16867   # and add multilib dir if necessary...
   16868   lt_tmp_lt_search_path_spec=
   16869   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16870   # ...but if some path component already ends with the multilib dir we assume
   16871   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16872   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16873   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16874     lt_multi_os_dir=
   16875     ;;
   16876   esac
   16877   for lt_sys_path in $lt_search_path_spec; do
   16878     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16879       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16880     elif test -n "$lt_multi_os_dir"; then
   16881       test -d "$lt_sys_path" && \
   16882 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16883     fi
   16884   done
   16885   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16886 BEGIN {RS = " "; FS = "/|\n";} {
   16887   lt_foo = "";
   16888   lt_count = 0;
   16889   for (lt_i = NF; lt_i > 0; lt_i--) {
   16890     if ($lt_i != "" && $lt_i != ".") {
   16891       if ($lt_i == "..") {
   16892         lt_count++;
   16893       } else {
   16894         if (lt_count == 0) {
   16895           lt_foo = "/" $lt_i lt_foo;
   16896         } else {
   16897           lt_count--;
   16898         }
   16899       }
   16900     }
   16901   }
   16902   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16903   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16904 }'`
   16905   # AWK program above erroneously prepends '/' to C:/dos/paths
   16906   # for these hosts.
   16907   case $host_os in
   16908     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16909       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16910   esac
   16911   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16912 else
   16913   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16914 fi
   16915 library_names_spec=
   16916 libname_spec='lib$name'
   16917 soname_spec=
   16918 shrext_cmds=.so
   16919 postinstall_cmds=
   16920 postuninstall_cmds=
   16921 finish_cmds=
   16922 finish_eval=
   16923 shlibpath_var=
   16924 shlibpath_overrides_runpath=unknown
   16925 version_type=none
   16926 dynamic_linker="$host_os ld.so"
   16927 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16928 need_lib_prefix=unknown
   16929 hardcode_into_libs=no
   16930 
   16931 # when you set need_version to no, make sure it does not cause -set_version
   16932 # flags to be left without arguments
   16933 need_version=unknown
   16934 
   16935 
   16936 
   16937 case $host_os in
   16938 aix3*)
   16939   version_type=linux # correct to gnu/linux during the next big refactor
   16940   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16941   shlibpath_var=LIBPATH
   16942 
   16943   # AIX 3 has no versioning support, so we append a major version to the name.
   16944   soname_spec='$libname$release$shared_ext$major'
   16945   ;;
   16946 
   16947 aix[4-9]*)
   16948   version_type=linux # correct to gnu/linux during the next big refactor
   16949   need_lib_prefix=no
   16950   need_version=no
   16951   hardcode_into_libs=yes
   16952   if test ia64 = "$host_cpu"; then
   16953     # AIX 5 supports IA64
   16954     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16955     shlibpath_var=LD_LIBRARY_PATH
   16956   else
   16957     # With GCC up to 2.95.x, collect2 would create an import file
   16958     # for dependence libraries.  The import file would start with
   16959     # the line '#! .'.  This would cause the generated library to
   16960     # depend on '.', always an invalid library.  This was fixed in
   16961     # development snapshots of GCC prior to 3.0.
   16962     case $host_os in
   16963       aix4 | aix4.[01] | aix4.[01].*)
   16964       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16965 	   echo ' yes '
   16966 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16967 	:
   16968       else
   16969 	can_build_shared=no
   16970       fi
   16971       ;;
   16972     esac
   16973     # Using Import Files as archive members, it is possible to support
   16974     # filename-based versioning of shared library archives on AIX. While
   16975     # this would work for both with and without runtime linking, it will
   16976     # prevent static linking of such archives. So we do filename-based
   16977     # shared library versioning with .so extension only, which is used
   16978     # when both runtime linking and shared linking is enabled.
   16979     # Unfortunately, runtime linking may impact performance, so we do
   16980     # not want this to be the default eventually. Also, we use the
   16981     # versioned .so libs for executables only if there is the -brtl
   16982     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16983     # To allow for filename-based versioning support, we need to create
   16984     # libNAME.so.V as an archive file, containing:
   16985     # *) an Import File, referring to the versioned filename of the
   16986     #    archive as well as the shared archive member, telling the
   16987     #    bitwidth (32 or 64) of that shared object, and providing the
   16988     #    list of exported symbols of that shared object, eventually
   16989     #    decorated with the 'weak' keyword
   16990     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16991     #    it being seen by the linker.
   16992     # At run time we better use the real file rather than another symlink,
   16993     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16994 
   16995     case $with_aix_soname,$aix_use_runtimelinking in
   16996     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16997     # soname into executable. Probably we can add versioning support to
   16998     # collect2, so additional links can be useful in future.
   16999     aix,yes) # traditional libtool
   17000       dynamic_linker='AIX unversionable lib.so'
   17001       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17002       # instead of lib<name>.a to let people know that these are not
   17003       # typical AIX shared libraries.
   17004       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17005       ;;
   17006     aix,no) # traditional AIX only
   17007       dynamic_linker='AIX lib.a(lib.so.V)'
   17008       # We preserve .a as extension for shared libraries through AIX4.2
   17009       # and later when we are not doing run time linking.
   17010       library_names_spec='$libname$release.a $libname.a'
   17011       soname_spec='$libname$release$shared_ext$major'
   17012       ;;
   17013     svr4,*) # full svr4 only
   17014       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17015       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17016       # We do not specify a path in Import Files, so LIBPATH fires.
   17017       shlibpath_overrides_runpath=yes
   17018       ;;
   17019     *,yes) # both, prefer svr4
   17020       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17021       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17022       # unpreferred sharedlib libNAME.a needs extra handling
   17023       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"'
   17024       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"'
   17025       # We do not specify a path in Import Files, so LIBPATH fires.
   17026       shlibpath_overrides_runpath=yes
   17027       ;;
   17028     *,no) # both, prefer aix
   17029       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17030       library_names_spec='$libname$release.a $libname.a'
   17031       soname_spec='$libname$release$shared_ext$major'
   17032       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17033       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)'
   17034       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"'
   17035       ;;
   17036     esac
   17037     shlibpath_var=LIBPATH
   17038   fi
   17039   ;;
   17040 
   17041 amigaos*)
   17042   case $host_cpu in
   17043   powerpc)
   17044     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17045     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17046     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17047     ;;
   17048   m68k)
   17049     library_names_spec='$libname.ixlibrary $libname.a'
   17050     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17051     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'
   17052     ;;
   17053   esac
   17054   ;;
   17055 
   17056 beos*)
   17057   library_names_spec='$libname$shared_ext'
   17058   dynamic_linker="$host_os ld.so"
   17059   shlibpath_var=LIBRARY_PATH
   17060   ;;
   17061 
   17062 bsdi[45]*)
   17063   version_type=linux # correct to gnu/linux during the next big refactor
   17064   need_version=no
   17065   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17066   soname_spec='$libname$release$shared_ext$major'
   17067   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17068   shlibpath_var=LD_LIBRARY_PATH
   17069   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17070   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17071   # the default ld.so.conf also contains /usr/contrib/lib and
   17072   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17073   # libtool to hard-code these into programs
   17074   ;;
   17075 
   17076 cygwin* | mingw* | pw32* | cegcc*)
   17077   version_type=windows
   17078   shrext_cmds=.dll
   17079   need_version=no
   17080   need_lib_prefix=no
   17081 
   17082   case $GCC,$cc_basename in
   17083   yes,*)
   17084     # gcc
   17085     library_names_spec='$libname.dll.a'
   17086     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17087     postinstall_cmds='base_file=`basename \$file`~
   17088       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17089       dldir=$destdir/`dirname \$dlpath`~
   17090       test -d \$dldir || mkdir -p \$dldir~
   17091       $install_prog $dir/$dlname \$dldir/$dlname~
   17092       chmod a+x \$dldir/$dlname~
   17093       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17094         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17095       fi'
   17096     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17097       dlpath=$dir/\$dldll~
   17098        $RM \$dlpath'
   17099     shlibpath_overrides_runpath=yes
   17100 
   17101     case $host_os in
   17102     cygwin*)
   17103       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17104       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17105 
   17106       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17107       ;;
   17108     mingw* | cegcc*)
   17109       # MinGW DLLs use traditional 'lib' prefix
   17110       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17111       ;;
   17112     pw32*)
   17113       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17114       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17115       ;;
   17116     esac
   17117     dynamic_linker='Win32 ld.exe'
   17118     ;;
   17119 
   17120   *,cl*)
   17121     # Native MSVC
   17122     libname_spec='$name'
   17123     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17124     library_names_spec='$libname.dll.lib'
   17125 
   17126     case $build_os in
   17127     mingw*)
   17128       sys_lib_search_path_spec=
   17129       lt_save_ifs=$IFS
   17130       IFS=';'
   17131       for lt_path in $LIB
   17132       do
   17133         IFS=$lt_save_ifs
   17134         # Let DOS variable expansion print the short 8.3 style file name.
   17135         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17136         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17137       done
   17138       IFS=$lt_save_ifs
   17139       # Convert to MSYS style.
   17140       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17141       ;;
   17142     cygwin*)
   17143       # Convert to unix form, then to dos form, then back to unix form
   17144       # but this time dos style (no spaces!) so that the unix form looks
   17145       # like /cygdrive/c/PROGRA~1:/cygdr...
   17146       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17147       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17148       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17149       ;;
   17150     *)
   17151       sys_lib_search_path_spec=$LIB
   17152       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17153         # It is most probably a Windows format PATH.
   17154         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17155       else
   17156         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17157       fi
   17158       # FIXME: find the short name or the path components, as spaces are
   17159       # common. (e.g. "Program Files" -> "PROGRA~1")
   17160       ;;
   17161     esac
   17162 
   17163     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17164     postinstall_cmds='base_file=`basename \$file`~
   17165       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17166       dldir=$destdir/`dirname \$dlpath`~
   17167       test -d \$dldir || mkdir -p \$dldir~
   17168       $install_prog $dir/$dlname \$dldir/$dlname'
   17169     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17170       dlpath=$dir/\$dldll~
   17171        $RM \$dlpath'
   17172     shlibpath_overrides_runpath=yes
   17173     dynamic_linker='Win32 link.exe'
   17174     ;;
   17175 
   17176   *)
   17177     # Assume MSVC wrapper
   17178     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17179     dynamic_linker='Win32 ld.exe'
   17180     ;;
   17181   esac
   17182   # FIXME: first we should search . and the directory the executable is in
   17183   shlibpath_var=PATH
   17184   ;;
   17185 
   17186 darwin* | rhapsody*)
   17187   dynamic_linker="$host_os dyld"
   17188   version_type=darwin
   17189   need_lib_prefix=no
   17190   need_version=no
   17191   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17192   soname_spec='$libname$release$major$shared_ext'
   17193   shlibpath_overrides_runpath=yes
   17194   shlibpath_var=DYLD_LIBRARY_PATH
   17195   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17196 
   17197   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17198   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17199   ;;
   17200 
   17201 dgux*)
   17202   version_type=linux # correct to gnu/linux during the next big refactor
   17203   need_lib_prefix=no
   17204   need_version=no
   17205   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17206   soname_spec='$libname$release$shared_ext$major'
   17207   shlibpath_var=LD_LIBRARY_PATH
   17208   ;;
   17209 
   17210 freebsd* | dragonfly*)
   17211   # DragonFly does not have aout.  When/if they implement a new
   17212   # versioning mechanism, adjust this.
   17213   if test -x /usr/bin/objformat; then
   17214     objformat=`/usr/bin/objformat`
   17215   else
   17216     case $host_os in
   17217     freebsd[23].*) objformat=aout ;;
   17218     *) objformat=elf ;;
   17219     esac
   17220   fi
   17221   # Handle Gentoo/FreeBSD as it was Linux
   17222   case $host_vendor in
   17223     gentoo)
   17224       version_type=linux ;;
   17225     *)
   17226       version_type=freebsd-$objformat ;;
   17227   esac
   17228 
   17229   case $version_type in
   17230     freebsd-elf*)
   17231       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17232       soname_spec='$libname$release$shared_ext$major'
   17233       need_version=no
   17234       need_lib_prefix=no
   17235       ;;
   17236     freebsd-*)
   17237       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17238       need_version=yes
   17239       ;;
   17240     linux)
   17241       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17242       soname_spec='${libname}${release}${shared_ext}$major'
   17243       need_lib_prefix=no
   17244       need_version=no
   17245       ;;
   17246   esac
   17247   shlibpath_var=LD_LIBRARY_PATH
   17248   case $host_os in
   17249   freebsd2.*)
   17250     shlibpath_overrides_runpath=yes
   17251     ;;
   17252   freebsd3.[01]* | freebsdelf3.[01]*)
   17253     shlibpath_overrides_runpath=yes
   17254     hardcode_into_libs=yes
   17255     ;;
   17256   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17257   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17258     shlibpath_overrides_runpath=no
   17259     hardcode_into_libs=yes
   17260     ;;
   17261   *) # from 4.6 on, and DragonFly
   17262     shlibpath_overrides_runpath=yes
   17263     hardcode_into_libs=yes
   17264     ;;
   17265   esac
   17266   ;;
   17267 
   17268 haiku*)
   17269   version_type=linux # correct to gnu/linux during the next big refactor
   17270   need_lib_prefix=no
   17271   need_version=no
   17272   dynamic_linker="$host_os runtime_loader"
   17273   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17274   soname_spec='$libname$release$shared_ext$major'
   17275   shlibpath_var=LIBRARY_PATH
   17276   shlibpath_overrides_runpath=no
   17277   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17278   hardcode_into_libs=yes
   17279   ;;
   17280 
   17281 hpux9* | hpux10* | hpux11*)
   17282   # Give a soname corresponding to the major version so that dld.sl refuses to
   17283   # link against other versions.
   17284   version_type=sunos
   17285   need_lib_prefix=no
   17286   need_version=no
   17287   case $host_cpu in
   17288   ia64*)
   17289     shrext_cmds='.so'
   17290     hardcode_into_libs=yes
   17291     dynamic_linker="$host_os dld.so"
   17292     shlibpath_var=LD_LIBRARY_PATH
   17293     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17294     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17295     soname_spec='$libname$release$shared_ext$major'
   17296     if test 32 = "$HPUX_IA64_MODE"; then
   17297       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17298       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17299     else
   17300       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17301       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17302     fi
   17303     ;;
   17304   hppa*64*)
   17305     shrext_cmds='.sl'
   17306     hardcode_into_libs=yes
   17307     dynamic_linker="$host_os dld.sl"
   17308     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17309     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17310     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17311     soname_spec='$libname$release$shared_ext$major'
   17312     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17313     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17314     ;;
   17315   *)
   17316     shrext_cmds='.sl'
   17317     dynamic_linker="$host_os dld.sl"
   17318     shlibpath_var=SHLIB_PATH
   17319     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17320     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17321     soname_spec='$libname$release$shared_ext$major'
   17322     ;;
   17323   esac
   17324   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17325   postinstall_cmds='chmod 555 $lib'
   17326   # or fails outright, so override atomically:
   17327   install_override_mode=555
   17328   ;;
   17329 
   17330 interix[3-9]*)
   17331   version_type=linux # correct to gnu/linux during the next big refactor
   17332   need_lib_prefix=no
   17333   need_version=no
   17334   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17335   soname_spec='$libname$release$shared_ext$major'
   17336   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17337   shlibpath_var=LD_LIBRARY_PATH
   17338   shlibpath_overrides_runpath=no
   17339   hardcode_into_libs=yes
   17340   ;;
   17341 
   17342 irix5* | irix6* | nonstopux*)
   17343   case $host_os in
   17344     nonstopux*) version_type=nonstopux ;;
   17345     *)
   17346 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17347 		version_type=linux # correct to gnu/linux during the next big refactor
   17348 	else
   17349 		version_type=irix
   17350 	fi ;;
   17351   esac
   17352   need_lib_prefix=no
   17353   need_version=no
   17354   soname_spec='$libname$release$shared_ext$major'
   17355   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17356   case $host_os in
   17357   irix5* | nonstopux*)
   17358     libsuff= shlibsuff=
   17359     ;;
   17360   *)
   17361     case $LD in # libtool.m4 will add one of these switches to LD
   17362     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17363       libsuff= shlibsuff= libmagic=32-bit;;
   17364     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17365       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17366     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17367       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17368     *) libsuff= shlibsuff= libmagic=never-match;;
   17369     esac
   17370     ;;
   17371   esac
   17372   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17373   shlibpath_overrides_runpath=no
   17374   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17375   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17376   hardcode_into_libs=yes
   17377   ;;
   17378 
   17379 # No shared lib support for Linux oldld, aout, or coff.
   17380 linux*oldld* | linux*aout* | linux*coff*)
   17381   dynamic_linker=no
   17382   ;;
   17383 
   17384 linux*android*)
   17385   version_type=none # Android doesn't support versioned libraries.
   17386   need_lib_prefix=no
   17387   need_version=no
   17388   library_names_spec='$libname$release$shared_ext'
   17389   soname_spec='$libname$release$shared_ext'
   17390   finish_cmds=
   17391   shlibpath_var=LD_LIBRARY_PATH
   17392   shlibpath_overrides_runpath=yes
   17393 
   17394   # This implies no fast_install, which is unacceptable.
   17395   # Some rework will be needed to allow for fast_install
   17396   # before this can be enabled.
   17397   hardcode_into_libs=yes
   17398 
   17399   dynamic_linker='Android linker'
   17400   # Don't embed -rpath directories since the linker doesn't support them.
   17401   hardcode_libdir_flag_spec='-L$libdir'
   17402   ;;
   17403 
   17404 # This must be glibc/ELF.
   17405 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17406   version_type=linux # correct to gnu/linux during the next big refactor
   17407   need_lib_prefix=no
   17408   need_version=no
   17409   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17410   soname_spec='$libname$release$shared_ext$major'
   17411   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17412   shlibpath_var=LD_LIBRARY_PATH
   17413   shlibpath_overrides_runpath=no
   17414 
   17415   # Some binutils ld are patched to set DT_RUNPATH
   17416   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17417   $as_echo_n "(cached) " >&6
   17418 else
   17419   lt_cv_shlibpath_overrides_runpath=no
   17420     save_LDFLAGS=$LDFLAGS
   17421     save_libdir=$libdir
   17422     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17423 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17424     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17425 /* end confdefs.h.  */
   17426 
   17427 int
   17428 main ()
   17429 {
   17430 
   17431   ;
   17432   return 0;
   17433 }
   17434 _ACEOF
   17435 if ac_fn_c_try_link "$LINENO"; then :
   17436   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17437   lt_cv_shlibpath_overrides_runpath=yes
   17438 fi
   17439 fi
   17440 rm -f core conftest.err conftest.$ac_objext \
   17441     conftest$ac_exeext conftest.$ac_ext
   17442     LDFLAGS=$save_LDFLAGS
   17443     libdir=$save_libdir
   17444 
   17445 fi
   17446 
   17447   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17448 
   17449   # This implies no fast_install, which is unacceptable.
   17450   # Some rework will be needed to allow for fast_install
   17451   # before this can be enabled.
   17452   hardcode_into_libs=yes
   17453 
   17454   # Ideally, we could use ldconfig to report *all* directores which are
   17455   # searched for libraries, however this is still not possible.  Aside from not
   17456   # being certain /sbin/ldconfig is available, command
   17457   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17458   # even though it is searched at run-time.  Try to do the best guess by
   17459   # appending ld.so.conf contents (and includes) to the search path.
   17460   if test -f /etc/ld.so.conf; then
   17461     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' ' '`
   17462     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17463   fi
   17464 
   17465   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17466   # powerpc, because MkLinux only supported shared libraries with the
   17467   # GNU dynamic linker.  Since this was broken with cross compilers,
   17468   # most powerpc-linux boxes support dynamic linking these days and
   17469   # people can always --disable-shared, the test was removed, and we
   17470   # assume the GNU/Linux dynamic linker is in use.
   17471   dynamic_linker='GNU/Linux ld.so'
   17472   ;;
   17473 
   17474 netbsd*)
   17475   version_type=sunos
   17476   need_lib_prefix=no
   17477   need_version=no
   17478   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17479     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17480     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17481     dynamic_linker='NetBSD (a.out) ld.so'
   17482   else
   17483     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17484     soname_spec='$libname$release$shared_ext$major'
   17485     dynamic_linker='NetBSD ld.elf_so'
   17486   fi
   17487   shlibpath_var=LD_LIBRARY_PATH
   17488   shlibpath_overrides_runpath=yes
   17489   hardcode_into_libs=yes
   17490   ;;
   17491 
   17492 newsos6)
   17493   version_type=linux # correct to gnu/linux during the next big refactor
   17494   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17495   shlibpath_var=LD_LIBRARY_PATH
   17496   shlibpath_overrides_runpath=yes
   17497   ;;
   17498 
   17499 *nto* | *qnx*)
   17500   version_type=qnx
   17501   need_lib_prefix=no
   17502   need_version=no
   17503   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17504   soname_spec='$libname$release$shared_ext$major'
   17505   shlibpath_var=LD_LIBRARY_PATH
   17506   shlibpath_overrides_runpath=no
   17507   hardcode_into_libs=yes
   17508   dynamic_linker='ldqnx.so'
   17509   ;;
   17510 
   17511 openbsd* | bitrig*)
   17512   version_type=sunos
   17513   sys_lib_dlsearch_path_spec=/usr/lib
   17514   need_lib_prefix=no
   17515   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17516     need_version=no
   17517   else
   17518     need_version=yes
   17519   fi
   17520   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17521   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17522   shlibpath_var=LD_LIBRARY_PATH
   17523   shlibpath_overrides_runpath=yes
   17524   ;;
   17525 
   17526 os2*)
   17527   libname_spec='$name'
   17528   version_type=windows
   17529   shrext_cmds=.dll
   17530   need_version=no
   17531   need_lib_prefix=no
   17532   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17533   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17534     v=$($ECHO $release$versuffix | tr -d .-);
   17535     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17536     $ECHO $n$v`$shared_ext'
   17537   library_names_spec='${libname}_dll.$libext'
   17538   dynamic_linker='OS/2 ld.exe'
   17539   shlibpath_var=BEGINLIBPATH
   17540   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17541   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17542   postinstall_cmds='base_file=`basename \$file`~
   17543     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17544     dldir=$destdir/`dirname \$dlpath`~
   17545     test -d \$dldir || mkdir -p \$dldir~
   17546     $install_prog $dir/$dlname \$dldir/$dlname~
   17547     chmod a+x \$dldir/$dlname~
   17548     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17549       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17550     fi'
   17551   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17552     dlpath=$dir/\$dldll~
   17553     $RM \$dlpath'
   17554   ;;
   17555 
   17556 osf3* | osf4* | osf5*)
   17557   version_type=osf
   17558   need_lib_prefix=no
   17559   need_version=no
   17560   soname_spec='$libname$release$shared_ext$major'
   17561   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17562   shlibpath_var=LD_LIBRARY_PATH
   17563   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17564   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17565   ;;
   17566 
   17567 rdos*)
   17568   dynamic_linker=no
   17569   ;;
   17570 
   17571 solaris*)
   17572   version_type=linux # correct to gnu/linux during the next big refactor
   17573   need_lib_prefix=no
   17574   need_version=no
   17575   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17576   soname_spec='$libname$release$shared_ext$major'
   17577   shlibpath_var=LD_LIBRARY_PATH
   17578   shlibpath_overrides_runpath=yes
   17579   hardcode_into_libs=yes
   17580   # ldd complains unless libraries are executable
   17581   postinstall_cmds='chmod +x $lib'
   17582   ;;
   17583 
   17584 sunos4*)
   17585   version_type=sunos
   17586   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17587   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17588   shlibpath_var=LD_LIBRARY_PATH
   17589   shlibpath_overrides_runpath=yes
   17590   if test yes = "$with_gnu_ld"; then
   17591     need_lib_prefix=no
   17592   fi
   17593   need_version=yes
   17594   ;;
   17595 
   17596 sysv4 | sysv4.3*)
   17597   version_type=linux # correct to gnu/linux during the next big refactor
   17598   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17599   soname_spec='$libname$release$shared_ext$major'
   17600   shlibpath_var=LD_LIBRARY_PATH
   17601   case $host_vendor in
   17602     sni)
   17603       shlibpath_overrides_runpath=no
   17604       need_lib_prefix=no
   17605       runpath_var=LD_RUN_PATH
   17606       ;;
   17607     siemens)
   17608       need_lib_prefix=no
   17609       ;;
   17610     motorola)
   17611       need_lib_prefix=no
   17612       need_version=no
   17613       shlibpath_overrides_runpath=no
   17614       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17615       ;;
   17616   esac
   17617   ;;
   17618 
   17619 sysv4*MP*)
   17620   if test -d /usr/nec; then
   17621     version_type=linux # correct to gnu/linux during the next big refactor
   17622     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17623     soname_spec='$libname$shared_ext.$major'
   17624     shlibpath_var=LD_LIBRARY_PATH
   17625   fi
   17626   ;;
   17627 
   17628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17629   version_type=sco
   17630   need_lib_prefix=no
   17631   need_version=no
   17632   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17633   soname_spec='$libname$release$shared_ext$major'
   17634   shlibpath_var=LD_LIBRARY_PATH
   17635   shlibpath_overrides_runpath=yes
   17636   hardcode_into_libs=yes
   17637   if test yes = "$with_gnu_ld"; then
   17638     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17639   else
   17640     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17641     case $host_os in
   17642       sco3.2v5*)
   17643         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17644 	;;
   17645     esac
   17646   fi
   17647   sys_lib_dlsearch_path_spec='/usr/lib'
   17648   ;;
   17649 
   17650 tpf*)
   17651   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17652   version_type=linux # correct to gnu/linux during the next big refactor
   17653   need_lib_prefix=no
   17654   need_version=no
   17655   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17656   shlibpath_var=LD_LIBRARY_PATH
   17657   shlibpath_overrides_runpath=no
   17658   hardcode_into_libs=yes
   17659   ;;
   17660 
   17661 uts4*)
   17662   version_type=linux # correct to gnu/linux during the next big refactor
   17663   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17664   soname_spec='$libname$release$shared_ext$major'
   17665   shlibpath_var=LD_LIBRARY_PATH
   17666   ;;
   17667 
   17668 *)
   17669   dynamic_linker=no
   17670   ;;
   17671 esac
   17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17673 $as_echo "$dynamic_linker" >&6; }
   17674 test no = "$dynamic_linker" && can_build_shared=no
   17675 
   17676 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17677 if test yes = "$GCC"; then
   17678   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17679 fi
   17680 
   17681 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17682   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17683 fi
   17684 
   17685 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17686   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17687 fi
   17688 
   17689 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17690 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17691 
   17692 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17693 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17694 
   17695 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17696 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17697 
   17698 
   17699 
   17700 
   17701 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17795 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17796 hardcode_action=
   17797 if test -n "$hardcode_libdir_flag_spec" ||
   17798    test -n "$runpath_var" ||
   17799    test yes = "$hardcode_automatic"; then
   17800 
   17801   # We can hardcode non-existent directories.
   17802   if test no != "$hardcode_direct" &&
   17803      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17804      # have to relink, otherwise we might link with an installed library
   17805      # when we should be linking with a yet-to-be-installed one
   17806      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17807      test no != "$hardcode_minus_L"; then
   17808     # Linking always hardcodes the temporary library directory.
   17809     hardcode_action=relink
   17810   else
   17811     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17812     hardcode_action=immediate
   17813   fi
   17814 else
   17815   # We cannot hardcode anything, or else we can only hardcode existing
   17816   # directories.
   17817   hardcode_action=unsupported
   17818 fi
   17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17820 $as_echo "$hardcode_action" >&6; }
   17821 
   17822 if test relink = "$hardcode_action" ||
   17823    test yes = "$inherit_rpath"; then
   17824   # Fast installation is not supported
   17825   enable_fast_install=no
   17826 elif test yes = "$shlibpath_overrides_runpath" ||
   17827      test no = "$enable_shared"; then
   17828   # Fast installation is not necessary
   17829   enable_fast_install=needless
   17830 fi
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837   if test yes != "$enable_dlopen"; then
   17838   enable_dlopen=unknown
   17839   enable_dlopen_self=unknown
   17840   enable_dlopen_self_static=unknown
   17841 else
   17842   lt_cv_dlopen=no
   17843   lt_cv_dlopen_libs=
   17844 
   17845   case $host_os in
   17846   beos*)
   17847     lt_cv_dlopen=load_add_on
   17848     lt_cv_dlopen_libs=
   17849     lt_cv_dlopen_self=yes
   17850     ;;
   17851 
   17852   mingw* | pw32* | cegcc*)
   17853     lt_cv_dlopen=LoadLibrary
   17854     lt_cv_dlopen_libs=
   17855     ;;
   17856 
   17857   cygwin*)
   17858     lt_cv_dlopen=dlopen
   17859     lt_cv_dlopen_libs=
   17860     ;;
   17861 
   17862   darwin*)
   17863     # if libdl is installed we need to link against it
   17864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17865 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17866 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17867   $as_echo_n "(cached) " >&6
   17868 else
   17869   ac_check_lib_save_LIBS=$LIBS
   17870 LIBS="-ldl  $LIBS"
   17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17872 /* end confdefs.h.  */
   17873 
   17874 /* Override any GCC internal prototype to avoid an error.
   17875    Use char because int might match the return type of a GCC
   17876    builtin and then its argument prototype would still apply.  */
   17877 #ifdef __cplusplus
   17878 extern "C"
   17879 #endif
   17880 char dlopen ();
   17881 int
   17882 main ()
   17883 {
   17884 return dlopen ();
   17885   ;
   17886   return 0;
   17887 }
   17888 _ACEOF
   17889 if ac_fn_c_try_link "$LINENO"; then :
   17890   ac_cv_lib_dl_dlopen=yes
   17891 else
   17892   ac_cv_lib_dl_dlopen=no
   17893 fi
   17894 rm -f core conftest.err conftest.$ac_objext \
   17895     conftest$ac_exeext conftest.$ac_ext
   17896 LIBS=$ac_check_lib_save_LIBS
   17897 fi
   17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17899 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17900 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17901   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17902 else
   17903 
   17904     lt_cv_dlopen=dyld
   17905     lt_cv_dlopen_libs=
   17906     lt_cv_dlopen_self=yes
   17907 
   17908 fi
   17909 
   17910     ;;
   17911 
   17912   tpf*)
   17913     # Don't try to run any link tests for TPF.  We know it's impossible
   17914     # because TPF is a cross-compiler, and we know how we open DSOs.
   17915     lt_cv_dlopen=dlopen
   17916     lt_cv_dlopen_libs=
   17917     lt_cv_dlopen_self=no
   17918     ;;
   17919 
   17920   *)
   17921     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17922 if test "x$ac_cv_func_shl_load" = xyes; then :
   17923   lt_cv_dlopen=shl_load
   17924 else
   17925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17926 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17927 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17928   $as_echo_n "(cached) " >&6
   17929 else
   17930   ac_check_lib_save_LIBS=$LIBS
   17931 LIBS="-ldld  $LIBS"
   17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17933 /* end confdefs.h.  */
   17934 
   17935 /* Override any GCC internal prototype to avoid an error.
   17936    Use char because int might match the return type of a GCC
   17937    builtin and then its argument prototype would still apply.  */
   17938 #ifdef __cplusplus
   17939 extern "C"
   17940 #endif
   17941 char shl_load ();
   17942 int
   17943 main ()
   17944 {
   17945 return shl_load ();
   17946   ;
   17947   return 0;
   17948 }
   17949 _ACEOF
   17950 if ac_fn_c_try_link "$LINENO"; then :
   17951   ac_cv_lib_dld_shl_load=yes
   17952 else
   17953   ac_cv_lib_dld_shl_load=no
   17954 fi
   17955 rm -f core conftest.err conftest.$ac_objext \
   17956     conftest$ac_exeext conftest.$ac_ext
   17957 LIBS=$ac_check_lib_save_LIBS
   17958 fi
   17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17960 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17961 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17962   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17963 else
   17964   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17965 if test "x$ac_cv_func_dlopen" = xyes; then :
   17966   lt_cv_dlopen=dlopen
   17967 else
   17968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17969 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17970 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17971   $as_echo_n "(cached) " >&6
   17972 else
   17973   ac_check_lib_save_LIBS=$LIBS
   17974 LIBS="-ldl  $LIBS"
   17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17976 /* end confdefs.h.  */
   17977 
   17978 /* Override any GCC internal prototype to avoid an error.
   17979    Use char because int might match the return type of a GCC
   17980    builtin and then its argument prototype would still apply.  */
   17981 #ifdef __cplusplus
   17982 extern "C"
   17983 #endif
   17984 char dlopen ();
   17985 int
   17986 main ()
   17987 {
   17988 return dlopen ();
   17989   ;
   17990   return 0;
   17991 }
   17992 _ACEOF
   17993 if ac_fn_c_try_link "$LINENO"; then :
   17994   ac_cv_lib_dl_dlopen=yes
   17995 else
   17996   ac_cv_lib_dl_dlopen=no
   17997 fi
   17998 rm -f core conftest.err conftest.$ac_objext \
   17999     conftest$ac_exeext conftest.$ac_ext
   18000 LIBS=$ac_check_lib_save_LIBS
   18001 fi
   18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18003 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18004 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18005   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18006 else
   18007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18008 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18009 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18010   $as_echo_n "(cached) " >&6
   18011 else
   18012   ac_check_lib_save_LIBS=$LIBS
   18013 LIBS="-lsvld  $LIBS"
   18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18015 /* end confdefs.h.  */
   18016 
   18017 /* Override any GCC internal prototype to avoid an error.
   18018    Use char because int might match the return type of a GCC
   18019    builtin and then its argument prototype would still apply.  */
   18020 #ifdef __cplusplus
   18021 extern "C"
   18022 #endif
   18023 char dlopen ();
   18024 int
   18025 main ()
   18026 {
   18027 return dlopen ();
   18028   ;
   18029   return 0;
   18030 }
   18031 _ACEOF
   18032 if ac_fn_c_try_link "$LINENO"; then :
   18033   ac_cv_lib_svld_dlopen=yes
   18034 else
   18035   ac_cv_lib_svld_dlopen=no
   18036 fi
   18037 rm -f core conftest.err conftest.$ac_objext \
   18038     conftest$ac_exeext conftest.$ac_ext
   18039 LIBS=$ac_check_lib_save_LIBS
   18040 fi
   18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18042 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18043 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18044   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18045 else
   18046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18047 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18048 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18049   $as_echo_n "(cached) " >&6
   18050 else
   18051   ac_check_lib_save_LIBS=$LIBS
   18052 LIBS="-ldld  $LIBS"
   18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18054 /* end confdefs.h.  */
   18055 
   18056 /* Override any GCC internal prototype to avoid an error.
   18057    Use char because int might match the return type of a GCC
   18058    builtin and then its argument prototype would still apply.  */
   18059 #ifdef __cplusplus
   18060 extern "C"
   18061 #endif
   18062 char dld_link ();
   18063 int
   18064 main ()
   18065 {
   18066 return dld_link ();
   18067   ;
   18068   return 0;
   18069 }
   18070 _ACEOF
   18071 if ac_fn_c_try_link "$LINENO"; then :
   18072   ac_cv_lib_dld_dld_link=yes
   18073 else
   18074   ac_cv_lib_dld_dld_link=no
   18075 fi
   18076 rm -f core conftest.err conftest.$ac_objext \
   18077     conftest$ac_exeext conftest.$ac_ext
   18078 LIBS=$ac_check_lib_save_LIBS
   18079 fi
   18080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18081 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18082 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18083   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18084 fi
   18085 
   18086 
   18087 fi
   18088 
   18089 
   18090 fi
   18091 
   18092 
   18093 fi
   18094 
   18095 
   18096 fi
   18097 
   18098 
   18099 fi
   18100 
   18101     ;;
   18102   esac
   18103 
   18104   if test no = "$lt_cv_dlopen"; then
   18105     enable_dlopen=no
   18106   else
   18107     enable_dlopen=yes
   18108   fi
   18109 
   18110   case $lt_cv_dlopen in
   18111   dlopen)
   18112     save_CPPFLAGS=$CPPFLAGS
   18113     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18114 
   18115     save_LDFLAGS=$LDFLAGS
   18116     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18117 
   18118     save_LIBS=$LIBS
   18119     LIBS="$lt_cv_dlopen_libs $LIBS"
   18120 
   18121     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18122 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18123 if ${lt_cv_dlopen_self+:} false; then :
   18124   $as_echo_n "(cached) " >&6
   18125 else
   18126   	  if test yes = "$cross_compiling"; then :
   18127   lt_cv_dlopen_self=cross
   18128 else
   18129   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18130   lt_status=$lt_dlunknown
   18131   cat > conftest.$ac_ext <<_LT_EOF
   18132 #line $LINENO "configure"
   18133 #include "confdefs.h"
   18134 
   18135 #if HAVE_DLFCN_H
   18136 #include <dlfcn.h>
   18137 #endif
   18138 
   18139 #include <stdio.h>
   18140 
   18141 #ifdef RTLD_GLOBAL
   18142 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18143 #else
   18144 #  ifdef DL_GLOBAL
   18145 #    define LT_DLGLOBAL		DL_GLOBAL
   18146 #  else
   18147 #    define LT_DLGLOBAL		0
   18148 #  endif
   18149 #endif
   18150 
   18151 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18152    find out it does not work in some platform. */
   18153 #ifndef LT_DLLAZY_OR_NOW
   18154 #  ifdef RTLD_LAZY
   18155 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18156 #  else
   18157 #    ifdef DL_LAZY
   18158 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18159 #    else
   18160 #      ifdef RTLD_NOW
   18161 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18162 #      else
   18163 #        ifdef DL_NOW
   18164 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18165 #        else
   18166 #          define LT_DLLAZY_OR_NOW	0
   18167 #        endif
   18168 #      endif
   18169 #    endif
   18170 #  endif
   18171 #endif
   18172 
   18173 /* When -fvisibility=hidden is used, assume the code has been annotated
   18174    correspondingly for the symbols needed.  */
   18175 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18176 int fnord () __attribute__((visibility("default")));
   18177 #endif
   18178 
   18179 int fnord () { return 42; }
   18180 int main ()
   18181 {
   18182   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18183   int status = $lt_dlunknown;
   18184 
   18185   if (self)
   18186     {
   18187       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18188       else
   18189         {
   18190 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18191           else puts (dlerror ());
   18192 	}
   18193       /* dlclose (self); */
   18194     }
   18195   else
   18196     puts (dlerror ());
   18197 
   18198   return status;
   18199 }
   18200 _LT_EOF
   18201   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18202   (eval $ac_link) 2>&5
   18203   ac_status=$?
   18204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18205   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18206     (./conftest; exit; ) >&5 2>/dev/null
   18207     lt_status=$?
   18208     case x$lt_status in
   18209       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18210       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18211       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18212     esac
   18213   else :
   18214     # compilation failed
   18215     lt_cv_dlopen_self=no
   18216   fi
   18217 fi
   18218 rm -fr conftest*
   18219 
   18220 
   18221 fi
   18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18223 $as_echo "$lt_cv_dlopen_self" >&6; }
   18224 
   18225     if test yes = "$lt_cv_dlopen_self"; then
   18226       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18227       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18228 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18229 if ${lt_cv_dlopen_self_static+:} false; then :
   18230   $as_echo_n "(cached) " >&6
   18231 else
   18232   	  if test yes = "$cross_compiling"; then :
   18233   lt_cv_dlopen_self_static=cross
   18234 else
   18235   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18236   lt_status=$lt_dlunknown
   18237   cat > conftest.$ac_ext <<_LT_EOF
   18238 #line $LINENO "configure"
   18239 #include "confdefs.h"
   18240 
   18241 #if HAVE_DLFCN_H
   18242 #include <dlfcn.h>
   18243 #endif
   18244 
   18245 #include <stdio.h>
   18246 
   18247 #ifdef RTLD_GLOBAL
   18248 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18249 #else
   18250 #  ifdef DL_GLOBAL
   18251 #    define LT_DLGLOBAL		DL_GLOBAL
   18252 #  else
   18253 #    define LT_DLGLOBAL		0
   18254 #  endif
   18255 #endif
   18256 
   18257 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18258    find out it does not work in some platform. */
   18259 #ifndef LT_DLLAZY_OR_NOW
   18260 #  ifdef RTLD_LAZY
   18261 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18262 #  else
   18263 #    ifdef DL_LAZY
   18264 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18265 #    else
   18266 #      ifdef RTLD_NOW
   18267 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18268 #      else
   18269 #        ifdef DL_NOW
   18270 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18271 #        else
   18272 #          define LT_DLLAZY_OR_NOW	0
   18273 #        endif
   18274 #      endif
   18275 #    endif
   18276 #  endif
   18277 #endif
   18278 
   18279 /* When -fvisibility=hidden is used, assume the code has been annotated
   18280    correspondingly for the symbols needed.  */
   18281 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18282 int fnord () __attribute__((visibility("default")));
   18283 #endif
   18284 
   18285 int fnord () { return 42; }
   18286 int main ()
   18287 {
   18288   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18289   int status = $lt_dlunknown;
   18290 
   18291   if (self)
   18292     {
   18293       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18294       else
   18295         {
   18296 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18297           else puts (dlerror ());
   18298 	}
   18299       /* dlclose (self); */
   18300     }
   18301   else
   18302     puts (dlerror ());
   18303 
   18304   return status;
   18305 }
   18306 _LT_EOF
   18307   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18308   (eval $ac_link) 2>&5
   18309   ac_status=$?
   18310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18311   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18312     (./conftest; exit; ) >&5 2>/dev/null
   18313     lt_status=$?
   18314     case x$lt_status in
   18315       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18316       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18317       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18318     esac
   18319   else :
   18320     # compilation failed
   18321     lt_cv_dlopen_self_static=no
   18322   fi
   18323 fi
   18324 rm -fr conftest*
   18325 
   18326 
   18327 fi
   18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18329 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18330     fi
   18331 
   18332     CPPFLAGS=$save_CPPFLAGS
   18333     LDFLAGS=$save_LDFLAGS
   18334     LIBS=$save_LIBS
   18335     ;;
   18336   esac
   18337 
   18338   case $lt_cv_dlopen_self in
   18339   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18340   *) enable_dlopen_self=unknown ;;
   18341   esac
   18342 
   18343   case $lt_cv_dlopen_self_static in
   18344   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18345   *) enable_dlopen_self_static=unknown ;;
   18346   esac
   18347 fi
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 striplib=
   18366 old_striplib=
   18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18368 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18369 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18370   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18371   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18373 $as_echo "yes" >&6; }
   18374 else
   18375 # FIXME - insert some real tests, host_os isn't really good enough
   18376   case $host_os in
   18377   darwin*)
   18378     if test -n "$STRIP"; then
   18379       striplib="$STRIP -x"
   18380       old_striplib="$STRIP -S"
   18381       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18382 $as_echo "yes" >&6; }
   18383     else
   18384       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18385 $as_echo "no" >&6; }
   18386     fi
   18387     ;;
   18388   *)
   18389     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18390 $as_echo "no" >&6; }
   18391     ;;
   18392   esac
   18393 fi
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406   # Report what library types will actually be built
   18407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18408 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18410 $as_echo "$can_build_shared" >&6; }
   18411 
   18412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18413 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18414   test no = "$can_build_shared" && enable_shared=no
   18415 
   18416   # On AIX, shared libraries and static libraries use the same namespace, and
   18417   # are all built from PIC.
   18418   case $host_os in
   18419   aix3*)
   18420     test yes = "$enable_shared" && enable_static=no
   18421     if test -n "$RANLIB"; then
   18422       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18423       postinstall_cmds='$RANLIB $lib'
   18424     fi
   18425     ;;
   18426 
   18427   aix[4-9]*)
   18428     if test ia64 != "$host_cpu"; then
   18429       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18430       yes,aix,yes) ;;			# shared object as lib.so file only
   18431       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18432       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18433       esac
   18434     fi
   18435     ;;
   18436   esac
   18437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18438 $as_echo "$enable_shared" >&6; }
   18439 
   18440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18441 $as_echo_n "checking whether to build static libraries... " >&6; }
   18442   # Make sure either enable_shared or enable_static is yes.
   18443   test yes = "$enable_shared" || enable_static=yes
   18444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18445 $as_echo "$enable_static" >&6; }
   18446 
   18447 
   18448 
   18449 
   18450 fi
   18451 ac_ext=c
   18452 ac_cpp='$CPP $CPPFLAGS'
   18453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18456 
   18457 CC=$lt_save_CC
   18458 
   18459 
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473         ac_config_commands="$ac_config_commands libtool"
   18474 
   18475 
   18476 
   18477 
   18478 # Only expand once:
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 # Define a configure option for an alternate module directory
   18485 
   18486 # Check whether --with-xorg-module-dir was given.
   18487 if test "${with_xorg_module_dir+set}" = set; then :
   18488   withval=$with_xorg_module_dir; moduledir="$withval"
   18489 else
   18490   moduledir="$libdir/xorg/modules"
   18491 fi
   18492 
   18493 
   18494 # Check whether --enable-dri was given.
   18495 if test "${enable_dri+set}" = set; then :
   18496   enableval=$enable_dri; DRI="$enableval"
   18497 else
   18498   DRI=auto
   18499 fi
   18500 
   18501 # Check whether --enable-exa was given.
   18502 if test "${enable_exa+set}" = set; then :
   18503   enableval=$enable_exa; EXA="$enableval"
   18504 else
   18505   EXA=yes
   18506 fi
   18507 
   18508 
   18509 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18510 
   18511 
   18512 	SAVE_CFLAGS="$CFLAGS"
   18513 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18514 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18515 /* end confdefs.h.  */
   18516 
   18517 #include "xorg-server.h"
   18518 #if !defined RANDR
   18519 #error RANDR not defined
   18520 #endif
   18521 
   18522 int
   18523 main ()
   18524 {
   18525 
   18526   ;
   18527   return 0;
   18528 }
   18529 _ACEOF
   18530 if ac_fn_c_try_compile "$LINENO"; then :
   18531   _EXT_CHECK=yes
   18532 else
   18533   _EXT_CHECK=no
   18534 fi
   18535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18536 	CFLAGS="$SAVE_CFLAGS"
   18537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18538 $as_echo_n "checking if RANDR is defined... " >&6; }
   18539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18540 $as_echo "$_EXT_CHECK" >&6; }
   18541 	if test "$_EXT_CHECK" != no; then
   18542 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18543 	fi
   18544 
   18545 
   18546 
   18547 	SAVE_CFLAGS="$CFLAGS"
   18548 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18549 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18550 /* end confdefs.h.  */
   18551 
   18552 #include "xorg-server.h"
   18553 #if !defined RENDER
   18554 #error RENDER not defined
   18555 #endif
   18556 
   18557 int
   18558 main ()
   18559 {
   18560 
   18561   ;
   18562   return 0;
   18563 }
   18564 _ACEOF
   18565 if ac_fn_c_try_compile "$LINENO"; then :
   18566   _EXT_CHECK=yes
   18567 else
   18568   _EXT_CHECK=no
   18569 fi
   18570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18571 	CFLAGS="$SAVE_CFLAGS"
   18572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18573 $as_echo_n "checking if RENDER is defined... " >&6; }
   18574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18575 $as_echo "$_EXT_CHECK" >&6; }
   18576 	if test "$_EXT_CHECK" != no; then
   18577 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18578 	fi
   18579 
   18580 
   18581 
   18582 	SAVE_CFLAGS="$CFLAGS"
   18583 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18584 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18585 /* end confdefs.h.  */
   18586 
   18587 #include "xorg-server.h"
   18588 #if !defined XV
   18589 #error XV not defined
   18590 #endif
   18591 
   18592 int
   18593 main ()
   18594 {
   18595 
   18596   ;
   18597   return 0;
   18598 }
   18599 _ACEOF
   18600 if ac_fn_c_try_compile "$LINENO"; then :
   18601   _EXT_CHECK=yes
   18602 else
   18603   _EXT_CHECK=no
   18604 fi
   18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18606 	CFLAGS="$SAVE_CFLAGS"
   18607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18608 $as_echo_n "checking if XV is defined... " >&6; }
   18609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18610 $as_echo "$_EXT_CHECK" >&6; }
   18611 	if test "$_EXT_CHECK" != no; then
   18612 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18613 	fi
   18614 
   18615 
   18616 
   18617 	SAVE_CFLAGS="$CFLAGS"
   18618 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18619 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18620 /* end confdefs.h.  */
   18621 
   18622 #include "xorg-server.h"
   18623 #if !defined DPMSExtension
   18624 #error DPMSExtension not defined
   18625 #endif
   18626 
   18627 int
   18628 main ()
   18629 {
   18630 
   18631   ;
   18632   return 0;
   18633 }
   18634 _ACEOF
   18635 if ac_fn_c_try_compile "$LINENO"; then :
   18636   _EXT_CHECK=yes
   18637 else
   18638   _EXT_CHECK=no
   18639 fi
   18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18641 	CFLAGS="$SAVE_CFLAGS"
   18642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18643 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18645 $as_echo "$_EXT_CHECK" >&6; }
   18646 	if test "$_EXT_CHECK" != no; then
   18647 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18648 	fi
   18649 
   18650 
   18651 # Obtain compiler/linker options for the driver dependencies
   18652 
   18653 pkg_failed=no
   18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18655 $as_echo_n "checking for XORG... " >&6; }
   18656 
   18657 if test -n "$XORG_CFLAGS"; then
   18658     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18659  elif test -n "$PKG_CONFIG"; then
   18660     if test -n "$PKG_CONFIG" && \
   18661     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18662   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18663   ac_status=$?
   18664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18665   test $ac_status = 0; }; then
   18666   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18667 		      test "x$?" != "x0" && pkg_failed=yes
   18668 else
   18669   pkg_failed=yes
   18670 fi
   18671  else
   18672     pkg_failed=untried
   18673 fi
   18674 if test -n "$XORG_LIBS"; then
   18675     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18676  elif test -n "$PKG_CONFIG"; then
   18677     if test -n "$PKG_CONFIG" && \
   18678     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18679   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18680   ac_status=$?
   18681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18682   test $ac_status = 0; }; then
   18683   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18684 		      test "x$?" != "x0" && pkg_failed=yes
   18685 else
   18686   pkg_failed=yes
   18687 fi
   18688  else
   18689     pkg_failed=untried
   18690 fi
   18691 
   18692 
   18693 
   18694 if test $pkg_failed = yes; then
   18695    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18696 $as_echo "no" >&6; }
   18697 
   18698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18699         _pkg_short_errors_supported=yes
   18700 else
   18701         _pkg_short_errors_supported=no
   18702 fi
   18703         if test $_pkg_short_errors_supported = yes; then
   18704 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18705         else
   18706 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18707         fi
   18708 	# Put the nasty error message in config.log where it belongs
   18709 	echo "$XORG_PKG_ERRORS" >&5
   18710 
   18711 	as_fn_error $? "Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   18712 
   18713 $XORG_PKG_ERRORS
   18714 
   18715 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18716 installed software in a non-standard prefix.
   18717 
   18718 Alternatively, you may set the environment variables XORG_CFLAGS
   18719 and XORG_LIBS to avoid the need to call pkg-config.
   18720 See the pkg-config man page for more details." "$LINENO" 5
   18721 elif test $pkg_failed = untried; then
   18722      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18723 $as_echo "no" >&6; }
   18724 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18726 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18727 is in your PATH or set the PKG_CONFIG environment variable to the full
   18728 path to pkg-config.
   18729 
   18730 Alternatively, you may set the environment variables XORG_CFLAGS
   18731 and XORG_LIBS to avoid the need to call pkg-config.
   18732 See the pkg-config man page for more details.
   18733 
   18734 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18735 See \`config.log' for more details" "$LINENO" 5; }
   18736 else
   18737 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18738 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18739         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18740 $as_echo "yes" >&6; }
   18741 
   18742 fi
   18743 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18744 
   18745 # Checks for libraries.
   18746 
   18747 if test "x$DRI" != xno; then
   18748         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18750 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18751 if eval \${$as_ac_File+:} false; then :
   18752   $as_echo_n "(cached) " >&6
   18753 else
   18754   test "$cross_compiling" = yes &&
   18755   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18756 if test -r "${sdkdir}/dri.h"; then
   18757   eval "$as_ac_File=yes"
   18758 else
   18759   eval "$as_ac_File=no"
   18760 fi
   18761 fi
   18762 eval ac_res=\$$as_ac_File
   18763 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18764 $as_echo "$ac_res" >&6; }
   18765 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18766   have_dri_h="yes"
   18767 else
   18768   have_dri_h="no"
   18769 fi
   18770 
   18771         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18773 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18774 if eval \${$as_ac_File+:} false; then :
   18775   $as_echo_n "(cached) " >&6
   18776 else
   18777   test "$cross_compiling" = yes &&
   18778   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18779 if test -r "${sdkdir}/sarea.h"; then
   18780   eval "$as_ac_File=yes"
   18781 else
   18782   eval "$as_ac_File=no"
   18783 fi
   18784 fi
   18785 eval ac_res=\$$as_ac_File
   18786 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18787 $as_echo "$ac_res" >&6; }
   18788 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18789   have_sarea_h="yes"
   18790 else
   18791   have_sarea_h="no"
   18792 fi
   18793 
   18794         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18796 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18797 if eval \${$as_ac_File+:} false; then :
   18798   $as_echo_n "(cached) " >&6
   18799 else
   18800   test "$cross_compiling" = yes &&
   18801   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18802 if test -r "${sdkdir}/dristruct.h"; then
   18803   eval "$as_ac_File=yes"
   18804 else
   18805   eval "$as_ac_File=no"
   18806 fi
   18807 fi
   18808 eval ac_res=\$$as_ac_File
   18809 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18810 $as_echo "$ac_res" >&6; }
   18811 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18812   have_dristruct_h="yes"
   18813 else
   18814   have_dristruct_h="no"
   18815 fi
   18816 
   18817 fi
   18818 
   18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18820 $as_echo_n "checking whether to include DRI support... " >&6; }
   18821 if test "x$DRI" = xauto; then
   18822         if test "x$have_dri_h" = xyes && \
   18823            test "x$have_sarea_h" = xyes && \
   18824            test "x$have_dristruct_h" = xyes; then
   18825                 DRI="yes"
   18826         else
   18827                 DRI="no"
   18828         fi
   18829 fi
   18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18831 $as_echo "$DRI" >&6; }
   18832 
   18833  if test "x$DRI" = xyes; then
   18834   DRI_TRUE=
   18835   DRI_FALSE='#'
   18836 else
   18837   DRI_TRUE='#'
   18838   DRI_FALSE=
   18839 fi
   18840 
   18841 if test "x$DRI" = xyes; then
   18842 
   18843 pkg_failed=no
   18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18845 $as_echo_n "checking for DRI... " >&6; }
   18846 
   18847 if test -n "$DRI_CFLAGS"; then
   18848     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18849  elif test -n "$PKG_CONFIG"; then
   18850     if test -n "$PKG_CONFIG" && \
   18851     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18852   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18853   ac_status=$?
   18854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18855   test $ac_status = 0; }; then
   18856   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18857 		      test "x$?" != "x0" && pkg_failed=yes
   18858 else
   18859   pkg_failed=yes
   18860 fi
   18861  else
   18862     pkg_failed=untried
   18863 fi
   18864 if test -n "$DRI_LIBS"; then
   18865     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18866  elif test -n "$PKG_CONFIG"; then
   18867     if test -n "$PKG_CONFIG" && \
   18868     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18869   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18870   ac_status=$?
   18871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18872   test $ac_status = 0; }; then
   18873   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18874 		      test "x$?" != "x0" && pkg_failed=yes
   18875 else
   18876   pkg_failed=yes
   18877 fi
   18878  else
   18879     pkg_failed=untried
   18880 fi
   18881 
   18882 
   18883 
   18884 if test $pkg_failed = yes; then
   18885    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18886 $as_echo "no" >&6; }
   18887 
   18888 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18889         _pkg_short_errors_supported=yes
   18890 else
   18891         _pkg_short_errors_supported=no
   18892 fi
   18893         if test $_pkg_short_errors_supported = yes; then
   18894 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18895         else
   18896 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18897         fi
   18898 	# Put the nasty error message in config.log where it belongs
   18899 	echo "$DRI_PKG_ERRORS" >&5
   18900 
   18901 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   18902 
   18903 $DRI_PKG_ERRORS
   18904 
   18905 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18906 installed software in a non-standard prefix.
   18907 
   18908 Alternatively, you may set the environment variables DRI_CFLAGS
   18909 and DRI_LIBS to avoid the need to call pkg-config.
   18910 See the pkg-config man page for more details." "$LINENO" 5
   18911 elif test $pkg_failed = untried; then
   18912      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18913 $as_echo "no" >&6; }
   18914 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18916 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18917 is in your PATH or set the PKG_CONFIG environment variable to the full
   18918 path to pkg-config.
   18919 
   18920 Alternatively, you may set the environment variables DRI_CFLAGS
   18921 and DRI_LIBS to avoid the need to call pkg-config.
   18922 See the pkg-config man page for more details.
   18923 
   18924 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18925 See \`config.log' for more details" "$LINENO" 5; }
   18926 else
   18927 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   18928 	DRI_LIBS=$pkg_cv_DRI_LIBS
   18929         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18930 $as_echo "yes" >&6; }
   18931 
   18932 fi
   18933 
   18934 $as_echo "#define MGADRI 1" >>confdefs.h
   18935 
   18936 
   18937 $as_echo "#define MGADRI_DEVEL 1" >>confdefs.h
   18938 
   18939 fi
   18940 
   18941 save_CFLAGS="$CFLAGS"
   18942 CFLAGS="$XORG_CFLAGS"
   18943 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18944 "
   18945 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18946   XSERVER_LIBPCIACCESS=yes
   18947 else
   18948   XSERVER_LIBPCIACCESS=no
   18949 fi
   18950 
   18951 CFLAGS="$save_CFLAGS"
   18952 
   18953 save_CFLAGS="$CFLAGS"
   18954 CFLAGS="$XORG_CFLAGS"
   18955 ac_fn_c_check_decl "$LINENO" "xf86ModeBandwidth" "ac_cv_have_decl_xf86ModeBandwidth" "#include <X11/extensions/randr.h>
   18956 	       #include \"xorg-server.h\"
   18957 	       #include \"xf86Modes.h\"
   18958 "
   18959 if test "x$ac_cv_have_decl_xf86ModeBandwidth" = xyes; then :
   18960 
   18961 $as_echo "#define HAVE_XF86MODEBANDWIDTH 1" >>confdefs.h
   18962 
   18963 fi
   18964 
   18965 CFLAGS="$save_CFLAGS"
   18966 
   18967 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18968 
   18969 pkg_failed=no
   18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18971 $as_echo_n "checking for PCIACCESS... " >&6; }
   18972 
   18973 if test -n "$PCIACCESS_CFLAGS"; then
   18974     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18975  elif test -n "$PKG_CONFIG"; then
   18976     if test -n "$PKG_CONFIG" && \
   18977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"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_CFLAGS=`$PKG_CONFIG --cflags "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 if test -n "$PCIACCESS_LIBS"; then
   18991     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18992  elif test -n "$PKG_CONFIG"; then
   18993     if test -n "$PKG_CONFIG" && \
   18994     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18995   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18996   ac_status=$?
   18997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18998   test $ac_status = 0; }; then
   18999   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   19000 		      test "x$?" != "x0" && pkg_failed=yes
   19001 else
   19002   pkg_failed=yes
   19003 fi
   19004  else
   19005     pkg_failed=untried
   19006 fi
   19007 
   19008 
   19009 
   19010 if test $pkg_failed = yes; then
   19011    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19012 $as_echo "no" >&6; }
   19013 
   19014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19015         _pkg_short_errors_supported=yes
   19016 else
   19017         _pkg_short_errors_supported=no
   19018 fi
   19019         if test $_pkg_short_errors_supported = yes; then
   19020 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19021         else
   19022 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   19023         fi
   19024 	# Put the nasty error message in config.log where it belongs
   19025 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19026 
   19027 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   19028 
   19029 $PCIACCESS_PKG_ERRORS
   19030 
   19031 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19032 installed software in a non-standard prefix.
   19033 
   19034 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19035 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19036 See the pkg-config man page for more details." "$LINENO" 5
   19037 elif test $pkg_failed = untried; then
   19038      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19039 $as_echo "no" >&6; }
   19040 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19042 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19043 is in your PATH or set the PKG_CONFIG environment variable to the full
   19044 path to pkg-config.
   19045 
   19046 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19047 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19048 See the pkg-config man page for more details.
   19049 
   19050 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19051 See \`config.log' for more details" "$LINENO" 5; }
   19052 else
   19053 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19054 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19055         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19056 $as_echo "yes" >&6; }
   19057 
   19058 fi
   19059 fi
   19060  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19061   XSERVER_LIBPCIACCESS_TRUE=
   19062   XSERVER_LIBPCIACCESS_FALSE='#'
   19063 else
   19064   XSERVER_LIBPCIACCESS_TRUE='#'
   19065   XSERVER_LIBPCIACCESS_FALSE=
   19066 fi
   19067 
   19068 
   19069 
   19070 # Check whether --enable-xaa was given.
   19071 if test "${enable_xaa+set}" = set; then :
   19072   enableval=$enable_xaa; XAA="$enableval"
   19073 else
   19074   XAA=auto
   19075 fi
   19076 
   19077 if test "x$XAA" != xno; then
   19078         save_CFLAGS=$CFLAGS
   19079         save_CPPFLAGS=$CPPFLAGS
   19080         CFLAGS=$XORG_CFLAGS
   19081         CPPFLAGS="$XORG_CFLAGS"
   19082         for ac_header in xaa.h
   19083 do :
   19084   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19085 if test "x$ac_cv_header_xaa_h" = xyes; then :
   19086   cat >>confdefs.h <<_ACEOF
   19087 #define HAVE_XAA_H 1
   19088 _ACEOF
   19089  XAA=yes
   19090 else
   19091   XAA=no
   19092 fi
   19093 
   19094 done
   19095 
   19096         CFLAGS=$save_CFLAGS
   19097         CPPFLAGS=$save_CPPFLAGS
   19098 fi
   19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19100 $as_echo_n "checking whether to include XAA support... " >&6; }
   19101  if test "x$XAA" = xyes; then
   19102   XAA_TRUE=
   19103   XAA_FALSE='#'
   19104 else
   19105   XAA_TRUE='#'
   19106   XAA_FALSE=
   19107 fi
   19108 
   19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19110 $as_echo "$XAA" >&6; }
   19111 if test "x$XAA" = xyes; then
   19112 
   19113 $as_echo "#define USE_XAA 1" >>confdefs.h
   19114 
   19115 fi
   19116 
   19117 # Properly handle EXA.
   19118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable EXA support" >&5
   19119 $as_echo_n "checking whether to enable EXA support... " >&6; }
   19120 if test "x$EXA" = xyes; then
   19121     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19122 $as_echo "yes" >&6; }
   19123 
   19124     SAVE_CPPFLAGS="$CPPFLAGS"
   19125     CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19126     for ac_header in exa.h
   19127 do :
   19128   ac_fn_c_check_header_compile "$LINENO" "exa.h" "ac_cv_header_exa_h" "#include \"xorg-server.h\"
   19129 "
   19130 if test "x$ac_cv_header_exa_h" = xyes; then :
   19131   cat >>confdefs.h <<_ACEOF
   19132 #define HAVE_EXA_H 1
   19133 _ACEOF
   19134  have_exa_h="yes"
   19135 else
   19136   have_exa_h="no"
   19137 fi
   19138 
   19139 done
   19140 
   19141     CPPFLAGS="$SAVE_CPPFLAGS"
   19142 else
   19143     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19144 $as_echo "no" >&6; }
   19145 fi
   19146 
   19147 SAVE_CPPFLAGS="$CPPFLAGS"
   19148 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   19149 if test "x$have_exa_h" = xyes; then
   19150     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether EXA version is at least 2.0.0" >&5
   19151 $as_echo_n "checking whether EXA version is at least 2.0.0... " >&6; }
   19152     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19153 /* end confdefs.h.  */
   19154 
   19155 #include "xorg-server.h"
   19156 #include "exa.h"
   19157 #if EXA_VERSION_MAJOR < 2
   19158 #error OLD EXA!
   19159 #endif
   19160 
   19161 int
   19162 main ()
   19163 {
   19164 
   19165   ;
   19166   return 0;
   19167 }
   19168 _ACEOF
   19169 if ac_fn_c_try_cpp "$LINENO"; then :
   19170   USE_EXA=yes
   19171 else
   19172   USE_EXA=no
   19173 fi
   19174 rm -f conftest.err conftest.i conftest.$ac_ext
   19175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_EXA" >&5
   19176 $as_echo "$USE_EXA" >&6; }
   19177 
   19178     if test "x$USE_EXA" = xyes; then
   19179 
   19180 $as_echo "#define USE_EXA 1" >>confdefs.h
   19181 
   19182     fi
   19183 fi
   19184 CPPFLAGS="$SAVE_CPPFLAGS"
   19185 
   19186  if test "x$USE_EXA" = xyes; then
   19187   USE_EXA_TRUE=
   19188   USE_EXA_FALSE='#'
   19189 else
   19190   USE_EXA_TRUE='#'
   19191   USE_EXA_FALSE=
   19192 fi
   19193 
   19194 
   19195 
   19196 
   19197 DRIVER_NAME=mga
   19198 
   19199 
   19200 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile util/Makefile"
   19201 
   19202 cat >confcache <<\_ACEOF
   19203 # This file is a shell script that caches the results of configure
   19204 # tests run on this system so they can be shared between configure
   19205 # scripts and configure runs, see configure's option --config-cache.
   19206 # It is not useful on other systems.  If it contains results you don't
   19207 # want to keep, you may remove or edit it.
   19208 #
   19209 # config.status only pays attention to the cache file if you give it
   19210 # the --recheck option to rerun configure.
   19211 #
   19212 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19214 # following values.
   19215 
   19216 _ACEOF
   19217 
   19218 # The following way of writing the cache mishandles newlines in values,
   19219 # but we know of no workaround that is simple, portable, and efficient.
   19220 # So, we kill variables containing newlines.
   19221 # Ultrix sh set writes to stderr and can't be redirected directly,
   19222 # and sets the high bit in the cache file unless we assign to the vars.
   19223 (
   19224   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19225     eval ac_val=\$$ac_var
   19226     case $ac_val in #(
   19227     *${as_nl}*)
   19228       case $ac_var in #(
   19229       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19230 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19231       esac
   19232       case $ac_var in #(
   19233       _ | IFS | as_nl) ;; #(
   19234       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19235       *) { eval $ac_var=; unset $ac_var;} ;;
   19236       esac ;;
   19237     esac
   19238   done
   19239 
   19240   (set) 2>&1 |
   19241     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19242     *${as_nl}ac_space=\ *)
   19243       # `set' does not quote correctly, so add quotes: double-quote
   19244       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19245       sed -n \
   19246 	"s/'/'\\\\''/g;
   19247 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19248       ;; #(
   19249     *)
   19250       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19251       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19252       ;;
   19253     esac |
   19254     sort
   19255 ) |
   19256   sed '
   19257      /^ac_cv_env_/b end
   19258      t clear
   19259      :clear
   19260      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19261      t end
   19262      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19263      :end' >>confcache
   19264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19265   if test -w "$cache_file"; then
   19266     if test "x$cache_file" != "x/dev/null"; then
   19267       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19268 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19269       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19270 	cat confcache >"$cache_file"
   19271       else
   19272         case $cache_file in #(
   19273         */* | ?:*)
   19274 	  mv -f confcache "$cache_file"$$ &&
   19275 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19276         *)
   19277 	  mv -f confcache "$cache_file" ;;
   19278 	esac
   19279       fi
   19280     fi
   19281   else
   19282     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19283 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19284   fi
   19285 fi
   19286 rm -f confcache
   19287 
   19288 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19289 # Let make expand exec_prefix.
   19290 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19291 
   19292 DEFS=-DHAVE_CONFIG_H
   19293 
   19294 ac_libobjs=
   19295 ac_ltlibobjs=
   19296 U=
   19297 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19298   # 1. Remove the extension, and $U if already installed.
   19299   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19300   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19301   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19302   #    will be set to the directory where LIBOBJS objects are built.
   19303   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19304   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19305 done
   19306 LIBOBJS=$ac_libobjs
   19307 
   19308 LTLIBOBJS=$ac_ltlibobjs
   19309 
   19310 
   19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19312 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19313    if test -n "$am_sleep_pid"; then
   19314      # Hide warnings about reused PIDs.
   19315      wait $am_sleep_pid 2>/dev/null
   19316    fi
   19317    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19318 $as_echo "done" >&6; }
   19319 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19320   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19322 fi
   19323 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19324   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19326 fi
   19327  if test -n "$EXEEXT"; then
   19328   am__EXEEXT_TRUE=
   19329   am__EXEEXT_FALSE='#'
   19330 else
   19331   am__EXEEXT_TRUE='#'
   19332   am__EXEEXT_FALSE=
   19333 fi
   19334 
   19335 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19336   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19338 fi
   19339 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   19340   as_fn_error $? "conditional \"DRI\" was never defined.
   19341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19342 fi
   19343 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19344   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19346 fi
   19347 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19348   as_fn_error $? "conditional \"XAA\" was never defined.
   19349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19350 fi
   19351 if test -z "${USE_EXA_TRUE}" && test -z "${USE_EXA_FALSE}"; then
   19352   as_fn_error $? "conditional \"USE_EXA\" was never defined.
   19353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19354 fi
   19355 
   19356 : "${CONFIG_STATUS=./config.status}"
   19357 ac_write_fail=0
   19358 ac_clean_files_save=$ac_clean_files
   19359 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19361 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19362 as_write_fail=0
   19363 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19364 #! $SHELL
   19365 # Generated by $as_me.
   19366 # Run this file to recreate the current configuration.
   19367 # Compiler output produced by configure, useful for debugging
   19368 # configure, is in config.log if it exists.
   19369 
   19370 debug=false
   19371 ac_cs_recheck=false
   19372 ac_cs_silent=false
   19373 
   19374 SHELL=\${CONFIG_SHELL-$SHELL}
   19375 export SHELL
   19376 _ASEOF
   19377 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19378 ## -------------------- ##
   19379 ## M4sh Initialization. ##
   19380 ## -------------------- ##
   19381 
   19382 # Be more Bourne compatible
   19383 DUALCASE=1; export DUALCASE # for MKS sh
   19384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19385   emulate sh
   19386   NULLCMD=:
   19387   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19388   # is contrary to our usage.  Disable this feature.
   19389   alias -g '${1+"$@"}'='"$@"'
   19390   setopt NO_GLOB_SUBST
   19391 else
   19392   case `(set -o) 2>/dev/null` in #(
   19393   *posix*) :
   19394     set -o posix ;; #(
   19395   *) :
   19396      ;;
   19397 esac
   19398 fi
   19399 
   19400 
   19401 as_nl='
   19402 '
   19403 export as_nl
   19404 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19405 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19408 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19409 # but without wasting forks for bash or zsh.
   19410 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19411     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19412   as_echo='print -r --'
   19413   as_echo_n='print -rn --'
   19414 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19415   as_echo='printf %s\n'
   19416   as_echo_n='printf %s'
   19417 else
   19418   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19419     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19420     as_echo_n='/usr/ucb/echo -n'
   19421   else
   19422     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19423     as_echo_n_body='eval
   19424       arg=$1;
   19425       case $arg in #(
   19426       *"$as_nl"*)
   19427 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19428 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19429       esac;
   19430       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19431     '
   19432     export as_echo_n_body
   19433     as_echo_n='sh -c $as_echo_n_body as_echo'
   19434   fi
   19435   export as_echo_body
   19436   as_echo='sh -c $as_echo_body as_echo'
   19437 fi
   19438 
   19439 # The user is always right.
   19440 if test "${PATH_SEPARATOR+set}" != set; then
   19441   PATH_SEPARATOR=:
   19442   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19443     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19444       PATH_SEPARATOR=';'
   19445   }
   19446 fi
   19447 
   19448 
   19449 # IFS
   19450 # We need space, tab and new line, in precisely that order.  Quoting is
   19451 # there to prevent editors from complaining about space-tab.
   19452 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19453 # splitting by setting IFS to empty value.)
   19454 IFS=" ""	$as_nl"
   19455 
   19456 # Find who we are.  Look in the path if we contain no directory separator.
   19457 as_myself=
   19458 case $0 in #((
   19459   *[\\/]* ) as_myself=$0 ;;
   19460   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19461 for as_dir in $PATH
   19462 do
   19463   IFS=$as_save_IFS
   19464   test -z "$as_dir" && as_dir=.
   19465     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19466   done
   19467 IFS=$as_save_IFS
   19468 
   19469      ;;
   19470 esac
   19471 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19472 # in which case we are not to be found in the path.
   19473 if test "x$as_myself" = x; then
   19474   as_myself=$0
   19475 fi
   19476 if test ! -f "$as_myself"; then
   19477   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19478   exit 1
   19479 fi
   19480 
   19481 # Unset variables that we do not need and which cause bugs (e.g. in
   19482 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19483 # suppresses any "Segmentation fault" message there.  '((' could
   19484 # trigger a bug in pdksh 5.2.14.
   19485 for as_var in BASH_ENV ENV MAIL MAILPATH
   19486 do eval test x\${$as_var+set} = xset \
   19487   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19488 done
   19489 PS1='$ '
   19490 PS2='> '
   19491 PS4='+ '
   19492 
   19493 # NLS nuisances.
   19494 LC_ALL=C
   19495 export LC_ALL
   19496 LANGUAGE=C
   19497 export LANGUAGE
   19498 
   19499 # CDPATH.
   19500 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19501 
   19502 
   19503 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19504 # ----------------------------------------
   19505 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19506 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19507 # script with STATUS, using 1 if that was 0.
   19508 as_fn_error ()
   19509 {
   19510   as_status=$1; test $as_status -eq 0 && as_status=1
   19511   if test "$4"; then
   19512     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19513     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19514   fi
   19515   $as_echo "$as_me: error: $2" >&2
   19516   as_fn_exit $as_status
   19517 } # as_fn_error
   19518 
   19519 
   19520 # as_fn_set_status STATUS
   19521 # -----------------------
   19522 # Set $? to STATUS, without forking.
   19523 as_fn_set_status ()
   19524 {
   19525   return $1
   19526 } # as_fn_set_status
   19527 
   19528 # as_fn_exit STATUS
   19529 # -----------------
   19530 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19531 as_fn_exit ()
   19532 {
   19533   set +e
   19534   as_fn_set_status $1
   19535   exit $1
   19536 } # as_fn_exit
   19537 
   19538 # as_fn_unset VAR
   19539 # ---------------
   19540 # Portably unset VAR.
   19541 as_fn_unset ()
   19542 {
   19543   { eval $1=; unset $1;}
   19544 }
   19545 as_unset=as_fn_unset
   19546 # as_fn_append VAR VALUE
   19547 # ----------------------
   19548 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19549 # advantage of any shell optimizations that allow amortized linear growth over
   19550 # repeated appends, instead of the typical quadratic growth present in naive
   19551 # implementations.
   19552 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19553   eval 'as_fn_append ()
   19554   {
   19555     eval $1+=\$2
   19556   }'
   19557 else
   19558   as_fn_append ()
   19559   {
   19560     eval $1=\$$1\$2
   19561   }
   19562 fi # as_fn_append
   19563 
   19564 # as_fn_arith ARG...
   19565 # ------------------
   19566 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19567 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19568 # must be portable across $(()) and expr.
   19569 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19570   eval 'as_fn_arith ()
   19571   {
   19572     as_val=$(( $* ))
   19573   }'
   19574 else
   19575   as_fn_arith ()
   19576   {
   19577     as_val=`expr "$@" || test $? -eq 1`
   19578   }
   19579 fi # as_fn_arith
   19580 
   19581 
   19582 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19583    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19584   as_expr=expr
   19585 else
   19586   as_expr=false
   19587 fi
   19588 
   19589 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19590   as_basename=basename
   19591 else
   19592   as_basename=false
   19593 fi
   19594 
   19595 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19596   as_dirname=dirname
   19597 else
   19598   as_dirname=false
   19599 fi
   19600 
   19601 as_me=`$as_basename -- "$0" ||
   19602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19603 	 X"$0" : 'X\(//\)$' \| \
   19604 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19605 $as_echo X/"$0" |
   19606     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19607 	    s//\1/
   19608 	    q
   19609 	  }
   19610 	  /^X\/\(\/\/\)$/{
   19611 	    s//\1/
   19612 	    q
   19613 	  }
   19614 	  /^X\/\(\/\).*/{
   19615 	    s//\1/
   19616 	    q
   19617 	  }
   19618 	  s/.*/./; q'`
   19619 
   19620 # Avoid depending upon Character Ranges.
   19621 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19622 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19623 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19624 as_cr_digits='0123456789'
   19625 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19626 
   19627 ECHO_C= ECHO_N= ECHO_T=
   19628 case `echo -n x` in #(((((
   19629 -n*)
   19630   case `echo 'xy\c'` in
   19631   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19632   xy)  ECHO_C='\c';;
   19633   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19634        ECHO_T='	';;
   19635   esac;;
   19636 *)
   19637   ECHO_N='-n';;
   19638 esac
   19639 
   19640 rm -f conf$$ conf$$.exe conf$$.file
   19641 if test -d conf$$.dir; then
   19642   rm -f conf$$.dir/conf$$.file
   19643 else
   19644   rm -f conf$$.dir
   19645   mkdir conf$$.dir 2>/dev/null
   19646 fi
   19647 if (echo >conf$$.file) 2>/dev/null; then
   19648   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19649     as_ln_s='ln -s'
   19650     # ... but there are two gotchas:
   19651     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19652     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19653     # In both cases, we have to default to `cp -pR'.
   19654     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19655       as_ln_s='cp -pR'
   19656   elif ln conf$$.file conf$$ 2>/dev/null; then
   19657     as_ln_s=ln
   19658   else
   19659     as_ln_s='cp -pR'
   19660   fi
   19661 else
   19662   as_ln_s='cp -pR'
   19663 fi
   19664 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19665 rmdir conf$$.dir 2>/dev/null
   19666 
   19667 
   19668 # as_fn_mkdir_p
   19669 # -------------
   19670 # Create "$as_dir" as a directory, including parents if necessary.
   19671 as_fn_mkdir_p ()
   19672 {
   19673 
   19674   case $as_dir in #(
   19675   -*) as_dir=./$as_dir;;
   19676   esac
   19677   test -d "$as_dir" || eval $as_mkdir_p || {
   19678     as_dirs=
   19679     while :; do
   19680       case $as_dir in #(
   19681       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19682       *) as_qdir=$as_dir;;
   19683       esac
   19684       as_dirs="'$as_qdir' $as_dirs"
   19685       as_dir=`$as_dirname -- "$as_dir" ||
   19686 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19687 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19688 	 X"$as_dir" : 'X\(//\)$' \| \
   19689 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19690 $as_echo X"$as_dir" |
   19691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19692 	    s//\1/
   19693 	    q
   19694 	  }
   19695 	  /^X\(\/\/\)[^/].*/{
   19696 	    s//\1/
   19697 	    q
   19698 	  }
   19699 	  /^X\(\/\/\)$/{
   19700 	    s//\1/
   19701 	    q
   19702 	  }
   19703 	  /^X\(\/\).*/{
   19704 	    s//\1/
   19705 	    q
   19706 	  }
   19707 	  s/.*/./; q'`
   19708       test -d "$as_dir" && break
   19709     done
   19710     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19711   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19712 
   19713 
   19714 } # as_fn_mkdir_p
   19715 if mkdir -p . 2>/dev/null; then
   19716   as_mkdir_p='mkdir -p "$as_dir"'
   19717 else
   19718   test -d ./-p && rmdir ./-p
   19719   as_mkdir_p=false
   19720 fi
   19721 
   19722 
   19723 # as_fn_executable_p FILE
   19724 # -----------------------
   19725 # Test if FILE is an executable regular file.
   19726 as_fn_executable_p ()
   19727 {
   19728   test -f "$1" && test -x "$1"
   19729 } # as_fn_executable_p
   19730 as_test_x='test -x'
   19731 as_executable_p=as_fn_executable_p
   19732 
   19733 # Sed expression to map a string onto a valid CPP name.
   19734 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19735 
   19736 # Sed expression to map a string onto a valid variable name.
   19737 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19738 
   19739 
   19740 exec 6>&1
   19741 ## ----------------------------------- ##
   19742 ## Main body of $CONFIG_STATUS script. ##
   19743 ## ----------------------------------- ##
   19744 _ASEOF
   19745 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19746 
   19747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19748 # Save the log message, to keep $0 and so on meaningful, and to
   19749 # report actual input values of CONFIG_FILES etc. instead of their
   19750 # values after options handling.
   19751 ac_log="
   19752 This file was extended by xf86-video-mga $as_me 1.6.5, which was
   19753 generated by GNU Autoconf 2.69.  Invocation command line was
   19754 
   19755   CONFIG_FILES    = $CONFIG_FILES
   19756   CONFIG_HEADERS  = $CONFIG_HEADERS
   19757   CONFIG_LINKS    = $CONFIG_LINKS
   19758   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19759   $ $0 $@
   19760 
   19761 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19762 "
   19763 
   19764 _ACEOF
   19765 
   19766 case $ac_config_files in *"
   19767 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19768 esac
   19769 
   19770 case $ac_config_headers in *"
   19771 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19772 esac
   19773 
   19774 
   19775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19776 # Files that config.status was made for.
   19777 config_files="$ac_config_files"
   19778 config_headers="$ac_config_headers"
   19779 config_commands="$ac_config_commands"
   19780 
   19781 _ACEOF
   19782 
   19783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19784 ac_cs_usage="\
   19785 \`$as_me' instantiates files and other configuration actions
   19786 from templates according to the current configuration.  Unless the files
   19787 and actions are specified as TAGs, all are instantiated by default.
   19788 
   19789 Usage: $0 [OPTION]... [TAG]...
   19790 
   19791   -h, --help       print this help, then exit
   19792   -V, --version    print version number and configuration settings, then exit
   19793       --config     print configuration, then exit
   19794   -q, --quiet, --silent
   19795                    do not print progress messages
   19796   -d, --debug      don't remove temporary files
   19797       --recheck    update $as_me by reconfiguring in the same conditions
   19798       --file=FILE[:TEMPLATE]
   19799                    instantiate the configuration file FILE
   19800       --header=FILE[:TEMPLATE]
   19801                    instantiate the configuration header FILE
   19802 
   19803 Configuration files:
   19804 $config_files
   19805 
   19806 Configuration headers:
   19807 $config_headers
   19808 
   19809 Configuration commands:
   19810 $config_commands
   19811 
   19812 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19813 
   19814 _ACEOF
   19815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19816 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19817 ac_cs_version="\\
   19818 xf86-video-mga config.status 1.6.5
   19819 configured by $0, generated by GNU Autoconf 2.69,
   19820   with options \\"\$ac_cs_config\\"
   19821 
   19822 Copyright (C) 2012 Free Software Foundation, Inc.
   19823 This config.status script is free software; the Free Software Foundation
   19824 gives unlimited permission to copy, distribute and modify it."
   19825 
   19826 ac_pwd='$ac_pwd'
   19827 srcdir='$srcdir'
   19828 INSTALL='$INSTALL'
   19829 MKDIR_P='$MKDIR_P'
   19830 AWK='$AWK'
   19831 test -n "\$AWK" || AWK=awk
   19832 _ACEOF
   19833 
   19834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19835 # The default lists apply if the user does not specify any file.
   19836 ac_need_defaults=:
   19837 while test $# != 0
   19838 do
   19839   case $1 in
   19840   --*=?*)
   19841     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19842     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19843     ac_shift=:
   19844     ;;
   19845   --*=)
   19846     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19847     ac_optarg=
   19848     ac_shift=:
   19849     ;;
   19850   *)
   19851     ac_option=$1
   19852     ac_optarg=$2
   19853     ac_shift=shift
   19854     ;;
   19855   esac
   19856 
   19857   case $ac_option in
   19858   # Handling of the options.
   19859   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19860     ac_cs_recheck=: ;;
   19861   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19862     $as_echo "$ac_cs_version"; exit ;;
   19863   --config | --confi | --conf | --con | --co | --c )
   19864     $as_echo "$ac_cs_config"; exit ;;
   19865   --debug | --debu | --deb | --de | --d | -d )
   19866     debug=: ;;
   19867   --file | --fil | --fi | --f )
   19868     $ac_shift
   19869     case $ac_optarg in
   19870     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19871     '') as_fn_error $? "missing file argument" ;;
   19872     esac
   19873     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19874     ac_need_defaults=false;;
   19875   --header | --heade | --head | --hea )
   19876     $ac_shift
   19877     case $ac_optarg in
   19878     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19879     esac
   19880     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19881     ac_need_defaults=false;;
   19882   --he | --h)
   19883     # Conflict between --help and --header
   19884     as_fn_error $? "ambiguous option: \`$1'
   19885 Try \`$0 --help' for more information.";;
   19886   --help | --hel | -h )
   19887     $as_echo "$ac_cs_usage"; exit ;;
   19888   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19889   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19890     ac_cs_silent=: ;;
   19891 
   19892   # This is an error.
   19893   -*) as_fn_error $? "unrecognized option: \`$1'
   19894 Try \`$0 --help' for more information." ;;
   19895 
   19896   *) as_fn_append ac_config_targets " $1"
   19897      ac_need_defaults=false ;;
   19898 
   19899   esac
   19900   shift
   19901 done
   19902 
   19903 ac_configure_extra_args=
   19904 
   19905 if $ac_cs_silent; then
   19906   exec 6>/dev/null
   19907   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19908 fi
   19909 
   19910 _ACEOF
   19911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19912 if \$ac_cs_recheck; then
   19913   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19914   shift
   19915   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19916   CONFIG_SHELL='$SHELL'
   19917   export CONFIG_SHELL
   19918   exec "\$@"
   19919 fi
   19920 
   19921 _ACEOF
   19922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19923 exec 5>>config.log
   19924 {
   19925   echo
   19926   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19927 ## Running $as_me. ##
   19928 _ASBOX
   19929   $as_echo "$ac_log"
   19930 } >&5
   19931 
   19932 _ACEOF
   19933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19934 #
   19935 # INIT-COMMANDS
   19936 #
   19937 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19938 
   19939 
   19940 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19941 # if CDPATH is set.
   19942 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19943 
   19944 sed_quote_subst='$sed_quote_subst'
   19945 double_quote_subst='$double_quote_subst'
   19946 delay_variable_subst='$delay_variable_subst'
   19947 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19948 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19949 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19950 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19951 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19952 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19953 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19954 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19955 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19956 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19957 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19958 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19959 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19960 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19961 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19962 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19963 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19964 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19965 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19966 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19967 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19968 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19969 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19970 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19971 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19972 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19973 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19974 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19975 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19976 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19977 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19978 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19979 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19980 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19981 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19982 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19983 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19984 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19985 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19986 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19987 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19988 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19989 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19990 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19991 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19992 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19993 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19994 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19995 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19996 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19997 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19998 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19999 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20000 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20001 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20002 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20003 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20004 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20005 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"`'
   20006 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20007 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20008 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20009 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20010 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20011 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20012 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20013 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20014 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20015 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20016 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20017 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20018 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20019 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20020 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20021 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20022 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20023 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20024 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20025 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20026 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20027 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20028 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20029 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20030 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20031 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20032 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20033 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20034 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20035 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20036 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20037 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20038 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20039 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20040 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20041 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20042 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20043 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20044 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20045 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20046 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20047 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20048 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20049 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20050 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20051 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20052 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20053 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20054 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20055 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20056 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20057 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20058 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20059 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20060 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20061 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20062 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20063 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20064 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20065 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20066 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20067 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20068 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20069 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20070 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20071 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20072 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20073 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20074 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20075 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20076 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20077 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20078 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20079 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20080 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20081 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20082 
   20083 LTCC='$LTCC'
   20084 LTCFLAGS='$LTCFLAGS'
   20085 compiler='$compiler_DEFAULT'
   20086 
   20087 # A function that is used when there is no print builtin or printf.
   20088 func_fallback_echo ()
   20089 {
   20090   eval 'cat <<_LTECHO_EOF
   20091 \$1
   20092 _LTECHO_EOF'
   20093 }
   20094 
   20095 # Quote evaled strings.
   20096 for var in SHELL \
   20097 ECHO \
   20098 PATH_SEPARATOR \
   20099 SED \
   20100 GREP \
   20101 EGREP \
   20102 FGREP \
   20103 LD \
   20104 NM \
   20105 LN_S \
   20106 lt_SP2NL \
   20107 lt_NL2SP \
   20108 reload_flag \
   20109 OBJDUMP \
   20110 deplibs_check_method \
   20111 file_magic_cmd \
   20112 file_magic_glob \
   20113 want_nocaseglob \
   20114 DLLTOOL \
   20115 sharedlib_from_linklib_cmd \
   20116 AR \
   20117 AR_FLAGS \
   20118 archiver_list_spec \
   20119 STRIP \
   20120 RANLIB \
   20121 CC \
   20122 CFLAGS \
   20123 compiler \
   20124 lt_cv_sys_global_symbol_pipe \
   20125 lt_cv_sys_global_symbol_to_cdecl \
   20126 lt_cv_sys_global_symbol_to_import \
   20127 lt_cv_sys_global_symbol_to_c_name_address \
   20128 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20129 lt_cv_nm_interface \
   20130 nm_file_list_spec \
   20131 lt_cv_truncate_bin \
   20132 lt_prog_compiler_no_builtin_flag \
   20133 lt_prog_compiler_pic \
   20134 lt_prog_compiler_wl \
   20135 lt_prog_compiler_static \
   20136 lt_cv_prog_compiler_c_o \
   20137 need_locks \
   20138 MANIFEST_TOOL \
   20139 DSYMUTIL \
   20140 NMEDIT \
   20141 LIPO \
   20142 OTOOL \
   20143 OTOOL64 \
   20144 shrext_cmds \
   20145 export_dynamic_flag_spec \
   20146 whole_archive_flag_spec \
   20147 compiler_needs_object \
   20148 with_gnu_ld \
   20149 allow_undefined_flag \
   20150 no_undefined_flag \
   20151 hardcode_libdir_flag_spec \
   20152 hardcode_libdir_separator \
   20153 exclude_expsyms \
   20154 include_expsyms \
   20155 file_list_spec \
   20156 variables_saved_for_relink \
   20157 libname_spec \
   20158 library_names_spec \
   20159 soname_spec \
   20160 install_override_mode \
   20161 finish_eval \
   20162 old_striplib \
   20163 striplib; do
   20164     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20165     *[\\\\\\\`\\"\\\$]*)
   20166       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20167       ;;
   20168     *)
   20169       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20170       ;;
   20171     esac
   20172 done
   20173 
   20174 # Double-quote double-evaled strings.
   20175 for var in reload_cmds \
   20176 old_postinstall_cmds \
   20177 old_postuninstall_cmds \
   20178 old_archive_cmds \
   20179 extract_expsyms_cmds \
   20180 old_archive_from_new_cmds \
   20181 old_archive_from_expsyms_cmds \
   20182 archive_cmds \
   20183 archive_expsym_cmds \
   20184 module_cmds \
   20185 module_expsym_cmds \
   20186 export_symbols_cmds \
   20187 prelink_cmds \
   20188 postlink_cmds \
   20189 postinstall_cmds \
   20190 postuninstall_cmds \
   20191 finish_cmds \
   20192 sys_lib_search_path_spec \
   20193 configure_time_dlsearch_path \
   20194 configure_time_lt_sys_library_path; do
   20195     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20196     *[\\\\\\\`\\"\\\$]*)
   20197       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20198       ;;
   20199     *)
   20200       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20201       ;;
   20202     esac
   20203 done
   20204 
   20205 ac_aux_dir='$ac_aux_dir'
   20206 
   20207 # See if we are running on zsh, and set the options that allow our
   20208 # commands through without removal of \ escapes INIT.
   20209 if test -n "\${ZSH_VERSION+set}"; then
   20210    setopt NO_GLOB_SUBST
   20211 fi
   20212 
   20213 
   20214     PACKAGE='$PACKAGE'
   20215     VERSION='$VERSION'
   20216     RM='$RM'
   20217     ofile='$ofile'
   20218 
   20219 
   20220 
   20221 
   20222 _ACEOF
   20223 
   20224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20225 
   20226 # Handling of arguments.
   20227 for ac_config_target in $ac_config_targets
   20228 do
   20229   case $ac_config_target in
   20230     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20231     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20232     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20233     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20234     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20235     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20236     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   20237 
   20238   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20239   esac
   20240 done
   20241 
   20242 
   20243 # If the user did not use the arguments to specify the items to instantiate,
   20244 # then the envvar interface is used.  Set only those that are not.
   20245 # We use the long form for the default assignment because of an extremely
   20246 # bizarre bug on SunOS 4.1.3.
   20247 if $ac_need_defaults; then
   20248   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20249   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20250   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20251 fi
   20252 
   20253 # Have a temporary directory for convenience.  Make it in the build tree
   20254 # simply because there is no reason against having it here, and in addition,
   20255 # creating and moving files from /tmp can sometimes cause problems.
   20256 # Hook for its removal unless debugging.
   20257 # Note that there is a small window in which the directory will not be cleaned:
   20258 # after its creation but before its name has been assigned to `$tmp'.
   20259 $debug ||
   20260 {
   20261   tmp= ac_tmp=
   20262   trap 'exit_status=$?
   20263   : "${ac_tmp:=$tmp}"
   20264   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20265 ' 0
   20266   trap 'as_fn_exit 1' 1 2 13 15
   20267 }
   20268 # Create a (secure) tmp directory for tmp files.
   20269 
   20270 {
   20271   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20272   test -d "$tmp"
   20273 }  ||
   20274 {
   20275   tmp=./conf$$-$RANDOM
   20276   (umask 077 && mkdir "$tmp")
   20277 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20278 ac_tmp=$tmp
   20279 
   20280 # Set up the scripts for CONFIG_FILES section.
   20281 # No need to generate them if there are no CONFIG_FILES.
   20282 # This happens for instance with `./config.status config.h'.
   20283 if test -n "$CONFIG_FILES"; then
   20284 
   20285 
   20286 ac_cr=`echo X | tr X '\015'`
   20287 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20288 # But we know of no other shell where ac_cr would be empty at this
   20289 # point, so we can use a bashism as a fallback.
   20290 if test "x$ac_cr" = x; then
   20291   eval ac_cr=\$\'\\r\'
   20292 fi
   20293 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20294 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20295   ac_cs_awk_cr='\\r'
   20296 else
   20297   ac_cs_awk_cr=$ac_cr
   20298 fi
   20299 
   20300 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20301 _ACEOF
   20302 
   20303 
   20304 {
   20305   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20306   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20307   echo "_ACEOF"
   20308 } >conf$$subs.sh ||
   20309   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20310 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20311 ac_delim='%!_!# '
   20312 for ac_last_try in false false false false false :; do
   20313   . ./conf$$subs.sh ||
   20314     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20315 
   20316   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20317   if test $ac_delim_n = $ac_delim_num; then
   20318     break
   20319   elif $ac_last_try; then
   20320     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20321   else
   20322     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20323   fi
   20324 done
   20325 rm -f conf$$subs.sh
   20326 
   20327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20328 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20329 _ACEOF
   20330 sed -n '
   20331 h
   20332 s/^/S["/; s/!.*/"]=/
   20333 p
   20334 g
   20335 s/^[^!]*!//
   20336 :repl
   20337 t repl
   20338 s/'"$ac_delim"'$//
   20339 t delim
   20340 :nl
   20341 h
   20342 s/\(.\{148\}\)..*/\1/
   20343 t more1
   20344 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20345 p
   20346 n
   20347 b repl
   20348 :more1
   20349 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20350 p
   20351 g
   20352 s/.\{148\}//
   20353 t nl
   20354 :delim
   20355 h
   20356 s/\(.\{148\}\)..*/\1/
   20357 t more2
   20358 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20359 p
   20360 b
   20361 :more2
   20362 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20363 p
   20364 g
   20365 s/.\{148\}//
   20366 t delim
   20367 ' <conf$$subs.awk | sed '
   20368 /^[^""]/{
   20369   N
   20370   s/\n//
   20371 }
   20372 ' >>$CONFIG_STATUS || ac_write_fail=1
   20373 rm -f conf$$subs.awk
   20374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20375 _ACAWK
   20376 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20377   for (key in S) S_is_set[key] = 1
   20378   FS = ""
   20379 
   20380 }
   20381 {
   20382   line = $ 0
   20383   nfields = split(line, field, "@")
   20384   substed = 0
   20385   len = length(field[1])
   20386   for (i = 2; i < nfields; i++) {
   20387     key = field[i]
   20388     keylen = length(key)
   20389     if (S_is_set[key]) {
   20390       value = S[key]
   20391       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20392       len += length(value) + length(field[++i])
   20393       substed = 1
   20394     } else
   20395       len += 1 + keylen
   20396   }
   20397 
   20398   print line
   20399 }
   20400 
   20401 _ACAWK
   20402 _ACEOF
   20403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20404 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20405   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20406 else
   20407   cat
   20408 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20409   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20410 _ACEOF
   20411 
   20412 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20413 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20414 # trailing colons and then remove the whole line if VPATH becomes empty
   20415 # (actually we leave an empty line to preserve line numbers).
   20416 if test "x$srcdir" = x.; then
   20417   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20418 h
   20419 s///
   20420 s/^/:/
   20421 s/[	 ]*$/:/
   20422 s/:\$(srcdir):/:/g
   20423 s/:\${srcdir}:/:/g
   20424 s/:@srcdir@:/:/g
   20425 s/^:*//
   20426 s/:*$//
   20427 x
   20428 s/\(=[	 ]*\).*/\1/
   20429 G
   20430 s/\n//
   20431 s/^[^=]*=[	 ]*$//
   20432 }'
   20433 fi
   20434 
   20435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20436 fi # test -n "$CONFIG_FILES"
   20437 
   20438 # Set up the scripts for CONFIG_HEADERS section.
   20439 # No need to generate them if there are no CONFIG_HEADERS.
   20440 # This happens for instance with `./config.status Makefile'.
   20441 if test -n "$CONFIG_HEADERS"; then
   20442 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20443 BEGIN {
   20444 _ACEOF
   20445 
   20446 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20447 # here-document in config.status, that substitutes the proper values into
   20448 # config.h.in to produce config.h.
   20449 
   20450 # Create a delimiter string that does not exist in confdefs.h, to ease
   20451 # handling of long lines.
   20452 ac_delim='%!_!# '
   20453 for ac_last_try in false false :; do
   20454   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20455   if test -z "$ac_tt"; then
   20456     break
   20457   elif $ac_last_try; then
   20458     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20459   else
   20460     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20461   fi
   20462 done
   20463 
   20464 # For the awk script, D is an array of macro values keyed by name,
   20465 # likewise P contains macro parameters if any.  Preserve backslash
   20466 # newline sequences.
   20467 
   20468 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20469 sed -n '
   20470 s/.\{148\}/&'"$ac_delim"'/g
   20471 t rset
   20472 :rset
   20473 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20474 t def
   20475 d
   20476 :def
   20477 s/\\$//
   20478 t bsnl
   20479 s/["\\]/\\&/g
   20480 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20481 D["\1"]=" \3"/p
   20482 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20483 d
   20484 :bsnl
   20485 s/["\\]/\\&/g
   20486 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20487 D["\1"]=" \3\\\\\\n"\\/p
   20488 t cont
   20489 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20490 t cont
   20491 d
   20492 :cont
   20493 n
   20494 s/.\{148\}/&'"$ac_delim"'/g
   20495 t clear
   20496 :clear
   20497 s/\\$//
   20498 t bsnlc
   20499 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20500 d
   20501 :bsnlc
   20502 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20503 b cont
   20504 ' <confdefs.h | sed '
   20505 s/'"$ac_delim"'/"\\\
   20506 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20507 
   20508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20509   for (key in D) D_is_set[key] = 1
   20510   FS = ""
   20511 }
   20512 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20513   line = \$ 0
   20514   split(line, arg, " ")
   20515   if (arg[1] == "#") {
   20516     defundef = arg[2]
   20517     mac1 = arg[3]
   20518   } else {
   20519     defundef = substr(arg[1], 2)
   20520     mac1 = arg[2]
   20521   }
   20522   split(mac1, mac2, "(") #)
   20523   macro = mac2[1]
   20524   prefix = substr(line, 1, index(line, defundef) - 1)
   20525   if (D_is_set[macro]) {
   20526     # Preserve the white space surrounding the "#".
   20527     print prefix "define", macro P[macro] D[macro]
   20528     next
   20529   } else {
   20530     # Replace #undef with comments.  This is necessary, for example,
   20531     # in the case of _POSIX_SOURCE, which is predefined and required
   20532     # on some systems where configure will not decide to define it.
   20533     if (defundef == "undef") {
   20534       print "/*", prefix defundef, macro, "*/"
   20535       next
   20536     }
   20537   }
   20538 }
   20539 { print }
   20540 _ACAWK
   20541 _ACEOF
   20542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20543   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20544 fi # test -n "$CONFIG_HEADERS"
   20545 
   20546 
   20547 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20548 shift
   20549 for ac_tag
   20550 do
   20551   case $ac_tag in
   20552   :[FHLC]) ac_mode=$ac_tag; continue;;
   20553   esac
   20554   case $ac_mode$ac_tag in
   20555   :[FHL]*:*);;
   20556   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20557   :[FH]-) ac_tag=-:-;;
   20558   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20559   esac
   20560   ac_save_IFS=$IFS
   20561   IFS=:
   20562   set x $ac_tag
   20563   IFS=$ac_save_IFS
   20564   shift
   20565   ac_file=$1
   20566   shift
   20567 
   20568   case $ac_mode in
   20569   :L) ac_source=$1;;
   20570   :[FH])
   20571     ac_file_inputs=
   20572     for ac_f
   20573     do
   20574       case $ac_f in
   20575       -) ac_f="$ac_tmp/stdin";;
   20576       *) # Look for the file first in the build tree, then in the source tree
   20577 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20578 	 # because $ac_f cannot contain `:'.
   20579 	 test -f "$ac_f" ||
   20580 	   case $ac_f in
   20581 	   [\\/$]*) false;;
   20582 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20583 	   esac ||
   20584 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20585       esac
   20586       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20587       as_fn_append ac_file_inputs " '$ac_f'"
   20588     done
   20589 
   20590     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20591     # use $as_me), people would be surprised to read:
   20592     #    /* config.h.  Generated by config.status.  */
   20593     configure_input='Generated from '`
   20594 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20595 	`' by configure.'
   20596     if test x"$ac_file" != x-; then
   20597       configure_input="$ac_file.  $configure_input"
   20598       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20599 $as_echo "$as_me: creating $ac_file" >&6;}
   20600     fi
   20601     # Neutralize special characters interpreted by sed in replacement strings.
   20602     case $configure_input in #(
   20603     *\&* | *\|* | *\\* )
   20604        ac_sed_conf_input=`$as_echo "$configure_input" |
   20605        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20606     *) ac_sed_conf_input=$configure_input;;
   20607     esac
   20608 
   20609     case $ac_tag in
   20610     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20611       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20612     esac
   20613     ;;
   20614   esac
   20615 
   20616   ac_dir=`$as_dirname -- "$ac_file" ||
   20617 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20618 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20619 	 X"$ac_file" : 'X\(//\)$' \| \
   20620 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20621 $as_echo X"$ac_file" |
   20622     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20623 	    s//\1/
   20624 	    q
   20625 	  }
   20626 	  /^X\(\/\/\)[^/].*/{
   20627 	    s//\1/
   20628 	    q
   20629 	  }
   20630 	  /^X\(\/\/\)$/{
   20631 	    s//\1/
   20632 	    q
   20633 	  }
   20634 	  /^X\(\/\).*/{
   20635 	    s//\1/
   20636 	    q
   20637 	  }
   20638 	  s/.*/./; q'`
   20639   as_dir="$ac_dir"; as_fn_mkdir_p
   20640   ac_builddir=.
   20641 
   20642 case "$ac_dir" in
   20643 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20644 *)
   20645   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20646   # A ".." for each directory in $ac_dir_suffix.
   20647   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20648   case $ac_top_builddir_sub in
   20649   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20650   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20651   esac ;;
   20652 esac
   20653 ac_abs_top_builddir=$ac_pwd
   20654 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20655 # for backward compatibility:
   20656 ac_top_builddir=$ac_top_build_prefix
   20657 
   20658 case $srcdir in
   20659   .)  # We are building in place.
   20660     ac_srcdir=.
   20661     ac_top_srcdir=$ac_top_builddir_sub
   20662     ac_abs_top_srcdir=$ac_pwd ;;
   20663   [\\/]* | ?:[\\/]* )  # Absolute name.
   20664     ac_srcdir=$srcdir$ac_dir_suffix;
   20665     ac_top_srcdir=$srcdir
   20666     ac_abs_top_srcdir=$srcdir ;;
   20667   *) # Relative name.
   20668     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20669     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20670     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20671 esac
   20672 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20673 
   20674 
   20675   case $ac_mode in
   20676   :F)
   20677   #
   20678   # CONFIG_FILE
   20679   #
   20680 
   20681   case $INSTALL in
   20682   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20683   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20684   esac
   20685   ac_MKDIR_P=$MKDIR_P
   20686   case $MKDIR_P in
   20687   [\\/$]* | ?:[\\/]* ) ;;
   20688   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20689   esac
   20690 _ACEOF
   20691 
   20692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20693 # If the template does not know about datarootdir, expand it.
   20694 # FIXME: This hack should be removed a few years after 2.60.
   20695 ac_datarootdir_hack=; ac_datarootdir_seen=
   20696 ac_sed_dataroot='
   20697 /datarootdir/ {
   20698   p
   20699   q
   20700 }
   20701 /@datadir@/p
   20702 /@docdir@/p
   20703 /@infodir@/p
   20704 /@localedir@/p
   20705 /@mandir@/p'
   20706 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20707 *datarootdir*) ac_datarootdir_seen=yes;;
   20708 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20709   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20710 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20711 _ACEOF
   20712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20713   ac_datarootdir_hack='
   20714   s&@datadir@&$datadir&g
   20715   s&@docdir@&$docdir&g
   20716   s&@infodir@&$infodir&g
   20717   s&@localedir@&$localedir&g
   20718   s&@mandir@&$mandir&g
   20719   s&\\\${datarootdir}&$datarootdir&g' ;;
   20720 esac
   20721 _ACEOF
   20722 
   20723 # Neutralize VPATH when `$srcdir' = `.'.
   20724 # Shell code in configure.ac might set extrasub.
   20725 # FIXME: do we really want to maintain this feature?
   20726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20727 ac_sed_extra="$ac_vpsub
   20728 $extrasub
   20729 _ACEOF
   20730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20731 :t
   20732 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20733 s|@configure_input@|$ac_sed_conf_input|;t t
   20734 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20735 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20736 s&@srcdir@&$ac_srcdir&;t t
   20737 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20738 s&@top_srcdir@&$ac_top_srcdir&;t t
   20739 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20740 s&@builddir@&$ac_builddir&;t t
   20741 s&@abs_builddir@&$ac_abs_builddir&;t t
   20742 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20743 s&@INSTALL@&$ac_INSTALL&;t t
   20744 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20745 $ac_datarootdir_hack
   20746 "
   20747 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20748   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20749 
   20750 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20751   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20752   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20753       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20754   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20755 which seems to be undefined.  Please make sure it is defined" >&5
   20756 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20757 which seems to be undefined.  Please make sure it is defined" >&2;}
   20758 
   20759   rm -f "$ac_tmp/stdin"
   20760   case $ac_file in
   20761   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20762   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20763   esac \
   20764   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20765  ;;
   20766   :H)
   20767   #
   20768   # CONFIG_HEADER
   20769   #
   20770   if test x"$ac_file" != x-; then
   20771     {
   20772       $as_echo "/* $configure_input  */" \
   20773       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20774     } >"$ac_tmp/config.h" \
   20775       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20776     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20777       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20778 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20779     else
   20780       rm -f "$ac_file"
   20781       mv "$ac_tmp/config.h" "$ac_file" \
   20782 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20783     fi
   20784   else
   20785     $as_echo "/* $configure_input  */" \
   20786       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20787       || as_fn_error $? "could not create -" "$LINENO" 5
   20788   fi
   20789 # Compute "$ac_file"'s index in $config_headers.
   20790 _am_arg="$ac_file"
   20791 _am_stamp_count=1
   20792 for _am_header in $config_headers :; do
   20793   case $_am_header in
   20794     $_am_arg | $_am_arg:* )
   20795       break ;;
   20796     * )
   20797       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20798   esac
   20799 done
   20800 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20801 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20802 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20803 	 X"$_am_arg" : 'X\(//\)$' \| \
   20804 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20805 $as_echo X"$_am_arg" |
   20806     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20807 	    s//\1/
   20808 	    q
   20809 	  }
   20810 	  /^X\(\/\/\)[^/].*/{
   20811 	    s//\1/
   20812 	    q
   20813 	  }
   20814 	  /^X\(\/\/\)$/{
   20815 	    s//\1/
   20816 	    q
   20817 	  }
   20818 	  /^X\(\/\).*/{
   20819 	    s//\1/
   20820 	    q
   20821 	  }
   20822 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20823  ;;
   20824 
   20825   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20826 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20827  ;;
   20828   esac
   20829 
   20830 
   20831   case $ac_file$ac_mode in
   20832     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20833   # Older Autoconf quotes --file arguments for eval, but not when files
   20834   # are listed without --file.  Let's play safe and only enable the eval
   20835   # if we detect the quoting.
   20836   case $CONFIG_FILES in
   20837   *\'*) eval set x "$CONFIG_FILES" ;;
   20838   *)   set x $CONFIG_FILES ;;
   20839   esac
   20840   shift
   20841   for mf
   20842   do
   20843     # Strip MF so we end up with the name of the file.
   20844     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20845     # Check whether this is an Automake generated Makefile or not.
   20846     # We used to match only the files named 'Makefile.in', but
   20847     # some people rename them; so instead we look at the file content.
   20848     # Grep'ing the first line is not enough: some people post-process
   20849     # each Makefile.in and add a new line on top of each file to say so.
   20850     # Grep'ing the whole file is not good either: AIX grep has a line
   20851     # limit of 2048, but all sed's we know have understand at least 4000.
   20852     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20853       dirpart=`$as_dirname -- "$mf" ||
   20854 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20855 	 X"$mf" : 'X\(//\)[^/]' \| \
   20856 	 X"$mf" : 'X\(//\)$' \| \
   20857 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20858 $as_echo X"$mf" |
   20859     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20860 	    s//\1/
   20861 	    q
   20862 	  }
   20863 	  /^X\(\/\/\)[^/].*/{
   20864 	    s//\1/
   20865 	    q
   20866 	  }
   20867 	  /^X\(\/\/\)$/{
   20868 	    s//\1/
   20869 	    q
   20870 	  }
   20871 	  /^X\(\/\).*/{
   20872 	    s//\1/
   20873 	    q
   20874 	  }
   20875 	  s/.*/./; q'`
   20876     else
   20877       continue
   20878     fi
   20879     # Extract the definition of DEPDIR, am__include, and am__quote
   20880     # from the Makefile without running 'make'.
   20881     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20882     test -z "$DEPDIR" && continue
   20883     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20884     test -z "$am__include" && continue
   20885     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20886     # Find all dependency output files, they are included files with
   20887     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20888     # simplest approach to changing $(DEPDIR) to its actual value in the
   20889     # expansion.
   20890     for file in `sed -n "
   20891       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20892 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20893       # Make sure the directory exists.
   20894       test -f "$dirpart/$file" && continue
   20895       fdir=`$as_dirname -- "$file" ||
   20896 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20897 	 X"$file" : 'X\(//\)[^/]' \| \
   20898 	 X"$file" : 'X\(//\)$' \| \
   20899 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20900 $as_echo X"$file" |
   20901     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20902 	    s//\1/
   20903 	    q
   20904 	  }
   20905 	  /^X\(\/\/\)[^/].*/{
   20906 	    s//\1/
   20907 	    q
   20908 	  }
   20909 	  /^X\(\/\/\)$/{
   20910 	    s//\1/
   20911 	    q
   20912 	  }
   20913 	  /^X\(\/\).*/{
   20914 	    s//\1/
   20915 	    q
   20916 	  }
   20917 	  s/.*/./; q'`
   20918       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20919       # echo "creating $dirpart/$file"
   20920       echo '# dummy' > "$dirpart/$file"
   20921     done
   20922   done
   20923 }
   20924  ;;
   20925     "libtool":C)
   20926 
   20927     # See if we are running on zsh, and set the options that allow our
   20928     # commands through without removal of \ escapes.
   20929     if test -n "${ZSH_VERSION+set}"; then
   20930       setopt NO_GLOB_SUBST
   20931     fi
   20932 
   20933     cfgfile=${ofile}T
   20934     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20935     $RM "$cfgfile"
   20936 
   20937     cat <<_LT_EOF >> "$cfgfile"
   20938 #! $SHELL
   20939 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20940 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20941 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20942 
   20943 # Provide generalized library-building support services.
   20944 # Written by Gordon Matzigkeit, 1996
   20945 
   20946 # Copyright (C) 2014 Free Software Foundation, Inc.
   20947 # This is free software; see the source for copying conditions.  There is NO
   20948 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20949 
   20950 # GNU Libtool is free software; you can redistribute it and/or modify
   20951 # it under the terms of the GNU General Public License as published by
   20952 # the Free Software Foundation; either version 2 of of the License, or
   20953 # (at your option) any later version.
   20954 #
   20955 # As a special exception to the GNU General Public License, if you
   20956 # distribute this file as part of a program or library that is built
   20957 # using GNU Libtool, you may include this file under the  same
   20958 # distribution terms that you use for the rest of that program.
   20959 #
   20960 # GNU Libtool is distributed in the hope that it will be useful, but
   20961 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20962 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20963 # GNU General Public License for more details.
   20964 #
   20965 # You should have received a copy of the GNU General Public License
   20966 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20967 
   20968 
   20969 # The names of the tagged configurations supported by this script.
   20970 available_tags=''
   20971 
   20972 # Configured defaults for sys_lib_dlsearch_path munging.
   20973 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20974 
   20975 # ### BEGIN LIBTOOL CONFIG
   20976 
   20977 # Whether or not to build static libraries.
   20978 build_old_libs=$enable_static
   20979 
   20980 # Which release of libtool.m4 was used?
   20981 macro_version=$macro_version
   20982 macro_revision=$macro_revision
   20983 
   20984 # Whether or not to build shared libraries.
   20985 build_libtool_libs=$enable_shared
   20986 
   20987 # What type of objects to build.
   20988 pic_mode=$pic_mode
   20989 
   20990 # Whether or not to optimize for fast installation.
   20991 fast_install=$enable_fast_install
   20992 
   20993 # Shared archive member basename,for filename based shared library versioning on AIX.
   20994 shared_archive_member_spec=$shared_archive_member_spec
   20995 
   20996 # Shell to use when invoking shell scripts.
   20997 SHELL=$lt_SHELL
   20998 
   20999 # An echo program that protects backslashes.
   21000 ECHO=$lt_ECHO
   21001 
   21002 # The PATH separator for the build system.
   21003 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21004 
   21005 # The host system.
   21006 host_alias=$host_alias
   21007 host=$host
   21008 host_os=$host_os
   21009 
   21010 # The build system.
   21011 build_alias=$build_alias
   21012 build=$build
   21013 build_os=$build_os
   21014 
   21015 # A sed program that does not truncate output.
   21016 SED=$lt_SED
   21017 
   21018 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21019 Xsed="\$SED -e 1s/^X//"
   21020 
   21021 # A grep program that handles long lines.
   21022 GREP=$lt_GREP
   21023 
   21024 # An ERE matcher.
   21025 EGREP=$lt_EGREP
   21026 
   21027 # A literal string matcher.
   21028 FGREP=$lt_FGREP
   21029 
   21030 # A BSD- or MS-compatible name lister.
   21031 NM=$lt_NM
   21032 
   21033 # Whether we need soft or hard links.
   21034 LN_S=$lt_LN_S
   21035 
   21036 # What is the maximum length of a command?
   21037 max_cmd_len=$max_cmd_len
   21038 
   21039 # Object file suffix (normally "o").
   21040 objext=$ac_objext
   21041 
   21042 # Executable file suffix (normally "").
   21043 exeext=$exeext
   21044 
   21045 # whether the shell understands "unset".
   21046 lt_unset=$lt_unset
   21047 
   21048 # turn spaces into newlines.
   21049 SP2NL=$lt_lt_SP2NL
   21050 
   21051 # turn newlines into spaces.
   21052 NL2SP=$lt_lt_NL2SP
   21053 
   21054 # convert \$build file names to \$host format.
   21055 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21056 
   21057 # convert \$build files to toolchain format.
   21058 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21059 
   21060 # An object symbol dumper.
   21061 OBJDUMP=$lt_OBJDUMP
   21062 
   21063 # Method to check whether dependent libraries are shared objects.
   21064 deplibs_check_method=$lt_deplibs_check_method
   21065 
   21066 # Command to use when deplibs_check_method = "file_magic".
   21067 file_magic_cmd=$lt_file_magic_cmd
   21068 
   21069 # How to find potential files when deplibs_check_method = "file_magic".
   21070 file_magic_glob=$lt_file_magic_glob
   21071 
   21072 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21073 want_nocaseglob=$lt_want_nocaseglob
   21074 
   21075 # DLL creation program.
   21076 DLLTOOL=$lt_DLLTOOL
   21077 
   21078 # Command to associate shared and link libraries.
   21079 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21080 
   21081 # The archiver.
   21082 AR=$lt_AR
   21083 
   21084 # Flags to create an archive.
   21085 AR_FLAGS=$lt_AR_FLAGS
   21086 
   21087 # How to feed a file listing to the archiver.
   21088 archiver_list_spec=$lt_archiver_list_spec
   21089 
   21090 # A symbol stripping program.
   21091 STRIP=$lt_STRIP
   21092 
   21093 # Commands used to install an old-style archive.
   21094 RANLIB=$lt_RANLIB
   21095 old_postinstall_cmds=$lt_old_postinstall_cmds
   21096 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21097 
   21098 # Whether to use a lock for old archive extraction.
   21099 lock_old_archive_extraction=$lock_old_archive_extraction
   21100 
   21101 # A C compiler.
   21102 LTCC=$lt_CC
   21103 
   21104 # LTCC compiler flags.
   21105 LTCFLAGS=$lt_CFLAGS
   21106 
   21107 # Take the output of nm and produce a listing of raw symbols and C names.
   21108 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21109 
   21110 # Transform the output of nm in a proper C declaration.
   21111 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21112 
   21113 # Transform the output of nm into a list of symbols to manually relocate.
   21114 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21115 
   21116 # Transform the output of nm in a C name address pair.
   21117 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21118 
   21119 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21120 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21121 
   21122 # The name lister interface.
   21123 nm_interface=$lt_lt_cv_nm_interface
   21124 
   21125 # Specify filename containing input files for \$NM.
   21126 nm_file_list_spec=$lt_nm_file_list_spec
   21127 
   21128 # The root where to search for dependent libraries,and where our libraries should be installed.
   21129 lt_sysroot=$lt_sysroot
   21130 
   21131 # Command to truncate a binary pipe.
   21132 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21133 
   21134 # The name of the directory that contains temporary libtool files.
   21135 objdir=$objdir
   21136 
   21137 # Used to examine libraries when file_magic_cmd begins with "file".
   21138 MAGIC_CMD=$MAGIC_CMD
   21139 
   21140 # Must we lock files when doing compilation?
   21141 need_locks=$lt_need_locks
   21142 
   21143 # Manifest tool.
   21144 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21145 
   21146 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21147 DSYMUTIL=$lt_DSYMUTIL
   21148 
   21149 # Tool to change global to local symbols on Mac OS X.
   21150 NMEDIT=$lt_NMEDIT
   21151 
   21152 # Tool to manipulate fat objects and archives on Mac OS X.
   21153 LIPO=$lt_LIPO
   21154 
   21155 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21156 OTOOL=$lt_OTOOL
   21157 
   21158 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21159 OTOOL64=$lt_OTOOL64
   21160 
   21161 # Old archive suffix (normally "a").
   21162 libext=$libext
   21163 
   21164 # Shared library suffix (normally ".so").
   21165 shrext_cmds=$lt_shrext_cmds
   21166 
   21167 # The commands to extract the exported symbol list from a shared archive.
   21168 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21169 
   21170 # Variables whose values should be saved in libtool wrapper scripts and
   21171 # restored at link time.
   21172 variables_saved_for_relink=$lt_variables_saved_for_relink
   21173 
   21174 # Do we need the "lib" prefix for modules?
   21175 need_lib_prefix=$need_lib_prefix
   21176 
   21177 # Do we need a version for libraries?
   21178 need_version=$need_version
   21179 
   21180 # Library versioning type.
   21181 version_type=$version_type
   21182 
   21183 # Shared library runtime path variable.
   21184 runpath_var=$runpath_var
   21185 
   21186 # Shared library path variable.
   21187 shlibpath_var=$shlibpath_var
   21188 
   21189 # Is shlibpath searched before the hard-coded library search path?
   21190 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21191 
   21192 # Format of library name prefix.
   21193 libname_spec=$lt_libname_spec
   21194 
   21195 # List of archive names.  First name is the real one, the rest are links.
   21196 # The last name is the one that the linker finds with -lNAME
   21197 library_names_spec=$lt_library_names_spec
   21198 
   21199 # The coded name of the library, if different from the real name.
   21200 soname_spec=$lt_soname_spec
   21201 
   21202 # Permission mode override for installation of shared libraries.
   21203 install_override_mode=$lt_install_override_mode
   21204 
   21205 # Command to use after installation of a shared archive.
   21206 postinstall_cmds=$lt_postinstall_cmds
   21207 
   21208 # Command to use after uninstallation of a shared archive.
   21209 postuninstall_cmds=$lt_postuninstall_cmds
   21210 
   21211 # Commands used to finish a libtool library installation in a directory.
   21212 finish_cmds=$lt_finish_cmds
   21213 
   21214 # As "finish_cmds", except a single script fragment to be evaled but
   21215 # not shown.
   21216 finish_eval=$lt_finish_eval
   21217 
   21218 # Whether we should hardcode library paths into libraries.
   21219 hardcode_into_libs=$hardcode_into_libs
   21220 
   21221 # Compile-time system search path for libraries.
   21222 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21223 
   21224 # Detected run-time system search path for libraries.
   21225 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21226 
   21227 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21228 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21229 
   21230 # Whether dlopen is supported.
   21231 dlopen_support=$enable_dlopen
   21232 
   21233 # Whether dlopen of programs is supported.
   21234 dlopen_self=$enable_dlopen_self
   21235 
   21236 # Whether dlopen of statically linked programs is supported.
   21237 dlopen_self_static=$enable_dlopen_self_static
   21238 
   21239 # Commands to strip libraries.
   21240 old_striplib=$lt_old_striplib
   21241 striplib=$lt_striplib
   21242 
   21243 
   21244 # The linker used to build libraries.
   21245 LD=$lt_LD
   21246 
   21247 # How to create reloadable object files.
   21248 reload_flag=$lt_reload_flag
   21249 reload_cmds=$lt_reload_cmds
   21250 
   21251 # Commands used to build an old-style archive.
   21252 old_archive_cmds=$lt_old_archive_cmds
   21253 
   21254 # A language specific compiler.
   21255 CC=$lt_compiler
   21256 
   21257 # Is the compiler the GNU compiler?
   21258 with_gcc=$GCC
   21259 
   21260 # Compiler flag to turn off builtin functions.
   21261 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21262 
   21263 # Additional compiler flags for building library objects.
   21264 pic_flag=$lt_lt_prog_compiler_pic
   21265 
   21266 # How to pass a linker flag through the compiler.
   21267 wl=$lt_lt_prog_compiler_wl
   21268 
   21269 # Compiler flag to prevent dynamic linking.
   21270 link_static_flag=$lt_lt_prog_compiler_static
   21271 
   21272 # Does compiler simultaneously support -c and -o options?
   21273 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21274 
   21275 # Whether or not to add -lc for building shared libraries.
   21276 build_libtool_need_lc=$archive_cmds_need_lc
   21277 
   21278 # Whether or not to disallow shared libs when runtime libs are static.
   21279 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21280 
   21281 # Compiler flag to allow reflexive dlopens.
   21282 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21283 
   21284 # Compiler flag to generate shared objects directly from archives.
   21285 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21286 
   21287 # Whether the compiler copes with passing no objects directly.
   21288 compiler_needs_object=$lt_compiler_needs_object
   21289 
   21290 # Create an old-style archive from a shared archive.
   21291 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21292 
   21293 # Create a temporary old-style archive to link instead of a shared archive.
   21294 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21295 
   21296 # Commands used to build a shared archive.
   21297 archive_cmds=$lt_archive_cmds
   21298 archive_expsym_cmds=$lt_archive_expsym_cmds
   21299 
   21300 # Commands used to build a loadable module if different from building
   21301 # a shared archive.
   21302 module_cmds=$lt_module_cmds
   21303 module_expsym_cmds=$lt_module_expsym_cmds
   21304 
   21305 # Whether we are building with GNU ld or not.
   21306 with_gnu_ld=$lt_with_gnu_ld
   21307 
   21308 # Flag that allows shared libraries with undefined symbols to be built.
   21309 allow_undefined_flag=$lt_allow_undefined_flag
   21310 
   21311 # Flag that enforces no undefined symbols.
   21312 no_undefined_flag=$lt_no_undefined_flag
   21313 
   21314 # Flag to hardcode \$libdir into a binary during linking.
   21315 # This must work even if \$libdir does not exist
   21316 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21317 
   21318 # Whether we need a single "-rpath" flag with a separated argument.
   21319 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21320 
   21321 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21322 # DIR into the resulting binary.
   21323 hardcode_direct=$hardcode_direct
   21324 
   21325 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21326 # DIR into the resulting binary and the resulting library dependency is
   21327 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21328 # library is relocated.
   21329 hardcode_direct_absolute=$hardcode_direct_absolute
   21330 
   21331 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21332 # into the resulting binary.
   21333 hardcode_minus_L=$hardcode_minus_L
   21334 
   21335 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21336 # into the resulting binary.
   21337 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21338 
   21339 # Set to "yes" if building a shared library automatically hardcodes DIR
   21340 # into the library and all subsequent libraries and executables linked
   21341 # against it.
   21342 hardcode_automatic=$hardcode_automatic
   21343 
   21344 # Set to yes if linker adds runtime paths of dependent libraries
   21345 # to runtime path list.
   21346 inherit_rpath=$inherit_rpath
   21347 
   21348 # Whether libtool must link a program against all its dependency libraries.
   21349 link_all_deplibs=$link_all_deplibs
   21350 
   21351 # Set to "yes" if exported symbols are required.
   21352 always_export_symbols=$always_export_symbols
   21353 
   21354 # The commands to list exported symbols.
   21355 export_symbols_cmds=$lt_export_symbols_cmds
   21356 
   21357 # Symbols that should not be listed in the preloaded symbols.
   21358 exclude_expsyms=$lt_exclude_expsyms
   21359 
   21360 # Symbols that must always be exported.
   21361 include_expsyms=$lt_include_expsyms
   21362 
   21363 # Commands necessary for linking programs (against libraries) with templates.
   21364 prelink_cmds=$lt_prelink_cmds
   21365 
   21366 # Commands necessary for finishing linking programs.
   21367 postlink_cmds=$lt_postlink_cmds
   21368 
   21369 # Specify filename containing input files.
   21370 file_list_spec=$lt_file_list_spec
   21371 
   21372 # How to hardcode a shared library path into an executable.
   21373 hardcode_action=$hardcode_action
   21374 
   21375 # ### END LIBTOOL CONFIG
   21376 
   21377 _LT_EOF
   21378 
   21379     cat <<'_LT_EOF' >> "$cfgfile"
   21380 
   21381 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21382 
   21383 # func_munge_path_list VARIABLE PATH
   21384 # -----------------------------------
   21385 # VARIABLE is name of variable containing _space_ separated list of
   21386 # directories to be munged by the contents of PATH, which is string
   21387 # having a format:
   21388 # "DIR[:DIR]:"
   21389 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21390 # ":DIR[:DIR]"
   21391 #       string "DIR[ DIR]" will be appended to VARIABLE
   21392 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21393 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21394 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21395 # "DIR[:DIR]"
   21396 #       VARIABLE will be replaced by "DIR[ DIR]"
   21397 func_munge_path_list ()
   21398 {
   21399     case x$2 in
   21400     x)
   21401         ;;
   21402     *:)
   21403         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21404         ;;
   21405     x:*)
   21406         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21407         ;;
   21408     *::*)
   21409         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21410         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21411         ;;
   21412     *)
   21413         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21414         ;;
   21415     esac
   21416 }
   21417 
   21418 
   21419 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21420 func_cc_basename ()
   21421 {
   21422     for cc_temp in $*""; do
   21423       case $cc_temp in
   21424         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21425         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21426         \-*) ;;
   21427         *) break;;
   21428       esac
   21429     done
   21430     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21431 }
   21432 
   21433 
   21434 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21435 
   21436 _LT_EOF
   21437 
   21438   case $host_os in
   21439   aix3*)
   21440     cat <<\_LT_EOF >> "$cfgfile"
   21441 # AIX sometimes has problems with the GCC collect2 program.  For some
   21442 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21443 # vanish in a puff of smoke.
   21444 if test set != "${COLLECT_NAMES+set}"; then
   21445   COLLECT_NAMES=
   21446   export COLLECT_NAMES
   21447 fi
   21448 _LT_EOF
   21449     ;;
   21450   esac
   21451 
   21452 
   21453 ltmain=$ac_aux_dir/ltmain.sh
   21454 
   21455 
   21456   # We use sed instead of cat because bash on DJGPP gets confused if
   21457   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21458   # text mode, it properly converts lines to CR/LF.  This bash problem
   21459   # is reportedly fixed, but why not run on old versions too?
   21460   sed '$q' "$ltmain" >> "$cfgfile" \
   21461      || (rm -f "$cfgfile"; exit 1)
   21462 
   21463    mv -f "$cfgfile" "$ofile" ||
   21464     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21465   chmod +x "$ofile"
   21466 
   21467  ;;
   21468 
   21469   esac
   21470 done # for ac_tag
   21471 
   21472 
   21473 as_fn_exit 0
   21474 _ACEOF
   21475 ac_clean_files=$ac_clean_files_save
   21476 
   21477 test $ac_write_fail = 0 ||
   21478   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21479 
   21480 
   21481 # configure is writing to config.log, and then calls config.status.
   21482 # config.status does its own redirection, appending to config.log.
   21483 # Unfortunately, on DOS this fails, as config.log is still kept open
   21484 # by configure, so config.status won't be able to write to it; its
   21485 # output is simply discarded.  So we exec the FD to /dev/null,
   21486 # effectively closing config.log, so it can be properly (re)opened and
   21487 # appended to by config.status.  When coming back to configure, we
   21488 # need to make the FD available again.
   21489 if test "$no_create" != yes; then
   21490   ac_cs_success=:
   21491   ac_config_status_args=
   21492   test "$silent" = yes &&
   21493     ac_config_status_args="$ac_config_status_args --quiet"
   21494   exec 5>/dev/null
   21495   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21496   exec 5>>config.log
   21497   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21498   # would make configure fail if this is the last instruction.
   21499   $ac_cs_success || as_fn_exit 1
   21500 fi
   21501 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21502   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21503 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21504 fi
   21505 
   21506