Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-sunffb 1.2.2.
      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-sunffb'
    593 PACKAGE_TARNAME='xf86-video-sunffb'
    594 PACKAGE_VERSION='1.2.2'
    595 PACKAGE_STRING='xf86-video-sunffb 1.2.2'
    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 SPARC_FALSE
    643 SPARC_TRUE
    644 XAA_FALSE
    645 XAA_TRUE
    646 HAVE_XEXTPROTO_71_FALSE
    647 HAVE_XEXTPROTO_71_TRUE
    648 XEXT_LIBS
    649 XEXT_CFLAGS
    650 XORG_LIBS
    651 XORG_CFLAGS
    652 am__fastdepCCAS_FALSE
    653 am__fastdepCCAS_TRUE
    654 CCASDEPMODE
    655 CCASFLAGS
    656 CCAS
    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 AM_BACKSLASH
    676 AM_DEFAULT_VERBOSITY
    677 AM_DEFAULT_V
    678 AM_V
    679 MAN_SUBSTS
    680 XORG_MAN_PAGE
    681 ADMIN_MAN_DIR
    682 DRIVER_MAN_DIR
    683 MISC_MAN_DIR
    684 FILE_MAN_DIR
    685 LIB_MAN_DIR
    686 APP_MAN_DIR
    687 ADMIN_MAN_SUFFIX
    688 DRIVER_MAN_SUFFIX
    689 MISC_MAN_SUFFIX
    690 FILE_MAN_SUFFIX
    691 LIB_MAN_SUFFIX
    692 APP_MAN_SUFFIX
    693 SED
    694 host_os
    695 host_vendor
    696 host_cpu
    697 host
    698 build_os
    699 build_vendor
    700 build_cpu
    701 build
    702 INSTALL_CMD
    703 PKG_CONFIG_LIBDIR
    704 PKG_CONFIG_PATH
    705 PKG_CONFIG
    706 CHANGELOG_CMD
    707 STRICT_CFLAGS
    708 CWARNFLAGS
    709 BASE_CFLAGS
    710 EGREP
    711 GREP
    712 CPP
    713 am__fastdepCC_FALSE
    714 am__fastdepCC_TRUE
    715 CCDEPMODE
    716 am__nodep
    717 AMDEPBACKSLASH
    718 AMDEP_FALSE
    719 AMDEP_TRUE
    720 am__quote
    721 am__include
    722 DEPDIR
    723 OBJEXT
    724 EXEEXT
    725 ac_ct_CC
    726 CPPFLAGS
    727 LDFLAGS
    728 CFLAGS
    729 CC
    730 MAINT
    731 MAINTAINER_MODE_FALSE
    732 MAINTAINER_MODE_TRUE
    733 am__untar
    734 am__tar
    735 AMTAR
    736 am__leading_dot
    737 SET_MAKE
    738 AWK
    739 mkdir_p
    740 MKDIR_P
    741 INSTALL_STRIP_PROGRAM
    742 STRIP
    743 install_sh
    744 MAKEINFO
    745 AUTOHEADER
    746 AUTOMAKE
    747 AUTOCONF
    748 ACLOCAL
    749 VERSION
    750 PACKAGE
    751 CYGPATH_W
    752 am__isrc
    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_maintainer_mode
    798 enable_dependency_tracking
    799 enable_selective_werror
    800 enable_strict_compilation
    801 enable_silent_rules
    802 enable_static
    803 enable_shared
    804 with_pic
    805 enable_fast_install
    806 with_gnu_ld
    807 with_sysroot
    808 enable_libtool_lock
    809 with_xorg_module_dir
    810 enable_xaa
    811 '
    812       ac_precious_vars='build_alias
    813 host_alias
    814 target_alias
    815 CC
    816 CFLAGS
    817 LDFLAGS
    818 LIBS
    819 CPPFLAGS
    820 CPP
    821 PKG_CONFIG
    822 PKG_CONFIG_PATH
    823 PKG_CONFIG_LIBDIR
    824 CCAS
    825 CCASFLAGS
    826 XORG_CFLAGS
    827 XORG_LIBS
    828 XEXT_CFLAGS
    829 XEXT_LIBS'
    830 
    831 
    832 # Initialize some variables set by options.
    833 ac_init_help=
    834 ac_init_version=false
    835 ac_unrecognized_opts=
    836 ac_unrecognized_sep=
    837 # The variables have the same names as the options, with
    838 # dashes changed to underlines.
    839 cache_file=/dev/null
    840 exec_prefix=NONE
    841 no_create=
    842 no_recursion=
    843 prefix=NONE
    844 program_prefix=NONE
    845 program_suffix=NONE
    846 program_transform_name=s,x,x,
    847 silent=
    848 site=
    849 srcdir=
    850 verbose=
    851 x_includes=NONE
    852 x_libraries=NONE
    853 
    854 # Installation directory options.
    855 # These are left unexpanded so users can "make install exec_prefix=/foo"
    856 # and all the variables that are supposed to be based on exec_prefix
    857 # by default will actually change.
    858 # Use braces instead of parens because sh, perl, etc. also accept them.
    859 # (The list follows the same order as the GNU Coding Standards.)
    860 bindir='${exec_prefix}/bin'
    861 sbindir='${exec_prefix}/sbin'
    862 libexecdir='${exec_prefix}/libexec'
    863 datarootdir='${prefix}/share'
    864 datadir='${datarootdir}'
    865 sysconfdir='${prefix}/etc'
    866 sharedstatedir='${prefix}/com'
    867 localstatedir='${prefix}/var'
    868 includedir='${prefix}/include'
    869 oldincludedir='/usr/include'
    870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    871 infodir='${datarootdir}/info'
    872 htmldir='${docdir}'
    873 dvidir='${docdir}'
    874 pdfdir='${docdir}'
    875 psdir='${docdir}'
    876 libdir='${exec_prefix}/lib'
    877 localedir='${datarootdir}/locale'
    878 mandir='${datarootdir}/man'
    879 
    880 ac_prev=
    881 ac_dashdash=
    882 for ac_option
    883 do
    884   # If the previous option needs an argument, assign it.
    885   if test -n "$ac_prev"; then
    886     eval $ac_prev=\$ac_option
    887     ac_prev=
    888     continue
    889   fi
    890 
    891   case $ac_option in
    892   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    893   *=)   ac_optarg= ;;
    894   *)    ac_optarg=yes ;;
    895   esac
    896 
    897   # Accept the important Cygnus configure options, so we can diagnose typos.
    898 
    899   case $ac_dashdash$ac_option in
    900   --)
    901     ac_dashdash=yes ;;
    902 
    903   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    904     ac_prev=bindir ;;
    905   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    906     bindir=$ac_optarg ;;
    907 
    908   -build | --build | --buil | --bui | --bu)
    909     ac_prev=build_alias ;;
    910   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    911     build_alias=$ac_optarg ;;
    912 
    913   -cache-file | --cache-file | --cache-fil | --cache-fi \
    914   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    915     ac_prev=cache_file ;;
    916   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    917   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    918     cache_file=$ac_optarg ;;
    919 
    920   --config-cache | -C)
    921     cache_file=config.cache ;;
    922 
    923   -datadir | --datadir | --datadi | --datad)
    924     ac_prev=datadir ;;
    925   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    926     datadir=$ac_optarg ;;
    927 
    928   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    929   | --dataroo | --dataro | --datar)
    930     ac_prev=datarootdir ;;
    931   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    932   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    933     datarootdir=$ac_optarg ;;
    934 
    935   -disable-* | --disable-*)
    936     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    937     # Reject names that are not valid shell variable names.
    938     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    939       as_fn_error $? "invalid feature name: $ac_useropt"
    940     ac_useropt_orig=$ac_useropt
    941     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    942     case $ac_user_opts in
    943       *"
    944 "enable_$ac_useropt"
    945 "*) ;;
    946       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    947 	 ac_unrecognized_sep=', ';;
    948     esac
    949     eval enable_$ac_useropt=no ;;
    950 
    951   -docdir | --docdir | --docdi | --doc | --do)
    952     ac_prev=docdir ;;
    953   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    954     docdir=$ac_optarg ;;
    955 
    956   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    957     ac_prev=dvidir ;;
    958   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    959     dvidir=$ac_optarg ;;
    960 
    961   -enable-* | --enable-*)
    962     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    963     # Reject names that are not valid shell variable names.
    964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    965       as_fn_error $? "invalid feature name: $ac_useropt"
    966     ac_useropt_orig=$ac_useropt
    967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    968     case $ac_user_opts in
    969       *"
    970 "enable_$ac_useropt"
    971 "*) ;;
    972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    973 	 ac_unrecognized_sep=', ';;
    974     esac
    975     eval enable_$ac_useropt=\$ac_optarg ;;
    976 
    977   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    978   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    979   | --exec | --exe | --ex)
    980     ac_prev=exec_prefix ;;
    981   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    982   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    983   | --exec=* | --exe=* | --ex=*)
    984     exec_prefix=$ac_optarg ;;
    985 
    986   -gas | --gas | --ga | --g)
    987     # Obsolete; use --with-gas.
    988     with_gas=yes ;;
    989 
    990   -help | --help | --hel | --he | -h)
    991     ac_init_help=long ;;
    992   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    993     ac_init_help=recursive ;;
    994   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    995     ac_init_help=short ;;
    996 
    997   -host | --host | --hos | --ho)
    998     ac_prev=host_alias ;;
    999   -host=* | --host=* | --hos=* | --ho=*)
   1000     host_alias=$ac_optarg ;;
   1001 
   1002   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1003     ac_prev=htmldir ;;
   1004   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1005   | --ht=*)
   1006     htmldir=$ac_optarg ;;
   1007 
   1008   -includedir | --includedir | --includedi | --included | --include \
   1009   | --includ | --inclu | --incl | --inc)
   1010     ac_prev=includedir ;;
   1011   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1012   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1013     includedir=$ac_optarg ;;
   1014 
   1015   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1016     ac_prev=infodir ;;
   1017   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1018     infodir=$ac_optarg ;;
   1019 
   1020   -libdir | --libdir | --libdi | --libd)
   1021     ac_prev=libdir ;;
   1022   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1023     libdir=$ac_optarg ;;
   1024 
   1025   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1026   | --libexe | --libex | --libe)
   1027     ac_prev=libexecdir ;;
   1028   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1029   | --libexe=* | --libex=* | --libe=*)
   1030     libexecdir=$ac_optarg ;;
   1031 
   1032   -localedir | --localedir | --localedi | --localed | --locale)
   1033     ac_prev=localedir ;;
   1034   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1035     localedir=$ac_optarg ;;
   1036 
   1037   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1038   | --localstate | --localstat | --localsta | --localst | --locals)
   1039     ac_prev=localstatedir ;;
   1040   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1041   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1042     localstatedir=$ac_optarg ;;
   1043 
   1044   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1045     ac_prev=mandir ;;
   1046   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1047     mandir=$ac_optarg ;;
   1048 
   1049   -nfp | --nfp | --nf)
   1050     # Obsolete; use --without-fp.
   1051     with_fp=no ;;
   1052 
   1053   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1054   | --no-cr | --no-c | -n)
   1055     no_create=yes ;;
   1056 
   1057   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1058   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1059     no_recursion=yes ;;
   1060 
   1061   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1062   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1063   | --oldin | --oldi | --old | --ol | --o)
   1064     ac_prev=oldincludedir ;;
   1065   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1066   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1067   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1068     oldincludedir=$ac_optarg ;;
   1069 
   1070   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1071     ac_prev=prefix ;;
   1072   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1073     prefix=$ac_optarg ;;
   1074 
   1075   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1076   | --program-pre | --program-pr | --program-p)
   1077     ac_prev=program_prefix ;;
   1078   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1079   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1080     program_prefix=$ac_optarg ;;
   1081 
   1082   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1083   | --program-suf | --program-su | --program-s)
   1084     ac_prev=program_suffix ;;
   1085   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1086   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1087     program_suffix=$ac_optarg ;;
   1088 
   1089   -program-transform-name | --program-transform-name \
   1090   | --program-transform-nam | --program-transform-na \
   1091   | --program-transform-n | --program-transform- \
   1092   | --program-transform | --program-transfor \
   1093   | --program-transfo | --program-transf \
   1094   | --program-trans | --program-tran \
   1095   | --progr-tra | --program-tr | --program-t)
   1096     ac_prev=program_transform_name ;;
   1097   -program-transform-name=* | --program-transform-name=* \
   1098   | --program-transform-nam=* | --program-transform-na=* \
   1099   | --program-transform-n=* | --program-transform-=* \
   1100   | --program-transform=* | --program-transfor=* \
   1101   | --program-transfo=* | --program-transf=* \
   1102   | --program-trans=* | --program-tran=* \
   1103   | --progr-tra=* | --program-tr=* | --program-t=*)
   1104     program_transform_name=$ac_optarg ;;
   1105 
   1106   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1107     ac_prev=pdfdir ;;
   1108   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1109     pdfdir=$ac_optarg ;;
   1110 
   1111   -psdir | --psdir | --psdi | --psd | --ps)
   1112     ac_prev=psdir ;;
   1113   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1114     psdir=$ac_optarg ;;
   1115 
   1116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1117   | -silent | --silent | --silen | --sile | --sil)
   1118     silent=yes ;;
   1119 
   1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1121     ac_prev=sbindir ;;
   1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1123   | --sbi=* | --sb=*)
   1124     sbindir=$ac_optarg ;;
   1125 
   1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1128   | --sharedst | --shareds | --shared | --share | --shar \
   1129   | --sha | --sh)
   1130     ac_prev=sharedstatedir ;;
   1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1134   | --sha=* | --sh=*)
   1135     sharedstatedir=$ac_optarg ;;
   1136 
   1137   -site | --site | --sit)
   1138     ac_prev=site ;;
   1139   -site=* | --site=* | --sit=*)
   1140     site=$ac_optarg ;;
   1141 
   1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1143     ac_prev=srcdir ;;
   1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1145     srcdir=$ac_optarg ;;
   1146 
   1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1148   | --syscon | --sysco | --sysc | --sys | --sy)
   1149     ac_prev=sysconfdir ;;
   1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1152     sysconfdir=$ac_optarg ;;
   1153 
   1154   -target | --target | --targe | --targ | --tar | --ta | --t)
   1155     ac_prev=target_alias ;;
   1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1157     target_alias=$ac_optarg ;;
   1158 
   1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1160     verbose=yes ;;
   1161 
   1162   -version | --version | --versio | --versi | --vers | -V)
   1163     ac_init_version=: ;;
   1164 
   1165   -with-* | --with-*)
   1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1167     # Reject names that are not valid shell variable names.
   1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1169       as_fn_error $? "invalid package name: $ac_useropt"
   1170     ac_useropt_orig=$ac_useropt
   1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1172     case $ac_user_opts in
   1173       *"
   1174 "with_$ac_useropt"
   1175 "*) ;;
   1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1177 	 ac_unrecognized_sep=', ';;
   1178     esac
   1179     eval with_$ac_useropt=\$ac_optarg ;;
   1180 
   1181   -without-* | --without-*)
   1182     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1183     # Reject names that are not valid shell variable names.
   1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1185       as_fn_error $? "invalid package name: $ac_useropt"
   1186     ac_useropt_orig=$ac_useropt
   1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1188     case $ac_user_opts in
   1189       *"
   1190 "with_$ac_useropt"
   1191 "*) ;;
   1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1193 	 ac_unrecognized_sep=', ';;
   1194     esac
   1195     eval with_$ac_useropt=no ;;
   1196 
   1197   --x)
   1198     # Obsolete; use --with-x.
   1199     with_x=yes ;;
   1200 
   1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1202   | --x-incl | --x-inc | --x-in | --x-i)
   1203     ac_prev=x_includes ;;
   1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1206     x_includes=$ac_optarg ;;
   1207 
   1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1210     ac_prev=x_libraries ;;
   1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1213     x_libraries=$ac_optarg ;;
   1214 
   1215   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1216 Try \`$0 --help' for more information"
   1217     ;;
   1218 
   1219   *=*)
   1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1221     # Reject names that are not valid shell variable names.
   1222     case $ac_envvar in #(
   1223       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1224       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1225     esac
   1226     eval $ac_envvar=\$ac_optarg
   1227     export $ac_envvar ;;
   1228 
   1229   *)
   1230     # FIXME: should be removed in autoconf 3.0.
   1231     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1233       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1234     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1235     ;;
   1236 
   1237   esac
   1238 done
   1239 
   1240 if test -n "$ac_prev"; then
   1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1242   as_fn_error $? "missing argument to $ac_option"
   1243 fi
   1244 
   1245 if test -n "$ac_unrecognized_opts"; then
   1246   case $enable_option_checking in
   1247     no) ;;
   1248     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1249     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1250   esac
   1251 fi
   1252 
   1253 # Check all directory arguments for consistency.
   1254 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1255 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1256 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1257 		libdir localedir mandir
   1258 do
   1259   eval ac_val=\$$ac_var
   1260   # Remove trailing slashes.
   1261   case $ac_val in
   1262     */ )
   1263       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1264       eval $ac_var=\$ac_val;;
   1265   esac
   1266   # Be sure to have absolute directory names.
   1267   case $ac_val in
   1268     [\\/$]* | ?:[\\/]* )  continue;;
   1269     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1270   esac
   1271   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1272 done
   1273 
   1274 # There might be people who depend on the old broken behavior: `$host'
   1275 # used to hold the argument of --host etc.
   1276 # FIXME: To remove some day.
   1277 build=$build_alias
   1278 host=$host_alias
   1279 target=$target_alias
   1280 
   1281 # FIXME: To remove some day.
   1282 if test "x$host_alias" != x; then
   1283   if test "x$build_alias" = x; then
   1284     cross_compiling=maybe
   1285   elif test "x$build_alias" != "x$host_alias"; then
   1286     cross_compiling=yes
   1287   fi
   1288 fi
   1289 
   1290 ac_tool_prefix=
   1291 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1292 
   1293 test "$silent" = yes && exec 6>/dev/null
   1294 
   1295 
   1296 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1297 ac_ls_di=`ls -di .` &&
   1298 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1299   as_fn_error $? "working directory cannot be determined"
   1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1301   as_fn_error $? "pwd does not report name of working directory"
   1302 
   1303 
   1304 # Find the source files, if location was not specified.
   1305 if test -z "$srcdir"; then
   1306   ac_srcdir_defaulted=yes
   1307   # Try the directory containing this script, then the parent directory.
   1308   ac_confdir=`$as_dirname -- "$as_myself" ||
   1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1310 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1311 	 X"$as_myself" : 'X\(//\)$' \| \
   1312 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1313 $as_echo X"$as_myself" |
   1314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  /^X\(\/\/\)[^/].*/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)$/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\).*/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  s/.*/./; q'`
   1331   srcdir=$ac_confdir
   1332   if test ! -r "$srcdir/$ac_unique_file"; then
   1333     srcdir=..
   1334   fi
   1335 else
   1336   ac_srcdir_defaulted=no
   1337 fi
   1338 if test ! -r "$srcdir/$ac_unique_file"; then
   1339   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1340   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1341 fi
   1342 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1343 ac_abs_confdir=`(
   1344 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1345 	pwd)`
   1346 # When building in place, set srcdir=.
   1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1348   srcdir=.
   1349 fi
   1350 # Remove unnecessary trailing slashes from srcdir.
   1351 # Double slashes in file names in object file debugging info
   1352 # mess up M-x gdb in Emacs.
   1353 case $srcdir in
   1354 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1355 esac
   1356 for ac_var in $ac_precious_vars; do
   1357   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1358   eval ac_env_${ac_var}_value=\$${ac_var}
   1359   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1360   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1361 done
   1362 
   1363 #
   1364 # Report the --help message.
   1365 #
   1366 if test "$ac_init_help" = "long"; then
   1367   # Omit some internal or obsolete options to make the list less imposing.
   1368   # This message is too long to be a string in the A/UX 3.1 sh.
   1369   cat <<_ACEOF
   1370 \`configure' configures xf86-video-sunffb 1.2.2 to adapt to many kinds of systems.
   1371 
   1372 Usage: $0 [OPTION]... [VAR=VALUE]...
   1373 
   1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1375 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1376 
   1377 Defaults for the options are specified in brackets.
   1378 
   1379 Configuration:
   1380   -h, --help              display this help and exit
   1381       --help=short        display options specific to this package
   1382       --help=recursive    display the short help of all the included packages
   1383   -V, --version           display version information and exit
   1384   -q, --quiet, --silent   do not print \`checking ...' messages
   1385       --cache-file=FILE   cache test results in FILE [disabled]
   1386   -C, --config-cache      alias for \`--cache-file=config.cache'
   1387   -n, --no-create         do not create output files
   1388       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1389 
   1390 Installation directories:
   1391   --prefix=PREFIX         install architecture-independent files in PREFIX
   1392                           [$ac_default_prefix]
   1393   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1394                           [PREFIX]
   1395 
   1396 By default, \`make install' will install all the files in
   1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1399 for instance \`--prefix=\$HOME'.
   1400 
   1401 For better control, use the options below.
   1402 
   1403 Fine tuning of the installation directories:
   1404   --bindir=DIR            user executables [EPREFIX/bin]
   1405   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1406   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1407   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1408   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1409   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1410   --libdir=DIR            object code libraries [EPREFIX/lib]
   1411   --includedir=DIR        C header files [PREFIX/include]
   1412   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1413   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1414   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1415   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1416   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1417   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1418   --docdir=DIR            documentation root
   1419                           [DATAROOTDIR/doc/xf86-video-sunffb]
   1420   --htmldir=DIR           html documentation [DOCDIR]
   1421   --dvidir=DIR            dvi documentation [DOCDIR]
   1422   --pdfdir=DIR            pdf documentation [DOCDIR]
   1423   --psdir=DIR             ps documentation [DOCDIR]
   1424 _ACEOF
   1425 
   1426   cat <<\_ACEOF
   1427 
   1428 Program names:
   1429   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1430   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1431   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1432 
   1433 System types:
   1434   --build=BUILD     configure for building on BUILD [guessed]
   1435   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1436 _ACEOF
   1437 fi
   1438 
   1439 if test -n "$ac_init_help"; then
   1440   case $ac_init_help in
   1441      short | recursive ) echo "Configuration of xf86-video-sunffb 1.2.2:";;
   1442    esac
   1443   cat <<\_ACEOF
   1444 
   1445 Optional Features:
   1446   --disable-option-checking  ignore unrecognized --enable/--with options
   1447   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1448   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1449   --enable-maintainer-mode
   1450                           enable make rules and dependencies not useful (and
   1451                           sometimes confusing) to the casual installer
   1452   --enable-dependency-tracking
   1453                           do not reject slow dependency extractors
   1454   --disable-dependency-tracking
   1455                           speeds up one-time build
   1456   --disable-selective-werror
   1457                           Turn off selective compiler errors. (default:
   1458                           enabled)
   1459   --enable-strict-compilation
   1460                           Enable all warnings from compiler and make them
   1461                           errors (default: disabled)
   1462   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1463   --disable-silent-rules  verbose build output (undo: "make V=0")
   1464   --enable-static[=PKGS]  build static libraries [default=no]
   1465   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1466   --enable-fast-install[=PKGS]
   1467                           optimize for fast installation [default=yes]
   1468   --disable-libtool-lock  avoid locking (might break parallel builds)
   1469   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1470                           [default=auto]
   1471 
   1472 Optional Packages:
   1473   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1474   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1475   --with-pic              try to use only PIC/non-PIC objects [default=use
   1476                           both]
   1477   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1478   --with-sysroot=DIR Search for dependent libraries within DIR
   1479                         (or the compiler's sysroot if not specified).
   1480   --with-xorg-module-dir=DIR
   1481                           Default xorg module directory
   1482                           [[default=$libdir/xorg/modules]]
   1483 
   1484 Some influential environment variables:
   1485   CC          C compiler command
   1486   CFLAGS      C compiler flags
   1487   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1488               nonstandard directory <lib dir>
   1489   LIBS        libraries to pass to the linker, e.g. -l<library>
   1490   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1491               you have headers in a nonstandard directory <include dir>
   1492   CPP         C preprocessor
   1493   PKG_CONFIG  path to pkg-config utility
   1494   PKG_CONFIG_PATH
   1495               directories to add to pkg-config's search path
   1496   PKG_CONFIG_LIBDIR
   1497               path overriding pkg-config's built-in search path
   1498   CCAS        assembler compiler command (defaults to CC)
   1499   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1500   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1501   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1502   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1503   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1504 
   1505 Use these variables to override the choices made by `configure' or to help
   1506 it to find libraries and programs with nonstandard names/locations.
   1507 
   1508 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1509 _ACEOF
   1510 ac_status=$?
   1511 fi
   1512 
   1513 if test "$ac_init_help" = "recursive"; then
   1514   # If there are subdirs, report their specific --help.
   1515   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1516     test -d "$ac_dir" ||
   1517       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1518       continue
   1519     ac_builddir=.
   1520 
   1521 case "$ac_dir" in
   1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1523 *)
   1524   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1525   # A ".." for each directory in $ac_dir_suffix.
   1526   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1527   case $ac_top_builddir_sub in
   1528   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1529   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1530   esac ;;
   1531 esac
   1532 ac_abs_top_builddir=$ac_pwd
   1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1534 # for backward compatibility:
   1535 ac_top_builddir=$ac_top_build_prefix
   1536 
   1537 case $srcdir in
   1538   .)  # We are building in place.
   1539     ac_srcdir=.
   1540     ac_top_srcdir=$ac_top_builddir_sub
   1541     ac_abs_top_srcdir=$ac_pwd ;;
   1542   [\\/]* | ?:[\\/]* )  # Absolute name.
   1543     ac_srcdir=$srcdir$ac_dir_suffix;
   1544     ac_top_srcdir=$srcdir
   1545     ac_abs_top_srcdir=$srcdir ;;
   1546   *) # Relative name.
   1547     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1548     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1549     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1550 esac
   1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1552 
   1553     cd "$ac_dir" || { ac_status=$?; continue; }
   1554     # Check for guested configure.
   1555     if test -f "$ac_srcdir/configure.gnu"; then
   1556       echo &&
   1557       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1558     elif test -f "$ac_srcdir/configure"; then
   1559       echo &&
   1560       $SHELL "$ac_srcdir/configure" --help=recursive
   1561     else
   1562       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1563     fi || ac_status=$?
   1564     cd "$ac_pwd" || { ac_status=$?; break; }
   1565   done
   1566 fi
   1567 
   1568 test -n "$ac_init_help" && exit $ac_status
   1569 if $ac_init_version; then
   1570   cat <<\_ACEOF
   1571 xf86-video-sunffb configure 1.2.2
   1572 generated by GNU Autoconf 2.69
   1573 
   1574 Copyright (C) 2012 Free Software Foundation, Inc.
   1575 This configure script is free software; the Free Software Foundation
   1576 gives unlimited permission to copy, distribute and modify it.
   1577 _ACEOF
   1578   exit
   1579 fi
   1580 
   1581 ## ------------------------ ##
   1582 ## Autoconf initialization. ##
   1583 ## ------------------------ ##
   1584 
   1585 # ac_fn_c_try_compile LINENO
   1586 # --------------------------
   1587 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1588 ac_fn_c_try_compile ()
   1589 {
   1590   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1591   rm -f conftest.$ac_objext
   1592   if { { ac_try="$ac_compile"
   1593 case "(($ac_try" in
   1594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1595   *) ac_try_echo=$ac_try;;
   1596 esac
   1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1598 $as_echo "$ac_try_echo"; } >&5
   1599   (eval "$ac_compile") 2>conftest.err
   1600   ac_status=$?
   1601   if test -s conftest.err; then
   1602     grep -v '^ *+' conftest.err >conftest.er1
   1603     cat conftest.er1 >&5
   1604     mv -f conftest.er1 conftest.err
   1605   fi
   1606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1607   test $ac_status = 0; } && {
   1608 	 test -z "$ac_c_werror_flag" ||
   1609 	 test ! -s conftest.err
   1610        } && test -s conftest.$ac_objext; then :
   1611   ac_retval=0
   1612 else
   1613   $as_echo "$as_me: failed program was:" >&5
   1614 sed 's/^/| /' conftest.$ac_ext >&5
   1615 
   1616 	ac_retval=1
   1617 fi
   1618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1619   as_fn_set_status $ac_retval
   1620 
   1621 } # ac_fn_c_try_compile
   1622 
   1623 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1624 # ---------------------------------------------
   1625 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1626 # accordingly.
   1627 ac_fn_c_check_decl ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1631   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1633 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1634 if eval \${$3+:} false; then :
   1635   $as_echo_n "(cached) " >&6
   1636 else
   1637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1638 /* end confdefs.h.  */
   1639 $4
   1640 int
   1641 main ()
   1642 {
   1643 #ifndef $as_decl_name
   1644 #ifdef __cplusplus
   1645   (void) $as_decl_use;
   1646 #else
   1647   (void) $as_decl_name;
   1648 #endif
   1649 #endif
   1650 
   1651   ;
   1652   return 0;
   1653 }
   1654 _ACEOF
   1655 if ac_fn_c_try_compile "$LINENO"; then :
   1656   eval "$3=yes"
   1657 else
   1658   eval "$3=no"
   1659 fi
   1660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1661 fi
   1662 eval ac_res=\$$3
   1663 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1664 $as_echo "$ac_res" >&6; }
   1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1666 
   1667 } # ac_fn_c_check_decl
   1668 
   1669 # ac_fn_c_try_cpp LINENO
   1670 # ----------------------
   1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1672 ac_fn_c_try_cpp ()
   1673 {
   1674   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1675   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1676 case "(($ac_try" in
   1677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1678   *) ac_try_echo=$ac_try;;
   1679 esac
   1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1681 $as_echo "$ac_try_echo"; } >&5
   1682   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1683   ac_status=$?
   1684   if test -s conftest.err; then
   1685     grep -v '^ *+' conftest.err >conftest.er1
   1686     cat conftest.er1 >&5
   1687     mv -f conftest.er1 conftest.err
   1688   fi
   1689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1690   test $ac_status = 0; } > conftest.i && {
   1691 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1692 	 test ! -s conftest.err
   1693        }; then :
   1694   ac_retval=0
   1695 else
   1696   $as_echo "$as_me: failed program was:" >&5
   1697 sed 's/^/| /' conftest.$ac_ext >&5
   1698 
   1699     ac_retval=1
   1700 fi
   1701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1702   as_fn_set_status $ac_retval
   1703 
   1704 } # ac_fn_c_try_cpp
   1705 
   1706 # ac_fn_c_try_run LINENO
   1707 # ----------------------
   1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1709 # that executables *can* be run.
   1710 ac_fn_c_try_run ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   if { { ac_try="$ac_link"
   1714 case "(($ac_try" in
   1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1716   *) ac_try_echo=$ac_try;;
   1717 esac
   1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1719 $as_echo "$ac_try_echo"; } >&5
   1720   (eval "$ac_link") 2>&5
   1721   ac_status=$?
   1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1723   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1724   { { case "(($ac_try" in
   1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1726   *) ac_try_echo=$ac_try;;
   1727 esac
   1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1729 $as_echo "$ac_try_echo"; } >&5
   1730   (eval "$ac_try") 2>&5
   1731   ac_status=$?
   1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1733   test $ac_status = 0; }; }; then :
   1734   ac_retval=0
   1735 else
   1736   $as_echo "$as_me: program exited with status $ac_status" >&5
   1737        $as_echo "$as_me: failed program was:" >&5
   1738 sed 's/^/| /' conftest.$ac_ext >&5
   1739 
   1740        ac_retval=$ac_status
   1741 fi
   1742   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1744   as_fn_set_status $ac_retval
   1745 
   1746 } # ac_fn_c_try_run
   1747 
   1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1749 # -------------------------------------------------------
   1750 # Tests whether HEADER exists and can be compiled using the include files in
   1751 # INCLUDES, setting the cache variable VAR accordingly.
   1752 ac_fn_c_check_header_compile ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1756 $as_echo_n "checking for $2... " >&6; }
   1757 if eval \${$3+:} false; then :
   1758   $as_echo_n "(cached) " >&6
   1759 else
   1760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1761 /* end confdefs.h.  */
   1762 $4
   1763 #include <$2>
   1764 _ACEOF
   1765 if ac_fn_c_try_compile "$LINENO"; then :
   1766   eval "$3=yes"
   1767 else
   1768   eval "$3=no"
   1769 fi
   1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1771 fi
   1772 eval ac_res=\$$3
   1773 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1774 $as_echo "$ac_res" >&6; }
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776 
   1777 } # ac_fn_c_check_header_compile
   1778 
   1779 # ac_fn_c_try_link LINENO
   1780 # -----------------------
   1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1782 ac_fn_c_try_link ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   rm -f conftest.$ac_objext conftest$ac_exeext
   1786   if { { ac_try="$ac_link"
   1787 case "(($ac_try" in
   1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1789   *) ac_try_echo=$ac_try;;
   1790 esac
   1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1792 $as_echo "$ac_try_echo"; } >&5
   1793   (eval "$ac_link") 2>conftest.err
   1794   ac_status=$?
   1795   if test -s conftest.err; then
   1796     grep -v '^ *+' conftest.err >conftest.er1
   1797     cat conftest.er1 >&5
   1798     mv -f conftest.er1 conftest.err
   1799   fi
   1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1801   test $ac_status = 0; } && {
   1802 	 test -z "$ac_c_werror_flag" ||
   1803 	 test ! -s conftest.err
   1804        } && test -s conftest$ac_exeext && {
   1805 	 test "$cross_compiling" = yes ||
   1806 	 test -x conftest$ac_exeext
   1807        }; then :
   1808   ac_retval=0
   1809 else
   1810   $as_echo "$as_me: failed program was:" >&5
   1811 sed 's/^/| /' conftest.$ac_ext >&5
   1812 
   1813 	ac_retval=1
   1814 fi
   1815   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1816   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1817   # interfere with the next link command; also delete a directory that is
   1818   # left behind by Apple's compiler.  We do this before executing the actions.
   1819   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1821   as_fn_set_status $ac_retval
   1822 
   1823 } # ac_fn_c_try_link
   1824 
   1825 # ac_fn_c_check_func LINENO FUNC VAR
   1826 # ----------------------------------
   1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1828 ac_fn_c_check_func ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1832 $as_echo_n "checking for $2... " >&6; }
   1833 if eval \${$3+:} false; then :
   1834   $as_echo_n "(cached) " >&6
   1835 else
   1836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1837 /* end confdefs.h.  */
   1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1840 #define $2 innocuous_$2
   1841 
   1842 /* System header to define __stub macros and hopefully few prototypes,
   1843     which can conflict with char $2 (); below.
   1844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1845     <limits.h> exists even on freestanding compilers.  */
   1846 
   1847 #ifdef __STDC__
   1848 # include <limits.h>
   1849 #else
   1850 # include <assert.h>
   1851 #endif
   1852 
   1853 #undef $2
   1854 
   1855 /* Override any GCC internal prototype to avoid an error.
   1856    Use char because int might match the return type of a GCC
   1857    builtin and then its argument prototype would still apply.  */
   1858 #ifdef __cplusplus
   1859 extern "C"
   1860 #endif
   1861 char $2 ();
   1862 /* The GNU C library defines this for functions which it implements
   1863     to always fail with ENOSYS.  Some functions are actually named
   1864     something starting with __ and the normal name is an alias.  */
   1865 #if defined __stub_$2 || defined __stub___$2
   1866 choke me
   1867 #endif
   1868 
   1869 int
   1870 main ()
   1871 {
   1872 return $2 ();
   1873   ;
   1874   return 0;
   1875 }
   1876 _ACEOF
   1877 if ac_fn_c_try_link "$LINENO"; then :
   1878   eval "$3=yes"
   1879 else
   1880   eval "$3=no"
   1881 fi
   1882 rm -f core conftest.err conftest.$ac_objext \
   1883     conftest$ac_exeext conftest.$ac_ext
   1884 fi
   1885 eval ac_res=\$$3
   1886 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1887 $as_echo "$ac_res" >&6; }
   1888   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1889 
   1890 } # ac_fn_c_check_func
   1891 
   1892 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1893 # -------------------------------------------------------
   1894 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1895 # the include files in INCLUDES and setting the cache variable VAR
   1896 # accordingly.
   1897 ac_fn_c_check_header_mongrel ()
   1898 {
   1899   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1900   if eval \${$3+:} false; then :
   1901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1902 $as_echo_n "checking for $2... " >&6; }
   1903 if eval \${$3+:} false; then :
   1904   $as_echo_n "(cached) " >&6
   1905 fi
   1906 eval ac_res=\$$3
   1907 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1908 $as_echo "$ac_res" >&6; }
   1909 else
   1910   # Is the header compilable?
   1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1912 $as_echo_n "checking $2 usability... " >&6; }
   1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1914 /* end confdefs.h.  */
   1915 $4
   1916 #include <$2>
   1917 _ACEOF
   1918 if ac_fn_c_try_compile "$LINENO"; then :
   1919   ac_header_compiler=yes
   1920 else
   1921   ac_header_compiler=no
   1922 fi
   1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1925 $as_echo "$ac_header_compiler" >&6; }
   1926 
   1927 # Is the header present?
   1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1929 $as_echo_n "checking $2 presence... " >&6; }
   1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1931 /* end confdefs.h.  */
   1932 #include <$2>
   1933 _ACEOF
   1934 if ac_fn_c_try_cpp "$LINENO"; then :
   1935   ac_header_preproc=yes
   1936 else
   1937   ac_header_preproc=no
   1938 fi
   1939 rm -f conftest.err conftest.i conftest.$ac_ext
   1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1941 $as_echo "$ac_header_preproc" >&6; }
   1942 
   1943 # So?  What about this header?
   1944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1945   yes:no: )
   1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1947 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1949 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1950     ;;
   1951   no:yes:* )
   1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1953 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1955 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1957 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1959 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&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 ( $as_echo "## ---------------------------------------------------------------------- ##
   1963 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1964 ## ---------------------------------------------------------------------- ##"
   1965      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1966     ;;
   1967 esac
   1968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1969 $as_echo_n "checking for $2... " >&6; }
   1970 if eval \${$3+:} false; then :
   1971   $as_echo_n "(cached) " >&6
   1972 else
   1973   eval "$3=\$ac_header_compiler"
   1974 fi
   1975 eval ac_res=\$$3
   1976 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1977 $as_echo "$ac_res" >&6; }
   1978 fi
   1979   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1980 
   1981 } # ac_fn_c_check_header_mongrel
   1982 cat >config.log <<_ACEOF
   1983 This file contains any messages produced by compilers while
   1984 running configure, to aid debugging if configure makes a mistake.
   1985 
   1986 It was created by xf86-video-sunffb $as_me 1.2.2, which was
   1987 generated by GNU Autoconf 2.69.  Invocation command line was
   1988 
   1989   $ $0 $@
   1990 
   1991 _ACEOF
   1992 exec 5>>config.log
   1993 {
   1994 cat <<_ASUNAME
   1995 ## --------- ##
   1996 ## Platform. ##
   1997 ## --------- ##
   1998 
   1999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2004 
   2005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2006 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2007 
   2008 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2009 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2011 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2012 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2013 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2014 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2015 
   2016 _ASUNAME
   2017 
   2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2019 for as_dir in $PATH
   2020 do
   2021   IFS=$as_save_IFS
   2022   test -z "$as_dir" && as_dir=.
   2023     $as_echo "PATH: $as_dir"
   2024   done
   2025 IFS=$as_save_IFS
   2026 
   2027 } >&5
   2028 
   2029 cat >&5 <<_ACEOF
   2030 
   2031 
   2032 ## ----------- ##
   2033 ## Core tests. ##
   2034 ## ----------- ##
   2035 
   2036 _ACEOF
   2037 
   2038 
   2039 # Keep a trace of the command line.
   2040 # Strip out --no-create and --no-recursion so they do not pile up.
   2041 # Strip out --silent because we don't want to record it for future runs.
   2042 # Also quote any args containing shell meta-characters.
   2043 # Make two passes to allow for proper duplicate-argument suppression.
   2044 ac_configure_args=
   2045 ac_configure_args0=
   2046 ac_configure_args1=
   2047 ac_must_keep_next=false
   2048 for ac_pass in 1 2
   2049 do
   2050   for ac_arg
   2051   do
   2052     case $ac_arg in
   2053     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2054     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2055     | -silent | --silent | --silen | --sile | --sil)
   2056       continue ;;
   2057     *\'*)
   2058       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2059     esac
   2060     case $ac_pass in
   2061     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2062     2)
   2063       as_fn_append ac_configure_args1 " '$ac_arg'"
   2064       if test $ac_must_keep_next = true; then
   2065 	ac_must_keep_next=false # Got value, back to normal.
   2066       else
   2067 	case $ac_arg in
   2068 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2069 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2070 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2071 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2072 	    case "$ac_configure_args0 " in
   2073 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2074 	    esac
   2075 	    ;;
   2076 	  -* ) ac_must_keep_next=true ;;
   2077 	esac
   2078       fi
   2079       as_fn_append ac_configure_args " '$ac_arg'"
   2080       ;;
   2081     esac
   2082   done
   2083 done
   2084 { ac_configure_args0=; unset ac_configure_args0;}
   2085 { ac_configure_args1=; unset ac_configure_args1;}
   2086 
   2087 # When interrupted or exit'd, cleanup temporary files, and complete
   2088 # config.log.  We remove comments because anyway the quotes in there
   2089 # would cause problems or look ugly.
   2090 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2091 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2092 trap 'exit_status=$?
   2093   # Save into config.log some information that might help in debugging.
   2094   {
   2095     echo
   2096 
   2097     $as_echo "## ---------------- ##
   2098 ## Cache variables. ##
   2099 ## ---------------- ##"
   2100     echo
   2101     # The following way of writing the cache mishandles newlines in values,
   2102 (
   2103   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2104     eval ac_val=\$$ac_var
   2105     case $ac_val in #(
   2106     *${as_nl}*)
   2107       case $ac_var in #(
   2108       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2109 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2110       esac
   2111       case $ac_var in #(
   2112       _ | IFS | as_nl) ;; #(
   2113       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2114       *) { eval $ac_var=; unset $ac_var;} ;;
   2115       esac ;;
   2116     esac
   2117   done
   2118   (set) 2>&1 |
   2119     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2120     *${as_nl}ac_space=\ *)
   2121       sed -n \
   2122 	"s/'\''/'\''\\\\'\'''\''/g;
   2123 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2124       ;; #(
   2125     *)
   2126       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2127       ;;
   2128     esac |
   2129     sort
   2130 )
   2131     echo
   2132 
   2133     $as_echo "## ----------------- ##
   2134 ## Output variables. ##
   2135 ## ----------------- ##"
   2136     echo
   2137     for ac_var in $ac_subst_vars
   2138     do
   2139       eval ac_val=\$$ac_var
   2140       case $ac_val in
   2141       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2142       esac
   2143       $as_echo "$ac_var='\''$ac_val'\''"
   2144     done | sort
   2145     echo
   2146 
   2147     if test -n "$ac_subst_files"; then
   2148       $as_echo "## ------------------- ##
   2149 ## File substitutions. ##
   2150 ## ------------------- ##"
   2151       echo
   2152       for ac_var in $ac_subst_files
   2153       do
   2154 	eval ac_val=\$$ac_var
   2155 	case $ac_val in
   2156 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2157 	esac
   2158 	$as_echo "$ac_var='\''$ac_val'\''"
   2159       done | sort
   2160       echo
   2161     fi
   2162 
   2163     if test -s confdefs.h; then
   2164       $as_echo "## ----------- ##
   2165 ## confdefs.h. ##
   2166 ## ----------- ##"
   2167       echo
   2168       cat confdefs.h
   2169       echo
   2170     fi
   2171     test "$ac_signal" != 0 &&
   2172       $as_echo "$as_me: caught signal $ac_signal"
   2173     $as_echo "$as_me: exit $exit_status"
   2174   } >&5
   2175   rm -f core *.core core.conftest.* &&
   2176     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2177     exit $exit_status
   2178 ' 0
   2179 for ac_signal in 1 2 13 15; do
   2180   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2181 done
   2182 ac_signal=0
   2183 
   2184 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2185 rm -f -r conftest* confdefs.h
   2186 
   2187 $as_echo "/* confdefs.h */" > confdefs.h
   2188 
   2189 # Predefined preprocessor variables.
   2190 
   2191 cat >>confdefs.h <<_ACEOF
   2192 #define PACKAGE_NAME "$PACKAGE_NAME"
   2193 _ACEOF
   2194 
   2195 cat >>confdefs.h <<_ACEOF
   2196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2197 _ACEOF
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2201 _ACEOF
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_STRING "$PACKAGE_STRING"
   2205 _ACEOF
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2209 _ACEOF
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_URL "$PACKAGE_URL"
   2213 _ACEOF
   2214 
   2215 
   2216 # Let the site file select an alternate cache file if it wants to.
   2217 # Prefer an explicitly selected file to automatically selected ones.
   2218 ac_site_file1=NONE
   2219 ac_site_file2=NONE
   2220 if test -n "$CONFIG_SITE"; then
   2221   # We do not want a PATH search for config.site.
   2222   case $CONFIG_SITE in #((
   2223     -*)  ac_site_file1=./$CONFIG_SITE;;
   2224     */*) ac_site_file1=$CONFIG_SITE;;
   2225     *)   ac_site_file1=./$CONFIG_SITE;;
   2226   esac
   2227 elif test "x$prefix" != xNONE; then
   2228   ac_site_file1=$prefix/share/config.site
   2229   ac_site_file2=$prefix/etc/config.site
   2230 else
   2231   ac_site_file1=$ac_default_prefix/share/config.site
   2232   ac_site_file2=$ac_default_prefix/etc/config.site
   2233 fi
   2234 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2235 do
   2236   test "x$ac_site_file" = xNONE && continue
   2237   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2238     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2239 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2240     sed 's/^/| /' "$ac_site_file" >&5
   2241     . "$ac_site_file" \
   2242       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2244 as_fn_error $? "failed to load site script $ac_site_file
   2245 See \`config.log' for more details" "$LINENO" 5; }
   2246   fi
   2247 done
   2248 
   2249 if test -r "$cache_file"; then
   2250   # Some versions of bash will fail to source /dev/null (special files
   2251   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2252   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2253     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2254 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2255     case $cache_file in
   2256       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2257       *)                      . "./$cache_file";;
   2258     esac
   2259   fi
   2260 else
   2261   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2262 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2263   >$cache_file
   2264 fi
   2265 
   2266 # Check that the precious variables saved in the cache have kept the same
   2267 # value.
   2268 ac_cache_corrupted=false
   2269 for ac_var in $ac_precious_vars; do
   2270   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2271   eval ac_new_set=\$ac_env_${ac_var}_set
   2272   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2273   eval ac_new_val=\$ac_env_${ac_var}_value
   2274   case $ac_old_set,$ac_new_set in
   2275     set,)
   2276       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2277 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2278       ac_cache_corrupted=: ;;
   2279     ,set)
   2280       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2281 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2282       ac_cache_corrupted=: ;;
   2283     ,);;
   2284     *)
   2285       if test "x$ac_old_val" != "x$ac_new_val"; then
   2286 	# differences in whitespace do not lead to failure.
   2287 	ac_old_val_w=`echo x $ac_old_val`
   2288 	ac_new_val_w=`echo x $ac_new_val`
   2289 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2290 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2291 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2292 	  ac_cache_corrupted=:
   2293 	else
   2294 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2295 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2296 	  eval $ac_var=\$ac_old_val
   2297 	fi
   2298 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2299 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2300 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2301 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2302       fi;;
   2303   esac
   2304   # Pass precious variables to config.status.
   2305   if test "$ac_new_set" = set; then
   2306     case $ac_new_val in
   2307     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2308     *) ac_arg=$ac_var=$ac_new_val ;;
   2309     esac
   2310     case " $ac_configure_args " in
   2311       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2312       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2313     esac
   2314   fi
   2315 done
   2316 if $ac_cache_corrupted; then
   2317   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2319   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2320 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2321   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2322 fi
   2323 ## -------------------- ##
   2324 ## Main body of script. ##
   2325 ## -------------------- ##
   2326 
   2327 ac_ext=c
   2328 ac_cpp='$CPP $CPPFLAGS'
   2329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2332 
   2333 
   2334 
   2335 ac_config_headers="$ac_config_headers config.h"
   2336 
   2337 ac_aux_dir=
   2338 for ac_dir in . "$srcdir"/.; do
   2339   if test -f "$ac_dir/install-sh"; then
   2340     ac_aux_dir=$ac_dir
   2341     ac_install_sh="$ac_aux_dir/install-sh -c"
   2342     break
   2343   elif test -f "$ac_dir/install.sh"; then
   2344     ac_aux_dir=$ac_dir
   2345     ac_install_sh="$ac_aux_dir/install.sh -c"
   2346     break
   2347   elif test -f "$ac_dir/shtool"; then
   2348     ac_aux_dir=$ac_dir
   2349     ac_install_sh="$ac_aux_dir/shtool install -c"
   2350     break
   2351   fi
   2352 done
   2353 if test -z "$ac_aux_dir"; then
   2354   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2355 fi
   2356 
   2357 # These three variables are undocumented and unsupported,
   2358 # and are intended to be withdrawn in a future Autoconf release.
   2359 # They can cause serious problems if a builder's source tree is in a directory
   2360 # whose full name contains unusual characters.
   2361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2363 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2364 
   2365 
   2366 
   2367 # Initialize Automake
   2368 am__api_version='1.12'
   2369 
   2370 # Find a good install program.  We prefer a C program (faster),
   2371 # so one script is as good as another.  But avoid the broken or
   2372 # incompatible versions:
   2373 # SysV /etc/install, /usr/sbin/install
   2374 # SunOS /usr/etc/install
   2375 # IRIX /sbin/install
   2376 # AIX /bin/install
   2377 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2381 # OS/2's system install, which has a completely different semantic
   2382 # ./install, which can be erroneously created by make from ./install.sh.
   2383 # Reject install programs that cannot install multiple files.
   2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2385 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2386 if test -z "$INSTALL"; then
   2387 if ${ac_cv_path_install+:} false; then :
   2388   $as_echo_n "(cached) " >&6
   2389 else
   2390   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2391 for as_dir in $PATH
   2392 do
   2393   IFS=$as_save_IFS
   2394   test -z "$as_dir" && as_dir=.
   2395     # Account for people who put trailing slashes in PATH elements.
   2396 case $as_dir/ in #((
   2397   ./ | .// | /[cC]/* | \
   2398   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2399   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2400   /usr/ucb/* ) ;;
   2401   *)
   2402     # OSF1 and SCO ODT 3.0 have their own names for install.
   2403     # Don't use installbsd from OSF since it installs stuff as root
   2404     # by default.
   2405     for ac_prog in ginstall scoinst install; do
   2406       for ac_exec_ext in '' $ac_executable_extensions; do
   2407 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2408 	  if test $ac_prog = install &&
   2409 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2410 	    # AIX install.  It has an incompatible calling convention.
   2411 	    :
   2412 	  elif test $ac_prog = install &&
   2413 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2414 	    # program-specific install script used by HP pwplus--don't use.
   2415 	    :
   2416 	  else
   2417 	    rm -rf conftest.one conftest.two conftest.dir
   2418 	    echo one > conftest.one
   2419 	    echo two > conftest.two
   2420 	    mkdir conftest.dir
   2421 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2422 	      test -s conftest.one && test -s conftest.two &&
   2423 	      test -s conftest.dir/conftest.one &&
   2424 	      test -s conftest.dir/conftest.two
   2425 	    then
   2426 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2427 	      break 3
   2428 	    fi
   2429 	  fi
   2430 	fi
   2431       done
   2432     done
   2433     ;;
   2434 esac
   2435 
   2436   done
   2437 IFS=$as_save_IFS
   2438 
   2439 rm -rf conftest.one conftest.two conftest.dir
   2440 
   2441 fi
   2442   if test "${ac_cv_path_install+set}" = set; then
   2443     INSTALL=$ac_cv_path_install
   2444   else
   2445     # As a last resort, use the slow shell script.  Don't cache a
   2446     # value for INSTALL within a source directory, because that will
   2447     # break other packages using the cache if that directory is
   2448     # removed, or if the value is a relative name.
   2449     INSTALL=$ac_install_sh
   2450   fi
   2451 fi
   2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2453 $as_echo "$INSTALL" >&6; }
   2454 
   2455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2456 # It thinks the first close brace ends the variable substitution.
   2457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2458 
   2459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2460 
   2461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2462 
   2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2464 $as_echo_n "checking whether build environment is sane... " >&6; }
   2465 # Reject unsafe characters in $srcdir or the absolute working directory
   2466 # name.  Accept space and tab only in the latter.
   2467 am_lf='
   2468 '
   2469 case `pwd` in
   2470   *[\\\"\#\$\&\'\`$am_lf]*)
   2471     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2472 esac
   2473 case $srcdir in
   2474   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2475     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2476 esac
   2477 
   2478 # Do 'set' in a subshell so we don't clobber the current shell's
   2479 # arguments.  Must try -L first in case configure is actually a
   2480 # symlink; some systems play weird games with the mod time of symlinks
   2481 # (eg FreeBSD returns the mod time of the symlink's containing
   2482 # directory).
   2483 if (
   2484    am_has_slept=no
   2485    for am_try in 1 2; do
   2486      echo "timestamp, slept: $am_has_slept" > conftest.file
   2487      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2488      if test "$*" = "X"; then
   2489 	# -L didn't work.
   2490 	set X `ls -t "$srcdir/configure" conftest.file`
   2491      fi
   2492      if test "$*" != "X $srcdir/configure conftest.file" \
   2493 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2494 
   2495 	# If neither matched, then we have a broken ls.  This can happen
   2496 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2497 	# broken ls alias from the environment.  This has actually
   2498 	# happened.  Such a system could not be considered "sane".
   2499 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2500   alias in your environment" "$LINENO" 5
   2501      fi
   2502      if test "$2" = conftest.file || test $am_try -eq 2; then
   2503        break
   2504      fi
   2505      # Just in case.
   2506      sleep 1
   2507      am_has_slept=yes
   2508    done
   2509    test "$2" = conftest.file
   2510    )
   2511 then
   2512    # Ok.
   2513    :
   2514 else
   2515    as_fn_error $? "newly created file is older than distributed files!
   2516 Check your system clock" "$LINENO" 5
   2517 fi
   2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2519 $as_echo "yes" >&6; }
   2520 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2521 # generated files are strictly newer.
   2522 am_sleep_pid=
   2523 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2524   ( sleep 1 ) &
   2525   am_sleep_pid=$!
   2526 fi
   2527 
   2528 rm -f conftest.file
   2529 
   2530 test "$program_prefix" != NONE &&
   2531   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2532 # Use a double $ so make ignores it.
   2533 test "$program_suffix" != NONE &&
   2534   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2535 # Double any \ or $.
   2536 # By default was `s,x,x', remove it if useless.
   2537 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2538 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2539 
   2540 # expand $ac_aux_dir to an absolute path
   2541 am_aux_dir=`cd $ac_aux_dir && pwd`
   2542 
   2543 if test x"${MISSING+set}" != xset; then
   2544   case $am_aux_dir in
   2545   *\ * | *\	*)
   2546     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2547   *)
   2548     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2549   esac
   2550 fi
   2551 # Use eval to expand $SHELL
   2552 if eval "$MISSING --run true"; then
   2553   am_missing_run="$MISSING --run "
   2554 else
   2555   am_missing_run=
   2556   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2557 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2558 fi
   2559 
   2560 if test x"${install_sh}" != xset; then
   2561   case $am_aux_dir in
   2562   *\ * | *\	*)
   2563     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2564   *)
   2565     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2566   esac
   2567 fi
   2568 
   2569 # Installed binaries are usually stripped using 'strip' when the user
   2570 # run "make install-strip".  However 'strip' might not be the right
   2571 # tool to use in cross-compilation environments, therefore Automake
   2572 # will honor the 'STRIP' environment variable to overrule this program.
   2573 if test "$cross_compiling" != no; then
   2574   if test -n "$ac_tool_prefix"; then
   2575   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2576 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2578 $as_echo_n "checking for $ac_word... " >&6; }
   2579 if ${ac_cv_prog_STRIP+:} false; then :
   2580   $as_echo_n "(cached) " >&6
   2581 else
   2582   if test -n "$STRIP"; then
   2583   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2584 else
   2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2586 for as_dir in $PATH
   2587 do
   2588   IFS=$as_save_IFS
   2589   test -z "$as_dir" && as_dir=.
   2590     for ac_exec_ext in '' $ac_executable_extensions; do
   2591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2592     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2594     break 2
   2595   fi
   2596 done
   2597   done
   2598 IFS=$as_save_IFS
   2599 
   2600 fi
   2601 fi
   2602 STRIP=$ac_cv_prog_STRIP
   2603 if test -n "$STRIP"; then
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2605 $as_echo "$STRIP" >&6; }
   2606 else
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2608 $as_echo "no" >&6; }
   2609 fi
   2610 
   2611 
   2612 fi
   2613 if test -z "$ac_cv_prog_STRIP"; then
   2614   ac_ct_STRIP=$STRIP
   2615   # Extract the first word of "strip", so it can be a program name with args.
   2616 set dummy strip; ac_word=$2
   2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2618 $as_echo_n "checking for $ac_word... " >&6; }
   2619 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2620   $as_echo_n "(cached) " >&6
   2621 else
   2622   if test -n "$ac_ct_STRIP"; then
   2623   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2624 else
   2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2626 for as_dir in $PATH
   2627 do
   2628   IFS=$as_save_IFS
   2629   test -z "$as_dir" && as_dir=.
   2630     for ac_exec_ext in '' $ac_executable_extensions; do
   2631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2632     ac_cv_prog_ac_ct_STRIP="strip"
   2633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2634     break 2
   2635   fi
   2636 done
   2637   done
   2638 IFS=$as_save_IFS
   2639 
   2640 fi
   2641 fi
   2642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2643 if test -n "$ac_ct_STRIP"; then
   2644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2645 $as_echo "$ac_ct_STRIP" >&6; }
   2646 else
   2647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2648 $as_echo "no" >&6; }
   2649 fi
   2650 
   2651   if test "x$ac_ct_STRIP" = x; then
   2652     STRIP=":"
   2653   else
   2654     case $cross_compiling:$ac_tool_warned in
   2655 yes:)
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2658 ac_tool_warned=yes ;;
   2659 esac
   2660     STRIP=$ac_ct_STRIP
   2661   fi
   2662 else
   2663   STRIP="$ac_cv_prog_STRIP"
   2664 fi
   2665 
   2666 fi
   2667 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2668 
   2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2670 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2671 if test -z "$MKDIR_P"; then
   2672   if ${ac_cv_path_mkdir+:} false; then :
   2673   $as_echo_n "(cached) " >&6
   2674 else
   2675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2676 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2677 do
   2678   IFS=$as_save_IFS
   2679   test -z "$as_dir" && as_dir=.
   2680     for ac_prog in mkdir gmkdir; do
   2681 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2682 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2683 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2684 	     'mkdir (GNU coreutils) '* | \
   2685 	     'mkdir (coreutils) '* | \
   2686 	     'mkdir (fileutils) '4.1*)
   2687 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2688 	       break 3;;
   2689 	   esac
   2690 	 done
   2691        done
   2692   done
   2693 IFS=$as_save_IFS
   2694 
   2695 fi
   2696 
   2697   test -d ./--version && rmdir ./--version
   2698   if test "${ac_cv_path_mkdir+set}" = set; then
   2699     MKDIR_P="$ac_cv_path_mkdir -p"
   2700   else
   2701     # As a last resort, use the slow shell script.  Don't cache a
   2702     # value for MKDIR_P within a source directory, because that will
   2703     # break other packages using the cache if that directory is
   2704     # removed, or if the value is a relative name.
   2705     MKDIR_P="$ac_install_sh -d"
   2706   fi
   2707 fi
   2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2709 $as_echo "$MKDIR_P" >&6; }
   2710 
   2711 for ac_prog in gawk mawk nawk awk
   2712 do
   2713   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2714 set dummy $ac_prog; ac_word=$2
   2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2716 $as_echo_n "checking for $ac_word... " >&6; }
   2717 if ${ac_cv_prog_AWK+:} false; then :
   2718   $as_echo_n "(cached) " >&6
   2719 else
   2720   if test -n "$AWK"; then
   2721   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2722 else
   2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2724 for as_dir in $PATH
   2725 do
   2726   IFS=$as_save_IFS
   2727   test -z "$as_dir" && as_dir=.
   2728     for ac_exec_ext in '' $ac_executable_extensions; do
   2729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2730     ac_cv_prog_AWK="$ac_prog"
   2731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2732     break 2
   2733   fi
   2734 done
   2735   done
   2736 IFS=$as_save_IFS
   2737 
   2738 fi
   2739 fi
   2740 AWK=$ac_cv_prog_AWK
   2741 if test -n "$AWK"; then
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2743 $as_echo "$AWK" >&6; }
   2744 else
   2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2746 $as_echo "no" >&6; }
   2747 fi
   2748 
   2749 
   2750   test -n "$AWK" && break
   2751 done
   2752 
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2754 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2755 set x ${MAKE-make}
   2756 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2757 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2758   $as_echo_n "(cached) " >&6
   2759 else
   2760   cat >conftest.make <<\_ACEOF
   2761 SHELL = /bin/sh
   2762 all:
   2763 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2764 _ACEOF
   2765 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2766 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2767   *@@@%%%=?*=@@@%%%*)
   2768     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2769   *)
   2770     eval ac_cv_prog_make_${ac_make}_set=no;;
   2771 esac
   2772 rm -f conftest.make
   2773 fi
   2774 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2776 $as_echo "yes" >&6; }
   2777   SET_MAKE=
   2778 else
   2779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2780 $as_echo "no" >&6; }
   2781   SET_MAKE="MAKE=${MAKE-make}"
   2782 fi
   2783 
   2784 rm -rf .tst 2>/dev/null
   2785 mkdir .tst 2>/dev/null
   2786 if test -d .tst; then
   2787   am__leading_dot=.
   2788 else
   2789   am__leading_dot=_
   2790 fi
   2791 rmdir .tst 2>/dev/null
   2792 
   2793 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2794   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2795   # is not polluted with repeated "-I."
   2796   am__isrc=' -I$(srcdir)'
   2797   # test to see if srcdir already configured
   2798   if test -f $srcdir/config.status; then
   2799     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2800   fi
   2801 fi
   2802 
   2803 # test whether we have cygpath
   2804 if test -z "$CYGPATH_W"; then
   2805   if (cygpath --version) >/dev/null 2>/dev/null; then
   2806     CYGPATH_W='cygpath -w'
   2807   else
   2808     CYGPATH_W=echo
   2809   fi
   2810 fi
   2811 
   2812 
   2813 # Define the identity of the package.
   2814  PACKAGE='xf86-video-sunffb'
   2815  VERSION='1.2.2'
   2816 
   2817 
   2818 cat >>confdefs.h <<_ACEOF
   2819 #define PACKAGE "$PACKAGE"
   2820 _ACEOF
   2821 
   2822 
   2823 cat >>confdefs.h <<_ACEOF
   2824 #define VERSION "$VERSION"
   2825 _ACEOF
   2826 
   2827 # Some tools Automake needs.
   2828 
   2829 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2830 
   2831 
   2832 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2833 
   2834 
   2835 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2836 
   2837 
   2838 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2839 
   2840 
   2841 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2842 
   2843 # For better backward compatibility.  To be removed once Automake 1.9.x
   2844 # dies out for good.  For more background, see:
   2845 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2846 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2847 mkdir_p='$(MKDIR_P)'
   2848 
   2849 # We need awk for the "check" target.  The system "awk" is bad on
   2850 # some platforms.
   2851 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2852 # in the wild :-(  We should find a proper way to deprecate it ...
   2853 AMTAR='$${TAR-tar}'
   2854 
   2855 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2856 
   2857 
   2858 
   2859 
   2860 
   2861 
   2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2863 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2864     # Check whether --enable-maintainer-mode was given.
   2865 if test "${enable_maintainer_mode+set}" = set; then :
   2866   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2867 else
   2868   USE_MAINTAINER_MODE=no
   2869 fi
   2870 
   2871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2872 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2873    if test $USE_MAINTAINER_MODE = yes; then
   2874   MAINTAINER_MODE_TRUE=
   2875   MAINTAINER_MODE_FALSE='#'
   2876 else
   2877   MAINTAINER_MODE_TRUE='#'
   2878   MAINTAINER_MODE_FALSE=
   2879 fi
   2880 
   2881   MAINT=$MAINTAINER_MODE_TRUE
   2882 
   2883 
   2884 
   2885 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2886 
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 
   2893 
   2894 
   2895 
   2896 
   2897 DEPDIR="${am__leading_dot}deps"
   2898 
   2899 ac_config_commands="$ac_config_commands depfiles"
   2900 
   2901 
   2902 am_make=${MAKE-make}
   2903 cat > confinc << 'END'
   2904 am__doit:
   2905 	@echo this is the am__doit target
   2906 .PHONY: am__doit
   2907 END
   2908 # If we don't find an include directive, just comment out the code.
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2911 am__include="#"
   2912 am__quote=
   2913 _am_result=none
   2914 # First try GNU make style include.
   2915 echo "include confinc" > confmf
   2916 # Ignore all kinds of additional output from 'make'.
   2917 case `$am_make -s -f confmf 2> /dev/null` in #(
   2918 *the\ am__doit\ target*)
   2919   am__include=include
   2920   am__quote=
   2921   _am_result=GNU
   2922   ;;
   2923 esac
   2924 # Now try BSD make style include.
   2925 if test "$am__include" = "#"; then
   2926    echo '.include "confinc"' > confmf
   2927    case `$am_make -s -f confmf 2> /dev/null` in #(
   2928    *the\ am__doit\ target*)
   2929      am__include=.include
   2930      am__quote="\""
   2931      _am_result=BSD
   2932      ;;
   2933    esac
   2934 fi
   2935 
   2936 
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2938 $as_echo "$_am_result" >&6; }
   2939 rm -f confinc confmf
   2940 
   2941 # Check whether --enable-dependency-tracking was given.
   2942 if test "${enable_dependency_tracking+set}" = set; then :
   2943   enableval=$enable_dependency_tracking;
   2944 fi
   2945 
   2946 if test "x$enable_dependency_tracking" != xno; then
   2947   am_depcomp="$ac_aux_dir/depcomp"
   2948   AMDEPBACKSLASH='\'
   2949   am__nodep='_no'
   2950 fi
   2951  if test "x$enable_dependency_tracking" != xno; then
   2952   AMDEP_TRUE=
   2953   AMDEP_FALSE='#'
   2954 else
   2955   AMDEP_TRUE='#'
   2956   AMDEP_FALSE=
   2957 fi
   2958 
   2959 
   2960 ac_ext=c
   2961 ac_cpp='$CPP $CPPFLAGS'
   2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2965 if test -n "$ac_tool_prefix"; then
   2966   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2967 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2969 $as_echo_n "checking for $ac_word... " >&6; }
   2970 if ${ac_cv_prog_CC+:} false; then :
   2971   $as_echo_n "(cached) " >&6
   2972 else
   2973   if test -n "$CC"; then
   2974   ac_cv_prog_CC="$CC" # Let the user override the test.
   2975 else
   2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2977 for as_dir in $PATH
   2978 do
   2979   IFS=$as_save_IFS
   2980   test -z "$as_dir" && as_dir=.
   2981     for ac_exec_ext in '' $ac_executable_extensions; do
   2982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2983     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2985     break 2
   2986   fi
   2987 done
   2988   done
   2989 IFS=$as_save_IFS
   2990 
   2991 fi
   2992 fi
   2993 CC=$ac_cv_prog_CC
   2994 if test -n "$CC"; then
   2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2996 $as_echo "$CC" >&6; }
   2997 else
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2999 $as_echo "no" >&6; }
   3000 fi
   3001 
   3002 
   3003 fi
   3004 if test -z "$ac_cv_prog_CC"; then
   3005   ac_ct_CC=$CC
   3006   # Extract the first word of "gcc", so it can be a program name with args.
   3007 set dummy gcc; ac_word=$2
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3009 $as_echo_n "checking for $ac_word... " >&6; }
   3010 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3011   $as_echo_n "(cached) " >&6
   3012 else
   3013   if test -n "$ac_ct_CC"; then
   3014   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3015 else
   3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3017 for as_dir in $PATH
   3018 do
   3019   IFS=$as_save_IFS
   3020   test -z "$as_dir" && as_dir=.
   3021     for ac_exec_ext in '' $ac_executable_extensions; do
   3022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3023     ac_cv_prog_ac_ct_CC="gcc"
   3024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3025     break 2
   3026   fi
   3027 done
   3028   done
   3029 IFS=$as_save_IFS
   3030 
   3031 fi
   3032 fi
   3033 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3034 if test -n "$ac_ct_CC"; then
   3035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3036 $as_echo "$ac_ct_CC" >&6; }
   3037 else
   3038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3039 $as_echo "no" >&6; }
   3040 fi
   3041 
   3042   if test "x$ac_ct_CC" = x; then
   3043     CC=""
   3044   else
   3045     case $cross_compiling:$ac_tool_warned in
   3046 yes:)
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3049 ac_tool_warned=yes ;;
   3050 esac
   3051     CC=$ac_ct_CC
   3052   fi
   3053 else
   3054   CC="$ac_cv_prog_CC"
   3055 fi
   3056 
   3057 if test -z "$CC"; then
   3058           if test -n "$ac_tool_prefix"; then
   3059     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3060 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3062 $as_echo_n "checking for $ac_word... " >&6; }
   3063 if ${ac_cv_prog_CC+:} false; then :
   3064   $as_echo_n "(cached) " >&6
   3065 else
   3066   if test -n "$CC"; then
   3067   ac_cv_prog_CC="$CC" # Let the user override the test.
   3068 else
   3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3070 for as_dir in $PATH
   3071 do
   3072   IFS=$as_save_IFS
   3073   test -z "$as_dir" && as_dir=.
   3074     for ac_exec_ext in '' $ac_executable_extensions; do
   3075   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3076     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3078     break 2
   3079   fi
   3080 done
   3081   done
   3082 IFS=$as_save_IFS
   3083 
   3084 fi
   3085 fi
   3086 CC=$ac_cv_prog_CC
   3087 if test -n "$CC"; then
   3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3089 $as_echo "$CC" >&6; }
   3090 else
   3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3092 $as_echo "no" >&6; }
   3093 fi
   3094 
   3095 
   3096   fi
   3097 fi
   3098 if test -z "$CC"; then
   3099   # Extract the first word of "cc", so it can be a program name with args.
   3100 set dummy cc; ac_word=$2
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3102 $as_echo_n "checking for $ac_word... " >&6; }
   3103 if ${ac_cv_prog_CC+:} false; then :
   3104   $as_echo_n "(cached) " >&6
   3105 else
   3106   if test -n "$CC"; then
   3107   ac_cv_prog_CC="$CC" # Let the user override the test.
   3108 else
   3109   ac_prog_rejected=no
   3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3111 for as_dir in $PATH
   3112 do
   3113   IFS=$as_save_IFS
   3114   test -z "$as_dir" && as_dir=.
   3115     for ac_exec_ext in '' $ac_executable_extensions; do
   3116   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3117     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3118        ac_prog_rejected=yes
   3119        continue
   3120      fi
   3121     ac_cv_prog_CC="cc"
   3122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3123     break 2
   3124   fi
   3125 done
   3126   done
   3127 IFS=$as_save_IFS
   3128 
   3129 if test $ac_prog_rejected = yes; then
   3130   # We found a bogon in the path, so make sure we never use it.
   3131   set dummy $ac_cv_prog_CC
   3132   shift
   3133   if test $# != 0; then
   3134     # We chose a different compiler from the bogus one.
   3135     # However, it has the same basename, so the bogon will be chosen
   3136     # first if we set CC to just the basename; use the full file name.
   3137     shift
   3138     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3139   fi
   3140 fi
   3141 fi
   3142 fi
   3143 CC=$ac_cv_prog_CC
   3144 if test -n "$CC"; then
   3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3146 $as_echo "$CC" >&6; }
   3147 else
   3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3149 $as_echo "no" >&6; }
   3150 fi
   3151 
   3152 
   3153 fi
   3154 if test -z "$CC"; then
   3155   if test -n "$ac_tool_prefix"; then
   3156   for ac_prog in cl.exe
   3157   do
   3158     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3161 $as_echo_n "checking for $ac_word... " >&6; }
   3162 if ${ac_cv_prog_CC+:} false; then :
   3163   $as_echo_n "(cached) " >&6
   3164 else
   3165   if test -n "$CC"; then
   3166   ac_cv_prog_CC="$CC" # Let the user override the test.
   3167 else
   3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3169 for as_dir in $PATH
   3170 do
   3171   IFS=$as_save_IFS
   3172   test -z "$as_dir" && as_dir=.
   3173     for ac_exec_ext in '' $ac_executable_extensions; do
   3174   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3175     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3177     break 2
   3178   fi
   3179 done
   3180   done
   3181 IFS=$as_save_IFS
   3182 
   3183 fi
   3184 fi
   3185 CC=$ac_cv_prog_CC
   3186 if test -n "$CC"; then
   3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3188 $as_echo "$CC" >&6; }
   3189 else
   3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3191 $as_echo "no" >&6; }
   3192 fi
   3193 
   3194 
   3195     test -n "$CC" && break
   3196   done
   3197 fi
   3198 if test -z "$CC"; then
   3199   ac_ct_CC=$CC
   3200   for ac_prog in cl.exe
   3201 do
   3202   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3203 set dummy $ac_prog; ac_word=$2
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3205 $as_echo_n "checking for $ac_word... " >&6; }
   3206 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3207   $as_echo_n "(cached) " >&6
   3208 else
   3209   if test -n "$ac_ct_CC"; then
   3210   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3211 else
   3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3213 for as_dir in $PATH
   3214 do
   3215   IFS=$as_save_IFS
   3216   test -z "$as_dir" && as_dir=.
   3217     for ac_exec_ext in '' $ac_executable_extensions; do
   3218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3219     ac_cv_prog_ac_ct_CC="$ac_prog"
   3220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3221     break 2
   3222   fi
   3223 done
   3224   done
   3225 IFS=$as_save_IFS
   3226 
   3227 fi
   3228 fi
   3229 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3230 if test -n "$ac_ct_CC"; then
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3232 $as_echo "$ac_ct_CC" >&6; }
   3233 else
   3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3235 $as_echo "no" >&6; }
   3236 fi
   3237 
   3238 
   3239   test -n "$ac_ct_CC" && break
   3240 done
   3241 
   3242   if test "x$ac_ct_CC" = x; then
   3243     CC=""
   3244   else
   3245     case $cross_compiling:$ac_tool_warned in
   3246 yes:)
   3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3249 ac_tool_warned=yes ;;
   3250 esac
   3251     CC=$ac_ct_CC
   3252   fi
   3253 fi
   3254 
   3255 fi
   3256 
   3257 
   3258 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3260 as_fn_error $? "no acceptable C compiler found in \$PATH
   3261 See \`config.log' for more details" "$LINENO" 5; }
   3262 
   3263 # Provide some information about the compiler.
   3264 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3265 set X $ac_compile
   3266 ac_compiler=$2
   3267 for ac_option in --version -v -V -qversion; do
   3268   { { ac_try="$ac_compiler $ac_option >&5"
   3269 case "(($ac_try" in
   3270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3271   *) ac_try_echo=$ac_try;;
   3272 esac
   3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3274 $as_echo "$ac_try_echo"; } >&5
   3275   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3276   ac_status=$?
   3277   if test -s conftest.err; then
   3278     sed '10a\
   3279 ... rest of stderr output deleted ...
   3280          10q' conftest.err >conftest.er1
   3281     cat conftest.er1 >&5
   3282   fi
   3283   rm -f conftest.er1 conftest.err
   3284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3285   test $ac_status = 0; }
   3286 done
   3287 
   3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3289 /* end confdefs.h.  */
   3290 
   3291 int
   3292 main ()
   3293 {
   3294 
   3295   ;
   3296   return 0;
   3297 }
   3298 _ACEOF
   3299 ac_clean_files_save=$ac_clean_files
   3300 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3301 # Try to create an executable without -o first, disregard a.out.
   3302 # It will help us diagnose broken compilers, and finding out an intuition
   3303 # of exeext.
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3305 $as_echo_n "checking whether the C compiler works... " >&6; }
   3306 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3307 
   3308 # The possible output files:
   3309 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3310 
   3311 ac_rmfiles=
   3312 for ac_file in $ac_files
   3313 do
   3314   case $ac_file in
   3315     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3316     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3317   esac
   3318 done
   3319 rm -f $ac_rmfiles
   3320 
   3321 if { { ac_try="$ac_link_default"
   3322 case "(($ac_try" in
   3323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3324   *) ac_try_echo=$ac_try;;
   3325 esac
   3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3327 $as_echo "$ac_try_echo"; } >&5
   3328   (eval "$ac_link_default") 2>&5
   3329   ac_status=$?
   3330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3331   test $ac_status = 0; }; then :
   3332   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3333 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3334 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3335 # so that the user can short-circuit this test for compilers unknown to
   3336 # Autoconf.
   3337 for ac_file in $ac_files ''
   3338 do
   3339   test -f "$ac_file" || continue
   3340   case $ac_file in
   3341     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3342 	;;
   3343     [ab].out )
   3344 	# We found the default executable, but exeext='' is most
   3345 	# certainly right.
   3346 	break;;
   3347     *.* )
   3348 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3349 	then :; else
   3350 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3351 	fi
   3352 	# We set ac_cv_exeext here because the later test for it is not
   3353 	# safe: cross compilers may not add the suffix if given an `-o'
   3354 	# argument, so we may need to know it at that point already.
   3355 	# Even if this section looks crufty: it has the advantage of
   3356 	# actually working.
   3357 	break;;
   3358     * )
   3359 	break;;
   3360   esac
   3361 done
   3362 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3363 
   3364 else
   3365   ac_file=''
   3366 fi
   3367 if test -z "$ac_file"; then :
   3368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3369 $as_echo "no" >&6; }
   3370 $as_echo "$as_me: failed program was:" >&5
   3371 sed 's/^/| /' conftest.$ac_ext >&5
   3372 
   3373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3375 as_fn_error 77 "C compiler cannot create executables
   3376 See \`config.log' for more details" "$LINENO" 5; }
   3377 else
   3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3379 $as_echo "yes" >&6; }
   3380 fi
   3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3382 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3384 $as_echo "$ac_file" >&6; }
   3385 ac_exeext=$ac_cv_exeext
   3386 
   3387 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3388 ac_clean_files=$ac_clean_files_save
   3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3390 $as_echo_n "checking for suffix of executables... " >&6; }
   3391 if { { ac_try="$ac_link"
   3392 case "(($ac_try" in
   3393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3394   *) ac_try_echo=$ac_try;;
   3395 esac
   3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3397 $as_echo "$ac_try_echo"; } >&5
   3398   (eval "$ac_link") 2>&5
   3399   ac_status=$?
   3400   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3401   test $ac_status = 0; }; then :
   3402   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3403 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3404 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3405 # `rm'.
   3406 for ac_file in conftest.exe conftest conftest.*; do
   3407   test -f "$ac_file" || continue
   3408   case $ac_file in
   3409     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3410     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3411 	  break;;
   3412     * ) break;;
   3413   esac
   3414 done
   3415 else
   3416   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3418 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3419 See \`config.log' for more details" "$LINENO" 5; }
   3420 fi
   3421 rm -f conftest conftest$ac_cv_exeext
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3423 $as_echo "$ac_cv_exeext" >&6; }
   3424 
   3425 rm -f conftest.$ac_ext
   3426 EXEEXT=$ac_cv_exeext
   3427 ac_exeext=$EXEEXT
   3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3429 /* end confdefs.h.  */
   3430 #include <stdio.h>
   3431 int
   3432 main ()
   3433 {
   3434 FILE *f = fopen ("conftest.out", "w");
   3435  return ferror (f) || fclose (f) != 0;
   3436 
   3437   ;
   3438   return 0;
   3439 }
   3440 _ACEOF
   3441 ac_clean_files="$ac_clean_files conftest.out"
   3442 # Check that the compiler produces executables we can run.  If not, either
   3443 # the compiler is broken, or we cross compile.
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3445 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3446 if test "$cross_compiling" != yes; then
   3447   { { ac_try="$ac_link"
   3448 case "(($ac_try" in
   3449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3450   *) ac_try_echo=$ac_try;;
   3451 esac
   3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3453 $as_echo "$ac_try_echo"; } >&5
   3454   (eval "$ac_link") 2>&5
   3455   ac_status=$?
   3456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3457   test $ac_status = 0; }
   3458   if { ac_try='./conftest$ac_cv_exeext'
   3459   { { case "(($ac_try" in
   3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3461   *) ac_try_echo=$ac_try;;
   3462 esac
   3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3464 $as_echo "$ac_try_echo"; } >&5
   3465   (eval "$ac_try") 2>&5
   3466   ac_status=$?
   3467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3468   test $ac_status = 0; }; }; then
   3469     cross_compiling=no
   3470   else
   3471     if test "$cross_compiling" = maybe; then
   3472 	cross_compiling=yes
   3473     else
   3474 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3476 as_fn_error $? "cannot run C compiled programs.
   3477 If you meant to cross compile, use \`--host'.
   3478 See \`config.log' for more details" "$LINENO" 5; }
   3479     fi
   3480   fi
   3481 fi
   3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3483 $as_echo "$cross_compiling" >&6; }
   3484 
   3485 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3486 ac_clean_files=$ac_clean_files_save
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3488 $as_echo_n "checking for suffix of object files... " >&6; }
   3489 if ${ac_cv_objext+:} false; then :
   3490   $as_echo_n "(cached) " >&6
   3491 else
   3492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3493 /* end confdefs.h.  */
   3494 
   3495 int
   3496 main ()
   3497 {
   3498 
   3499   ;
   3500   return 0;
   3501 }
   3502 _ACEOF
   3503 rm -f conftest.o conftest.obj
   3504 if { { ac_try="$ac_compile"
   3505 case "(($ac_try" in
   3506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3507   *) ac_try_echo=$ac_try;;
   3508 esac
   3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3510 $as_echo "$ac_try_echo"; } >&5
   3511   (eval "$ac_compile") 2>&5
   3512   ac_status=$?
   3513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3514   test $ac_status = 0; }; then :
   3515   for ac_file in conftest.o conftest.obj conftest.*; do
   3516   test -f "$ac_file" || continue;
   3517   case $ac_file in
   3518     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3519     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3520        break;;
   3521   esac
   3522 done
   3523 else
   3524   $as_echo "$as_me: failed program was:" >&5
   3525 sed 's/^/| /' conftest.$ac_ext >&5
   3526 
   3527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3529 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3530 See \`config.log' for more details" "$LINENO" 5; }
   3531 fi
   3532 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3533 fi
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3535 $as_echo "$ac_cv_objext" >&6; }
   3536 OBJEXT=$ac_cv_objext
   3537 ac_objext=$OBJEXT
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3539 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3540 if ${ac_cv_c_compiler_gnu+:} false; then :
   3541   $as_echo_n "(cached) " >&6
   3542 else
   3543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3544 /* end confdefs.h.  */
   3545 
   3546 int
   3547 main ()
   3548 {
   3549 #ifndef __GNUC__
   3550        choke me
   3551 #endif
   3552 
   3553   ;
   3554   return 0;
   3555 }
   3556 _ACEOF
   3557 if ac_fn_c_try_compile "$LINENO"; then :
   3558   ac_compiler_gnu=yes
   3559 else
   3560   ac_compiler_gnu=no
   3561 fi
   3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3563 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3564 
   3565 fi
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3567 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3568 if test $ac_compiler_gnu = yes; then
   3569   GCC=yes
   3570 else
   3571   GCC=
   3572 fi
   3573 ac_test_CFLAGS=${CFLAGS+set}
   3574 ac_save_CFLAGS=$CFLAGS
   3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3576 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3577 if ${ac_cv_prog_cc_g+:} false; then :
   3578   $as_echo_n "(cached) " >&6
   3579 else
   3580   ac_save_c_werror_flag=$ac_c_werror_flag
   3581    ac_c_werror_flag=yes
   3582    ac_cv_prog_cc_g=no
   3583    CFLAGS="-g"
   3584    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3585 /* end confdefs.h.  */
   3586 
   3587 int
   3588 main ()
   3589 {
   3590 
   3591   ;
   3592   return 0;
   3593 }
   3594 _ACEOF
   3595 if ac_fn_c_try_compile "$LINENO"; then :
   3596   ac_cv_prog_cc_g=yes
   3597 else
   3598   CFLAGS=""
   3599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3600 /* end confdefs.h.  */
   3601 
   3602 int
   3603 main ()
   3604 {
   3605 
   3606   ;
   3607   return 0;
   3608 }
   3609 _ACEOF
   3610 if ac_fn_c_try_compile "$LINENO"; then :
   3611 
   3612 else
   3613   ac_c_werror_flag=$ac_save_c_werror_flag
   3614 	 CFLAGS="-g"
   3615 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3616 /* end confdefs.h.  */
   3617 
   3618 int
   3619 main ()
   3620 {
   3621 
   3622   ;
   3623   return 0;
   3624 }
   3625 _ACEOF
   3626 if ac_fn_c_try_compile "$LINENO"; then :
   3627   ac_cv_prog_cc_g=yes
   3628 fi
   3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3630 fi
   3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3632 fi
   3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3634    ac_c_werror_flag=$ac_save_c_werror_flag
   3635 fi
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3637 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3638 if test "$ac_test_CFLAGS" = set; then
   3639   CFLAGS=$ac_save_CFLAGS
   3640 elif test $ac_cv_prog_cc_g = yes; then
   3641   if test "$GCC" = yes; then
   3642     CFLAGS="-g -O2"
   3643   else
   3644     CFLAGS="-g"
   3645   fi
   3646 else
   3647   if test "$GCC" = yes; then
   3648     CFLAGS="-O2"
   3649   else
   3650     CFLAGS=
   3651   fi
   3652 fi
   3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3654 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3655 if ${ac_cv_prog_cc_c89+:} false; then :
   3656   $as_echo_n "(cached) " >&6
   3657 else
   3658   ac_cv_prog_cc_c89=no
   3659 ac_save_CC=$CC
   3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3661 /* end confdefs.h.  */
   3662 #include <stdarg.h>
   3663 #include <stdio.h>
   3664 struct stat;
   3665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3666 struct buf { int x; };
   3667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3668 static char *e (p, i)
   3669      char **p;
   3670      int i;
   3671 {
   3672   return p[i];
   3673 }
   3674 static char *f (char * (*g) (char **, int), char **p, ...)
   3675 {
   3676   char *s;
   3677   va_list v;
   3678   va_start (v,p);
   3679   s = g (p, va_arg (v,int));
   3680   va_end (v);
   3681   return s;
   3682 }
   3683 
   3684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3685    function prototypes and stuff, but not '\xHH' hex character constants.
   3686    These don't provoke an error unfortunately, instead are silently treated
   3687    as 'x'.  The following induces an error, until -std is added to get
   3688    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3689    array size at least.  It's necessary to write '\x00'==0 to get something
   3690    that's true only with -std.  */
   3691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3692 
   3693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3694    inside strings and character constants.  */
   3695 #define FOO(x) 'x'
   3696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3697 
   3698 int test (int i, double x);
   3699 struct s1 {int (*f) (int a);};
   3700 struct s2 {int (*f) (double a);};
   3701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3702 int argc;
   3703 char **argv;
   3704 int
   3705 main ()
   3706 {
   3707 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3708   ;
   3709   return 0;
   3710 }
   3711 _ACEOF
   3712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3713 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3714 do
   3715   CC="$ac_save_CC $ac_arg"
   3716   if ac_fn_c_try_compile "$LINENO"; then :
   3717   ac_cv_prog_cc_c89=$ac_arg
   3718 fi
   3719 rm -f core conftest.err conftest.$ac_objext
   3720   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3721 done
   3722 rm -f conftest.$ac_ext
   3723 CC=$ac_save_CC
   3724 
   3725 fi
   3726 # AC_CACHE_VAL
   3727 case "x$ac_cv_prog_cc_c89" in
   3728   x)
   3729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3730 $as_echo "none needed" >&6; } ;;
   3731   xno)
   3732     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3733 $as_echo "unsupported" >&6; } ;;
   3734   *)
   3735     CC="$CC $ac_cv_prog_cc_c89"
   3736     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3738 esac
   3739 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3740 
   3741 fi
   3742 
   3743 ac_ext=c
   3744 ac_cpp='$CPP $CPPFLAGS'
   3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3748 
   3749 depcc="$CC"   am_compiler_list=
   3750 
   3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3752 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3753 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3754   $as_echo_n "(cached) " >&6
   3755 else
   3756   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3757   # We make a subdir and do the tests there.  Otherwise we can end up
   3758   # making bogus files that we don't know about and never remove.  For
   3759   # instance it was reported that on HP-UX the gcc test will end up
   3760   # making a dummy file named 'D' -- because '-MD' means "put the output
   3761   # in D".
   3762   rm -rf conftest.dir
   3763   mkdir conftest.dir
   3764   # Copy depcomp to subdir because otherwise we won't find it if we're
   3765   # using a relative directory.
   3766   cp "$am_depcomp" conftest.dir
   3767   cd conftest.dir
   3768   # We will build objects and dependencies in a subdirectory because
   3769   # it helps to detect inapplicable dependency modes.  For instance
   3770   # both Tru64's cc and ICC support -MD to output dependencies as a
   3771   # side effect of compilation, but ICC will put the dependencies in
   3772   # the current directory while Tru64 will put them in the object
   3773   # directory.
   3774   mkdir sub
   3775 
   3776   am_cv_CC_dependencies_compiler_type=none
   3777   if test "$am_compiler_list" = ""; then
   3778      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3779   fi
   3780   am__universal=false
   3781   case " $depcc " in #(
   3782      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3783      esac
   3784 
   3785   for depmode in $am_compiler_list; do
   3786     # Setup a source with many dependencies, because some compilers
   3787     # like to wrap large dependency lists on column 80 (with \), and
   3788     # we should not choose a depcomp mode which is confused by this.
   3789     #
   3790     # We need to recreate these files for each test, as the compiler may
   3791     # overwrite some of them when testing with obscure command lines.
   3792     # This happens at least with the AIX C compiler.
   3793     : > sub/conftest.c
   3794     for i in 1 2 3 4 5 6; do
   3795       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3796       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3797       # Solaris 10 /bin/sh.
   3798       echo '/* dummy */' > sub/conftst$i.h
   3799     done
   3800     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3801 
   3802     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3803     # mode.  It turns out that the SunPro C++ compiler does not properly
   3804     # handle '-M -o', and we need to detect this.  Also, some Intel
   3805     # versions had trouble with output in subdirs.
   3806     am__obj=sub/conftest.${OBJEXT-o}
   3807     am__minus_obj="-o $am__obj"
   3808     case $depmode in
   3809     gcc)
   3810       # This depmode causes a compiler race in universal mode.
   3811       test "$am__universal" = false || continue
   3812       ;;
   3813     nosideeffect)
   3814       # After this tag, mechanisms are not by side-effect, so they'll
   3815       # only be used when explicitly requested.
   3816       if test "x$enable_dependency_tracking" = xyes; then
   3817 	continue
   3818       else
   3819 	break
   3820       fi
   3821       ;;
   3822     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3823       # This compiler won't grok '-c -o', but also, the minuso test has
   3824       # not run yet.  These depmodes are late enough in the game, and
   3825       # so weak that their functioning should not be impacted.
   3826       am__obj=conftest.${OBJEXT-o}
   3827       am__minus_obj=
   3828       ;;
   3829     none) break ;;
   3830     esac
   3831     if depmode=$depmode \
   3832        source=sub/conftest.c object=$am__obj \
   3833        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3834        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3835          >/dev/null 2>conftest.err &&
   3836        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3837        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3838        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3839        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3840       # icc doesn't choke on unknown options, it will just issue warnings
   3841       # or remarks (even with -Werror).  So we grep stderr for any message
   3842       # that says an option was ignored or not supported.
   3843       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3844       #   icc: Command line warning: ignoring option '-M'; no argument required
   3845       # The diagnosis changed in icc 8.0:
   3846       #   icc: Command line remark: option '-MP' not supported
   3847       if (grep 'ignoring option' conftest.err ||
   3848           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3849         am_cv_CC_dependencies_compiler_type=$depmode
   3850         break
   3851       fi
   3852     fi
   3853   done
   3854 
   3855   cd ..
   3856   rm -rf conftest.dir
   3857 else
   3858   am_cv_CC_dependencies_compiler_type=none
   3859 fi
   3860 
   3861 fi
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3863 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3864 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3865 
   3866  if
   3867   test "x$enable_dependency_tracking" != xno \
   3868   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3869   am__fastdepCC_TRUE=
   3870   am__fastdepCC_FALSE='#'
   3871 else
   3872   am__fastdepCC_TRUE='#'
   3873   am__fastdepCC_FALSE=
   3874 fi
   3875 
   3876 
   3877    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3878 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3879 if ${ac_cv_prog_cc_c99+:} false; then :
   3880   $as_echo_n "(cached) " >&6
   3881 else
   3882   ac_cv_prog_cc_c99=no
   3883 ac_save_CC=$CC
   3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3885 /* end confdefs.h.  */
   3886 #include <stdarg.h>
   3887 #include <stdbool.h>
   3888 #include <stdlib.h>
   3889 #include <wchar.h>
   3890 #include <stdio.h>
   3891 
   3892 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3893 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3894 #define showlist(...) puts (#__VA_ARGS__)
   3895 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3896 static void
   3897 test_varargs_macros (void)
   3898 {
   3899   int x = 1234;
   3900   int y = 5678;
   3901   debug ("Flag");
   3902   debug ("X = %d\n", x);
   3903   showlist (The first, second, and third items.);
   3904   report (x>y, "x is %d but y is %d", x, y);
   3905 }
   3906 
   3907 // Check long long types.
   3908 #define BIG64 18446744073709551615ull
   3909 #define BIG32 4294967295ul
   3910 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3911 #if !BIG_OK
   3912   your preprocessor is broken;
   3913 #endif
   3914 #if BIG_OK
   3915 #else
   3916   your preprocessor is broken;
   3917 #endif
   3918 static long long int bignum = -9223372036854775807LL;
   3919 static unsigned long long int ubignum = BIG64;
   3920 
   3921 struct incomplete_array
   3922 {
   3923   int datasize;
   3924   double data[];
   3925 };
   3926 
   3927 struct named_init {
   3928   int number;
   3929   const wchar_t *name;
   3930   double average;
   3931 };
   3932 
   3933 typedef const char *ccp;
   3934 
   3935 static inline int
   3936 test_restrict (ccp restrict text)
   3937 {
   3938   // See if C++-style comments work.
   3939   // Iterate through items via the restricted pointer.
   3940   // Also check for declarations in for loops.
   3941   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3942     continue;
   3943   return 0;
   3944 }
   3945 
   3946 // Check varargs and va_copy.
   3947 static void
   3948 test_varargs (const char *format, ...)
   3949 {
   3950   va_list args;
   3951   va_start (args, format);
   3952   va_list args_copy;
   3953   va_copy (args_copy, args);
   3954 
   3955   const char *str;
   3956   int number;
   3957   float fnumber;
   3958 
   3959   while (*format)
   3960     {
   3961       switch (*format++)
   3962 	{
   3963 	case 's': // string
   3964 	  str = va_arg (args_copy, const char *);
   3965 	  break;
   3966 	case 'd': // int
   3967 	  number = va_arg (args_copy, int);
   3968 	  break;
   3969 	case 'f': // float
   3970 	  fnumber = va_arg (args_copy, double);
   3971 	  break;
   3972 	default:
   3973 	  break;
   3974 	}
   3975     }
   3976   va_end (args_copy);
   3977   va_end (args);
   3978 }
   3979 
   3980 int
   3981 main ()
   3982 {
   3983 
   3984   // Check bool.
   3985   _Bool success = false;
   3986 
   3987   // Check restrict.
   3988   if (test_restrict ("String literal") == 0)
   3989     success = true;
   3990   char *restrict newvar = "Another string";
   3991 
   3992   // Check varargs.
   3993   test_varargs ("s, d' f .", "string", 65, 34.234);
   3994   test_varargs_macros ();
   3995 
   3996   // Check flexible array members.
   3997   struct incomplete_array *ia =
   3998     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3999   ia->datasize = 10;
   4000   for (int i = 0; i < ia->datasize; ++i)
   4001     ia->data[i] = i * 1.234;
   4002 
   4003   // Check named initializers.
   4004   struct named_init ni = {
   4005     .number = 34,
   4006     .name = L"Test wide string",
   4007     .average = 543.34343,
   4008   };
   4009 
   4010   ni.number = 58;
   4011 
   4012   int dynamic_array[ni.number];
   4013   dynamic_array[ni.number - 1] = 543;
   4014 
   4015   // work around unused variable warnings
   4016   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4017 	  || dynamic_array[ni.number - 1] != 543);
   4018 
   4019   ;
   4020   return 0;
   4021 }
   4022 _ACEOF
   4023 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4024 do
   4025   CC="$ac_save_CC $ac_arg"
   4026   if ac_fn_c_try_compile "$LINENO"; then :
   4027   ac_cv_prog_cc_c99=$ac_arg
   4028 fi
   4029 rm -f core conftest.err conftest.$ac_objext
   4030   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4031 done
   4032 rm -f conftest.$ac_ext
   4033 CC=$ac_save_CC
   4034 
   4035 fi
   4036 # AC_CACHE_VAL
   4037 case "x$ac_cv_prog_cc_c99" in
   4038   x)
   4039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4040 $as_echo "none needed" >&6; } ;;
   4041   xno)
   4042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4043 $as_echo "unsupported" >&6; } ;;
   4044   *)
   4045     CC="$CC $ac_cv_prog_cc_c99"
   4046     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4047 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4048 esac
   4049 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4050 
   4051 fi
   4052 
   4053 
   4054 
   4055 ac_ext=c
   4056 ac_cpp='$CPP $CPPFLAGS'
   4057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4061 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4062 # On Suns, sometimes $CPP names a directory.
   4063 if test -n "$CPP" && test -d "$CPP"; then
   4064   CPP=
   4065 fi
   4066 if test -z "$CPP"; then
   4067   if ${ac_cv_prog_CPP+:} false; then :
   4068   $as_echo_n "(cached) " >&6
   4069 else
   4070       # Double quotes because CPP needs to be expanded
   4071     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4072     do
   4073       ac_preproc_ok=false
   4074 for ac_c_preproc_warn_flag in '' yes
   4075 do
   4076   # Use a header file that comes with gcc, so configuring glibc
   4077   # with a fresh cross-compiler works.
   4078   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4079   # <limits.h> exists even on freestanding compilers.
   4080   # On the NeXT, cc -E runs the code through the compiler's parser,
   4081   # not just through cpp. "Syntax error" is here to catch this case.
   4082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4083 /* end confdefs.h.  */
   4084 #ifdef __STDC__
   4085 # include <limits.h>
   4086 #else
   4087 # include <assert.h>
   4088 #endif
   4089 		     Syntax error
   4090 _ACEOF
   4091 if ac_fn_c_try_cpp "$LINENO"; then :
   4092 
   4093 else
   4094   # Broken: fails on valid input.
   4095 continue
   4096 fi
   4097 rm -f conftest.err conftest.i conftest.$ac_ext
   4098 
   4099   # OK, works on sane cases.  Now check whether nonexistent headers
   4100   # can be detected and how.
   4101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4102 /* end confdefs.h.  */
   4103 #include <ac_nonexistent.h>
   4104 _ACEOF
   4105 if ac_fn_c_try_cpp "$LINENO"; then :
   4106   # Broken: success on invalid input.
   4107 continue
   4108 else
   4109   # Passes both tests.
   4110 ac_preproc_ok=:
   4111 break
   4112 fi
   4113 rm -f conftest.err conftest.i conftest.$ac_ext
   4114 
   4115 done
   4116 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4117 rm -f conftest.i conftest.err conftest.$ac_ext
   4118 if $ac_preproc_ok; then :
   4119   break
   4120 fi
   4121 
   4122     done
   4123     ac_cv_prog_CPP=$CPP
   4124 
   4125 fi
   4126   CPP=$ac_cv_prog_CPP
   4127 else
   4128   ac_cv_prog_CPP=$CPP
   4129 fi
   4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4131 $as_echo "$CPP" >&6; }
   4132 ac_preproc_ok=false
   4133 for ac_c_preproc_warn_flag in '' yes
   4134 do
   4135   # Use a header file that comes with gcc, so configuring glibc
   4136   # with a fresh cross-compiler works.
   4137   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4138   # <limits.h> exists even on freestanding compilers.
   4139   # On the NeXT, cc -E runs the code through the compiler's parser,
   4140   # not just through cpp. "Syntax error" is here to catch this case.
   4141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4142 /* end confdefs.h.  */
   4143 #ifdef __STDC__
   4144 # include <limits.h>
   4145 #else
   4146 # include <assert.h>
   4147 #endif
   4148 		     Syntax error
   4149 _ACEOF
   4150 if ac_fn_c_try_cpp "$LINENO"; then :
   4151 
   4152 else
   4153   # Broken: fails on valid input.
   4154 continue
   4155 fi
   4156 rm -f conftest.err conftest.i conftest.$ac_ext
   4157 
   4158   # OK, works on sane cases.  Now check whether nonexistent headers
   4159   # can be detected and how.
   4160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 #include <ac_nonexistent.h>
   4163 _ACEOF
   4164 if ac_fn_c_try_cpp "$LINENO"; then :
   4165   # Broken: success on invalid input.
   4166 continue
   4167 else
   4168   # Passes both tests.
   4169 ac_preproc_ok=:
   4170 break
   4171 fi
   4172 rm -f conftest.err conftest.i conftest.$ac_ext
   4173 
   4174 done
   4175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4176 rm -f conftest.i conftest.err conftest.$ac_ext
   4177 if $ac_preproc_ok; then :
   4178 
   4179 else
   4180   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4182 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4183 See \`config.log' for more details" "$LINENO" 5; }
   4184 fi
   4185 
   4186 ac_ext=c
   4187 ac_cpp='$CPP $CPPFLAGS'
   4188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4191 
   4192 
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4194 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4195 if ${ac_cv_path_GREP+:} false; then :
   4196   $as_echo_n "(cached) " >&6
   4197 else
   4198   if test -z "$GREP"; then
   4199   ac_path_GREP_found=false
   4200   # Loop through the user's path and test for each of PROGNAME-LIST
   4201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4202 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4203 do
   4204   IFS=$as_save_IFS
   4205   test -z "$as_dir" && as_dir=.
   4206     for ac_prog in grep ggrep; do
   4207     for ac_exec_ext in '' $ac_executable_extensions; do
   4208       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4209       as_fn_executable_p "$ac_path_GREP" || continue
   4210 # Check for GNU ac_path_GREP and select it if it is found.
   4211   # Check for GNU $ac_path_GREP
   4212 case `"$ac_path_GREP" --version 2>&1` in
   4213 *GNU*)
   4214   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4215 *)
   4216   ac_count=0
   4217   $as_echo_n 0123456789 >"conftest.in"
   4218   while :
   4219   do
   4220     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4221     mv "conftest.tmp" "conftest.in"
   4222     cp "conftest.in" "conftest.nl"
   4223     $as_echo 'GREP' >> "conftest.nl"
   4224     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4225     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4226     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4227     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4228       # Best one so far, save it but keep looking for a better one
   4229       ac_cv_path_GREP="$ac_path_GREP"
   4230       ac_path_GREP_max=$ac_count
   4231     fi
   4232     # 10*(2^10) chars as input seems more than enough
   4233     test $ac_count -gt 10 && break
   4234   done
   4235   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4236 esac
   4237 
   4238       $ac_path_GREP_found && break 3
   4239     done
   4240   done
   4241   done
   4242 IFS=$as_save_IFS
   4243   if test -z "$ac_cv_path_GREP"; then
   4244     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4245   fi
   4246 else
   4247   ac_cv_path_GREP=$GREP
   4248 fi
   4249 
   4250 fi
   4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4252 $as_echo "$ac_cv_path_GREP" >&6; }
   4253  GREP="$ac_cv_path_GREP"
   4254 
   4255 
   4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4257 $as_echo_n "checking for egrep... " >&6; }
   4258 if ${ac_cv_path_EGREP+:} false; then :
   4259   $as_echo_n "(cached) " >&6
   4260 else
   4261   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4262    then ac_cv_path_EGREP="$GREP -E"
   4263    else
   4264      if test -z "$EGREP"; then
   4265   ac_path_EGREP_found=false
   4266   # Loop through the user's path and test for each of PROGNAME-LIST
   4267   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4268 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4269 do
   4270   IFS=$as_save_IFS
   4271   test -z "$as_dir" && as_dir=.
   4272     for ac_prog in egrep; do
   4273     for ac_exec_ext in '' $ac_executable_extensions; do
   4274       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4275       as_fn_executable_p "$ac_path_EGREP" || continue
   4276 # Check for GNU ac_path_EGREP and select it if it is found.
   4277   # Check for GNU $ac_path_EGREP
   4278 case `"$ac_path_EGREP" --version 2>&1` in
   4279 *GNU*)
   4280   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4281 *)
   4282   ac_count=0
   4283   $as_echo_n 0123456789 >"conftest.in"
   4284   while :
   4285   do
   4286     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4287     mv "conftest.tmp" "conftest.in"
   4288     cp "conftest.in" "conftest.nl"
   4289     $as_echo 'EGREP' >> "conftest.nl"
   4290     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4291     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4292     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4293     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4294       # Best one so far, save it but keep looking for a better one
   4295       ac_cv_path_EGREP="$ac_path_EGREP"
   4296       ac_path_EGREP_max=$ac_count
   4297     fi
   4298     # 10*(2^10) chars as input seems more than enough
   4299     test $ac_count -gt 10 && break
   4300   done
   4301   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4302 esac
   4303 
   4304       $ac_path_EGREP_found && break 3
   4305     done
   4306   done
   4307   done
   4308 IFS=$as_save_IFS
   4309   if test -z "$ac_cv_path_EGREP"; then
   4310     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4311   fi
   4312 else
   4313   ac_cv_path_EGREP=$EGREP
   4314 fi
   4315 
   4316    fi
   4317 fi
   4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4319 $as_echo "$ac_cv_path_EGREP" >&6; }
   4320  EGREP="$ac_cv_path_EGREP"
   4321 
   4322 
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4324 $as_echo_n "checking for ANSI C header files... " >&6; }
   4325 if ${ac_cv_header_stdc+:} false; then :
   4326   $as_echo_n "(cached) " >&6
   4327 else
   4328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 #include <stdlib.h>
   4331 #include <stdarg.h>
   4332 #include <string.h>
   4333 #include <float.h>
   4334 
   4335 int
   4336 main ()
   4337 {
   4338 
   4339   ;
   4340   return 0;
   4341 }
   4342 _ACEOF
   4343 if ac_fn_c_try_compile "$LINENO"; then :
   4344   ac_cv_header_stdc=yes
   4345 else
   4346   ac_cv_header_stdc=no
   4347 fi
   4348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4349 
   4350 if test $ac_cv_header_stdc = yes; then
   4351   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4353 /* end confdefs.h.  */
   4354 #include <string.h>
   4355 
   4356 _ACEOF
   4357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4358   $EGREP "memchr" >/dev/null 2>&1; then :
   4359 
   4360 else
   4361   ac_cv_header_stdc=no
   4362 fi
   4363 rm -f conftest*
   4364 
   4365 fi
   4366 
   4367 if test $ac_cv_header_stdc = yes; then
   4368   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4370 /* end confdefs.h.  */
   4371 #include <stdlib.h>
   4372 
   4373 _ACEOF
   4374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4375   $EGREP "free" >/dev/null 2>&1; then :
   4376 
   4377 else
   4378   ac_cv_header_stdc=no
   4379 fi
   4380 rm -f conftest*
   4381 
   4382 fi
   4383 
   4384 if test $ac_cv_header_stdc = yes; then
   4385   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4386   if test "$cross_compiling" = yes; then :
   4387   :
   4388 else
   4389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4390 /* end confdefs.h.  */
   4391 #include <ctype.h>
   4392 #include <stdlib.h>
   4393 #if ((' ' & 0x0FF) == 0x020)
   4394 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4395 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4396 #else
   4397 # define ISLOWER(c) \
   4398 		   (('a' <= (c) && (c) <= 'i') \
   4399 		     || ('j' <= (c) && (c) <= 'r') \
   4400 		     || ('s' <= (c) && (c) <= 'z'))
   4401 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4402 #endif
   4403 
   4404 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4405 int
   4406 main ()
   4407 {
   4408   int i;
   4409   for (i = 0; i < 256; i++)
   4410     if (XOR (islower (i), ISLOWER (i))
   4411 	|| toupper (i) != TOUPPER (i))
   4412       return 2;
   4413   return 0;
   4414 }
   4415 _ACEOF
   4416 if ac_fn_c_try_run "$LINENO"; then :
   4417 
   4418 else
   4419   ac_cv_header_stdc=no
   4420 fi
   4421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4422   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4423 fi
   4424 
   4425 fi
   4426 fi
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4428 $as_echo "$ac_cv_header_stdc" >&6; }
   4429 if test $ac_cv_header_stdc = yes; then
   4430 
   4431 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4432 
   4433 fi
   4434 
   4435 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4436 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4437 		  inttypes.h stdint.h unistd.h
   4438 do :
   4439   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4440 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4441 "
   4442 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4443   cat >>confdefs.h <<_ACEOF
   4444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4445 _ACEOF
   4446 
   4447 fi
   4448 
   4449 done
   4450 
   4451 
   4452 
   4453 
   4454 
   4455 
   4456 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4457 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4458   CLANGCC="yes"
   4459 else
   4460   CLANGCC="no"
   4461 fi
   4462 
   4463 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4464 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4465   INTELCC="yes"
   4466 else
   4467   INTELCC="no"
   4468 fi
   4469 
   4470 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4471 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4472   SUNCC="yes"
   4473 else
   4474   SUNCC="no"
   4475 fi
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 
   4483 
   4484 
   4485 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4486 	if test -n "$ac_tool_prefix"; then
   4487   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4488 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4490 $as_echo_n "checking for $ac_word... " >&6; }
   4491 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4492   $as_echo_n "(cached) " >&6
   4493 else
   4494   case $PKG_CONFIG in
   4495   [\\/]* | ?:[\\/]*)
   4496   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4497   ;;
   4498   *)
   4499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4500 for as_dir in $PATH
   4501 do
   4502   IFS=$as_save_IFS
   4503   test -z "$as_dir" && as_dir=.
   4504     for ac_exec_ext in '' $ac_executable_extensions; do
   4505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4506     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4508     break 2
   4509   fi
   4510 done
   4511   done
   4512 IFS=$as_save_IFS
   4513 
   4514   ;;
   4515 esac
   4516 fi
   4517 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4518 if test -n "$PKG_CONFIG"; then
   4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4520 $as_echo "$PKG_CONFIG" >&6; }
   4521 else
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4523 $as_echo "no" >&6; }
   4524 fi
   4525 
   4526 
   4527 fi
   4528 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4529   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4530   # Extract the first word of "pkg-config", so it can be a program name with args.
   4531 set dummy pkg-config; ac_word=$2
   4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4533 $as_echo_n "checking for $ac_word... " >&6; }
   4534 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4535   $as_echo_n "(cached) " >&6
   4536 else
   4537   case $ac_pt_PKG_CONFIG in
   4538   [\\/]* | ?:[\\/]*)
   4539   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4540   ;;
   4541   *)
   4542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4543 for as_dir in $PATH
   4544 do
   4545   IFS=$as_save_IFS
   4546   test -z "$as_dir" && as_dir=.
   4547     for ac_exec_ext in '' $ac_executable_extensions; do
   4548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4549     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4551     break 2
   4552   fi
   4553 done
   4554   done
   4555 IFS=$as_save_IFS
   4556 
   4557   ;;
   4558 esac
   4559 fi
   4560 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4561 if test -n "$ac_pt_PKG_CONFIG"; then
   4562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4563 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4564 else
   4565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4566 $as_echo "no" >&6; }
   4567 fi
   4568 
   4569   if test "x$ac_pt_PKG_CONFIG" = x; then
   4570     PKG_CONFIG=""
   4571   else
   4572     case $cross_compiling:$ac_tool_warned in
   4573 yes:)
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4576 ac_tool_warned=yes ;;
   4577 esac
   4578     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4579   fi
   4580 else
   4581   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4582 fi
   4583 
   4584 fi
   4585 if test -n "$PKG_CONFIG"; then
   4586 	_pkg_min_version=0.9.0
   4587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4588 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4589 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4591 $as_echo "yes" >&6; }
   4592 	else
   4593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4594 $as_echo "no" >&6; }
   4595 		PKG_CONFIG=""
   4596 	fi
   4597 fi
   4598 # Make sure we can run config.sub.
   4599 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4600   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4601 
   4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4603 $as_echo_n "checking build system type... " >&6; }
   4604 if ${ac_cv_build+:} false; then :
   4605   $as_echo_n "(cached) " >&6
   4606 else
   4607   ac_build_alias=$build_alias
   4608 test "x$ac_build_alias" = x &&
   4609   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4610 test "x$ac_build_alias" = x &&
   4611   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4612 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4613   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4614 
   4615 fi
   4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4617 $as_echo "$ac_cv_build" >&6; }
   4618 case $ac_cv_build in
   4619 *-*-*) ;;
   4620 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4621 esac
   4622 build=$ac_cv_build
   4623 ac_save_IFS=$IFS; IFS='-'
   4624 set x $ac_cv_build
   4625 shift
   4626 build_cpu=$1
   4627 build_vendor=$2
   4628 shift; shift
   4629 # Remember, the first character of IFS is used to create $*,
   4630 # except with old shells:
   4631 build_os=$*
   4632 IFS=$ac_save_IFS
   4633 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4634 
   4635 
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4637 $as_echo_n "checking host system type... " >&6; }
   4638 if ${ac_cv_host+:} false; then :
   4639   $as_echo_n "(cached) " >&6
   4640 else
   4641   if test "x$host_alias" = x; then
   4642   ac_cv_host=$ac_cv_build
   4643 else
   4644   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4645     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4646 fi
   4647 
   4648 fi
   4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4650 $as_echo "$ac_cv_host" >&6; }
   4651 case $ac_cv_host in
   4652 *-*-*) ;;
   4653 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4654 esac
   4655 host=$ac_cv_host
   4656 ac_save_IFS=$IFS; IFS='-'
   4657 set x $ac_cv_host
   4658 shift
   4659 host_cpu=$1
   4660 host_vendor=$2
   4661 shift; shift
   4662 # Remember, the first character of IFS is used to create $*,
   4663 # except with old shells:
   4664 host_os=$*
   4665 IFS=$ac_save_IFS
   4666 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4667 
   4668 
   4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4670 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4671 if ${ac_cv_path_SED+:} false; then :
   4672   $as_echo_n "(cached) " >&6
   4673 else
   4674             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4675      for ac_i in 1 2 3 4 5 6 7; do
   4676        ac_script="$ac_script$as_nl$ac_script"
   4677      done
   4678      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4679      { ac_script=; unset ac_script;}
   4680      if test -z "$SED"; then
   4681   ac_path_SED_found=false
   4682   # Loop through the user's path and test for each of PROGNAME-LIST
   4683   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4684 for as_dir in $PATH
   4685 do
   4686   IFS=$as_save_IFS
   4687   test -z "$as_dir" && as_dir=.
   4688     for ac_prog in sed gsed; do
   4689     for ac_exec_ext in '' $ac_executable_extensions; do
   4690       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4691       as_fn_executable_p "$ac_path_SED" || continue
   4692 # Check for GNU ac_path_SED and select it if it is found.
   4693   # Check for GNU $ac_path_SED
   4694 case `"$ac_path_SED" --version 2>&1` in
   4695 *GNU*)
   4696   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4697 *)
   4698   ac_count=0
   4699   $as_echo_n 0123456789 >"conftest.in"
   4700   while :
   4701   do
   4702     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4703     mv "conftest.tmp" "conftest.in"
   4704     cp "conftest.in" "conftest.nl"
   4705     $as_echo '' >> "conftest.nl"
   4706     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4707     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4708     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4709     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4710       # Best one so far, save it but keep looking for a better one
   4711       ac_cv_path_SED="$ac_path_SED"
   4712       ac_path_SED_max=$ac_count
   4713     fi
   4714     # 10*(2^10) chars as input seems more than enough
   4715     test $ac_count -gt 10 && break
   4716   done
   4717   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4718 esac
   4719 
   4720       $ac_path_SED_found && break 3
   4721     done
   4722   done
   4723   done
   4724 IFS=$as_save_IFS
   4725   if test -z "$ac_cv_path_SED"; then
   4726     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4727   fi
   4728 else
   4729   ac_cv_path_SED=$SED
   4730 fi
   4731 
   4732 fi
   4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4734 $as_echo "$ac_cv_path_SED" >&6; }
   4735  SED="$ac_cv_path_SED"
   4736   rm -f conftest.sed
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 # Check whether --enable-selective-werror was given.
   4744 if test "${enable_selective_werror+set}" = set; then :
   4745   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4746 else
   4747   SELECTIVE_WERROR=yes
   4748 fi
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4755 if test "x$SUNCC" = "xyes"; then
   4756     BASE_CFLAGS="-v"
   4757 else
   4758     BASE_CFLAGS=""
   4759 fi
   4760 
   4761 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 xorg_testset_save_CFLAGS="$CFLAGS"
   4776 
   4777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4780 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4781 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4785 /* end confdefs.h.  */
   4786 int i;
   4787 _ACEOF
   4788 if ac_fn_c_try_compile "$LINENO"; then :
   4789   xorg_cv_cc_flag_unknown_warning_option=yes
   4790 else
   4791   xorg_cv_cc_flag_unknown_warning_option=no
   4792 fi
   4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4794 fi
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4796 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4798 	CFLAGS="$xorg_testset_save_CFLAGS"
   4799 fi
   4800 
   4801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4804 	fi
   4805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4807 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4808 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4809   $as_echo_n "(cached) " >&6
   4810 else
   4811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4812 /* end confdefs.h.  */
   4813 int i;
   4814 _ACEOF
   4815 if ac_fn_c_try_compile "$LINENO"; then :
   4816   xorg_cv_cc_flag_unused_command_line_argument=yes
   4817 else
   4818   xorg_cv_cc_flag_unused_command_line_argument=no
   4819 fi
   4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4821 fi
   4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4823 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4825 	CFLAGS="$xorg_testset_save_CFLAGS"
   4826 fi
   4827 
   4828 found="no"
   4829 
   4830 	if test $found = "no" ; then
   4831 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4833 		fi
   4834 
   4835 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4837 		fi
   4838 
   4839 		CFLAGS="$CFLAGS -Wall"
   4840 
   4841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4842 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4843 		cacheid=xorg_cv_cc_flag__Wall
   4844 		if eval \${$cacheid+:} false; then :
   4845   $as_echo_n "(cached) " >&6
   4846 else
   4847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4848 /* end confdefs.h.  */
   4849 int i;
   4850 int
   4851 main ()
   4852 {
   4853 
   4854   ;
   4855   return 0;
   4856 }
   4857 _ACEOF
   4858 if ac_fn_c_try_link "$LINENO"; then :
   4859   eval $cacheid=yes
   4860 else
   4861   eval $cacheid=no
   4862 fi
   4863 rm -f core conftest.err conftest.$ac_objext \
   4864     conftest$ac_exeext conftest.$ac_ext
   4865 fi
   4866 
   4867 
   4868 		CFLAGS="$xorg_testset_save_CFLAGS"
   4869 
   4870 		eval supported=\$$cacheid
   4871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4872 $as_echo "$supported" >&6; }
   4873 		if test "$supported" = "yes" ; then
   4874 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4875 			found="yes"
   4876 		fi
   4877 	fi
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 xorg_testset_save_CFLAGS="$CFLAGS"
   4894 
   4895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4898 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4899 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4900   $as_echo_n "(cached) " >&6
   4901 else
   4902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 int i;
   4905 _ACEOF
   4906 if ac_fn_c_try_compile "$LINENO"; then :
   4907   xorg_cv_cc_flag_unknown_warning_option=yes
   4908 else
   4909   xorg_cv_cc_flag_unknown_warning_option=no
   4910 fi
   4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4912 fi
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4914 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4916 	CFLAGS="$xorg_testset_save_CFLAGS"
   4917 fi
   4918 
   4919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4922 	fi
   4923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4925 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4926 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4927   $as_echo_n "(cached) " >&6
   4928 else
   4929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4930 /* end confdefs.h.  */
   4931 int i;
   4932 _ACEOF
   4933 if ac_fn_c_try_compile "$LINENO"; then :
   4934   xorg_cv_cc_flag_unused_command_line_argument=yes
   4935 else
   4936   xorg_cv_cc_flag_unused_command_line_argument=no
   4937 fi
   4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4939 fi
   4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4941 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4943 	CFLAGS="$xorg_testset_save_CFLAGS"
   4944 fi
   4945 
   4946 found="no"
   4947 
   4948 	if test $found = "no" ; then
   4949 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4951 		fi
   4952 
   4953 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4955 		fi
   4956 
   4957 		CFLAGS="$CFLAGS -Wpointer-arith"
   4958 
   4959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4960 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4961 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4962 		if eval \${$cacheid+:} false; then :
   4963   $as_echo_n "(cached) " >&6
   4964 else
   4965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4966 /* end confdefs.h.  */
   4967 int i;
   4968 int
   4969 main ()
   4970 {
   4971 
   4972   ;
   4973   return 0;
   4974 }
   4975 _ACEOF
   4976 if ac_fn_c_try_link "$LINENO"; then :
   4977   eval $cacheid=yes
   4978 else
   4979   eval $cacheid=no
   4980 fi
   4981 rm -f core conftest.err conftest.$ac_objext \
   4982     conftest$ac_exeext conftest.$ac_ext
   4983 fi
   4984 
   4985 
   4986 		CFLAGS="$xorg_testset_save_CFLAGS"
   4987 
   4988 		eval supported=\$$cacheid
   4989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4990 $as_echo "$supported" >&6; }
   4991 		if test "$supported" = "yes" ; then
   4992 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4993 			found="yes"
   4994 		fi
   4995 	fi
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 xorg_testset_save_CFLAGS="$CFLAGS"
   5012 
   5013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5021 /* end confdefs.h.  */
   5022 int i;
   5023 _ACEOF
   5024 if ac_fn_c_try_compile "$LINENO"; then :
   5025   xorg_cv_cc_flag_unknown_warning_option=yes
   5026 else
   5027   xorg_cv_cc_flag_unknown_warning_option=no
   5028 fi
   5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5030 fi
   5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5034 	CFLAGS="$xorg_testset_save_CFLAGS"
   5035 fi
   5036 
   5037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5040 	fi
   5041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5045   $as_echo_n "(cached) " >&6
   5046 else
   5047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5048 /* end confdefs.h.  */
   5049 int i;
   5050 _ACEOF
   5051 if ac_fn_c_try_compile "$LINENO"; then :
   5052   xorg_cv_cc_flag_unused_command_line_argument=yes
   5053 else
   5054   xorg_cv_cc_flag_unused_command_line_argument=no
   5055 fi
   5056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5057 fi
   5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5061 	CFLAGS="$xorg_testset_save_CFLAGS"
   5062 fi
   5063 
   5064 found="no"
   5065 
   5066 	if test $found = "no" ; then
   5067 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5069 		fi
   5070 
   5071 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5073 		fi
   5074 
   5075 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5076 
   5077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5078 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5079 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5080 		if eval \${$cacheid+:} false; then :
   5081   $as_echo_n "(cached) " >&6
   5082 else
   5083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5084 /* end confdefs.h.  */
   5085 int i;
   5086 int
   5087 main ()
   5088 {
   5089 
   5090   ;
   5091   return 0;
   5092 }
   5093 _ACEOF
   5094 if ac_fn_c_try_link "$LINENO"; then :
   5095   eval $cacheid=yes
   5096 else
   5097   eval $cacheid=no
   5098 fi
   5099 rm -f core conftest.err conftest.$ac_objext \
   5100     conftest$ac_exeext conftest.$ac_ext
   5101 fi
   5102 
   5103 
   5104 		CFLAGS="$xorg_testset_save_CFLAGS"
   5105 
   5106 		eval supported=\$$cacheid
   5107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5108 $as_echo "$supported" >&6; }
   5109 		if test "$supported" = "yes" ; then
   5110 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5111 			found="yes"
   5112 		fi
   5113 	fi
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 xorg_testset_save_CFLAGS="$CFLAGS"
   5130 
   5131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5136   $as_echo_n "(cached) " >&6
   5137 else
   5138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5139 /* end confdefs.h.  */
   5140 int i;
   5141 _ACEOF
   5142 if ac_fn_c_try_compile "$LINENO"; then :
   5143   xorg_cv_cc_flag_unknown_warning_option=yes
   5144 else
   5145   xorg_cv_cc_flag_unknown_warning_option=no
   5146 fi
   5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5148 fi
   5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5152 	CFLAGS="$xorg_testset_save_CFLAGS"
   5153 fi
   5154 
   5155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5158 	fi
   5159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5163   $as_echo_n "(cached) " >&6
   5164 else
   5165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5166 /* end confdefs.h.  */
   5167 int i;
   5168 _ACEOF
   5169 if ac_fn_c_try_compile "$LINENO"; then :
   5170   xorg_cv_cc_flag_unused_command_line_argument=yes
   5171 else
   5172   xorg_cv_cc_flag_unused_command_line_argument=no
   5173 fi
   5174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5175 fi
   5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5179 	CFLAGS="$xorg_testset_save_CFLAGS"
   5180 fi
   5181 
   5182 found="no"
   5183 
   5184 	if test $found = "no" ; then
   5185 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5187 		fi
   5188 
   5189 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5191 		fi
   5192 
   5193 		CFLAGS="$CFLAGS -Wformat=2"
   5194 
   5195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5196 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5197 		cacheid=xorg_cv_cc_flag__Wformat_2
   5198 		if eval \${$cacheid+:} false; then :
   5199   $as_echo_n "(cached) " >&6
   5200 else
   5201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5202 /* end confdefs.h.  */
   5203 int i;
   5204 int
   5205 main ()
   5206 {
   5207 
   5208   ;
   5209   return 0;
   5210 }
   5211 _ACEOF
   5212 if ac_fn_c_try_link "$LINENO"; then :
   5213   eval $cacheid=yes
   5214 else
   5215   eval $cacheid=no
   5216 fi
   5217 rm -f core conftest.err conftest.$ac_objext \
   5218     conftest$ac_exeext conftest.$ac_ext
   5219 fi
   5220 
   5221 
   5222 		CFLAGS="$xorg_testset_save_CFLAGS"
   5223 
   5224 		eval supported=\$$cacheid
   5225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5226 $as_echo "$supported" >&6; }
   5227 		if test "$supported" = "yes" ; then
   5228 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5229 			found="yes"
   5230 		fi
   5231 	fi
   5232 
   5233 	if test $found = "no" ; then
   5234 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5236 		fi
   5237 
   5238 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5240 		fi
   5241 
   5242 		CFLAGS="$CFLAGS -Wformat"
   5243 
   5244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5245 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5246 		cacheid=xorg_cv_cc_flag__Wformat
   5247 		if eval \${$cacheid+:} false; then :
   5248   $as_echo_n "(cached) " >&6
   5249 else
   5250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5251 /* end confdefs.h.  */
   5252 int i;
   5253 int
   5254 main ()
   5255 {
   5256 
   5257   ;
   5258   return 0;
   5259 }
   5260 _ACEOF
   5261 if ac_fn_c_try_link "$LINENO"; then :
   5262   eval $cacheid=yes
   5263 else
   5264   eval $cacheid=no
   5265 fi
   5266 rm -f core conftest.err conftest.$ac_objext \
   5267     conftest$ac_exeext conftest.$ac_ext
   5268 fi
   5269 
   5270 
   5271 		CFLAGS="$xorg_testset_save_CFLAGS"
   5272 
   5273 		eval supported=\$$cacheid
   5274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5275 $as_echo "$supported" >&6; }
   5276 		if test "$supported" = "yes" ; then
   5277 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5278 			found="yes"
   5279 		fi
   5280 	fi
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 xorg_testset_save_CFLAGS="$CFLAGS"
   5299 
   5300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5303 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5304 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5308 /* end confdefs.h.  */
   5309 int i;
   5310 _ACEOF
   5311 if ac_fn_c_try_compile "$LINENO"; then :
   5312   xorg_cv_cc_flag_unknown_warning_option=yes
   5313 else
   5314   xorg_cv_cc_flag_unknown_warning_option=no
   5315 fi
   5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5317 fi
   5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5319 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5321 	CFLAGS="$xorg_testset_save_CFLAGS"
   5322 fi
   5323 
   5324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5327 	fi
   5328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5330 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5331 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5332   $as_echo_n "(cached) " >&6
   5333 else
   5334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5335 /* end confdefs.h.  */
   5336 int i;
   5337 _ACEOF
   5338 if ac_fn_c_try_compile "$LINENO"; then :
   5339   xorg_cv_cc_flag_unused_command_line_argument=yes
   5340 else
   5341   xorg_cv_cc_flag_unused_command_line_argument=no
   5342 fi
   5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5344 fi
   5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5346 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5348 	CFLAGS="$xorg_testset_save_CFLAGS"
   5349 fi
   5350 
   5351 found="no"
   5352 
   5353 	if test $found = "no" ; then
   5354 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5356 		fi
   5357 
   5358 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5360 		fi
   5361 
   5362 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5363 
   5364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5365 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5366 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5367 		if eval \${$cacheid+:} false; then :
   5368   $as_echo_n "(cached) " >&6
   5369 else
   5370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5371 /* end confdefs.h.  */
   5372 int i;
   5373 int
   5374 main ()
   5375 {
   5376 
   5377   ;
   5378   return 0;
   5379 }
   5380 _ACEOF
   5381 if ac_fn_c_try_link "$LINENO"; then :
   5382   eval $cacheid=yes
   5383 else
   5384   eval $cacheid=no
   5385 fi
   5386 rm -f core conftest.err conftest.$ac_objext \
   5387     conftest$ac_exeext conftest.$ac_ext
   5388 fi
   5389 
   5390 
   5391 		CFLAGS="$xorg_testset_save_CFLAGS"
   5392 
   5393 		eval supported=\$$cacheid
   5394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5395 $as_echo "$supported" >&6; }
   5396 		if test "$supported" = "yes" ; then
   5397 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5398 			found="yes"
   5399 		fi
   5400 	fi
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 xorg_testset_save_CFLAGS="$CFLAGS"
   5417 
   5418 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5419 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5421 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5422 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5423   $as_echo_n "(cached) " >&6
   5424 else
   5425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5426 /* end confdefs.h.  */
   5427 int i;
   5428 _ACEOF
   5429 if ac_fn_c_try_compile "$LINENO"; then :
   5430   xorg_cv_cc_flag_unknown_warning_option=yes
   5431 else
   5432   xorg_cv_cc_flag_unknown_warning_option=no
   5433 fi
   5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5435 fi
   5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5437 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5438 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5439 	CFLAGS="$xorg_testset_save_CFLAGS"
   5440 fi
   5441 
   5442 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5443 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5444 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5445 	fi
   5446 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5448 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5449 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5450   $as_echo_n "(cached) " >&6
   5451 else
   5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5453 /* end confdefs.h.  */
   5454 int i;
   5455 _ACEOF
   5456 if ac_fn_c_try_compile "$LINENO"; then :
   5457   xorg_cv_cc_flag_unused_command_line_argument=yes
   5458 else
   5459   xorg_cv_cc_flag_unused_command_line_argument=no
   5460 fi
   5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5462 fi
   5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5464 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5465 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5466 	CFLAGS="$xorg_testset_save_CFLAGS"
   5467 fi
   5468 
   5469 found="no"
   5470 
   5471 	if test $found = "no" ; then
   5472 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5473 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5474 		fi
   5475 
   5476 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5477 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5478 		fi
   5479 
   5480 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5481 
   5482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5483 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5484 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5485 		if eval \${$cacheid+:} false; then :
   5486   $as_echo_n "(cached) " >&6
   5487 else
   5488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5489 /* end confdefs.h.  */
   5490 int i;
   5491 int
   5492 main ()
   5493 {
   5494 
   5495   ;
   5496   return 0;
   5497 }
   5498 _ACEOF
   5499 if ac_fn_c_try_link "$LINENO"; then :
   5500   eval $cacheid=yes
   5501 else
   5502   eval $cacheid=no
   5503 fi
   5504 rm -f core conftest.err conftest.$ac_objext \
   5505     conftest$ac_exeext conftest.$ac_ext
   5506 fi
   5507 
   5508 
   5509 		CFLAGS="$xorg_testset_save_CFLAGS"
   5510 
   5511 		eval supported=\$$cacheid
   5512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5513 $as_echo "$supported" >&6; }
   5514 		if test "$supported" = "yes" ; then
   5515 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5516 			found="yes"
   5517 		fi
   5518 	fi
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 xorg_testset_save_CFLAGS="$CFLAGS"
   5535 
   5536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5541   $as_echo_n "(cached) " >&6
   5542 else
   5543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5544 /* end confdefs.h.  */
   5545 int i;
   5546 _ACEOF
   5547 if ac_fn_c_try_compile "$LINENO"; then :
   5548   xorg_cv_cc_flag_unknown_warning_option=yes
   5549 else
   5550   xorg_cv_cc_flag_unknown_warning_option=no
   5551 fi
   5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5553 fi
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5557 	CFLAGS="$xorg_testset_save_CFLAGS"
   5558 fi
   5559 
   5560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5563 	fi
   5564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5568   $as_echo_n "(cached) " >&6
   5569 else
   5570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5571 /* end confdefs.h.  */
   5572 int i;
   5573 _ACEOF
   5574 if ac_fn_c_try_compile "$LINENO"; then :
   5575   xorg_cv_cc_flag_unused_command_line_argument=yes
   5576 else
   5577   xorg_cv_cc_flag_unused_command_line_argument=no
   5578 fi
   5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5580 fi
   5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5584 	CFLAGS="$xorg_testset_save_CFLAGS"
   5585 fi
   5586 
   5587 found="no"
   5588 
   5589 	if test $found = "no" ; then
   5590 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5592 		fi
   5593 
   5594 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5596 		fi
   5597 
   5598 		CFLAGS="$CFLAGS -Wnested-externs"
   5599 
   5600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5601 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5602 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5603 		if eval \${$cacheid+:} false; then :
   5604   $as_echo_n "(cached) " >&6
   5605 else
   5606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5607 /* end confdefs.h.  */
   5608 int i;
   5609 int
   5610 main ()
   5611 {
   5612 
   5613   ;
   5614   return 0;
   5615 }
   5616 _ACEOF
   5617 if ac_fn_c_try_link "$LINENO"; then :
   5618   eval $cacheid=yes
   5619 else
   5620   eval $cacheid=no
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext \
   5623     conftest$ac_exeext conftest.$ac_ext
   5624 fi
   5625 
   5626 
   5627 		CFLAGS="$xorg_testset_save_CFLAGS"
   5628 
   5629 		eval supported=\$$cacheid
   5630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5631 $as_echo "$supported" >&6; }
   5632 		if test "$supported" = "yes" ; then
   5633 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5634 			found="yes"
   5635 		fi
   5636 	fi
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 xorg_testset_save_CFLAGS="$CFLAGS"
   5653 
   5654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5657 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5658 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5659   $as_echo_n "(cached) " >&6
   5660 else
   5661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5662 /* end confdefs.h.  */
   5663 int i;
   5664 _ACEOF
   5665 if ac_fn_c_try_compile "$LINENO"; then :
   5666   xorg_cv_cc_flag_unknown_warning_option=yes
   5667 else
   5668   xorg_cv_cc_flag_unknown_warning_option=no
   5669 fi
   5670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5671 fi
   5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5673 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5675 	CFLAGS="$xorg_testset_save_CFLAGS"
   5676 fi
   5677 
   5678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5681 	fi
   5682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5684 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5685 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5686   $as_echo_n "(cached) " >&6
   5687 else
   5688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5689 /* end confdefs.h.  */
   5690 int i;
   5691 _ACEOF
   5692 if ac_fn_c_try_compile "$LINENO"; then :
   5693   xorg_cv_cc_flag_unused_command_line_argument=yes
   5694 else
   5695   xorg_cv_cc_flag_unused_command_line_argument=no
   5696 fi
   5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5698 fi
   5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5700 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5702 	CFLAGS="$xorg_testset_save_CFLAGS"
   5703 fi
   5704 
   5705 found="no"
   5706 
   5707 	if test $found = "no" ; then
   5708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5710 		fi
   5711 
   5712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5714 		fi
   5715 
   5716 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5717 
   5718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5719 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5720 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5721 		if eval \${$cacheid+:} false; then :
   5722   $as_echo_n "(cached) " >&6
   5723 else
   5724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5725 /* end confdefs.h.  */
   5726 int i;
   5727 int
   5728 main ()
   5729 {
   5730 
   5731   ;
   5732   return 0;
   5733 }
   5734 _ACEOF
   5735 if ac_fn_c_try_link "$LINENO"; then :
   5736   eval $cacheid=yes
   5737 else
   5738   eval $cacheid=no
   5739 fi
   5740 rm -f core conftest.err conftest.$ac_objext \
   5741     conftest$ac_exeext conftest.$ac_ext
   5742 fi
   5743 
   5744 
   5745 		CFLAGS="$xorg_testset_save_CFLAGS"
   5746 
   5747 		eval supported=\$$cacheid
   5748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5749 $as_echo "$supported" >&6; }
   5750 		if test "$supported" = "yes" ; then
   5751 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5752 			found="yes"
   5753 		fi
   5754 	fi
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 xorg_testset_save_CFLAGS="$CFLAGS"
   5771 
   5772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5777   $as_echo_n "(cached) " >&6
   5778 else
   5779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5780 /* end confdefs.h.  */
   5781 int i;
   5782 _ACEOF
   5783 if ac_fn_c_try_compile "$LINENO"; then :
   5784   xorg_cv_cc_flag_unknown_warning_option=yes
   5785 else
   5786   xorg_cv_cc_flag_unknown_warning_option=no
   5787 fi
   5788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5789 fi
   5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5793 	CFLAGS="$xorg_testset_save_CFLAGS"
   5794 fi
   5795 
   5796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5799 	fi
   5800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5804   $as_echo_n "(cached) " >&6
   5805 else
   5806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 int i;
   5809 _ACEOF
   5810 if ac_fn_c_try_compile "$LINENO"; then :
   5811   xorg_cv_cc_flag_unused_command_line_argument=yes
   5812 else
   5813   xorg_cv_cc_flag_unused_command_line_argument=no
   5814 fi
   5815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5816 fi
   5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5820 	CFLAGS="$xorg_testset_save_CFLAGS"
   5821 fi
   5822 
   5823 found="no"
   5824 
   5825 	if test $found = "no" ; then
   5826 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5828 		fi
   5829 
   5830 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5832 		fi
   5833 
   5834 		CFLAGS="$CFLAGS -Wold-style-definition"
   5835 
   5836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5837 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5838 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5839 		if eval \${$cacheid+:} false; then :
   5840   $as_echo_n "(cached) " >&6
   5841 else
   5842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5843 /* end confdefs.h.  */
   5844 int i;
   5845 int
   5846 main ()
   5847 {
   5848 
   5849   ;
   5850   return 0;
   5851 }
   5852 _ACEOF
   5853 if ac_fn_c_try_link "$LINENO"; then :
   5854   eval $cacheid=yes
   5855 else
   5856   eval $cacheid=no
   5857 fi
   5858 rm -f core conftest.err conftest.$ac_objext \
   5859     conftest$ac_exeext conftest.$ac_ext
   5860 fi
   5861 
   5862 
   5863 		CFLAGS="$xorg_testset_save_CFLAGS"
   5864 
   5865 		eval supported=\$$cacheid
   5866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5867 $as_echo "$supported" >&6; }
   5868 		if test "$supported" = "yes" ; then
   5869 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5870 			found="yes"
   5871 		fi
   5872 	fi
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 xorg_testset_save_CFLAGS="$CFLAGS"
   5889 
   5890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5893 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5894 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5895   $as_echo_n "(cached) " >&6
   5896 else
   5897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5898 /* end confdefs.h.  */
   5899 int i;
   5900 _ACEOF
   5901 if ac_fn_c_try_compile "$LINENO"; then :
   5902   xorg_cv_cc_flag_unknown_warning_option=yes
   5903 else
   5904   xorg_cv_cc_flag_unknown_warning_option=no
   5905 fi
   5906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5907 fi
   5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5909 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5911 	CFLAGS="$xorg_testset_save_CFLAGS"
   5912 fi
   5913 
   5914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5917 	fi
   5918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5920 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5921 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 int i;
   5927 _ACEOF
   5928 if ac_fn_c_try_compile "$LINENO"; then :
   5929   xorg_cv_cc_flag_unused_command_line_argument=yes
   5930 else
   5931   xorg_cv_cc_flag_unused_command_line_argument=no
   5932 fi
   5933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5934 fi
   5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5936 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5938 	CFLAGS="$xorg_testset_save_CFLAGS"
   5939 fi
   5940 
   5941 found="no"
   5942 
   5943 	if test $found = "no" ; then
   5944 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 		fi
   5947 
   5948 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5950 		fi
   5951 
   5952 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5953 
   5954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5955 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5956 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5957 		if eval \${$cacheid+:} false; then :
   5958   $as_echo_n "(cached) " >&6
   5959 else
   5960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5961 /* end confdefs.h.  */
   5962 int i;
   5963 int
   5964 main ()
   5965 {
   5966 
   5967   ;
   5968   return 0;
   5969 }
   5970 _ACEOF
   5971 if ac_fn_c_try_link "$LINENO"; then :
   5972   eval $cacheid=yes
   5973 else
   5974   eval $cacheid=no
   5975 fi
   5976 rm -f core conftest.err conftest.$ac_objext \
   5977     conftest$ac_exeext conftest.$ac_ext
   5978 fi
   5979 
   5980 
   5981 		CFLAGS="$xorg_testset_save_CFLAGS"
   5982 
   5983 		eval supported=\$$cacheid
   5984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5985 $as_echo "$supported" >&6; }
   5986 		if test "$supported" = "yes" ; then
   5987 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5988 			found="yes"
   5989 		fi
   5990 	fi
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 # This chunk adds additional warnings that could catch undesired effects.
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 xorg_testset_save_CFLAGS="$CFLAGS"
   6011 
   6012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6017   $as_echo_n "(cached) " >&6
   6018 else
   6019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6020 /* end confdefs.h.  */
   6021 int i;
   6022 _ACEOF
   6023 if ac_fn_c_try_compile "$LINENO"; then :
   6024   xorg_cv_cc_flag_unknown_warning_option=yes
   6025 else
   6026   xorg_cv_cc_flag_unknown_warning_option=no
   6027 fi
   6028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6029 fi
   6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6033 	CFLAGS="$xorg_testset_save_CFLAGS"
   6034 fi
   6035 
   6036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 	fi
   6040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6044   $as_echo_n "(cached) " >&6
   6045 else
   6046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6047 /* end confdefs.h.  */
   6048 int i;
   6049 _ACEOF
   6050 if ac_fn_c_try_compile "$LINENO"; then :
   6051   xorg_cv_cc_flag_unused_command_line_argument=yes
   6052 else
   6053   xorg_cv_cc_flag_unused_command_line_argument=no
   6054 fi
   6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6056 fi
   6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6060 	CFLAGS="$xorg_testset_save_CFLAGS"
   6061 fi
   6062 
   6063 found="no"
   6064 
   6065 	if test $found = "no" ; then
   6066 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6068 		fi
   6069 
   6070 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6072 		fi
   6073 
   6074 		CFLAGS="$CFLAGS -Wunused"
   6075 
   6076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6077 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6078 		cacheid=xorg_cv_cc_flag__Wunused
   6079 		if eval \${$cacheid+:} false; then :
   6080   $as_echo_n "(cached) " >&6
   6081 else
   6082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6083 /* end confdefs.h.  */
   6084 int i;
   6085 int
   6086 main ()
   6087 {
   6088 
   6089   ;
   6090   return 0;
   6091 }
   6092 _ACEOF
   6093 if ac_fn_c_try_link "$LINENO"; then :
   6094   eval $cacheid=yes
   6095 else
   6096   eval $cacheid=no
   6097 fi
   6098 rm -f core conftest.err conftest.$ac_objext \
   6099     conftest$ac_exeext conftest.$ac_ext
   6100 fi
   6101 
   6102 
   6103 		CFLAGS="$xorg_testset_save_CFLAGS"
   6104 
   6105 		eval supported=\$$cacheid
   6106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6107 $as_echo "$supported" >&6; }
   6108 		if test "$supported" = "yes" ; then
   6109 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6110 			found="yes"
   6111 		fi
   6112 	fi
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 xorg_testset_save_CFLAGS="$CFLAGS"
   6129 
   6130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6133 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6134 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6135   $as_echo_n "(cached) " >&6
   6136 else
   6137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"; then :
   6142   xorg_cv_cc_flag_unknown_warning_option=yes
   6143 else
   6144   xorg_cv_cc_flag_unknown_warning_option=no
   6145 fi
   6146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6147 fi
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6149 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6151 	CFLAGS="$xorg_testset_save_CFLAGS"
   6152 fi
   6153 
   6154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6157 	fi
   6158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6160 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6161 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6162   $as_echo_n "(cached) " >&6
   6163 else
   6164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6165 /* end confdefs.h.  */
   6166 int i;
   6167 _ACEOF
   6168 if ac_fn_c_try_compile "$LINENO"; then :
   6169   xorg_cv_cc_flag_unused_command_line_argument=yes
   6170 else
   6171   xorg_cv_cc_flag_unused_command_line_argument=no
   6172 fi
   6173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6174 fi
   6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6176 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6178 	CFLAGS="$xorg_testset_save_CFLAGS"
   6179 fi
   6180 
   6181 found="no"
   6182 
   6183 	if test $found = "no" ; then
   6184 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 		fi
   6187 
   6188 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6190 		fi
   6191 
   6192 		CFLAGS="$CFLAGS -Wuninitialized"
   6193 
   6194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6195 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6196 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6197 		if eval \${$cacheid+:} false; then :
   6198   $as_echo_n "(cached) " >&6
   6199 else
   6200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6201 /* end confdefs.h.  */
   6202 int i;
   6203 int
   6204 main ()
   6205 {
   6206 
   6207   ;
   6208   return 0;
   6209 }
   6210 _ACEOF
   6211 if ac_fn_c_try_link "$LINENO"; then :
   6212   eval $cacheid=yes
   6213 else
   6214   eval $cacheid=no
   6215 fi
   6216 rm -f core conftest.err conftest.$ac_objext \
   6217     conftest$ac_exeext conftest.$ac_ext
   6218 fi
   6219 
   6220 
   6221 		CFLAGS="$xorg_testset_save_CFLAGS"
   6222 
   6223 		eval supported=\$$cacheid
   6224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6225 $as_echo "$supported" >&6; }
   6226 		if test "$supported" = "yes" ; then
   6227 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6228 			found="yes"
   6229 		fi
   6230 	fi
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 xorg_testset_save_CFLAGS="$CFLAGS"
   6247 
   6248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6253   $as_echo_n "(cached) " >&6
   6254 else
   6255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6256 /* end confdefs.h.  */
   6257 int i;
   6258 _ACEOF
   6259 if ac_fn_c_try_compile "$LINENO"; then :
   6260   xorg_cv_cc_flag_unknown_warning_option=yes
   6261 else
   6262   xorg_cv_cc_flag_unknown_warning_option=no
   6263 fi
   6264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6265 fi
   6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6269 	CFLAGS="$xorg_testset_save_CFLAGS"
   6270 fi
   6271 
   6272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6275 	fi
   6276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 int i;
   6285 _ACEOF
   6286 if ac_fn_c_try_compile "$LINENO"; then :
   6287   xorg_cv_cc_flag_unused_command_line_argument=yes
   6288 else
   6289   xorg_cv_cc_flag_unused_command_line_argument=no
   6290 fi
   6291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6292 fi
   6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6296 	CFLAGS="$xorg_testset_save_CFLAGS"
   6297 fi
   6298 
   6299 found="no"
   6300 
   6301 	if test $found = "no" ; then
   6302 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 		fi
   6305 
   6306 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6308 		fi
   6309 
   6310 		CFLAGS="$CFLAGS -Wshadow"
   6311 
   6312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6313 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6314 		cacheid=xorg_cv_cc_flag__Wshadow
   6315 		if eval \${$cacheid+:} false; then :
   6316   $as_echo_n "(cached) " >&6
   6317 else
   6318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6319 /* end confdefs.h.  */
   6320 int i;
   6321 int
   6322 main ()
   6323 {
   6324 
   6325   ;
   6326   return 0;
   6327 }
   6328 _ACEOF
   6329 if ac_fn_c_try_link "$LINENO"; then :
   6330   eval $cacheid=yes
   6331 else
   6332   eval $cacheid=no
   6333 fi
   6334 rm -f core conftest.err conftest.$ac_objext \
   6335     conftest$ac_exeext conftest.$ac_ext
   6336 fi
   6337 
   6338 
   6339 		CFLAGS="$xorg_testset_save_CFLAGS"
   6340 
   6341 		eval supported=\$$cacheid
   6342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6343 $as_echo "$supported" >&6; }
   6344 		if test "$supported" = "yes" ; then
   6345 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6346 			found="yes"
   6347 		fi
   6348 	fi
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 xorg_testset_save_CFLAGS="$CFLAGS"
   6365 
   6366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6371   $as_echo_n "(cached) " >&6
   6372 else
   6373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6374 /* end confdefs.h.  */
   6375 int i;
   6376 _ACEOF
   6377 if ac_fn_c_try_compile "$LINENO"; then :
   6378   xorg_cv_cc_flag_unknown_warning_option=yes
   6379 else
   6380   xorg_cv_cc_flag_unknown_warning_option=no
   6381 fi
   6382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6383 fi
   6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6387 	CFLAGS="$xorg_testset_save_CFLAGS"
   6388 fi
   6389 
   6390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6393 	fi
   6394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6398   $as_echo_n "(cached) " >&6
   6399 else
   6400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6401 /* end confdefs.h.  */
   6402 int i;
   6403 _ACEOF
   6404 if ac_fn_c_try_compile "$LINENO"; then :
   6405   xorg_cv_cc_flag_unused_command_line_argument=yes
   6406 else
   6407   xorg_cv_cc_flag_unused_command_line_argument=no
   6408 fi
   6409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6410 fi
   6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6414 	CFLAGS="$xorg_testset_save_CFLAGS"
   6415 fi
   6416 
   6417 found="no"
   6418 
   6419 	if test $found = "no" ; then
   6420 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 		fi
   6423 
   6424 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6426 		fi
   6427 
   6428 		CFLAGS="$CFLAGS -Wcast-qual"
   6429 
   6430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6431 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6432 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6433 		if eval \${$cacheid+:} false; then :
   6434   $as_echo_n "(cached) " >&6
   6435 else
   6436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6437 /* end confdefs.h.  */
   6438 int i;
   6439 int
   6440 main ()
   6441 {
   6442 
   6443   ;
   6444   return 0;
   6445 }
   6446 _ACEOF
   6447 if ac_fn_c_try_link "$LINENO"; then :
   6448   eval $cacheid=yes
   6449 else
   6450   eval $cacheid=no
   6451 fi
   6452 rm -f core conftest.err conftest.$ac_objext \
   6453     conftest$ac_exeext conftest.$ac_ext
   6454 fi
   6455 
   6456 
   6457 		CFLAGS="$xorg_testset_save_CFLAGS"
   6458 
   6459 		eval supported=\$$cacheid
   6460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6461 $as_echo "$supported" >&6; }
   6462 		if test "$supported" = "yes" ; then
   6463 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6464 			found="yes"
   6465 		fi
   6466 	fi
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 xorg_testset_save_CFLAGS="$CFLAGS"
   6483 
   6484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6492 /* end confdefs.h.  */
   6493 int i;
   6494 _ACEOF
   6495 if ac_fn_c_try_compile "$LINENO"; then :
   6496   xorg_cv_cc_flag_unknown_warning_option=yes
   6497 else
   6498   xorg_cv_cc_flag_unknown_warning_option=no
   6499 fi
   6500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6501 fi
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6505 	CFLAGS="$xorg_testset_save_CFLAGS"
   6506 fi
   6507 
   6508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6511 	fi
   6512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6516   $as_echo_n "(cached) " >&6
   6517 else
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 _ACEOF
   6522 if ac_fn_c_try_compile "$LINENO"; then :
   6523   xorg_cv_cc_flag_unused_command_line_argument=yes
   6524 else
   6525   xorg_cv_cc_flag_unused_command_line_argument=no
   6526 fi
   6527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6528 fi
   6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6532 	CFLAGS="$xorg_testset_save_CFLAGS"
   6533 fi
   6534 
   6535 found="no"
   6536 
   6537 	if test $found = "no" ; then
   6538 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 		fi
   6541 
   6542 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6544 		fi
   6545 
   6546 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6547 
   6548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6549 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6550 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6551 		if eval \${$cacheid+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6555 /* end confdefs.h.  */
   6556 int i;
   6557 int
   6558 main ()
   6559 {
   6560 
   6561   ;
   6562   return 0;
   6563 }
   6564 _ACEOF
   6565 if ac_fn_c_try_link "$LINENO"; then :
   6566   eval $cacheid=yes
   6567 else
   6568   eval $cacheid=no
   6569 fi
   6570 rm -f core conftest.err conftest.$ac_objext \
   6571     conftest$ac_exeext conftest.$ac_ext
   6572 fi
   6573 
   6574 
   6575 		CFLAGS="$xorg_testset_save_CFLAGS"
   6576 
   6577 		eval supported=\$$cacheid
   6578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6579 $as_echo "$supported" >&6; }
   6580 		if test "$supported" = "yes" ; then
   6581 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6582 			found="yes"
   6583 		fi
   6584 	fi
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 xorg_testset_save_CFLAGS="$CFLAGS"
   6601 
   6602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6604 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6605 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6606 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6607   $as_echo_n "(cached) " >&6
   6608 else
   6609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6610 /* end confdefs.h.  */
   6611 int i;
   6612 _ACEOF
   6613 if ac_fn_c_try_compile "$LINENO"; then :
   6614   xorg_cv_cc_flag_unknown_warning_option=yes
   6615 else
   6616   xorg_cv_cc_flag_unknown_warning_option=no
   6617 fi
   6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6619 fi
   6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6621 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6623 	CFLAGS="$xorg_testset_save_CFLAGS"
   6624 fi
   6625 
   6626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6629 	fi
   6630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6632 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6633 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6634   $as_echo_n "(cached) " >&6
   6635 else
   6636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6637 /* end confdefs.h.  */
   6638 int i;
   6639 _ACEOF
   6640 if ac_fn_c_try_compile "$LINENO"; then :
   6641   xorg_cv_cc_flag_unused_command_line_argument=yes
   6642 else
   6643   xorg_cv_cc_flag_unused_command_line_argument=no
   6644 fi
   6645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6646 fi
   6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6648 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6649 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6650 	CFLAGS="$xorg_testset_save_CFLAGS"
   6651 fi
   6652 
   6653 found="no"
   6654 
   6655 	if test $found = "no" ; then
   6656 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 		fi
   6659 
   6660 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6662 		fi
   6663 
   6664 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6665 
   6666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6667 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6668 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6669 		if eval \${$cacheid+:} false; then :
   6670   $as_echo_n "(cached) " >&6
   6671 else
   6672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6673 /* end confdefs.h.  */
   6674 int i;
   6675 int
   6676 main ()
   6677 {
   6678 
   6679   ;
   6680   return 0;
   6681 }
   6682 _ACEOF
   6683 if ac_fn_c_try_link "$LINENO"; then :
   6684   eval $cacheid=yes
   6685 else
   6686   eval $cacheid=no
   6687 fi
   6688 rm -f core conftest.err conftest.$ac_objext \
   6689     conftest$ac_exeext conftest.$ac_ext
   6690 fi
   6691 
   6692 
   6693 		CFLAGS="$xorg_testset_save_CFLAGS"
   6694 
   6695 		eval supported=\$$cacheid
   6696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6697 $as_echo "$supported" >&6; }
   6698 		if test "$supported" = "yes" ; then
   6699 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6700 			found="yes"
   6701 		fi
   6702 	fi
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 xorg_testset_save_CFLAGS="$CFLAGS"
   6719 
   6720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6723 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6724 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6725   $as_echo_n "(cached) " >&6
   6726 else
   6727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6728 /* end confdefs.h.  */
   6729 int i;
   6730 _ACEOF
   6731 if ac_fn_c_try_compile "$LINENO"; then :
   6732   xorg_cv_cc_flag_unknown_warning_option=yes
   6733 else
   6734   xorg_cv_cc_flag_unknown_warning_option=no
   6735 fi
   6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6737 fi
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6739 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6740 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6741 	CFLAGS="$xorg_testset_save_CFLAGS"
   6742 fi
   6743 
   6744 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6745 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6746 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6747 	fi
   6748 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6750 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6751 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6752   $as_echo_n "(cached) " >&6
   6753 else
   6754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6755 /* end confdefs.h.  */
   6756 int i;
   6757 _ACEOF
   6758 if ac_fn_c_try_compile "$LINENO"; then :
   6759   xorg_cv_cc_flag_unused_command_line_argument=yes
   6760 else
   6761   xorg_cv_cc_flag_unused_command_line_argument=no
   6762 fi
   6763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6764 fi
   6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6766 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6768 	CFLAGS="$xorg_testset_save_CFLAGS"
   6769 fi
   6770 
   6771 found="no"
   6772 
   6773 	if test $found = "no" ; then
   6774 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 		fi
   6777 
   6778 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6780 		fi
   6781 
   6782 		CFLAGS="$CFLAGS -Wredundant-decls"
   6783 
   6784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6785 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6786 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6787 		if eval \${$cacheid+:} false; then :
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6791 /* end confdefs.h.  */
   6792 int i;
   6793 int
   6794 main ()
   6795 {
   6796 
   6797   ;
   6798   return 0;
   6799 }
   6800 _ACEOF
   6801 if ac_fn_c_try_link "$LINENO"; then :
   6802   eval $cacheid=yes
   6803 else
   6804   eval $cacheid=no
   6805 fi
   6806 rm -f core conftest.err conftest.$ac_objext \
   6807     conftest$ac_exeext conftest.$ac_ext
   6808 fi
   6809 
   6810 
   6811 		CFLAGS="$xorg_testset_save_CFLAGS"
   6812 
   6813 		eval supported=\$$cacheid
   6814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6815 $as_echo "$supported" >&6; }
   6816 		if test "$supported" = "yes" ; then
   6817 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6818 			found="yes"
   6819 		fi
   6820 	fi
   6821 
   6822 
   6823 
   6824 # These are currently disabled because they are noisy.  They will be enabled
   6825 # in the future once the codebase is sufficiently modernized to silence
   6826 # them.  For now, I don't want them to drown out the other warnings.
   6827 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6828 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6829 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6830 
   6831 # Turn some warnings into errors, so we don't accidently get successful builds
   6832 # when there are problems that should be fixed.
   6833 
   6834 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 xorg_testset_save_CFLAGS="$CFLAGS"
   6849 
   6850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6858 /* end confdefs.h.  */
   6859 int i;
   6860 _ACEOF
   6861 if ac_fn_c_try_compile "$LINENO"; then :
   6862   xorg_cv_cc_flag_unknown_warning_option=yes
   6863 else
   6864   xorg_cv_cc_flag_unknown_warning_option=no
   6865 fi
   6866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6867 fi
   6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6871 	CFLAGS="$xorg_testset_save_CFLAGS"
   6872 fi
   6873 
   6874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6877 	fi
   6878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6885 /* end confdefs.h.  */
   6886 int i;
   6887 _ACEOF
   6888 if ac_fn_c_try_compile "$LINENO"; then :
   6889   xorg_cv_cc_flag_unused_command_line_argument=yes
   6890 else
   6891   xorg_cv_cc_flag_unused_command_line_argument=no
   6892 fi
   6893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6894 fi
   6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6898 	CFLAGS="$xorg_testset_save_CFLAGS"
   6899 fi
   6900 
   6901 found="no"
   6902 
   6903 	if test $found = "no" ; then
   6904 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6906 		fi
   6907 
   6908 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6910 		fi
   6911 
   6912 		CFLAGS="$CFLAGS -Werror=implicit"
   6913 
   6914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6915 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6916 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6917 		if eval \${$cacheid+:} false; then :
   6918   $as_echo_n "(cached) " >&6
   6919 else
   6920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6921 /* end confdefs.h.  */
   6922 int i;
   6923 int
   6924 main ()
   6925 {
   6926 
   6927   ;
   6928   return 0;
   6929 }
   6930 _ACEOF
   6931 if ac_fn_c_try_link "$LINENO"; then :
   6932   eval $cacheid=yes
   6933 else
   6934   eval $cacheid=no
   6935 fi
   6936 rm -f core conftest.err conftest.$ac_objext \
   6937     conftest$ac_exeext conftest.$ac_ext
   6938 fi
   6939 
   6940 
   6941 		CFLAGS="$xorg_testset_save_CFLAGS"
   6942 
   6943 		eval supported=\$$cacheid
   6944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6945 $as_echo "$supported" >&6; }
   6946 		if test "$supported" = "yes" ; then
   6947 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6948 			found="yes"
   6949 		fi
   6950 	fi
   6951 
   6952 	if test $found = "no" ; then
   6953 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6955 		fi
   6956 
   6957 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6959 		fi
   6960 
   6961 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6962 
   6963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6964 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6965 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6966 		if eval \${$cacheid+:} false; then :
   6967   $as_echo_n "(cached) " >&6
   6968 else
   6969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6970 /* end confdefs.h.  */
   6971 int i;
   6972 int
   6973 main ()
   6974 {
   6975 
   6976   ;
   6977   return 0;
   6978 }
   6979 _ACEOF
   6980 if ac_fn_c_try_link "$LINENO"; then :
   6981   eval $cacheid=yes
   6982 else
   6983   eval $cacheid=no
   6984 fi
   6985 rm -f core conftest.err conftest.$ac_objext \
   6986     conftest$ac_exeext conftest.$ac_ext
   6987 fi
   6988 
   6989 
   6990 		CFLAGS="$xorg_testset_save_CFLAGS"
   6991 
   6992 		eval supported=\$$cacheid
   6993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6994 $as_echo "$supported" >&6; }
   6995 		if test "$supported" = "yes" ; then
   6996 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6997 			found="yes"
   6998 		fi
   6999 	fi
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 xorg_testset_save_CFLAGS="$CFLAGS"
   7016 
   7017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7020 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7021 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7022   $as_echo_n "(cached) " >&6
   7023 else
   7024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7025 /* end confdefs.h.  */
   7026 int i;
   7027 _ACEOF
   7028 if ac_fn_c_try_compile "$LINENO"; then :
   7029   xorg_cv_cc_flag_unknown_warning_option=yes
   7030 else
   7031   xorg_cv_cc_flag_unknown_warning_option=no
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7034 fi
   7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7036 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7038 	CFLAGS="$xorg_testset_save_CFLAGS"
   7039 fi
   7040 
   7041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7044 	fi
   7045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7047 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7048 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7049   $as_echo_n "(cached) " >&6
   7050 else
   7051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7052 /* end confdefs.h.  */
   7053 int i;
   7054 _ACEOF
   7055 if ac_fn_c_try_compile "$LINENO"; then :
   7056   xorg_cv_cc_flag_unused_command_line_argument=yes
   7057 else
   7058   xorg_cv_cc_flag_unused_command_line_argument=no
   7059 fi
   7060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7061 fi
   7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7063 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7065 	CFLAGS="$xorg_testset_save_CFLAGS"
   7066 fi
   7067 
   7068 found="no"
   7069 
   7070 	if test $found = "no" ; then
   7071 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7073 		fi
   7074 
   7075 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7077 		fi
   7078 
   7079 		CFLAGS="$CFLAGS -Werror=nonnull"
   7080 
   7081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7082 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7083 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7084 		if eval \${$cacheid+:} false; then :
   7085   $as_echo_n "(cached) " >&6
   7086 else
   7087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7088 /* end confdefs.h.  */
   7089 int i;
   7090 int
   7091 main ()
   7092 {
   7093 
   7094   ;
   7095   return 0;
   7096 }
   7097 _ACEOF
   7098 if ac_fn_c_try_link "$LINENO"; then :
   7099   eval $cacheid=yes
   7100 else
   7101   eval $cacheid=no
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext \
   7104     conftest$ac_exeext conftest.$ac_ext
   7105 fi
   7106 
   7107 
   7108 		CFLAGS="$xorg_testset_save_CFLAGS"
   7109 
   7110 		eval supported=\$$cacheid
   7111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7112 $as_echo "$supported" >&6; }
   7113 		if test "$supported" = "yes" ; then
   7114 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7115 			found="yes"
   7116 		fi
   7117 	fi
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 xorg_testset_save_CFLAGS="$CFLAGS"
   7134 
   7135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7138 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7139 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7143 /* end confdefs.h.  */
   7144 int i;
   7145 _ACEOF
   7146 if ac_fn_c_try_compile "$LINENO"; then :
   7147   xorg_cv_cc_flag_unknown_warning_option=yes
   7148 else
   7149   xorg_cv_cc_flag_unknown_warning_option=no
   7150 fi
   7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7152 fi
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7154 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7156 	CFLAGS="$xorg_testset_save_CFLAGS"
   7157 fi
   7158 
   7159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7162 	fi
   7163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7165 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7166 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7167   $as_echo_n "(cached) " >&6
   7168 else
   7169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 int i;
   7172 _ACEOF
   7173 if ac_fn_c_try_compile "$LINENO"; then :
   7174   xorg_cv_cc_flag_unused_command_line_argument=yes
   7175 else
   7176   xorg_cv_cc_flag_unused_command_line_argument=no
   7177 fi
   7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7179 fi
   7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7181 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7183 	CFLAGS="$xorg_testset_save_CFLAGS"
   7184 fi
   7185 
   7186 found="no"
   7187 
   7188 	if test $found = "no" ; then
   7189 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 		fi
   7192 
   7193 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7195 		fi
   7196 
   7197 		CFLAGS="$CFLAGS -Werror=init-self"
   7198 
   7199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7200 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7201 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7202 		if eval \${$cacheid+:} false; then :
   7203   $as_echo_n "(cached) " >&6
   7204 else
   7205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7206 /* end confdefs.h.  */
   7207 int i;
   7208 int
   7209 main ()
   7210 {
   7211 
   7212   ;
   7213   return 0;
   7214 }
   7215 _ACEOF
   7216 if ac_fn_c_try_link "$LINENO"; then :
   7217   eval $cacheid=yes
   7218 else
   7219   eval $cacheid=no
   7220 fi
   7221 rm -f core conftest.err conftest.$ac_objext \
   7222     conftest$ac_exeext conftest.$ac_ext
   7223 fi
   7224 
   7225 
   7226 		CFLAGS="$xorg_testset_save_CFLAGS"
   7227 
   7228 		eval supported=\$$cacheid
   7229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7230 $as_echo "$supported" >&6; }
   7231 		if test "$supported" = "yes" ; then
   7232 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7233 			found="yes"
   7234 		fi
   7235 	fi
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 xorg_testset_save_CFLAGS="$CFLAGS"
   7252 
   7253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7256 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7257 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7261 /* end confdefs.h.  */
   7262 int i;
   7263 _ACEOF
   7264 if ac_fn_c_try_compile "$LINENO"; then :
   7265   xorg_cv_cc_flag_unknown_warning_option=yes
   7266 else
   7267   xorg_cv_cc_flag_unknown_warning_option=no
   7268 fi
   7269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7270 fi
   7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7272 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7274 	CFLAGS="$xorg_testset_save_CFLAGS"
   7275 fi
   7276 
   7277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7280 	fi
   7281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7283 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7284 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7285   $as_echo_n "(cached) " >&6
   7286 else
   7287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7288 /* end confdefs.h.  */
   7289 int i;
   7290 _ACEOF
   7291 if ac_fn_c_try_compile "$LINENO"; then :
   7292   xorg_cv_cc_flag_unused_command_line_argument=yes
   7293 else
   7294   xorg_cv_cc_flag_unused_command_line_argument=no
   7295 fi
   7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7297 fi
   7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7299 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7301 	CFLAGS="$xorg_testset_save_CFLAGS"
   7302 fi
   7303 
   7304 found="no"
   7305 
   7306 	if test $found = "no" ; then
   7307 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 		fi
   7310 
   7311 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7313 		fi
   7314 
   7315 		CFLAGS="$CFLAGS -Werror=main"
   7316 
   7317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7318 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7319 		cacheid=xorg_cv_cc_flag__Werror_main
   7320 		if eval \${$cacheid+:} false; then :
   7321   $as_echo_n "(cached) " >&6
   7322 else
   7323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7324 /* end confdefs.h.  */
   7325 int i;
   7326 int
   7327 main ()
   7328 {
   7329 
   7330   ;
   7331   return 0;
   7332 }
   7333 _ACEOF
   7334 if ac_fn_c_try_link "$LINENO"; then :
   7335   eval $cacheid=yes
   7336 else
   7337   eval $cacheid=no
   7338 fi
   7339 rm -f core conftest.err conftest.$ac_objext \
   7340     conftest$ac_exeext conftest.$ac_ext
   7341 fi
   7342 
   7343 
   7344 		CFLAGS="$xorg_testset_save_CFLAGS"
   7345 
   7346 		eval supported=\$$cacheid
   7347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7348 $as_echo "$supported" >&6; }
   7349 		if test "$supported" = "yes" ; then
   7350 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7351 			found="yes"
   7352 		fi
   7353 	fi
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 xorg_testset_save_CFLAGS="$CFLAGS"
   7370 
   7371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7374 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7375 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7376   $as_echo_n "(cached) " >&6
   7377 else
   7378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7379 /* end confdefs.h.  */
   7380 int i;
   7381 _ACEOF
   7382 if ac_fn_c_try_compile "$LINENO"; then :
   7383   xorg_cv_cc_flag_unknown_warning_option=yes
   7384 else
   7385   xorg_cv_cc_flag_unknown_warning_option=no
   7386 fi
   7387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7388 fi
   7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7390 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7392 	CFLAGS="$xorg_testset_save_CFLAGS"
   7393 fi
   7394 
   7395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7398 	fi
   7399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7401 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7402 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7403   $as_echo_n "(cached) " >&6
   7404 else
   7405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7406 /* end confdefs.h.  */
   7407 int i;
   7408 _ACEOF
   7409 if ac_fn_c_try_compile "$LINENO"; then :
   7410   xorg_cv_cc_flag_unused_command_line_argument=yes
   7411 else
   7412   xorg_cv_cc_flag_unused_command_line_argument=no
   7413 fi
   7414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7415 fi
   7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7417 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7419 	CFLAGS="$xorg_testset_save_CFLAGS"
   7420 fi
   7421 
   7422 found="no"
   7423 
   7424 	if test $found = "no" ; then
   7425 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 		fi
   7428 
   7429 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7431 		fi
   7432 
   7433 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7434 
   7435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7436 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7437 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7438 		if eval \${$cacheid+:} false; then :
   7439   $as_echo_n "(cached) " >&6
   7440 else
   7441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7442 /* end confdefs.h.  */
   7443 int i;
   7444 int
   7445 main ()
   7446 {
   7447 
   7448   ;
   7449   return 0;
   7450 }
   7451 _ACEOF
   7452 if ac_fn_c_try_link "$LINENO"; then :
   7453   eval $cacheid=yes
   7454 else
   7455   eval $cacheid=no
   7456 fi
   7457 rm -f core conftest.err conftest.$ac_objext \
   7458     conftest$ac_exeext conftest.$ac_ext
   7459 fi
   7460 
   7461 
   7462 		CFLAGS="$xorg_testset_save_CFLAGS"
   7463 
   7464 		eval supported=\$$cacheid
   7465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7466 $as_echo "$supported" >&6; }
   7467 		if test "$supported" = "yes" ; then
   7468 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7469 			found="yes"
   7470 		fi
   7471 	fi
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 xorg_testset_save_CFLAGS="$CFLAGS"
   7488 
   7489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7497 /* end confdefs.h.  */
   7498 int i;
   7499 _ACEOF
   7500 if ac_fn_c_try_compile "$LINENO"; then :
   7501   xorg_cv_cc_flag_unknown_warning_option=yes
   7502 else
   7503   xorg_cv_cc_flag_unknown_warning_option=no
   7504 fi
   7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7506 fi
   7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7510 	CFLAGS="$xorg_testset_save_CFLAGS"
   7511 fi
   7512 
   7513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 	fi
   7517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7521   $as_echo_n "(cached) " >&6
   7522 else
   7523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7524 /* end confdefs.h.  */
   7525 int i;
   7526 _ACEOF
   7527 if ac_fn_c_try_compile "$LINENO"; then :
   7528   xorg_cv_cc_flag_unused_command_line_argument=yes
   7529 else
   7530   xorg_cv_cc_flag_unused_command_line_argument=no
   7531 fi
   7532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7533 fi
   7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7537 	CFLAGS="$xorg_testset_save_CFLAGS"
   7538 fi
   7539 
   7540 found="no"
   7541 
   7542 	if test $found = "no" ; then
   7543 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 		fi
   7546 
   7547 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7549 		fi
   7550 
   7551 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7552 
   7553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7554 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7555 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7556 		if eval \${$cacheid+:} false; then :
   7557   $as_echo_n "(cached) " >&6
   7558 else
   7559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7560 /* end confdefs.h.  */
   7561 int i;
   7562 int
   7563 main ()
   7564 {
   7565 
   7566   ;
   7567   return 0;
   7568 }
   7569 _ACEOF
   7570 if ac_fn_c_try_link "$LINENO"; then :
   7571   eval $cacheid=yes
   7572 else
   7573   eval $cacheid=no
   7574 fi
   7575 rm -f core conftest.err conftest.$ac_objext \
   7576     conftest$ac_exeext conftest.$ac_ext
   7577 fi
   7578 
   7579 
   7580 		CFLAGS="$xorg_testset_save_CFLAGS"
   7581 
   7582 		eval supported=\$$cacheid
   7583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7584 $as_echo "$supported" >&6; }
   7585 		if test "$supported" = "yes" ; then
   7586 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7587 			found="yes"
   7588 		fi
   7589 	fi
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 xorg_testset_save_CFLAGS="$CFLAGS"
   7606 
   7607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7612   $as_echo_n "(cached) " >&6
   7613 else
   7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7615 /* end confdefs.h.  */
   7616 int i;
   7617 _ACEOF
   7618 if ac_fn_c_try_compile "$LINENO"; then :
   7619   xorg_cv_cc_flag_unknown_warning_option=yes
   7620 else
   7621   xorg_cv_cc_flag_unknown_warning_option=no
   7622 fi
   7623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7624 fi
   7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 	fi
   7635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7639   $as_echo_n "(cached) " >&6
   7640 else
   7641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7642 /* end confdefs.h.  */
   7643 int i;
   7644 _ACEOF
   7645 if ac_fn_c_try_compile "$LINENO"; then :
   7646   xorg_cv_cc_flag_unused_command_line_argument=yes
   7647 else
   7648   xorg_cv_cc_flag_unused_command_line_argument=no
   7649 fi
   7650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7651 fi
   7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7655 	CFLAGS="$xorg_testset_save_CFLAGS"
   7656 fi
   7657 
   7658 found="no"
   7659 
   7660 	if test $found = "no" ; then
   7661 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 		fi
   7664 
   7665 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7667 		fi
   7668 
   7669 		CFLAGS="$CFLAGS -Werror=return-type"
   7670 
   7671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7672 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7673 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7674 		if eval \${$cacheid+:} false; then :
   7675   $as_echo_n "(cached) " >&6
   7676 else
   7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7678 /* end confdefs.h.  */
   7679 int i;
   7680 int
   7681 main ()
   7682 {
   7683 
   7684   ;
   7685   return 0;
   7686 }
   7687 _ACEOF
   7688 if ac_fn_c_try_link "$LINENO"; then :
   7689   eval $cacheid=yes
   7690 else
   7691   eval $cacheid=no
   7692 fi
   7693 rm -f core conftest.err conftest.$ac_objext \
   7694     conftest$ac_exeext conftest.$ac_ext
   7695 fi
   7696 
   7697 
   7698 		CFLAGS="$xorg_testset_save_CFLAGS"
   7699 
   7700 		eval supported=\$$cacheid
   7701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7702 $as_echo "$supported" >&6; }
   7703 		if test "$supported" = "yes" ; then
   7704 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7705 			found="yes"
   7706 		fi
   7707 	fi
   7708 
   7709 	if test $found = "no" ; then
   7710 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7712 		fi
   7713 
   7714 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7716 		fi
   7717 
   7718 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7719 
   7720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7721 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7722 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7723 		if eval \${$cacheid+:} false; then :
   7724   $as_echo_n "(cached) " >&6
   7725 else
   7726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7727 /* end confdefs.h.  */
   7728 int i;
   7729 int
   7730 main ()
   7731 {
   7732 
   7733   ;
   7734   return 0;
   7735 }
   7736 _ACEOF
   7737 if ac_fn_c_try_link "$LINENO"; then :
   7738   eval $cacheid=yes
   7739 else
   7740   eval $cacheid=no
   7741 fi
   7742 rm -f core conftest.err conftest.$ac_objext \
   7743     conftest$ac_exeext conftest.$ac_ext
   7744 fi
   7745 
   7746 
   7747 		CFLAGS="$xorg_testset_save_CFLAGS"
   7748 
   7749 		eval supported=\$$cacheid
   7750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7751 $as_echo "$supported" >&6; }
   7752 		if test "$supported" = "yes" ; then
   7753 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7754 			found="yes"
   7755 		fi
   7756 	fi
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 xorg_testset_save_CFLAGS="$CFLAGS"
   7773 
   7774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7779   $as_echo_n "(cached) " >&6
   7780 else
   7781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 _ACEOF
   7785 if ac_fn_c_try_compile "$LINENO"; then :
   7786   xorg_cv_cc_flag_unknown_warning_option=yes
   7787 else
   7788   xorg_cv_cc_flag_unknown_warning_option=no
   7789 fi
   7790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7791 fi
   7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7795 	CFLAGS="$xorg_testset_save_CFLAGS"
   7796 fi
   7797 
   7798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7801 	fi
   7802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7806   $as_echo_n "(cached) " >&6
   7807 else
   7808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 _ACEOF
   7812 if ac_fn_c_try_compile "$LINENO"; then :
   7813   xorg_cv_cc_flag_unused_command_line_argument=yes
   7814 else
   7815   xorg_cv_cc_flag_unused_command_line_argument=no
   7816 fi
   7817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7818 fi
   7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7822 	CFLAGS="$xorg_testset_save_CFLAGS"
   7823 fi
   7824 
   7825 found="no"
   7826 
   7827 	if test $found = "no" ; then
   7828 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7830 		fi
   7831 
   7832 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7834 		fi
   7835 
   7836 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7837 
   7838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7839 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7840 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7841 		if eval \${$cacheid+:} false; then :
   7842   $as_echo_n "(cached) " >&6
   7843 else
   7844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7845 /* end confdefs.h.  */
   7846 int i;
   7847 int
   7848 main ()
   7849 {
   7850 
   7851   ;
   7852   return 0;
   7853 }
   7854 _ACEOF
   7855 if ac_fn_c_try_link "$LINENO"; then :
   7856   eval $cacheid=yes
   7857 else
   7858   eval $cacheid=no
   7859 fi
   7860 rm -f core conftest.err conftest.$ac_objext \
   7861     conftest$ac_exeext conftest.$ac_ext
   7862 fi
   7863 
   7864 
   7865 		CFLAGS="$xorg_testset_save_CFLAGS"
   7866 
   7867 		eval supported=\$$cacheid
   7868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7869 $as_echo "$supported" >&6; }
   7870 		if test "$supported" = "yes" ; then
   7871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7872 			found="yes"
   7873 		fi
   7874 	fi
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 xorg_testset_save_CFLAGS="$CFLAGS"
   7891 
   7892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7897   $as_echo_n "(cached) " >&6
   7898 else
   7899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7900 /* end confdefs.h.  */
   7901 int i;
   7902 _ACEOF
   7903 if ac_fn_c_try_compile "$LINENO"; then :
   7904   xorg_cv_cc_flag_unknown_warning_option=yes
   7905 else
   7906   xorg_cv_cc_flag_unknown_warning_option=no
   7907 fi
   7908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7909 fi
   7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7913 	CFLAGS="$xorg_testset_save_CFLAGS"
   7914 fi
   7915 
   7916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7919 	fi
   7920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7924   $as_echo_n "(cached) " >&6
   7925 else
   7926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 int i;
   7929 _ACEOF
   7930 if ac_fn_c_try_compile "$LINENO"; then :
   7931   xorg_cv_cc_flag_unused_command_line_argument=yes
   7932 else
   7933   xorg_cv_cc_flag_unused_command_line_argument=no
   7934 fi
   7935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7936 fi
   7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7940 	CFLAGS="$xorg_testset_save_CFLAGS"
   7941 fi
   7942 
   7943 found="no"
   7944 
   7945 	if test $found = "no" ; then
   7946 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 		fi
   7949 
   7950 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7952 		fi
   7953 
   7954 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7955 
   7956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7957 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7958 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7959 		if eval \${$cacheid+:} false; then :
   7960   $as_echo_n "(cached) " >&6
   7961 else
   7962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 int
   7966 main ()
   7967 {
   7968 
   7969   ;
   7970   return 0;
   7971 }
   7972 _ACEOF
   7973 if ac_fn_c_try_link "$LINENO"; then :
   7974   eval $cacheid=yes
   7975 else
   7976   eval $cacheid=no
   7977 fi
   7978 rm -f core conftest.err conftest.$ac_objext \
   7979     conftest$ac_exeext conftest.$ac_ext
   7980 fi
   7981 
   7982 
   7983 		CFLAGS="$xorg_testset_save_CFLAGS"
   7984 
   7985 		eval supported=\$$cacheid
   7986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7987 $as_echo "$supported" >&6; }
   7988 		if test "$supported" = "yes" ; then
   7989 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7990 			found="yes"
   7991 		fi
   7992 	fi
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 xorg_testset_save_CFLAGS="$CFLAGS"
   8009 
   8010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8015   $as_echo_n "(cached) " >&6
   8016 else
   8017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8018 /* end confdefs.h.  */
   8019 int i;
   8020 _ACEOF
   8021 if ac_fn_c_try_compile "$LINENO"; then :
   8022   xorg_cv_cc_flag_unknown_warning_option=yes
   8023 else
   8024   xorg_cv_cc_flag_unknown_warning_option=no
   8025 fi
   8026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8027 fi
   8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8031 	CFLAGS="$xorg_testset_save_CFLAGS"
   8032 fi
   8033 
   8034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8037 	fi
   8038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8042   $as_echo_n "(cached) " >&6
   8043 else
   8044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8045 /* end confdefs.h.  */
   8046 int i;
   8047 _ACEOF
   8048 if ac_fn_c_try_compile "$LINENO"; then :
   8049   xorg_cv_cc_flag_unused_command_line_argument=yes
   8050 else
   8051   xorg_cv_cc_flag_unused_command_line_argument=no
   8052 fi
   8053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8054 fi
   8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8058 	CFLAGS="$xorg_testset_save_CFLAGS"
   8059 fi
   8060 
   8061 found="no"
   8062 
   8063 	if test $found = "no" ; then
   8064 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8066 		fi
   8067 
   8068 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8070 		fi
   8071 
   8072 		CFLAGS="$CFLAGS -Werror=write-strings"
   8073 
   8074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8075 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8076 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8077 		if eval \${$cacheid+:} false; then :
   8078   $as_echo_n "(cached) " >&6
   8079 else
   8080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8081 /* end confdefs.h.  */
   8082 int i;
   8083 int
   8084 main ()
   8085 {
   8086 
   8087   ;
   8088   return 0;
   8089 }
   8090 _ACEOF
   8091 if ac_fn_c_try_link "$LINENO"; then :
   8092   eval $cacheid=yes
   8093 else
   8094   eval $cacheid=no
   8095 fi
   8096 rm -f core conftest.err conftest.$ac_objext \
   8097     conftest$ac_exeext conftest.$ac_ext
   8098 fi
   8099 
   8100 
   8101 		CFLAGS="$xorg_testset_save_CFLAGS"
   8102 
   8103 		eval supported=\$$cacheid
   8104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8105 $as_echo "$supported" >&6; }
   8106 		if test "$supported" = "yes" ; then
   8107 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8108 			found="yes"
   8109 		fi
   8110 	fi
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 xorg_testset_save_CFLAGS="$CFLAGS"
   8127 
   8128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8133   $as_echo_n "(cached) " >&6
   8134 else
   8135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8136 /* end confdefs.h.  */
   8137 int i;
   8138 _ACEOF
   8139 if ac_fn_c_try_compile "$LINENO"; then :
   8140   xorg_cv_cc_flag_unknown_warning_option=yes
   8141 else
   8142   xorg_cv_cc_flag_unknown_warning_option=no
   8143 fi
   8144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8145 fi
   8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8149 	CFLAGS="$xorg_testset_save_CFLAGS"
   8150 fi
   8151 
   8152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8155 	fi
   8156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8160   $as_echo_n "(cached) " >&6
   8161 else
   8162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8163 /* end confdefs.h.  */
   8164 int i;
   8165 _ACEOF
   8166 if ac_fn_c_try_compile "$LINENO"; then :
   8167   xorg_cv_cc_flag_unused_command_line_argument=yes
   8168 else
   8169   xorg_cv_cc_flag_unused_command_line_argument=no
   8170 fi
   8171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8172 fi
   8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8176 	CFLAGS="$xorg_testset_save_CFLAGS"
   8177 fi
   8178 
   8179 found="no"
   8180 
   8181 	if test $found = "no" ; then
   8182 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 		fi
   8185 
   8186 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8188 		fi
   8189 
   8190 		CFLAGS="$CFLAGS -Werror=address"
   8191 
   8192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8193 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8194 		cacheid=xorg_cv_cc_flag__Werror_address
   8195 		if eval \${$cacheid+:} false; then :
   8196   $as_echo_n "(cached) " >&6
   8197 else
   8198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8199 /* end confdefs.h.  */
   8200 int i;
   8201 int
   8202 main ()
   8203 {
   8204 
   8205   ;
   8206   return 0;
   8207 }
   8208 _ACEOF
   8209 if ac_fn_c_try_link "$LINENO"; then :
   8210   eval $cacheid=yes
   8211 else
   8212   eval $cacheid=no
   8213 fi
   8214 rm -f core conftest.err conftest.$ac_objext \
   8215     conftest$ac_exeext conftest.$ac_ext
   8216 fi
   8217 
   8218 
   8219 		CFLAGS="$xorg_testset_save_CFLAGS"
   8220 
   8221 		eval supported=\$$cacheid
   8222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8223 $as_echo "$supported" >&6; }
   8224 		if test "$supported" = "yes" ; then
   8225 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8226 			found="yes"
   8227 		fi
   8228 	fi
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 xorg_testset_save_CFLAGS="$CFLAGS"
   8245 
   8246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8251   $as_echo_n "(cached) " >&6
   8252 else
   8253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8254 /* end confdefs.h.  */
   8255 int i;
   8256 _ACEOF
   8257 if ac_fn_c_try_compile "$LINENO"; then :
   8258   xorg_cv_cc_flag_unknown_warning_option=yes
   8259 else
   8260   xorg_cv_cc_flag_unknown_warning_option=no
   8261 fi
   8262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8263 fi
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8267 	CFLAGS="$xorg_testset_save_CFLAGS"
   8268 fi
   8269 
   8270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8273 	fi
   8274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8278   $as_echo_n "(cached) " >&6
   8279 else
   8280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8281 /* end confdefs.h.  */
   8282 int i;
   8283 _ACEOF
   8284 if ac_fn_c_try_compile "$LINENO"; then :
   8285   xorg_cv_cc_flag_unused_command_line_argument=yes
   8286 else
   8287   xorg_cv_cc_flag_unused_command_line_argument=no
   8288 fi
   8289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8290 fi
   8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8294 	CFLAGS="$xorg_testset_save_CFLAGS"
   8295 fi
   8296 
   8297 found="no"
   8298 
   8299 	if test $found = "no" ; then
   8300 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 		fi
   8303 
   8304 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8306 		fi
   8307 
   8308 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8309 
   8310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8311 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8312 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8313 		if eval \${$cacheid+:} false; then :
   8314   $as_echo_n "(cached) " >&6
   8315 else
   8316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8317 /* end confdefs.h.  */
   8318 int i;
   8319 int
   8320 main ()
   8321 {
   8322 
   8323   ;
   8324   return 0;
   8325 }
   8326 _ACEOF
   8327 if ac_fn_c_try_link "$LINENO"; then :
   8328   eval $cacheid=yes
   8329 else
   8330   eval $cacheid=no
   8331 fi
   8332 rm -f core conftest.err conftest.$ac_objext \
   8333     conftest$ac_exeext conftest.$ac_ext
   8334 fi
   8335 
   8336 
   8337 		CFLAGS="$xorg_testset_save_CFLAGS"
   8338 
   8339 		eval supported=\$$cacheid
   8340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8341 $as_echo "$supported" >&6; }
   8342 		if test "$supported" = "yes" ; then
   8343 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8344 			found="yes"
   8345 		fi
   8346 	fi
   8347 
   8348 	if test $found = "no" ; then
   8349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8351 		fi
   8352 
   8353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8355 		fi
   8356 
   8357 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8358 
   8359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8360 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8361 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8362 		if eval \${$cacheid+:} false; then :
   8363   $as_echo_n "(cached) " >&6
   8364 else
   8365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8366 /* end confdefs.h.  */
   8367 int i;
   8368 int
   8369 main ()
   8370 {
   8371 
   8372   ;
   8373   return 0;
   8374 }
   8375 _ACEOF
   8376 if ac_fn_c_try_link "$LINENO"; then :
   8377   eval $cacheid=yes
   8378 else
   8379   eval $cacheid=no
   8380 fi
   8381 rm -f core conftest.err conftest.$ac_objext \
   8382     conftest$ac_exeext conftest.$ac_ext
   8383 fi
   8384 
   8385 
   8386 		CFLAGS="$xorg_testset_save_CFLAGS"
   8387 
   8388 		eval supported=\$$cacheid
   8389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8390 $as_echo "$supported" >&6; }
   8391 		if test "$supported" = "yes" ; then
   8392 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8393 			found="yes"
   8394 		fi
   8395 	fi
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 xorg_testset_save_CFLAGS="$CFLAGS"
   8412 
   8413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8418   $as_echo_n "(cached) " >&6
   8419 else
   8420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8421 /* end confdefs.h.  */
   8422 int i;
   8423 _ACEOF
   8424 if ac_fn_c_try_compile "$LINENO"; then :
   8425   xorg_cv_cc_flag_unknown_warning_option=yes
   8426 else
   8427   xorg_cv_cc_flag_unknown_warning_option=no
   8428 fi
   8429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8430 fi
   8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8434 	CFLAGS="$xorg_testset_save_CFLAGS"
   8435 fi
   8436 
   8437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8440 	fi
   8441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 _ACEOF
   8451 if ac_fn_c_try_compile "$LINENO"; then :
   8452   xorg_cv_cc_flag_unused_command_line_argument=yes
   8453 else
   8454   xorg_cv_cc_flag_unused_command_line_argument=no
   8455 fi
   8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8457 fi
   8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8461 	CFLAGS="$xorg_testset_save_CFLAGS"
   8462 fi
   8463 
   8464 found="no"
   8465 
   8466 	if test $found = "no" ; then
   8467 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8469 		fi
   8470 
   8471 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8473 		fi
   8474 
   8475 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8476 
   8477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8478 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8479 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8480 		if eval \${$cacheid+:} false; then :
   8481   $as_echo_n "(cached) " >&6
   8482 else
   8483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8484 /* end confdefs.h.  */
   8485 int i;
   8486 int
   8487 main ()
   8488 {
   8489 
   8490   ;
   8491   return 0;
   8492 }
   8493 _ACEOF
   8494 if ac_fn_c_try_link "$LINENO"; then :
   8495   eval $cacheid=yes
   8496 else
   8497   eval $cacheid=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext \
   8500     conftest$ac_exeext conftest.$ac_ext
   8501 fi
   8502 
   8503 
   8504 		CFLAGS="$xorg_testset_save_CFLAGS"
   8505 
   8506 		eval supported=\$$cacheid
   8507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8508 $as_echo "$supported" >&6; }
   8509 		if test "$supported" = "yes" ; then
   8510 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8511 			found="yes"
   8512 		fi
   8513 	fi
   8514 
   8515  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8516 else
   8517 { $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
   8518 $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;}
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 xorg_testset_save_CFLAGS="$CFLAGS"
   8533 
   8534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8539   $as_echo_n "(cached) " >&6
   8540 else
   8541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8542 /* end confdefs.h.  */
   8543 int i;
   8544 _ACEOF
   8545 if ac_fn_c_try_compile "$LINENO"; then :
   8546   xorg_cv_cc_flag_unknown_warning_option=yes
   8547 else
   8548   xorg_cv_cc_flag_unknown_warning_option=no
   8549 fi
   8550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8551 fi
   8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8555 	CFLAGS="$xorg_testset_save_CFLAGS"
   8556 fi
   8557 
   8558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8561 	fi
   8562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8566   $as_echo_n "(cached) " >&6
   8567 else
   8568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8569 /* end confdefs.h.  */
   8570 int i;
   8571 _ACEOF
   8572 if ac_fn_c_try_compile "$LINENO"; then :
   8573   xorg_cv_cc_flag_unused_command_line_argument=yes
   8574 else
   8575   xorg_cv_cc_flag_unused_command_line_argument=no
   8576 fi
   8577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8578 fi
   8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8582 	CFLAGS="$xorg_testset_save_CFLAGS"
   8583 fi
   8584 
   8585 found="no"
   8586 
   8587 	if test $found = "no" ; then
   8588 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8590 		fi
   8591 
   8592 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8594 		fi
   8595 
   8596 		CFLAGS="$CFLAGS -Wimplicit"
   8597 
   8598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8599 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8600 		cacheid=xorg_cv_cc_flag__Wimplicit
   8601 		if eval \${$cacheid+:} false; then :
   8602   $as_echo_n "(cached) " >&6
   8603 else
   8604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8605 /* end confdefs.h.  */
   8606 int i;
   8607 int
   8608 main ()
   8609 {
   8610 
   8611   ;
   8612   return 0;
   8613 }
   8614 _ACEOF
   8615 if ac_fn_c_try_link "$LINENO"; then :
   8616   eval $cacheid=yes
   8617 else
   8618   eval $cacheid=no
   8619 fi
   8620 rm -f core conftest.err conftest.$ac_objext \
   8621     conftest$ac_exeext conftest.$ac_ext
   8622 fi
   8623 
   8624 
   8625 		CFLAGS="$xorg_testset_save_CFLAGS"
   8626 
   8627 		eval supported=\$$cacheid
   8628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8629 $as_echo "$supported" >&6; }
   8630 		if test "$supported" = "yes" ; then
   8631 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8632 			found="yes"
   8633 		fi
   8634 	fi
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 xorg_testset_save_CFLAGS="$CFLAGS"
   8651 
   8652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8657   $as_echo_n "(cached) " >&6
   8658 else
   8659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8660 /* end confdefs.h.  */
   8661 int i;
   8662 _ACEOF
   8663 if ac_fn_c_try_compile "$LINENO"; then :
   8664   xorg_cv_cc_flag_unknown_warning_option=yes
   8665 else
   8666   xorg_cv_cc_flag_unknown_warning_option=no
   8667 fi
   8668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8669 fi
   8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8673 	CFLAGS="$xorg_testset_save_CFLAGS"
   8674 fi
   8675 
   8676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8679 	fi
   8680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8684   $as_echo_n "(cached) " >&6
   8685 else
   8686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8687 /* end confdefs.h.  */
   8688 int i;
   8689 _ACEOF
   8690 if ac_fn_c_try_compile "$LINENO"; then :
   8691   xorg_cv_cc_flag_unused_command_line_argument=yes
   8692 else
   8693   xorg_cv_cc_flag_unused_command_line_argument=no
   8694 fi
   8695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8696 fi
   8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8700 	CFLAGS="$xorg_testset_save_CFLAGS"
   8701 fi
   8702 
   8703 found="no"
   8704 
   8705 	if test $found = "no" ; then
   8706 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 		fi
   8709 
   8710 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8712 		fi
   8713 
   8714 		CFLAGS="$CFLAGS -Wnonnull"
   8715 
   8716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8717 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8718 		cacheid=xorg_cv_cc_flag__Wnonnull
   8719 		if eval \${$cacheid+:} false; then :
   8720   $as_echo_n "(cached) " >&6
   8721 else
   8722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8723 /* end confdefs.h.  */
   8724 int i;
   8725 int
   8726 main ()
   8727 {
   8728 
   8729   ;
   8730   return 0;
   8731 }
   8732 _ACEOF
   8733 if ac_fn_c_try_link "$LINENO"; then :
   8734   eval $cacheid=yes
   8735 else
   8736   eval $cacheid=no
   8737 fi
   8738 rm -f core conftest.err conftest.$ac_objext \
   8739     conftest$ac_exeext conftest.$ac_ext
   8740 fi
   8741 
   8742 
   8743 		CFLAGS="$xorg_testset_save_CFLAGS"
   8744 
   8745 		eval supported=\$$cacheid
   8746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8747 $as_echo "$supported" >&6; }
   8748 		if test "$supported" = "yes" ; then
   8749 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8750 			found="yes"
   8751 		fi
   8752 	fi
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 xorg_testset_save_CFLAGS="$CFLAGS"
   8769 
   8770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8778 /* end confdefs.h.  */
   8779 int i;
   8780 _ACEOF
   8781 if ac_fn_c_try_compile "$LINENO"; then :
   8782   xorg_cv_cc_flag_unknown_warning_option=yes
   8783 else
   8784   xorg_cv_cc_flag_unknown_warning_option=no
   8785 fi
   8786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8787 fi
   8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8791 	CFLAGS="$xorg_testset_save_CFLAGS"
   8792 fi
   8793 
   8794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	fi
   8798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8802   $as_echo_n "(cached) " >&6
   8803 else
   8804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8805 /* end confdefs.h.  */
   8806 int i;
   8807 _ACEOF
   8808 if ac_fn_c_try_compile "$LINENO"; then :
   8809   xorg_cv_cc_flag_unused_command_line_argument=yes
   8810 else
   8811   xorg_cv_cc_flag_unused_command_line_argument=no
   8812 fi
   8813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8814 fi
   8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8818 	CFLAGS="$xorg_testset_save_CFLAGS"
   8819 fi
   8820 
   8821 found="no"
   8822 
   8823 	if test $found = "no" ; then
   8824 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 		fi
   8827 
   8828 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8830 		fi
   8831 
   8832 		CFLAGS="$CFLAGS -Winit-self"
   8833 
   8834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8835 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8836 		cacheid=xorg_cv_cc_flag__Winit_self
   8837 		if eval \${$cacheid+:} false; then :
   8838   $as_echo_n "(cached) " >&6
   8839 else
   8840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8841 /* end confdefs.h.  */
   8842 int i;
   8843 int
   8844 main ()
   8845 {
   8846 
   8847   ;
   8848   return 0;
   8849 }
   8850 _ACEOF
   8851 if ac_fn_c_try_link "$LINENO"; then :
   8852   eval $cacheid=yes
   8853 else
   8854   eval $cacheid=no
   8855 fi
   8856 rm -f core conftest.err conftest.$ac_objext \
   8857     conftest$ac_exeext conftest.$ac_ext
   8858 fi
   8859 
   8860 
   8861 		CFLAGS="$xorg_testset_save_CFLAGS"
   8862 
   8863 		eval supported=\$$cacheid
   8864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8865 $as_echo "$supported" >&6; }
   8866 		if test "$supported" = "yes" ; then
   8867 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8868 			found="yes"
   8869 		fi
   8870 	fi
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 xorg_testset_save_CFLAGS="$CFLAGS"
   8887 
   8888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8891 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8892 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8893   $as_echo_n "(cached) " >&6
   8894 else
   8895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8896 /* end confdefs.h.  */
   8897 int i;
   8898 _ACEOF
   8899 if ac_fn_c_try_compile "$LINENO"; then :
   8900   xorg_cv_cc_flag_unknown_warning_option=yes
   8901 else
   8902   xorg_cv_cc_flag_unknown_warning_option=no
   8903 fi
   8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8905 fi
   8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8907 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8908 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8909 	CFLAGS="$xorg_testset_save_CFLAGS"
   8910 fi
   8911 
   8912 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8913 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8914 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8915 	fi
   8916 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8918 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8919 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8920   $as_echo_n "(cached) " >&6
   8921 else
   8922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8923 /* end confdefs.h.  */
   8924 int i;
   8925 _ACEOF
   8926 if ac_fn_c_try_compile "$LINENO"; then :
   8927   xorg_cv_cc_flag_unused_command_line_argument=yes
   8928 else
   8929   xorg_cv_cc_flag_unused_command_line_argument=no
   8930 fi
   8931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8932 fi
   8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8934 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8936 	CFLAGS="$xorg_testset_save_CFLAGS"
   8937 fi
   8938 
   8939 found="no"
   8940 
   8941 	if test $found = "no" ; then
   8942 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 		fi
   8945 
   8946 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8948 		fi
   8949 
   8950 		CFLAGS="$CFLAGS -Wmain"
   8951 
   8952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8953 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8954 		cacheid=xorg_cv_cc_flag__Wmain
   8955 		if eval \${$cacheid+:} false; then :
   8956   $as_echo_n "(cached) " >&6
   8957 else
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 int
   8962 main ()
   8963 {
   8964 
   8965   ;
   8966   return 0;
   8967 }
   8968 _ACEOF
   8969 if ac_fn_c_try_link "$LINENO"; then :
   8970   eval $cacheid=yes
   8971 else
   8972   eval $cacheid=no
   8973 fi
   8974 rm -f core conftest.err conftest.$ac_objext \
   8975     conftest$ac_exeext conftest.$ac_ext
   8976 fi
   8977 
   8978 
   8979 		CFLAGS="$xorg_testset_save_CFLAGS"
   8980 
   8981 		eval supported=\$$cacheid
   8982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8983 $as_echo "$supported" >&6; }
   8984 		if test "$supported" = "yes" ; then
   8985 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8986 			found="yes"
   8987 		fi
   8988 	fi
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 xorg_testset_save_CFLAGS="$CFLAGS"
   9005 
   9006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9011   $as_echo_n "(cached) " >&6
   9012 else
   9013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9014 /* end confdefs.h.  */
   9015 int i;
   9016 _ACEOF
   9017 if ac_fn_c_try_compile "$LINENO"; then :
   9018   xorg_cv_cc_flag_unknown_warning_option=yes
   9019 else
   9020   xorg_cv_cc_flag_unknown_warning_option=no
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9023 fi
   9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9026 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9027 	CFLAGS="$xorg_testset_save_CFLAGS"
   9028 fi
   9029 
   9030 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9031 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9033 	fi
   9034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 int i;
   9043 _ACEOF
   9044 if ac_fn_c_try_compile "$LINENO"; then :
   9045   xorg_cv_cc_flag_unused_command_line_argument=yes
   9046 else
   9047   xorg_cv_cc_flag_unused_command_line_argument=no
   9048 fi
   9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9050 fi
   9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9053 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9054 	CFLAGS="$xorg_testset_save_CFLAGS"
   9055 fi
   9056 
   9057 found="no"
   9058 
   9059 	if test $found = "no" ; then
   9060 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 		fi
   9063 
   9064 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9066 		fi
   9067 
   9068 		CFLAGS="$CFLAGS -Wmissing-braces"
   9069 
   9070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9071 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9072 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9073 		if eval \${$cacheid+:} false; then :
   9074   $as_echo_n "(cached) " >&6
   9075 else
   9076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9077 /* end confdefs.h.  */
   9078 int i;
   9079 int
   9080 main ()
   9081 {
   9082 
   9083   ;
   9084   return 0;
   9085 }
   9086 _ACEOF
   9087 if ac_fn_c_try_link "$LINENO"; then :
   9088   eval $cacheid=yes
   9089 else
   9090   eval $cacheid=no
   9091 fi
   9092 rm -f core conftest.err conftest.$ac_objext \
   9093     conftest$ac_exeext conftest.$ac_ext
   9094 fi
   9095 
   9096 
   9097 		CFLAGS="$xorg_testset_save_CFLAGS"
   9098 
   9099 		eval supported=\$$cacheid
   9100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9101 $as_echo "$supported" >&6; }
   9102 		if test "$supported" = "yes" ; then
   9103 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9104 			found="yes"
   9105 		fi
   9106 	fi
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 xorg_testset_save_CFLAGS="$CFLAGS"
   9123 
   9124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9127 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9128 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9129   $as_echo_n "(cached) " >&6
   9130 else
   9131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9132 /* end confdefs.h.  */
   9133 int i;
   9134 _ACEOF
   9135 if ac_fn_c_try_compile "$LINENO"; then :
   9136   xorg_cv_cc_flag_unknown_warning_option=yes
   9137 else
   9138   xorg_cv_cc_flag_unknown_warning_option=no
   9139 fi
   9140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9141 fi
   9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9143 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9145 	CFLAGS="$xorg_testset_save_CFLAGS"
   9146 fi
   9147 
   9148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9151 	fi
   9152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9154 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9155 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9156   $as_echo_n "(cached) " >&6
   9157 else
   9158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9159 /* end confdefs.h.  */
   9160 int i;
   9161 _ACEOF
   9162 if ac_fn_c_try_compile "$LINENO"; then :
   9163   xorg_cv_cc_flag_unused_command_line_argument=yes
   9164 else
   9165   xorg_cv_cc_flag_unused_command_line_argument=no
   9166 fi
   9167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9168 fi
   9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9170 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9172 	CFLAGS="$xorg_testset_save_CFLAGS"
   9173 fi
   9174 
   9175 found="no"
   9176 
   9177 	if test $found = "no" ; then
   9178 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 		fi
   9181 
   9182 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9184 		fi
   9185 
   9186 		CFLAGS="$CFLAGS -Wsequence-point"
   9187 
   9188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9189 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9190 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9191 		if eval \${$cacheid+:} false; then :
   9192   $as_echo_n "(cached) " >&6
   9193 else
   9194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9195 /* end confdefs.h.  */
   9196 int i;
   9197 int
   9198 main ()
   9199 {
   9200 
   9201   ;
   9202   return 0;
   9203 }
   9204 _ACEOF
   9205 if ac_fn_c_try_link "$LINENO"; then :
   9206   eval $cacheid=yes
   9207 else
   9208   eval $cacheid=no
   9209 fi
   9210 rm -f core conftest.err conftest.$ac_objext \
   9211     conftest$ac_exeext conftest.$ac_ext
   9212 fi
   9213 
   9214 
   9215 		CFLAGS="$xorg_testset_save_CFLAGS"
   9216 
   9217 		eval supported=\$$cacheid
   9218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9219 $as_echo "$supported" >&6; }
   9220 		if test "$supported" = "yes" ; then
   9221 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9222 			found="yes"
   9223 		fi
   9224 	fi
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 xorg_testset_save_CFLAGS="$CFLAGS"
   9241 
   9242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9245 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9246 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9247   $as_echo_n "(cached) " >&6
   9248 else
   9249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9250 /* end confdefs.h.  */
   9251 int i;
   9252 _ACEOF
   9253 if ac_fn_c_try_compile "$LINENO"; then :
   9254   xorg_cv_cc_flag_unknown_warning_option=yes
   9255 else
   9256   xorg_cv_cc_flag_unknown_warning_option=no
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9259 fi
   9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9261 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9263 	CFLAGS="$xorg_testset_save_CFLAGS"
   9264 fi
   9265 
   9266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9269 	fi
   9270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9272 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9273 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9274   $as_echo_n "(cached) " >&6
   9275 else
   9276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9277 /* end confdefs.h.  */
   9278 int i;
   9279 _ACEOF
   9280 if ac_fn_c_try_compile "$LINENO"; then :
   9281   xorg_cv_cc_flag_unused_command_line_argument=yes
   9282 else
   9283   xorg_cv_cc_flag_unused_command_line_argument=no
   9284 fi
   9285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9286 fi
   9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9288 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9290 	CFLAGS="$xorg_testset_save_CFLAGS"
   9291 fi
   9292 
   9293 found="no"
   9294 
   9295 	if test $found = "no" ; then
   9296 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 		fi
   9299 
   9300 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9302 		fi
   9303 
   9304 		CFLAGS="$CFLAGS -Wreturn-type"
   9305 
   9306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9307 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9308 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9309 		if eval \${$cacheid+:} false; then :
   9310   $as_echo_n "(cached) " >&6
   9311 else
   9312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9313 /* end confdefs.h.  */
   9314 int i;
   9315 int
   9316 main ()
   9317 {
   9318 
   9319   ;
   9320   return 0;
   9321 }
   9322 _ACEOF
   9323 if ac_fn_c_try_link "$LINENO"; then :
   9324   eval $cacheid=yes
   9325 else
   9326   eval $cacheid=no
   9327 fi
   9328 rm -f core conftest.err conftest.$ac_objext \
   9329     conftest$ac_exeext conftest.$ac_ext
   9330 fi
   9331 
   9332 
   9333 		CFLAGS="$xorg_testset_save_CFLAGS"
   9334 
   9335 		eval supported=\$$cacheid
   9336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9337 $as_echo "$supported" >&6; }
   9338 		if test "$supported" = "yes" ; then
   9339 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9340 			found="yes"
   9341 		fi
   9342 	fi
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 xorg_testset_save_CFLAGS="$CFLAGS"
   9359 
   9360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9363 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9364 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9365   $as_echo_n "(cached) " >&6
   9366 else
   9367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9368 /* end confdefs.h.  */
   9369 int i;
   9370 _ACEOF
   9371 if ac_fn_c_try_compile "$LINENO"; then :
   9372   xorg_cv_cc_flag_unknown_warning_option=yes
   9373 else
   9374   xorg_cv_cc_flag_unknown_warning_option=no
   9375 fi
   9376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9377 fi
   9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9379 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9380 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9381 	CFLAGS="$xorg_testset_save_CFLAGS"
   9382 fi
   9383 
   9384 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9385 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9387 	fi
   9388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9390 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9391 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9392   $as_echo_n "(cached) " >&6
   9393 else
   9394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9395 /* end confdefs.h.  */
   9396 int i;
   9397 _ACEOF
   9398 if ac_fn_c_try_compile "$LINENO"; then :
   9399   xorg_cv_cc_flag_unused_command_line_argument=yes
   9400 else
   9401   xorg_cv_cc_flag_unused_command_line_argument=no
   9402 fi
   9403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9404 fi
   9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9406 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9408 	CFLAGS="$xorg_testset_save_CFLAGS"
   9409 fi
   9410 
   9411 found="no"
   9412 
   9413 	if test $found = "no" ; then
   9414 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 		fi
   9417 
   9418 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9420 		fi
   9421 
   9422 		CFLAGS="$CFLAGS -Wtrigraphs"
   9423 
   9424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9425 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9426 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9427 		if eval \${$cacheid+:} false; then :
   9428   $as_echo_n "(cached) " >&6
   9429 else
   9430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9431 /* end confdefs.h.  */
   9432 int i;
   9433 int
   9434 main ()
   9435 {
   9436 
   9437   ;
   9438   return 0;
   9439 }
   9440 _ACEOF
   9441 if ac_fn_c_try_link "$LINENO"; then :
   9442   eval $cacheid=yes
   9443 else
   9444   eval $cacheid=no
   9445 fi
   9446 rm -f core conftest.err conftest.$ac_objext \
   9447     conftest$ac_exeext conftest.$ac_ext
   9448 fi
   9449 
   9450 
   9451 		CFLAGS="$xorg_testset_save_CFLAGS"
   9452 
   9453 		eval supported=\$$cacheid
   9454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9455 $as_echo "$supported" >&6; }
   9456 		if test "$supported" = "yes" ; then
   9457 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9458 			found="yes"
   9459 		fi
   9460 	fi
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 xorg_testset_save_CFLAGS="$CFLAGS"
   9477 
   9478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9481 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9482 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9483   $as_echo_n "(cached) " >&6
   9484 else
   9485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9486 /* end confdefs.h.  */
   9487 int i;
   9488 _ACEOF
   9489 if ac_fn_c_try_compile "$LINENO"; then :
   9490   xorg_cv_cc_flag_unknown_warning_option=yes
   9491 else
   9492   xorg_cv_cc_flag_unknown_warning_option=no
   9493 fi
   9494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9495 fi
   9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9497 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9499 	CFLAGS="$xorg_testset_save_CFLAGS"
   9500 fi
   9501 
   9502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9505 	fi
   9506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9508 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9509 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9510   $as_echo_n "(cached) " >&6
   9511 else
   9512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9513 /* end confdefs.h.  */
   9514 int i;
   9515 _ACEOF
   9516 if ac_fn_c_try_compile "$LINENO"; then :
   9517   xorg_cv_cc_flag_unused_command_line_argument=yes
   9518 else
   9519   xorg_cv_cc_flag_unused_command_line_argument=no
   9520 fi
   9521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9522 fi
   9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9524 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9526 	CFLAGS="$xorg_testset_save_CFLAGS"
   9527 fi
   9528 
   9529 found="no"
   9530 
   9531 	if test $found = "no" ; then
   9532 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 		fi
   9535 
   9536 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9538 		fi
   9539 
   9540 		CFLAGS="$CFLAGS -Warray-bounds"
   9541 
   9542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9543 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9544 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9545 		if eval \${$cacheid+:} false; then :
   9546   $as_echo_n "(cached) " >&6
   9547 else
   9548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9549 /* end confdefs.h.  */
   9550 int i;
   9551 int
   9552 main ()
   9553 {
   9554 
   9555   ;
   9556   return 0;
   9557 }
   9558 _ACEOF
   9559 if ac_fn_c_try_link "$LINENO"; then :
   9560   eval $cacheid=yes
   9561 else
   9562   eval $cacheid=no
   9563 fi
   9564 rm -f core conftest.err conftest.$ac_objext \
   9565     conftest$ac_exeext conftest.$ac_ext
   9566 fi
   9567 
   9568 
   9569 		CFLAGS="$xorg_testset_save_CFLAGS"
   9570 
   9571 		eval supported=\$$cacheid
   9572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9573 $as_echo "$supported" >&6; }
   9574 		if test "$supported" = "yes" ; then
   9575 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9576 			found="yes"
   9577 		fi
   9578 	fi
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 xorg_testset_save_CFLAGS="$CFLAGS"
   9595 
   9596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9599 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9600 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9601   $as_echo_n "(cached) " >&6
   9602 else
   9603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9604 /* end confdefs.h.  */
   9605 int i;
   9606 _ACEOF
   9607 if ac_fn_c_try_compile "$LINENO"; then :
   9608   xorg_cv_cc_flag_unknown_warning_option=yes
   9609 else
   9610   xorg_cv_cc_flag_unknown_warning_option=no
   9611 fi
   9612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9613 fi
   9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9615 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9616 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9617 	CFLAGS="$xorg_testset_save_CFLAGS"
   9618 fi
   9619 
   9620 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9621 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9622 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9623 	fi
   9624 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9626 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9627 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9628   $as_echo_n "(cached) " >&6
   9629 else
   9630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9631 /* end confdefs.h.  */
   9632 int i;
   9633 _ACEOF
   9634 if ac_fn_c_try_compile "$LINENO"; then :
   9635   xorg_cv_cc_flag_unused_command_line_argument=yes
   9636 else
   9637   xorg_cv_cc_flag_unused_command_line_argument=no
   9638 fi
   9639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9640 fi
   9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9642 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9644 	CFLAGS="$xorg_testset_save_CFLAGS"
   9645 fi
   9646 
   9647 found="no"
   9648 
   9649 	if test $found = "no" ; then
   9650 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 		fi
   9653 
   9654 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9656 		fi
   9657 
   9658 		CFLAGS="$CFLAGS -Wwrite-strings"
   9659 
   9660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9661 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9662 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9663 		if eval \${$cacheid+:} false; then :
   9664   $as_echo_n "(cached) " >&6
   9665 else
   9666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9667 /* end confdefs.h.  */
   9668 int i;
   9669 int
   9670 main ()
   9671 {
   9672 
   9673   ;
   9674   return 0;
   9675 }
   9676 _ACEOF
   9677 if ac_fn_c_try_link "$LINENO"; then :
   9678   eval $cacheid=yes
   9679 else
   9680   eval $cacheid=no
   9681 fi
   9682 rm -f core conftest.err conftest.$ac_objext \
   9683     conftest$ac_exeext conftest.$ac_ext
   9684 fi
   9685 
   9686 
   9687 		CFLAGS="$xorg_testset_save_CFLAGS"
   9688 
   9689 		eval supported=\$$cacheid
   9690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9691 $as_echo "$supported" >&6; }
   9692 		if test "$supported" = "yes" ; then
   9693 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9694 			found="yes"
   9695 		fi
   9696 	fi
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 xorg_testset_save_CFLAGS="$CFLAGS"
   9713 
   9714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9717 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9718 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9719   $as_echo_n "(cached) " >&6
   9720 else
   9721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9722 /* end confdefs.h.  */
   9723 int i;
   9724 _ACEOF
   9725 if ac_fn_c_try_compile "$LINENO"; then :
   9726   xorg_cv_cc_flag_unknown_warning_option=yes
   9727 else
   9728   xorg_cv_cc_flag_unknown_warning_option=no
   9729 fi
   9730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9731 fi
   9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9733 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9735 	CFLAGS="$xorg_testset_save_CFLAGS"
   9736 fi
   9737 
   9738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9741 	fi
   9742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9744 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9745 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9746   $as_echo_n "(cached) " >&6
   9747 else
   9748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9749 /* end confdefs.h.  */
   9750 int i;
   9751 _ACEOF
   9752 if ac_fn_c_try_compile "$LINENO"; then :
   9753   xorg_cv_cc_flag_unused_command_line_argument=yes
   9754 else
   9755   xorg_cv_cc_flag_unused_command_line_argument=no
   9756 fi
   9757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9758 fi
   9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9760 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9762 	CFLAGS="$xorg_testset_save_CFLAGS"
   9763 fi
   9764 
   9765 found="no"
   9766 
   9767 	if test $found = "no" ; then
   9768 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 		fi
   9771 
   9772 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9774 		fi
   9775 
   9776 		CFLAGS="$CFLAGS -Waddress"
   9777 
   9778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9779 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9780 		cacheid=xorg_cv_cc_flag__Waddress
   9781 		if eval \${$cacheid+:} false; then :
   9782   $as_echo_n "(cached) " >&6
   9783 else
   9784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9785 /* end confdefs.h.  */
   9786 int i;
   9787 int
   9788 main ()
   9789 {
   9790 
   9791   ;
   9792   return 0;
   9793 }
   9794 _ACEOF
   9795 if ac_fn_c_try_link "$LINENO"; then :
   9796   eval $cacheid=yes
   9797 else
   9798   eval $cacheid=no
   9799 fi
   9800 rm -f core conftest.err conftest.$ac_objext \
   9801     conftest$ac_exeext conftest.$ac_ext
   9802 fi
   9803 
   9804 
   9805 		CFLAGS="$xorg_testset_save_CFLAGS"
   9806 
   9807 		eval supported=\$$cacheid
   9808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9809 $as_echo "$supported" >&6; }
   9810 		if test "$supported" = "yes" ; then
   9811 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9812 			found="yes"
   9813 		fi
   9814 	fi
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 xorg_testset_save_CFLAGS="$CFLAGS"
   9831 
   9832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9835 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9836 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9837   $as_echo_n "(cached) " >&6
   9838 else
   9839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9840 /* end confdefs.h.  */
   9841 int i;
   9842 _ACEOF
   9843 if ac_fn_c_try_compile "$LINENO"; then :
   9844   xorg_cv_cc_flag_unknown_warning_option=yes
   9845 else
   9846   xorg_cv_cc_flag_unknown_warning_option=no
   9847 fi
   9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9849 fi
   9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9851 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9853 	CFLAGS="$xorg_testset_save_CFLAGS"
   9854 fi
   9855 
   9856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9859 	fi
   9860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9862 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9863 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9864   $as_echo_n "(cached) " >&6
   9865 else
   9866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9867 /* end confdefs.h.  */
   9868 int i;
   9869 _ACEOF
   9870 if ac_fn_c_try_compile "$LINENO"; then :
   9871   xorg_cv_cc_flag_unused_command_line_argument=yes
   9872 else
   9873   xorg_cv_cc_flag_unused_command_line_argument=no
   9874 fi
   9875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9876 fi
   9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9878 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9880 	CFLAGS="$xorg_testset_save_CFLAGS"
   9881 fi
   9882 
   9883 found="no"
   9884 
   9885 	if test $found = "no" ; then
   9886 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 		fi
   9889 
   9890 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9892 		fi
   9893 
   9894 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9895 
   9896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9897 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9898 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9899 		if eval \${$cacheid+:} false; then :
   9900   $as_echo_n "(cached) " >&6
   9901 else
   9902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9903 /* end confdefs.h.  */
   9904 int i;
   9905 int
   9906 main ()
   9907 {
   9908 
   9909   ;
   9910   return 0;
   9911 }
   9912 _ACEOF
   9913 if ac_fn_c_try_link "$LINENO"; then :
   9914   eval $cacheid=yes
   9915 else
   9916   eval $cacheid=no
   9917 fi
   9918 rm -f core conftest.err conftest.$ac_objext \
   9919     conftest$ac_exeext conftest.$ac_ext
   9920 fi
   9921 
   9922 
   9923 		CFLAGS="$xorg_testset_save_CFLAGS"
   9924 
   9925 		eval supported=\$$cacheid
   9926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9927 $as_echo "$supported" >&6; }
   9928 		if test "$supported" = "yes" ; then
   9929 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9930 			found="yes"
   9931 		fi
   9932 	fi
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 xorg_testset_save_CFLAGS="$CFLAGS"
   9949 
   9950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9953 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9954 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9955   $as_echo_n "(cached) " >&6
   9956 else
   9957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9958 /* end confdefs.h.  */
   9959 int i;
   9960 _ACEOF
   9961 if ac_fn_c_try_compile "$LINENO"; then :
   9962   xorg_cv_cc_flag_unknown_warning_option=yes
   9963 else
   9964   xorg_cv_cc_flag_unknown_warning_option=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9967 fi
   9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9969 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9971 	CFLAGS="$xorg_testset_save_CFLAGS"
   9972 fi
   9973 
   9974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9977 	fi
   9978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9980 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9981 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9982   $as_echo_n "(cached) " >&6
   9983 else
   9984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9985 /* end confdefs.h.  */
   9986 int i;
   9987 _ACEOF
   9988 if ac_fn_c_try_compile "$LINENO"; then :
   9989   xorg_cv_cc_flag_unused_command_line_argument=yes
   9990 else
   9991   xorg_cv_cc_flag_unused_command_line_argument=no
   9992 fi
   9993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9994 fi
   9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9996 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9997 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9998 	CFLAGS="$xorg_testset_save_CFLAGS"
   9999 fi
   10000 
   10001 found="no"
   10002 
   10003 	if test $found = "no" ; then
   10004 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 		fi
   10007 
   10008 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10010 		fi
   10011 
   10012 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10013 
   10014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10015 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10016 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10017 		if eval \${$cacheid+:} false; then :
   10018   $as_echo_n "(cached) " >&6
   10019 else
   10020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10021 /* end confdefs.h.  */
   10022 int i;
   10023 int
   10024 main ()
   10025 {
   10026 
   10027   ;
   10028   return 0;
   10029 }
   10030 _ACEOF
   10031 if ac_fn_c_try_link "$LINENO"; then :
   10032   eval $cacheid=yes
   10033 else
   10034   eval $cacheid=no
   10035 fi
   10036 rm -f core conftest.err conftest.$ac_objext \
   10037     conftest$ac_exeext conftest.$ac_ext
   10038 fi
   10039 
   10040 
   10041 		CFLAGS="$xorg_testset_save_CFLAGS"
   10042 
   10043 		eval supported=\$$cacheid
   10044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10045 $as_echo "$supported" >&6; }
   10046 		if test "$supported" = "yes" ; then
   10047 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10048 			found="yes"
   10049 		fi
   10050 	fi
   10051 
   10052 
   10053 fi
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 		CWARNFLAGS="$BASE_CFLAGS"
   10062 		if  test "x$GCC" = xyes ; then
   10063 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10064 		fi
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 # Check whether --enable-strict-compilation was given.
   10074 if test "${enable_strict_compilation+set}" = set; then :
   10075   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10076 else
   10077   STRICT_COMPILE=no
   10078 fi
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 STRICT_CFLAGS=""
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 xorg_testset_save_CFLAGS="$CFLAGS"
   10100 
   10101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10106   $as_echo_n "(cached) " >&6
   10107 else
   10108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10109 /* end confdefs.h.  */
   10110 int i;
   10111 _ACEOF
   10112 if ac_fn_c_try_compile "$LINENO"; then :
   10113   xorg_cv_cc_flag_unknown_warning_option=yes
   10114 else
   10115   xorg_cv_cc_flag_unknown_warning_option=no
   10116 fi
   10117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10118 fi
   10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10122 	CFLAGS="$xorg_testset_save_CFLAGS"
   10123 fi
   10124 
   10125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10128 	fi
   10129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10133   $as_echo_n "(cached) " >&6
   10134 else
   10135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10136 /* end confdefs.h.  */
   10137 int i;
   10138 _ACEOF
   10139 if ac_fn_c_try_compile "$LINENO"; then :
   10140   xorg_cv_cc_flag_unused_command_line_argument=yes
   10141 else
   10142   xorg_cv_cc_flag_unused_command_line_argument=no
   10143 fi
   10144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10145 fi
   10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10149 	CFLAGS="$xorg_testset_save_CFLAGS"
   10150 fi
   10151 
   10152 found="no"
   10153 
   10154 	if test $found = "no" ; then
   10155 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10157 		fi
   10158 
   10159 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10161 		fi
   10162 
   10163 		CFLAGS="$CFLAGS -pedantic"
   10164 
   10165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10166 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10167 		cacheid=xorg_cv_cc_flag__pedantic
   10168 		if eval \${$cacheid+:} false; then :
   10169   $as_echo_n "(cached) " >&6
   10170 else
   10171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10172 /* end confdefs.h.  */
   10173 int i;
   10174 int
   10175 main ()
   10176 {
   10177 
   10178   ;
   10179   return 0;
   10180 }
   10181 _ACEOF
   10182 if ac_fn_c_try_link "$LINENO"; then :
   10183   eval $cacheid=yes
   10184 else
   10185   eval $cacheid=no
   10186 fi
   10187 rm -f core conftest.err conftest.$ac_objext \
   10188     conftest$ac_exeext conftest.$ac_ext
   10189 fi
   10190 
   10191 
   10192 		CFLAGS="$xorg_testset_save_CFLAGS"
   10193 
   10194 		eval supported=\$$cacheid
   10195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10196 $as_echo "$supported" >&6; }
   10197 		if test "$supported" = "yes" ; then
   10198 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10199 			found="yes"
   10200 		fi
   10201 	fi
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 xorg_testset_save_CFLAGS="$CFLAGS"
   10218 
   10219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10222 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10223 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10227 /* end confdefs.h.  */
   10228 int i;
   10229 _ACEOF
   10230 if ac_fn_c_try_compile "$LINENO"; then :
   10231   xorg_cv_cc_flag_unknown_warning_option=yes
   10232 else
   10233   xorg_cv_cc_flag_unknown_warning_option=no
   10234 fi
   10235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10236 fi
   10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10238 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10240 	CFLAGS="$xorg_testset_save_CFLAGS"
   10241 fi
   10242 
   10243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10246 	fi
   10247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10249 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10250 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10251   $as_echo_n "(cached) " >&6
   10252 else
   10253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 int i;
   10256 _ACEOF
   10257 if ac_fn_c_try_compile "$LINENO"; then :
   10258   xorg_cv_cc_flag_unused_command_line_argument=yes
   10259 else
   10260   xorg_cv_cc_flag_unused_command_line_argument=no
   10261 fi
   10262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10263 fi
   10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10265 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10267 	CFLAGS="$xorg_testset_save_CFLAGS"
   10268 fi
   10269 
   10270 found="no"
   10271 
   10272 	if test $found = "no" ; then
   10273 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 		fi
   10276 
   10277 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10279 		fi
   10280 
   10281 		CFLAGS="$CFLAGS -Werror"
   10282 
   10283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10284 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10285 		cacheid=xorg_cv_cc_flag__Werror
   10286 		if eval \${$cacheid+:} false; then :
   10287   $as_echo_n "(cached) " >&6
   10288 else
   10289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10290 /* end confdefs.h.  */
   10291 int i;
   10292 int
   10293 main ()
   10294 {
   10295 
   10296   ;
   10297   return 0;
   10298 }
   10299 _ACEOF
   10300 if ac_fn_c_try_link "$LINENO"; then :
   10301   eval $cacheid=yes
   10302 else
   10303   eval $cacheid=no
   10304 fi
   10305 rm -f core conftest.err conftest.$ac_objext \
   10306     conftest$ac_exeext conftest.$ac_ext
   10307 fi
   10308 
   10309 
   10310 		CFLAGS="$xorg_testset_save_CFLAGS"
   10311 
   10312 		eval supported=\$$cacheid
   10313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10314 $as_echo "$supported" >&6; }
   10315 		if test "$supported" = "yes" ; then
   10316 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10317 			found="yes"
   10318 		fi
   10319 	fi
   10320 
   10321 	if test $found = "no" ; then
   10322 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10324 		fi
   10325 
   10326 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10328 		fi
   10329 
   10330 		CFLAGS="$CFLAGS -errwarn"
   10331 
   10332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10333 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10334 		cacheid=xorg_cv_cc_flag__errwarn
   10335 		if eval \${$cacheid+:} false; then :
   10336   $as_echo_n "(cached) " >&6
   10337 else
   10338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10339 /* end confdefs.h.  */
   10340 int i;
   10341 int
   10342 main ()
   10343 {
   10344 
   10345   ;
   10346   return 0;
   10347 }
   10348 _ACEOF
   10349 if ac_fn_c_try_link "$LINENO"; then :
   10350   eval $cacheid=yes
   10351 else
   10352   eval $cacheid=no
   10353 fi
   10354 rm -f core conftest.err conftest.$ac_objext \
   10355     conftest$ac_exeext conftest.$ac_ext
   10356 fi
   10357 
   10358 
   10359 		CFLAGS="$xorg_testset_save_CFLAGS"
   10360 
   10361 		eval supported=\$$cacheid
   10362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10363 $as_echo "$supported" >&6; }
   10364 		if test "$supported" = "yes" ; then
   10365 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10366 			found="yes"
   10367 		fi
   10368 	fi
   10369 
   10370 
   10371 
   10372 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10373 # activate it with -Werror, so we add it here explicitly.
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 xorg_testset_save_CFLAGS="$CFLAGS"
   10388 
   10389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10394   $as_echo_n "(cached) " >&6
   10395 else
   10396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10397 /* end confdefs.h.  */
   10398 int i;
   10399 _ACEOF
   10400 if ac_fn_c_try_compile "$LINENO"; then :
   10401   xorg_cv_cc_flag_unknown_warning_option=yes
   10402 else
   10403   xorg_cv_cc_flag_unknown_warning_option=no
   10404 fi
   10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10406 fi
   10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10410 	CFLAGS="$xorg_testset_save_CFLAGS"
   10411 fi
   10412 
   10413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	fi
   10417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10421   $as_echo_n "(cached) " >&6
   10422 else
   10423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10424 /* end confdefs.h.  */
   10425 int i;
   10426 _ACEOF
   10427 if ac_fn_c_try_compile "$LINENO"; then :
   10428   xorg_cv_cc_flag_unused_command_line_argument=yes
   10429 else
   10430   xorg_cv_cc_flag_unused_command_line_argument=no
   10431 fi
   10432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10433 fi
   10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10437 	CFLAGS="$xorg_testset_save_CFLAGS"
   10438 fi
   10439 
   10440 found="no"
   10441 
   10442 	if test $found = "no" ; then
   10443 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10445 		fi
   10446 
   10447 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10449 		fi
   10450 
   10451 		CFLAGS="$CFLAGS -Werror=attributes"
   10452 
   10453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10454 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10455 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10456 		if eval \${$cacheid+:} false; then :
   10457   $as_echo_n "(cached) " >&6
   10458 else
   10459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10460 /* end confdefs.h.  */
   10461 int i;
   10462 int
   10463 main ()
   10464 {
   10465 
   10466   ;
   10467   return 0;
   10468 }
   10469 _ACEOF
   10470 if ac_fn_c_try_link "$LINENO"; then :
   10471   eval $cacheid=yes
   10472 else
   10473   eval $cacheid=no
   10474 fi
   10475 rm -f core conftest.err conftest.$ac_objext \
   10476     conftest$ac_exeext conftest.$ac_ext
   10477 fi
   10478 
   10479 
   10480 		CFLAGS="$xorg_testset_save_CFLAGS"
   10481 
   10482 		eval supported=\$$cacheid
   10483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10484 $as_echo "$supported" >&6; }
   10485 		if test "$supported" = "yes" ; then
   10486 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10487 			found="yes"
   10488 		fi
   10489 	fi
   10490 
   10491 
   10492 
   10493 if test "x$STRICT_COMPILE" = "xyes"; then
   10494     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10495     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10496 fi
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 cat >>confdefs.h <<_ACEOF
   10504 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10505 _ACEOF
   10506 
   10507 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10508 	if test "x$PVM" = "x"; then
   10509 		PVM="0"
   10510 	fi
   10511 
   10512 cat >>confdefs.h <<_ACEOF
   10513 #define PACKAGE_VERSION_MINOR $PVM
   10514 _ACEOF
   10515 
   10516 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10517 	if test "x$PVP" = "x"; then
   10518 		PVP="0"
   10519 	fi
   10520 
   10521 cat >>confdefs.h <<_ACEOF
   10522 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10523 _ACEOF
   10524 
   10525 
   10526 
   10527 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10528 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10529 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10530 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10531 
   10532 
   10533 
   10534 
   10535 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10536 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10537 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10538 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10539 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 if test x$APP_MAN_SUFFIX = x    ; then
   10547     APP_MAN_SUFFIX=1
   10548 fi
   10549 if test x$APP_MAN_DIR = x    ; then
   10550     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10551 fi
   10552 
   10553 if test x$LIB_MAN_SUFFIX = x    ; then
   10554     LIB_MAN_SUFFIX=3
   10555 fi
   10556 if test x$LIB_MAN_DIR = x    ; then
   10557     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10558 fi
   10559 
   10560 if test x$FILE_MAN_SUFFIX = x    ; then
   10561     case $host_os in
   10562 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10563 	*)		FILE_MAN_SUFFIX=5  ;;
   10564     esac
   10565 fi
   10566 if test x$FILE_MAN_DIR = x    ; then
   10567     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10568 fi
   10569 
   10570 if test x$MISC_MAN_SUFFIX = x    ; then
   10571     case $host_os in
   10572 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10573 	*)		MISC_MAN_SUFFIX=7  ;;
   10574     esac
   10575 fi
   10576 if test x$MISC_MAN_DIR = x    ; then
   10577     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10578 fi
   10579 
   10580 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10581     case $host_os in
   10582 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10583 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10584     esac
   10585 fi
   10586 if test x$DRIVER_MAN_DIR = x    ; then
   10587     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10588 fi
   10589 
   10590 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10591     case $host_os in
   10592 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10593 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10594     esac
   10595 fi
   10596 if test x$ADMIN_MAN_DIR = x    ; then
   10597     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10598 fi
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 XORG_MAN_PAGE="X Version 11"
   10615 
   10616 MAN_SUBSTS="\
   10617 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10618 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10619 	-e 's|__xservername__|Xorg|g' \
   10620 	-e 's|__xconfigfile__|xorg.conf|g' \
   10621 	-e 's|__projectroot__|\$(prefix)|g' \
   10622 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10623 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10624 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10625 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10626 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10627 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10628 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10629 
   10630 
   10631 
   10632 # Check whether --enable-silent-rules was given.
   10633 if test "${enable_silent_rules+set}" = set; then :
   10634   enableval=$enable_silent_rules;
   10635 fi
   10636 
   10637 case $enable_silent_rules in # (((
   10638   yes) AM_DEFAULT_VERBOSITY=0;;
   10639    no) AM_DEFAULT_VERBOSITY=1;;
   10640     *) AM_DEFAULT_VERBOSITY=0;;
   10641 esac
   10642 am_make=${MAKE-make}
   10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10644 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10645 if ${am_cv_make_support_nested_variables+:} false; then :
   10646   $as_echo_n "(cached) " >&6
   10647 else
   10648   if $as_echo 'TRUE=$(BAR$(V))
   10649 BAR0=false
   10650 BAR1=true
   10651 V=1
   10652 am__doit:
   10653 	@$(TRUE)
   10654 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10655   am_cv_make_support_nested_variables=yes
   10656 else
   10657   am_cv_make_support_nested_variables=no
   10658 fi
   10659 fi
   10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10661 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10662 if test $am_cv_make_support_nested_variables = yes; then
   10663     AM_V='$(V)'
   10664   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10665 else
   10666   AM_V=$AM_DEFAULT_VERBOSITY
   10667   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10668 fi
   10669 AM_BACKSLASH='\'
   10670 
   10671 
   10672 
   10673 # Initialize libtool
   10674 # Check whether --enable-static was given.
   10675 if test "${enable_static+set}" = set; then :
   10676   enableval=$enable_static; p=${PACKAGE-default}
   10677     case $enableval in
   10678     yes) enable_static=yes ;;
   10679     no) enable_static=no ;;
   10680     *)
   10681      enable_static=no
   10682       # Look at the argument we got.  We use all the common list separators.
   10683       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10684       for pkg in $enableval; do
   10685 	IFS="$lt_save_ifs"
   10686 	if test "X$pkg" = "X$p"; then
   10687 	  enable_static=yes
   10688 	fi
   10689       done
   10690       IFS="$lt_save_ifs"
   10691       ;;
   10692     esac
   10693 else
   10694   enable_static=no
   10695 fi
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 case `pwd` in
   10706   *\ * | *\	*)
   10707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10708 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10709 esac
   10710 
   10711 
   10712 
   10713 macro_version='2.4'
   10714 macro_revision='1.3293'
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 ltmain="$ac_aux_dir/ltmain.sh"
   10729 
   10730 # Backslashify metacharacters that are still active within
   10731 # double-quoted strings.
   10732 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10733 
   10734 # Same as above, but do not quote variable references.
   10735 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10736 
   10737 # Sed substitution to delay expansion of an escaped shell variable in a
   10738 # double_quote_subst'ed string.
   10739 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10740 
   10741 # Sed substitution to delay expansion of an escaped single quote.
   10742 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10743 
   10744 # Sed substitution to avoid accidental globbing in evaled expressions
   10745 no_glob_subst='s/\*/\\\*/g'
   10746 
   10747 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10748 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10749 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10750 
   10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10752 $as_echo_n "checking how to print strings... " >&6; }
   10753 # Test print first, because it will be a builtin if present.
   10754 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10755    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10756   ECHO='print -r --'
   10757 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10758   ECHO='printf %s\n'
   10759 else
   10760   # Use this function as a fallback that always works.
   10761   func_fallback_echo ()
   10762   {
   10763     eval 'cat <<_LTECHO_EOF
   10764 $1
   10765 _LTECHO_EOF'
   10766   }
   10767   ECHO='func_fallback_echo'
   10768 fi
   10769 
   10770 # func_echo_all arg...
   10771 # Invoke $ECHO with all args, space-separated.
   10772 func_echo_all ()
   10773 {
   10774     $ECHO ""
   10775 }
   10776 
   10777 case "$ECHO" in
   10778   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10779 $as_echo "printf" >&6; } ;;
   10780   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10781 $as_echo "print -r" >&6; } ;;
   10782   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10783 $as_echo "cat" >&6; } ;;
   10784 esac
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10800 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10801 if ${ac_cv_path_SED+:} false; then :
   10802   $as_echo_n "(cached) " >&6
   10803 else
   10804             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10805      for ac_i in 1 2 3 4 5 6 7; do
   10806        ac_script="$ac_script$as_nl$ac_script"
   10807      done
   10808      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10809      { ac_script=; unset ac_script;}
   10810      if test -z "$SED"; then
   10811   ac_path_SED_found=false
   10812   # Loop through the user's path and test for each of PROGNAME-LIST
   10813   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10814 for as_dir in $PATH
   10815 do
   10816   IFS=$as_save_IFS
   10817   test -z "$as_dir" && as_dir=.
   10818     for ac_prog in sed gsed; do
   10819     for ac_exec_ext in '' $ac_executable_extensions; do
   10820       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10821       as_fn_executable_p "$ac_path_SED" || continue
   10822 # Check for GNU ac_path_SED and select it if it is found.
   10823   # Check for GNU $ac_path_SED
   10824 case `"$ac_path_SED" --version 2>&1` in
   10825 *GNU*)
   10826   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10827 *)
   10828   ac_count=0
   10829   $as_echo_n 0123456789 >"conftest.in"
   10830   while :
   10831   do
   10832     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10833     mv "conftest.tmp" "conftest.in"
   10834     cp "conftest.in" "conftest.nl"
   10835     $as_echo '' >> "conftest.nl"
   10836     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10837     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10838     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10839     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10840       # Best one so far, save it but keep looking for a better one
   10841       ac_cv_path_SED="$ac_path_SED"
   10842       ac_path_SED_max=$ac_count
   10843     fi
   10844     # 10*(2^10) chars as input seems more than enough
   10845     test $ac_count -gt 10 && break
   10846   done
   10847   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10848 esac
   10849 
   10850       $ac_path_SED_found && break 3
   10851     done
   10852   done
   10853   done
   10854 IFS=$as_save_IFS
   10855   if test -z "$ac_cv_path_SED"; then
   10856     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10857   fi
   10858 else
   10859   ac_cv_path_SED=$SED
   10860 fi
   10861 
   10862 fi
   10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10864 $as_echo "$ac_cv_path_SED" >&6; }
   10865  SED="$ac_cv_path_SED"
   10866   rm -f conftest.sed
   10867 
   10868 test -z "$SED" && SED=sed
   10869 Xsed="$SED -e 1s/^X//"
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10882 $as_echo_n "checking for fgrep... " >&6; }
   10883 if ${ac_cv_path_FGREP+:} false; then :
   10884   $as_echo_n "(cached) " >&6
   10885 else
   10886   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10887    then ac_cv_path_FGREP="$GREP -F"
   10888    else
   10889      if test -z "$FGREP"; then
   10890   ac_path_FGREP_found=false
   10891   # Loop through the user's path and test for each of PROGNAME-LIST
   10892   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10893 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10894 do
   10895   IFS=$as_save_IFS
   10896   test -z "$as_dir" && as_dir=.
   10897     for ac_prog in fgrep; do
   10898     for ac_exec_ext in '' $ac_executable_extensions; do
   10899       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10900       as_fn_executable_p "$ac_path_FGREP" || continue
   10901 # Check for GNU ac_path_FGREP and select it if it is found.
   10902   # Check for GNU $ac_path_FGREP
   10903 case `"$ac_path_FGREP" --version 2>&1` in
   10904 *GNU*)
   10905   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10906 *)
   10907   ac_count=0
   10908   $as_echo_n 0123456789 >"conftest.in"
   10909   while :
   10910   do
   10911     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10912     mv "conftest.tmp" "conftest.in"
   10913     cp "conftest.in" "conftest.nl"
   10914     $as_echo 'FGREP' >> "conftest.nl"
   10915     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10916     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10917     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10918     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10919       # Best one so far, save it but keep looking for a better one
   10920       ac_cv_path_FGREP="$ac_path_FGREP"
   10921       ac_path_FGREP_max=$ac_count
   10922     fi
   10923     # 10*(2^10) chars as input seems more than enough
   10924     test $ac_count -gt 10 && break
   10925   done
   10926   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10927 esac
   10928 
   10929       $ac_path_FGREP_found && break 3
   10930     done
   10931   done
   10932   done
   10933 IFS=$as_save_IFS
   10934   if test -z "$ac_cv_path_FGREP"; then
   10935     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10936   fi
   10937 else
   10938   ac_cv_path_FGREP=$FGREP
   10939 fi
   10940 
   10941    fi
   10942 fi
   10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10944 $as_echo "$ac_cv_path_FGREP" >&6; }
   10945  FGREP="$ac_cv_path_FGREP"
   10946 
   10947 
   10948 test -z "$GREP" && GREP=grep
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 # Check whether --with-gnu-ld was given.
   10969 if test "${with_gnu_ld+set}" = set; then :
   10970   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10971 else
   10972   with_gnu_ld=no
   10973 fi
   10974 
   10975 ac_prog=ld
   10976 if test "$GCC" = yes; then
   10977   # Check if gcc -print-prog-name=ld gives a path.
   10978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10979 $as_echo_n "checking for ld used by $CC... " >&6; }
   10980   case $host in
   10981   *-*-mingw*)
   10982     # gcc leaves a trailing carriage return which upsets mingw
   10983     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10984   *)
   10985     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10986   esac
   10987   case $ac_prog in
   10988     # Accept absolute paths.
   10989     [\\/]* | ?:[\\/]*)
   10990       re_direlt='/[^/][^/]*/\.\./'
   10991       # Canonicalize the pathname of ld
   10992       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10993       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10994 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10995       done
   10996       test -z "$LD" && LD="$ac_prog"
   10997       ;;
   10998   "")
   10999     # If it fails, then pretend we aren't using GCC.
   11000     ac_prog=ld
   11001     ;;
   11002   *)
   11003     # If it is relative, then search for the first ld in PATH.
   11004     with_gnu_ld=unknown
   11005     ;;
   11006   esac
   11007 elif test "$with_gnu_ld" = yes; then
   11008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11009 $as_echo_n "checking for GNU ld... " >&6; }
   11010 else
   11011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11012 $as_echo_n "checking for non-GNU ld... " >&6; }
   11013 fi
   11014 if ${lt_cv_path_LD+:} false; then :
   11015   $as_echo_n "(cached) " >&6
   11016 else
   11017   if test -z "$LD"; then
   11018   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11019   for ac_dir in $PATH; do
   11020     IFS="$lt_save_ifs"
   11021     test -z "$ac_dir" && ac_dir=.
   11022     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11023       lt_cv_path_LD="$ac_dir/$ac_prog"
   11024       # Check to see if the program is GNU ld.  I'd rather use --version,
   11025       # but apparently some variants of GNU ld only accept -v.
   11026       # Break only if it was the GNU/non-GNU ld that we prefer.
   11027       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11028       *GNU* | *'with BFD'*)
   11029 	test "$with_gnu_ld" != no && break
   11030 	;;
   11031       *)
   11032 	test "$with_gnu_ld" != yes && break
   11033 	;;
   11034       esac
   11035     fi
   11036   done
   11037   IFS="$lt_save_ifs"
   11038 else
   11039   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11040 fi
   11041 fi
   11042 
   11043 LD="$lt_cv_path_LD"
   11044 if test -n "$LD"; then
   11045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11046 $as_echo "$LD" >&6; }
   11047 else
   11048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11049 $as_echo "no" >&6; }
   11050 fi
   11051 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11053 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11054 if ${lt_cv_prog_gnu_ld+:} false; then :
   11055   $as_echo_n "(cached) " >&6
   11056 else
   11057   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11058 case `$LD -v 2>&1 </dev/null` in
   11059 *GNU* | *'with BFD'*)
   11060   lt_cv_prog_gnu_ld=yes
   11061   ;;
   11062 *)
   11063   lt_cv_prog_gnu_ld=no
   11064   ;;
   11065 esac
   11066 fi
   11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11068 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11069 with_gnu_ld=$lt_cv_prog_gnu_ld
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11080 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11081 if ${lt_cv_path_NM+:} false; then :
   11082   $as_echo_n "(cached) " >&6
   11083 else
   11084   if test -n "$NM"; then
   11085   # Let the user override the test.
   11086   lt_cv_path_NM="$NM"
   11087 else
   11088   lt_nm_to_check="${ac_tool_prefix}nm"
   11089   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11090     lt_nm_to_check="$lt_nm_to_check nm"
   11091   fi
   11092   for lt_tmp_nm in $lt_nm_to_check; do
   11093     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11094     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11095       IFS="$lt_save_ifs"
   11096       test -z "$ac_dir" && ac_dir=.
   11097       tmp_nm="$ac_dir/$lt_tmp_nm"
   11098       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11099 	# Check to see if the nm accepts a BSD-compat flag.
   11100 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11101 	#   nm: unknown option "B" ignored
   11102 	# Tru64's nm complains that /dev/null is an invalid object file
   11103 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11104 	*/dev/null* | *'Invalid file or object type'*)
   11105 	  lt_cv_path_NM="$tmp_nm -B"
   11106 	  break
   11107 	  ;;
   11108 	*)
   11109 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11110 	  */dev/null*)
   11111 	    lt_cv_path_NM="$tmp_nm -p"
   11112 	    break
   11113 	    ;;
   11114 	  *)
   11115 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11116 	    continue # so that we can try to find one that supports BSD flags
   11117 	    ;;
   11118 	  esac
   11119 	  ;;
   11120 	esac
   11121       fi
   11122     done
   11123     IFS="$lt_save_ifs"
   11124   done
   11125   : ${lt_cv_path_NM=no}
   11126 fi
   11127 fi
   11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11129 $as_echo "$lt_cv_path_NM" >&6; }
   11130 if test "$lt_cv_path_NM" != "no"; then
   11131   NM="$lt_cv_path_NM"
   11132 else
   11133   # Didn't find any BSD compatible name lister, look for dumpbin.
   11134   if test -n "$DUMPBIN"; then :
   11135     # Let the user override the test.
   11136   else
   11137     if test -n "$ac_tool_prefix"; then
   11138   for ac_prog in dumpbin "link -dump"
   11139   do
   11140     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11141 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11143 $as_echo_n "checking for $ac_word... " >&6; }
   11144 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11145   $as_echo_n "(cached) " >&6
   11146 else
   11147   if test -n "$DUMPBIN"; then
   11148   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11149 else
   11150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11151 for as_dir in $PATH
   11152 do
   11153   IFS=$as_save_IFS
   11154   test -z "$as_dir" && as_dir=.
   11155     for ac_exec_ext in '' $ac_executable_extensions; do
   11156   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11157     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11159     break 2
   11160   fi
   11161 done
   11162   done
   11163 IFS=$as_save_IFS
   11164 
   11165 fi
   11166 fi
   11167 DUMPBIN=$ac_cv_prog_DUMPBIN
   11168 if test -n "$DUMPBIN"; then
   11169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11170 $as_echo "$DUMPBIN" >&6; }
   11171 else
   11172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11173 $as_echo "no" >&6; }
   11174 fi
   11175 
   11176 
   11177     test -n "$DUMPBIN" && break
   11178   done
   11179 fi
   11180 if test -z "$DUMPBIN"; then
   11181   ac_ct_DUMPBIN=$DUMPBIN
   11182   for ac_prog in dumpbin "link -dump"
   11183 do
   11184   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11185 set dummy $ac_prog; ac_word=$2
   11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11187 $as_echo_n "checking for $ac_word... " >&6; }
   11188 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11189   $as_echo_n "(cached) " >&6
   11190 else
   11191   if test -n "$ac_ct_DUMPBIN"; then
   11192   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11193 else
   11194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11195 for as_dir in $PATH
   11196 do
   11197   IFS=$as_save_IFS
   11198   test -z "$as_dir" && as_dir=.
   11199     for ac_exec_ext in '' $ac_executable_extensions; do
   11200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11201     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11203     break 2
   11204   fi
   11205 done
   11206   done
   11207 IFS=$as_save_IFS
   11208 
   11209 fi
   11210 fi
   11211 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11212 if test -n "$ac_ct_DUMPBIN"; then
   11213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11214 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11215 else
   11216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11217 $as_echo "no" >&6; }
   11218 fi
   11219 
   11220 
   11221   test -n "$ac_ct_DUMPBIN" && break
   11222 done
   11223 
   11224   if test "x$ac_ct_DUMPBIN" = x; then
   11225     DUMPBIN=":"
   11226   else
   11227     case $cross_compiling:$ac_tool_warned in
   11228 yes:)
   11229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11231 ac_tool_warned=yes ;;
   11232 esac
   11233     DUMPBIN=$ac_ct_DUMPBIN
   11234   fi
   11235 fi
   11236 
   11237     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11238     *COFF*)
   11239       DUMPBIN="$DUMPBIN -symbols"
   11240       ;;
   11241     *)
   11242       DUMPBIN=:
   11243       ;;
   11244     esac
   11245   fi
   11246 
   11247   if test "$DUMPBIN" != ":"; then
   11248     NM="$DUMPBIN"
   11249   fi
   11250 fi
   11251 test -z "$NM" && NM=nm
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11259 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11260 if ${lt_cv_nm_interface+:} false; then :
   11261   $as_echo_n "(cached) " >&6
   11262 else
   11263   lt_cv_nm_interface="BSD nm"
   11264   echo "int some_variable = 0;" > conftest.$ac_ext
   11265   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11266   (eval "$ac_compile" 2>conftest.err)
   11267   cat conftest.err >&5
   11268   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11269   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11270   cat conftest.err >&5
   11271   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11272   cat conftest.out >&5
   11273   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11274     lt_cv_nm_interface="MS dumpbin"
   11275   fi
   11276   rm -f conftest*
   11277 fi
   11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11279 $as_echo "$lt_cv_nm_interface" >&6; }
   11280 
   11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11282 $as_echo_n "checking whether ln -s works... " >&6; }
   11283 LN_S=$as_ln_s
   11284 if test "$LN_S" = "ln -s"; then
   11285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11286 $as_echo "yes" >&6; }
   11287 else
   11288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11289 $as_echo "no, using $LN_S" >&6; }
   11290 fi
   11291 
   11292 # find the maximum length of command line arguments
   11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11294 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11295 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11296   $as_echo_n "(cached) " >&6
   11297 else
   11298     i=0
   11299   teststring="ABCD"
   11300 
   11301   case $build_os in
   11302   msdosdjgpp*)
   11303     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11304     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11305     # during glob expansion).  Even if it were fixed, the result of this
   11306     # check would be larger than it should be.
   11307     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11308     ;;
   11309 
   11310   gnu*)
   11311     # Under GNU Hurd, this test is not required because there is
   11312     # no limit to the length of command line arguments.
   11313     # Libtool will interpret -1 as no limit whatsoever
   11314     lt_cv_sys_max_cmd_len=-1;
   11315     ;;
   11316 
   11317   cygwin* | mingw* | cegcc*)
   11318     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11319     # about 5 minutes as the teststring grows exponentially.
   11320     # Worse, since 9x/ME are not pre-emptively multitasking,
   11321     # you end up with a "frozen" computer, even though with patience
   11322     # the test eventually succeeds (with a max line length of 256k).
   11323     # Instead, let's just punt: use the minimum linelength reported by
   11324     # all of the supported platforms: 8192 (on NT/2K/XP).
   11325     lt_cv_sys_max_cmd_len=8192;
   11326     ;;
   11327 
   11328   mint*)
   11329     # On MiNT this can take a long time and run out of memory.
   11330     lt_cv_sys_max_cmd_len=8192;
   11331     ;;
   11332 
   11333   amigaos*)
   11334     # On AmigaOS with pdksh, this test takes hours, literally.
   11335     # So we just punt and use a minimum line length of 8192.
   11336     lt_cv_sys_max_cmd_len=8192;
   11337     ;;
   11338 
   11339   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11340     # This has been around since 386BSD, at least.  Likely further.
   11341     if test -x /sbin/sysctl; then
   11342       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11343     elif test -x /usr/sbin/sysctl; then
   11344       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11345     else
   11346       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11347     fi
   11348     # And add a safety zone
   11349     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11350     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11351     ;;
   11352 
   11353   interix*)
   11354     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11355     lt_cv_sys_max_cmd_len=196608
   11356     ;;
   11357 
   11358   osf*)
   11359     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11360     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11361     # nice to cause kernel panics so lets avoid the loop below.
   11362     # First set a reasonable default.
   11363     lt_cv_sys_max_cmd_len=16384
   11364     #
   11365     if test -x /sbin/sysconfig; then
   11366       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11367         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11368       esac
   11369     fi
   11370     ;;
   11371   sco3.2v5*)
   11372     lt_cv_sys_max_cmd_len=102400
   11373     ;;
   11374   sysv5* | sco5v6* | sysv4.2uw2*)
   11375     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11376     if test -n "$kargmax"; then
   11377       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11378     else
   11379       lt_cv_sys_max_cmd_len=32768
   11380     fi
   11381     ;;
   11382   *)
   11383     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11384     if test -n "$lt_cv_sys_max_cmd_len"; then
   11385       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11386       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11387     else
   11388       # Make teststring a little bigger before we do anything with it.
   11389       # a 1K string should be a reasonable start.
   11390       for i in 1 2 3 4 5 6 7 8 ; do
   11391         teststring=$teststring$teststring
   11392       done
   11393       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11394       # If test is not a shell built-in, we'll probably end up computing a
   11395       # maximum length that is only half of the actual maximum length, but
   11396       # we can't tell.
   11397       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   11398 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11399 	      test $i != 17 # 1/2 MB should be enough
   11400       do
   11401         i=`expr $i + 1`
   11402         teststring=$teststring$teststring
   11403       done
   11404       # Only check the string length outside the loop.
   11405       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11406       teststring=
   11407       # Add a significant safety factor because C++ compilers can tack on
   11408       # massive amounts of additional arguments before passing them to the
   11409       # linker.  It appears as though 1/2 is a usable value.
   11410       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11411     fi
   11412     ;;
   11413   esac
   11414 
   11415 fi
   11416 
   11417 if test -n $lt_cv_sys_max_cmd_len ; then
   11418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11419 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11420 else
   11421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11422 $as_echo "none" >&6; }
   11423 fi
   11424 max_cmd_len=$lt_cv_sys_max_cmd_len
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 : ${CP="cp -f"}
   11432 : ${MV="mv -f"}
   11433 : ${RM="rm -f"}
   11434 
   11435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11436 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11437 # Try some XSI features
   11438 xsi_shell=no
   11439 ( _lt_dummy="a/b/c"
   11440   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11441       = c,a/b,b/c, \
   11442     && eval 'test $(( 1 + 1 )) -eq 2 \
   11443     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11444   && xsi_shell=yes
   11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11446 $as_echo "$xsi_shell" >&6; }
   11447 
   11448 
   11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11450 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11451 lt_shell_append=no
   11452 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11453     >/dev/null 2>&1 \
   11454   && lt_shell_append=yes
   11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11456 $as_echo "$lt_shell_append" >&6; }
   11457 
   11458 
   11459 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11460   lt_unset=unset
   11461 else
   11462   lt_unset=false
   11463 fi
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 # test EBCDIC or ASCII
   11470 case `echo X|tr X '\101'` in
   11471  A) # ASCII based system
   11472     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11473   lt_SP2NL='tr \040 \012'
   11474   lt_NL2SP='tr \015\012 \040\040'
   11475   ;;
   11476  *) # EBCDIC based system
   11477   lt_SP2NL='tr \100 \n'
   11478   lt_NL2SP='tr \r\n \100\100'
   11479   ;;
   11480 esac
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11491 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11492 if ${lt_cv_to_host_file_cmd+:} false; then :
   11493   $as_echo_n "(cached) " >&6
   11494 else
   11495   case $host in
   11496   *-*-mingw* )
   11497     case $build in
   11498       *-*-mingw* ) # actually msys
   11499         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11500         ;;
   11501       *-*-cygwin* )
   11502         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11503         ;;
   11504       * ) # otherwise, assume *nix
   11505         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11506         ;;
   11507     esac
   11508     ;;
   11509   *-*-cygwin* )
   11510     case $build in
   11511       *-*-mingw* ) # actually msys
   11512         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11513         ;;
   11514       *-*-cygwin* )
   11515         lt_cv_to_host_file_cmd=func_convert_file_noop
   11516         ;;
   11517       * ) # otherwise, assume *nix
   11518         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11519         ;;
   11520     esac
   11521     ;;
   11522   * ) # unhandled hosts (and "normal" native builds)
   11523     lt_cv_to_host_file_cmd=func_convert_file_noop
   11524     ;;
   11525 esac
   11526 
   11527 fi
   11528 
   11529 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11531 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11538 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11539 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11540   $as_echo_n "(cached) " >&6
   11541 else
   11542   #assume ordinary cross tools, or native build.
   11543 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11544 case $host in
   11545   *-*-mingw* )
   11546     case $build in
   11547       *-*-mingw* ) # actually msys
   11548         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11549         ;;
   11550     esac
   11551     ;;
   11552 esac
   11553 
   11554 fi
   11555 
   11556 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11558 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11565 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11566 if ${lt_cv_ld_reload_flag+:} false; then :
   11567   $as_echo_n "(cached) " >&6
   11568 else
   11569   lt_cv_ld_reload_flag='-r'
   11570 fi
   11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11572 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11573 reload_flag=$lt_cv_ld_reload_flag
   11574 case $reload_flag in
   11575 "" | " "*) ;;
   11576 *) reload_flag=" $reload_flag" ;;
   11577 esac
   11578 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11579 case $host_os in
   11580   cygwin* | mingw* | pw32* | cegcc*)
   11581     if test "$GCC" != yes; then
   11582       reload_cmds=false
   11583     fi
   11584     ;;
   11585   darwin*)
   11586     if test "$GCC" = yes; then
   11587       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11588     else
   11589       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11590     fi
   11591     ;;
   11592 esac
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 if test -n "$ac_tool_prefix"; then
   11603   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11604 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11606 $as_echo_n "checking for $ac_word... " >&6; }
   11607 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11608   $as_echo_n "(cached) " >&6
   11609 else
   11610   if test -n "$OBJDUMP"; then
   11611   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11612 else
   11613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11614 for as_dir in $PATH
   11615 do
   11616   IFS=$as_save_IFS
   11617   test -z "$as_dir" && as_dir=.
   11618     for ac_exec_ext in '' $ac_executable_extensions; do
   11619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11620     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11622     break 2
   11623   fi
   11624 done
   11625   done
   11626 IFS=$as_save_IFS
   11627 
   11628 fi
   11629 fi
   11630 OBJDUMP=$ac_cv_prog_OBJDUMP
   11631 if test -n "$OBJDUMP"; then
   11632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11633 $as_echo "$OBJDUMP" >&6; }
   11634 else
   11635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11636 $as_echo "no" >&6; }
   11637 fi
   11638 
   11639 
   11640 fi
   11641 if test -z "$ac_cv_prog_OBJDUMP"; then
   11642   ac_ct_OBJDUMP=$OBJDUMP
   11643   # Extract the first word of "objdump", so it can be a program name with args.
   11644 set dummy objdump; ac_word=$2
   11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11646 $as_echo_n "checking for $ac_word... " >&6; }
   11647 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11648   $as_echo_n "(cached) " >&6
   11649 else
   11650   if test -n "$ac_ct_OBJDUMP"; then
   11651   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11652 else
   11653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11654 for as_dir in $PATH
   11655 do
   11656   IFS=$as_save_IFS
   11657   test -z "$as_dir" && as_dir=.
   11658     for ac_exec_ext in '' $ac_executable_extensions; do
   11659   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11660     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11662     break 2
   11663   fi
   11664 done
   11665   done
   11666 IFS=$as_save_IFS
   11667 
   11668 fi
   11669 fi
   11670 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11671 if test -n "$ac_ct_OBJDUMP"; then
   11672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11673 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11674 else
   11675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11676 $as_echo "no" >&6; }
   11677 fi
   11678 
   11679   if test "x$ac_ct_OBJDUMP" = x; then
   11680     OBJDUMP="false"
   11681   else
   11682     case $cross_compiling:$ac_tool_warned in
   11683 yes:)
   11684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11686 ac_tool_warned=yes ;;
   11687 esac
   11688     OBJDUMP=$ac_ct_OBJDUMP
   11689   fi
   11690 else
   11691   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11692 fi
   11693 
   11694 test -z "$OBJDUMP" && OBJDUMP=objdump
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11705 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11706 if ${lt_cv_deplibs_check_method+:} false; then :
   11707   $as_echo_n "(cached) " >&6
   11708 else
   11709   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11710 lt_cv_file_magic_test_file=
   11711 lt_cv_deplibs_check_method='unknown'
   11712 # Need to set the preceding variable on all platforms that support
   11713 # interlibrary dependencies.
   11714 # 'none' -- dependencies not supported.
   11715 # `unknown' -- same as none, but documents that we really don't know.
   11716 # 'pass_all' -- all dependencies passed with no checks.
   11717 # 'test_compile' -- check by making test program.
   11718 # 'file_magic [[regex]]' -- check by looking for files in library path
   11719 # which responds to the $file_magic_cmd with a given extended regex.
   11720 # If you have `file' or equivalent on your system and you're not sure
   11721 # whether `pass_all' will *always* work, you probably want this one.
   11722 
   11723 case $host_os in
   11724 aix[4-9]*)
   11725   lt_cv_deplibs_check_method=pass_all
   11726   ;;
   11727 
   11728 beos*)
   11729   lt_cv_deplibs_check_method=pass_all
   11730   ;;
   11731 
   11732 bsdi[45]*)
   11733   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11734   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11735   lt_cv_file_magic_test_file=/shlib/libc.so
   11736   ;;
   11737 
   11738 cygwin*)
   11739   # func_win32_libid is a shell function defined in ltmain.sh
   11740   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11741   lt_cv_file_magic_cmd='func_win32_libid'
   11742   ;;
   11743 
   11744 mingw* | pw32*)
   11745   # Base MSYS/MinGW do not provide the 'file' command needed by
   11746   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11747   # unless we find 'file', for example because we are cross-compiling.
   11748   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11749   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11750     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11751     lt_cv_file_magic_cmd='func_win32_libid'
   11752   else
   11753     # Keep this pattern in sync with the one in func_win32_libid.
   11754     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11755     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11756   fi
   11757   ;;
   11758 
   11759 cegcc*)
   11760   # use the weaker test based on 'objdump'. See mingw*.
   11761   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11762   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11763   ;;
   11764 
   11765 darwin* | rhapsody*)
   11766   lt_cv_deplibs_check_method=pass_all
   11767   ;;
   11768 
   11769 freebsd* | dragonfly*)
   11770   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11771     case $host_cpu in
   11772     i*86 )
   11773       # Not sure whether the presence of OpenBSD here was a mistake.
   11774       # Let's accept both of them until this is cleared up.
   11775       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11776       lt_cv_file_magic_cmd=/usr/bin/file
   11777       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11778       ;;
   11779     esac
   11780   else
   11781     lt_cv_deplibs_check_method=pass_all
   11782   fi
   11783   ;;
   11784 
   11785 gnu*)
   11786   lt_cv_deplibs_check_method=pass_all
   11787   ;;
   11788 
   11789 haiku*)
   11790   lt_cv_deplibs_check_method=pass_all
   11791   ;;
   11792 
   11793 hpux10.20* | hpux11*)
   11794   lt_cv_file_magic_cmd=/usr/bin/file
   11795   case $host_cpu in
   11796   ia64*)
   11797     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11798     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11799     ;;
   11800   hppa*64*)
   11801     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]'
   11802     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11803     ;;
   11804   *)
   11805     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11806     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11807     ;;
   11808   esac
   11809   ;;
   11810 
   11811 interix[3-9]*)
   11812   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11813   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11814   ;;
   11815 
   11816 irix5* | irix6* | nonstopux*)
   11817   case $LD in
   11818   *-32|*"-32 ") libmagic=32-bit;;
   11819   *-n32|*"-n32 ") libmagic=N32;;
   11820   *-64|*"-64 ") libmagic=64-bit;;
   11821   *) libmagic=never-match;;
   11822   esac
   11823   lt_cv_deplibs_check_method=pass_all
   11824   ;;
   11825 
   11826 # This must be Linux ELF.
   11827 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11828   lt_cv_deplibs_check_method=pass_all
   11829   ;;
   11830 
   11831 netbsd*)
   11832   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11833     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11834   else
   11835     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11836   fi
   11837   ;;
   11838 
   11839 newos6*)
   11840   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11841   lt_cv_file_magic_cmd=/usr/bin/file
   11842   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11843   ;;
   11844 
   11845 *nto* | *qnx*)
   11846   lt_cv_deplibs_check_method=pass_all
   11847   ;;
   11848 
   11849 openbsd*)
   11850   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11851     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11852   else
   11853     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11854   fi
   11855   ;;
   11856 
   11857 osf3* | osf4* | osf5*)
   11858   lt_cv_deplibs_check_method=pass_all
   11859   ;;
   11860 
   11861 rdos*)
   11862   lt_cv_deplibs_check_method=pass_all
   11863   ;;
   11864 
   11865 solaris*)
   11866   lt_cv_deplibs_check_method=pass_all
   11867   ;;
   11868 
   11869 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11870   lt_cv_deplibs_check_method=pass_all
   11871   ;;
   11872 
   11873 sysv4 | sysv4.3*)
   11874   case $host_vendor in
   11875   motorola)
   11876     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]'
   11877     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11878     ;;
   11879   ncr)
   11880     lt_cv_deplibs_check_method=pass_all
   11881     ;;
   11882   sequent)
   11883     lt_cv_file_magic_cmd='/bin/file'
   11884     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11885     ;;
   11886   sni)
   11887     lt_cv_file_magic_cmd='/bin/file'
   11888     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11889     lt_cv_file_magic_test_file=/lib/libc.so
   11890     ;;
   11891   siemens)
   11892     lt_cv_deplibs_check_method=pass_all
   11893     ;;
   11894   pc)
   11895     lt_cv_deplibs_check_method=pass_all
   11896     ;;
   11897   esac
   11898   ;;
   11899 
   11900 tpf*)
   11901   lt_cv_deplibs_check_method=pass_all
   11902   ;;
   11903 esac
   11904 
   11905 fi
   11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11907 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11908 
   11909 file_magic_glob=
   11910 want_nocaseglob=no
   11911 if test "$build" = "$host"; then
   11912   case $host_os in
   11913   mingw* | pw32*)
   11914     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11915       want_nocaseglob=yes
   11916     else
   11917       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11918     fi
   11919     ;;
   11920   esac
   11921 fi
   11922 
   11923 file_magic_cmd=$lt_cv_file_magic_cmd
   11924 deplibs_check_method=$lt_cv_deplibs_check_method
   11925 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 if test -n "$ac_tool_prefix"; then
   11949   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11950 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11952 $as_echo_n "checking for $ac_word... " >&6; }
   11953 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11954   $as_echo_n "(cached) " >&6
   11955 else
   11956   if test -n "$DLLTOOL"; then
   11957   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11958 else
   11959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11960 for as_dir in $PATH
   11961 do
   11962   IFS=$as_save_IFS
   11963   test -z "$as_dir" && as_dir=.
   11964     for ac_exec_ext in '' $ac_executable_extensions; do
   11965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11966     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11968     break 2
   11969   fi
   11970 done
   11971   done
   11972 IFS=$as_save_IFS
   11973 
   11974 fi
   11975 fi
   11976 DLLTOOL=$ac_cv_prog_DLLTOOL
   11977 if test -n "$DLLTOOL"; then
   11978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11979 $as_echo "$DLLTOOL" >&6; }
   11980 else
   11981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11982 $as_echo "no" >&6; }
   11983 fi
   11984 
   11985 
   11986 fi
   11987 if test -z "$ac_cv_prog_DLLTOOL"; then
   11988   ac_ct_DLLTOOL=$DLLTOOL
   11989   # Extract the first word of "dlltool", so it can be a program name with args.
   11990 set dummy dlltool; ac_word=$2
   11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11992 $as_echo_n "checking for $ac_word... " >&6; }
   11993 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11994   $as_echo_n "(cached) " >&6
   11995 else
   11996   if test -n "$ac_ct_DLLTOOL"; then
   11997   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11998 else
   11999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12000 for as_dir in $PATH
   12001 do
   12002   IFS=$as_save_IFS
   12003   test -z "$as_dir" && as_dir=.
   12004     for ac_exec_ext in '' $ac_executable_extensions; do
   12005   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12006     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12008     break 2
   12009   fi
   12010 done
   12011   done
   12012 IFS=$as_save_IFS
   12013 
   12014 fi
   12015 fi
   12016 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12017 if test -n "$ac_ct_DLLTOOL"; then
   12018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12019 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12020 else
   12021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12022 $as_echo "no" >&6; }
   12023 fi
   12024 
   12025   if test "x$ac_ct_DLLTOOL" = x; then
   12026     DLLTOOL="false"
   12027   else
   12028     case $cross_compiling:$ac_tool_warned in
   12029 yes:)
   12030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12032 ac_tool_warned=yes ;;
   12033 esac
   12034     DLLTOOL=$ac_ct_DLLTOOL
   12035   fi
   12036 else
   12037   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12038 fi
   12039 
   12040 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12052 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12053 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12054   $as_echo_n "(cached) " >&6
   12055 else
   12056   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12057 
   12058 case $host_os in
   12059 cygwin* | mingw* | pw32* | cegcc*)
   12060   # two different shell functions defined in ltmain.sh
   12061   # decide which to use based on capabilities of $DLLTOOL
   12062   case `$DLLTOOL --help 2>&1` in
   12063   *--identify-strict*)
   12064     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12065     ;;
   12066   *)
   12067     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12068     ;;
   12069   esac
   12070   ;;
   12071 *)
   12072   # fallback: assume linklib IS sharedlib
   12073   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12074   ;;
   12075 esac
   12076 
   12077 fi
   12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12079 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12080 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12081 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 if test -n "$ac_tool_prefix"; then
   12090   for ac_prog in ar
   12091   do
   12092     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12095 $as_echo_n "checking for $ac_word... " >&6; }
   12096 if ${ac_cv_prog_AR+:} false; then :
   12097   $as_echo_n "(cached) " >&6
   12098 else
   12099   if test -n "$AR"; then
   12100   ac_cv_prog_AR="$AR" # Let the user override the test.
   12101 else
   12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12103 for as_dir in $PATH
   12104 do
   12105   IFS=$as_save_IFS
   12106   test -z "$as_dir" && as_dir=.
   12107     for ac_exec_ext in '' $ac_executable_extensions; do
   12108   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12109     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12111     break 2
   12112   fi
   12113 done
   12114   done
   12115 IFS=$as_save_IFS
   12116 
   12117 fi
   12118 fi
   12119 AR=$ac_cv_prog_AR
   12120 if test -n "$AR"; then
   12121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12122 $as_echo "$AR" >&6; }
   12123 else
   12124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12125 $as_echo "no" >&6; }
   12126 fi
   12127 
   12128 
   12129     test -n "$AR" && break
   12130   done
   12131 fi
   12132 if test -z "$AR"; then
   12133   ac_ct_AR=$AR
   12134   for ac_prog in ar
   12135 do
   12136   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12137 set dummy $ac_prog; ac_word=$2
   12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12139 $as_echo_n "checking for $ac_word... " >&6; }
   12140 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12141   $as_echo_n "(cached) " >&6
   12142 else
   12143   if test -n "$ac_ct_AR"; then
   12144   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12145 else
   12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12147 for as_dir in $PATH
   12148 do
   12149   IFS=$as_save_IFS
   12150   test -z "$as_dir" && as_dir=.
   12151     for ac_exec_ext in '' $ac_executable_extensions; do
   12152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12153     ac_cv_prog_ac_ct_AR="$ac_prog"
   12154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12155     break 2
   12156   fi
   12157 done
   12158   done
   12159 IFS=$as_save_IFS
   12160 
   12161 fi
   12162 fi
   12163 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12164 if test -n "$ac_ct_AR"; then
   12165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12166 $as_echo "$ac_ct_AR" >&6; }
   12167 else
   12168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12169 $as_echo "no" >&6; }
   12170 fi
   12171 
   12172 
   12173   test -n "$ac_ct_AR" && break
   12174 done
   12175 
   12176   if test "x$ac_ct_AR" = x; then
   12177     AR="false"
   12178   else
   12179     case $cross_compiling:$ac_tool_warned in
   12180 yes:)
   12181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12183 ac_tool_warned=yes ;;
   12184 esac
   12185     AR=$ac_ct_AR
   12186   fi
   12187 fi
   12188 
   12189 : ${AR=ar}
   12190 : ${AR_FLAGS=cru}
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12203 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12204 if ${lt_cv_ar_at_file+:} false; then :
   12205   $as_echo_n "(cached) " >&6
   12206 else
   12207   lt_cv_ar_at_file=no
   12208    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12209 /* end confdefs.h.  */
   12210 
   12211 int
   12212 main ()
   12213 {
   12214 
   12215   ;
   12216   return 0;
   12217 }
   12218 _ACEOF
   12219 if ac_fn_c_try_compile "$LINENO"; then :
   12220   echo conftest.$ac_objext > conftest.lst
   12221       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12222       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12223   (eval $lt_ar_try) 2>&5
   12224   ac_status=$?
   12225   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12226   test $ac_status = 0; }
   12227       if test "$ac_status" -eq 0; then
   12228 	# Ensure the archiver fails upon bogus file names.
   12229 	rm -f conftest.$ac_objext libconftest.a
   12230 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12231   (eval $lt_ar_try) 2>&5
   12232   ac_status=$?
   12233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12234   test $ac_status = 0; }
   12235 	if test "$ac_status" -ne 0; then
   12236           lt_cv_ar_at_file=@
   12237         fi
   12238       fi
   12239       rm -f conftest.* libconftest.a
   12240 
   12241 fi
   12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12243 
   12244 fi
   12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12246 $as_echo "$lt_cv_ar_at_file" >&6; }
   12247 
   12248 if test "x$lt_cv_ar_at_file" = xno; then
   12249   archiver_list_spec=
   12250 else
   12251   archiver_list_spec=$lt_cv_ar_at_file
   12252 fi
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 if test -n "$ac_tool_prefix"; then
   12261   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12262 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12264 $as_echo_n "checking for $ac_word... " >&6; }
   12265 if ${ac_cv_prog_STRIP+:} false; then :
   12266   $as_echo_n "(cached) " >&6
   12267 else
   12268   if test -n "$STRIP"; then
   12269   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12270 else
   12271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12272 for as_dir in $PATH
   12273 do
   12274   IFS=$as_save_IFS
   12275   test -z "$as_dir" && as_dir=.
   12276     for ac_exec_ext in '' $ac_executable_extensions; do
   12277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12278     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12280     break 2
   12281   fi
   12282 done
   12283   done
   12284 IFS=$as_save_IFS
   12285 
   12286 fi
   12287 fi
   12288 STRIP=$ac_cv_prog_STRIP
   12289 if test -n "$STRIP"; then
   12290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12291 $as_echo "$STRIP" >&6; }
   12292 else
   12293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12294 $as_echo "no" >&6; }
   12295 fi
   12296 
   12297 
   12298 fi
   12299 if test -z "$ac_cv_prog_STRIP"; then
   12300   ac_ct_STRIP=$STRIP
   12301   # Extract the first word of "strip", so it can be a program name with args.
   12302 set dummy strip; ac_word=$2
   12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12304 $as_echo_n "checking for $ac_word... " >&6; }
   12305 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12306   $as_echo_n "(cached) " >&6
   12307 else
   12308   if test -n "$ac_ct_STRIP"; then
   12309   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12310 else
   12311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12312 for as_dir in $PATH
   12313 do
   12314   IFS=$as_save_IFS
   12315   test -z "$as_dir" && as_dir=.
   12316     for ac_exec_ext in '' $ac_executable_extensions; do
   12317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12318     ac_cv_prog_ac_ct_STRIP="strip"
   12319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12320     break 2
   12321   fi
   12322 done
   12323   done
   12324 IFS=$as_save_IFS
   12325 
   12326 fi
   12327 fi
   12328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12329 if test -n "$ac_ct_STRIP"; then
   12330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12331 $as_echo "$ac_ct_STRIP" >&6; }
   12332 else
   12333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12334 $as_echo "no" >&6; }
   12335 fi
   12336 
   12337   if test "x$ac_ct_STRIP" = x; then
   12338     STRIP=":"
   12339   else
   12340     case $cross_compiling:$ac_tool_warned in
   12341 yes:)
   12342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12344 ac_tool_warned=yes ;;
   12345 esac
   12346     STRIP=$ac_ct_STRIP
   12347   fi
   12348 else
   12349   STRIP="$ac_cv_prog_STRIP"
   12350 fi
   12351 
   12352 test -z "$STRIP" && STRIP=:
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 if test -n "$ac_tool_prefix"; then
   12360   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12361 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12363 $as_echo_n "checking for $ac_word... " >&6; }
   12364 if ${ac_cv_prog_RANLIB+:} false; then :
   12365   $as_echo_n "(cached) " >&6
   12366 else
   12367   if test -n "$RANLIB"; then
   12368   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12369 else
   12370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12371 for as_dir in $PATH
   12372 do
   12373   IFS=$as_save_IFS
   12374   test -z "$as_dir" && as_dir=.
   12375     for ac_exec_ext in '' $ac_executable_extensions; do
   12376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12377     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12379     break 2
   12380   fi
   12381 done
   12382   done
   12383 IFS=$as_save_IFS
   12384 
   12385 fi
   12386 fi
   12387 RANLIB=$ac_cv_prog_RANLIB
   12388 if test -n "$RANLIB"; then
   12389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12390 $as_echo "$RANLIB" >&6; }
   12391 else
   12392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12393 $as_echo "no" >&6; }
   12394 fi
   12395 
   12396 
   12397 fi
   12398 if test -z "$ac_cv_prog_RANLIB"; then
   12399   ac_ct_RANLIB=$RANLIB
   12400   # Extract the first word of "ranlib", so it can be a program name with args.
   12401 set dummy ranlib; ac_word=$2
   12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12403 $as_echo_n "checking for $ac_word... " >&6; }
   12404 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12405   $as_echo_n "(cached) " >&6
   12406 else
   12407   if test -n "$ac_ct_RANLIB"; then
   12408   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12409 else
   12410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12411 for as_dir in $PATH
   12412 do
   12413   IFS=$as_save_IFS
   12414   test -z "$as_dir" && as_dir=.
   12415     for ac_exec_ext in '' $ac_executable_extensions; do
   12416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12417     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12419     break 2
   12420   fi
   12421 done
   12422   done
   12423 IFS=$as_save_IFS
   12424 
   12425 fi
   12426 fi
   12427 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12428 if test -n "$ac_ct_RANLIB"; then
   12429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12430 $as_echo "$ac_ct_RANLIB" >&6; }
   12431 else
   12432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12433 $as_echo "no" >&6; }
   12434 fi
   12435 
   12436   if test "x$ac_ct_RANLIB" = x; then
   12437     RANLIB=":"
   12438   else
   12439     case $cross_compiling:$ac_tool_warned in
   12440 yes:)
   12441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12443 ac_tool_warned=yes ;;
   12444 esac
   12445     RANLIB=$ac_ct_RANLIB
   12446   fi
   12447 else
   12448   RANLIB="$ac_cv_prog_RANLIB"
   12449 fi
   12450 
   12451 test -z "$RANLIB" && RANLIB=:
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 # Determine commands to create old-style static archives.
   12459 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12460 old_postinstall_cmds='chmod 644 $oldlib'
   12461 old_postuninstall_cmds=
   12462 
   12463 if test -n "$RANLIB"; then
   12464   case $host_os in
   12465   openbsd*)
   12466     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   12467     ;;
   12468   *)
   12469     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   12470     ;;
   12471   esac
   12472   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   12473 fi
   12474 
   12475 case $host_os in
   12476   darwin*)
   12477     lock_old_archive_extraction=yes ;;
   12478   *)
   12479     lock_old_archive_extraction=no ;;
   12480 esac
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 # If no C compiler was specified, use CC.
   12521 LTCC=${LTCC-"$CC"}
   12522 
   12523 # If no C compiler flags were specified, use CFLAGS.
   12524 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12525 
   12526 # Allow CC to be a program name with arguments.
   12527 compiler=$CC
   12528 
   12529 
   12530 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12532 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12533 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12534   $as_echo_n "(cached) " >&6
   12535 else
   12536 
   12537 # These are sane defaults that work on at least a few old systems.
   12538 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12539 
   12540 # Character class describing NM global symbol codes.
   12541 symcode='[BCDEGRST]'
   12542 
   12543 # Regexp to match symbols that can be accessed directly from C.
   12544 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12545 
   12546 # Define system-specific variables.
   12547 case $host_os in
   12548 aix*)
   12549   symcode='[BCDT]'
   12550   ;;
   12551 cygwin* | mingw* | pw32* | cegcc*)
   12552   symcode='[ABCDGISTW]'
   12553   ;;
   12554 hpux*)
   12555   if test "$host_cpu" = ia64; then
   12556     symcode='[ABCDEGRST]'
   12557   fi
   12558   ;;
   12559 irix* | nonstopux*)
   12560   symcode='[BCDEGRST]'
   12561   ;;
   12562 osf*)
   12563   symcode='[BCDEGQRST]'
   12564   ;;
   12565 solaris*)
   12566   symcode='[BDRT]'
   12567   ;;
   12568 sco3.2v5*)
   12569   symcode='[DT]'
   12570   ;;
   12571 sysv4.2uw2*)
   12572   symcode='[DT]'
   12573   ;;
   12574 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12575   symcode='[ABDT]'
   12576   ;;
   12577 sysv4)
   12578   symcode='[DFNSTU]'
   12579   ;;
   12580 esac
   12581 
   12582 # If we're using GNU nm, then use its standard symbol codes.
   12583 case `$NM -V 2>&1` in
   12584 *GNU* | *'with BFD'*)
   12585   symcode='[ABCDGIRSTW]' ;;
   12586 esac
   12587 
   12588 # Transform an extracted symbol line into a proper C declaration.
   12589 # Some systems (esp. on ia64) link data and code symbols differently,
   12590 # so use this general approach.
   12591 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12592 
   12593 # Transform an extracted symbol line into symbol name and symbol address
   12594 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12595 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   12596 
   12597 # Handle CRLF in mingw tool chain
   12598 opt_cr=
   12599 case $build_os in
   12600 mingw*)
   12601   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12602   ;;
   12603 esac
   12604 
   12605 # Try without a prefix underscore, then with it.
   12606 for ac_symprfx in "" "_"; do
   12607 
   12608   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12609   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12610 
   12611   # Write the raw and C identifiers.
   12612   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12613     # Fake it for dumpbin and say T for any non-static function
   12614     # and D for any global variable.
   12615     # Also find C++ and __fastcall symbols from MSVC++,
   12616     # which start with @ or ?.
   12617     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12618 "     {last_section=section; section=\$ 3};"\
   12619 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12620 "     \$ 0!~/External *\|/{next};"\
   12621 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12622 "     {if(hide[section]) next};"\
   12623 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12624 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12625 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12626 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12627 "     ' prfx=^$ac_symprfx"
   12628   else
   12629     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12630   fi
   12631   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12632 
   12633   # Check to see that the pipe works correctly.
   12634   pipe_works=no
   12635 
   12636   rm -f conftest*
   12637   cat > conftest.$ac_ext <<_LT_EOF
   12638 #ifdef __cplusplus
   12639 extern "C" {
   12640 #endif
   12641 char nm_test_var;
   12642 void nm_test_func(void);
   12643 void nm_test_func(void){}
   12644 #ifdef __cplusplus
   12645 }
   12646 #endif
   12647 int main(){nm_test_var='a';nm_test_func();return(0);}
   12648 _LT_EOF
   12649 
   12650   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12651   (eval $ac_compile) 2>&5
   12652   ac_status=$?
   12653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12654   test $ac_status = 0; }; then
   12655     # Now try to grab the symbols.
   12656     nlist=conftest.nm
   12657     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12658   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12659   ac_status=$?
   12660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12661   test $ac_status = 0; } && test -s "$nlist"; then
   12662       # Try sorting and uniquifying the output.
   12663       if sort "$nlist" | uniq > "$nlist"T; then
   12664 	mv -f "$nlist"T "$nlist"
   12665       else
   12666 	rm -f "$nlist"T
   12667       fi
   12668 
   12669       # Make sure that we snagged all the symbols we need.
   12670       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12671 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12672 	  cat <<_LT_EOF > conftest.$ac_ext
   12673 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12674 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12675 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12676    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12677 # define LT_DLSYM_CONST
   12678 #elif defined(__osf__)
   12679 /* This system does not cope well with relocations in const data.  */
   12680 # define LT_DLSYM_CONST
   12681 #else
   12682 # define LT_DLSYM_CONST const
   12683 #endif
   12684 
   12685 #ifdef __cplusplus
   12686 extern "C" {
   12687 #endif
   12688 
   12689 _LT_EOF
   12690 	  # Now generate the symbol file.
   12691 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12692 
   12693 	  cat <<_LT_EOF >> conftest.$ac_ext
   12694 
   12695 /* The mapping between symbol names and symbols.  */
   12696 LT_DLSYM_CONST struct {
   12697   const char *name;
   12698   void       *address;
   12699 }
   12700 lt__PROGRAM__LTX_preloaded_symbols[] =
   12701 {
   12702   { "@PROGRAM@", (void *) 0 },
   12703 _LT_EOF
   12704 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12705 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12706   {0, (void *) 0}
   12707 };
   12708 
   12709 /* This works around a problem in FreeBSD linker */
   12710 #ifdef FREEBSD_WORKAROUND
   12711 static const void *lt_preloaded_setup() {
   12712   return lt__PROGRAM__LTX_preloaded_symbols;
   12713 }
   12714 #endif
   12715 
   12716 #ifdef __cplusplus
   12717 }
   12718 #endif
   12719 _LT_EOF
   12720 	  # Now try linking the two files.
   12721 	  mv conftest.$ac_objext conftstm.$ac_objext
   12722 	  lt_globsym_save_LIBS=$LIBS
   12723 	  lt_globsym_save_CFLAGS=$CFLAGS
   12724 	  LIBS="conftstm.$ac_objext"
   12725 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12726 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12727   (eval $ac_link) 2>&5
   12728   ac_status=$?
   12729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12730   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12731 	    pipe_works=yes
   12732 	  fi
   12733 	  LIBS=$lt_globsym_save_LIBS
   12734 	  CFLAGS=$lt_globsym_save_CFLAGS
   12735 	else
   12736 	  echo "cannot find nm_test_func in $nlist" >&5
   12737 	fi
   12738       else
   12739 	echo "cannot find nm_test_var in $nlist" >&5
   12740       fi
   12741     else
   12742       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12743     fi
   12744   else
   12745     echo "$progname: failed program was:" >&5
   12746     cat conftest.$ac_ext >&5
   12747   fi
   12748   rm -rf conftest* conftst*
   12749 
   12750   # Do not use the global_symbol_pipe unless it works.
   12751   if test "$pipe_works" = yes; then
   12752     break
   12753   else
   12754     lt_cv_sys_global_symbol_pipe=
   12755   fi
   12756 done
   12757 
   12758 fi
   12759 
   12760 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12761   lt_cv_sys_global_symbol_to_cdecl=
   12762 fi
   12763 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12765 $as_echo "failed" >&6; }
   12766 else
   12767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12768 $as_echo "ok" >&6; }
   12769 fi
   12770 
   12771 # Response file support.
   12772 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12773   nm_file_list_spec='@'
   12774 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12775   nm_file_list_spec='@'
   12776 fi
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12805 $as_echo_n "checking for sysroot... " >&6; }
   12806 
   12807 # Check whether --with-sysroot was given.
   12808 if test "${with_sysroot+set}" = set; then :
   12809   withval=$with_sysroot;
   12810 else
   12811   with_sysroot=no
   12812 fi
   12813 
   12814 
   12815 lt_sysroot=
   12816 case ${with_sysroot} in #(
   12817  yes)
   12818    if test "$GCC" = yes; then
   12819      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12820    fi
   12821    ;; #(
   12822  /*)
   12823    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12824    ;; #(
   12825  no|'')
   12826    ;; #(
   12827  *)
   12828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12829 $as_echo "${with_sysroot}" >&6; }
   12830    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12831    ;;
   12832 esac
   12833 
   12834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12835 $as_echo "${lt_sysroot:-no}" >&6; }
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 # Check whether --enable-libtool-lock was given.
   12842 if test "${enable_libtool_lock+set}" = set; then :
   12843   enableval=$enable_libtool_lock;
   12844 fi
   12845 
   12846 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12847 
   12848 # Some flags need to be propagated to the compiler or linker for good
   12849 # libtool support.
   12850 case $host in
   12851 ia64-*-hpux*)
   12852   # Find out which ABI we are using.
   12853   echo 'int i;' > conftest.$ac_ext
   12854   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12855   (eval $ac_compile) 2>&5
   12856   ac_status=$?
   12857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12858   test $ac_status = 0; }; then
   12859     case `/usr/bin/file conftest.$ac_objext` in
   12860       *ELF-32*)
   12861 	HPUX_IA64_MODE="32"
   12862 	;;
   12863       *ELF-64*)
   12864 	HPUX_IA64_MODE="64"
   12865 	;;
   12866     esac
   12867   fi
   12868   rm -rf conftest*
   12869   ;;
   12870 *-*-irix6*)
   12871   # Find out which ABI we are using.
   12872   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12873   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12874   (eval $ac_compile) 2>&5
   12875   ac_status=$?
   12876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12877   test $ac_status = 0; }; then
   12878     if test "$lt_cv_prog_gnu_ld" = yes; then
   12879       case `/usr/bin/file conftest.$ac_objext` in
   12880 	*32-bit*)
   12881 	  LD="${LD-ld} -melf32bsmip"
   12882 	  ;;
   12883 	*N32*)
   12884 	  LD="${LD-ld} -melf32bmipn32"
   12885 	  ;;
   12886 	*64-bit*)
   12887 	  LD="${LD-ld} -melf64bmip"
   12888 	;;
   12889       esac
   12890     else
   12891       case `/usr/bin/file conftest.$ac_objext` in
   12892 	*32-bit*)
   12893 	  LD="${LD-ld} -32"
   12894 	  ;;
   12895 	*N32*)
   12896 	  LD="${LD-ld} -n32"
   12897 	  ;;
   12898 	*64-bit*)
   12899 	  LD="${LD-ld} -64"
   12900 	  ;;
   12901       esac
   12902     fi
   12903   fi
   12904   rm -rf conftest*
   12905   ;;
   12906 
   12907 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12908 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12909   # Find out which ABI we are using.
   12910   echo 'int i;' > conftest.$ac_ext
   12911   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12912   (eval $ac_compile) 2>&5
   12913   ac_status=$?
   12914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12915   test $ac_status = 0; }; then
   12916     case `/usr/bin/file conftest.o` in
   12917       *32-bit*)
   12918 	case $host in
   12919 	  x86_64-*kfreebsd*-gnu)
   12920 	    LD="${LD-ld} -m elf_i386_fbsd"
   12921 	    ;;
   12922 	  x86_64-*linux*)
   12923 	    LD="${LD-ld} -m elf_i386"
   12924 	    ;;
   12925 	  ppc64-*linux*|powerpc64-*linux*)
   12926 	    LD="${LD-ld} -m elf32ppclinux"
   12927 	    ;;
   12928 	  s390x-*linux*)
   12929 	    LD="${LD-ld} -m elf_s390"
   12930 	    ;;
   12931 	  sparc64-*linux*)
   12932 	    LD="${LD-ld} -m elf32_sparc"
   12933 	    ;;
   12934 	esac
   12935 	;;
   12936       *64-bit*)
   12937 	case $host in
   12938 	  x86_64-*kfreebsd*-gnu)
   12939 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12940 	    ;;
   12941 	  x86_64-*linux*)
   12942 	    LD="${LD-ld} -m elf_x86_64"
   12943 	    ;;
   12944 	  ppc*-*linux*|powerpc*-*linux*)
   12945 	    LD="${LD-ld} -m elf64ppc"
   12946 	    ;;
   12947 	  s390*-*linux*|s390*-*tpf*)
   12948 	    LD="${LD-ld} -m elf64_s390"
   12949 	    ;;
   12950 	  sparc*-*linux*)
   12951 	    LD="${LD-ld} -m elf64_sparc"
   12952 	    ;;
   12953 	esac
   12954 	;;
   12955     esac
   12956   fi
   12957   rm -rf conftest*
   12958   ;;
   12959 
   12960 *-*-sco3.2v5*)
   12961   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12962   SAVE_CFLAGS="$CFLAGS"
   12963   CFLAGS="$CFLAGS -belf"
   12964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12965 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12966 if ${lt_cv_cc_needs_belf+:} false; then :
   12967   $as_echo_n "(cached) " >&6
   12968 else
   12969   ac_ext=c
   12970 ac_cpp='$CPP $CPPFLAGS'
   12971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12974 
   12975      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12976 /* end confdefs.h.  */
   12977 
   12978 int
   12979 main ()
   12980 {
   12981 
   12982   ;
   12983   return 0;
   12984 }
   12985 _ACEOF
   12986 if ac_fn_c_try_link "$LINENO"; then :
   12987   lt_cv_cc_needs_belf=yes
   12988 else
   12989   lt_cv_cc_needs_belf=no
   12990 fi
   12991 rm -f core conftest.err conftest.$ac_objext \
   12992     conftest$ac_exeext conftest.$ac_ext
   12993      ac_ext=c
   12994 ac_cpp='$CPP $CPPFLAGS'
   12995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12998 
   12999 fi
   13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13001 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13002   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   13003     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13004     CFLAGS="$SAVE_CFLAGS"
   13005   fi
   13006   ;;
   13007 sparc*-*solaris*)
   13008   # Find out which ABI we are using.
   13009   echo 'int i;' > conftest.$ac_ext
   13010   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13011   (eval $ac_compile) 2>&5
   13012   ac_status=$?
   13013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13014   test $ac_status = 0; }; then
   13015     case `/usr/bin/file conftest.o` in
   13016     *64-bit*)
   13017       case $lt_cv_prog_gnu_ld in
   13018       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   13019       *)
   13020 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13021 	  LD="${LD-ld} -64"
   13022 	fi
   13023 	;;
   13024       esac
   13025       ;;
   13026     esac
   13027   fi
   13028   rm -rf conftest*
   13029   ;;
   13030 esac
   13031 
   13032 need_locks="$enable_libtool_lock"
   13033 
   13034 if test -n "$ac_tool_prefix"; then
   13035   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13036 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13038 $as_echo_n "checking for $ac_word... " >&6; }
   13039 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13040   $as_echo_n "(cached) " >&6
   13041 else
   13042   if test -n "$MANIFEST_TOOL"; then
   13043   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13044 else
   13045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13046 for as_dir in $PATH
   13047 do
   13048   IFS=$as_save_IFS
   13049   test -z "$as_dir" && as_dir=.
   13050     for ac_exec_ext in '' $ac_executable_extensions; do
   13051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13052     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13054     break 2
   13055   fi
   13056 done
   13057   done
   13058 IFS=$as_save_IFS
   13059 
   13060 fi
   13061 fi
   13062 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13063 if test -n "$MANIFEST_TOOL"; then
   13064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13065 $as_echo "$MANIFEST_TOOL" >&6; }
   13066 else
   13067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13068 $as_echo "no" >&6; }
   13069 fi
   13070 
   13071 
   13072 fi
   13073 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13074   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13075   # Extract the first word of "mt", so it can be a program name with args.
   13076 set dummy mt; ac_word=$2
   13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13078 $as_echo_n "checking for $ac_word... " >&6; }
   13079 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13080   $as_echo_n "(cached) " >&6
   13081 else
   13082   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13083   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13084 else
   13085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13086 for as_dir in $PATH
   13087 do
   13088   IFS=$as_save_IFS
   13089   test -z "$as_dir" && as_dir=.
   13090     for ac_exec_ext in '' $ac_executable_extensions; do
   13091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13092     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13094     break 2
   13095   fi
   13096 done
   13097   done
   13098 IFS=$as_save_IFS
   13099 
   13100 fi
   13101 fi
   13102 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13103 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13105 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13106 else
   13107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13108 $as_echo "no" >&6; }
   13109 fi
   13110 
   13111   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13112     MANIFEST_TOOL=":"
   13113   else
   13114     case $cross_compiling:$ac_tool_warned in
   13115 yes:)
   13116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13118 ac_tool_warned=yes ;;
   13119 esac
   13120     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13121   fi
   13122 else
   13123   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13124 fi
   13125 
   13126 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13128 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13129 if ${lt_cv_path_mainfest_tool+:} false; then :
   13130   $as_echo_n "(cached) " >&6
   13131 else
   13132   lt_cv_path_mainfest_tool=no
   13133   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13134   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13135   cat conftest.err >&5
   13136   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13137     lt_cv_path_mainfest_tool=yes
   13138   fi
   13139   rm -f conftest*
   13140 fi
   13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13142 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13143 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13144   MANIFEST_TOOL=:
   13145 fi
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152   case $host_os in
   13153     rhapsody* | darwin*)
   13154     if test -n "$ac_tool_prefix"; then
   13155   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13156 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13158 $as_echo_n "checking for $ac_word... " >&6; }
   13159 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13160   $as_echo_n "(cached) " >&6
   13161 else
   13162   if test -n "$DSYMUTIL"; then
   13163   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13164 else
   13165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13166 for as_dir in $PATH
   13167 do
   13168   IFS=$as_save_IFS
   13169   test -z "$as_dir" && as_dir=.
   13170     for ac_exec_ext in '' $ac_executable_extensions; do
   13171   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13172     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13174     break 2
   13175   fi
   13176 done
   13177   done
   13178 IFS=$as_save_IFS
   13179 
   13180 fi
   13181 fi
   13182 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13183 if test -n "$DSYMUTIL"; then
   13184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13185 $as_echo "$DSYMUTIL" >&6; }
   13186 else
   13187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13188 $as_echo "no" >&6; }
   13189 fi
   13190 
   13191 
   13192 fi
   13193 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13194   ac_ct_DSYMUTIL=$DSYMUTIL
   13195   # Extract the first word of "dsymutil", so it can be a program name with args.
   13196 set dummy dsymutil; ac_word=$2
   13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13198 $as_echo_n "checking for $ac_word... " >&6; }
   13199 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13200   $as_echo_n "(cached) " >&6
   13201 else
   13202   if test -n "$ac_ct_DSYMUTIL"; then
   13203   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13204 else
   13205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13206 for as_dir in $PATH
   13207 do
   13208   IFS=$as_save_IFS
   13209   test -z "$as_dir" && as_dir=.
   13210     for ac_exec_ext in '' $ac_executable_extensions; do
   13211   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13212     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13214     break 2
   13215   fi
   13216 done
   13217   done
   13218 IFS=$as_save_IFS
   13219 
   13220 fi
   13221 fi
   13222 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13223 if test -n "$ac_ct_DSYMUTIL"; then
   13224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13225 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13226 else
   13227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13228 $as_echo "no" >&6; }
   13229 fi
   13230 
   13231   if test "x$ac_ct_DSYMUTIL" = x; then
   13232     DSYMUTIL=":"
   13233   else
   13234     case $cross_compiling:$ac_tool_warned in
   13235 yes:)
   13236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13238 ac_tool_warned=yes ;;
   13239 esac
   13240     DSYMUTIL=$ac_ct_DSYMUTIL
   13241   fi
   13242 else
   13243   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13244 fi
   13245 
   13246     if test -n "$ac_tool_prefix"; then
   13247   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13248 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13250 $as_echo_n "checking for $ac_word... " >&6; }
   13251 if ${ac_cv_prog_NMEDIT+:} false; then :
   13252   $as_echo_n "(cached) " >&6
   13253 else
   13254   if test -n "$NMEDIT"; then
   13255   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13256 else
   13257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13258 for as_dir in $PATH
   13259 do
   13260   IFS=$as_save_IFS
   13261   test -z "$as_dir" && as_dir=.
   13262     for ac_exec_ext in '' $ac_executable_extensions; do
   13263   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13264     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13266     break 2
   13267   fi
   13268 done
   13269   done
   13270 IFS=$as_save_IFS
   13271 
   13272 fi
   13273 fi
   13274 NMEDIT=$ac_cv_prog_NMEDIT
   13275 if test -n "$NMEDIT"; then
   13276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13277 $as_echo "$NMEDIT" >&6; }
   13278 else
   13279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13280 $as_echo "no" >&6; }
   13281 fi
   13282 
   13283 
   13284 fi
   13285 if test -z "$ac_cv_prog_NMEDIT"; then
   13286   ac_ct_NMEDIT=$NMEDIT
   13287   # Extract the first word of "nmedit", so it can be a program name with args.
   13288 set dummy nmedit; ac_word=$2
   13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13290 $as_echo_n "checking for $ac_word... " >&6; }
   13291 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13292   $as_echo_n "(cached) " >&6
   13293 else
   13294   if test -n "$ac_ct_NMEDIT"; then
   13295   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13296 else
   13297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13298 for as_dir in $PATH
   13299 do
   13300   IFS=$as_save_IFS
   13301   test -z "$as_dir" && as_dir=.
   13302     for ac_exec_ext in '' $ac_executable_extensions; do
   13303   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13304     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13306     break 2
   13307   fi
   13308 done
   13309   done
   13310 IFS=$as_save_IFS
   13311 
   13312 fi
   13313 fi
   13314 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13315 if test -n "$ac_ct_NMEDIT"; then
   13316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13317 $as_echo "$ac_ct_NMEDIT" >&6; }
   13318 else
   13319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13320 $as_echo "no" >&6; }
   13321 fi
   13322 
   13323   if test "x$ac_ct_NMEDIT" = x; then
   13324     NMEDIT=":"
   13325   else
   13326     case $cross_compiling:$ac_tool_warned in
   13327 yes:)
   13328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13330 ac_tool_warned=yes ;;
   13331 esac
   13332     NMEDIT=$ac_ct_NMEDIT
   13333   fi
   13334 else
   13335   NMEDIT="$ac_cv_prog_NMEDIT"
   13336 fi
   13337 
   13338     if test -n "$ac_tool_prefix"; then
   13339   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13340 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13342 $as_echo_n "checking for $ac_word... " >&6; }
   13343 if ${ac_cv_prog_LIPO+:} false; then :
   13344   $as_echo_n "(cached) " >&6
   13345 else
   13346   if test -n "$LIPO"; then
   13347   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13348 else
   13349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13350 for as_dir in $PATH
   13351 do
   13352   IFS=$as_save_IFS
   13353   test -z "$as_dir" && as_dir=.
   13354     for ac_exec_ext in '' $ac_executable_extensions; do
   13355   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13356     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13358     break 2
   13359   fi
   13360 done
   13361   done
   13362 IFS=$as_save_IFS
   13363 
   13364 fi
   13365 fi
   13366 LIPO=$ac_cv_prog_LIPO
   13367 if test -n "$LIPO"; then
   13368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13369 $as_echo "$LIPO" >&6; }
   13370 else
   13371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13372 $as_echo "no" >&6; }
   13373 fi
   13374 
   13375 
   13376 fi
   13377 if test -z "$ac_cv_prog_LIPO"; then
   13378   ac_ct_LIPO=$LIPO
   13379   # Extract the first word of "lipo", so it can be a program name with args.
   13380 set dummy lipo; ac_word=$2
   13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13382 $as_echo_n "checking for $ac_word... " >&6; }
   13383 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13384   $as_echo_n "(cached) " >&6
   13385 else
   13386   if test -n "$ac_ct_LIPO"; then
   13387   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13388 else
   13389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13390 for as_dir in $PATH
   13391 do
   13392   IFS=$as_save_IFS
   13393   test -z "$as_dir" && as_dir=.
   13394     for ac_exec_ext in '' $ac_executable_extensions; do
   13395   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13396     ac_cv_prog_ac_ct_LIPO="lipo"
   13397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13398     break 2
   13399   fi
   13400 done
   13401   done
   13402 IFS=$as_save_IFS
   13403 
   13404 fi
   13405 fi
   13406 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13407 if test -n "$ac_ct_LIPO"; then
   13408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13409 $as_echo "$ac_ct_LIPO" >&6; }
   13410 else
   13411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13412 $as_echo "no" >&6; }
   13413 fi
   13414 
   13415   if test "x$ac_ct_LIPO" = x; then
   13416     LIPO=":"
   13417   else
   13418     case $cross_compiling:$ac_tool_warned in
   13419 yes:)
   13420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13422 ac_tool_warned=yes ;;
   13423 esac
   13424     LIPO=$ac_ct_LIPO
   13425   fi
   13426 else
   13427   LIPO="$ac_cv_prog_LIPO"
   13428 fi
   13429 
   13430     if test -n "$ac_tool_prefix"; then
   13431   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13432 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13434 $as_echo_n "checking for $ac_word... " >&6; }
   13435 if ${ac_cv_prog_OTOOL+:} false; then :
   13436   $as_echo_n "(cached) " >&6
   13437 else
   13438   if test -n "$OTOOL"; then
   13439   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13440 else
   13441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13442 for as_dir in $PATH
   13443 do
   13444   IFS=$as_save_IFS
   13445   test -z "$as_dir" && as_dir=.
   13446     for ac_exec_ext in '' $ac_executable_extensions; do
   13447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13448     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13450     break 2
   13451   fi
   13452 done
   13453   done
   13454 IFS=$as_save_IFS
   13455 
   13456 fi
   13457 fi
   13458 OTOOL=$ac_cv_prog_OTOOL
   13459 if test -n "$OTOOL"; then
   13460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13461 $as_echo "$OTOOL" >&6; }
   13462 else
   13463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13464 $as_echo "no" >&6; }
   13465 fi
   13466 
   13467 
   13468 fi
   13469 if test -z "$ac_cv_prog_OTOOL"; then
   13470   ac_ct_OTOOL=$OTOOL
   13471   # Extract the first word of "otool", so it can be a program name with args.
   13472 set dummy otool; ac_word=$2
   13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13474 $as_echo_n "checking for $ac_word... " >&6; }
   13475 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13476   $as_echo_n "(cached) " >&6
   13477 else
   13478   if test -n "$ac_ct_OTOOL"; then
   13479   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13480 else
   13481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13482 for as_dir in $PATH
   13483 do
   13484   IFS=$as_save_IFS
   13485   test -z "$as_dir" && as_dir=.
   13486     for ac_exec_ext in '' $ac_executable_extensions; do
   13487   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13488     ac_cv_prog_ac_ct_OTOOL="otool"
   13489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13490     break 2
   13491   fi
   13492 done
   13493   done
   13494 IFS=$as_save_IFS
   13495 
   13496 fi
   13497 fi
   13498 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13499 if test -n "$ac_ct_OTOOL"; then
   13500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13501 $as_echo "$ac_ct_OTOOL" >&6; }
   13502 else
   13503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13504 $as_echo "no" >&6; }
   13505 fi
   13506 
   13507   if test "x$ac_ct_OTOOL" = x; then
   13508     OTOOL=":"
   13509   else
   13510     case $cross_compiling:$ac_tool_warned in
   13511 yes:)
   13512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13514 ac_tool_warned=yes ;;
   13515 esac
   13516     OTOOL=$ac_ct_OTOOL
   13517   fi
   13518 else
   13519   OTOOL="$ac_cv_prog_OTOOL"
   13520 fi
   13521 
   13522     if test -n "$ac_tool_prefix"; then
   13523   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13524 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13526 $as_echo_n "checking for $ac_word... " >&6; }
   13527 if ${ac_cv_prog_OTOOL64+:} false; then :
   13528   $as_echo_n "(cached) " >&6
   13529 else
   13530   if test -n "$OTOOL64"; then
   13531   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13532 else
   13533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13534 for as_dir in $PATH
   13535 do
   13536   IFS=$as_save_IFS
   13537   test -z "$as_dir" && as_dir=.
   13538     for ac_exec_ext in '' $ac_executable_extensions; do
   13539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13540     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13542     break 2
   13543   fi
   13544 done
   13545   done
   13546 IFS=$as_save_IFS
   13547 
   13548 fi
   13549 fi
   13550 OTOOL64=$ac_cv_prog_OTOOL64
   13551 if test -n "$OTOOL64"; then
   13552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13553 $as_echo "$OTOOL64" >&6; }
   13554 else
   13555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13556 $as_echo "no" >&6; }
   13557 fi
   13558 
   13559 
   13560 fi
   13561 if test -z "$ac_cv_prog_OTOOL64"; then
   13562   ac_ct_OTOOL64=$OTOOL64
   13563   # Extract the first word of "otool64", so it can be a program name with args.
   13564 set dummy otool64; ac_word=$2
   13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13566 $as_echo_n "checking for $ac_word... " >&6; }
   13567 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13568   $as_echo_n "(cached) " >&6
   13569 else
   13570   if test -n "$ac_ct_OTOOL64"; then
   13571   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13572 else
   13573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13574 for as_dir in $PATH
   13575 do
   13576   IFS=$as_save_IFS
   13577   test -z "$as_dir" && as_dir=.
   13578     for ac_exec_ext in '' $ac_executable_extensions; do
   13579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13580     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13582     break 2
   13583   fi
   13584 done
   13585   done
   13586 IFS=$as_save_IFS
   13587 
   13588 fi
   13589 fi
   13590 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13591 if test -n "$ac_ct_OTOOL64"; then
   13592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13593 $as_echo "$ac_ct_OTOOL64" >&6; }
   13594 else
   13595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13596 $as_echo "no" >&6; }
   13597 fi
   13598 
   13599   if test "x$ac_ct_OTOOL64" = x; then
   13600     OTOOL64=":"
   13601   else
   13602     case $cross_compiling:$ac_tool_warned in
   13603 yes:)
   13604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13606 ac_tool_warned=yes ;;
   13607 esac
   13608     OTOOL64=$ac_ct_OTOOL64
   13609   fi
   13610 else
   13611   OTOOL64="$ac_cv_prog_OTOOL64"
   13612 fi
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13641 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13642 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13643   $as_echo_n "(cached) " >&6
   13644 else
   13645   lt_cv_apple_cc_single_mod=no
   13646       if test -z "${LT_MULTI_MODULE}"; then
   13647 	# By default we will add the -single_module flag. You can override
   13648 	# by either setting the environment variable LT_MULTI_MODULE
   13649 	# non-empty at configure time, or by adding -multi_module to the
   13650 	# link flags.
   13651 	rm -rf libconftest.dylib*
   13652 	echo "int foo(void){return 1;}" > conftest.c
   13653 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13654 -dynamiclib -Wl,-single_module conftest.c" >&5
   13655 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13656 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13657         _lt_result=$?
   13658 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   13659 	  lt_cv_apple_cc_single_mod=yes
   13660 	else
   13661 	  cat conftest.err >&5
   13662 	fi
   13663 	rm -rf libconftest.dylib*
   13664 	rm -f conftest.*
   13665       fi
   13666 fi
   13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13668 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13670 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13671 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13672   $as_echo_n "(cached) " >&6
   13673 else
   13674   lt_cv_ld_exported_symbols_list=no
   13675       save_LDFLAGS=$LDFLAGS
   13676       echo "_main" > conftest.sym
   13677       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13679 /* end confdefs.h.  */
   13680 
   13681 int
   13682 main ()
   13683 {
   13684 
   13685   ;
   13686   return 0;
   13687 }
   13688 _ACEOF
   13689 if ac_fn_c_try_link "$LINENO"; then :
   13690   lt_cv_ld_exported_symbols_list=yes
   13691 else
   13692   lt_cv_ld_exported_symbols_list=no
   13693 fi
   13694 rm -f core conftest.err conftest.$ac_objext \
   13695     conftest$ac_exeext conftest.$ac_ext
   13696 	LDFLAGS="$save_LDFLAGS"
   13697 
   13698 fi
   13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13700 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13701     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13702 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13703 if ${lt_cv_ld_force_load+:} false; then :
   13704   $as_echo_n "(cached) " >&6
   13705 else
   13706   lt_cv_ld_force_load=no
   13707       cat > conftest.c << _LT_EOF
   13708 int forced_loaded() { return 2;}
   13709 _LT_EOF
   13710       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13711       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13712       echo "$AR cru libconftest.a conftest.o" >&5
   13713       $AR cru libconftest.a conftest.o 2>&5
   13714       echo "$RANLIB libconftest.a" >&5
   13715       $RANLIB libconftest.a 2>&5
   13716       cat > conftest.c << _LT_EOF
   13717 int main() { return 0;}
   13718 _LT_EOF
   13719       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13720       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13721       _lt_result=$?
   13722       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   13723 	lt_cv_ld_force_load=yes
   13724       else
   13725 	cat conftest.err >&5
   13726       fi
   13727         rm -f conftest.err libconftest.a conftest conftest.c
   13728         rm -rf conftest.dSYM
   13729 
   13730 fi
   13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13732 $as_echo "$lt_cv_ld_force_load" >&6; }
   13733     case $host_os in
   13734     rhapsody* | darwin1.[012])
   13735       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13736     darwin1.*)
   13737       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13738     darwin*) # darwin 5.x on
   13739       # if running on 10.5 or later, the deployment target defaults
   13740       # to the OS version, if on x86, and 10.4, the deployment
   13741       # target defaults to 10.4. Don't you love it?
   13742       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13743 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13744 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13745 	10.[012]*)
   13746 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13747 	10.*)
   13748 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13749       esac
   13750     ;;
   13751   esac
   13752     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13753       _lt_dar_single_mod='$single_module'
   13754     fi
   13755     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13756       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13757     else
   13758       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13759     fi
   13760     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13761       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13762     else
   13763       _lt_dsymutil=
   13764     fi
   13765     ;;
   13766   esac
   13767 
   13768 for ac_header in dlfcn.h
   13769 do :
   13770   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13771 "
   13772 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13773   cat >>confdefs.h <<_ACEOF
   13774 #define HAVE_DLFCN_H 1
   13775 _ACEOF
   13776 
   13777 fi
   13778 
   13779 done
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 # Set options
   13786 
   13787 
   13788 
   13789         enable_dlopen=no
   13790 
   13791 
   13792   enable_win32_dll=no
   13793 
   13794 
   13795             # Check whether --enable-shared was given.
   13796 if test "${enable_shared+set}" = set; then :
   13797   enableval=$enable_shared; p=${PACKAGE-default}
   13798     case $enableval in
   13799     yes) enable_shared=yes ;;
   13800     no) enable_shared=no ;;
   13801     *)
   13802       enable_shared=no
   13803       # Look at the argument we got.  We use all the common list separators.
   13804       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13805       for pkg in $enableval; do
   13806 	IFS="$lt_save_ifs"
   13807 	if test "X$pkg" = "X$p"; then
   13808 	  enable_shared=yes
   13809 	fi
   13810       done
   13811       IFS="$lt_save_ifs"
   13812       ;;
   13813     esac
   13814 else
   13815   enable_shared=yes
   13816 fi
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 # Check whether --with-pic was given.
   13829 if test "${with_pic+set}" = set; then :
   13830   withval=$with_pic; pic_mode="$withval"
   13831 else
   13832   pic_mode=default
   13833 fi
   13834 
   13835 
   13836 test -z "$pic_mode" && pic_mode=default
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844   # Check whether --enable-fast-install was given.
   13845 if test "${enable_fast_install+set}" = set; then :
   13846   enableval=$enable_fast_install; p=${PACKAGE-default}
   13847     case $enableval in
   13848     yes) enable_fast_install=yes ;;
   13849     no) enable_fast_install=no ;;
   13850     *)
   13851       enable_fast_install=no
   13852       # Look at the argument we got.  We use all the common list separators.
   13853       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13854       for pkg in $enableval; do
   13855 	IFS="$lt_save_ifs"
   13856 	if test "X$pkg" = "X$p"; then
   13857 	  enable_fast_install=yes
   13858 	fi
   13859       done
   13860       IFS="$lt_save_ifs"
   13861       ;;
   13862     esac
   13863 else
   13864   enable_fast_install=yes
   13865 fi
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 # This can be used to rebuild libtool when needed
   13878 LIBTOOL_DEPS="$ltmain"
   13879 
   13880 # Always use our own libtool.
   13881 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 test -z "$LN_S" && LN_S="ln -s"
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 if test -n "${ZSH_VERSION+set}" ; then
   13924    setopt NO_GLOB_SUBST
   13925 fi
   13926 
   13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13928 $as_echo_n "checking for objdir... " >&6; }
   13929 if ${lt_cv_objdir+:} false; then :
   13930   $as_echo_n "(cached) " >&6
   13931 else
   13932   rm -f .libs 2>/dev/null
   13933 mkdir .libs 2>/dev/null
   13934 if test -d .libs; then
   13935   lt_cv_objdir=.libs
   13936 else
   13937   # MS-DOS does not allow filenames that begin with a dot.
   13938   lt_cv_objdir=_libs
   13939 fi
   13940 rmdir .libs 2>/dev/null
   13941 fi
   13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13943 $as_echo "$lt_cv_objdir" >&6; }
   13944 objdir=$lt_cv_objdir
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 cat >>confdefs.h <<_ACEOF
   13951 #define LT_OBJDIR "$lt_cv_objdir/"
   13952 _ACEOF
   13953 
   13954 
   13955 
   13956 
   13957 case $host_os in
   13958 aix3*)
   13959   # AIX sometimes has problems with the GCC collect2 program.  For some
   13960   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13961   # vanish in a puff of smoke.
   13962   if test "X${COLLECT_NAMES+set}" != Xset; then
   13963     COLLECT_NAMES=
   13964     export COLLECT_NAMES
   13965   fi
   13966   ;;
   13967 esac
   13968 
   13969 # Global variables:
   13970 ofile=libtool
   13971 can_build_shared=yes
   13972 
   13973 # All known linkers require a `.a' archive for static linking (except MSVC,
   13974 # which needs '.lib').
   13975 libext=a
   13976 
   13977 with_gnu_ld="$lt_cv_prog_gnu_ld"
   13978 
   13979 old_CC="$CC"
   13980 old_CFLAGS="$CFLAGS"
   13981 
   13982 # Set sane defaults for various variables
   13983 test -z "$CC" && CC=cc
   13984 test -z "$LTCC" && LTCC=$CC
   13985 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   13986 test -z "$LD" && LD=ld
   13987 test -z "$ac_objext" && ac_objext=o
   13988 
   13989 for cc_temp in $compiler""; do
   13990   case $cc_temp in
   13991     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13992     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13993     \-*) ;;
   13994     *) break;;
   13995   esac
   13996 done
   13997 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13998 
   13999 
   14000 # Only perform the check for file, if the check method requires it
   14001 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14002 case $deplibs_check_method in
   14003 file_magic*)
   14004   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14005     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14006 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14007 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14008   $as_echo_n "(cached) " >&6
   14009 else
   14010   case $MAGIC_CMD in
   14011 [\\/*] |  ?:[\\/]*)
   14012   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14013   ;;
   14014 *)
   14015   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14016   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14017   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14018   for ac_dir in $ac_dummy; do
   14019     IFS="$lt_save_ifs"
   14020     test -z "$ac_dir" && ac_dir=.
   14021     if test -f $ac_dir/${ac_tool_prefix}file; then
   14022       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14023       if test -n "$file_magic_test_file"; then
   14024 	case $deplibs_check_method in
   14025 	"file_magic "*)
   14026 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14027 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14028 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14029 	    $EGREP "$file_magic_regex" > /dev/null; then
   14030 	    :
   14031 	  else
   14032 	    cat <<_LT_EOF 1>&2
   14033 
   14034 *** Warning: the command libtool uses to detect shared libraries,
   14035 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14036 *** The result is that libtool may fail to recognize shared libraries
   14037 *** as such.  This will affect the creation of libtool libraries that
   14038 *** depend on shared libraries, but programs linked with such libtool
   14039 *** libraries will work regardless of this problem.  Nevertheless, you
   14040 *** may want to report the problem to your system manager and/or to
   14041 *** bug-libtool@gnu.org
   14042 
   14043 _LT_EOF
   14044 	  fi ;;
   14045 	esac
   14046       fi
   14047       break
   14048     fi
   14049   done
   14050   IFS="$lt_save_ifs"
   14051   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14052   ;;
   14053 esac
   14054 fi
   14055 
   14056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14057 if test -n "$MAGIC_CMD"; then
   14058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14059 $as_echo "$MAGIC_CMD" >&6; }
   14060 else
   14061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14062 $as_echo "no" >&6; }
   14063 fi
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14070   if test -n "$ac_tool_prefix"; then
   14071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14072 $as_echo_n "checking for file... " >&6; }
   14073 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14074   $as_echo_n "(cached) " >&6
   14075 else
   14076   case $MAGIC_CMD in
   14077 [\\/*] |  ?:[\\/]*)
   14078   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14079   ;;
   14080 *)
   14081   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14082   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14083   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14084   for ac_dir in $ac_dummy; do
   14085     IFS="$lt_save_ifs"
   14086     test -z "$ac_dir" && ac_dir=.
   14087     if test -f $ac_dir/file; then
   14088       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14089       if test -n "$file_magic_test_file"; then
   14090 	case $deplibs_check_method in
   14091 	"file_magic "*)
   14092 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14093 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14094 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14095 	    $EGREP "$file_magic_regex" > /dev/null; then
   14096 	    :
   14097 	  else
   14098 	    cat <<_LT_EOF 1>&2
   14099 
   14100 *** Warning: the command libtool uses to detect shared libraries,
   14101 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14102 *** The result is that libtool may fail to recognize shared libraries
   14103 *** as such.  This will affect the creation of libtool libraries that
   14104 *** depend on shared libraries, but programs linked with such libtool
   14105 *** libraries will work regardless of this problem.  Nevertheless, you
   14106 *** may want to report the problem to your system manager and/or to
   14107 *** bug-libtool@gnu.org
   14108 
   14109 _LT_EOF
   14110 	  fi ;;
   14111 	esac
   14112       fi
   14113       break
   14114     fi
   14115   done
   14116   IFS="$lt_save_ifs"
   14117   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14118   ;;
   14119 esac
   14120 fi
   14121 
   14122 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14123 if test -n "$MAGIC_CMD"; then
   14124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14125 $as_echo "$MAGIC_CMD" >&6; }
   14126 else
   14127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14128 $as_echo "no" >&6; }
   14129 fi
   14130 
   14131 
   14132   else
   14133     MAGIC_CMD=:
   14134   fi
   14135 fi
   14136 
   14137   fi
   14138   ;;
   14139 esac
   14140 
   14141 # Use C for the default configuration in the libtool script
   14142 
   14143 lt_save_CC="$CC"
   14144 ac_ext=c
   14145 ac_cpp='$CPP $CPPFLAGS'
   14146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14149 
   14150 
   14151 # Source file extension for C test sources.
   14152 ac_ext=c
   14153 
   14154 # Object file extension for compiled C test sources.
   14155 objext=o
   14156 objext=$objext
   14157 
   14158 # Code to be used in simple compile tests
   14159 lt_simple_compile_test_code="int some_variable = 0;"
   14160 
   14161 # Code to be used in simple link tests
   14162 lt_simple_link_test_code='int main(){return(0);}'
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 # If no C compiler was specified, use CC.
   14171 LTCC=${LTCC-"$CC"}
   14172 
   14173 # If no C compiler flags were specified, use CFLAGS.
   14174 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14175 
   14176 # Allow CC to be a program name with arguments.
   14177 compiler=$CC
   14178 
   14179 # Save the default compiler, since it gets overwritten when the other
   14180 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14181 compiler_DEFAULT=$CC
   14182 
   14183 # save warnings/boilerplate of simple test code
   14184 ac_outfile=conftest.$ac_objext
   14185 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14186 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14187 _lt_compiler_boilerplate=`cat conftest.err`
   14188 $RM conftest*
   14189 
   14190 ac_outfile=conftest.$ac_objext
   14191 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14192 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14193 _lt_linker_boilerplate=`cat conftest.err`
   14194 $RM -r conftest*
   14195 
   14196 
   14197 if test -n "$compiler"; then
   14198 
   14199 lt_prog_compiler_no_builtin_flag=
   14200 
   14201 if test "$GCC" = yes; then
   14202   case $cc_basename in
   14203   nvcc*)
   14204     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14205   *)
   14206     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14207   esac
   14208 
   14209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14210 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14211 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14212   $as_echo_n "(cached) " >&6
   14213 else
   14214   lt_cv_prog_compiler_rtti_exceptions=no
   14215    ac_outfile=conftest.$ac_objext
   14216    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14217    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14218    # Insert the option either (1) after the last *FLAGS variable, or
   14219    # (2) before a word containing "conftest.", or (3) at the end.
   14220    # Note that $ac_compile itself does not contain backslashes and begins
   14221    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14222    # The option is referenced via a variable to avoid confusing sed.
   14223    lt_compile=`echo "$ac_compile" | $SED \
   14224    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14225    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14226    -e 's:$: $lt_compiler_flag:'`
   14227    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14228    (eval "$lt_compile" 2>conftest.err)
   14229    ac_status=$?
   14230    cat conftest.err >&5
   14231    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14232    if (exit $ac_status) && test -s "$ac_outfile"; then
   14233      # The compiler can only warn and ignore the option if not recognized
   14234      # So say no if there are warnings other than the usual output.
   14235      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14236      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14237      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14238        lt_cv_prog_compiler_rtti_exceptions=yes
   14239      fi
   14240    fi
   14241    $RM conftest*
   14242 
   14243 fi
   14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14245 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14246 
   14247 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14248     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14249 else
   14250     :
   14251 fi
   14252 
   14253 fi
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260   lt_prog_compiler_wl=
   14261 lt_prog_compiler_pic=
   14262 lt_prog_compiler_static=
   14263 
   14264 
   14265   if test "$GCC" = yes; then
   14266     lt_prog_compiler_wl='-Wl,'
   14267     lt_prog_compiler_static='-static'
   14268 
   14269     case $host_os in
   14270       aix*)
   14271       # All AIX code is PIC.
   14272       if test "$host_cpu" = ia64; then
   14273 	# AIX 5 now supports IA64 processor
   14274 	lt_prog_compiler_static='-Bstatic'
   14275       fi
   14276       ;;
   14277 
   14278     amigaos*)
   14279       case $host_cpu in
   14280       powerpc)
   14281             # see comment about AmigaOS4 .so support
   14282             lt_prog_compiler_pic='-fPIC'
   14283         ;;
   14284       m68k)
   14285             # FIXME: we need at least 68020 code to build shared libraries, but
   14286             # adding the `-m68020' flag to GCC prevents building anything better,
   14287             # like `-m68040'.
   14288             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14289         ;;
   14290       esac
   14291       ;;
   14292 
   14293     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14294       # PIC is the default for these OSes.
   14295       ;;
   14296 
   14297     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14298       # This hack is so that the source file can tell whether it is being
   14299       # built for inclusion in a dll (and should export symbols for example).
   14300       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14301       # (--disable-auto-import) libraries
   14302       lt_prog_compiler_pic='-DDLL_EXPORT'
   14303       ;;
   14304 
   14305     darwin* | rhapsody*)
   14306       # PIC is the default on this platform
   14307       # Common symbols not allowed in MH_DYLIB files
   14308       lt_prog_compiler_pic='-fno-common'
   14309       ;;
   14310 
   14311     haiku*)
   14312       # PIC is the default for Haiku.
   14313       # The "-static" flag exists, but is broken.
   14314       lt_prog_compiler_static=
   14315       ;;
   14316 
   14317     hpux*)
   14318       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14319       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14320       # sets the default TLS model and affects inlining.
   14321       case $host_cpu in
   14322       hppa*64*)
   14323 	# +Z the default
   14324 	;;
   14325       *)
   14326 	lt_prog_compiler_pic='-fPIC'
   14327 	;;
   14328       esac
   14329       ;;
   14330 
   14331     interix[3-9]*)
   14332       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14333       # Instead, we relocate shared libraries at runtime.
   14334       ;;
   14335 
   14336     msdosdjgpp*)
   14337       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14338       # on systems that don't support them.
   14339       lt_prog_compiler_can_build_shared=no
   14340       enable_shared=no
   14341       ;;
   14342 
   14343     *nto* | *qnx*)
   14344       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14345       # it will coredump.
   14346       lt_prog_compiler_pic='-fPIC -shared'
   14347       ;;
   14348 
   14349     sysv4*MP*)
   14350       if test -d /usr/nec; then
   14351 	lt_prog_compiler_pic=-Kconform_pic
   14352       fi
   14353       ;;
   14354 
   14355     *)
   14356       lt_prog_compiler_pic='-fPIC'
   14357       ;;
   14358     esac
   14359 
   14360     case $cc_basename in
   14361     nvcc*) # Cuda Compiler Driver 2.2
   14362       lt_prog_compiler_wl='-Xlinker '
   14363       lt_prog_compiler_pic='-Xcompiler -fPIC'
   14364       ;;
   14365     esac
   14366   else
   14367     # PORTME Check for flag to pass linker flags through the system compiler.
   14368     case $host_os in
   14369     aix*)
   14370       lt_prog_compiler_wl='-Wl,'
   14371       if test "$host_cpu" = ia64; then
   14372 	# AIX 5 now supports IA64 processor
   14373 	lt_prog_compiler_static='-Bstatic'
   14374       else
   14375 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14376       fi
   14377       ;;
   14378 
   14379     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14380       # This hack is so that the source file can tell whether it is being
   14381       # built for inclusion in a dll (and should export symbols for example).
   14382       lt_prog_compiler_pic='-DDLL_EXPORT'
   14383       ;;
   14384 
   14385     hpux9* | hpux10* | hpux11*)
   14386       lt_prog_compiler_wl='-Wl,'
   14387       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14388       # not for PA HP-UX.
   14389       case $host_cpu in
   14390       hppa*64*|ia64*)
   14391 	# +Z the default
   14392 	;;
   14393       *)
   14394 	lt_prog_compiler_pic='+Z'
   14395 	;;
   14396       esac
   14397       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14398       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14399       ;;
   14400 
   14401     irix5* | irix6* | nonstopux*)
   14402       lt_prog_compiler_wl='-Wl,'
   14403       # PIC (with -KPIC) is the default.
   14404       lt_prog_compiler_static='-non_shared'
   14405       ;;
   14406 
   14407     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14408       case $cc_basename in
   14409       # old Intel for x86_64 which still supported -KPIC.
   14410       ecc*)
   14411 	lt_prog_compiler_wl='-Wl,'
   14412 	lt_prog_compiler_pic='-KPIC'
   14413 	lt_prog_compiler_static='-static'
   14414         ;;
   14415       # icc used to be incompatible with GCC.
   14416       # ICC 10 doesn't accept -KPIC any more.
   14417       icc* | ifort*)
   14418 	lt_prog_compiler_wl='-Wl,'
   14419 	lt_prog_compiler_pic='-fPIC'
   14420 	lt_prog_compiler_static='-static'
   14421         ;;
   14422       # Lahey Fortran 8.1.
   14423       lf95*)
   14424 	lt_prog_compiler_wl='-Wl,'
   14425 	lt_prog_compiler_pic='--shared'
   14426 	lt_prog_compiler_static='--static'
   14427 	;;
   14428       nagfor*)
   14429 	# NAG Fortran compiler
   14430 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14431 	lt_prog_compiler_pic='-PIC'
   14432 	lt_prog_compiler_static='-Bstatic'
   14433 	;;
   14434       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14435         # Portland Group compilers (*not* the Pentium gcc compiler,
   14436 	# which looks to be a dead project)
   14437 	lt_prog_compiler_wl='-Wl,'
   14438 	lt_prog_compiler_pic='-fpic'
   14439 	lt_prog_compiler_static='-Bstatic'
   14440         ;;
   14441       ccc*)
   14442         lt_prog_compiler_wl='-Wl,'
   14443         # All Alpha code is PIC.
   14444         lt_prog_compiler_static='-non_shared'
   14445         ;;
   14446       xl* | bgxl* | bgf* | mpixl*)
   14447 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14448 	lt_prog_compiler_wl='-Wl,'
   14449 	lt_prog_compiler_pic='-qpic'
   14450 	lt_prog_compiler_static='-qstaticlink'
   14451 	;;
   14452       *)
   14453 	case `$CC -V 2>&1 | sed 5q` in
   14454 	*Sun\ F* | *Sun*Fortran*)
   14455 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14456 	  lt_prog_compiler_pic='-KPIC'
   14457 	  lt_prog_compiler_static='-Bstatic'
   14458 	  lt_prog_compiler_wl=''
   14459 	  ;;
   14460 	*Sun\ C*)
   14461 	  # Sun C 5.9
   14462 	  lt_prog_compiler_pic='-KPIC'
   14463 	  lt_prog_compiler_static='-Bstatic'
   14464 	  lt_prog_compiler_wl='-Wl,'
   14465 	  ;;
   14466 	esac
   14467 	;;
   14468       esac
   14469       ;;
   14470 
   14471     newsos6)
   14472       lt_prog_compiler_pic='-KPIC'
   14473       lt_prog_compiler_static='-Bstatic'
   14474       ;;
   14475 
   14476     *nto* | *qnx*)
   14477       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14478       # it will coredump.
   14479       lt_prog_compiler_pic='-fPIC -shared'
   14480       ;;
   14481 
   14482     osf3* | osf4* | osf5*)
   14483       lt_prog_compiler_wl='-Wl,'
   14484       # All OSF/1 code is PIC.
   14485       lt_prog_compiler_static='-non_shared'
   14486       ;;
   14487 
   14488     rdos*)
   14489       lt_prog_compiler_static='-non_shared'
   14490       ;;
   14491 
   14492     solaris*)
   14493       lt_prog_compiler_pic='-KPIC'
   14494       lt_prog_compiler_static='-Bstatic'
   14495       case $cc_basename in
   14496       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14497 	lt_prog_compiler_wl='-Qoption ld ';;
   14498       *)
   14499 	lt_prog_compiler_wl='-Wl,';;
   14500       esac
   14501       ;;
   14502 
   14503     sunos4*)
   14504       lt_prog_compiler_wl='-Qoption ld '
   14505       lt_prog_compiler_pic='-PIC'
   14506       lt_prog_compiler_static='-Bstatic'
   14507       ;;
   14508 
   14509     sysv4 | sysv4.2uw2* | sysv4.3*)
   14510       lt_prog_compiler_wl='-Wl,'
   14511       lt_prog_compiler_pic='-KPIC'
   14512       lt_prog_compiler_static='-Bstatic'
   14513       ;;
   14514 
   14515     sysv4*MP*)
   14516       if test -d /usr/nec ;then
   14517 	lt_prog_compiler_pic='-Kconform_pic'
   14518 	lt_prog_compiler_static='-Bstatic'
   14519       fi
   14520       ;;
   14521 
   14522     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14523       lt_prog_compiler_wl='-Wl,'
   14524       lt_prog_compiler_pic='-KPIC'
   14525       lt_prog_compiler_static='-Bstatic'
   14526       ;;
   14527 
   14528     unicos*)
   14529       lt_prog_compiler_wl='-Wl,'
   14530       lt_prog_compiler_can_build_shared=no
   14531       ;;
   14532 
   14533     uts4*)
   14534       lt_prog_compiler_pic='-pic'
   14535       lt_prog_compiler_static='-Bstatic'
   14536       ;;
   14537 
   14538     *)
   14539       lt_prog_compiler_can_build_shared=no
   14540       ;;
   14541     esac
   14542   fi
   14543 
   14544 case $host_os in
   14545   # For platforms which do not support PIC, -DPIC is meaningless:
   14546   *djgpp*)
   14547     lt_prog_compiler_pic=
   14548     ;;
   14549   *)
   14550     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14551     ;;
   14552 esac
   14553 
   14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14555 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14556 if ${lt_cv_prog_compiler_pic+:} false; then :
   14557   $as_echo_n "(cached) " >&6
   14558 else
   14559   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14560 fi
   14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14562 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14563 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14564 
   14565 #
   14566 # Check to make sure the PIC flag actually works.
   14567 #
   14568 if test -n "$lt_prog_compiler_pic"; then
   14569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14570 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14571 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14572   $as_echo_n "(cached) " >&6
   14573 else
   14574   lt_cv_prog_compiler_pic_works=no
   14575    ac_outfile=conftest.$ac_objext
   14576    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14577    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14578    # Insert the option either (1) after the last *FLAGS variable, or
   14579    # (2) before a word containing "conftest.", or (3) at the end.
   14580    # Note that $ac_compile itself does not contain backslashes and begins
   14581    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14582    # The option is referenced via a variable to avoid confusing sed.
   14583    lt_compile=`echo "$ac_compile" | $SED \
   14584    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14585    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14586    -e 's:$: $lt_compiler_flag:'`
   14587    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14588    (eval "$lt_compile" 2>conftest.err)
   14589    ac_status=$?
   14590    cat conftest.err >&5
   14591    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14592    if (exit $ac_status) && test -s "$ac_outfile"; then
   14593      # The compiler can only warn and ignore the option if not recognized
   14594      # So say no if there are warnings other than the usual output.
   14595      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14596      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14597      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14598        lt_cv_prog_compiler_pic_works=yes
   14599      fi
   14600    fi
   14601    $RM conftest*
   14602 
   14603 fi
   14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14605 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14606 
   14607 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14608     case $lt_prog_compiler_pic in
   14609      "" | " "*) ;;
   14610      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14611      esac
   14612 else
   14613     lt_prog_compiler_pic=
   14614      lt_prog_compiler_can_build_shared=no
   14615 fi
   14616 
   14617 fi
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 #
   14630 # Check to make sure the static flag actually works.
   14631 #
   14632 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14634 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14635 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14636   $as_echo_n "(cached) " >&6
   14637 else
   14638   lt_cv_prog_compiler_static_works=no
   14639    save_LDFLAGS="$LDFLAGS"
   14640    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14641    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14642    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14643      # The linker can only warn and ignore the option if not recognized
   14644      # So say no if there are warnings
   14645      if test -s conftest.err; then
   14646        # Append any errors to the config.log.
   14647        cat conftest.err 1>&5
   14648        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14649        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14650        if diff conftest.exp conftest.er2 >/dev/null; then
   14651          lt_cv_prog_compiler_static_works=yes
   14652        fi
   14653      else
   14654        lt_cv_prog_compiler_static_works=yes
   14655      fi
   14656    fi
   14657    $RM -r conftest*
   14658    LDFLAGS="$save_LDFLAGS"
   14659 
   14660 fi
   14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14662 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14663 
   14664 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14665     :
   14666 else
   14667     lt_prog_compiler_static=
   14668 fi
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14677 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14678 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14679   $as_echo_n "(cached) " >&6
   14680 else
   14681   lt_cv_prog_compiler_c_o=no
   14682    $RM -r conftest 2>/dev/null
   14683    mkdir conftest
   14684    cd conftest
   14685    mkdir out
   14686    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14687 
   14688    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14689    # Insert the option either (1) after the last *FLAGS variable, or
   14690    # (2) before a word containing "conftest.", or (3) at the end.
   14691    # Note that $ac_compile itself does not contain backslashes and begins
   14692    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14693    lt_compile=`echo "$ac_compile" | $SED \
   14694    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14695    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14696    -e 's:$: $lt_compiler_flag:'`
   14697    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14698    (eval "$lt_compile" 2>out/conftest.err)
   14699    ac_status=$?
   14700    cat out/conftest.err >&5
   14701    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14702    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14703    then
   14704      # The compiler can only warn and ignore the option if not recognized
   14705      # So say no if there are warnings
   14706      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14707      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14708      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14709        lt_cv_prog_compiler_c_o=yes
   14710      fi
   14711    fi
   14712    chmod u+w . 2>&5
   14713    $RM conftest*
   14714    # SGI C++ compiler will create directory out/ii_files/ for
   14715    # template instantiation
   14716    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14717    $RM out/* && rmdir out
   14718    cd ..
   14719    $RM -r conftest
   14720    $RM conftest*
   14721 
   14722 fi
   14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14724 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14733 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14734   $as_echo_n "(cached) " >&6
   14735 else
   14736   lt_cv_prog_compiler_c_o=no
   14737    $RM -r conftest 2>/dev/null
   14738    mkdir conftest
   14739    cd conftest
   14740    mkdir out
   14741    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14742 
   14743    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14744    # Insert the option either (1) after the last *FLAGS variable, or
   14745    # (2) before a word containing "conftest.", or (3) at the end.
   14746    # Note that $ac_compile itself does not contain backslashes and begins
   14747    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14748    lt_compile=`echo "$ac_compile" | $SED \
   14749    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14750    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14751    -e 's:$: $lt_compiler_flag:'`
   14752    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14753    (eval "$lt_compile" 2>out/conftest.err)
   14754    ac_status=$?
   14755    cat out/conftest.err >&5
   14756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14757    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14758    then
   14759      # The compiler can only warn and ignore the option if not recognized
   14760      # So say no if there are warnings
   14761      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14762      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14763      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14764        lt_cv_prog_compiler_c_o=yes
   14765      fi
   14766    fi
   14767    chmod u+w . 2>&5
   14768    $RM conftest*
   14769    # SGI C++ compiler will create directory out/ii_files/ for
   14770    # template instantiation
   14771    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14772    $RM out/* && rmdir out
   14773    cd ..
   14774    $RM -r conftest
   14775    $RM conftest*
   14776 
   14777 fi
   14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14779 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14780 
   14781 
   14782 
   14783 
   14784 hard_links="nottested"
   14785 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14786   # do not overwrite the value of need_locks provided by the user
   14787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14788 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14789   hard_links=yes
   14790   $RM conftest*
   14791   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14792   touch conftest.a
   14793   ln conftest.a conftest.b 2>&5 || hard_links=no
   14794   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14796 $as_echo "$hard_links" >&6; }
   14797   if test "$hard_links" = no; then
   14798     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14799 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14800     need_locks=warn
   14801   fi
   14802 else
   14803   need_locks=no
   14804 fi
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14812 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14813 
   14814   runpath_var=
   14815   allow_undefined_flag=
   14816   always_export_symbols=no
   14817   archive_cmds=
   14818   archive_expsym_cmds=
   14819   compiler_needs_object=no
   14820   enable_shared_with_static_runtimes=no
   14821   export_dynamic_flag_spec=
   14822   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14823   hardcode_automatic=no
   14824   hardcode_direct=no
   14825   hardcode_direct_absolute=no
   14826   hardcode_libdir_flag_spec=
   14827   hardcode_libdir_flag_spec_ld=
   14828   hardcode_libdir_separator=
   14829   hardcode_minus_L=no
   14830   hardcode_shlibpath_var=unsupported
   14831   inherit_rpath=no
   14832   link_all_deplibs=unknown
   14833   module_cmds=
   14834   module_expsym_cmds=
   14835   old_archive_from_new_cmds=
   14836   old_archive_from_expsyms_cmds=
   14837   thread_safe_flag_spec=
   14838   whole_archive_flag_spec=
   14839   # include_expsyms should be a list of space-separated symbols to be *always*
   14840   # included in the symbol list
   14841   include_expsyms=
   14842   # exclude_expsyms can be an extended regexp of symbols to exclude
   14843   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14844   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14845   # as well as any symbol that contains `d'.
   14846   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14847   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14848   # platforms (ab)use it in PIC code, but their linkers get confused if
   14849   # the symbol is explicitly referenced.  Since portable code cannot
   14850   # rely on this symbol name, it's probably fine to never include it in
   14851   # preloaded symbol tables.
   14852   # Exclude shared library initialization/finalization symbols.
   14853   extract_expsyms_cmds=
   14854 
   14855   case $host_os in
   14856   cygwin* | mingw* | pw32* | cegcc*)
   14857     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14858     # When not using gcc, we currently assume that we are using
   14859     # Microsoft Visual C++.
   14860     if test "$GCC" != yes; then
   14861       with_gnu_ld=no
   14862     fi
   14863     ;;
   14864   interix*)
   14865     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14866     with_gnu_ld=yes
   14867     ;;
   14868   openbsd*)
   14869     with_gnu_ld=no
   14870     ;;
   14871   esac
   14872 
   14873   ld_shlibs=yes
   14874 
   14875   # On some targets, GNU ld is compatible enough with the native linker
   14876   # that we're better off using the native interface for both.
   14877   lt_use_gnu_ld_interface=no
   14878   if test "$with_gnu_ld" = yes; then
   14879     case $host_os in
   14880       aix*)
   14881 	# The AIX port of GNU ld has always aspired to compatibility
   14882 	# with the native linker.  However, as the warning in the GNU ld
   14883 	# block says, versions before 2.19.5* couldn't really create working
   14884 	# shared libraries, regardless of the interface used.
   14885 	case `$LD -v 2>&1` in
   14886 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14887 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14888 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14889 	  *)
   14890 	    lt_use_gnu_ld_interface=yes
   14891 	    ;;
   14892 	esac
   14893 	;;
   14894       *)
   14895 	lt_use_gnu_ld_interface=yes
   14896 	;;
   14897     esac
   14898   fi
   14899 
   14900   if test "$lt_use_gnu_ld_interface" = yes; then
   14901     # If archive_cmds runs LD, not CC, wlarc should be empty
   14902     wlarc='${wl}'
   14903 
   14904     # Set some defaults for GNU ld with shared library support. These
   14905     # are reset later if shared libraries are not supported. Putting them
   14906     # here allows them to be overridden if necessary.
   14907     runpath_var=LD_RUN_PATH
   14908     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14909     export_dynamic_flag_spec='${wl}--export-dynamic'
   14910     # ancient GNU ld didn't support --whole-archive et. al.
   14911     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14912       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14913     else
   14914       whole_archive_flag_spec=
   14915     fi
   14916     supports_anon_versioning=no
   14917     case `$LD -v 2>&1` in
   14918       *GNU\ gold*) supports_anon_versioning=yes ;;
   14919       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14920       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14921       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14922       *\ 2.11.*) ;; # other 2.11 versions
   14923       *) supports_anon_versioning=yes ;;
   14924     esac
   14925 
   14926     # See if GNU ld supports shared libraries.
   14927     case $host_os in
   14928     aix[3-9]*)
   14929       # On AIX/PPC, the GNU linker is very broken
   14930       if test "$host_cpu" != ia64; then
   14931 	ld_shlibs=no
   14932 	cat <<_LT_EOF 1>&2
   14933 
   14934 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14935 *** to be unable to reliably create shared libraries on AIX.
   14936 *** Therefore, libtool is disabling shared libraries support.  If you
   14937 *** really care for shared libraries, you may want to install binutils
   14938 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14939 *** You will then need to restart the configuration process.
   14940 
   14941 _LT_EOF
   14942       fi
   14943       ;;
   14944 
   14945     amigaos*)
   14946       case $host_cpu in
   14947       powerpc)
   14948             # see comment about AmigaOS4 .so support
   14949             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14950             archive_expsym_cmds=''
   14951         ;;
   14952       m68k)
   14953             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)'
   14954             hardcode_libdir_flag_spec='-L$libdir'
   14955             hardcode_minus_L=yes
   14956         ;;
   14957       esac
   14958       ;;
   14959 
   14960     beos*)
   14961       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14962 	allow_undefined_flag=unsupported
   14963 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14964 	# support --undefined.  This deserves some investigation.  FIXME
   14965 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14966       else
   14967 	ld_shlibs=no
   14968       fi
   14969       ;;
   14970 
   14971     cygwin* | mingw* | pw32* | cegcc*)
   14972       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   14973       # as there is no search path for DLLs.
   14974       hardcode_libdir_flag_spec='-L$libdir'
   14975       export_dynamic_flag_spec='${wl}--export-all-symbols'
   14976       allow_undefined_flag=unsupported
   14977       always_export_symbols=no
   14978       enable_shared_with_static_runtimes=yes
   14979       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'
   14980       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   14981 
   14982       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   14983         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14984 	# If the export-symbols file already is a .def file (1st line
   14985 	# is EXPORTS), use it as is; otherwise, prepend...
   14986 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14987 	  cp $export_symbols $output_objdir/$soname.def;
   14988 	else
   14989 	  echo EXPORTS > $output_objdir/$soname.def;
   14990 	  cat $export_symbols >> $output_objdir/$soname.def;
   14991 	fi~
   14992 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14993       else
   14994 	ld_shlibs=no
   14995       fi
   14996       ;;
   14997 
   14998     haiku*)
   14999       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15000       link_all_deplibs=yes
   15001       ;;
   15002 
   15003     interix[3-9]*)
   15004       hardcode_direct=no
   15005       hardcode_shlibpath_var=no
   15006       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15007       export_dynamic_flag_spec='${wl}-E'
   15008       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15009       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15010       # default) and relocated if they conflict, which is a slow very memory
   15011       # consuming and fragmenting process.  To avoid this, we pick a random,
   15012       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15013       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15014       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15015       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'
   15016       ;;
   15017 
   15018     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15019       tmp_diet=no
   15020       if test "$host_os" = linux-dietlibc; then
   15021 	case $cc_basename in
   15022 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15023 	esac
   15024       fi
   15025       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15026 	 && test "$tmp_diet" = no
   15027       then
   15028 	tmp_addflag=' $pic_flag'
   15029 	tmp_sharedflag='-shared'
   15030 	case $cc_basename,$host_cpu in
   15031         pgcc*)				# Portland Group C compiler
   15032 	  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'
   15033 	  tmp_addflag=' $pic_flag'
   15034 	  ;;
   15035 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15036 					# Portland Group f77 and f90 compilers
   15037 	  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'
   15038 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15039 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15040 	  tmp_addflag=' -i_dynamic' ;;
   15041 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15042 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15043 	ifc* | ifort*)			# Intel Fortran compiler
   15044 	  tmp_addflag=' -nofor_main' ;;
   15045 	lf95*)				# Lahey Fortran 8.1
   15046 	  whole_archive_flag_spec=
   15047 	  tmp_sharedflag='--shared' ;;
   15048 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15049 	  tmp_sharedflag='-qmkshrobj'
   15050 	  tmp_addflag= ;;
   15051 	nvcc*)	# Cuda Compiler Driver 2.2
   15052 	  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'
   15053 	  compiler_needs_object=yes
   15054 	  ;;
   15055 	esac
   15056 	case `$CC -V 2>&1 | sed 5q` in
   15057 	*Sun\ C*)			# Sun C 5.9
   15058 	  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'
   15059 	  compiler_needs_object=yes
   15060 	  tmp_sharedflag='-G' ;;
   15061 	*Sun\ F*)			# Sun Fortran 8.3
   15062 	  tmp_sharedflag='-G' ;;
   15063 	esac
   15064 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15065 
   15066         if test "x$supports_anon_versioning" = xyes; then
   15067           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15068 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15069 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15070 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15071         fi
   15072 
   15073 	case $cc_basename in
   15074 	xlf* | bgf* | bgxlf* | mpixlf*)
   15075 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15076 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15077 	  hardcode_libdir_flag_spec=
   15078 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   15079 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15080 	  if test "x$supports_anon_versioning" = xyes; then
   15081 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15082 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15083 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15084 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15085 	  fi
   15086 	  ;;
   15087 	esac
   15088       else
   15089         ld_shlibs=no
   15090       fi
   15091       ;;
   15092 
   15093     netbsd*)
   15094       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15095 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15096 	wlarc=
   15097       else
   15098 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15099 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15100       fi
   15101       ;;
   15102 
   15103     solaris*)
   15104       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15105 	ld_shlibs=no
   15106 	cat <<_LT_EOF 1>&2
   15107 
   15108 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15109 *** create shared libraries on Solaris systems.  Therefore, libtool
   15110 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15111 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15112 *** your PATH or compiler configuration so that the native linker is
   15113 *** used, and then restart.
   15114 
   15115 _LT_EOF
   15116       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15117 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15118 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15119       else
   15120 	ld_shlibs=no
   15121       fi
   15122       ;;
   15123 
   15124     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15125       case `$LD -v 2>&1` in
   15126         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15127 	ld_shlibs=no
   15128 	cat <<_LT_EOF 1>&2
   15129 
   15130 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15131 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15132 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15133 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15134 *** your PATH or compiler configuration so that the native linker is
   15135 *** used, and then restart.
   15136 
   15137 _LT_EOF
   15138 	;;
   15139 	*)
   15140 	  # For security reasons, it is highly recommended that you always
   15141 	  # use absolute paths for naming shared libraries, and exclude the
   15142 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15143 	  # requires that you compile everything twice, which is a pain.
   15144 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15145 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15146 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15147 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15148 	  else
   15149 	    ld_shlibs=no
   15150 	  fi
   15151 	;;
   15152       esac
   15153       ;;
   15154 
   15155     sunos4*)
   15156       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15157       wlarc=
   15158       hardcode_direct=yes
   15159       hardcode_shlibpath_var=no
   15160       ;;
   15161 
   15162     *)
   15163       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15164 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15165 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15166       else
   15167 	ld_shlibs=no
   15168       fi
   15169       ;;
   15170     esac
   15171 
   15172     if test "$ld_shlibs" = no; then
   15173       runpath_var=
   15174       hardcode_libdir_flag_spec=
   15175       export_dynamic_flag_spec=
   15176       whole_archive_flag_spec=
   15177     fi
   15178   else
   15179     # PORTME fill in a description of your system's linker (not GNU ld)
   15180     case $host_os in
   15181     aix3*)
   15182       allow_undefined_flag=unsupported
   15183       always_export_symbols=yes
   15184       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'
   15185       # Note: this linker hardcodes the directories in LIBPATH if there
   15186       # are no directories specified by -L.
   15187       hardcode_minus_L=yes
   15188       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15189 	# Neither direct hardcoding nor static linking is supported with a
   15190 	# broken collect2.
   15191 	hardcode_direct=unsupported
   15192       fi
   15193       ;;
   15194 
   15195     aix[4-9]*)
   15196       if test "$host_cpu" = ia64; then
   15197 	# On IA64, the linker does run time linking by default, so we don't
   15198 	# have to do anything special.
   15199 	aix_use_runtimelinking=no
   15200 	exp_sym_flag='-Bexport'
   15201 	no_entry_flag=""
   15202       else
   15203 	# If we're using GNU nm, then we don't want the "-C" option.
   15204 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15205 	# Also, AIX nm treats weak defined symbols like other global
   15206 	# defined symbols, whereas GNU nm marks them as "W".
   15207 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15208 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15209 	else
   15210 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15211 	fi
   15212 	aix_use_runtimelinking=no
   15213 
   15214 	# Test if we are trying to use run time linking or normal
   15215 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15216 	# need to do runtime linking.
   15217 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15218 	  for ld_flag in $LDFLAGS; do
   15219 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15220 	    aix_use_runtimelinking=yes
   15221 	    break
   15222 	  fi
   15223 	  done
   15224 	  ;;
   15225 	esac
   15226 
   15227 	exp_sym_flag='-bexport'
   15228 	no_entry_flag='-bnoentry'
   15229       fi
   15230 
   15231       # When large executables or shared objects are built, AIX ld can
   15232       # have problems creating the table of contents.  If linking a library
   15233       # or program results in "error TOC overflow" add -mminimal-toc to
   15234       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15235       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15236 
   15237       archive_cmds=''
   15238       hardcode_direct=yes
   15239       hardcode_direct_absolute=yes
   15240       hardcode_libdir_separator=':'
   15241       link_all_deplibs=yes
   15242       file_list_spec='${wl}-f,'
   15243 
   15244       if test "$GCC" = yes; then
   15245 	case $host_os in aix4.[012]|aix4.[012].*)
   15246 	# We only want to do this on AIX 4.2 and lower, the check
   15247 	# below for broken collect2 doesn't work under 4.3+
   15248 	  collect2name=`${CC} -print-prog-name=collect2`
   15249 	  if test -f "$collect2name" &&
   15250 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15251 	  then
   15252 	  # We have reworked collect2
   15253 	  :
   15254 	  else
   15255 	  # We have old collect2
   15256 	  hardcode_direct=unsupported
   15257 	  # It fails to find uninstalled libraries when the uninstalled
   15258 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15259 	  # to unsupported forces relinking
   15260 	  hardcode_minus_L=yes
   15261 	  hardcode_libdir_flag_spec='-L$libdir'
   15262 	  hardcode_libdir_separator=
   15263 	  fi
   15264 	  ;;
   15265 	esac
   15266 	shared_flag='-shared'
   15267 	if test "$aix_use_runtimelinking" = yes; then
   15268 	  shared_flag="$shared_flag "'${wl}-G'
   15269 	fi
   15270       else
   15271 	# not using gcc
   15272 	if test "$host_cpu" = ia64; then
   15273 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15274 	# chokes on -Wl,-G. The following line is correct:
   15275 	  shared_flag='-G'
   15276 	else
   15277 	  if test "$aix_use_runtimelinking" = yes; then
   15278 	    shared_flag='${wl}-G'
   15279 	  else
   15280 	    shared_flag='${wl}-bM:SRE'
   15281 	  fi
   15282 	fi
   15283       fi
   15284 
   15285       export_dynamic_flag_spec='${wl}-bexpall'
   15286       # It seems that -bexpall does not export symbols beginning with
   15287       # underscore (_), so it is better to generate a list of symbols to export.
   15288       always_export_symbols=yes
   15289       if test "$aix_use_runtimelinking" = yes; then
   15290 	# Warning - without using the other runtime loading flags (-brtl),
   15291 	# -berok will link without error, but may produce a broken library.
   15292 	allow_undefined_flag='-berok'
   15293         # Determine the default libpath from the value encoded in an
   15294         # empty executable.
   15295         if test "${lt_cv_aix_libpath+set}" = set; then
   15296   aix_libpath=$lt_cv_aix_libpath
   15297 else
   15298   if ${lt_cv_aix_libpath_+:} false; then :
   15299   $as_echo_n "(cached) " >&6
   15300 else
   15301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15302 /* end confdefs.h.  */
   15303 
   15304 int
   15305 main ()
   15306 {
   15307 
   15308   ;
   15309   return 0;
   15310 }
   15311 _ACEOF
   15312 if ac_fn_c_try_link "$LINENO"; then :
   15313 
   15314   lt_aix_libpath_sed='
   15315       /Import File Strings/,/^$/ {
   15316 	  /^0/ {
   15317 	      s/^0  *\([^ ]*\) *$/\1/
   15318 	      p
   15319 	  }
   15320       }'
   15321   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15322   # Check for a 64-bit object if we didn't find anything.
   15323   if test -z "$lt_cv_aix_libpath_"; then
   15324     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15325   fi
   15326 fi
   15327 rm -f core conftest.err conftest.$ac_objext \
   15328     conftest$ac_exeext conftest.$ac_ext
   15329   if test -z "$lt_cv_aix_libpath_"; then
   15330     lt_cv_aix_libpath_="/usr/lib:/lib"
   15331   fi
   15332 
   15333 fi
   15334 
   15335   aix_libpath=$lt_cv_aix_libpath_
   15336 fi
   15337 
   15338         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15339         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15340       else
   15341 	if test "$host_cpu" = ia64; then
   15342 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15343 	  allow_undefined_flag="-z nodefs"
   15344 	  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"
   15345 	else
   15346 	 # Determine the default libpath from the value encoded in an
   15347 	 # empty executable.
   15348 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15349   aix_libpath=$lt_cv_aix_libpath
   15350 else
   15351   if ${lt_cv_aix_libpath_+:} false; then :
   15352   $as_echo_n "(cached) " >&6
   15353 else
   15354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15355 /* end confdefs.h.  */
   15356 
   15357 int
   15358 main ()
   15359 {
   15360 
   15361   ;
   15362   return 0;
   15363 }
   15364 _ACEOF
   15365 if ac_fn_c_try_link "$LINENO"; then :
   15366 
   15367   lt_aix_libpath_sed='
   15368       /Import File Strings/,/^$/ {
   15369 	  /^0/ {
   15370 	      s/^0  *\([^ ]*\) *$/\1/
   15371 	      p
   15372 	  }
   15373       }'
   15374   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15375   # Check for a 64-bit object if we didn't find anything.
   15376   if test -z "$lt_cv_aix_libpath_"; then
   15377     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15378   fi
   15379 fi
   15380 rm -f core conftest.err conftest.$ac_objext \
   15381     conftest$ac_exeext conftest.$ac_ext
   15382   if test -z "$lt_cv_aix_libpath_"; then
   15383     lt_cv_aix_libpath_="/usr/lib:/lib"
   15384   fi
   15385 
   15386 fi
   15387 
   15388   aix_libpath=$lt_cv_aix_libpath_
   15389 fi
   15390 
   15391 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15392 	  # Warning - without using the other run time loading flags,
   15393 	  # -berok will link without error, but may produce a broken library.
   15394 	  no_undefined_flag=' ${wl}-bernotok'
   15395 	  allow_undefined_flag=' ${wl}-berok'
   15396 	  if test "$with_gnu_ld" = yes; then
   15397 	    # We only use this code for GNU lds that support --whole-archive.
   15398 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15399 	  else
   15400 	    # Exported symbols can be pulled into shared objects from archives
   15401 	    whole_archive_flag_spec='$convenience'
   15402 	  fi
   15403 	  archive_cmds_need_lc=yes
   15404 	  # This is similar to how AIX traditionally builds its shared libraries.
   15405 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15406 	fi
   15407       fi
   15408       ;;
   15409 
   15410     amigaos*)
   15411       case $host_cpu in
   15412       powerpc)
   15413             # see comment about AmigaOS4 .so support
   15414             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15415             archive_expsym_cmds=''
   15416         ;;
   15417       m68k)
   15418             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)'
   15419             hardcode_libdir_flag_spec='-L$libdir'
   15420             hardcode_minus_L=yes
   15421         ;;
   15422       esac
   15423       ;;
   15424 
   15425     bsdi[45]*)
   15426       export_dynamic_flag_spec=-rdynamic
   15427       ;;
   15428 
   15429     cygwin* | mingw* | pw32* | cegcc*)
   15430       # When not using gcc, we currently assume that we are using
   15431       # Microsoft Visual C++.
   15432       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15433       # no search path for DLLs.
   15434       case $cc_basename in
   15435       cl*)
   15436 	# Native MSVC
   15437 	hardcode_libdir_flag_spec=' '
   15438 	allow_undefined_flag=unsupported
   15439 	always_export_symbols=yes
   15440 	file_list_spec='@'
   15441 	# Tell ltmain to make .lib files, not .a files.
   15442 	libext=lib
   15443 	# Tell ltmain to make .dll files, not .so files.
   15444 	shrext_cmds=".dll"
   15445 	# FIXME: Setting linknames here is a bad hack.
   15446 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15447 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15448 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15449 	  else
   15450 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15451 	  fi~
   15452 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15453 	  linknames='
   15454 	# The linker will not automatically build a static lib if we build a DLL.
   15455 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15456 	enable_shared_with_static_runtimes=yes
   15457 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15458 	# Don't use ranlib
   15459 	old_postinstall_cmds='chmod 644 $oldlib'
   15460 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15461 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15462 	  case $lt_outputfile in
   15463 	    *.exe|*.EXE) ;;
   15464 	    *)
   15465 	      lt_outputfile="$lt_outputfile.exe"
   15466 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15467 	      ;;
   15468 	  esac~
   15469 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15470 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15471 	    $RM "$lt_outputfile.manifest";
   15472 	  fi'
   15473 	;;
   15474       *)
   15475 	# Assume MSVC wrapper
   15476 	hardcode_libdir_flag_spec=' '
   15477 	allow_undefined_flag=unsupported
   15478 	# Tell ltmain to make .lib files, not .a files.
   15479 	libext=lib
   15480 	# Tell ltmain to make .dll files, not .so files.
   15481 	shrext_cmds=".dll"
   15482 	# FIXME: Setting linknames here is a bad hack.
   15483 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15484 	# The linker will automatically build a .lib file if we build a DLL.
   15485 	old_archive_from_new_cmds='true'
   15486 	# FIXME: Should let the user specify the lib program.
   15487 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15488 	enable_shared_with_static_runtimes=yes
   15489 	;;
   15490       esac
   15491       ;;
   15492 
   15493     darwin* | rhapsody*)
   15494 
   15495 
   15496   archive_cmds_need_lc=no
   15497   hardcode_direct=no
   15498   hardcode_automatic=yes
   15499   hardcode_shlibpath_var=unsupported
   15500   if test "$lt_cv_ld_force_load" = "yes"; then
   15501     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\"`'
   15502   else
   15503     whole_archive_flag_spec=''
   15504   fi
   15505   link_all_deplibs=yes
   15506   allow_undefined_flag="$_lt_dar_allow_undefined"
   15507   case $cc_basename in
   15508      ifort*) _lt_dar_can_shared=yes ;;
   15509      *) _lt_dar_can_shared=$GCC ;;
   15510   esac
   15511   if test "$_lt_dar_can_shared" = "yes"; then
   15512     output_verbose_link_cmd=func_echo_all
   15513     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15514     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15515     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}"
   15516     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}"
   15517 
   15518   else
   15519   ld_shlibs=no
   15520   fi
   15521 
   15522       ;;
   15523 
   15524     dgux*)
   15525       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15526       hardcode_libdir_flag_spec='-L$libdir'
   15527       hardcode_shlibpath_var=no
   15528       ;;
   15529 
   15530     freebsd1*)
   15531       ld_shlibs=no
   15532       ;;
   15533 
   15534     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15535     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15536     # does not break anything, and helps significantly (at the cost of a little
   15537     # extra space).
   15538     freebsd2.2*)
   15539       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15540       hardcode_libdir_flag_spec='-R$libdir'
   15541       hardcode_direct=yes
   15542       hardcode_shlibpath_var=no
   15543       ;;
   15544 
   15545     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15546     freebsd2*)
   15547       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15548       hardcode_direct=yes
   15549       hardcode_minus_L=yes
   15550       hardcode_shlibpath_var=no
   15551       ;;
   15552 
   15553     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15554     freebsd* | dragonfly*)
   15555       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15556       hardcode_libdir_flag_spec='-R$libdir'
   15557       hardcode_direct=yes
   15558       hardcode_shlibpath_var=no
   15559       ;;
   15560 
   15561     hpux9*)
   15562       if test "$GCC" = yes; then
   15563 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15564       else
   15565 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15566       fi
   15567       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15568       hardcode_libdir_separator=:
   15569       hardcode_direct=yes
   15570 
   15571       # hardcode_minus_L: Not really in the search PATH,
   15572       # but as the default location of the library.
   15573       hardcode_minus_L=yes
   15574       export_dynamic_flag_spec='${wl}-E'
   15575       ;;
   15576 
   15577     hpux10*)
   15578       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15579 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15580       else
   15581 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15582       fi
   15583       if test "$with_gnu_ld" = no; then
   15584 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15585 	hardcode_libdir_flag_spec_ld='+b $libdir'
   15586 	hardcode_libdir_separator=:
   15587 	hardcode_direct=yes
   15588 	hardcode_direct_absolute=yes
   15589 	export_dynamic_flag_spec='${wl}-E'
   15590 	# hardcode_minus_L: Not really in the search PATH,
   15591 	# but as the default location of the library.
   15592 	hardcode_minus_L=yes
   15593       fi
   15594       ;;
   15595 
   15596     hpux11*)
   15597       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15598 	case $host_cpu in
   15599 	hppa*64*)
   15600 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15601 	  ;;
   15602 	ia64*)
   15603 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15604 	  ;;
   15605 	*)
   15606 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15607 	  ;;
   15608 	esac
   15609       else
   15610 	case $host_cpu in
   15611 	hppa*64*)
   15612 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15613 	  ;;
   15614 	ia64*)
   15615 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15616 	  ;;
   15617 	*)
   15618 
   15619 	  # Older versions of the 11.00 compiler do not understand -b yet
   15620 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15621 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15622 $as_echo_n "checking if $CC understands -b... " >&6; }
   15623 if ${lt_cv_prog_compiler__b+:} false; then :
   15624   $as_echo_n "(cached) " >&6
   15625 else
   15626   lt_cv_prog_compiler__b=no
   15627    save_LDFLAGS="$LDFLAGS"
   15628    LDFLAGS="$LDFLAGS -b"
   15629    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15630    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15631      # The linker can only warn and ignore the option if not recognized
   15632      # So say no if there are warnings
   15633      if test -s conftest.err; then
   15634        # Append any errors to the config.log.
   15635        cat conftest.err 1>&5
   15636        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15637        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15638        if diff conftest.exp conftest.er2 >/dev/null; then
   15639          lt_cv_prog_compiler__b=yes
   15640        fi
   15641      else
   15642        lt_cv_prog_compiler__b=yes
   15643      fi
   15644    fi
   15645    $RM -r conftest*
   15646    LDFLAGS="$save_LDFLAGS"
   15647 
   15648 fi
   15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15650 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15651 
   15652 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15653     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15654 else
   15655     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15656 fi
   15657 
   15658 	  ;;
   15659 	esac
   15660       fi
   15661       if test "$with_gnu_ld" = no; then
   15662 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15663 	hardcode_libdir_separator=:
   15664 
   15665 	case $host_cpu in
   15666 	hppa*64*|ia64*)
   15667 	  hardcode_direct=no
   15668 	  hardcode_shlibpath_var=no
   15669 	  ;;
   15670 	*)
   15671 	  hardcode_direct=yes
   15672 	  hardcode_direct_absolute=yes
   15673 	  export_dynamic_flag_spec='${wl}-E'
   15674 
   15675 	  # hardcode_minus_L: Not really in the search PATH,
   15676 	  # but as the default location of the library.
   15677 	  hardcode_minus_L=yes
   15678 	  ;;
   15679 	esac
   15680       fi
   15681       ;;
   15682 
   15683     irix5* | irix6* | nonstopux*)
   15684       if test "$GCC" = yes; then
   15685 	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'
   15686 	# Try to use the -exported_symbol ld option, if it does not
   15687 	# work, assume that -exports_file does not work either and
   15688 	# implicitly export all symbols.
   15689 	# This should be the same for all languages, so no per-tag cache variable.
   15690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15691 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15692 if ${lt_cv_irix_exported_symbol+:} false; then :
   15693   $as_echo_n "(cached) " >&6
   15694 else
   15695   save_LDFLAGS="$LDFLAGS"
   15696 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15697 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15698 /* end confdefs.h.  */
   15699 int foo (void) { return 0; }
   15700 _ACEOF
   15701 if ac_fn_c_try_link "$LINENO"; then :
   15702   lt_cv_irix_exported_symbol=yes
   15703 else
   15704   lt_cv_irix_exported_symbol=no
   15705 fi
   15706 rm -f core conftest.err conftest.$ac_objext \
   15707     conftest$ac_exeext conftest.$ac_ext
   15708            LDFLAGS="$save_LDFLAGS"
   15709 fi
   15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15711 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15712 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15713           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'
   15714 	fi
   15715       else
   15716 	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'
   15717 	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'
   15718       fi
   15719       archive_cmds_need_lc='no'
   15720       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15721       hardcode_libdir_separator=:
   15722       inherit_rpath=yes
   15723       link_all_deplibs=yes
   15724       ;;
   15725 
   15726     netbsd*)
   15727       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15728 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15729       else
   15730 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15731       fi
   15732       hardcode_libdir_flag_spec='-R$libdir'
   15733       hardcode_direct=yes
   15734       hardcode_shlibpath_var=no
   15735       ;;
   15736 
   15737     newsos6)
   15738       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15739       hardcode_direct=yes
   15740       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15741       hardcode_libdir_separator=:
   15742       hardcode_shlibpath_var=no
   15743       ;;
   15744 
   15745     *nto* | *qnx*)
   15746       ;;
   15747 
   15748     openbsd*)
   15749       if test -f /usr/libexec/ld.so; then
   15750 	hardcode_direct=yes
   15751 	hardcode_shlibpath_var=no
   15752 	hardcode_direct_absolute=yes
   15753 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15754 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15755 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15756 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15757 	  export_dynamic_flag_spec='${wl}-E'
   15758 	else
   15759 	  case $host_os in
   15760 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15761 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15762 	     hardcode_libdir_flag_spec='-R$libdir'
   15763 	     ;;
   15764 	   *)
   15765 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15766 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15767 	     ;;
   15768 	  esac
   15769 	fi
   15770       else
   15771 	ld_shlibs=no
   15772       fi
   15773       ;;
   15774 
   15775     os2*)
   15776       hardcode_libdir_flag_spec='-L$libdir'
   15777       hardcode_minus_L=yes
   15778       allow_undefined_flag=unsupported
   15779       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15780       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15781       ;;
   15782 
   15783     osf3*)
   15784       if test "$GCC" = yes; then
   15785 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15786 	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'
   15787       else
   15788 	allow_undefined_flag=' -expect_unresolved \*'
   15789 	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'
   15790       fi
   15791       archive_cmds_need_lc='no'
   15792       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15793       hardcode_libdir_separator=:
   15794       ;;
   15795 
   15796     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15797       if test "$GCC" = yes; then
   15798 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15799 	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'
   15800 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15801       else
   15802 	allow_undefined_flag=' -expect_unresolved \*'
   15803 	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'
   15804 	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~
   15805 	$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'
   15806 
   15807 	# Both c and cxx compiler support -rpath directly
   15808 	hardcode_libdir_flag_spec='-rpath $libdir'
   15809       fi
   15810       archive_cmds_need_lc='no'
   15811       hardcode_libdir_separator=:
   15812       ;;
   15813 
   15814     solaris*)
   15815       no_undefined_flag=' -z defs'
   15816       if test "$GCC" = yes; then
   15817 	wlarc='${wl}'
   15818 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15819 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15820 	  $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'
   15821       else
   15822 	case `$CC -V 2>&1` in
   15823 	*"Compilers 5.0"*)
   15824 	  wlarc=''
   15825 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15826 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15827 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15828 	  ;;
   15829 	*)
   15830 	  wlarc='${wl}'
   15831 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15832 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15833 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15834 	  ;;
   15835 	esac
   15836       fi
   15837       hardcode_libdir_flag_spec='-R$libdir'
   15838       hardcode_shlibpath_var=no
   15839       case $host_os in
   15840       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15841       *)
   15842 	# The compiler driver will combine and reorder linker options,
   15843 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15844 	# but is careful enough not to reorder.
   15845 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15846 	if test "$GCC" = yes; then
   15847 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15848 	else
   15849 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15850 	fi
   15851 	;;
   15852       esac
   15853       link_all_deplibs=yes
   15854       ;;
   15855 
   15856     sunos4*)
   15857       if test "x$host_vendor" = xsequent; then
   15858 	# Use $CC to link under sequent, because it throws in some extra .o
   15859 	# files that make .init and .fini sections work.
   15860 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15861       else
   15862 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15863       fi
   15864       hardcode_libdir_flag_spec='-L$libdir'
   15865       hardcode_direct=yes
   15866       hardcode_minus_L=yes
   15867       hardcode_shlibpath_var=no
   15868       ;;
   15869 
   15870     sysv4)
   15871       case $host_vendor in
   15872 	sni)
   15873 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15874 	  hardcode_direct=yes # is this really true???
   15875 	;;
   15876 	siemens)
   15877 	  ## LD is ld it makes a PLAMLIB
   15878 	  ## CC just makes a GrossModule.
   15879 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15880 	  reload_cmds='$CC -r -o $output$reload_objs'
   15881 	  hardcode_direct=no
   15882         ;;
   15883 	motorola)
   15884 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15885 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15886 	;;
   15887       esac
   15888       runpath_var='LD_RUN_PATH'
   15889       hardcode_shlibpath_var=no
   15890       ;;
   15891 
   15892     sysv4.3*)
   15893       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15894       hardcode_shlibpath_var=no
   15895       export_dynamic_flag_spec='-Bexport'
   15896       ;;
   15897 
   15898     sysv4*MP*)
   15899       if test -d /usr/nec; then
   15900 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15901 	hardcode_shlibpath_var=no
   15902 	runpath_var=LD_RUN_PATH
   15903 	hardcode_runpath_var=yes
   15904 	ld_shlibs=yes
   15905       fi
   15906       ;;
   15907 
   15908     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15909       no_undefined_flag='${wl}-z,text'
   15910       archive_cmds_need_lc=no
   15911       hardcode_shlibpath_var=no
   15912       runpath_var='LD_RUN_PATH'
   15913 
   15914       if test "$GCC" = yes; then
   15915 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15916 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15917       else
   15918 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15919 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15920       fi
   15921       ;;
   15922 
   15923     sysv5* | sco3.2v5* | sco5v6*)
   15924       # Note: We can NOT use -z defs as we might desire, because we do not
   15925       # link with -lc, and that would cause any symbols used from libc to
   15926       # always be unresolved, which means just about no library would
   15927       # ever link correctly.  If we're not using GNU ld we use -z text
   15928       # though, which does catch some bad symbols but isn't as heavy-handed
   15929       # as -z defs.
   15930       no_undefined_flag='${wl}-z,text'
   15931       allow_undefined_flag='${wl}-z,nodefs'
   15932       archive_cmds_need_lc=no
   15933       hardcode_shlibpath_var=no
   15934       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15935       hardcode_libdir_separator=':'
   15936       link_all_deplibs=yes
   15937       export_dynamic_flag_spec='${wl}-Bexport'
   15938       runpath_var='LD_RUN_PATH'
   15939 
   15940       if test "$GCC" = yes; then
   15941 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15942 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15943       else
   15944 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15945 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15946       fi
   15947       ;;
   15948 
   15949     uts4*)
   15950       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15951       hardcode_libdir_flag_spec='-L$libdir'
   15952       hardcode_shlibpath_var=no
   15953       ;;
   15954 
   15955     *)
   15956       ld_shlibs=no
   15957       ;;
   15958     esac
   15959 
   15960     if test x$host_vendor = xsni; then
   15961       case $host in
   15962       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15963 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   15964 	;;
   15965       esac
   15966     fi
   15967   fi
   15968 
   15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   15970 $as_echo "$ld_shlibs" >&6; }
   15971 test "$ld_shlibs" = no && can_build_shared=no
   15972 
   15973 with_gnu_ld=$with_gnu_ld
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 #
   15990 # Do we need to explicitly link libc?
   15991 #
   15992 case "x$archive_cmds_need_lc" in
   15993 x|xyes)
   15994   # Assume -lc should be added
   15995   archive_cmds_need_lc=yes
   15996 
   15997   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15998     case $archive_cmds in
   15999     *'~'*)
   16000       # FIXME: we may have to deal with multi-command sequences.
   16001       ;;
   16002     '$CC '*)
   16003       # Test whether the compiler implicitly links with -lc since on some
   16004       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16005       # to ld, don't add -lc before -lgcc.
   16006       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16008 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16009   $as_echo_n "(cached) " >&6
   16010 else
   16011   $RM conftest*
   16012 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16013 
   16014 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16015   (eval $ac_compile) 2>&5
   16016   ac_status=$?
   16017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16018   test $ac_status = 0; } 2>conftest.err; then
   16019 	  soname=conftest
   16020 	  lib=conftest
   16021 	  libobjs=conftest.$ac_objext
   16022 	  deplibs=
   16023 	  wl=$lt_prog_compiler_wl
   16024 	  pic_flag=$lt_prog_compiler_pic
   16025 	  compiler_flags=-v
   16026 	  linker_flags=-v
   16027 	  verstring=
   16028 	  output_objdir=.
   16029 	  libname=conftest
   16030 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16031 	  allow_undefined_flag=
   16032 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16033   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16034   ac_status=$?
   16035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16036   test $ac_status = 0; }
   16037 	  then
   16038 	    lt_cv_archive_cmds_need_lc=no
   16039 	  else
   16040 	    lt_cv_archive_cmds_need_lc=yes
   16041 	  fi
   16042 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16043 	else
   16044 	  cat conftest.err 1>&5
   16045 	fi
   16046 	$RM conftest*
   16047 
   16048 fi
   16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16050 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16051       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16052       ;;
   16053     esac
   16054   fi
   16055   ;;
   16056 esac
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16215 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16216 
   16217 if test "$GCC" = yes; then
   16218   case $host_os in
   16219     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16220     *) lt_awk_arg="/^libraries:/" ;;
   16221   esac
   16222   case $host_os in
   16223     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16224     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16225   esac
   16226   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16227   case $lt_search_path_spec in
   16228   *\;*)
   16229     # if the path contains ";" then we assume it to be the separator
   16230     # otherwise default to the standard path separator (i.e. ":") - it is
   16231     # assumed that no part of a normal pathname contains ";" but that should
   16232     # okay in the real world where ";" in dirpaths is itself problematic.
   16233     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16234     ;;
   16235   *)
   16236     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16237     ;;
   16238   esac
   16239   # Ok, now we have the path, separated by spaces, we can step through it
   16240   # and add multilib dir if necessary.
   16241   lt_tmp_lt_search_path_spec=
   16242   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16243   for lt_sys_path in $lt_search_path_spec; do
   16244     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16245       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16246     else
   16247       test -d "$lt_sys_path" && \
   16248 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16249     fi
   16250   done
   16251   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16252 BEGIN {RS=" "; FS="/|\n";} {
   16253   lt_foo="";
   16254   lt_count=0;
   16255   for (lt_i = NF; lt_i > 0; lt_i--) {
   16256     if ($lt_i != "" && $lt_i != ".") {
   16257       if ($lt_i == "..") {
   16258         lt_count++;
   16259       } else {
   16260         if (lt_count == 0) {
   16261           lt_foo="/" $lt_i lt_foo;
   16262         } else {
   16263           lt_count--;
   16264         }
   16265       }
   16266     }
   16267   }
   16268   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16269   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16270 }'`
   16271   # AWK program above erroneously prepends '/' to C:/dos/paths
   16272   # for these hosts.
   16273   case $host_os in
   16274     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16275       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16276   esac
   16277   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16278 else
   16279   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16280 fi
   16281 library_names_spec=
   16282 libname_spec='lib$name'
   16283 soname_spec=
   16284 shrext_cmds=".so"
   16285 postinstall_cmds=
   16286 postuninstall_cmds=
   16287 finish_cmds=
   16288 finish_eval=
   16289 shlibpath_var=
   16290 shlibpath_overrides_runpath=unknown
   16291 version_type=none
   16292 dynamic_linker="$host_os ld.so"
   16293 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16294 need_lib_prefix=unknown
   16295 hardcode_into_libs=no
   16296 
   16297 # when you set need_version to no, make sure it does not cause -set_version
   16298 # flags to be left without arguments
   16299 need_version=unknown
   16300 
   16301 case $host_os in
   16302 aix3*)
   16303   version_type=linux
   16304   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16305   shlibpath_var=LIBPATH
   16306 
   16307   # AIX 3 has no versioning support, so we append a major version to the name.
   16308   soname_spec='${libname}${release}${shared_ext}$major'
   16309   ;;
   16310 
   16311 aix[4-9]*)
   16312   version_type=linux
   16313   need_lib_prefix=no
   16314   need_version=no
   16315   hardcode_into_libs=yes
   16316   if test "$host_cpu" = ia64; then
   16317     # AIX 5 supports IA64
   16318     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16319     shlibpath_var=LD_LIBRARY_PATH
   16320   else
   16321     # With GCC up to 2.95.x, collect2 would create an import file
   16322     # for dependence libraries.  The import file would start with
   16323     # the line `#! .'.  This would cause the generated library to
   16324     # depend on `.', always an invalid library.  This was fixed in
   16325     # development snapshots of GCC prior to 3.0.
   16326     case $host_os in
   16327       aix4 | aix4.[01] | aix4.[01].*)
   16328       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16329 	   echo ' yes '
   16330 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16331 	:
   16332       else
   16333 	can_build_shared=no
   16334       fi
   16335       ;;
   16336     esac
   16337     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16338     # soname into executable. Probably we can add versioning support to
   16339     # collect2, so additional links can be useful in future.
   16340     if test "$aix_use_runtimelinking" = yes; then
   16341       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16342       # instead of lib<name>.a to let people know that these are not
   16343       # typical AIX shared libraries.
   16344       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16345     else
   16346       # We preserve .a as extension for shared libraries through AIX4.2
   16347       # and later when we are not doing run time linking.
   16348       library_names_spec='${libname}${release}.a $libname.a'
   16349       soname_spec='${libname}${release}${shared_ext}$major'
   16350     fi
   16351     shlibpath_var=LIBPATH
   16352   fi
   16353   ;;
   16354 
   16355 amigaos*)
   16356   case $host_cpu in
   16357   powerpc)
   16358     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16359     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16360     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16361     ;;
   16362   m68k)
   16363     library_names_spec='$libname.ixlibrary $libname.a'
   16364     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16365     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   16366     ;;
   16367   esac
   16368   ;;
   16369 
   16370 beos*)
   16371   library_names_spec='${libname}${shared_ext}'
   16372   dynamic_linker="$host_os ld.so"
   16373   shlibpath_var=LIBRARY_PATH
   16374   ;;
   16375 
   16376 bsdi[45]*)
   16377   version_type=linux
   16378   need_version=no
   16379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16380   soname_spec='${libname}${release}${shared_ext}$major'
   16381   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16382   shlibpath_var=LD_LIBRARY_PATH
   16383   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16384   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16385   # the default ld.so.conf also contains /usr/contrib/lib and
   16386   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16387   # libtool to hard-code these into programs
   16388   ;;
   16389 
   16390 cygwin* | mingw* | pw32* | cegcc*)
   16391   version_type=windows
   16392   shrext_cmds=".dll"
   16393   need_version=no
   16394   need_lib_prefix=no
   16395 
   16396   case $GCC,$cc_basename in
   16397   yes,*)
   16398     # gcc
   16399     library_names_spec='$libname.dll.a'
   16400     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16401     postinstall_cmds='base_file=`basename \${file}`~
   16402       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16403       dldir=$destdir/`dirname \$dlpath`~
   16404       test -d \$dldir || mkdir -p \$dldir~
   16405       $install_prog $dir/$dlname \$dldir/$dlname~
   16406       chmod a+x \$dldir/$dlname~
   16407       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16408         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16409       fi'
   16410     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16411       dlpath=$dir/\$dldll~
   16412        $RM \$dlpath'
   16413     shlibpath_overrides_runpath=yes
   16414 
   16415     case $host_os in
   16416     cygwin*)
   16417       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16418       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16419 
   16420       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16421       ;;
   16422     mingw* | cegcc*)
   16423       # MinGW DLLs use traditional 'lib' prefix
   16424       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16425       ;;
   16426     pw32*)
   16427       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16428       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16429       ;;
   16430     esac
   16431     dynamic_linker='Win32 ld.exe'
   16432     ;;
   16433 
   16434   *,cl*)
   16435     # Native MSVC
   16436     libname_spec='$name'
   16437     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16438     library_names_spec='${libname}.dll.lib'
   16439 
   16440     case $build_os in
   16441     mingw*)
   16442       sys_lib_search_path_spec=
   16443       lt_save_ifs=$IFS
   16444       IFS=';'
   16445       for lt_path in $LIB
   16446       do
   16447         IFS=$lt_save_ifs
   16448         # Let DOS variable expansion print the short 8.3 style file name.
   16449         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16450         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16451       done
   16452       IFS=$lt_save_ifs
   16453       # Convert to MSYS style.
   16454       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16455       ;;
   16456     cygwin*)
   16457       # Convert to unix form, then to dos form, then back to unix form
   16458       # but this time dos style (no spaces!) so that the unix form looks
   16459       # like /cygdrive/c/PROGRA~1:/cygdr...
   16460       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16461       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16462       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16463       ;;
   16464     *)
   16465       sys_lib_search_path_spec="$LIB"
   16466       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16467         # It is most probably a Windows format PATH.
   16468         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16469       else
   16470         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16471       fi
   16472       # FIXME: find the short name or the path components, as spaces are
   16473       # common. (e.g. "Program Files" -> "PROGRA~1")
   16474       ;;
   16475     esac
   16476 
   16477     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16478     postinstall_cmds='base_file=`basename \${file}`~
   16479       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16480       dldir=$destdir/`dirname \$dlpath`~
   16481       test -d \$dldir || mkdir -p \$dldir~
   16482       $install_prog $dir/$dlname \$dldir/$dlname'
   16483     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16484       dlpath=$dir/\$dldll~
   16485        $RM \$dlpath'
   16486     shlibpath_overrides_runpath=yes
   16487     dynamic_linker='Win32 link.exe'
   16488     ;;
   16489 
   16490   *)
   16491     # Assume MSVC wrapper
   16492     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16493     dynamic_linker='Win32 ld.exe'
   16494     ;;
   16495   esac
   16496   # FIXME: first we should search . and the directory the executable is in
   16497   shlibpath_var=PATH
   16498   ;;
   16499 
   16500 darwin* | rhapsody*)
   16501   dynamic_linker="$host_os dyld"
   16502   version_type=darwin
   16503   need_lib_prefix=no
   16504   need_version=no
   16505   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16506   soname_spec='${libname}${release}${major}$shared_ext'
   16507   shlibpath_overrides_runpath=yes
   16508   shlibpath_var=DYLD_LIBRARY_PATH
   16509   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16510 
   16511   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16512   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16513   ;;
   16514 
   16515 dgux*)
   16516   version_type=linux
   16517   need_lib_prefix=no
   16518   need_version=no
   16519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16520   soname_spec='${libname}${release}${shared_ext}$major'
   16521   shlibpath_var=LD_LIBRARY_PATH
   16522   ;;
   16523 
   16524 freebsd1*)
   16525   dynamic_linker=no
   16526   ;;
   16527 
   16528 freebsd* | dragonfly*)
   16529   # DragonFly does not have aout.  When/if they implement a new
   16530   # versioning mechanism, adjust this.
   16531   if test -x /usr/bin/objformat; then
   16532     objformat=`/usr/bin/objformat`
   16533   else
   16534     case $host_os in
   16535     freebsd[123]*) objformat=aout ;;
   16536     *) objformat=elf ;;
   16537     esac
   16538   fi
   16539   # Handle Gentoo/FreeBSD as it was Linux
   16540   case $host_vendor in
   16541     gentoo)
   16542       version_type=linux ;;
   16543     *)
   16544       version_type=freebsd-$objformat ;;
   16545   esac
   16546 
   16547   case $version_type in
   16548     freebsd-elf*)
   16549       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16550       need_version=no
   16551       need_lib_prefix=no
   16552       ;;
   16553     freebsd-*)
   16554       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16555       need_version=yes
   16556       ;;
   16557     linux)
   16558       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16559       soname_spec='${libname}${release}${shared_ext}$major'
   16560       need_lib_prefix=no
   16561       need_version=no
   16562       ;;
   16563   esac
   16564   shlibpath_var=LD_LIBRARY_PATH
   16565   case $host_os in
   16566   freebsd2*)
   16567     shlibpath_overrides_runpath=yes
   16568     ;;
   16569   freebsd3.[01]* | freebsdelf3.[01]*)
   16570     shlibpath_overrides_runpath=yes
   16571     hardcode_into_libs=yes
   16572     ;;
   16573   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16574   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16575     shlibpath_overrides_runpath=no
   16576     hardcode_into_libs=yes
   16577     ;;
   16578   *) # from 4.6 on, and DragonFly
   16579     shlibpath_overrides_runpath=yes
   16580     hardcode_into_libs=yes
   16581     ;;
   16582   esac
   16583   ;;
   16584 
   16585 gnu*)
   16586   version_type=linux
   16587   need_lib_prefix=no
   16588   need_version=no
   16589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16590   soname_spec='${libname}${release}${shared_ext}$major'
   16591   shlibpath_var=LD_LIBRARY_PATH
   16592   hardcode_into_libs=yes
   16593   ;;
   16594 
   16595 haiku*)
   16596   version_type=linux
   16597   need_lib_prefix=no
   16598   need_version=no
   16599   dynamic_linker="$host_os runtime_loader"
   16600   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16601   soname_spec='${libname}${release}${shared_ext}$major'
   16602   shlibpath_var=LIBRARY_PATH
   16603   shlibpath_overrides_runpath=yes
   16604   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16605   hardcode_into_libs=yes
   16606   ;;
   16607 
   16608 hpux9* | hpux10* | hpux11*)
   16609   # Give a soname corresponding to the major version so that dld.sl refuses to
   16610   # link against other versions.
   16611   version_type=sunos
   16612   need_lib_prefix=no
   16613   need_version=no
   16614   case $host_cpu in
   16615   ia64*)
   16616     shrext_cmds='.so'
   16617     hardcode_into_libs=yes
   16618     dynamic_linker="$host_os dld.so"
   16619     shlibpath_var=LD_LIBRARY_PATH
   16620     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16621     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16622     soname_spec='${libname}${release}${shared_ext}$major'
   16623     if test "X$HPUX_IA64_MODE" = X32; then
   16624       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16625     else
   16626       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16627     fi
   16628     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16629     ;;
   16630   hppa*64*)
   16631     shrext_cmds='.sl'
   16632     hardcode_into_libs=yes
   16633     dynamic_linker="$host_os dld.sl"
   16634     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16635     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16636     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16637     soname_spec='${libname}${release}${shared_ext}$major'
   16638     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16639     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16640     ;;
   16641   *)
   16642     shrext_cmds='.sl'
   16643     dynamic_linker="$host_os dld.sl"
   16644     shlibpath_var=SHLIB_PATH
   16645     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16646     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16647     soname_spec='${libname}${release}${shared_ext}$major'
   16648     ;;
   16649   esac
   16650   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16651   postinstall_cmds='chmod 555 $lib'
   16652   # or fails outright, so override atomically:
   16653   install_override_mode=555
   16654   ;;
   16655 
   16656 interix[3-9]*)
   16657   version_type=linux
   16658   need_lib_prefix=no
   16659   need_version=no
   16660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16661   soname_spec='${libname}${release}${shared_ext}$major'
   16662   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16663   shlibpath_var=LD_LIBRARY_PATH
   16664   shlibpath_overrides_runpath=no
   16665   hardcode_into_libs=yes
   16666   ;;
   16667 
   16668 irix5* | irix6* | nonstopux*)
   16669   case $host_os in
   16670     nonstopux*) version_type=nonstopux ;;
   16671     *)
   16672 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16673 		version_type=linux
   16674 	else
   16675 		version_type=irix
   16676 	fi ;;
   16677   esac
   16678   need_lib_prefix=no
   16679   need_version=no
   16680   soname_spec='${libname}${release}${shared_ext}$major'
   16681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16682   case $host_os in
   16683   irix5* | nonstopux*)
   16684     libsuff= shlibsuff=
   16685     ;;
   16686   *)
   16687     case $LD in # libtool.m4 will add one of these switches to LD
   16688     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16689       libsuff= shlibsuff= libmagic=32-bit;;
   16690     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16691       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16692     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16693       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16694     *) libsuff= shlibsuff= libmagic=never-match;;
   16695     esac
   16696     ;;
   16697   esac
   16698   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16699   shlibpath_overrides_runpath=no
   16700   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16701   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16702   hardcode_into_libs=yes
   16703   ;;
   16704 
   16705 # No shared lib support for Linux oldld, aout, or coff.
   16706 linux*oldld* | linux*aout* | linux*coff*)
   16707   dynamic_linker=no
   16708   ;;
   16709 
   16710 # This must be Linux ELF.
   16711 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   16712   version_type=linux
   16713   need_lib_prefix=no
   16714   need_version=no
   16715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16716   soname_spec='${libname}${release}${shared_ext}$major'
   16717   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16718   shlibpath_var=LD_LIBRARY_PATH
   16719   shlibpath_overrides_runpath=no
   16720 
   16721   # Some binutils ld are patched to set DT_RUNPATH
   16722   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16723   $as_echo_n "(cached) " >&6
   16724 else
   16725   lt_cv_shlibpath_overrides_runpath=no
   16726     save_LDFLAGS=$LDFLAGS
   16727     save_libdir=$libdir
   16728     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16729 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16730     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16731 /* end confdefs.h.  */
   16732 
   16733 int
   16734 main ()
   16735 {
   16736 
   16737   ;
   16738   return 0;
   16739 }
   16740 _ACEOF
   16741 if ac_fn_c_try_link "$LINENO"; then :
   16742   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16743   lt_cv_shlibpath_overrides_runpath=yes
   16744 fi
   16745 fi
   16746 rm -f core conftest.err conftest.$ac_objext \
   16747     conftest$ac_exeext conftest.$ac_ext
   16748     LDFLAGS=$save_LDFLAGS
   16749     libdir=$save_libdir
   16750 
   16751 fi
   16752 
   16753   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16754 
   16755   # This implies no fast_install, which is unacceptable.
   16756   # Some rework will be needed to allow for fast_install
   16757   # before this can be enabled.
   16758   hardcode_into_libs=yes
   16759 
   16760   # Append ld.so.conf contents to the search path
   16761   if test -f /etc/ld.so.conf; then
   16762     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' ' '`
   16763     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16764   fi
   16765 
   16766   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16767   # powerpc, because MkLinux only supported shared libraries with the
   16768   # GNU dynamic linker.  Since this was broken with cross compilers,
   16769   # most powerpc-linux boxes support dynamic linking these days and
   16770   # people can always --disable-shared, the test was removed, and we
   16771   # assume the GNU/Linux dynamic linker is in use.
   16772   dynamic_linker='GNU/Linux ld.so'
   16773   ;;
   16774 
   16775 netbsd*)
   16776   version_type=sunos
   16777   need_lib_prefix=no
   16778   need_version=no
   16779   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16780     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16781     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16782     dynamic_linker='NetBSD (a.out) ld.so'
   16783   else
   16784     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16785     soname_spec='${libname}${release}${shared_ext}$major'
   16786     dynamic_linker='NetBSD ld.elf_so'
   16787   fi
   16788   shlibpath_var=LD_LIBRARY_PATH
   16789   shlibpath_overrides_runpath=yes
   16790   hardcode_into_libs=yes
   16791   ;;
   16792 
   16793 newsos6)
   16794   version_type=linux
   16795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16796   shlibpath_var=LD_LIBRARY_PATH
   16797   shlibpath_overrides_runpath=yes
   16798   ;;
   16799 
   16800 *nto* | *qnx*)
   16801   version_type=qnx
   16802   need_lib_prefix=no
   16803   need_version=no
   16804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16805   soname_spec='${libname}${release}${shared_ext}$major'
   16806   shlibpath_var=LD_LIBRARY_PATH
   16807   shlibpath_overrides_runpath=no
   16808   hardcode_into_libs=yes
   16809   dynamic_linker='ldqnx.so'
   16810   ;;
   16811 
   16812 openbsd*)
   16813   version_type=sunos
   16814   sys_lib_dlsearch_path_spec="/usr/lib"
   16815   need_lib_prefix=no
   16816   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16817   case $host_os in
   16818     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16819     *)				need_version=no  ;;
   16820   esac
   16821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16822   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16823   shlibpath_var=LD_LIBRARY_PATH
   16824   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16825     case $host_os in
   16826       openbsd2.[89] | openbsd2.[89].*)
   16827 	shlibpath_overrides_runpath=no
   16828 	;;
   16829       *)
   16830 	shlibpath_overrides_runpath=yes
   16831 	;;
   16832       esac
   16833   else
   16834     shlibpath_overrides_runpath=yes
   16835   fi
   16836   ;;
   16837 
   16838 os2*)
   16839   libname_spec='$name'
   16840   shrext_cmds=".dll"
   16841   need_lib_prefix=no
   16842   library_names_spec='$libname${shared_ext} $libname.a'
   16843   dynamic_linker='OS/2 ld.exe'
   16844   shlibpath_var=LIBPATH
   16845   ;;
   16846 
   16847 osf3* | osf4* | osf5*)
   16848   version_type=osf
   16849   need_lib_prefix=no
   16850   need_version=no
   16851   soname_spec='${libname}${release}${shared_ext}$major'
   16852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16853   shlibpath_var=LD_LIBRARY_PATH
   16854   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16855   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16856   ;;
   16857 
   16858 rdos*)
   16859   dynamic_linker=no
   16860   ;;
   16861 
   16862 solaris*)
   16863   version_type=linux
   16864   need_lib_prefix=no
   16865   need_version=no
   16866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16867   soname_spec='${libname}${release}${shared_ext}$major'
   16868   shlibpath_var=LD_LIBRARY_PATH
   16869   shlibpath_overrides_runpath=yes
   16870   hardcode_into_libs=yes
   16871   # ldd complains unless libraries are executable
   16872   postinstall_cmds='chmod +x $lib'
   16873   ;;
   16874 
   16875 sunos4*)
   16876   version_type=sunos
   16877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16878   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16879   shlibpath_var=LD_LIBRARY_PATH
   16880   shlibpath_overrides_runpath=yes
   16881   if test "$with_gnu_ld" = yes; then
   16882     need_lib_prefix=no
   16883   fi
   16884   need_version=yes
   16885   ;;
   16886 
   16887 sysv4 | sysv4.3*)
   16888   version_type=linux
   16889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16890   soname_spec='${libname}${release}${shared_ext}$major'
   16891   shlibpath_var=LD_LIBRARY_PATH
   16892   case $host_vendor in
   16893     sni)
   16894       shlibpath_overrides_runpath=no
   16895       need_lib_prefix=no
   16896       runpath_var=LD_RUN_PATH
   16897       ;;
   16898     siemens)
   16899       need_lib_prefix=no
   16900       ;;
   16901     motorola)
   16902       need_lib_prefix=no
   16903       need_version=no
   16904       shlibpath_overrides_runpath=no
   16905       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16906       ;;
   16907   esac
   16908   ;;
   16909 
   16910 sysv4*MP*)
   16911   if test -d /usr/nec ;then
   16912     version_type=linux
   16913     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16914     soname_spec='$libname${shared_ext}.$major'
   16915     shlibpath_var=LD_LIBRARY_PATH
   16916   fi
   16917   ;;
   16918 
   16919 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16920   version_type=freebsd-elf
   16921   need_lib_prefix=no
   16922   need_version=no
   16923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16924   soname_spec='${libname}${release}${shared_ext}$major'
   16925   shlibpath_var=LD_LIBRARY_PATH
   16926   shlibpath_overrides_runpath=yes
   16927   hardcode_into_libs=yes
   16928   if test "$with_gnu_ld" = yes; then
   16929     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16930   else
   16931     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16932     case $host_os in
   16933       sco3.2v5*)
   16934         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16935 	;;
   16936     esac
   16937   fi
   16938   sys_lib_dlsearch_path_spec='/usr/lib'
   16939   ;;
   16940 
   16941 tpf*)
   16942   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16943   version_type=linux
   16944   need_lib_prefix=no
   16945   need_version=no
   16946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16947   shlibpath_var=LD_LIBRARY_PATH
   16948   shlibpath_overrides_runpath=no
   16949   hardcode_into_libs=yes
   16950   ;;
   16951 
   16952 uts4*)
   16953   version_type=linux
   16954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16955   soname_spec='${libname}${release}${shared_ext}$major'
   16956   shlibpath_var=LD_LIBRARY_PATH
   16957   ;;
   16958 
   16959 *)
   16960   dynamic_linker=no
   16961   ;;
   16962 esac
   16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16964 $as_echo "$dynamic_linker" >&6; }
   16965 test "$dynamic_linker" = no && can_build_shared=no
   16966 
   16967 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16968 if test "$GCC" = yes; then
   16969   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16970 fi
   16971 
   16972 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16973   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16974 fi
   16975 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16976   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16977 fi
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17071 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17072 hardcode_action=
   17073 if test -n "$hardcode_libdir_flag_spec" ||
   17074    test -n "$runpath_var" ||
   17075    test "X$hardcode_automatic" = "Xyes" ; then
   17076 
   17077   # We can hardcode non-existent directories.
   17078   if test "$hardcode_direct" != no &&
   17079      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17080      # have to relink, otherwise we might link with an installed library
   17081      # when we should be linking with a yet-to-be-installed one
   17082      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17083      test "$hardcode_minus_L" != no; then
   17084     # Linking always hardcodes the temporary library directory.
   17085     hardcode_action=relink
   17086   else
   17087     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17088     hardcode_action=immediate
   17089   fi
   17090 else
   17091   # We cannot hardcode anything, or else we can only hardcode existing
   17092   # directories.
   17093   hardcode_action=unsupported
   17094 fi
   17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17096 $as_echo "$hardcode_action" >&6; }
   17097 
   17098 if test "$hardcode_action" = relink ||
   17099    test "$inherit_rpath" = yes; then
   17100   # Fast installation is not supported
   17101   enable_fast_install=no
   17102 elif test "$shlibpath_overrides_runpath" = yes ||
   17103      test "$enable_shared" = no; then
   17104   # Fast installation is not necessary
   17105   enable_fast_install=needless
   17106 fi
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113   if test "x$enable_dlopen" != xyes; then
   17114   enable_dlopen=unknown
   17115   enable_dlopen_self=unknown
   17116   enable_dlopen_self_static=unknown
   17117 else
   17118   lt_cv_dlopen=no
   17119   lt_cv_dlopen_libs=
   17120 
   17121   case $host_os in
   17122   beos*)
   17123     lt_cv_dlopen="load_add_on"
   17124     lt_cv_dlopen_libs=
   17125     lt_cv_dlopen_self=yes
   17126     ;;
   17127 
   17128   mingw* | pw32* | cegcc*)
   17129     lt_cv_dlopen="LoadLibrary"
   17130     lt_cv_dlopen_libs=
   17131     ;;
   17132 
   17133   cygwin*)
   17134     lt_cv_dlopen="dlopen"
   17135     lt_cv_dlopen_libs=
   17136     ;;
   17137 
   17138   darwin*)
   17139   # if libdl is installed we need to link against it
   17140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17141 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17142 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17143   $as_echo_n "(cached) " >&6
   17144 else
   17145   ac_check_lib_save_LIBS=$LIBS
   17146 LIBS="-ldl  $LIBS"
   17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17148 /* end confdefs.h.  */
   17149 
   17150 /* Override any GCC internal prototype to avoid an error.
   17151    Use char because int might match the return type of a GCC
   17152    builtin and then its argument prototype would still apply.  */
   17153 #ifdef __cplusplus
   17154 extern "C"
   17155 #endif
   17156 char dlopen ();
   17157 int
   17158 main ()
   17159 {
   17160 return dlopen ();
   17161   ;
   17162   return 0;
   17163 }
   17164 _ACEOF
   17165 if ac_fn_c_try_link "$LINENO"; then :
   17166   ac_cv_lib_dl_dlopen=yes
   17167 else
   17168   ac_cv_lib_dl_dlopen=no
   17169 fi
   17170 rm -f core conftest.err conftest.$ac_objext \
   17171     conftest$ac_exeext conftest.$ac_ext
   17172 LIBS=$ac_check_lib_save_LIBS
   17173 fi
   17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17176 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17177   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17178 else
   17179 
   17180     lt_cv_dlopen="dyld"
   17181     lt_cv_dlopen_libs=
   17182     lt_cv_dlopen_self=yes
   17183 
   17184 fi
   17185 
   17186     ;;
   17187 
   17188   *)
   17189     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17190 if test "x$ac_cv_func_shl_load" = xyes; then :
   17191   lt_cv_dlopen="shl_load"
   17192 else
   17193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17194 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17195 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17196   $as_echo_n "(cached) " >&6
   17197 else
   17198   ac_check_lib_save_LIBS=$LIBS
   17199 LIBS="-ldld  $LIBS"
   17200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17201 /* end confdefs.h.  */
   17202 
   17203 /* Override any GCC internal prototype to avoid an error.
   17204    Use char because int might match the return type of a GCC
   17205    builtin and then its argument prototype would still apply.  */
   17206 #ifdef __cplusplus
   17207 extern "C"
   17208 #endif
   17209 char shl_load ();
   17210 int
   17211 main ()
   17212 {
   17213 return shl_load ();
   17214   ;
   17215   return 0;
   17216 }
   17217 _ACEOF
   17218 if ac_fn_c_try_link "$LINENO"; then :
   17219   ac_cv_lib_dld_shl_load=yes
   17220 else
   17221   ac_cv_lib_dld_shl_load=no
   17222 fi
   17223 rm -f core conftest.err conftest.$ac_objext \
   17224     conftest$ac_exeext conftest.$ac_ext
   17225 LIBS=$ac_check_lib_save_LIBS
   17226 fi
   17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17228 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17229 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17230   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17231 else
   17232   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17233 if test "x$ac_cv_func_dlopen" = xyes; then :
   17234   lt_cv_dlopen="dlopen"
   17235 else
   17236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17237 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17238 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17239   $as_echo_n "(cached) " >&6
   17240 else
   17241   ac_check_lib_save_LIBS=$LIBS
   17242 LIBS="-ldl  $LIBS"
   17243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17244 /* end confdefs.h.  */
   17245 
   17246 /* Override any GCC internal prototype to avoid an error.
   17247    Use char because int might match the return type of a GCC
   17248    builtin and then its argument prototype would still apply.  */
   17249 #ifdef __cplusplus
   17250 extern "C"
   17251 #endif
   17252 char dlopen ();
   17253 int
   17254 main ()
   17255 {
   17256 return dlopen ();
   17257   ;
   17258   return 0;
   17259 }
   17260 _ACEOF
   17261 if ac_fn_c_try_link "$LINENO"; then :
   17262   ac_cv_lib_dl_dlopen=yes
   17263 else
   17264   ac_cv_lib_dl_dlopen=no
   17265 fi
   17266 rm -f core conftest.err conftest.$ac_objext \
   17267     conftest$ac_exeext conftest.$ac_ext
   17268 LIBS=$ac_check_lib_save_LIBS
   17269 fi
   17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17271 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17272 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17273   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17274 else
   17275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17276 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17277 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17278   $as_echo_n "(cached) " >&6
   17279 else
   17280   ac_check_lib_save_LIBS=$LIBS
   17281 LIBS="-lsvld  $LIBS"
   17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17283 /* end confdefs.h.  */
   17284 
   17285 /* Override any GCC internal prototype to avoid an error.
   17286    Use char because int might match the return type of a GCC
   17287    builtin and then its argument prototype would still apply.  */
   17288 #ifdef __cplusplus
   17289 extern "C"
   17290 #endif
   17291 char dlopen ();
   17292 int
   17293 main ()
   17294 {
   17295 return dlopen ();
   17296   ;
   17297   return 0;
   17298 }
   17299 _ACEOF
   17300 if ac_fn_c_try_link "$LINENO"; then :
   17301   ac_cv_lib_svld_dlopen=yes
   17302 else
   17303   ac_cv_lib_svld_dlopen=no
   17304 fi
   17305 rm -f core conftest.err conftest.$ac_objext \
   17306     conftest$ac_exeext conftest.$ac_ext
   17307 LIBS=$ac_check_lib_save_LIBS
   17308 fi
   17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17310 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17311 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17312   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17313 else
   17314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17315 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17316 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17317   $as_echo_n "(cached) " >&6
   17318 else
   17319   ac_check_lib_save_LIBS=$LIBS
   17320 LIBS="-ldld  $LIBS"
   17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17322 /* end confdefs.h.  */
   17323 
   17324 /* Override any GCC internal prototype to avoid an error.
   17325    Use char because int might match the return type of a GCC
   17326    builtin and then its argument prototype would still apply.  */
   17327 #ifdef __cplusplus
   17328 extern "C"
   17329 #endif
   17330 char dld_link ();
   17331 int
   17332 main ()
   17333 {
   17334 return dld_link ();
   17335   ;
   17336   return 0;
   17337 }
   17338 _ACEOF
   17339 if ac_fn_c_try_link "$LINENO"; then :
   17340   ac_cv_lib_dld_dld_link=yes
   17341 else
   17342   ac_cv_lib_dld_dld_link=no
   17343 fi
   17344 rm -f core conftest.err conftest.$ac_objext \
   17345     conftest$ac_exeext conftest.$ac_ext
   17346 LIBS=$ac_check_lib_save_LIBS
   17347 fi
   17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17349 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17350 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17351   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17352 fi
   17353 
   17354 
   17355 fi
   17356 
   17357 
   17358 fi
   17359 
   17360 
   17361 fi
   17362 
   17363 
   17364 fi
   17365 
   17366 
   17367 fi
   17368 
   17369     ;;
   17370   esac
   17371 
   17372   if test "x$lt_cv_dlopen" != xno; then
   17373     enable_dlopen=yes
   17374   else
   17375     enable_dlopen=no
   17376   fi
   17377 
   17378   case $lt_cv_dlopen in
   17379   dlopen)
   17380     save_CPPFLAGS="$CPPFLAGS"
   17381     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17382 
   17383     save_LDFLAGS="$LDFLAGS"
   17384     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17385 
   17386     save_LIBS="$LIBS"
   17387     LIBS="$lt_cv_dlopen_libs $LIBS"
   17388 
   17389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17390 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17391 if ${lt_cv_dlopen_self+:} false; then :
   17392   $as_echo_n "(cached) " >&6
   17393 else
   17394   	  if test "$cross_compiling" = yes; then :
   17395   lt_cv_dlopen_self=cross
   17396 else
   17397   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17398   lt_status=$lt_dlunknown
   17399   cat > conftest.$ac_ext <<_LT_EOF
   17400 #line $LINENO "configure"
   17401 #include "confdefs.h"
   17402 
   17403 #if HAVE_DLFCN_H
   17404 #include <dlfcn.h>
   17405 #endif
   17406 
   17407 #include <stdio.h>
   17408 
   17409 #ifdef RTLD_GLOBAL
   17410 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17411 #else
   17412 #  ifdef DL_GLOBAL
   17413 #    define LT_DLGLOBAL		DL_GLOBAL
   17414 #  else
   17415 #    define LT_DLGLOBAL		0
   17416 #  endif
   17417 #endif
   17418 
   17419 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17420    find out it does not work in some platform. */
   17421 #ifndef LT_DLLAZY_OR_NOW
   17422 #  ifdef RTLD_LAZY
   17423 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17424 #  else
   17425 #    ifdef DL_LAZY
   17426 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17427 #    else
   17428 #      ifdef RTLD_NOW
   17429 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17430 #      else
   17431 #        ifdef DL_NOW
   17432 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17433 #        else
   17434 #          define LT_DLLAZY_OR_NOW	0
   17435 #        endif
   17436 #      endif
   17437 #    endif
   17438 #  endif
   17439 #endif
   17440 
   17441 /* When -fvisbility=hidden is used, assume the code has been annotated
   17442    correspondingly for the symbols needed.  */
   17443 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17444 int fnord () __attribute__((visibility("default")));
   17445 #endif
   17446 
   17447 int fnord () { return 42; }
   17448 int main ()
   17449 {
   17450   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17451   int status = $lt_dlunknown;
   17452 
   17453   if (self)
   17454     {
   17455       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17456       else
   17457         {
   17458 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17459           else puts (dlerror ());
   17460 	}
   17461       /* dlclose (self); */
   17462     }
   17463   else
   17464     puts (dlerror ());
   17465 
   17466   return status;
   17467 }
   17468 _LT_EOF
   17469   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17470   (eval $ac_link) 2>&5
   17471   ac_status=$?
   17472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17473   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17474     (./conftest; exit; ) >&5 2>/dev/null
   17475     lt_status=$?
   17476     case x$lt_status in
   17477       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17478       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17479       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17480     esac
   17481   else :
   17482     # compilation failed
   17483     lt_cv_dlopen_self=no
   17484   fi
   17485 fi
   17486 rm -fr conftest*
   17487 
   17488 
   17489 fi
   17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17491 $as_echo "$lt_cv_dlopen_self" >&6; }
   17492 
   17493     if test "x$lt_cv_dlopen_self" = xyes; then
   17494       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17495       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17496 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17497 if ${lt_cv_dlopen_self_static+:} false; then :
   17498   $as_echo_n "(cached) " >&6
   17499 else
   17500   	  if test "$cross_compiling" = yes; then :
   17501   lt_cv_dlopen_self_static=cross
   17502 else
   17503   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17504   lt_status=$lt_dlunknown
   17505   cat > conftest.$ac_ext <<_LT_EOF
   17506 #line $LINENO "configure"
   17507 #include "confdefs.h"
   17508 
   17509 #if HAVE_DLFCN_H
   17510 #include <dlfcn.h>
   17511 #endif
   17512 
   17513 #include <stdio.h>
   17514 
   17515 #ifdef RTLD_GLOBAL
   17516 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17517 #else
   17518 #  ifdef DL_GLOBAL
   17519 #    define LT_DLGLOBAL		DL_GLOBAL
   17520 #  else
   17521 #    define LT_DLGLOBAL		0
   17522 #  endif
   17523 #endif
   17524 
   17525 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17526    find out it does not work in some platform. */
   17527 #ifndef LT_DLLAZY_OR_NOW
   17528 #  ifdef RTLD_LAZY
   17529 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17530 #  else
   17531 #    ifdef DL_LAZY
   17532 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17533 #    else
   17534 #      ifdef RTLD_NOW
   17535 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17536 #      else
   17537 #        ifdef DL_NOW
   17538 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17539 #        else
   17540 #          define LT_DLLAZY_OR_NOW	0
   17541 #        endif
   17542 #      endif
   17543 #    endif
   17544 #  endif
   17545 #endif
   17546 
   17547 /* When -fvisbility=hidden is used, assume the code has been annotated
   17548    correspondingly for the symbols needed.  */
   17549 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17550 int fnord () __attribute__((visibility("default")));
   17551 #endif
   17552 
   17553 int fnord () { return 42; }
   17554 int main ()
   17555 {
   17556   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17557   int status = $lt_dlunknown;
   17558 
   17559   if (self)
   17560     {
   17561       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17562       else
   17563         {
   17564 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17565           else puts (dlerror ());
   17566 	}
   17567       /* dlclose (self); */
   17568     }
   17569   else
   17570     puts (dlerror ());
   17571 
   17572   return status;
   17573 }
   17574 _LT_EOF
   17575   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17576   (eval $ac_link) 2>&5
   17577   ac_status=$?
   17578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17579   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17580     (./conftest; exit; ) >&5 2>/dev/null
   17581     lt_status=$?
   17582     case x$lt_status in
   17583       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17584       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17585       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17586     esac
   17587   else :
   17588     # compilation failed
   17589     lt_cv_dlopen_self_static=no
   17590   fi
   17591 fi
   17592 rm -fr conftest*
   17593 
   17594 
   17595 fi
   17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17597 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17598     fi
   17599 
   17600     CPPFLAGS="$save_CPPFLAGS"
   17601     LDFLAGS="$save_LDFLAGS"
   17602     LIBS="$save_LIBS"
   17603     ;;
   17604   esac
   17605 
   17606   case $lt_cv_dlopen_self in
   17607   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17608   *) enable_dlopen_self=unknown ;;
   17609   esac
   17610 
   17611   case $lt_cv_dlopen_self_static in
   17612   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17613   *) enable_dlopen_self_static=unknown ;;
   17614   esac
   17615 fi
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 striplib=
   17634 old_striplib=
   17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17636 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17637 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17638   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17639   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17641 $as_echo "yes" >&6; }
   17642 else
   17643 # FIXME - insert some real tests, host_os isn't really good enough
   17644   case $host_os in
   17645   darwin*)
   17646     if test -n "$STRIP" ; then
   17647       striplib="$STRIP -x"
   17648       old_striplib="$STRIP -S"
   17649       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17650 $as_echo "yes" >&6; }
   17651     else
   17652       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17653 $as_echo "no" >&6; }
   17654     fi
   17655     ;;
   17656   *)
   17657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17658 $as_echo "no" >&6; }
   17659     ;;
   17660   esac
   17661 fi
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674   # Report which library types will actually be built
   17675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17676 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17678 $as_echo "$can_build_shared" >&6; }
   17679 
   17680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17681 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17682   test "$can_build_shared" = "no" && enable_shared=no
   17683 
   17684   # On AIX, shared libraries and static libraries use the same namespace, and
   17685   # are all built from PIC.
   17686   case $host_os in
   17687   aix3*)
   17688     test "$enable_shared" = yes && enable_static=no
   17689     if test -n "$RANLIB"; then
   17690       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17691       postinstall_cmds='$RANLIB $lib'
   17692     fi
   17693     ;;
   17694 
   17695   aix[4-9]*)
   17696     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17697       test "$enable_shared" = yes && enable_static=no
   17698     fi
   17699     ;;
   17700   esac
   17701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17702 $as_echo "$enable_shared" >&6; }
   17703 
   17704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17705 $as_echo_n "checking whether to build static libraries... " >&6; }
   17706   # Make sure either enable_shared or enable_static is yes.
   17707   test "$enable_shared" = yes || enable_static=yes
   17708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17709 $as_echo "$enable_static" >&6; }
   17710 
   17711 
   17712 
   17713 
   17714 fi
   17715 ac_ext=c
   17716 ac_cpp='$CPP $CPPFLAGS'
   17717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17720 
   17721 CC="$lt_save_CC"
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735         ac_config_commands="$ac_config_commands libtool"
   17736 
   17737 
   17738 
   17739 
   17740 # Only expand once:
   17741 
   17742 
   17743 case $host_cpu in
   17744     sparc*)
   17745         CCASFLAGS="-x assembler-with-cpp -Wa,-Av9a"
   17746         SPARC=yes
   17747 esac
   17748 # By default we simply use the C compiler to build assembly code.
   17749 
   17750 test "${CCAS+set}" = set || CCAS=$CC
   17751 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   17752 
   17753 
   17754 
   17755 depcc="$CCAS"   am_compiler_list=
   17756 
   17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   17758 $as_echo_n "checking dependency style of $depcc... " >&6; }
   17759 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
   17760   $as_echo_n "(cached) " >&6
   17761 else
   17762   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   17763   # We make a subdir and do the tests there.  Otherwise we can end up
   17764   # making bogus files that we don't know about and never remove.  For
   17765   # instance it was reported that on HP-UX the gcc test will end up
   17766   # making a dummy file named 'D' -- because '-MD' means "put the output
   17767   # in D".
   17768   rm -rf conftest.dir
   17769   mkdir conftest.dir
   17770   # Copy depcomp to subdir because otherwise we won't find it if we're
   17771   # using a relative directory.
   17772   cp "$am_depcomp" conftest.dir
   17773   cd conftest.dir
   17774   # We will build objects and dependencies in a subdirectory because
   17775   # it helps to detect inapplicable dependency modes.  For instance
   17776   # both Tru64's cc and ICC support -MD to output dependencies as a
   17777   # side effect of compilation, but ICC will put the dependencies in
   17778   # the current directory while Tru64 will put them in the object
   17779   # directory.
   17780   mkdir sub
   17781 
   17782   am_cv_CCAS_dependencies_compiler_type=none
   17783   if test "$am_compiler_list" = ""; then
   17784      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   17785   fi
   17786   am__universal=false
   17787 
   17788 
   17789   for depmode in $am_compiler_list; do
   17790     # Setup a source with many dependencies, because some compilers
   17791     # like to wrap large dependency lists on column 80 (with \), and
   17792     # we should not choose a depcomp mode which is confused by this.
   17793     #
   17794     # We need to recreate these files for each test, as the compiler may
   17795     # overwrite some of them when testing with obscure command lines.
   17796     # This happens at least with the AIX C compiler.
   17797     : > sub/conftest.c
   17798     for i in 1 2 3 4 5 6; do
   17799       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   17800       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   17801       # Solaris 10 /bin/sh.
   17802       echo '/* dummy */' > sub/conftst$i.h
   17803     done
   17804     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   17805 
   17806     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   17807     # mode.  It turns out that the SunPro C++ compiler does not properly
   17808     # handle '-M -o', and we need to detect this.  Also, some Intel
   17809     # versions had trouble with output in subdirs.
   17810     am__obj=sub/conftest.${OBJEXT-o}
   17811     am__minus_obj="-o $am__obj"
   17812     case $depmode in
   17813     gcc)
   17814       # This depmode causes a compiler race in universal mode.
   17815       test "$am__universal" = false || continue
   17816       ;;
   17817     nosideeffect)
   17818       # After this tag, mechanisms are not by side-effect, so they'll
   17819       # only be used when explicitly requested.
   17820       if test "x$enable_dependency_tracking" = xyes; then
   17821 	continue
   17822       else
   17823 	break
   17824       fi
   17825       ;;
   17826     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   17827       # This compiler won't grok '-c -o', but also, the minuso test has
   17828       # not run yet.  These depmodes are late enough in the game, and
   17829       # so weak that their functioning should not be impacted.
   17830       am__obj=conftest.${OBJEXT-o}
   17831       am__minus_obj=
   17832       ;;
   17833     none) break ;;
   17834     esac
   17835     if depmode=$depmode \
   17836        source=sub/conftest.c object=$am__obj \
   17837        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   17838        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   17839          >/dev/null 2>conftest.err &&
   17840        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   17841        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   17842        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   17843        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   17844       # icc doesn't choke on unknown options, it will just issue warnings
   17845       # or remarks (even with -Werror).  So we grep stderr for any message
   17846       # that says an option was ignored or not supported.
   17847       # When given -MP, icc 7.0 and 7.1 complain thusly:
   17848       #   icc: Command line warning: ignoring option '-M'; no argument required
   17849       # The diagnosis changed in icc 8.0:
   17850       #   icc: Command line remark: option '-MP' not supported
   17851       if (grep 'ignoring option' conftest.err ||
   17852           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   17853         am_cv_CCAS_dependencies_compiler_type=$depmode
   17854         break
   17855       fi
   17856     fi
   17857   done
   17858 
   17859   cd ..
   17860   rm -rf conftest.dir
   17861 else
   17862   am_cv_CCAS_dependencies_compiler_type=none
   17863 fi
   17864 
   17865 fi
   17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   17867 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   17868 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   17869 
   17870  if
   17871   test "x$enable_dependency_tracking" != xno \
   17872   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   17873   am__fastdepCCAS_TRUE=
   17874   am__fastdepCCAS_FALSE='#'
   17875 else
   17876   am__fastdepCCAS_TRUE='#'
   17877   am__fastdepCCAS_FALSE=
   17878 fi
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 # Define a configure option for an alternate module directory
   17885 
   17886 # Check whether --with-xorg-module-dir was given.
   17887 if test "${with_xorg_module_dir+set}" = set; then :
   17888   withval=$with_xorg_module_dir; moduledir="$withval"
   17889 else
   17890   moduledir="$libdir/xorg/modules"
   17891 fi
   17892 
   17893 
   17894 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17895 
   17896 
   17897 	SAVE_CFLAGS="$CFLAGS"
   17898 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17899 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17900 /* end confdefs.h.  */
   17901 
   17902 #include "xorg-server.h"
   17903 #if !defined RANDR
   17904 #error RANDR not defined
   17905 #endif
   17906 
   17907 int
   17908 main ()
   17909 {
   17910 
   17911   ;
   17912   return 0;
   17913 }
   17914 _ACEOF
   17915 if ac_fn_c_try_compile "$LINENO"; then :
   17916   _EXT_CHECK=yes
   17917 else
   17918   _EXT_CHECK=no
   17919 fi
   17920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17921 	CFLAGS="$SAVE_CFLAGS"
   17922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17923 $as_echo_n "checking if RANDR is defined... " >&6; }
   17924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17925 $as_echo "$_EXT_CHECK" >&6; }
   17926 	if test "$_EXT_CHECK" != no; then
   17927 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17928 	fi
   17929 
   17930 
   17931 
   17932 	SAVE_CFLAGS="$CFLAGS"
   17933 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17934 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17935 /* end confdefs.h.  */
   17936 
   17937 #include "xorg-server.h"
   17938 #if !defined RENDER
   17939 #error RENDER not defined
   17940 #endif
   17941 
   17942 int
   17943 main ()
   17944 {
   17945 
   17946   ;
   17947   return 0;
   17948 }
   17949 _ACEOF
   17950 if ac_fn_c_try_compile "$LINENO"; then :
   17951   _EXT_CHECK=yes
   17952 else
   17953   _EXT_CHECK=no
   17954 fi
   17955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17956 	CFLAGS="$SAVE_CFLAGS"
   17957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17958 $as_echo_n "checking if RENDER is defined... " >&6; }
   17959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17960 $as_echo "$_EXT_CHECK" >&6; }
   17961 	if test "$_EXT_CHECK" != no; then
   17962 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17963 	fi
   17964 
   17965 
   17966 
   17967 	SAVE_CFLAGS="$CFLAGS"
   17968 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17969 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17970 /* end confdefs.h.  */
   17971 
   17972 #include "xorg-server.h"
   17973 #if !defined DPMSExtension
   17974 #error DPMSExtension not defined
   17975 #endif
   17976 
   17977 int
   17978 main ()
   17979 {
   17980 
   17981   ;
   17982   return 0;
   17983 }
   17984 _ACEOF
   17985 if ac_fn_c_try_compile "$LINENO"; then :
   17986   _EXT_CHECK=yes
   17987 else
   17988   _EXT_CHECK=no
   17989 fi
   17990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17991 	CFLAGS="$SAVE_CFLAGS"
   17992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17993 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17995 $as_echo "$_EXT_CHECK" >&6; }
   17996 	if test "$_EXT_CHECK" != no; then
   17997 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17998 	fi
   17999 
   18000 
   18001 # Obtain compiler/linker options for the driver dependencies
   18002 
   18003 pkg_failed=no
   18004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18005 $as_echo_n "checking for XORG... " >&6; }
   18006 
   18007 if test -n "$XORG_CFLAGS"; then
   18008     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18009  elif test -n "$PKG_CONFIG"; then
   18010     if test -n "$PKG_CONFIG" && \
   18011     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18012   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18013   ac_status=$?
   18014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18015   test $ac_status = 0; }; then
   18016   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18017 		      test "x$?" != "x0" && pkg_failed=yes
   18018 else
   18019   pkg_failed=yes
   18020 fi
   18021  else
   18022     pkg_failed=untried
   18023 fi
   18024 if test -n "$XORG_LIBS"; then
   18025     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18026  elif test -n "$PKG_CONFIG"; then
   18027     if test -n "$PKG_CONFIG" && \
   18028     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18029   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18030   ac_status=$?
   18031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18032   test $ac_status = 0; }; then
   18033   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18034 		      test "x$?" != "x0" && pkg_failed=yes
   18035 else
   18036   pkg_failed=yes
   18037 fi
   18038  else
   18039     pkg_failed=untried
   18040 fi
   18041 
   18042 
   18043 
   18044 if test $pkg_failed = yes; then
   18045    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18046 $as_echo "no" >&6; }
   18047 
   18048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18049         _pkg_short_errors_supported=yes
   18050 else
   18051         _pkg_short_errors_supported=no
   18052 fi
   18053         if test $_pkg_short_errors_supported = yes; then
   18054 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18055         else
   18056 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18057         fi
   18058 	# Put the nasty error message in config.log where it belongs
   18059 	echo "$XORG_PKG_ERRORS" >&5
   18060 
   18061 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18062 
   18063 $XORG_PKG_ERRORS
   18064 
   18065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18066 installed software in a non-standard prefix.
   18067 
   18068 Alternatively, you may set the environment variables XORG_CFLAGS
   18069 and XORG_LIBS to avoid the need to call pkg-config.
   18070 See the pkg-config man page for more details." "$LINENO" 5
   18071 elif test $pkg_failed = untried; then
   18072      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18073 $as_echo "no" >&6; }
   18074 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18076 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18077 is in your PATH or set the PKG_CONFIG environment variable to the full
   18078 path to pkg-config.
   18079 
   18080 Alternatively, you may set the environment variables XORG_CFLAGS
   18081 and XORG_LIBS to avoid the need to call pkg-config.
   18082 See the pkg-config man page for more details.
   18083 
   18084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18085 See \`config.log' for more details" "$LINENO" 5; }
   18086 else
   18087 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18088 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18089         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18090 $as_echo "yes" >&6; }
   18091 
   18092 fi
   18093 
   18094 pkg_failed=no
   18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18096 $as_echo_n "checking for XEXT... " >&6; }
   18097 
   18098 if test -n "$XEXT_CFLAGS"; then
   18099     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18100  elif test -n "$PKG_CONFIG"; then
   18101     if test -n "$PKG_CONFIG" && \
   18102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18103   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18104   ac_status=$?
   18105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18106   test $ac_status = 0; }; then
   18107   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18108 		      test "x$?" != "x0" && pkg_failed=yes
   18109 else
   18110   pkg_failed=yes
   18111 fi
   18112  else
   18113     pkg_failed=untried
   18114 fi
   18115 if test -n "$XEXT_LIBS"; then
   18116     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18117  elif test -n "$PKG_CONFIG"; then
   18118     if test -n "$PKG_CONFIG" && \
   18119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18120   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18121   ac_status=$?
   18122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18123   test $ac_status = 0; }; then
   18124   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18125 		      test "x$?" != "x0" && pkg_failed=yes
   18126 else
   18127   pkg_failed=yes
   18128 fi
   18129  else
   18130     pkg_failed=untried
   18131 fi
   18132 
   18133 
   18134 
   18135 if test $pkg_failed = yes; then
   18136    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18137 $as_echo "no" >&6; }
   18138 
   18139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18140         _pkg_short_errors_supported=yes
   18141 else
   18142         _pkg_short_errors_supported=no
   18143 fi
   18144         if test $_pkg_short_errors_supported = yes; then
   18145 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18146         else
   18147 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18148         fi
   18149 	# Put the nasty error message in config.log where it belongs
   18150 	echo "$XEXT_PKG_ERRORS" >&5
   18151 
   18152 	HAVE_XEXTPROTO_71="no"
   18153 elif test $pkg_failed = untried; then
   18154      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18155 $as_echo "no" >&6; }
   18156 	HAVE_XEXTPROTO_71="no"
   18157 else
   18158 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18159 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18160         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18161 $as_echo "yes" >&6; }
   18162 	HAVE_XEXTPROTO_71="yes";
   18163 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18164 
   18165 fi
   18166  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18167   HAVE_XEXTPROTO_71_TRUE=
   18168   HAVE_XEXTPROTO_71_FALSE='#'
   18169 else
   18170   HAVE_XEXTPROTO_71_TRUE='#'
   18171   HAVE_XEXTPROTO_71_FALSE=
   18172 fi
   18173 
   18174 
   18175 # Checks for libraries.
   18176 
   18177 # Check whether --enable-xaa was given.
   18178 if test "${enable_xaa+set}" = set; then :
   18179   enableval=$enable_xaa; XAA="$enableval"
   18180 else
   18181   XAA=auto
   18182 fi
   18183 
   18184 if test "x$XAA" != xno; then
   18185         save_CFLAGS=$CFLAGS
   18186         save_CPPFLAGS=$CPPFLAGS
   18187         CFLAGS=$XORG_CFLAGS
   18188         CPPFLAGS="$XORG_CFLAGS"
   18189         for ac_header in xaa.h
   18190 do :
   18191   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18192 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18193   cat >>confdefs.h <<_ACEOF
   18194 #define HAVE_XAA_H 1
   18195 _ACEOF
   18196  XAA=yes
   18197 else
   18198   XAA=no
   18199 fi
   18200 
   18201 done
   18202 
   18203         CFLAGS=$save_CFLAGS
   18204         CPPFLAGS=$save_CPPFLAGS
   18205 fi
   18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18207 $as_echo_n "checking whether to include XAA support... " >&6; }
   18208  if test "x$XAA" = xyes; then
   18209   XAA_TRUE=
   18210   XAA_FALSE='#'
   18211 else
   18212   XAA_TRUE='#'
   18213   XAA_FALSE=
   18214 fi
   18215 
   18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18217 $as_echo "$XAA" >&6; }
   18218 
   18219  if test x$SPARC = xyes; then
   18220   SPARC_TRUE=
   18221   SPARC_FALSE='#'
   18222 else
   18223   SPARC_TRUE='#'
   18224   SPARC_FALSE=
   18225 fi
   18226 
   18227 
   18228 
   18229 
   18230 DRIVER_NAME=sunffb
   18231 
   18232 
   18233 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18234 
   18235 cat >confcache <<\_ACEOF
   18236 # This file is a shell script that caches the results of configure
   18237 # tests run on this system so they can be shared between configure
   18238 # scripts and configure runs, see configure's option --config-cache.
   18239 # It is not useful on other systems.  If it contains results you don't
   18240 # want to keep, you may remove or edit it.
   18241 #
   18242 # config.status only pays attention to the cache file if you give it
   18243 # the --recheck option to rerun configure.
   18244 #
   18245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18247 # following values.
   18248 
   18249 _ACEOF
   18250 
   18251 # The following way of writing the cache mishandles newlines in values,
   18252 # but we know of no workaround that is simple, portable, and efficient.
   18253 # So, we kill variables containing newlines.
   18254 # Ultrix sh set writes to stderr and can't be redirected directly,
   18255 # and sets the high bit in the cache file unless we assign to the vars.
   18256 (
   18257   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18258     eval ac_val=\$$ac_var
   18259     case $ac_val in #(
   18260     *${as_nl}*)
   18261       case $ac_var in #(
   18262       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18263 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18264       esac
   18265       case $ac_var in #(
   18266       _ | IFS | as_nl) ;; #(
   18267       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18268       *) { eval $ac_var=; unset $ac_var;} ;;
   18269       esac ;;
   18270     esac
   18271   done
   18272 
   18273   (set) 2>&1 |
   18274     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18275     *${as_nl}ac_space=\ *)
   18276       # `set' does not quote correctly, so add quotes: double-quote
   18277       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18278       sed -n \
   18279 	"s/'/'\\\\''/g;
   18280 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18281       ;; #(
   18282     *)
   18283       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18284       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18285       ;;
   18286     esac |
   18287     sort
   18288 ) |
   18289   sed '
   18290      /^ac_cv_env_/b end
   18291      t clear
   18292      :clear
   18293      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18294      t end
   18295      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18296      :end' >>confcache
   18297 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18298   if test -w "$cache_file"; then
   18299     if test "x$cache_file" != "x/dev/null"; then
   18300       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18301 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18302       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18303 	cat confcache >"$cache_file"
   18304       else
   18305         case $cache_file in #(
   18306         */* | ?:*)
   18307 	  mv -f confcache "$cache_file"$$ &&
   18308 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18309         *)
   18310 	  mv -f confcache "$cache_file" ;;
   18311 	esac
   18312       fi
   18313     fi
   18314   else
   18315     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18316 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18317   fi
   18318 fi
   18319 rm -f confcache
   18320 
   18321 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18322 # Let make expand exec_prefix.
   18323 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18324 
   18325 DEFS=-DHAVE_CONFIG_H
   18326 
   18327 ac_libobjs=
   18328 ac_ltlibobjs=
   18329 U=
   18330 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18331   # 1. Remove the extension, and $U if already installed.
   18332   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18333   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18334   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18335   #    will be set to the directory where LIBOBJS objects are built.
   18336   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18337   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18338 done
   18339 LIBOBJS=$ac_libobjs
   18340 
   18341 LTLIBOBJS=$ac_ltlibobjs
   18342 
   18343 
   18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18345 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18346    if test -n "$am_sleep_pid"; then
   18347      # Hide warnings about reused PIDs.
   18348      wait $am_sleep_pid 2>/dev/null
   18349    fi
   18350    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18351 $as_echo "done" >&6; }
   18352  if test -n "$EXEEXT"; then
   18353   am__EXEEXT_TRUE=
   18354   am__EXEEXT_FALSE='#'
   18355 else
   18356   am__EXEEXT_TRUE='#'
   18357   am__EXEEXT_FALSE=
   18358 fi
   18359 
   18360 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18361   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18363 fi
   18364 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18365   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18367 fi
   18368 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18369   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18371 fi
   18372 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   18373   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
   18374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18375 fi
   18376 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   18377   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   18378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18379 fi
   18380 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18381   as_fn_error $? "conditional \"XAA\" was never defined.
   18382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18383 fi
   18384 if test -z "${SPARC_TRUE}" && test -z "${SPARC_FALSE}"; then
   18385   as_fn_error $? "conditional \"SPARC\" was never defined.
   18386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18387 fi
   18388 
   18389 : "${CONFIG_STATUS=./config.status}"
   18390 ac_write_fail=0
   18391 ac_clean_files_save=$ac_clean_files
   18392 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18393 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18394 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18395 as_write_fail=0
   18396 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18397 #! $SHELL
   18398 # Generated by $as_me.
   18399 # Run this file to recreate the current configuration.
   18400 # Compiler output produced by configure, useful for debugging
   18401 # configure, is in config.log if it exists.
   18402 
   18403 debug=false
   18404 ac_cs_recheck=false
   18405 ac_cs_silent=false
   18406 
   18407 SHELL=\${CONFIG_SHELL-$SHELL}
   18408 export SHELL
   18409 _ASEOF
   18410 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18411 ## -------------------- ##
   18412 ## M4sh Initialization. ##
   18413 ## -------------------- ##
   18414 
   18415 # Be more Bourne compatible
   18416 DUALCASE=1; export DUALCASE # for MKS sh
   18417 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18418   emulate sh
   18419   NULLCMD=:
   18420   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18421   # is contrary to our usage.  Disable this feature.
   18422   alias -g '${1+"$@"}'='"$@"'
   18423   setopt NO_GLOB_SUBST
   18424 else
   18425   case `(set -o) 2>/dev/null` in #(
   18426   *posix*) :
   18427     set -o posix ;; #(
   18428   *) :
   18429      ;;
   18430 esac
   18431 fi
   18432 
   18433 
   18434 as_nl='
   18435 '
   18436 export as_nl
   18437 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18438 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18441 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18442 # but without wasting forks for bash or zsh.
   18443 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18444     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18445   as_echo='print -r --'
   18446   as_echo_n='print -rn --'
   18447 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18448   as_echo='printf %s\n'
   18449   as_echo_n='printf %s'
   18450 else
   18451   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18452     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18453     as_echo_n='/usr/ucb/echo -n'
   18454   else
   18455     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18456     as_echo_n_body='eval
   18457       arg=$1;
   18458       case $arg in #(
   18459       *"$as_nl"*)
   18460 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18461 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18462       esac;
   18463       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18464     '
   18465     export as_echo_n_body
   18466     as_echo_n='sh -c $as_echo_n_body as_echo'
   18467   fi
   18468   export as_echo_body
   18469   as_echo='sh -c $as_echo_body as_echo'
   18470 fi
   18471 
   18472 # The user is always right.
   18473 if test "${PATH_SEPARATOR+set}" != set; then
   18474   PATH_SEPARATOR=:
   18475   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18476     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18477       PATH_SEPARATOR=';'
   18478   }
   18479 fi
   18480 
   18481 
   18482 # IFS
   18483 # We need space, tab and new line, in precisely that order.  Quoting is
   18484 # there to prevent editors from complaining about space-tab.
   18485 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18486 # splitting by setting IFS to empty value.)
   18487 IFS=" ""	$as_nl"
   18488 
   18489 # Find who we are.  Look in the path if we contain no directory separator.
   18490 as_myself=
   18491 case $0 in #((
   18492   *[\\/]* ) as_myself=$0 ;;
   18493   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18494 for as_dir in $PATH
   18495 do
   18496   IFS=$as_save_IFS
   18497   test -z "$as_dir" && as_dir=.
   18498     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18499   done
   18500 IFS=$as_save_IFS
   18501 
   18502      ;;
   18503 esac
   18504 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18505 # in which case we are not to be found in the path.
   18506 if test "x$as_myself" = x; then
   18507   as_myself=$0
   18508 fi
   18509 if test ! -f "$as_myself"; then
   18510   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18511   exit 1
   18512 fi
   18513 
   18514 # Unset variables that we do not need and which cause bugs (e.g. in
   18515 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18516 # suppresses any "Segmentation fault" message there.  '((' could
   18517 # trigger a bug in pdksh 5.2.14.
   18518 for as_var in BASH_ENV ENV MAIL MAILPATH
   18519 do eval test x\${$as_var+set} = xset \
   18520   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18521 done
   18522 PS1='$ '
   18523 PS2='> '
   18524 PS4='+ '
   18525 
   18526 # NLS nuisances.
   18527 LC_ALL=C
   18528 export LC_ALL
   18529 LANGUAGE=C
   18530 export LANGUAGE
   18531 
   18532 # CDPATH.
   18533 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18534 
   18535 
   18536 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18537 # ----------------------------------------
   18538 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18539 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18540 # script with STATUS, using 1 if that was 0.
   18541 as_fn_error ()
   18542 {
   18543   as_status=$1; test $as_status -eq 0 && as_status=1
   18544   if test "$4"; then
   18545     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18546     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18547   fi
   18548   $as_echo "$as_me: error: $2" >&2
   18549   as_fn_exit $as_status
   18550 } # as_fn_error
   18551 
   18552 
   18553 # as_fn_set_status STATUS
   18554 # -----------------------
   18555 # Set $? to STATUS, without forking.
   18556 as_fn_set_status ()
   18557 {
   18558   return $1
   18559 } # as_fn_set_status
   18560 
   18561 # as_fn_exit STATUS
   18562 # -----------------
   18563 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18564 as_fn_exit ()
   18565 {
   18566   set +e
   18567   as_fn_set_status $1
   18568   exit $1
   18569 } # as_fn_exit
   18570 
   18571 # as_fn_unset VAR
   18572 # ---------------
   18573 # Portably unset VAR.
   18574 as_fn_unset ()
   18575 {
   18576   { eval $1=; unset $1;}
   18577 }
   18578 as_unset=as_fn_unset
   18579 # as_fn_append VAR VALUE
   18580 # ----------------------
   18581 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18582 # advantage of any shell optimizations that allow amortized linear growth over
   18583 # repeated appends, instead of the typical quadratic growth present in naive
   18584 # implementations.
   18585 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18586   eval 'as_fn_append ()
   18587   {
   18588     eval $1+=\$2
   18589   }'
   18590 else
   18591   as_fn_append ()
   18592   {
   18593     eval $1=\$$1\$2
   18594   }
   18595 fi # as_fn_append
   18596 
   18597 # as_fn_arith ARG...
   18598 # ------------------
   18599 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18600 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18601 # must be portable across $(()) and expr.
   18602 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18603   eval 'as_fn_arith ()
   18604   {
   18605     as_val=$(( $* ))
   18606   }'
   18607 else
   18608   as_fn_arith ()
   18609   {
   18610     as_val=`expr "$@" || test $? -eq 1`
   18611   }
   18612 fi # as_fn_arith
   18613 
   18614 
   18615 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18616    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18617   as_expr=expr
   18618 else
   18619   as_expr=false
   18620 fi
   18621 
   18622 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18623   as_basename=basename
   18624 else
   18625   as_basename=false
   18626 fi
   18627 
   18628 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18629   as_dirname=dirname
   18630 else
   18631   as_dirname=false
   18632 fi
   18633 
   18634 as_me=`$as_basename -- "$0" ||
   18635 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18636 	 X"$0" : 'X\(//\)$' \| \
   18637 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18638 $as_echo X/"$0" |
   18639     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18640 	    s//\1/
   18641 	    q
   18642 	  }
   18643 	  /^X\/\(\/\/\)$/{
   18644 	    s//\1/
   18645 	    q
   18646 	  }
   18647 	  /^X\/\(\/\).*/{
   18648 	    s//\1/
   18649 	    q
   18650 	  }
   18651 	  s/.*/./; q'`
   18652 
   18653 # Avoid depending upon Character Ranges.
   18654 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18655 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18656 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18657 as_cr_digits='0123456789'
   18658 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18659 
   18660 ECHO_C= ECHO_N= ECHO_T=
   18661 case `echo -n x` in #(((((
   18662 -n*)
   18663   case `echo 'xy\c'` in
   18664   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18665   xy)  ECHO_C='\c';;
   18666   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18667        ECHO_T='	';;
   18668   esac;;
   18669 *)
   18670   ECHO_N='-n';;
   18671 esac
   18672 
   18673 rm -f conf$$ conf$$.exe conf$$.file
   18674 if test -d conf$$.dir; then
   18675   rm -f conf$$.dir/conf$$.file
   18676 else
   18677   rm -f conf$$.dir
   18678   mkdir conf$$.dir 2>/dev/null
   18679 fi
   18680 if (echo >conf$$.file) 2>/dev/null; then
   18681   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18682     as_ln_s='ln -s'
   18683     # ... but there are two gotchas:
   18684     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18685     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18686     # In both cases, we have to default to `cp -pR'.
   18687     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18688       as_ln_s='cp -pR'
   18689   elif ln conf$$.file conf$$ 2>/dev/null; then
   18690     as_ln_s=ln
   18691   else
   18692     as_ln_s='cp -pR'
   18693   fi
   18694 else
   18695   as_ln_s='cp -pR'
   18696 fi
   18697 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18698 rmdir conf$$.dir 2>/dev/null
   18699 
   18700 
   18701 # as_fn_mkdir_p
   18702 # -------------
   18703 # Create "$as_dir" as a directory, including parents if necessary.
   18704 as_fn_mkdir_p ()
   18705 {
   18706 
   18707   case $as_dir in #(
   18708   -*) as_dir=./$as_dir;;
   18709   esac
   18710   test -d "$as_dir" || eval $as_mkdir_p || {
   18711     as_dirs=
   18712     while :; do
   18713       case $as_dir in #(
   18714       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18715       *) as_qdir=$as_dir;;
   18716       esac
   18717       as_dirs="'$as_qdir' $as_dirs"
   18718       as_dir=`$as_dirname -- "$as_dir" ||
   18719 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18720 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18721 	 X"$as_dir" : 'X\(//\)$' \| \
   18722 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18723 $as_echo X"$as_dir" |
   18724     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18725 	    s//\1/
   18726 	    q
   18727 	  }
   18728 	  /^X\(\/\/\)[^/].*/{
   18729 	    s//\1/
   18730 	    q
   18731 	  }
   18732 	  /^X\(\/\/\)$/{
   18733 	    s//\1/
   18734 	    q
   18735 	  }
   18736 	  /^X\(\/\).*/{
   18737 	    s//\1/
   18738 	    q
   18739 	  }
   18740 	  s/.*/./; q'`
   18741       test -d "$as_dir" && break
   18742     done
   18743     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18744   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18745 
   18746 
   18747 } # as_fn_mkdir_p
   18748 if mkdir -p . 2>/dev/null; then
   18749   as_mkdir_p='mkdir -p "$as_dir"'
   18750 else
   18751   test -d ./-p && rmdir ./-p
   18752   as_mkdir_p=false
   18753 fi
   18754 
   18755 
   18756 # as_fn_executable_p FILE
   18757 # -----------------------
   18758 # Test if FILE is an executable regular file.
   18759 as_fn_executable_p ()
   18760 {
   18761   test -f "$1" && test -x "$1"
   18762 } # as_fn_executable_p
   18763 as_test_x='test -x'
   18764 as_executable_p=as_fn_executable_p
   18765 
   18766 # Sed expression to map a string onto a valid CPP name.
   18767 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18768 
   18769 # Sed expression to map a string onto a valid variable name.
   18770 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18771 
   18772 
   18773 exec 6>&1
   18774 ## ----------------------------------- ##
   18775 ## Main body of $CONFIG_STATUS script. ##
   18776 ## ----------------------------------- ##
   18777 _ASEOF
   18778 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18779 
   18780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18781 # Save the log message, to keep $0 and so on meaningful, and to
   18782 # report actual input values of CONFIG_FILES etc. instead of their
   18783 # values after options handling.
   18784 ac_log="
   18785 This file was extended by xf86-video-sunffb $as_me 1.2.2, which was
   18786 generated by GNU Autoconf 2.69.  Invocation command line was
   18787 
   18788   CONFIG_FILES    = $CONFIG_FILES
   18789   CONFIG_HEADERS  = $CONFIG_HEADERS
   18790   CONFIG_LINKS    = $CONFIG_LINKS
   18791   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18792   $ $0 $@
   18793 
   18794 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18795 "
   18796 
   18797 _ACEOF
   18798 
   18799 case $ac_config_files in *"
   18800 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18801 esac
   18802 
   18803 case $ac_config_headers in *"
   18804 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18805 esac
   18806 
   18807 
   18808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18809 # Files that config.status was made for.
   18810 config_files="$ac_config_files"
   18811 config_headers="$ac_config_headers"
   18812 config_commands="$ac_config_commands"
   18813 
   18814 _ACEOF
   18815 
   18816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18817 ac_cs_usage="\
   18818 \`$as_me' instantiates files and other configuration actions
   18819 from templates according to the current configuration.  Unless the files
   18820 and actions are specified as TAGs, all are instantiated by default.
   18821 
   18822 Usage: $0 [OPTION]... [TAG]...
   18823 
   18824   -h, --help       print this help, then exit
   18825   -V, --version    print version number and configuration settings, then exit
   18826       --config     print configuration, then exit
   18827   -q, --quiet, --silent
   18828                    do not print progress messages
   18829   -d, --debug      don't remove temporary files
   18830       --recheck    update $as_me by reconfiguring in the same conditions
   18831       --file=FILE[:TEMPLATE]
   18832                    instantiate the configuration file FILE
   18833       --header=FILE[:TEMPLATE]
   18834                    instantiate the configuration header FILE
   18835 
   18836 Configuration files:
   18837 $config_files
   18838 
   18839 Configuration headers:
   18840 $config_headers
   18841 
   18842 Configuration commands:
   18843 $config_commands
   18844 
   18845 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18846 
   18847 _ACEOF
   18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18849 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18850 ac_cs_version="\\
   18851 xf86-video-sunffb config.status 1.2.2
   18852 configured by $0, generated by GNU Autoconf 2.69,
   18853   with options \\"\$ac_cs_config\\"
   18854 
   18855 Copyright (C) 2012 Free Software Foundation, Inc.
   18856 This config.status script is free software; the Free Software Foundation
   18857 gives unlimited permission to copy, distribute and modify it."
   18858 
   18859 ac_pwd='$ac_pwd'
   18860 srcdir='$srcdir'
   18861 INSTALL='$INSTALL'
   18862 MKDIR_P='$MKDIR_P'
   18863 AWK='$AWK'
   18864 test -n "\$AWK" || AWK=awk
   18865 _ACEOF
   18866 
   18867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18868 # The default lists apply if the user does not specify any file.
   18869 ac_need_defaults=:
   18870 while test $# != 0
   18871 do
   18872   case $1 in
   18873   --*=?*)
   18874     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18875     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18876     ac_shift=:
   18877     ;;
   18878   --*=)
   18879     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18880     ac_optarg=
   18881     ac_shift=:
   18882     ;;
   18883   *)
   18884     ac_option=$1
   18885     ac_optarg=$2
   18886     ac_shift=shift
   18887     ;;
   18888   esac
   18889 
   18890   case $ac_option in
   18891   # Handling of the options.
   18892   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18893     ac_cs_recheck=: ;;
   18894   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18895     $as_echo "$ac_cs_version"; exit ;;
   18896   --config | --confi | --conf | --con | --co | --c )
   18897     $as_echo "$ac_cs_config"; exit ;;
   18898   --debug | --debu | --deb | --de | --d | -d )
   18899     debug=: ;;
   18900   --file | --fil | --fi | --f )
   18901     $ac_shift
   18902     case $ac_optarg in
   18903     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18904     '') as_fn_error $? "missing file argument" ;;
   18905     esac
   18906     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18907     ac_need_defaults=false;;
   18908   --header | --heade | --head | --hea )
   18909     $ac_shift
   18910     case $ac_optarg in
   18911     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18912     esac
   18913     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18914     ac_need_defaults=false;;
   18915   --he | --h)
   18916     # Conflict between --help and --header
   18917     as_fn_error $? "ambiguous option: \`$1'
   18918 Try \`$0 --help' for more information.";;
   18919   --help | --hel | -h )
   18920     $as_echo "$ac_cs_usage"; exit ;;
   18921   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18922   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18923     ac_cs_silent=: ;;
   18924 
   18925   # This is an error.
   18926   -*) as_fn_error $? "unrecognized option: \`$1'
   18927 Try \`$0 --help' for more information." ;;
   18928 
   18929   *) as_fn_append ac_config_targets " $1"
   18930      ac_need_defaults=false ;;
   18931 
   18932   esac
   18933   shift
   18934 done
   18935 
   18936 ac_configure_extra_args=
   18937 
   18938 if $ac_cs_silent; then
   18939   exec 6>/dev/null
   18940   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18941 fi
   18942 
   18943 _ACEOF
   18944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18945 if \$ac_cs_recheck; then
   18946   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18947   shift
   18948   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18949   CONFIG_SHELL='$SHELL'
   18950   export CONFIG_SHELL
   18951   exec "\$@"
   18952 fi
   18953 
   18954 _ACEOF
   18955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18956 exec 5>>config.log
   18957 {
   18958   echo
   18959   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18960 ## Running $as_me. ##
   18961 _ASBOX
   18962   $as_echo "$ac_log"
   18963 } >&5
   18964 
   18965 _ACEOF
   18966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18967 #
   18968 # INIT-COMMANDS
   18969 #
   18970 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18971 
   18972 
   18973 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18974 # if CDPATH is set.
   18975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18976 
   18977 sed_quote_subst='$sed_quote_subst'
   18978 double_quote_subst='$double_quote_subst'
   18979 delay_variable_subst='$delay_variable_subst'
   18980 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18981 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18982 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18983 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18984 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18985 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18986 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18987 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18988 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18989 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18990 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18991 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18992 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18993 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18994 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18995 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18996 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18997 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18998 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18999 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19000 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19001 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19002 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19003 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19004 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19005 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19006 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19007 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19008 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19009 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19010 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19011 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19012 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19013 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19014 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19015 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19016 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19017 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19018 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19019 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19020 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19021 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19022 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19023 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19024 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19025 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19026 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19027 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19028 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19029 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19030 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19031 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19032 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19033 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19034 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19035 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"`'
   19036 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19037 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19038 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19039 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19040 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19041 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19042 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19043 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19044 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19045 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19046 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19047 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19048 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19049 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19050 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19051 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19052 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19053 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19054 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19055 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19056 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19057 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19058 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19059 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19060 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19061 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19062 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19063 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19064 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19065 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19066 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19067 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19068 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19069 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19070 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   19071 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19072 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19073 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19074 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19075 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19076 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19077 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19078 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19079 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19080 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19081 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19082 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19083 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19084 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19085 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19086 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19087 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19088 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19089 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19090 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19091 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19092 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19093 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19094 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19095 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19096 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19097 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19098 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19099 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19100 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19101 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19102 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19103 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19104 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19105 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19106 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19107 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19108 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19109 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19110 
   19111 LTCC='$LTCC'
   19112 LTCFLAGS='$LTCFLAGS'
   19113 compiler='$compiler_DEFAULT'
   19114 
   19115 # A function that is used when there is no print builtin or printf.
   19116 func_fallback_echo ()
   19117 {
   19118   eval 'cat <<_LTECHO_EOF
   19119 \$1
   19120 _LTECHO_EOF'
   19121 }
   19122 
   19123 # Quote evaled strings.
   19124 for var in SHELL \
   19125 ECHO \
   19126 SED \
   19127 GREP \
   19128 EGREP \
   19129 FGREP \
   19130 LD \
   19131 NM \
   19132 LN_S \
   19133 lt_SP2NL \
   19134 lt_NL2SP \
   19135 reload_flag \
   19136 OBJDUMP \
   19137 deplibs_check_method \
   19138 file_magic_cmd \
   19139 file_magic_glob \
   19140 want_nocaseglob \
   19141 DLLTOOL \
   19142 sharedlib_from_linklib_cmd \
   19143 AR \
   19144 AR_FLAGS \
   19145 archiver_list_spec \
   19146 STRIP \
   19147 RANLIB \
   19148 CC \
   19149 CFLAGS \
   19150 compiler \
   19151 lt_cv_sys_global_symbol_pipe \
   19152 lt_cv_sys_global_symbol_to_cdecl \
   19153 lt_cv_sys_global_symbol_to_c_name_address \
   19154 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19155 nm_file_list_spec \
   19156 lt_prog_compiler_no_builtin_flag \
   19157 lt_prog_compiler_pic \
   19158 lt_prog_compiler_wl \
   19159 lt_prog_compiler_static \
   19160 lt_cv_prog_compiler_c_o \
   19161 need_locks \
   19162 MANIFEST_TOOL \
   19163 DSYMUTIL \
   19164 NMEDIT \
   19165 LIPO \
   19166 OTOOL \
   19167 OTOOL64 \
   19168 shrext_cmds \
   19169 export_dynamic_flag_spec \
   19170 whole_archive_flag_spec \
   19171 compiler_needs_object \
   19172 with_gnu_ld \
   19173 allow_undefined_flag \
   19174 no_undefined_flag \
   19175 hardcode_libdir_flag_spec \
   19176 hardcode_libdir_flag_spec_ld \
   19177 hardcode_libdir_separator \
   19178 exclude_expsyms \
   19179 include_expsyms \
   19180 file_list_spec \
   19181 variables_saved_for_relink \
   19182 libname_spec \
   19183 library_names_spec \
   19184 soname_spec \
   19185 install_override_mode \
   19186 finish_eval \
   19187 old_striplib \
   19188 striplib; do
   19189     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19190     *[\\\\\\\`\\"\\\$]*)
   19191       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19192       ;;
   19193     *)
   19194       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19195       ;;
   19196     esac
   19197 done
   19198 
   19199 # Double-quote double-evaled strings.
   19200 for var in reload_cmds \
   19201 old_postinstall_cmds \
   19202 old_postuninstall_cmds \
   19203 old_archive_cmds \
   19204 extract_expsyms_cmds \
   19205 old_archive_from_new_cmds \
   19206 old_archive_from_expsyms_cmds \
   19207 archive_cmds \
   19208 archive_expsym_cmds \
   19209 module_cmds \
   19210 module_expsym_cmds \
   19211 export_symbols_cmds \
   19212 prelink_cmds \
   19213 postlink_cmds \
   19214 postinstall_cmds \
   19215 postuninstall_cmds \
   19216 finish_cmds \
   19217 sys_lib_search_path_spec \
   19218 sys_lib_dlsearch_path_spec; do
   19219     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19220     *[\\\\\\\`\\"\\\$]*)
   19221       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19222       ;;
   19223     *)
   19224       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19225       ;;
   19226     esac
   19227 done
   19228 
   19229 ac_aux_dir='$ac_aux_dir'
   19230 xsi_shell='$xsi_shell'
   19231 lt_shell_append='$lt_shell_append'
   19232 
   19233 # See if we are running on zsh, and set the options which allow our
   19234 # commands through without removal of \ escapes INIT.
   19235 if test -n "\${ZSH_VERSION+set}" ; then
   19236    setopt NO_GLOB_SUBST
   19237 fi
   19238 
   19239 
   19240     PACKAGE='$PACKAGE'
   19241     VERSION='$VERSION'
   19242     TIMESTAMP='$TIMESTAMP'
   19243     RM='$RM'
   19244     ofile='$ofile'
   19245 
   19246 
   19247 
   19248 
   19249 _ACEOF
   19250 
   19251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19252 
   19253 # Handling of arguments.
   19254 for ac_config_target in $ac_config_targets
   19255 do
   19256   case $ac_config_target in
   19257     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19258     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19259     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19260     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19261     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19262     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19263 
   19264   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19265   esac
   19266 done
   19267 
   19268 
   19269 # If the user did not use the arguments to specify the items to instantiate,
   19270 # then the envvar interface is used.  Set only those that are not.
   19271 # We use the long form for the default assignment because of an extremely
   19272 # bizarre bug on SunOS 4.1.3.
   19273 if $ac_need_defaults; then
   19274   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19275   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19276   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19277 fi
   19278 
   19279 # Have a temporary directory for convenience.  Make it in the build tree
   19280 # simply because there is no reason against having it here, and in addition,
   19281 # creating and moving files from /tmp can sometimes cause problems.
   19282 # Hook for its removal unless debugging.
   19283 # Note that there is a small window in which the directory will not be cleaned:
   19284 # after its creation but before its name has been assigned to `$tmp'.
   19285 $debug ||
   19286 {
   19287   tmp= ac_tmp=
   19288   trap 'exit_status=$?
   19289   : "${ac_tmp:=$tmp}"
   19290   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19291 ' 0
   19292   trap 'as_fn_exit 1' 1 2 13 15
   19293 }
   19294 # Create a (secure) tmp directory for tmp files.
   19295 
   19296 {
   19297   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19298   test -d "$tmp"
   19299 }  ||
   19300 {
   19301   tmp=./conf$$-$RANDOM
   19302   (umask 077 && mkdir "$tmp")
   19303 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19304 ac_tmp=$tmp
   19305 
   19306 # Set up the scripts for CONFIG_FILES section.
   19307 # No need to generate them if there are no CONFIG_FILES.
   19308 # This happens for instance with `./config.status config.h'.
   19309 if test -n "$CONFIG_FILES"; then
   19310 
   19311 
   19312 ac_cr=`echo X | tr X '\015'`
   19313 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19314 # But we know of no other shell where ac_cr would be empty at this
   19315 # point, so we can use a bashism as a fallback.
   19316 if test "x$ac_cr" = x; then
   19317   eval ac_cr=\$\'\\r\'
   19318 fi
   19319 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19320 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19321   ac_cs_awk_cr='\\r'
   19322 else
   19323   ac_cs_awk_cr=$ac_cr
   19324 fi
   19325 
   19326 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19327 _ACEOF
   19328 
   19329 
   19330 {
   19331   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19332   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19333   echo "_ACEOF"
   19334 } >conf$$subs.sh ||
   19335   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19336 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19337 ac_delim='%!_!# '
   19338 for ac_last_try in false false false false false :; do
   19339   . ./conf$$subs.sh ||
   19340     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19341 
   19342   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19343   if test $ac_delim_n = $ac_delim_num; then
   19344     break
   19345   elif $ac_last_try; then
   19346     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19347   else
   19348     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19349   fi
   19350 done
   19351 rm -f conf$$subs.sh
   19352 
   19353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19354 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19355 _ACEOF
   19356 sed -n '
   19357 h
   19358 s/^/S["/; s/!.*/"]=/
   19359 p
   19360 g
   19361 s/^[^!]*!//
   19362 :repl
   19363 t repl
   19364 s/'"$ac_delim"'$//
   19365 t delim
   19366 :nl
   19367 h
   19368 s/\(.\{148\}\)..*/\1/
   19369 t more1
   19370 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19371 p
   19372 n
   19373 b repl
   19374 :more1
   19375 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19376 p
   19377 g
   19378 s/.\{148\}//
   19379 t nl
   19380 :delim
   19381 h
   19382 s/\(.\{148\}\)..*/\1/
   19383 t more2
   19384 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19385 p
   19386 b
   19387 :more2
   19388 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19389 p
   19390 g
   19391 s/.\{148\}//
   19392 t delim
   19393 ' <conf$$subs.awk | sed '
   19394 /^[^""]/{
   19395   N
   19396   s/\n//
   19397 }
   19398 ' >>$CONFIG_STATUS || ac_write_fail=1
   19399 rm -f conf$$subs.awk
   19400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19401 _ACAWK
   19402 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19403   for (key in S) S_is_set[key] = 1
   19404   FS = ""
   19405 
   19406 }
   19407 {
   19408   line = $ 0
   19409   nfields = split(line, field, "@")
   19410   substed = 0
   19411   len = length(field[1])
   19412   for (i = 2; i < nfields; i++) {
   19413     key = field[i]
   19414     keylen = length(key)
   19415     if (S_is_set[key]) {
   19416       value = S[key]
   19417       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19418       len += length(value) + length(field[++i])
   19419       substed = 1
   19420     } else
   19421       len += 1 + keylen
   19422   }
   19423 
   19424   print line
   19425 }
   19426 
   19427 _ACAWK
   19428 _ACEOF
   19429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19430 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19431   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19432 else
   19433   cat
   19434 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19435   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19436 _ACEOF
   19437 
   19438 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19439 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19440 # trailing colons and then remove the whole line if VPATH becomes empty
   19441 # (actually we leave an empty line to preserve line numbers).
   19442 if test "x$srcdir" = x.; then
   19443   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19444 h
   19445 s///
   19446 s/^/:/
   19447 s/[	 ]*$/:/
   19448 s/:\$(srcdir):/:/g
   19449 s/:\${srcdir}:/:/g
   19450 s/:@srcdir@:/:/g
   19451 s/^:*//
   19452 s/:*$//
   19453 x
   19454 s/\(=[	 ]*\).*/\1/
   19455 G
   19456 s/\n//
   19457 s/^[^=]*=[	 ]*$//
   19458 }'
   19459 fi
   19460 
   19461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19462 fi # test -n "$CONFIG_FILES"
   19463 
   19464 # Set up the scripts for CONFIG_HEADERS section.
   19465 # No need to generate them if there are no CONFIG_HEADERS.
   19466 # This happens for instance with `./config.status Makefile'.
   19467 if test -n "$CONFIG_HEADERS"; then
   19468 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19469 BEGIN {
   19470 _ACEOF
   19471 
   19472 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19473 # here-document in config.status, that substitutes the proper values into
   19474 # config.h.in to produce config.h.
   19475 
   19476 # Create a delimiter string that does not exist in confdefs.h, to ease
   19477 # handling of long lines.
   19478 ac_delim='%!_!# '
   19479 for ac_last_try in false false :; do
   19480   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19481   if test -z "$ac_tt"; then
   19482     break
   19483   elif $ac_last_try; then
   19484     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19485   else
   19486     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19487   fi
   19488 done
   19489 
   19490 # For the awk script, D is an array of macro values keyed by name,
   19491 # likewise P contains macro parameters if any.  Preserve backslash
   19492 # newline sequences.
   19493 
   19494 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19495 sed -n '
   19496 s/.\{148\}/&'"$ac_delim"'/g
   19497 t rset
   19498 :rset
   19499 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19500 t def
   19501 d
   19502 :def
   19503 s/\\$//
   19504 t bsnl
   19505 s/["\\]/\\&/g
   19506 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19507 D["\1"]=" \3"/p
   19508 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19509 d
   19510 :bsnl
   19511 s/["\\]/\\&/g
   19512 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19513 D["\1"]=" \3\\\\\\n"\\/p
   19514 t cont
   19515 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19516 t cont
   19517 d
   19518 :cont
   19519 n
   19520 s/.\{148\}/&'"$ac_delim"'/g
   19521 t clear
   19522 :clear
   19523 s/\\$//
   19524 t bsnlc
   19525 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19526 d
   19527 :bsnlc
   19528 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19529 b cont
   19530 ' <confdefs.h | sed '
   19531 s/'"$ac_delim"'/"\\\
   19532 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19533 
   19534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19535   for (key in D) D_is_set[key] = 1
   19536   FS = ""
   19537 }
   19538 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19539   line = \$ 0
   19540   split(line, arg, " ")
   19541   if (arg[1] == "#") {
   19542     defundef = arg[2]
   19543     mac1 = arg[3]
   19544   } else {
   19545     defundef = substr(arg[1], 2)
   19546     mac1 = arg[2]
   19547   }
   19548   split(mac1, mac2, "(") #)
   19549   macro = mac2[1]
   19550   prefix = substr(line, 1, index(line, defundef) - 1)
   19551   if (D_is_set[macro]) {
   19552     # Preserve the white space surrounding the "#".
   19553     print prefix "define", macro P[macro] D[macro]
   19554     next
   19555   } else {
   19556     # Replace #undef with comments.  This is necessary, for example,
   19557     # in the case of _POSIX_SOURCE, which is predefined and required
   19558     # on some systems where configure will not decide to define it.
   19559     if (defundef == "undef") {
   19560       print "/*", prefix defundef, macro, "*/"
   19561       next
   19562     }
   19563   }
   19564 }
   19565 { print }
   19566 _ACAWK
   19567 _ACEOF
   19568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19569   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19570 fi # test -n "$CONFIG_HEADERS"
   19571 
   19572 
   19573 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19574 shift
   19575 for ac_tag
   19576 do
   19577   case $ac_tag in
   19578   :[FHLC]) ac_mode=$ac_tag; continue;;
   19579   esac
   19580   case $ac_mode$ac_tag in
   19581   :[FHL]*:*);;
   19582   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19583   :[FH]-) ac_tag=-:-;;
   19584   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19585   esac
   19586   ac_save_IFS=$IFS
   19587   IFS=:
   19588   set x $ac_tag
   19589   IFS=$ac_save_IFS
   19590   shift
   19591   ac_file=$1
   19592   shift
   19593 
   19594   case $ac_mode in
   19595   :L) ac_source=$1;;
   19596   :[FH])
   19597     ac_file_inputs=
   19598     for ac_f
   19599     do
   19600       case $ac_f in
   19601       -) ac_f="$ac_tmp/stdin";;
   19602       *) # Look for the file first in the build tree, then in the source tree
   19603 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19604 	 # because $ac_f cannot contain `:'.
   19605 	 test -f "$ac_f" ||
   19606 	   case $ac_f in
   19607 	   [\\/$]*) false;;
   19608 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19609 	   esac ||
   19610 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19611       esac
   19612       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19613       as_fn_append ac_file_inputs " '$ac_f'"
   19614     done
   19615 
   19616     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19617     # use $as_me), people would be surprised to read:
   19618     #    /* config.h.  Generated by config.status.  */
   19619     configure_input='Generated from '`
   19620 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19621 	`' by configure.'
   19622     if test x"$ac_file" != x-; then
   19623       configure_input="$ac_file.  $configure_input"
   19624       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19625 $as_echo "$as_me: creating $ac_file" >&6;}
   19626     fi
   19627     # Neutralize special characters interpreted by sed in replacement strings.
   19628     case $configure_input in #(
   19629     *\&* | *\|* | *\\* )
   19630        ac_sed_conf_input=`$as_echo "$configure_input" |
   19631        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19632     *) ac_sed_conf_input=$configure_input;;
   19633     esac
   19634 
   19635     case $ac_tag in
   19636     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19637       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19638     esac
   19639     ;;
   19640   esac
   19641 
   19642   ac_dir=`$as_dirname -- "$ac_file" ||
   19643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19644 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19645 	 X"$ac_file" : 'X\(//\)$' \| \
   19646 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19647 $as_echo X"$ac_file" |
   19648     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19649 	    s//\1/
   19650 	    q
   19651 	  }
   19652 	  /^X\(\/\/\)[^/].*/{
   19653 	    s//\1/
   19654 	    q
   19655 	  }
   19656 	  /^X\(\/\/\)$/{
   19657 	    s//\1/
   19658 	    q
   19659 	  }
   19660 	  /^X\(\/\).*/{
   19661 	    s//\1/
   19662 	    q
   19663 	  }
   19664 	  s/.*/./; q'`
   19665   as_dir="$ac_dir"; as_fn_mkdir_p
   19666   ac_builddir=.
   19667 
   19668 case "$ac_dir" in
   19669 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19670 *)
   19671   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19672   # A ".." for each directory in $ac_dir_suffix.
   19673   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19674   case $ac_top_builddir_sub in
   19675   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19676   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19677   esac ;;
   19678 esac
   19679 ac_abs_top_builddir=$ac_pwd
   19680 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19681 # for backward compatibility:
   19682 ac_top_builddir=$ac_top_build_prefix
   19683 
   19684 case $srcdir in
   19685   .)  # We are building in place.
   19686     ac_srcdir=.
   19687     ac_top_srcdir=$ac_top_builddir_sub
   19688     ac_abs_top_srcdir=$ac_pwd ;;
   19689   [\\/]* | ?:[\\/]* )  # Absolute name.
   19690     ac_srcdir=$srcdir$ac_dir_suffix;
   19691     ac_top_srcdir=$srcdir
   19692     ac_abs_top_srcdir=$srcdir ;;
   19693   *) # Relative name.
   19694     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19695     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19696     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19697 esac
   19698 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19699 
   19700 
   19701   case $ac_mode in
   19702   :F)
   19703   #
   19704   # CONFIG_FILE
   19705   #
   19706 
   19707   case $INSTALL in
   19708   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19709   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19710   esac
   19711   ac_MKDIR_P=$MKDIR_P
   19712   case $MKDIR_P in
   19713   [\\/$]* | ?:[\\/]* ) ;;
   19714   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19715   esac
   19716 _ACEOF
   19717 
   19718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19719 # If the template does not know about datarootdir, expand it.
   19720 # FIXME: This hack should be removed a few years after 2.60.
   19721 ac_datarootdir_hack=; ac_datarootdir_seen=
   19722 ac_sed_dataroot='
   19723 /datarootdir/ {
   19724   p
   19725   q
   19726 }
   19727 /@datadir@/p
   19728 /@docdir@/p
   19729 /@infodir@/p
   19730 /@localedir@/p
   19731 /@mandir@/p'
   19732 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19733 *datarootdir*) ac_datarootdir_seen=yes;;
   19734 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19735   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19736 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19737 _ACEOF
   19738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19739   ac_datarootdir_hack='
   19740   s&@datadir@&$datadir&g
   19741   s&@docdir@&$docdir&g
   19742   s&@infodir@&$infodir&g
   19743   s&@localedir@&$localedir&g
   19744   s&@mandir@&$mandir&g
   19745   s&\\\${datarootdir}&$datarootdir&g' ;;
   19746 esac
   19747 _ACEOF
   19748 
   19749 # Neutralize VPATH when `$srcdir' = `.'.
   19750 # Shell code in configure.ac might set extrasub.
   19751 # FIXME: do we really want to maintain this feature?
   19752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19753 ac_sed_extra="$ac_vpsub
   19754 $extrasub
   19755 _ACEOF
   19756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19757 :t
   19758 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19759 s|@configure_input@|$ac_sed_conf_input|;t t
   19760 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19761 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19762 s&@srcdir@&$ac_srcdir&;t t
   19763 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19764 s&@top_srcdir@&$ac_top_srcdir&;t t
   19765 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19766 s&@builddir@&$ac_builddir&;t t
   19767 s&@abs_builddir@&$ac_abs_builddir&;t t
   19768 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19769 s&@INSTALL@&$ac_INSTALL&;t t
   19770 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19771 $ac_datarootdir_hack
   19772 "
   19773 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19774   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19775 
   19776 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19777   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19778   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19779       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19780   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19781 which seems to be undefined.  Please make sure it is defined" >&5
   19782 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19783 which seems to be undefined.  Please make sure it is defined" >&2;}
   19784 
   19785   rm -f "$ac_tmp/stdin"
   19786   case $ac_file in
   19787   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19788   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19789   esac \
   19790   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19791  ;;
   19792   :H)
   19793   #
   19794   # CONFIG_HEADER
   19795   #
   19796   if test x"$ac_file" != x-; then
   19797     {
   19798       $as_echo "/* $configure_input  */" \
   19799       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19800     } >"$ac_tmp/config.h" \
   19801       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19802     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19803       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19804 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19805     else
   19806       rm -f "$ac_file"
   19807       mv "$ac_tmp/config.h" "$ac_file" \
   19808 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19809     fi
   19810   else
   19811     $as_echo "/* $configure_input  */" \
   19812       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19813       || as_fn_error $? "could not create -" "$LINENO" 5
   19814   fi
   19815 # Compute "$ac_file"'s index in $config_headers.
   19816 _am_arg="$ac_file"
   19817 _am_stamp_count=1
   19818 for _am_header in $config_headers :; do
   19819   case $_am_header in
   19820     $_am_arg | $_am_arg:* )
   19821       break ;;
   19822     * )
   19823       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19824   esac
   19825 done
   19826 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19827 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19828 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19829 	 X"$_am_arg" : 'X\(//\)$' \| \
   19830 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19831 $as_echo X"$_am_arg" |
   19832     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19833 	    s//\1/
   19834 	    q
   19835 	  }
   19836 	  /^X\(\/\/\)[^/].*/{
   19837 	    s//\1/
   19838 	    q
   19839 	  }
   19840 	  /^X\(\/\/\)$/{
   19841 	    s//\1/
   19842 	    q
   19843 	  }
   19844 	  /^X\(\/\).*/{
   19845 	    s//\1/
   19846 	    q
   19847 	  }
   19848 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19849  ;;
   19850 
   19851   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19852 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19853  ;;
   19854   esac
   19855 
   19856 
   19857   case $ac_file$ac_mode in
   19858     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19859   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19860   # are listed without --file.  Let's play safe and only enable the eval
   19861   # if we detect the quoting.
   19862   case $CONFIG_FILES in
   19863   *\'*) eval set x "$CONFIG_FILES" ;;
   19864   *)   set x $CONFIG_FILES ;;
   19865   esac
   19866   shift
   19867   for mf
   19868   do
   19869     # Strip MF so we end up with the name of the file.
   19870     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19871     # Check whether this is an Automake generated Makefile or not.
   19872     # We used to match only the files named 'Makefile.in', but
   19873     # some people rename them; so instead we look at the file content.
   19874     # Grep'ing the first line is not enough: some people post-process
   19875     # each Makefile.in and add a new line on top of each file to say so.
   19876     # Grep'ing the whole file is not good either: AIX grep has a line
   19877     # limit of 2048, but all sed's we know have understand at least 4000.
   19878     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19879       dirpart=`$as_dirname -- "$mf" ||
   19880 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19881 	 X"$mf" : 'X\(//\)[^/]' \| \
   19882 	 X"$mf" : 'X\(//\)$' \| \
   19883 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19884 $as_echo X"$mf" |
   19885     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19886 	    s//\1/
   19887 	    q
   19888 	  }
   19889 	  /^X\(\/\/\)[^/].*/{
   19890 	    s//\1/
   19891 	    q
   19892 	  }
   19893 	  /^X\(\/\/\)$/{
   19894 	    s//\1/
   19895 	    q
   19896 	  }
   19897 	  /^X\(\/\).*/{
   19898 	    s//\1/
   19899 	    q
   19900 	  }
   19901 	  s/.*/./; q'`
   19902     else
   19903       continue
   19904     fi
   19905     # Extract the definition of DEPDIR, am__include, and am__quote
   19906     # from the Makefile without running 'make'.
   19907     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19908     test -z "$DEPDIR" && continue
   19909     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19910     test -z "am__include" && continue
   19911     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19912     # Find all dependency output files, they are included files with
   19913     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19914     # simplest approach to changing $(DEPDIR) to its actual value in the
   19915     # expansion.
   19916     for file in `sed -n "
   19917       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19918 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19919       # Make sure the directory exists.
   19920       test -f "$dirpart/$file" && continue
   19921       fdir=`$as_dirname -- "$file" ||
   19922 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19923 	 X"$file" : 'X\(//\)[^/]' \| \
   19924 	 X"$file" : 'X\(//\)$' \| \
   19925 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19926 $as_echo X"$file" |
   19927     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19928 	    s//\1/
   19929 	    q
   19930 	  }
   19931 	  /^X\(\/\/\)[^/].*/{
   19932 	    s//\1/
   19933 	    q
   19934 	  }
   19935 	  /^X\(\/\/\)$/{
   19936 	    s//\1/
   19937 	    q
   19938 	  }
   19939 	  /^X\(\/\).*/{
   19940 	    s//\1/
   19941 	    q
   19942 	  }
   19943 	  s/.*/./; q'`
   19944       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19945       # echo "creating $dirpart/$file"
   19946       echo '# dummy' > "$dirpart/$file"
   19947     done
   19948   done
   19949 }
   19950  ;;
   19951     "libtool":C)
   19952 
   19953     # See if we are running on zsh, and set the options which allow our
   19954     # commands through without removal of \ escapes.
   19955     if test -n "${ZSH_VERSION+set}" ; then
   19956       setopt NO_GLOB_SUBST
   19957     fi
   19958 
   19959     cfgfile="${ofile}T"
   19960     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19961     $RM "$cfgfile"
   19962 
   19963     cat <<_LT_EOF >> "$cfgfile"
   19964 #! $SHELL
   19965 
   19966 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19967 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19969 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19970 #
   19971 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19972 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   19973 #                 Inc.
   19974 #   Written by Gordon Matzigkeit, 1996
   19975 #
   19976 #   This file is part of GNU Libtool.
   19977 #
   19978 # GNU Libtool is free software; you can redistribute it and/or
   19979 # modify it under the terms of the GNU General Public License as
   19980 # published by the Free Software Foundation; either version 2 of
   19981 # the License, or (at your option) any later version.
   19982 #
   19983 # As a special exception to the GNU General Public License,
   19984 # if you distribute this file as part of a program or library that
   19985 # is built using GNU Libtool, you may include this file under the
   19986 # same distribution terms that you use for the rest of that program.
   19987 #
   19988 # GNU Libtool is distributed in the hope that it will be useful,
   19989 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19991 # GNU General Public License for more details.
   19992 #
   19993 # You should have received a copy of the GNU General Public License
   19994 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19995 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19996 # obtained by writing to the Free Software Foundation, Inc.,
   19997 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19998 
   19999 
   20000 # The names of the tagged configurations supported by this script.
   20001 available_tags=""
   20002 
   20003 # ### BEGIN LIBTOOL CONFIG
   20004 
   20005 # Whether or not to build static libraries.
   20006 build_old_libs=$enable_static
   20007 
   20008 # Which release of libtool.m4 was used?
   20009 macro_version=$macro_version
   20010 macro_revision=$macro_revision
   20011 
   20012 # Whether or not to build shared libraries.
   20013 build_libtool_libs=$enable_shared
   20014 
   20015 # What type of objects to build.
   20016 pic_mode=$pic_mode
   20017 
   20018 # Whether or not to optimize for fast installation.
   20019 fast_install=$enable_fast_install
   20020 
   20021 # Shell to use when invoking shell scripts.
   20022 SHELL=$lt_SHELL
   20023 
   20024 # An echo program that protects backslashes.
   20025 ECHO=$lt_ECHO
   20026 
   20027 # The host system.
   20028 host_alias=$host_alias
   20029 host=$host
   20030 host_os=$host_os
   20031 
   20032 # The build system.
   20033 build_alias=$build_alias
   20034 build=$build
   20035 build_os=$build_os
   20036 
   20037 # A sed program that does not truncate output.
   20038 SED=$lt_SED
   20039 
   20040 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20041 Xsed="\$SED -e 1s/^X//"
   20042 
   20043 # A grep program that handles long lines.
   20044 GREP=$lt_GREP
   20045 
   20046 # An ERE matcher.
   20047 EGREP=$lt_EGREP
   20048 
   20049 # A literal string matcher.
   20050 FGREP=$lt_FGREP
   20051 
   20052 # A BSD- or MS-compatible name lister.
   20053 NM=$lt_NM
   20054 
   20055 # Whether we need soft or hard links.
   20056 LN_S=$lt_LN_S
   20057 
   20058 # What is the maximum length of a command?
   20059 max_cmd_len=$max_cmd_len
   20060 
   20061 # Object file suffix (normally "o").
   20062 objext=$ac_objext
   20063 
   20064 # Executable file suffix (normally "").
   20065 exeext=$exeext
   20066 
   20067 # whether the shell understands "unset".
   20068 lt_unset=$lt_unset
   20069 
   20070 # turn spaces into newlines.
   20071 SP2NL=$lt_lt_SP2NL
   20072 
   20073 # turn newlines into spaces.
   20074 NL2SP=$lt_lt_NL2SP
   20075 
   20076 # convert \$build file names to \$host format.
   20077 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20078 
   20079 # convert \$build files to toolchain format.
   20080 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20081 
   20082 # An object symbol dumper.
   20083 OBJDUMP=$lt_OBJDUMP
   20084 
   20085 # Method to check whether dependent libraries are shared objects.
   20086 deplibs_check_method=$lt_deplibs_check_method
   20087 
   20088 # Command to use when deplibs_check_method = "file_magic".
   20089 file_magic_cmd=$lt_file_magic_cmd
   20090 
   20091 # How to find potential files when deplibs_check_method = "file_magic".
   20092 file_magic_glob=$lt_file_magic_glob
   20093 
   20094 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20095 want_nocaseglob=$lt_want_nocaseglob
   20096 
   20097 # DLL creation program.
   20098 DLLTOOL=$lt_DLLTOOL
   20099 
   20100 # Command to associate shared and link libraries.
   20101 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20102 
   20103 # The archiver.
   20104 AR=$lt_AR
   20105 
   20106 # Flags to create an archive.
   20107 AR_FLAGS=$lt_AR_FLAGS
   20108 
   20109 # How to feed a file listing to the archiver.
   20110 archiver_list_spec=$lt_archiver_list_spec
   20111 
   20112 # A symbol stripping program.
   20113 STRIP=$lt_STRIP
   20114 
   20115 # Commands used to install an old-style archive.
   20116 RANLIB=$lt_RANLIB
   20117 old_postinstall_cmds=$lt_old_postinstall_cmds
   20118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20119 
   20120 # Whether to use a lock for old archive extraction.
   20121 lock_old_archive_extraction=$lock_old_archive_extraction
   20122 
   20123 # A C compiler.
   20124 LTCC=$lt_CC
   20125 
   20126 # LTCC compiler flags.
   20127 LTCFLAGS=$lt_CFLAGS
   20128 
   20129 # Take the output of nm and produce a listing of raw symbols and C names.
   20130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20131 
   20132 # Transform the output of nm in a proper C declaration.
   20133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20134 
   20135 # Transform the output of nm in a C name address pair.
   20136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20137 
   20138 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20139 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20140 
   20141 # Specify filename containing input files for \$NM.
   20142 nm_file_list_spec=$lt_nm_file_list_spec
   20143 
   20144 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20145 lt_sysroot=$lt_sysroot
   20146 
   20147 # The name of the directory that contains temporary libtool files.
   20148 objdir=$objdir
   20149 
   20150 # Used to examine libraries when file_magic_cmd begins with "file".
   20151 MAGIC_CMD=$MAGIC_CMD
   20152 
   20153 # Must we lock files when doing compilation?
   20154 need_locks=$lt_need_locks
   20155 
   20156 # Manifest tool.
   20157 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20158 
   20159 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20160 DSYMUTIL=$lt_DSYMUTIL
   20161 
   20162 # Tool to change global to local symbols on Mac OS X.
   20163 NMEDIT=$lt_NMEDIT
   20164 
   20165 # Tool to manipulate fat objects and archives on Mac OS X.
   20166 LIPO=$lt_LIPO
   20167 
   20168 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20169 OTOOL=$lt_OTOOL
   20170 
   20171 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20172 OTOOL64=$lt_OTOOL64
   20173 
   20174 # Old archive suffix (normally "a").
   20175 libext=$libext
   20176 
   20177 # Shared library suffix (normally ".so").
   20178 shrext_cmds=$lt_shrext_cmds
   20179 
   20180 # The commands to extract the exported symbol list from a shared archive.
   20181 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20182 
   20183 # Variables whose values should be saved in libtool wrapper scripts and
   20184 # restored at link time.
   20185 variables_saved_for_relink=$lt_variables_saved_for_relink
   20186 
   20187 # Do we need the "lib" prefix for modules?
   20188 need_lib_prefix=$need_lib_prefix
   20189 
   20190 # Do we need a version for libraries?
   20191 need_version=$need_version
   20192 
   20193 # Library versioning type.
   20194 version_type=$version_type
   20195 
   20196 # Shared library runtime path variable.
   20197 runpath_var=$runpath_var
   20198 
   20199 # Shared library path variable.
   20200 shlibpath_var=$shlibpath_var
   20201 
   20202 # Is shlibpath searched before the hard-coded library search path?
   20203 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20204 
   20205 # Format of library name prefix.
   20206 libname_spec=$lt_libname_spec
   20207 
   20208 # List of archive names.  First name is the real one, the rest are links.
   20209 # The last name is the one that the linker finds with -lNAME
   20210 library_names_spec=$lt_library_names_spec
   20211 
   20212 # The coded name of the library, if different from the real name.
   20213 soname_spec=$lt_soname_spec
   20214 
   20215 # Permission mode override for installation of shared libraries.
   20216 install_override_mode=$lt_install_override_mode
   20217 
   20218 # Command to use after installation of a shared archive.
   20219 postinstall_cmds=$lt_postinstall_cmds
   20220 
   20221 # Command to use after uninstallation of a shared archive.
   20222 postuninstall_cmds=$lt_postuninstall_cmds
   20223 
   20224 # Commands used to finish a libtool library installation in a directory.
   20225 finish_cmds=$lt_finish_cmds
   20226 
   20227 # As "finish_cmds", except a single script fragment to be evaled but
   20228 # not shown.
   20229 finish_eval=$lt_finish_eval
   20230 
   20231 # Whether we should hardcode library paths into libraries.
   20232 hardcode_into_libs=$hardcode_into_libs
   20233 
   20234 # Compile-time system search path for libraries.
   20235 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20236 
   20237 # Run-time system search path for libraries.
   20238 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20239 
   20240 # Whether dlopen is supported.
   20241 dlopen_support=$enable_dlopen
   20242 
   20243 # Whether dlopen of programs is supported.
   20244 dlopen_self=$enable_dlopen_self
   20245 
   20246 # Whether dlopen of statically linked programs is supported.
   20247 dlopen_self_static=$enable_dlopen_self_static
   20248 
   20249 # Commands to strip libraries.
   20250 old_striplib=$lt_old_striplib
   20251 striplib=$lt_striplib
   20252 
   20253 
   20254 # The linker used to build libraries.
   20255 LD=$lt_LD
   20256 
   20257 # How to create reloadable object files.
   20258 reload_flag=$lt_reload_flag
   20259 reload_cmds=$lt_reload_cmds
   20260 
   20261 # Commands used to build an old-style archive.
   20262 old_archive_cmds=$lt_old_archive_cmds
   20263 
   20264 # A language specific compiler.
   20265 CC=$lt_compiler
   20266 
   20267 # Is the compiler the GNU compiler?
   20268 with_gcc=$GCC
   20269 
   20270 # Compiler flag to turn off builtin functions.
   20271 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20272 
   20273 # Additional compiler flags for building library objects.
   20274 pic_flag=$lt_lt_prog_compiler_pic
   20275 
   20276 # How to pass a linker flag through the compiler.
   20277 wl=$lt_lt_prog_compiler_wl
   20278 
   20279 # Compiler flag to prevent dynamic linking.
   20280 link_static_flag=$lt_lt_prog_compiler_static
   20281 
   20282 # Does compiler simultaneously support -c and -o options?
   20283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20284 
   20285 # Whether or not to add -lc for building shared libraries.
   20286 build_libtool_need_lc=$archive_cmds_need_lc
   20287 
   20288 # Whether or not to disallow shared libs when runtime libs are static.
   20289 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20290 
   20291 # Compiler flag to allow reflexive dlopens.
   20292 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20293 
   20294 # Compiler flag to generate shared objects directly from archives.
   20295 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20296 
   20297 # Whether the compiler copes with passing no objects directly.
   20298 compiler_needs_object=$lt_compiler_needs_object
   20299 
   20300 # Create an old-style archive from a shared archive.
   20301 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20302 
   20303 # Create a temporary old-style archive to link instead of a shared archive.
   20304 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20305 
   20306 # Commands used to build a shared archive.
   20307 archive_cmds=$lt_archive_cmds
   20308 archive_expsym_cmds=$lt_archive_expsym_cmds
   20309 
   20310 # Commands used to build a loadable module if different from building
   20311 # a shared archive.
   20312 module_cmds=$lt_module_cmds
   20313 module_expsym_cmds=$lt_module_expsym_cmds
   20314 
   20315 # Whether we are building with GNU ld or not.
   20316 with_gnu_ld=$lt_with_gnu_ld
   20317 
   20318 # Flag that allows shared libraries with undefined symbols to be built.
   20319 allow_undefined_flag=$lt_allow_undefined_flag
   20320 
   20321 # Flag that enforces no undefined symbols.
   20322 no_undefined_flag=$lt_no_undefined_flag
   20323 
   20324 # Flag to hardcode \$libdir into a binary during linking.
   20325 # This must work even if \$libdir does not exist
   20326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20327 
   20328 # If ld is used when linking, flag to hardcode \$libdir into a binary
   20329 # during linking.  This must work even if \$libdir does not exist.
   20330 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   20331 
   20332 # Whether we need a single "-rpath" flag with a separated argument.
   20333 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20334 
   20335 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20336 # DIR into the resulting binary.
   20337 hardcode_direct=$hardcode_direct
   20338 
   20339 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20340 # DIR into the resulting binary and the resulting library dependency is
   20341 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20342 # library is relocated.
   20343 hardcode_direct_absolute=$hardcode_direct_absolute
   20344 
   20345 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20346 # into the resulting binary.
   20347 hardcode_minus_L=$hardcode_minus_L
   20348 
   20349 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20350 # into the resulting binary.
   20351 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20352 
   20353 # Set to "yes" if building a shared library automatically hardcodes DIR
   20354 # into the library and all subsequent libraries and executables linked
   20355 # against it.
   20356 hardcode_automatic=$hardcode_automatic
   20357 
   20358 # Set to yes if linker adds runtime paths of dependent libraries
   20359 # to runtime path list.
   20360 inherit_rpath=$inherit_rpath
   20361 
   20362 # Whether libtool must link a program against all its dependency libraries.
   20363 link_all_deplibs=$link_all_deplibs
   20364 
   20365 # Set to "yes" if exported symbols are required.
   20366 always_export_symbols=$always_export_symbols
   20367 
   20368 # The commands to list exported symbols.
   20369 export_symbols_cmds=$lt_export_symbols_cmds
   20370 
   20371 # Symbols that should not be listed in the preloaded symbols.
   20372 exclude_expsyms=$lt_exclude_expsyms
   20373 
   20374 # Symbols that must always be exported.
   20375 include_expsyms=$lt_include_expsyms
   20376 
   20377 # Commands necessary for linking programs (against libraries) with templates.
   20378 prelink_cmds=$lt_prelink_cmds
   20379 
   20380 # Commands necessary for finishing linking programs.
   20381 postlink_cmds=$lt_postlink_cmds
   20382 
   20383 # Specify filename containing input files.
   20384 file_list_spec=$lt_file_list_spec
   20385 
   20386 # How to hardcode a shared library path into an executable.
   20387 hardcode_action=$hardcode_action
   20388 
   20389 # ### END LIBTOOL CONFIG
   20390 
   20391 _LT_EOF
   20392 
   20393   case $host_os in
   20394   aix3*)
   20395     cat <<\_LT_EOF >> "$cfgfile"
   20396 # AIX sometimes has problems with the GCC collect2 program.  For some
   20397 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20398 # vanish in a puff of smoke.
   20399 if test "X${COLLECT_NAMES+set}" != Xset; then
   20400   COLLECT_NAMES=
   20401   export COLLECT_NAMES
   20402 fi
   20403 _LT_EOF
   20404     ;;
   20405   esac
   20406 
   20407 
   20408 ltmain="$ac_aux_dir/ltmain.sh"
   20409 
   20410 
   20411   # We use sed instead of cat because bash on DJGPP gets confused if
   20412   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20413   # text mode, it properly converts lines to CR/LF.  This bash problem
   20414   # is reportedly fixed, but why not run on old versions too?
   20415   sed '$q' "$ltmain" >> "$cfgfile" \
   20416      || (rm -f "$cfgfile"; exit 1)
   20417 
   20418   if test x"$xsi_shell" = xyes; then
   20419   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20420 func_dirname ()\
   20421 {\
   20422 \    case ${1} in\
   20423 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20424 \      *  ) func_dirname_result="${3}" ;;\
   20425 \    esac\
   20426 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20427   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20428     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20429 test 0 -eq $? || _lt_function_replace_fail=:
   20430 
   20431 
   20432   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20433 func_basename ()\
   20434 {\
   20435 \    func_basename_result="${1##*/}"\
   20436 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20437   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20438     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20439 test 0 -eq $? || _lt_function_replace_fail=:
   20440 
   20441 
   20442   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20443 func_dirname_and_basename ()\
   20444 {\
   20445 \    case ${1} in\
   20446 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20447 \      *  ) func_dirname_result="${3}" ;;\
   20448 \    esac\
   20449 \    func_basename_result="${1##*/}"\
   20450 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20451   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20452     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20453 test 0 -eq $? || _lt_function_replace_fail=:
   20454 
   20455 
   20456   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20457 func_stripname ()\
   20458 {\
   20459 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20460 \    # positional parameters, so assign one to ordinary parameter first.\
   20461 \    func_stripname_result=${3}\
   20462 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20463 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20464 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20465   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20466     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20467 test 0 -eq $? || _lt_function_replace_fail=:
   20468 
   20469 
   20470   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20471 func_split_long_opt ()\
   20472 {\
   20473 \    func_split_long_opt_name=${1%%=*}\
   20474 \    func_split_long_opt_arg=${1#*=}\
   20475 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20476   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20477     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20478 test 0 -eq $? || _lt_function_replace_fail=:
   20479 
   20480 
   20481   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20482 func_split_short_opt ()\
   20483 {\
   20484 \    func_split_short_opt_arg=${1#??}\
   20485 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20486 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20487   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20488     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20489 test 0 -eq $? || _lt_function_replace_fail=:
   20490 
   20491 
   20492   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20493 func_lo2o ()\
   20494 {\
   20495 \    case ${1} in\
   20496 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20497 \      *)    func_lo2o_result=${1} ;;\
   20498 \    esac\
   20499 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20500   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20501     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20502 test 0 -eq $? || _lt_function_replace_fail=:
   20503 
   20504 
   20505   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20506 func_xform ()\
   20507 {\
   20508     func_xform_result=${1%.*}.lo\
   20509 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20510   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20511     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20512 test 0 -eq $? || _lt_function_replace_fail=:
   20513 
   20514 
   20515   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20516 func_arith ()\
   20517 {\
   20518     func_arith_result=$(( $* ))\
   20519 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20520   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20521     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20522 test 0 -eq $? || _lt_function_replace_fail=:
   20523 
   20524 
   20525   sed -e '/^func_len ()$/,/^} # func_len /c\
   20526 func_len ()\
   20527 {\
   20528     func_len_result=${#1}\
   20529 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20530   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20532 test 0 -eq $? || _lt_function_replace_fail=:
   20533 
   20534 fi
   20535 
   20536 if test x"$lt_shell_append" = xyes; then
   20537   sed -e '/^func_append ()$/,/^} # func_append /c\
   20538 func_append ()\
   20539 {\
   20540     eval "${1}+=\\${2}"\
   20541 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20542   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20543     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20544 test 0 -eq $? || _lt_function_replace_fail=:
   20545 
   20546 
   20547   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20548 func_append_quoted ()\
   20549 {\
   20550 \    func_quote_for_eval "${2}"\
   20551 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20552 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20553   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20554     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20555 test 0 -eq $? || _lt_function_replace_fail=:
   20556 
   20557 
   20558   # Save a `func_append' function call where possible by direct use of '+='
   20559   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20560     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20561       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20562   test 0 -eq $? || _lt_function_replace_fail=:
   20563 else
   20564   # Save a `func_append' function call even when '+=' is not available
   20565   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20566     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20567       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20568   test 0 -eq $? || _lt_function_replace_fail=:
   20569 fi
   20570 
   20571 if test x"$_lt_function_replace_fail" = x":"; then
   20572   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20573 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20574 fi
   20575 
   20576 
   20577    mv -f "$cfgfile" "$ofile" ||
   20578     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20579   chmod +x "$ofile"
   20580 
   20581  ;;
   20582 
   20583   esac
   20584 done # for ac_tag
   20585 
   20586 
   20587 as_fn_exit 0
   20588 _ACEOF
   20589 ac_clean_files=$ac_clean_files_save
   20590 
   20591 test $ac_write_fail = 0 ||
   20592   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20593 
   20594 
   20595 # configure is writing to config.log, and then calls config.status.
   20596 # config.status does its own redirection, appending to config.log.
   20597 # Unfortunately, on DOS this fails, as config.log is still kept open
   20598 # by configure, so config.status won't be able to write to it; its
   20599 # output is simply discarded.  So we exec the FD to /dev/null,
   20600 # effectively closing config.log, so it can be properly (re)opened and
   20601 # appended to by config.status.  When coming back to configure, we
   20602 # need to make the FD available again.
   20603 if test "$no_create" != yes; then
   20604   ac_cs_success=:
   20605   ac_config_status_args=
   20606   test "$silent" = yes &&
   20607     ac_config_status_args="$ac_config_status_args --quiet"
   20608   exec 5>/dev/null
   20609   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20610   exec 5>>config.log
   20611   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20612   # would make configure fail if this is the last instruction.
   20613   $ac_cs_success || as_fn_exit 1
   20614 fi
   20615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20616   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20618 fi
   20619 
   20620