Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-geode 2.11.18.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode>.
      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 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || 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&component=Driver%2Fgeode
    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-geode'
    593 PACKAGE_TARNAME='xf86-video-geode'
    594 PACKAGE_VERSION='2.11.18'
    595 PACKAGE_STRING='xf86-video-geode 2.11.18'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode'
    597 PACKAGE_URL='http://www.x.org/wiki/GeodeDriver'
    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 PCIACCESS_LIBS
    641 PCIACCESS_CFLAGS
    642 XEXT_LIBS
    643 XEXT_CFLAGS
    644 XORG_LIBS
    645 XORG_CFLAGS
    646 M32_CFLAGS
    647 BUILD_ZTV_FALSE
    648 BUILD_ZTV_TRUE
    649 PANEL_CPPFLAGS
    650 moduledir
    651 MAN_SUBSTS
    652 XORG_MAN_PAGE
    653 ADMIN_MAN_DIR
    654 DRIVER_MAN_DIR
    655 MISC_MAN_DIR
    656 FILE_MAN_DIR
    657 LIB_MAN_DIR
    658 APP_MAN_DIR
    659 ADMIN_MAN_SUFFIX
    660 DRIVER_MAN_SUFFIX
    661 MISC_MAN_SUFFIX
    662 FILE_MAN_SUFFIX
    663 LIB_MAN_SUFFIX
    664 APP_MAN_SUFFIX
    665 INSTALL_CMD
    666 PKG_CONFIG_LIBDIR
    667 PKG_CONFIG_PATH
    668 PKG_CONFIG
    669 CHANGELOG_CMD
    670 STRICT_CFLAGS
    671 CWARNFLAGS
    672 BASE_CFLAGS
    673 CPP
    674 OTOOL64
    675 OTOOL
    676 LIPO
    677 NMEDIT
    678 DSYMUTIL
    679 MANIFEST_TOOL
    680 RANLIB
    681 ac_ct_AR
    682 AR
    683 DLLTOOL
    684 OBJDUMP
    685 LN_S
    686 NM
    687 ac_ct_DUMPBIN
    688 DUMPBIN
    689 LD
    690 FGREP
    691 EGREP
    692 GREP
    693 SED
    694 am__fastdepCC_FALSE
    695 am__fastdepCC_TRUE
    696 CCDEPMODE
    697 am__nodep
    698 AMDEPBACKSLASH
    699 AMDEP_FALSE
    700 AMDEP_TRUE
    701 am__quote
    702 am__include
    703 DEPDIR
    704 OBJEXT
    705 EXEEXT
    706 ac_ct_CC
    707 CPPFLAGS
    708 LDFLAGS
    709 CFLAGS
    710 CC
    711 host_os
    712 host_vendor
    713 host_cpu
    714 host
    715 build_os
    716 build_vendor
    717 build_cpu
    718 build
    719 LIBTOOL
    720 MAINT
    721 MAINTAINER_MODE_FALSE
    722 MAINTAINER_MODE_TRUE
    723 AM_BACKSLASH
    724 AM_DEFAULT_VERBOSITY
    725 AM_DEFAULT_V
    726 AM_V
    727 am__untar
    728 am__tar
    729 AMTAR
    730 am__leading_dot
    731 SET_MAKE
    732 AWK
    733 mkdir_p
    734 MKDIR_P
    735 INSTALL_STRIP_PROGRAM
    736 STRIP
    737 install_sh
    738 MAKEINFO
    739 AUTOHEADER
    740 AUTOMAKE
    741 AUTOCONF
    742 ACLOCAL
    743 VERSION
    744 PACKAGE
    745 CYGPATH_W
    746 am__isrc
    747 INSTALL_DATA
    748 INSTALL_SCRIPT
    749 INSTALL_PROGRAM
    750 target_alias
    751 host_alias
    752 build_alias
    753 LIBS
    754 ECHO_T
    755 ECHO_N
    756 ECHO_C
    757 DEFS
    758 mandir
    759 localedir
    760 libdir
    761 psdir
    762 pdfdir
    763 dvidir
    764 htmldir
    765 infodir
    766 docdir
    767 oldincludedir
    768 includedir
    769 runstatedir
    770 localstatedir
    771 sharedstatedir
    772 sysconfdir
    773 datadir
    774 datarootdir
    775 libexecdir
    776 sbindir
    777 bindir
    778 program_transform_name
    779 prefix
    780 exec_prefix
    781 PACKAGE_URL
    782 PACKAGE_BUGREPORT
    783 PACKAGE_STRING
    784 PACKAGE_VERSION
    785 PACKAGE_TARNAME
    786 PACKAGE_NAME
    787 PATH_SEPARATOR
    788 SHELL'
    789 ac_subst_files=''
    790 ac_user_opts='
    791 enable_option_checking
    792 enable_silent_rules
    793 enable_maintainer_mode
    794 enable_static
    795 enable_shared
    796 with_pic
    797 enable_fast_install
    798 enable_dependency_tracking
    799 with_gnu_ld
    800 with_sysroot
    801 enable_libtool_lock
    802 enable_selective_werror
    803 enable_strict_compilation
    804 with_xorg_module_dir
    805 enable_geodegx_panel
    806 enable_ztv
    807 enable_xaa
    808 '
    809       ac_precious_vars='build_alias
    810 host_alias
    811 target_alias
    812 CC
    813 CFLAGS
    814 LDFLAGS
    815 LIBS
    816 CPPFLAGS
    817 CPP
    818 PKG_CONFIG
    819 PKG_CONFIG_PATH
    820 PKG_CONFIG_LIBDIR
    821 XORG_CFLAGS
    822 XORG_LIBS
    823 XEXT_CFLAGS
    824 XEXT_LIBS
    825 PCIACCESS_CFLAGS
    826 PCIACCESS_LIBS'
    827 
    828 
    829 # Initialize some variables set by options.
    830 ac_init_help=
    831 ac_init_version=false
    832 ac_unrecognized_opts=
    833 ac_unrecognized_sep=
    834 # The variables have the same names as the options, with
    835 # dashes changed to underlines.
    836 cache_file=/dev/null
    837 exec_prefix=NONE
    838 no_create=
    839 no_recursion=
    840 prefix=NONE
    841 program_prefix=NONE
    842 program_suffix=NONE
    843 program_transform_name=s,x,x,
    844 silent=
    845 site=
    846 srcdir=
    847 verbose=
    848 x_includes=NONE
    849 x_libraries=NONE
    850 
    851 # Installation directory options.
    852 # These are left unexpanded so users can "make install exec_prefix=/foo"
    853 # and all the variables that are supposed to be based on exec_prefix
    854 # by default will actually change.
    855 # Use braces instead of parens because sh, perl, etc. also accept them.
    856 # (The list follows the same order as the GNU Coding Standards.)
    857 bindir='${exec_prefix}/bin'
    858 sbindir='${exec_prefix}/sbin'
    859 libexecdir='${exec_prefix}/libexec'
    860 datarootdir='${prefix}/share'
    861 datadir='${datarootdir}'
    862 sysconfdir='${prefix}/etc'
    863 sharedstatedir='${prefix}/com'
    864 localstatedir='${prefix}/var'
    865 runstatedir='${localstatedir}/run'
    866 includedir='${prefix}/include'
    867 oldincludedir='/usr/include'
    868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    869 infodir='${datarootdir}/info'
    870 htmldir='${docdir}'
    871 dvidir='${docdir}'
    872 pdfdir='${docdir}'
    873 psdir='${docdir}'
    874 libdir='${exec_prefix}/lib'
    875 localedir='${datarootdir}/locale'
    876 mandir='${datarootdir}/man'
    877 
    878 ac_prev=
    879 ac_dashdash=
    880 for ac_option
    881 do
    882   # If the previous option needs an argument, assign it.
    883   if test -n "$ac_prev"; then
    884     eval $ac_prev=\$ac_option
    885     ac_prev=
    886     continue
    887   fi
    888 
    889   case $ac_option in
    890   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    891   *=)   ac_optarg= ;;
    892   *)    ac_optarg=yes ;;
    893   esac
    894 
    895   # Accept the important Cygnus configure options, so we can diagnose typos.
    896 
    897   case $ac_dashdash$ac_option in
    898   --)
    899     ac_dashdash=yes ;;
    900 
    901   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    902     ac_prev=bindir ;;
    903   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    904     bindir=$ac_optarg ;;
    905 
    906   -build | --build | --buil | --bui | --bu)
    907     ac_prev=build_alias ;;
    908   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    909     build_alias=$ac_optarg ;;
    910 
    911   -cache-file | --cache-file | --cache-fil | --cache-fi \
    912   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    913     ac_prev=cache_file ;;
    914   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    915   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    916     cache_file=$ac_optarg ;;
    917 
    918   --config-cache | -C)
    919     cache_file=config.cache ;;
    920 
    921   -datadir | --datadir | --datadi | --datad)
    922     ac_prev=datadir ;;
    923   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    924     datadir=$ac_optarg ;;
    925 
    926   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    927   | --dataroo | --dataro | --datar)
    928     ac_prev=datarootdir ;;
    929   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    930   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    931     datarootdir=$ac_optarg ;;
    932 
    933   -disable-* | --disable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: $ac_useropt"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=no ;;
    948 
    949   -docdir | --docdir | --docdi | --doc | --do)
    950     ac_prev=docdir ;;
    951   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    952     docdir=$ac_optarg ;;
    953 
    954   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    955     ac_prev=dvidir ;;
    956   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    957     dvidir=$ac_optarg ;;
    958 
    959   -enable-* | --enable-*)
    960     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    961     # Reject names that are not valid shell variable names.
    962     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    963       as_fn_error $? "invalid feature name: $ac_useropt"
    964     ac_useropt_orig=$ac_useropt
    965     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    966     case $ac_user_opts in
    967       *"
    968 "enable_$ac_useropt"
    969 "*) ;;
    970       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    971 	 ac_unrecognized_sep=', ';;
    972     esac
    973     eval enable_$ac_useropt=\$ac_optarg ;;
    974 
    975   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    976   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    977   | --exec | --exe | --ex)
    978     ac_prev=exec_prefix ;;
    979   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    980   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    981   | --exec=* | --exe=* | --ex=*)
    982     exec_prefix=$ac_optarg ;;
    983 
    984   -gas | --gas | --ga | --g)
    985     # Obsolete; use --with-gas.
    986     with_gas=yes ;;
    987 
    988   -help | --help | --hel | --he | -h)
    989     ac_init_help=long ;;
    990   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    991     ac_init_help=recursive ;;
    992   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    993     ac_init_help=short ;;
    994 
    995   -host | --host | --hos | --ho)
    996     ac_prev=host_alias ;;
    997   -host=* | --host=* | --hos=* | --ho=*)
    998     host_alias=$ac_optarg ;;
    999 
   1000   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1001     ac_prev=htmldir ;;
   1002   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1003   | --ht=*)
   1004     htmldir=$ac_optarg ;;
   1005 
   1006   -includedir | --includedir | --includedi | --included | --include \
   1007   | --includ | --inclu | --incl | --inc)
   1008     ac_prev=includedir ;;
   1009   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1010   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1011     includedir=$ac_optarg ;;
   1012 
   1013   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1014     ac_prev=infodir ;;
   1015   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1016     infodir=$ac_optarg ;;
   1017 
   1018   -libdir | --libdir | --libdi | --libd)
   1019     ac_prev=libdir ;;
   1020   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1021     libdir=$ac_optarg ;;
   1022 
   1023   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1024   | --libexe | --libex | --libe)
   1025     ac_prev=libexecdir ;;
   1026   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1027   | --libexe=* | --libex=* | --libe=*)
   1028     libexecdir=$ac_optarg ;;
   1029 
   1030   -localedir | --localedir | --localedi | --localed | --locale)
   1031     ac_prev=localedir ;;
   1032   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1033     localedir=$ac_optarg ;;
   1034 
   1035   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1036   | --localstate | --localstat | --localsta | --localst | --locals)
   1037     ac_prev=localstatedir ;;
   1038   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1039   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1040     localstatedir=$ac_optarg ;;
   1041 
   1042   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1043     ac_prev=mandir ;;
   1044   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1045     mandir=$ac_optarg ;;
   1046 
   1047   -nfp | --nfp | --nf)
   1048     # Obsolete; use --without-fp.
   1049     with_fp=no ;;
   1050 
   1051   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1052   | --no-cr | --no-c | -n)
   1053     no_create=yes ;;
   1054 
   1055   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1056   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1057     no_recursion=yes ;;
   1058 
   1059   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1060   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1061   | --oldin | --oldi | --old | --ol | --o)
   1062     ac_prev=oldincludedir ;;
   1063   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1064   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1065   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1066     oldincludedir=$ac_optarg ;;
   1067 
   1068   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1069     ac_prev=prefix ;;
   1070   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1071     prefix=$ac_optarg ;;
   1072 
   1073   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1074   | --program-pre | --program-pr | --program-p)
   1075     ac_prev=program_prefix ;;
   1076   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1077   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1078     program_prefix=$ac_optarg ;;
   1079 
   1080   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1081   | --program-suf | --program-su | --program-s)
   1082     ac_prev=program_suffix ;;
   1083   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1084   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1085     program_suffix=$ac_optarg ;;
   1086 
   1087   -program-transform-name | --program-transform-name \
   1088   | --program-transform-nam | --program-transform-na \
   1089   | --program-transform-n | --program-transform- \
   1090   | --program-transform | --program-transfor \
   1091   | --program-transfo | --program-transf \
   1092   | --program-trans | --program-tran \
   1093   | --progr-tra | --program-tr | --program-t)
   1094     ac_prev=program_transform_name ;;
   1095   -program-transform-name=* | --program-transform-name=* \
   1096   | --program-transform-nam=* | --program-transform-na=* \
   1097   | --program-transform-n=* | --program-transform-=* \
   1098   | --program-transform=* | --program-transfor=* \
   1099   | --program-transfo=* | --program-transf=* \
   1100   | --program-trans=* | --program-tran=* \
   1101   | --progr-tra=* | --program-tr=* | --program-t=*)
   1102     program_transform_name=$ac_optarg ;;
   1103 
   1104   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1105     ac_prev=pdfdir ;;
   1106   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1107     pdfdir=$ac_optarg ;;
   1108 
   1109   -psdir | --psdir | --psdi | --psd | --ps)
   1110     ac_prev=psdir ;;
   1111   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1112     psdir=$ac_optarg ;;
   1113 
   1114   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1115   | -silent | --silent | --silen | --sile | --sil)
   1116     silent=yes ;;
   1117 
   1118   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1119   | --runstate | --runstat | --runsta | --runst | --runs \
   1120   | --run | --ru | --r)
   1121     ac_prev=runstatedir ;;
   1122   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1123   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1124   | --run=* | --ru=* | --r=*)
   1125     runstatedir=$ac_optarg ;;
   1126 
   1127   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1128     ac_prev=sbindir ;;
   1129   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1130   | --sbi=* | --sb=*)
   1131     sbindir=$ac_optarg ;;
   1132 
   1133   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1134   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1135   | --sharedst | --shareds | --shared | --share | --shar \
   1136   | --sha | --sh)
   1137     ac_prev=sharedstatedir ;;
   1138   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1139   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1140   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1141   | --sha=* | --sh=*)
   1142     sharedstatedir=$ac_optarg ;;
   1143 
   1144   -site | --site | --sit)
   1145     ac_prev=site ;;
   1146   -site=* | --site=* | --sit=*)
   1147     site=$ac_optarg ;;
   1148 
   1149   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1150     ac_prev=srcdir ;;
   1151   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1152     srcdir=$ac_optarg ;;
   1153 
   1154   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1155   | --syscon | --sysco | --sysc | --sys | --sy)
   1156     ac_prev=sysconfdir ;;
   1157   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1158   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1159     sysconfdir=$ac_optarg ;;
   1160 
   1161   -target | --target | --targe | --targ | --tar | --ta | --t)
   1162     ac_prev=target_alias ;;
   1163   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1164     target_alias=$ac_optarg ;;
   1165 
   1166   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1167     verbose=yes ;;
   1168 
   1169   -version | --version | --versio | --versi | --vers | -V)
   1170     ac_init_version=: ;;
   1171 
   1172   -with-* | --with-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=\$ac_optarg ;;
   1187 
   1188   -without-* | --without-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=no ;;
   1203 
   1204   --x)
   1205     # Obsolete; use --with-x.
   1206     with_x=yes ;;
   1207 
   1208   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1209   | --x-incl | --x-inc | --x-in | --x-i)
   1210     ac_prev=x_includes ;;
   1211   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1212   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1213     x_includes=$ac_optarg ;;
   1214 
   1215   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1216   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1217     ac_prev=x_libraries ;;
   1218   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1219   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1220     x_libraries=$ac_optarg ;;
   1221 
   1222   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1223 Try \`$0 --help' for more information"
   1224     ;;
   1225 
   1226   *=*)
   1227     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1228     # Reject names that are not valid shell variable names.
   1229     case $ac_envvar in #(
   1230       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1231       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1232     esac
   1233     eval $ac_envvar=\$ac_optarg
   1234     export $ac_envvar ;;
   1235 
   1236   *)
   1237     # FIXME: should be removed in autoconf 3.0.
   1238     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1239     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1240       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1241     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1242     ;;
   1243 
   1244   esac
   1245 done
   1246 
   1247 if test -n "$ac_prev"; then
   1248   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1249   as_fn_error $? "missing argument to $ac_option"
   1250 fi
   1251 
   1252 if test -n "$ac_unrecognized_opts"; then
   1253   case $enable_option_checking in
   1254     no) ;;
   1255     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1256     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1257   esac
   1258 fi
   1259 
   1260 # Check all directory arguments for consistency.
   1261 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1262 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1263 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1264 		libdir localedir mandir runstatedir
   1265 do
   1266   eval ac_val=\$$ac_var
   1267   # Remove trailing slashes.
   1268   case $ac_val in
   1269     */ )
   1270       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1271       eval $ac_var=\$ac_val;;
   1272   esac
   1273   # Be sure to have absolute directory names.
   1274   case $ac_val in
   1275     [\\/$]* | ?:[\\/]* )  continue;;
   1276     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1277   esac
   1278   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1279 done
   1280 
   1281 # There might be people who depend on the old broken behavior: `$host'
   1282 # used to hold the argument of --host etc.
   1283 # FIXME: To remove some day.
   1284 build=$build_alias
   1285 host=$host_alias
   1286 target=$target_alias
   1287 
   1288 # FIXME: To remove some day.
   1289 if test "x$host_alias" != x; then
   1290   if test "x$build_alias" = x; then
   1291     cross_compiling=maybe
   1292   elif test "x$build_alias" != "x$host_alias"; then
   1293     cross_compiling=yes
   1294   fi
   1295 fi
   1296 
   1297 ac_tool_prefix=
   1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1299 
   1300 test "$silent" = yes && exec 6>/dev/null
   1301 
   1302 
   1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1304 ac_ls_di=`ls -di .` &&
   1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1306   as_fn_error $? "working directory cannot be determined"
   1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1308   as_fn_error $? "pwd does not report name of working directory"
   1309 
   1310 
   1311 # Find the source files, if location was not specified.
   1312 if test -z "$srcdir"; then
   1313   ac_srcdir_defaulted=yes
   1314   # Try the directory containing this script, then the parent directory.
   1315   ac_confdir=`$as_dirname -- "$as_myself" ||
   1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1317 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1318 	 X"$as_myself" : 'X\(//\)$' \| \
   1319 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1320 $as_echo X"$as_myself" |
   1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  /^X\(\/\/\)[^/].*/{
   1326 	    s//\1/
   1327 	    q
   1328 	  }
   1329 	  /^X\(\/\/\)$/{
   1330 	    s//\1/
   1331 	    q
   1332 	  }
   1333 	  /^X\(\/\).*/{
   1334 	    s//\1/
   1335 	    q
   1336 	  }
   1337 	  s/.*/./; q'`
   1338   srcdir=$ac_confdir
   1339   if test ! -r "$srcdir/$ac_unique_file"; then
   1340     srcdir=..
   1341   fi
   1342 else
   1343   ac_srcdir_defaulted=no
   1344 fi
   1345 if test ! -r "$srcdir/$ac_unique_file"; then
   1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1348 fi
   1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1350 ac_abs_confdir=`(
   1351 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1352 	pwd)`
   1353 # When building in place, set srcdir=.
   1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1355   srcdir=.
   1356 fi
   1357 # Remove unnecessary trailing slashes from srcdir.
   1358 # Double slashes in file names in object file debugging info
   1359 # mess up M-x gdb in Emacs.
   1360 case $srcdir in
   1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1362 esac
   1363 for ac_var in $ac_precious_vars; do
   1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_env_${ac_var}_value=\$${ac_var}
   1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1368 done
   1369 
   1370 #
   1371 # Report the --help message.
   1372 #
   1373 if test "$ac_init_help" = "long"; then
   1374   # Omit some internal or obsolete options to make the list less imposing.
   1375   # This message is too long to be a string in the A/UX 3.1 sh.
   1376   cat <<_ACEOF
   1377 \`configure' configures xf86-video-geode 2.11.18 to adapt to many kinds of systems.
   1378 
   1379 Usage: $0 [OPTION]... [VAR=VALUE]...
   1380 
   1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1383 
   1384 Defaults for the options are specified in brackets.
   1385 
   1386 Configuration:
   1387   -h, --help              display this help and exit
   1388       --help=short        display options specific to this package
   1389       --help=recursive    display the short help of all the included packages
   1390   -V, --version           display version information and exit
   1391   -q, --quiet, --silent   do not print \`checking ...' messages
   1392       --cache-file=FILE   cache test results in FILE [disabled]
   1393   -C, --config-cache      alias for \`--cache-file=config.cache'
   1394   -n, --no-create         do not create output files
   1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1396 
   1397 Installation directories:
   1398   --prefix=PREFIX         install architecture-independent files in PREFIX
   1399                           [$ac_default_prefix]
   1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1401                           [PREFIX]
   1402 
   1403 By default, \`make install' will install all the files in
   1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1406 for instance \`--prefix=\$HOME'.
   1407 
   1408 For better control, use the options below.
   1409 
   1410 Fine tuning of the installation directories:
   1411   --bindir=DIR            user executables [EPREFIX/bin]
   1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1417   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1418   --libdir=DIR            object code libraries [EPREFIX/lib]
   1419   --includedir=DIR        C header files [PREFIX/include]
   1420   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1421   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1422   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1423   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1424   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1425   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1426   --docdir=DIR            documentation root
   1427                           [DATAROOTDIR/doc/xf86-video-geode]
   1428   --htmldir=DIR           html documentation [DOCDIR]
   1429   --dvidir=DIR            dvi documentation [DOCDIR]
   1430   --pdfdir=DIR            pdf documentation [DOCDIR]
   1431   --psdir=DIR             ps documentation [DOCDIR]
   1432 _ACEOF
   1433 
   1434   cat <<\_ACEOF
   1435 
   1436 Program names:
   1437   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1438   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1439   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1440 
   1441 System types:
   1442   --build=BUILD     configure for building on BUILD [guessed]
   1443   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1444 _ACEOF
   1445 fi
   1446 
   1447 if test -n "$ac_init_help"; then
   1448   case $ac_init_help in
   1449      short | recursive ) echo "Configuration of xf86-video-geode 2.11.18:";;
   1450    esac
   1451   cat <<\_ACEOF
   1452 
   1453 Optional Features:
   1454   --disable-option-checking  ignore unrecognized --enable/--with options
   1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1457   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1458   --disable-silent-rules  verbose build output (undo: "make V=0")
   1459   --enable-maintainer-mode
   1460                           enable make rules and dependencies not useful (and
   1461                           sometimes confusing) to the casual installer
   1462   --enable-static[=PKGS]  build static libraries [default=no]
   1463   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1464   --enable-fast-install[=PKGS]
   1465                           optimize for fast installation [default=yes]
   1466   --enable-dependency-tracking
   1467                           do not reject slow dependency extractors
   1468   --disable-dependency-tracking
   1469                           speeds up one-time build
   1470   --disable-libtool-lock  avoid locking (might break parallel builds)
   1471   --disable-selective-werror
   1472                           Turn off selective compiler errors. (default:
   1473                           enabled)
   1474   --enable-strict-compilation
   1475                           Enable all warnings from compiler and make them
   1476                           errors (default: disabled)
   1477   --disable-geodegx-panel Disable support for flatpanels with the Geode GX
   1478   --enable-ztv            Enable Video For Linux based ZTV driver (default:
   1479                           auto-detected)
   1480   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1481                           [default=auto]
   1482 
   1483 Optional Packages:
   1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1486   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1487                           both]
   1488   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1489   --with-sysroot=DIR Search for dependent libraries within DIR
   1490                         (or the compiler's sysroot if not specified).
   1491   --with-xorg-module-dir=DIR
   1492                           Default xorg module directory
   1493                           [[default=$libdir/xorg/modules]]
   1494 
   1495 Some influential environment variables:
   1496   CC          C compiler command
   1497   CFLAGS      C compiler flags
   1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1499               nonstandard directory <lib dir>
   1500   LIBS        libraries to pass to the linker, e.g. -l<library>
   1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1502               you have headers in a nonstandard directory <include dir>
   1503   CPP         C preprocessor
   1504   PKG_CONFIG  path to pkg-config utility
   1505   PKG_CONFIG_PATH
   1506               directories to add to pkg-config's search path
   1507   PKG_CONFIG_LIBDIR
   1508               path overriding pkg-config's built-in search path
   1509   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1510   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1511   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1512   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1513   PCIACCESS_CFLAGS
   1514               C compiler flags for PCIACCESS, overriding pkg-config
   1515   PCIACCESS_LIBS
   1516               linker flags for PCIACCESS, overriding pkg-config
   1517 
   1518 Use these variables to override the choices made by `configure' or to help
   1519 it to find libraries and programs with nonstandard names/locations.
   1520 
   1521 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode>.
   1522 xf86-video-geode home page: <http://www.x.org/wiki/GeodeDriver>.
   1523 _ACEOF
   1524 ac_status=$?
   1525 fi
   1526 
   1527 if test "$ac_init_help" = "recursive"; then
   1528   # If there are subdirs, report their specific --help.
   1529   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1530     test -d "$ac_dir" ||
   1531       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1532       continue
   1533     ac_builddir=.
   1534 
   1535 case "$ac_dir" in
   1536 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1537 *)
   1538   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1539   # A ".." for each directory in $ac_dir_suffix.
   1540   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1541   case $ac_top_builddir_sub in
   1542   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1543   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1544   esac ;;
   1545 esac
   1546 ac_abs_top_builddir=$ac_pwd
   1547 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1548 # for backward compatibility:
   1549 ac_top_builddir=$ac_top_build_prefix
   1550 
   1551 case $srcdir in
   1552   .)  # We are building in place.
   1553     ac_srcdir=.
   1554     ac_top_srcdir=$ac_top_builddir_sub
   1555     ac_abs_top_srcdir=$ac_pwd ;;
   1556   [\\/]* | ?:[\\/]* )  # Absolute name.
   1557     ac_srcdir=$srcdir$ac_dir_suffix;
   1558     ac_top_srcdir=$srcdir
   1559     ac_abs_top_srcdir=$srcdir ;;
   1560   *) # Relative name.
   1561     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1562     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1563     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1564 esac
   1565 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1566 
   1567     cd "$ac_dir" || { ac_status=$?; continue; }
   1568     # Check for guested configure.
   1569     if test -f "$ac_srcdir/configure.gnu"; then
   1570       echo &&
   1571       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1572     elif test -f "$ac_srcdir/configure"; then
   1573       echo &&
   1574       $SHELL "$ac_srcdir/configure" --help=recursive
   1575     else
   1576       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1577     fi || ac_status=$?
   1578     cd "$ac_pwd" || { ac_status=$?; break; }
   1579   done
   1580 fi
   1581 
   1582 test -n "$ac_init_help" && exit $ac_status
   1583 if $ac_init_version; then
   1584   cat <<\_ACEOF
   1585 xf86-video-geode configure 2.11.18
   1586 generated by GNU Autoconf 2.69
   1587 
   1588 Copyright (C) 2012 Free Software Foundation, Inc.
   1589 This configure script is free software; the Free Software Foundation
   1590 gives unlimited permission to copy, distribute and modify it.
   1591 _ACEOF
   1592   exit
   1593 fi
   1594 
   1595 ## ------------------------ ##
   1596 ## Autoconf initialization. ##
   1597 ## ------------------------ ##
   1598 
   1599 # ac_fn_c_try_compile LINENO
   1600 # --------------------------
   1601 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1602 ac_fn_c_try_compile ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   rm -f conftest.$ac_objext
   1606   if { { ac_try="$ac_compile"
   1607 case "(($ac_try" in
   1608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1609   *) ac_try_echo=$ac_try;;
   1610 esac
   1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1612 $as_echo "$ac_try_echo"; } >&5
   1613   (eval "$ac_compile") 2>conftest.err
   1614   ac_status=$?
   1615   if test -s conftest.err; then
   1616     grep -v '^ *+' conftest.err >conftest.er1
   1617     cat conftest.er1 >&5
   1618     mv -f conftest.er1 conftest.err
   1619   fi
   1620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1621   test $ac_status = 0; } && {
   1622 	 test -z "$ac_c_werror_flag" ||
   1623 	 test ! -s conftest.err
   1624        } && test -s conftest.$ac_objext; then :
   1625   ac_retval=0
   1626 else
   1627   $as_echo "$as_me: failed program was:" >&5
   1628 sed 's/^/| /' conftest.$ac_ext >&5
   1629 
   1630 	ac_retval=1
   1631 fi
   1632   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1633   as_fn_set_status $ac_retval
   1634 
   1635 } # ac_fn_c_try_compile
   1636 
   1637 # ac_fn_c_try_link LINENO
   1638 # -----------------------
   1639 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1640 ac_fn_c_try_link ()
   1641 {
   1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1643   rm -f conftest.$ac_objext conftest$ac_exeext
   1644   if { { ac_try="$ac_link"
   1645 case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 $as_echo "$ac_try_echo"; } >&5
   1651   (eval "$ac_link") 2>conftest.err
   1652   ac_status=$?
   1653   if test -s conftest.err; then
   1654     grep -v '^ *+' conftest.err >conftest.er1
   1655     cat conftest.er1 >&5
   1656     mv -f conftest.er1 conftest.err
   1657   fi
   1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } && {
   1660 	 test -z "$ac_c_werror_flag" ||
   1661 	 test ! -s conftest.err
   1662        } && test -s conftest$ac_exeext && {
   1663 	 test "$cross_compiling" = yes ||
   1664 	 test -x conftest$ac_exeext
   1665        }; then :
   1666   ac_retval=0
   1667 else
   1668   $as_echo "$as_me: failed program was:" >&5
   1669 sed 's/^/| /' conftest.$ac_ext >&5
   1670 
   1671 	ac_retval=1
   1672 fi
   1673   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1674   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1675   # interfere with the next link command; also delete a directory that is
   1676   # left behind by Apple's compiler.  We do this before executing the actions.
   1677   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_link
   1682 
   1683 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1684 # -------------------------------------------------------
   1685 # Tests whether HEADER exists and can be compiled using the include files in
   1686 # INCLUDES, setting the cache variable VAR accordingly.
   1687 ac_fn_c_check_header_compile ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1691 $as_echo_n "checking for $2... " >&6; }
   1692 if eval \${$3+:} false; then :
   1693   $as_echo_n "(cached) " >&6
   1694 else
   1695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 #include <$2>
   1699 _ACEOF
   1700 if ac_fn_c_try_compile "$LINENO"; then :
   1701   eval "$3=yes"
   1702 else
   1703   eval "$3=no"
   1704 fi
   1705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1706 fi
   1707 eval ac_res=\$$3
   1708 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1709 $as_echo "$ac_res" >&6; }
   1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1711 
   1712 } # ac_fn_c_check_header_compile
   1713 
   1714 # ac_fn_c_try_cpp LINENO
   1715 # ----------------------
   1716 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1717 ac_fn_c_try_cpp ()
   1718 {
   1719   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1720   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1721 case "(($ac_try" in
   1722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1723   *) ac_try_echo=$ac_try;;
   1724 esac
   1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1726 $as_echo "$ac_try_echo"; } >&5
   1727   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1728   ac_status=$?
   1729   if test -s conftest.err; then
   1730     grep -v '^ *+' conftest.err >conftest.er1
   1731     cat conftest.er1 >&5
   1732     mv -f conftest.er1 conftest.err
   1733   fi
   1734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1735   test $ac_status = 0; } > conftest.i && {
   1736 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1737 	 test ! -s conftest.err
   1738        }; then :
   1739   ac_retval=0
   1740 else
   1741   $as_echo "$as_me: failed program was:" >&5
   1742 sed 's/^/| /' conftest.$ac_ext >&5
   1743 
   1744     ac_retval=1
   1745 fi
   1746   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1747   as_fn_set_status $ac_retval
   1748 
   1749 } # ac_fn_c_try_cpp
   1750 
   1751 # ac_fn_c_try_run LINENO
   1752 # ----------------------
   1753 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1754 # that executables *can* be run.
   1755 ac_fn_c_try_run ()
   1756 {
   1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1758   if { { ac_try="$ac_link"
   1759 case "(($ac_try" in
   1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1761   *) ac_try_echo=$ac_try;;
   1762 esac
   1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1764 $as_echo "$ac_try_echo"; } >&5
   1765   (eval "$ac_link") 2>&5
   1766   ac_status=$?
   1767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1768   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1769   { { case "(($ac_try" in
   1770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1771   *) ac_try_echo=$ac_try;;
   1772 esac
   1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1774 $as_echo "$ac_try_echo"; } >&5
   1775   (eval "$ac_try") 2>&5
   1776   ac_status=$?
   1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; }; }; then :
   1779   ac_retval=0
   1780 else
   1781   $as_echo "$as_me: program exited with status $ac_status" >&5
   1782        $as_echo "$as_me: failed program was:" >&5
   1783 sed 's/^/| /' conftest.$ac_ext >&5
   1784 
   1785        ac_retval=$ac_status
   1786 fi
   1787   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1789   as_fn_set_status $ac_retval
   1790 
   1791 } # ac_fn_c_try_run
   1792 
   1793 # ac_fn_c_check_func LINENO FUNC VAR
   1794 # ----------------------------------
   1795 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1796 ac_fn_c_check_func ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1800 $as_echo_n "checking for $2... " >&6; }
   1801 if eval \${$3+:} false; then :
   1802   $as_echo_n "(cached) " >&6
   1803 else
   1804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1805 /* end confdefs.h.  */
   1806 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1807    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1808 #define $2 innocuous_$2
   1809 
   1810 /* System header to define __stub macros and hopefully few prototypes,
   1811     which can conflict with char $2 (); below.
   1812     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1813     <limits.h> exists even on freestanding compilers.  */
   1814 
   1815 #ifdef __STDC__
   1816 # include <limits.h>
   1817 #else
   1818 # include <assert.h>
   1819 #endif
   1820 
   1821 #undef $2
   1822 
   1823 /* Override any GCC internal prototype to avoid an error.
   1824    Use char because int might match the return type of a GCC
   1825    builtin and then its argument prototype would still apply.  */
   1826 #ifdef __cplusplus
   1827 extern "C"
   1828 #endif
   1829 char $2 ();
   1830 /* The GNU C library defines this for functions which it implements
   1831     to always fail with ENOSYS.  Some functions are actually named
   1832     something starting with __ and the normal name is an alias.  */
   1833 #if defined __stub_$2 || defined __stub___$2
   1834 choke me
   1835 #endif
   1836 
   1837 int
   1838 main ()
   1839 {
   1840 return $2 ();
   1841   ;
   1842   return 0;
   1843 }
   1844 _ACEOF
   1845 if ac_fn_c_try_link "$LINENO"; then :
   1846   eval "$3=yes"
   1847 else
   1848   eval "$3=no"
   1849 fi
   1850 rm -f core conftest.err conftest.$ac_objext \
   1851     conftest$ac_exeext conftest.$ac_ext
   1852 fi
   1853 eval ac_res=\$$3
   1854 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1855 $as_echo "$ac_res" >&6; }
   1856   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1857 
   1858 } # ac_fn_c_check_func
   1859 
   1860 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1861 # ---------------------------------------------
   1862 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1863 # accordingly.
   1864 ac_fn_c_check_decl ()
   1865 {
   1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1867   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1868   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1870 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1871 if eval \${$3+:} false; then :
   1872   $as_echo_n "(cached) " >&6
   1873 else
   1874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1875 /* end confdefs.h.  */
   1876 $4
   1877 int
   1878 main ()
   1879 {
   1880 #ifndef $as_decl_name
   1881 #ifdef __cplusplus
   1882   (void) $as_decl_use;
   1883 #else
   1884   (void) $as_decl_name;
   1885 #endif
   1886 #endif
   1887 
   1888   ;
   1889   return 0;
   1890 }
   1891 _ACEOF
   1892 if ac_fn_c_try_compile "$LINENO"; then :
   1893   eval "$3=yes"
   1894 else
   1895   eval "$3=no"
   1896 fi
   1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1898 fi
   1899 eval ac_res=\$$3
   1900 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1901 $as_echo "$ac_res" >&6; }
   1902   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1903 
   1904 } # ac_fn_c_check_decl
   1905 
   1906 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1907 # -------------------------------------------------------
   1908 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1909 # the include files in INCLUDES and setting the cache variable VAR
   1910 # accordingly.
   1911 ac_fn_c_check_header_mongrel ()
   1912 {
   1913   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1914   if eval \${$3+:} false; then :
   1915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1916 $as_echo_n "checking for $2... " >&6; }
   1917 if eval \${$3+:} false; then :
   1918   $as_echo_n "(cached) " >&6
   1919 fi
   1920 eval ac_res=\$$3
   1921 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1922 $as_echo "$ac_res" >&6; }
   1923 else
   1924   # Is the header compilable?
   1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1926 $as_echo_n "checking $2 usability... " >&6; }
   1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1928 /* end confdefs.h.  */
   1929 $4
   1930 #include <$2>
   1931 _ACEOF
   1932 if ac_fn_c_try_compile "$LINENO"; then :
   1933   ac_header_compiler=yes
   1934 else
   1935   ac_header_compiler=no
   1936 fi
   1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1939 $as_echo "$ac_header_compiler" >&6; }
   1940 
   1941 # Is the header present?
   1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1943 $as_echo_n "checking $2 presence... " >&6; }
   1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1945 /* end confdefs.h.  */
   1946 #include <$2>
   1947 _ACEOF
   1948 if ac_fn_c_try_cpp "$LINENO"; then :
   1949   ac_header_preproc=yes
   1950 else
   1951   ac_header_preproc=no
   1952 fi
   1953 rm -f conftest.err conftest.i conftest.$ac_ext
   1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1955 $as_echo "$ac_header_preproc" >&6; }
   1956 
   1957 # So?  What about this header?
   1958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1959   yes:no: )
   1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1961 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1964     ;;
   1965   no:yes:* )
   1966     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1967 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1969 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1971 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1972     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1973 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1975 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1976 ( $as_echo "## ----------------------------------------------------------------------------------------------- ##
   1977 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode ##
   1978 ## ----------------------------------------------------------------------------------------------- ##"
   1979      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1980     ;;
   1981 esac
   1982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1983 $as_echo_n "checking for $2... " >&6; }
   1984 if eval \${$3+:} false; then :
   1985   $as_echo_n "(cached) " >&6
   1986 else
   1987   eval "$3=\$ac_header_compiler"
   1988 fi
   1989 eval ac_res=\$$3
   1990 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1991 $as_echo "$ac_res" >&6; }
   1992 fi
   1993   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1994 
   1995 } # ac_fn_c_check_header_mongrel
   1996 cat >config.log <<_ACEOF
   1997 This file contains any messages produced by compilers while
   1998 running configure, to aid debugging if configure makes a mistake.
   1999 
   2000 It was created by xf86-video-geode $as_me 2.11.18, which was
   2001 generated by GNU Autoconf 2.69.  Invocation command line was
   2002 
   2003   $ $0 $@
   2004 
   2005 _ACEOF
   2006 exec 5>>config.log
   2007 {
   2008 cat <<_ASUNAME
   2009 ## --------- ##
   2010 ## Platform. ##
   2011 ## --------- ##
   2012 
   2013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2018 
   2019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2020 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2021 
   2022 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2023 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2025 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2026 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2027 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2028 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2029 
   2030 _ASUNAME
   2031 
   2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2033 for as_dir in $PATH
   2034 do
   2035   IFS=$as_save_IFS
   2036   test -z "$as_dir" && as_dir=.
   2037     $as_echo "PATH: $as_dir"
   2038   done
   2039 IFS=$as_save_IFS
   2040 
   2041 } >&5
   2042 
   2043 cat >&5 <<_ACEOF
   2044 
   2045 
   2046 ## ----------- ##
   2047 ## Core tests. ##
   2048 ## ----------- ##
   2049 
   2050 _ACEOF
   2051 
   2052 
   2053 # Keep a trace of the command line.
   2054 # Strip out --no-create and --no-recursion so they do not pile up.
   2055 # Strip out --silent because we don't want to record it for future runs.
   2056 # Also quote any args containing shell meta-characters.
   2057 # Make two passes to allow for proper duplicate-argument suppression.
   2058 ac_configure_args=
   2059 ac_configure_args0=
   2060 ac_configure_args1=
   2061 ac_must_keep_next=false
   2062 for ac_pass in 1 2
   2063 do
   2064   for ac_arg
   2065   do
   2066     case $ac_arg in
   2067     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2068     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2069     | -silent | --silent | --silen | --sile | --sil)
   2070       continue ;;
   2071     *\'*)
   2072       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2073     esac
   2074     case $ac_pass in
   2075     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2076     2)
   2077       as_fn_append ac_configure_args1 " '$ac_arg'"
   2078       if test $ac_must_keep_next = true; then
   2079 	ac_must_keep_next=false # Got value, back to normal.
   2080       else
   2081 	case $ac_arg in
   2082 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2083 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2084 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2085 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2086 	    case "$ac_configure_args0 " in
   2087 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2088 	    esac
   2089 	    ;;
   2090 	  -* ) ac_must_keep_next=true ;;
   2091 	esac
   2092       fi
   2093       as_fn_append ac_configure_args " '$ac_arg'"
   2094       ;;
   2095     esac
   2096   done
   2097 done
   2098 { ac_configure_args0=; unset ac_configure_args0;}
   2099 { ac_configure_args1=; unset ac_configure_args1;}
   2100 
   2101 # When interrupted or exit'd, cleanup temporary files, and complete
   2102 # config.log.  We remove comments because anyway the quotes in there
   2103 # would cause problems or look ugly.
   2104 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2105 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2106 trap 'exit_status=$?
   2107   # Save into config.log some information that might help in debugging.
   2108   {
   2109     echo
   2110 
   2111     $as_echo "## ---------------- ##
   2112 ## Cache variables. ##
   2113 ## ---------------- ##"
   2114     echo
   2115     # The following way of writing the cache mishandles newlines in values,
   2116 (
   2117   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2118     eval ac_val=\$$ac_var
   2119     case $ac_val in #(
   2120     *${as_nl}*)
   2121       case $ac_var in #(
   2122       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2124       esac
   2125       case $ac_var in #(
   2126       _ | IFS | as_nl) ;; #(
   2127       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2128       *) { eval $ac_var=; unset $ac_var;} ;;
   2129       esac ;;
   2130     esac
   2131   done
   2132   (set) 2>&1 |
   2133     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2134     *${as_nl}ac_space=\ *)
   2135       sed -n \
   2136 	"s/'\''/'\''\\\\'\'''\''/g;
   2137 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2138       ;; #(
   2139     *)
   2140       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2141       ;;
   2142     esac |
   2143     sort
   2144 )
   2145     echo
   2146 
   2147     $as_echo "## ----------------- ##
   2148 ## Output variables. ##
   2149 ## ----------------- ##"
   2150     echo
   2151     for ac_var in $ac_subst_vars
   2152     do
   2153       eval ac_val=\$$ac_var
   2154       case $ac_val in
   2155       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2156       esac
   2157       $as_echo "$ac_var='\''$ac_val'\''"
   2158     done | sort
   2159     echo
   2160 
   2161     if test -n "$ac_subst_files"; then
   2162       $as_echo "## ------------------- ##
   2163 ## File substitutions. ##
   2164 ## ------------------- ##"
   2165       echo
   2166       for ac_var in $ac_subst_files
   2167       do
   2168 	eval ac_val=\$$ac_var
   2169 	case $ac_val in
   2170 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2171 	esac
   2172 	$as_echo "$ac_var='\''$ac_val'\''"
   2173       done | sort
   2174       echo
   2175     fi
   2176 
   2177     if test -s confdefs.h; then
   2178       $as_echo "## ----------- ##
   2179 ## confdefs.h. ##
   2180 ## ----------- ##"
   2181       echo
   2182       cat confdefs.h
   2183       echo
   2184     fi
   2185     test "$ac_signal" != 0 &&
   2186       $as_echo "$as_me: caught signal $ac_signal"
   2187     $as_echo "$as_me: exit $exit_status"
   2188   } >&5
   2189   rm -f core *.core core.conftest.* &&
   2190     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2191     exit $exit_status
   2192 ' 0
   2193 for ac_signal in 1 2 13 15; do
   2194   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2195 done
   2196 ac_signal=0
   2197 
   2198 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2199 rm -f -r conftest* confdefs.h
   2200 
   2201 $as_echo "/* confdefs.h */" > confdefs.h
   2202 
   2203 # Predefined preprocessor variables.
   2204 
   2205 cat >>confdefs.h <<_ACEOF
   2206 #define PACKAGE_NAME "$PACKAGE_NAME"
   2207 _ACEOF
   2208 
   2209 cat >>confdefs.h <<_ACEOF
   2210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2211 _ACEOF
   2212 
   2213 cat >>confdefs.h <<_ACEOF
   2214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2215 _ACEOF
   2216 
   2217 cat >>confdefs.h <<_ACEOF
   2218 #define PACKAGE_STRING "$PACKAGE_STRING"
   2219 _ACEOF
   2220 
   2221 cat >>confdefs.h <<_ACEOF
   2222 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2223 _ACEOF
   2224 
   2225 cat >>confdefs.h <<_ACEOF
   2226 #define PACKAGE_URL "$PACKAGE_URL"
   2227 _ACEOF
   2228 
   2229 
   2230 # Let the site file select an alternate cache file if it wants to.
   2231 # Prefer an explicitly selected file to automatically selected ones.
   2232 ac_site_file1=NONE
   2233 ac_site_file2=NONE
   2234 if test -n "$CONFIG_SITE"; then
   2235   # We do not want a PATH search for config.site.
   2236   case $CONFIG_SITE in #((
   2237     -*)  ac_site_file1=./$CONFIG_SITE;;
   2238     */*) ac_site_file1=$CONFIG_SITE;;
   2239     *)   ac_site_file1=./$CONFIG_SITE;;
   2240   esac
   2241 elif test "x$prefix" != xNONE; then
   2242   ac_site_file1=$prefix/share/config.site
   2243   ac_site_file2=$prefix/etc/config.site
   2244 else
   2245   ac_site_file1=$ac_default_prefix/share/config.site
   2246   ac_site_file2=$ac_default_prefix/etc/config.site
   2247 fi
   2248 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2249 do
   2250   test "x$ac_site_file" = xNONE && continue
   2251   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2252     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2253 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2254     sed 's/^/| /' "$ac_site_file" >&5
   2255     . "$ac_site_file" \
   2256       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2258 as_fn_error $? "failed to load site script $ac_site_file
   2259 See \`config.log' for more details" "$LINENO" 5; }
   2260   fi
   2261 done
   2262 
   2263 if test -r "$cache_file"; then
   2264   # Some versions of bash will fail to source /dev/null (special files
   2265   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2266   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2267     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2268 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2269     case $cache_file in
   2270       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2271       *)                      . "./$cache_file";;
   2272     esac
   2273   fi
   2274 else
   2275   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2276 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2277   >$cache_file
   2278 fi
   2279 
   2280 # Check that the precious variables saved in the cache have kept the same
   2281 # value.
   2282 ac_cache_corrupted=false
   2283 for ac_var in $ac_precious_vars; do
   2284   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2285   eval ac_new_set=\$ac_env_${ac_var}_set
   2286   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2287   eval ac_new_val=\$ac_env_${ac_var}_value
   2288   case $ac_old_set,$ac_new_set in
   2289     set,)
   2290       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2291 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2292       ac_cache_corrupted=: ;;
   2293     ,set)
   2294       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2295 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2296       ac_cache_corrupted=: ;;
   2297     ,);;
   2298     *)
   2299       if test "x$ac_old_val" != "x$ac_new_val"; then
   2300 	# differences in whitespace do not lead to failure.
   2301 	ac_old_val_w=`echo x $ac_old_val`
   2302 	ac_new_val_w=`echo x $ac_new_val`
   2303 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2304 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2305 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2306 	  ac_cache_corrupted=:
   2307 	else
   2308 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2309 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2310 	  eval $ac_var=\$ac_old_val
   2311 	fi
   2312 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2313 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2314 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2315 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2316       fi;;
   2317   esac
   2318   # Pass precious variables to config.status.
   2319   if test "$ac_new_set" = set; then
   2320     case $ac_new_val in
   2321     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2322     *) ac_arg=$ac_var=$ac_new_val ;;
   2323     esac
   2324     case " $ac_configure_args " in
   2325       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2326       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2327     esac
   2328   fi
   2329 done
   2330 if $ac_cache_corrupted; then
   2331   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2333   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2334 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2335   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2336 fi
   2337 ## -------------------- ##
   2338 ## Main body of script. ##
   2339 ## -------------------- ##
   2340 
   2341 ac_ext=c
   2342 ac_cpp='$CPP $CPPFLAGS'
   2343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2346 
   2347 
   2348 
   2349 
   2350 ac_config_headers="$ac_config_headers config.h"
   2351 
   2352 
   2353 ac_aux_dir=
   2354 for ac_dir in build-aux "$srcdir"/build-aux; do
   2355   if test -f "$ac_dir/install-sh"; then
   2356     ac_aux_dir=$ac_dir
   2357     ac_install_sh="$ac_aux_dir/install-sh -c"
   2358     break
   2359   elif test -f "$ac_dir/install.sh"; then
   2360     ac_aux_dir=$ac_dir
   2361     ac_install_sh="$ac_aux_dir/install.sh -c"
   2362     break
   2363   elif test -f "$ac_dir/shtool"; then
   2364     ac_aux_dir=$ac_dir
   2365     ac_install_sh="$ac_aux_dir/shtool install -c"
   2366     break
   2367   fi
   2368 done
   2369 if test -z "$ac_aux_dir"; then
   2370   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2371 fi
   2372 
   2373 # These three variables are undocumented and unsupported,
   2374 # and are intended to be withdrawn in a future Autoconf release.
   2375 # They can cause serious problems if a builder's source tree is in a directory
   2376 # whose full name contains unusual characters.
   2377 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2378 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2379 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2380 
   2381 
   2382 
   2383 # Initialize Automake
   2384 am__api_version='1.15'
   2385 
   2386 # Find a good install program.  We prefer a C program (faster),
   2387 # so one script is as good as another.  But avoid the broken or
   2388 # incompatible versions:
   2389 # SysV /etc/install, /usr/sbin/install
   2390 # SunOS /usr/etc/install
   2391 # IRIX /sbin/install
   2392 # AIX /bin/install
   2393 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2397 # OS/2's system install, which has a completely different semantic
   2398 # ./install, which can be erroneously created by make from ./install.sh.
   2399 # Reject install programs that cannot install multiple files.
   2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2401 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2402 if test -z "$INSTALL"; then
   2403 if ${ac_cv_path_install+:} false; then :
   2404   $as_echo_n "(cached) " >&6
   2405 else
   2406   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2407 for as_dir in $PATH
   2408 do
   2409   IFS=$as_save_IFS
   2410   test -z "$as_dir" && as_dir=.
   2411     # Account for people who put trailing slashes in PATH elements.
   2412 case $as_dir/ in #((
   2413   ./ | .// | /[cC]/* | \
   2414   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2415   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2416   /usr/ucb/* ) ;;
   2417   *)
   2418     # OSF1 and SCO ODT 3.0 have their own names for install.
   2419     # Don't use installbsd from OSF since it installs stuff as root
   2420     # by default.
   2421     for ac_prog in ginstall scoinst install; do
   2422       for ac_exec_ext in '' $ac_executable_extensions; do
   2423 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2424 	  if test $ac_prog = install &&
   2425 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2426 	    # AIX install.  It has an incompatible calling convention.
   2427 	    :
   2428 	  elif test $ac_prog = install &&
   2429 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2430 	    # program-specific install script used by HP pwplus--don't use.
   2431 	    :
   2432 	  else
   2433 	    rm -rf conftest.one conftest.two conftest.dir
   2434 	    echo one > conftest.one
   2435 	    echo two > conftest.two
   2436 	    mkdir conftest.dir
   2437 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2438 	      test -s conftest.one && test -s conftest.two &&
   2439 	      test -s conftest.dir/conftest.one &&
   2440 	      test -s conftest.dir/conftest.two
   2441 	    then
   2442 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2443 	      break 3
   2444 	    fi
   2445 	  fi
   2446 	fi
   2447       done
   2448     done
   2449     ;;
   2450 esac
   2451 
   2452   done
   2453 IFS=$as_save_IFS
   2454 
   2455 rm -rf conftest.one conftest.two conftest.dir
   2456 
   2457 fi
   2458   if test "${ac_cv_path_install+set}" = set; then
   2459     INSTALL=$ac_cv_path_install
   2460   else
   2461     # As a last resort, use the slow shell script.  Don't cache a
   2462     # value for INSTALL within a source directory, because that will
   2463     # break other packages using the cache if that directory is
   2464     # removed, or if the value is a relative name.
   2465     INSTALL=$ac_install_sh
   2466   fi
   2467 fi
   2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2469 $as_echo "$INSTALL" >&6; }
   2470 
   2471 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2472 # It thinks the first close brace ends the variable substitution.
   2473 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2474 
   2475 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2476 
   2477 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2478 
   2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2480 $as_echo_n "checking whether build environment is sane... " >&6; }
   2481 # Reject unsafe characters in $srcdir or the absolute working directory
   2482 # name.  Accept space and tab only in the latter.
   2483 am_lf='
   2484 '
   2485 case `pwd` in
   2486   *[\\\"\#\$\&\'\`$am_lf]*)
   2487     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2488 esac
   2489 case $srcdir in
   2490   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2491     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2492 esac
   2493 
   2494 # Do 'set' in a subshell so we don't clobber the current shell's
   2495 # arguments.  Must try -L first in case configure is actually a
   2496 # symlink; some systems play weird games with the mod time of symlinks
   2497 # (eg FreeBSD returns the mod time of the symlink's containing
   2498 # directory).
   2499 if (
   2500    am_has_slept=no
   2501    for am_try in 1 2; do
   2502      echo "timestamp, slept: $am_has_slept" > conftest.file
   2503      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2504      if test "$*" = "X"; then
   2505 	# -L didn't work.
   2506 	set X `ls -t "$srcdir/configure" conftest.file`
   2507      fi
   2508      if test "$*" != "X $srcdir/configure conftest.file" \
   2509 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2510 
   2511 	# If neither matched, then we have a broken ls.  This can happen
   2512 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2513 	# broken ls alias from the environment.  This has actually
   2514 	# happened.  Such a system could not be considered "sane".
   2515 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2516   alias in your environment" "$LINENO" 5
   2517      fi
   2518      if test "$2" = conftest.file || test $am_try -eq 2; then
   2519        break
   2520      fi
   2521      # Just in case.
   2522      sleep 1
   2523      am_has_slept=yes
   2524    done
   2525    test "$2" = conftest.file
   2526    )
   2527 then
   2528    # Ok.
   2529    :
   2530 else
   2531    as_fn_error $? "newly created file is older than distributed files!
   2532 Check your system clock" "$LINENO" 5
   2533 fi
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2535 $as_echo "yes" >&6; }
   2536 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2537 # generated files are strictly newer.
   2538 am_sleep_pid=
   2539 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2540   ( sleep 1 ) &
   2541   am_sleep_pid=$!
   2542 fi
   2543 
   2544 rm -f conftest.file
   2545 
   2546 test "$program_prefix" != NONE &&
   2547   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2548 # Use a double $ so make ignores it.
   2549 test "$program_suffix" != NONE &&
   2550   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2551 # Double any \ or $.
   2552 # By default was `s,x,x', remove it if useless.
   2553 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2554 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2555 
   2556 # Expand $ac_aux_dir to an absolute path.
   2557 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2558 
   2559 if test x"${MISSING+set}" != xset; then
   2560   case $am_aux_dir in
   2561   *\ * | *\	*)
   2562     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2563   *)
   2564     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2565   esac
   2566 fi
   2567 # Use eval to expand $SHELL
   2568 if eval "$MISSING --is-lightweight"; then
   2569   am_missing_run="$MISSING "
   2570 else
   2571   am_missing_run=
   2572   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2573 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2574 fi
   2575 
   2576 if test x"${install_sh+set}" != xset; then
   2577   case $am_aux_dir in
   2578   *\ * | *\	*)
   2579     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2580   *)
   2581     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2582   esac
   2583 fi
   2584 
   2585 # Installed binaries are usually stripped using 'strip' when the user
   2586 # run "make install-strip".  However 'strip' might not be the right
   2587 # tool to use in cross-compilation environments, therefore Automake
   2588 # will honor the 'STRIP' environment variable to overrule this program.
   2589 if test "$cross_compiling" != no; then
   2590   if test -n "$ac_tool_prefix"; then
   2591   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2592 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2594 $as_echo_n "checking for $ac_word... " >&6; }
   2595 if ${ac_cv_prog_STRIP+:} false; then :
   2596   $as_echo_n "(cached) " >&6
   2597 else
   2598   if test -n "$STRIP"; then
   2599   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2600 else
   2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2602 for as_dir in $PATH
   2603 do
   2604   IFS=$as_save_IFS
   2605   test -z "$as_dir" && as_dir=.
   2606     for ac_exec_ext in '' $ac_executable_extensions; do
   2607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2608     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2610     break 2
   2611   fi
   2612 done
   2613   done
   2614 IFS=$as_save_IFS
   2615 
   2616 fi
   2617 fi
   2618 STRIP=$ac_cv_prog_STRIP
   2619 if test -n "$STRIP"; then
   2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2621 $as_echo "$STRIP" >&6; }
   2622 else
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2624 $as_echo "no" >&6; }
   2625 fi
   2626 
   2627 
   2628 fi
   2629 if test -z "$ac_cv_prog_STRIP"; then
   2630   ac_ct_STRIP=$STRIP
   2631   # Extract the first word of "strip", so it can be a program name with args.
   2632 set dummy strip; ac_word=$2
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2634 $as_echo_n "checking for $ac_word... " >&6; }
   2635 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2636   $as_echo_n "(cached) " >&6
   2637 else
   2638   if test -n "$ac_ct_STRIP"; then
   2639   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2640 else
   2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2642 for as_dir in $PATH
   2643 do
   2644   IFS=$as_save_IFS
   2645   test -z "$as_dir" && as_dir=.
   2646     for ac_exec_ext in '' $ac_executable_extensions; do
   2647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2648     ac_cv_prog_ac_ct_STRIP="strip"
   2649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2650     break 2
   2651   fi
   2652 done
   2653   done
   2654 IFS=$as_save_IFS
   2655 
   2656 fi
   2657 fi
   2658 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2659 if test -n "$ac_ct_STRIP"; then
   2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2661 $as_echo "$ac_ct_STRIP" >&6; }
   2662 else
   2663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2664 $as_echo "no" >&6; }
   2665 fi
   2666 
   2667   if test "x$ac_ct_STRIP" = x; then
   2668     STRIP=":"
   2669   else
   2670     case $cross_compiling:$ac_tool_warned in
   2671 yes:)
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2674 ac_tool_warned=yes ;;
   2675 esac
   2676     STRIP=$ac_ct_STRIP
   2677   fi
   2678 else
   2679   STRIP="$ac_cv_prog_STRIP"
   2680 fi
   2681 
   2682 fi
   2683 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2684 
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2686 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2687 if test -z "$MKDIR_P"; then
   2688   if ${ac_cv_path_mkdir+:} false; then :
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2692 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2693 do
   2694   IFS=$as_save_IFS
   2695   test -z "$as_dir" && as_dir=.
   2696     for ac_prog in mkdir gmkdir; do
   2697 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2698 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2699 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2700 	     'mkdir (GNU coreutils) '* | \
   2701 	     'mkdir (coreutils) '* | \
   2702 	     'mkdir (fileutils) '4.1*)
   2703 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2704 	       break 3;;
   2705 	   esac
   2706 	 done
   2707        done
   2708   done
   2709 IFS=$as_save_IFS
   2710 
   2711 fi
   2712 
   2713   test -d ./--version && rmdir ./--version
   2714   if test "${ac_cv_path_mkdir+set}" = set; then
   2715     MKDIR_P="$ac_cv_path_mkdir -p"
   2716   else
   2717     # As a last resort, use the slow shell script.  Don't cache a
   2718     # value for MKDIR_P within a source directory, because that will
   2719     # break other packages using the cache if that directory is
   2720     # removed, or if the value is a relative name.
   2721     MKDIR_P="$ac_install_sh -d"
   2722   fi
   2723 fi
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2725 $as_echo "$MKDIR_P" >&6; }
   2726 
   2727 for ac_prog in gawk mawk nawk awk
   2728 do
   2729   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2730 set dummy $ac_prog; ac_word=$2
   2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2732 $as_echo_n "checking for $ac_word... " >&6; }
   2733 if ${ac_cv_prog_AWK+:} false; then :
   2734   $as_echo_n "(cached) " >&6
   2735 else
   2736   if test -n "$AWK"; then
   2737   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2738 else
   2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2740 for as_dir in $PATH
   2741 do
   2742   IFS=$as_save_IFS
   2743   test -z "$as_dir" && as_dir=.
   2744     for ac_exec_ext in '' $ac_executable_extensions; do
   2745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2746     ac_cv_prog_AWK="$ac_prog"
   2747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2748     break 2
   2749   fi
   2750 done
   2751   done
   2752 IFS=$as_save_IFS
   2753 
   2754 fi
   2755 fi
   2756 AWK=$ac_cv_prog_AWK
   2757 if test -n "$AWK"; then
   2758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2759 $as_echo "$AWK" >&6; }
   2760 else
   2761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2762 $as_echo "no" >&6; }
   2763 fi
   2764 
   2765 
   2766   test -n "$AWK" && break
   2767 done
   2768 
   2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2770 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2771 set x ${MAKE-make}
   2772 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2773 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2774   $as_echo_n "(cached) " >&6
   2775 else
   2776   cat >conftest.make <<\_ACEOF
   2777 SHELL = /bin/sh
   2778 all:
   2779 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2780 _ACEOF
   2781 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2782 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2783   *@@@%%%=?*=@@@%%%*)
   2784     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2785   *)
   2786     eval ac_cv_prog_make_${ac_make}_set=no;;
   2787 esac
   2788 rm -f conftest.make
   2789 fi
   2790 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2792 $as_echo "yes" >&6; }
   2793   SET_MAKE=
   2794 else
   2795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2796 $as_echo "no" >&6; }
   2797   SET_MAKE="MAKE=${MAKE-make}"
   2798 fi
   2799 
   2800 rm -rf .tst 2>/dev/null
   2801 mkdir .tst 2>/dev/null
   2802 if test -d .tst; then
   2803   am__leading_dot=.
   2804 else
   2805   am__leading_dot=_
   2806 fi
   2807 rmdir .tst 2>/dev/null
   2808 
   2809 # Check whether --enable-silent-rules was given.
   2810 if test "${enable_silent_rules+set}" = set; then :
   2811   enableval=$enable_silent_rules;
   2812 fi
   2813 
   2814 case $enable_silent_rules in # (((
   2815   yes) AM_DEFAULT_VERBOSITY=0;;
   2816    no) AM_DEFAULT_VERBOSITY=1;;
   2817     *) AM_DEFAULT_VERBOSITY=1;;
   2818 esac
   2819 am_make=${MAKE-make}
   2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2821 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2822 if ${am_cv_make_support_nested_variables+:} false; then :
   2823   $as_echo_n "(cached) " >&6
   2824 else
   2825   if $as_echo 'TRUE=$(BAR$(V))
   2826 BAR0=false
   2827 BAR1=true
   2828 V=1
   2829 am__doit:
   2830 	@$(TRUE)
   2831 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2832   am_cv_make_support_nested_variables=yes
   2833 else
   2834   am_cv_make_support_nested_variables=no
   2835 fi
   2836 fi
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2838 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2839 if test $am_cv_make_support_nested_variables = yes; then
   2840     AM_V='$(V)'
   2841   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2842 else
   2843   AM_V=$AM_DEFAULT_VERBOSITY
   2844   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2845 fi
   2846 AM_BACKSLASH='\'
   2847 
   2848 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2849   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2850   # is not polluted with repeated "-I."
   2851   am__isrc=' -I$(srcdir)'
   2852   # test to see if srcdir already configured
   2853   if test -f $srcdir/config.status; then
   2854     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2855   fi
   2856 fi
   2857 
   2858 # test whether we have cygpath
   2859 if test -z "$CYGPATH_W"; then
   2860   if (cygpath --version) >/dev/null 2>/dev/null; then
   2861     CYGPATH_W='cygpath -w'
   2862   else
   2863     CYGPATH_W=echo
   2864   fi
   2865 fi
   2866 
   2867 
   2868 # Define the identity of the package.
   2869  PACKAGE='xf86-video-geode'
   2870  VERSION='2.11.18'
   2871 
   2872 
   2873 cat >>confdefs.h <<_ACEOF
   2874 #define PACKAGE "$PACKAGE"
   2875 _ACEOF
   2876 
   2877 
   2878 cat >>confdefs.h <<_ACEOF
   2879 #define VERSION "$VERSION"
   2880 _ACEOF
   2881 
   2882 # Some tools Automake needs.
   2883 
   2884 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2885 
   2886 
   2887 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2888 
   2889 
   2890 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2891 
   2892 
   2893 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2894 
   2895 
   2896 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2897 
   2898 # For better backward compatibility.  To be removed once Automake 1.9.x
   2899 # dies out for good.  For more background, see:
   2900 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2901 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2902 mkdir_p='$(MKDIR_P)'
   2903 
   2904 # We need awk for the "check" target (and possibly the TAP driver).  The
   2905 # system "awk" is bad on some platforms.
   2906 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2907 # in the wild :-(  We should find a proper way to deprecate it ...
   2908 AMTAR='$${TAR-tar}'
   2909 
   2910 
   2911 # We'll loop over all known methods to create a tar archive until one works.
   2912 _am_tools='gnutar  pax cpio none'
   2913 
   2914 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2915 
   2916 
   2917 
   2918 
   2919 
   2920 
   2921 # POSIX will say in a future version that running "rm -f" with no argument
   2922 # is OK; and we want to be able to make that assumption in our Makefile
   2923 # recipes.  So use an aggressive probe to check that the usage we want is
   2924 # actually supported "in the wild" to an acceptable degree.
   2925 # See automake bug#10828.
   2926 # To make any issue more visible, cause the running configure to be aborted
   2927 # by default if the 'rm' program in use doesn't match our expectations; the
   2928 # user can still override this though.
   2929 if rm -f && rm -fr && rm -rf; then : OK; else
   2930   cat >&2 <<'END'
   2931 Oops!
   2932 
   2933 Your 'rm' program seems unable to run without file operands specified
   2934 on the command line, even when the '-f' option is present.  This is contrary
   2935 to the behaviour of most rm programs out there, and not conforming with
   2936 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2937 
   2938 Please tell bug-automake@gnu.org about your system, including the value
   2939 of your $PATH and any error possibly output before this message.  This
   2940 can help us improve future automake versions.
   2941 
   2942 END
   2943   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2944     echo 'Configuration will proceed anyway, since you have set the' >&2
   2945     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2946     echo >&2
   2947   else
   2948     cat >&2 <<'END'
   2949 Aborting the configuration process, to ensure you take notice of the issue.
   2950 
   2951 You can download and install GNU coreutils to get an 'rm' implementation
   2952 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2953 
   2954 If you want to complete the configuration process using your problematic
   2955 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2956 to "yes", and re-run configure.
   2957 
   2958 END
   2959     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2960   fi
   2961 fi
   2962 
   2963 
   2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2965 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2966     # Check whether --enable-maintainer-mode was given.
   2967 if test "${enable_maintainer_mode+set}" = set; then :
   2968   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2969 else
   2970   USE_MAINTAINER_MODE=no
   2971 fi
   2972 
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2974 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2975    if test $USE_MAINTAINER_MODE = yes; then
   2976   MAINTAINER_MODE_TRUE=
   2977   MAINTAINER_MODE_FALSE='#'
   2978 else
   2979   MAINTAINER_MODE_TRUE='#'
   2980   MAINTAINER_MODE_FALSE=
   2981 fi
   2982 
   2983   MAINT=$MAINTAINER_MODE_TRUE
   2984 
   2985 
   2986 
   2987 # Initialize libtool
   2988 # Check whether --enable-static was given.
   2989 if test "${enable_static+set}" = set; then :
   2990   enableval=$enable_static; p=${PACKAGE-default}
   2991     case $enableval in
   2992     yes) enable_static=yes ;;
   2993     no) enable_static=no ;;
   2994     *)
   2995      enable_static=no
   2996       # Look at the argument we got.  We use all the common list separators.
   2997       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2998       for pkg in $enableval; do
   2999 	IFS="$lt_save_ifs"
   3000 	if test "X$pkg" = "X$p"; then
   3001 	  enable_static=yes
   3002 	fi
   3003       done
   3004       IFS="$lt_save_ifs"
   3005       ;;
   3006     esac
   3007 else
   3008   enable_static=no
   3009 fi
   3010 
   3011 
   3012 
   3013 
   3014 
   3015 
   3016 
   3017 
   3018 
   3019 case `pwd` in
   3020   *\ * | *\	*)
   3021     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3022 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3023 esac
   3024 
   3025 
   3026 
   3027 macro_version='2.4.2'
   3028 macro_revision='1.3337'
   3029 
   3030 
   3031 
   3032 
   3033 
   3034 
   3035 
   3036 
   3037 
   3038 
   3039 
   3040 
   3041 
   3042 ltmain="$ac_aux_dir/ltmain.sh"
   3043 
   3044 # Make sure we can run config.sub.
   3045 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3046   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3047 
   3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3049 $as_echo_n "checking build system type... " >&6; }
   3050 if ${ac_cv_build+:} false; then :
   3051   $as_echo_n "(cached) " >&6
   3052 else
   3053   ac_build_alias=$build_alias
   3054 test "x$ac_build_alias" = x &&
   3055   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3056 test "x$ac_build_alias" = x &&
   3057   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3058 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3059   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3060 
   3061 fi
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3063 $as_echo "$ac_cv_build" >&6; }
   3064 case $ac_cv_build in
   3065 *-*-*) ;;
   3066 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3067 esac
   3068 build=$ac_cv_build
   3069 ac_save_IFS=$IFS; IFS='-'
   3070 set x $ac_cv_build
   3071 shift
   3072 build_cpu=$1
   3073 build_vendor=$2
   3074 shift; shift
   3075 # Remember, the first character of IFS is used to create $*,
   3076 # except with old shells:
   3077 build_os=$*
   3078 IFS=$ac_save_IFS
   3079 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3080 
   3081 
   3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3083 $as_echo_n "checking host system type... " >&6; }
   3084 if ${ac_cv_host+:} false; then :
   3085   $as_echo_n "(cached) " >&6
   3086 else
   3087   if test "x$host_alias" = x; then
   3088   ac_cv_host=$ac_cv_build
   3089 else
   3090   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3091     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3092 fi
   3093 
   3094 fi
   3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3096 $as_echo "$ac_cv_host" >&6; }
   3097 case $ac_cv_host in
   3098 *-*-*) ;;
   3099 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3100 esac
   3101 host=$ac_cv_host
   3102 ac_save_IFS=$IFS; IFS='-'
   3103 set x $ac_cv_host
   3104 shift
   3105 host_cpu=$1
   3106 host_vendor=$2
   3107 shift; shift
   3108 # Remember, the first character of IFS is used to create $*,
   3109 # except with old shells:
   3110 host_os=$*
   3111 IFS=$ac_save_IFS
   3112 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3113 
   3114 
   3115 # Backslashify metacharacters that are still active within
   3116 # double-quoted strings.
   3117 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3118 
   3119 # Same as above, but do not quote variable references.
   3120 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3121 
   3122 # Sed substitution to delay expansion of an escaped shell variable in a
   3123 # double_quote_subst'ed string.
   3124 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3125 
   3126 # Sed substitution to delay expansion of an escaped single quote.
   3127 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3128 
   3129 # Sed substitution to avoid accidental globbing in evaled expressions
   3130 no_glob_subst='s/\*/\\\*/g'
   3131 
   3132 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3133 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3134 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3135 
   3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3137 $as_echo_n "checking how to print strings... " >&6; }
   3138 # Test print first, because it will be a builtin if present.
   3139 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3140    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3141   ECHO='print -r --'
   3142 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3143   ECHO='printf %s\n'
   3144 else
   3145   # Use this function as a fallback that always works.
   3146   func_fallback_echo ()
   3147   {
   3148     eval 'cat <<_LTECHO_EOF
   3149 $1
   3150 _LTECHO_EOF'
   3151   }
   3152   ECHO='func_fallback_echo'
   3153 fi
   3154 
   3155 # func_echo_all arg...
   3156 # Invoke $ECHO with all args, space-separated.
   3157 func_echo_all ()
   3158 {
   3159     $ECHO ""
   3160 }
   3161 
   3162 case "$ECHO" in
   3163   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3164 $as_echo "printf" >&6; } ;;
   3165   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3166 $as_echo "print -r" >&6; } ;;
   3167   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3168 $as_echo "cat" >&6; } ;;
   3169 esac
   3170 
   3171 
   3172 
   3173 
   3174 
   3175 
   3176 
   3177 
   3178 
   3179 
   3180 
   3181 
   3182 
   3183 
   3184 DEPDIR="${am__leading_dot}deps"
   3185 
   3186 ac_config_commands="$ac_config_commands depfiles"
   3187 
   3188 
   3189 am_make=${MAKE-make}
   3190 cat > confinc << 'END'
   3191 am__doit:
   3192 	@echo this is the am__doit target
   3193 .PHONY: am__doit
   3194 END
   3195 # If we don't find an include directive, just comment out the code.
   3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3197 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3198 am__include="#"
   3199 am__quote=
   3200 _am_result=none
   3201 # First try GNU make style include.
   3202 echo "include confinc" > confmf
   3203 # Ignore all kinds of additional output from 'make'.
   3204 case `$am_make -s -f confmf 2> /dev/null` in #(
   3205 *the\ am__doit\ target*)
   3206   am__include=include
   3207   am__quote=
   3208   _am_result=GNU
   3209   ;;
   3210 esac
   3211 # Now try BSD make style include.
   3212 if test "$am__include" = "#"; then
   3213    echo '.include "confinc"' > confmf
   3214    case `$am_make -s -f confmf 2> /dev/null` in #(
   3215    *the\ am__doit\ target*)
   3216      am__include=.include
   3217      am__quote="\""
   3218      _am_result=BSD
   3219      ;;
   3220    esac
   3221 fi
   3222 
   3223 
   3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3225 $as_echo "$_am_result" >&6; }
   3226 rm -f confinc confmf
   3227 
   3228 # Check whether --enable-dependency-tracking was given.
   3229 if test "${enable_dependency_tracking+set}" = set; then :
   3230   enableval=$enable_dependency_tracking;
   3231 fi
   3232 
   3233 if test "x$enable_dependency_tracking" != xno; then
   3234   am_depcomp="$ac_aux_dir/depcomp"
   3235   AMDEPBACKSLASH='\'
   3236   am__nodep='_no'
   3237 fi
   3238  if test "x$enable_dependency_tracking" != xno; then
   3239   AMDEP_TRUE=
   3240   AMDEP_FALSE='#'
   3241 else
   3242   AMDEP_TRUE='#'
   3243   AMDEP_FALSE=
   3244 fi
   3245 
   3246 
   3247 ac_ext=c
   3248 ac_cpp='$CPP $CPPFLAGS'
   3249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3252 if test -n "$ac_tool_prefix"; then
   3253   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3254 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3256 $as_echo_n "checking for $ac_word... " >&6; }
   3257 if ${ac_cv_prog_CC+:} false; then :
   3258   $as_echo_n "(cached) " >&6
   3259 else
   3260   if test -n "$CC"; then
   3261   ac_cv_prog_CC="$CC" # Let the user override the test.
   3262 else
   3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3264 for as_dir in $PATH
   3265 do
   3266   IFS=$as_save_IFS
   3267   test -z "$as_dir" && as_dir=.
   3268     for ac_exec_ext in '' $ac_executable_extensions; do
   3269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3270     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3272     break 2
   3273   fi
   3274 done
   3275   done
   3276 IFS=$as_save_IFS
   3277 
   3278 fi
   3279 fi
   3280 CC=$ac_cv_prog_CC
   3281 if test -n "$CC"; then
   3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3283 $as_echo "$CC" >&6; }
   3284 else
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3286 $as_echo "no" >&6; }
   3287 fi
   3288 
   3289 
   3290 fi
   3291 if test -z "$ac_cv_prog_CC"; then
   3292   ac_ct_CC=$CC
   3293   # Extract the first word of "gcc", so it can be a program name with args.
   3294 set dummy gcc; ac_word=$2
   3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3296 $as_echo_n "checking for $ac_word... " >&6; }
   3297 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3298   $as_echo_n "(cached) " >&6
   3299 else
   3300   if test -n "$ac_ct_CC"; then
   3301   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3302 else
   3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3304 for as_dir in $PATH
   3305 do
   3306   IFS=$as_save_IFS
   3307   test -z "$as_dir" && as_dir=.
   3308     for ac_exec_ext in '' $ac_executable_extensions; do
   3309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3310     ac_cv_prog_ac_ct_CC="gcc"
   3311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3312     break 2
   3313   fi
   3314 done
   3315   done
   3316 IFS=$as_save_IFS
   3317 
   3318 fi
   3319 fi
   3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3321 if test -n "$ac_ct_CC"; then
   3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3323 $as_echo "$ac_ct_CC" >&6; }
   3324 else
   3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3326 $as_echo "no" >&6; }
   3327 fi
   3328 
   3329   if test "x$ac_ct_CC" = x; then
   3330     CC=""
   3331   else
   3332     case $cross_compiling:$ac_tool_warned in
   3333 yes:)
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3336 ac_tool_warned=yes ;;
   3337 esac
   3338     CC=$ac_ct_CC
   3339   fi
   3340 else
   3341   CC="$ac_cv_prog_CC"
   3342 fi
   3343 
   3344 if test -z "$CC"; then
   3345           if test -n "$ac_tool_prefix"; then
   3346     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3347 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3349 $as_echo_n "checking for $ac_word... " >&6; }
   3350 if ${ac_cv_prog_CC+:} false; then :
   3351   $as_echo_n "(cached) " >&6
   3352 else
   3353   if test -n "$CC"; then
   3354   ac_cv_prog_CC="$CC" # Let the user override the test.
   3355 else
   3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3357 for as_dir in $PATH
   3358 do
   3359   IFS=$as_save_IFS
   3360   test -z "$as_dir" && as_dir=.
   3361     for ac_exec_ext in '' $ac_executable_extensions; do
   3362   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3363     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3365     break 2
   3366   fi
   3367 done
   3368   done
   3369 IFS=$as_save_IFS
   3370 
   3371 fi
   3372 fi
   3373 CC=$ac_cv_prog_CC
   3374 if test -n "$CC"; then
   3375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3376 $as_echo "$CC" >&6; }
   3377 else
   3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3379 $as_echo "no" >&6; }
   3380 fi
   3381 
   3382 
   3383   fi
   3384 fi
   3385 if test -z "$CC"; then
   3386   # Extract the first word of "cc", so it can be a program name with args.
   3387 set dummy cc; ac_word=$2
   3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3389 $as_echo_n "checking for $ac_word... " >&6; }
   3390 if ${ac_cv_prog_CC+:} false; then :
   3391   $as_echo_n "(cached) " >&6
   3392 else
   3393   if test -n "$CC"; then
   3394   ac_cv_prog_CC="$CC" # Let the user override the test.
   3395 else
   3396   ac_prog_rejected=no
   3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3398 for as_dir in $PATH
   3399 do
   3400   IFS=$as_save_IFS
   3401   test -z "$as_dir" && as_dir=.
   3402     for ac_exec_ext in '' $ac_executable_extensions; do
   3403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3404     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3405        ac_prog_rejected=yes
   3406        continue
   3407      fi
   3408     ac_cv_prog_CC="cc"
   3409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3410     break 2
   3411   fi
   3412 done
   3413   done
   3414 IFS=$as_save_IFS
   3415 
   3416 if test $ac_prog_rejected = yes; then
   3417   # We found a bogon in the path, so make sure we never use it.
   3418   set dummy $ac_cv_prog_CC
   3419   shift
   3420   if test $# != 0; then
   3421     # We chose a different compiler from the bogus one.
   3422     # However, it has the same basename, so the bogon will be chosen
   3423     # first if we set CC to just the basename; use the full file name.
   3424     shift
   3425     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3426   fi
   3427 fi
   3428 fi
   3429 fi
   3430 CC=$ac_cv_prog_CC
   3431 if test -n "$CC"; then
   3432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3433 $as_echo "$CC" >&6; }
   3434 else
   3435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3436 $as_echo "no" >&6; }
   3437 fi
   3438 
   3439 
   3440 fi
   3441 if test -z "$CC"; then
   3442   if test -n "$ac_tool_prefix"; then
   3443   for ac_prog in cl.exe
   3444   do
   3445     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3448 $as_echo_n "checking for $ac_word... " >&6; }
   3449 if ${ac_cv_prog_CC+:} false; then :
   3450   $as_echo_n "(cached) " >&6
   3451 else
   3452   if test -n "$CC"; then
   3453   ac_cv_prog_CC="$CC" # Let the user override the test.
   3454 else
   3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3456 for as_dir in $PATH
   3457 do
   3458   IFS=$as_save_IFS
   3459   test -z "$as_dir" && as_dir=.
   3460     for ac_exec_ext in '' $ac_executable_extensions; do
   3461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3462     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3464     break 2
   3465   fi
   3466 done
   3467   done
   3468 IFS=$as_save_IFS
   3469 
   3470 fi
   3471 fi
   3472 CC=$ac_cv_prog_CC
   3473 if test -n "$CC"; then
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3475 $as_echo "$CC" >&6; }
   3476 else
   3477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3478 $as_echo "no" >&6; }
   3479 fi
   3480 
   3481 
   3482     test -n "$CC" && break
   3483   done
   3484 fi
   3485 if test -z "$CC"; then
   3486   ac_ct_CC=$CC
   3487   for ac_prog in cl.exe
   3488 do
   3489   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3490 set dummy $ac_prog; ac_word=$2
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3492 $as_echo_n "checking for $ac_word... " >&6; }
   3493 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3494   $as_echo_n "(cached) " >&6
   3495 else
   3496   if test -n "$ac_ct_CC"; then
   3497   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3498 else
   3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3500 for as_dir in $PATH
   3501 do
   3502   IFS=$as_save_IFS
   3503   test -z "$as_dir" && as_dir=.
   3504     for ac_exec_ext in '' $ac_executable_extensions; do
   3505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3506     ac_cv_prog_ac_ct_CC="$ac_prog"
   3507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3508     break 2
   3509   fi
   3510 done
   3511   done
   3512 IFS=$as_save_IFS
   3513 
   3514 fi
   3515 fi
   3516 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3517 if test -n "$ac_ct_CC"; then
   3518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3519 $as_echo "$ac_ct_CC" >&6; }
   3520 else
   3521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3522 $as_echo "no" >&6; }
   3523 fi
   3524 
   3525 
   3526   test -n "$ac_ct_CC" && break
   3527 done
   3528 
   3529   if test "x$ac_ct_CC" = x; then
   3530     CC=""
   3531   else
   3532     case $cross_compiling:$ac_tool_warned in
   3533 yes:)
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3536 ac_tool_warned=yes ;;
   3537 esac
   3538     CC=$ac_ct_CC
   3539   fi
   3540 fi
   3541 
   3542 fi
   3543 
   3544 
   3545 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3547 as_fn_error $? "no acceptable C compiler found in \$PATH
   3548 See \`config.log' for more details" "$LINENO" 5; }
   3549 
   3550 # Provide some information about the compiler.
   3551 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3552 set X $ac_compile
   3553 ac_compiler=$2
   3554 for ac_option in --version -v -V -qversion; do
   3555   { { ac_try="$ac_compiler $ac_option >&5"
   3556 case "(($ac_try" in
   3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3558   *) ac_try_echo=$ac_try;;
   3559 esac
   3560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3561 $as_echo "$ac_try_echo"; } >&5
   3562   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3563   ac_status=$?
   3564   if test -s conftest.err; then
   3565     sed '10a\
   3566 ... rest of stderr output deleted ...
   3567          10q' conftest.err >conftest.er1
   3568     cat conftest.er1 >&5
   3569   fi
   3570   rm -f conftest.er1 conftest.err
   3571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3572   test $ac_status = 0; }
   3573 done
   3574 
   3575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586 ac_clean_files_save=$ac_clean_files
   3587 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3588 # Try to create an executable without -o first, disregard a.out.
   3589 # It will help us diagnose broken compilers, and finding out an intuition
   3590 # of exeext.
   3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3592 $as_echo_n "checking whether the C compiler works... " >&6; }
   3593 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3594 
   3595 # The possible output files:
   3596 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3597 
   3598 ac_rmfiles=
   3599 for ac_file in $ac_files
   3600 do
   3601   case $ac_file in
   3602     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3603     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3604   esac
   3605 done
   3606 rm -f $ac_rmfiles
   3607 
   3608 if { { ac_try="$ac_link_default"
   3609 case "(($ac_try" in
   3610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3611   *) ac_try_echo=$ac_try;;
   3612 esac
   3613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3614 $as_echo "$ac_try_echo"; } >&5
   3615   (eval "$ac_link_default") 2>&5
   3616   ac_status=$?
   3617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3618   test $ac_status = 0; }; then :
   3619   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3620 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3621 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3622 # so that the user can short-circuit this test for compilers unknown to
   3623 # Autoconf.
   3624 for ac_file in $ac_files ''
   3625 do
   3626   test -f "$ac_file" || continue
   3627   case $ac_file in
   3628     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3629 	;;
   3630     [ab].out )
   3631 	# We found the default executable, but exeext='' is most
   3632 	# certainly right.
   3633 	break;;
   3634     *.* )
   3635 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3636 	then :; else
   3637 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3638 	fi
   3639 	# We set ac_cv_exeext here because the later test for it is not
   3640 	# safe: cross compilers may not add the suffix if given an `-o'
   3641 	# argument, so we may need to know it at that point already.
   3642 	# Even if this section looks crufty: it has the advantage of
   3643 	# actually working.
   3644 	break;;
   3645     * )
   3646 	break;;
   3647   esac
   3648 done
   3649 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3650 
   3651 else
   3652   ac_file=''
   3653 fi
   3654 if test -z "$ac_file"; then :
   3655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3656 $as_echo "no" >&6; }
   3657 $as_echo "$as_me: failed program was:" >&5
   3658 sed 's/^/| /' conftest.$ac_ext >&5
   3659 
   3660 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3662 as_fn_error 77 "C compiler cannot create executables
   3663 See \`config.log' for more details" "$LINENO" 5; }
   3664 else
   3665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3666 $as_echo "yes" >&6; }
   3667 fi
   3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3669 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3671 $as_echo "$ac_file" >&6; }
   3672 ac_exeext=$ac_cv_exeext
   3673 
   3674 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3675 ac_clean_files=$ac_clean_files_save
   3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3677 $as_echo_n "checking for suffix of executables... " >&6; }
   3678 if { { ac_try="$ac_link"
   3679 case "(($ac_try" in
   3680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3681   *) ac_try_echo=$ac_try;;
   3682 esac
   3683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3684 $as_echo "$ac_try_echo"; } >&5
   3685   (eval "$ac_link") 2>&5
   3686   ac_status=$?
   3687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3688   test $ac_status = 0; }; then :
   3689   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3690 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3691 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3692 # `rm'.
   3693 for ac_file in conftest.exe conftest conftest.*; do
   3694   test -f "$ac_file" || continue
   3695   case $ac_file in
   3696     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3697     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3698 	  break;;
   3699     * ) break;;
   3700   esac
   3701 done
   3702 else
   3703   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3705 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3706 See \`config.log' for more details" "$LINENO" 5; }
   3707 fi
   3708 rm -f conftest conftest$ac_cv_exeext
   3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3710 $as_echo "$ac_cv_exeext" >&6; }
   3711 
   3712 rm -f conftest.$ac_ext
   3713 EXEEXT=$ac_cv_exeext
   3714 ac_exeext=$EXEEXT
   3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3716 /* end confdefs.h.  */
   3717 #include <stdio.h>
   3718 int
   3719 main ()
   3720 {
   3721 FILE *f = fopen ("conftest.out", "w");
   3722  return ferror (f) || fclose (f) != 0;
   3723 
   3724   ;
   3725   return 0;
   3726 }
   3727 _ACEOF
   3728 ac_clean_files="$ac_clean_files conftest.out"
   3729 # Check that the compiler produces executables we can run.  If not, either
   3730 # the compiler is broken, or we cross compile.
   3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3732 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3733 if test "$cross_compiling" != yes; then
   3734   { { ac_try="$ac_link"
   3735 case "(($ac_try" in
   3736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3737   *) ac_try_echo=$ac_try;;
   3738 esac
   3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3740 $as_echo "$ac_try_echo"; } >&5
   3741   (eval "$ac_link") 2>&5
   3742   ac_status=$?
   3743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3744   test $ac_status = 0; }
   3745   if { ac_try='./conftest$ac_cv_exeext'
   3746   { { case "(($ac_try" in
   3747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3748   *) ac_try_echo=$ac_try;;
   3749 esac
   3750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3751 $as_echo "$ac_try_echo"; } >&5
   3752   (eval "$ac_try") 2>&5
   3753   ac_status=$?
   3754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3755   test $ac_status = 0; }; }; then
   3756     cross_compiling=no
   3757   else
   3758     if test "$cross_compiling" = maybe; then
   3759 	cross_compiling=yes
   3760     else
   3761 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3763 as_fn_error $? "cannot run C compiled programs.
   3764 If you meant to cross compile, use \`--host'.
   3765 See \`config.log' for more details" "$LINENO" 5; }
   3766     fi
   3767   fi
   3768 fi
   3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3770 $as_echo "$cross_compiling" >&6; }
   3771 
   3772 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3773 ac_clean_files=$ac_clean_files_save
   3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3775 $as_echo_n "checking for suffix of object files... " >&6; }
   3776 if ${ac_cv_objext+:} false; then :
   3777   $as_echo_n "(cached) " >&6
   3778 else
   3779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3780 /* end confdefs.h.  */
   3781 
   3782 int
   3783 main ()
   3784 {
   3785 
   3786   ;
   3787   return 0;
   3788 }
   3789 _ACEOF
   3790 rm -f conftest.o conftest.obj
   3791 if { { ac_try="$ac_compile"
   3792 case "(($ac_try" in
   3793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3794   *) ac_try_echo=$ac_try;;
   3795 esac
   3796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3797 $as_echo "$ac_try_echo"; } >&5
   3798   (eval "$ac_compile") 2>&5
   3799   ac_status=$?
   3800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3801   test $ac_status = 0; }; then :
   3802   for ac_file in conftest.o conftest.obj conftest.*; do
   3803   test -f "$ac_file" || continue;
   3804   case $ac_file in
   3805     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3806     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3807        break;;
   3808   esac
   3809 done
   3810 else
   3811   $as_echo "$as_me: failed program was:" >&5
   3812 sed 's/^/| /' conftest.$ac_ext >&5
   3813 
   3814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3816 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3817 See \`config.log' for more details" "$LINENO" 5; }
   3818 fi
   3819 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3820 fi
   3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3822 $as_echo "$ac_cv_objext" >&6; }
   3823 OBJEXT=$ac_cv_objext
   3824 ac_objext=$OBJEXT
   3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3826 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3827 if ${ac_cv_c_compiler_gnu+:} false; then :
   3828   $as_echo_n "(cached) " >&6
   3829 else
   3830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3831 /* end confdefs.h.  */
   3832 
   3833 int
   3834 main ()
   3835 {
   3836 #ifndef __GNUC__
   3837        choke me
   3838 #endif
   3839 
   3840   ;
   3841   return 0;
   3842 }
   3843 _ACEOF
   3844 if ac_fn_c_try_compile "$LINENO"; then :
   3845   ac_compiler_gnu=yes
   3846 else
   3847   ac_compiler_gnu=no
   3848 fi
   3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3850 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3851 
   3852 fi
   3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3854 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3855 if test $ac_compiler_gnu = yes; then
   3856   GCC=yes
   3857 else
   3858   GCC=
   3859 fi
   3860 ac_test_CFLAGS=${CFLAGS+set}
   3861 ac_save_CFLAGS=$CFLAGS
   3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3863 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3864 if ${ac_cv_prog_cc_g+:} false; then :
   3865   $as_echo_n "(cached) " >&6
   3866 else
   3867   ac_save_c_werror_flag=$ac_c_werror_flag
   3868    ac_c_werror_flag=yes
   3869    ac_cv_prog_cc_g=no
   3870    CFLAGS="-g"
   3871    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3872 /* end confdefs.h.  */
   3873 
   3874 int
   3875 main ()
   3876 {
   3877 
   3878   ;
   3879   return 0;
   3880 }
   3881 _ACEOF
   3882 if ac_fn_c_try_compile "$LINENO"; then :
   3883   ac_cv_prog_cc_g=yes
   3884 else
   3885   CFLAGS=""
   3886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3887 /* end confdefs.h.  */
   3888 
   3889 int
   3890 main ()
   3891 {
   3892 
   3893   ;
   3894   return 0;
   3895 }
   3896 _ACEOF
   3897 if ac_fn_c_try_compile "$LINENO"; then :
   3898 
   3899 else
   3900   ac_c_werror_flag=$ac_save_c_werror_flag
   3901 	 CFLAGS="-g"
   3902 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3903 /* end confdefs.h.  */
   3904 
   3905 int
   3906 main ()
   3907 {
   3908 
   3909   ;
   3910   return 0;
   3911 }
   3912 _ACEOF
   3913 if ac_fn_c_try_compile "$LINENO"; then :
   3914   ac_cv_prog_cc_g=yes
   3915 fi
   3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3917 fi
   3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3919 fi
   3920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3921    ac_c_werror_flag=$ac_save_c_werror_flag
   3922 fi
   3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3924 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3925 if test "$ac_test_CFLAGS" = set; then
   3926   CFLAGS=$ac_save_CFLAGS
   3927 elif test $ac_cv_prog_cc_g = yes; then
   3928   if test "$GCC" = yes; then
   3929     CFLAGS="-g -O2"
   3930   else
   3931     CFLAGS="-g"
   3932   fi
   3933 else
   3934   if test "$GCC" = yes; then
   3935     CFLAGS="-O2"
   3936   else
   3937     CFLAGS=
   3938   fi
   3939 fi
   3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3942 if ${ac_cv_prog_cc_c89+:} false; then :
   3943   $as_echo_n "(cached) " >&6
   3944 else
   3945   ac_cv_prog_cc_c89=no
   3946 ac_save_CC=$CC
   3947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3948 /* end confdefs.h.  */
   3949 #include <stdarg.h>
   3950 #include <stdio.h>
   3951 struct stat;
   3952 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3953 struct buf { int x; };
   3954 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3955 static char *e (p, i)
   3956      char **p;
   3957      int i;
   3958 {
   3959   return p[i];
   3960 }
   3961 static char *f (char * (*g) (char **, int), char **p, ...)
   3962 {
   3963   char *s;
   3964   va_list v;
   3965   va_start (v,p);
   3966   s = g (p, va_arg (v,int));
   3967   va_end (v);
   3968   return s;
   3969 }
   3970 
   3971 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3972    function prototypes and stuff, but not '\xHH' hex character constants.
   3973    These don't provoke an error unfortunately, instead are silently treated
   3974    as 'x'.  The following induces an error, until -std is added to get
   3975    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3976    array size at least.  It's necessary to write '\x00'==0 to get something
   3977    that's true only with -std.  */
   3978 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3979 
   3980 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3981    inside strings and character constants.  */
   3982 #define FOO(x) 'x'
   3983 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3984 
   3985 int test (int i, double x);
   3986 struct s1 {int (*f) (int a);};
   3987 struct s2 {int (*f) (double a);};
   3988 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3989 int argc;
   3990 char **argv;
   3991 int
   3992 main ()
   3993 {
   3994 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3995   ;
   3996   return 0;
   3997 }
   3998 _ACEOF
   3999 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4000 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4001 do
   4002   CC="$ac_save_CC $ac_arg"
   4003   if ac_fn_c_try_compile "$LINENO"; then :
   4004   ac_cv_prog_cc_c89=$ac_arg
   4005 fi
   4006 rm -f core conftest.err conftest.$ac_objext
   4007   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4008 done
   4009 rm -f conftest.$ac_ext
   4010 CC=$ac_save_CC
   4011 
   4012 fi
   4013 # AC_CACHE_VAL
   4014 case "x$ac_cv_prog_cc_c89" in
   4015   x)
   4016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4017 $as_echo "none needed" >&6; } ;;
   4018   xno)
   4019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4020 $as_echo "unsupported" >&6; } ;;
   4021   *)
   4022     CC="$CC $ac_cv_prog_cc_c89"
   4023     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4024 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4025 esac
   4026 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4027 
   4028 fi
   4029 
   4030 ac_ext=c
   4031 ac_cpp='$CPP $CPPFLAGS'
   4032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4035 
   4036 ac_ext=c
   4037 ac_cpp='$CPP $CPPFLAGS'
   4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4042 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4043 if ${am_cv_prog_cc_c_o+:} false; then :
   4044   $as_echo_n "(cached) " >&6
   4045 else
   4046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 
   4049 int
   4050 main ()
   4051 {
   4052 
   4053   ;
   4054   return 0;
   4055 }
   4056 _ACEOF
   4057   # Make sure it works both with $CC and with simple cc.
   4058   # Following AC_PROG_CC_C_O, we do the test twice because some
   4059   # compilers refuse to overwrite an existing .o file with -o,
   4060   # though they will create one.
   4061   am_cv_prog_cc_c_o=yes
   4062   for am_i in 1 2; do
   4063     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4064    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4065    ac_status=$?
   4066    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4067    (exit $ac_status); } \
   4068          && test -f conftest2.$ac_objext; then
   4069       : OK
   4070     else
   4071       am_cv_prog_cc_c_o=no
   4072       break
   4073     fi
   4074   done
   4075   rm -f core conftest*
   4076   unset am_i
   4077 fi
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4079 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4080 if test "$am_cv_prog_cc_c_o" != yes; then
   4081    # Losing compiler, so override with the script.
   4082    # FIXME: It is wrong to rewrite CC.
   4083    # But if we don't then we get into trouble of one sort or another.
   4084    # A longer-term fix would be to have automake use am__CC in this case,
   4085    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4086    CC="$am_aux_dir/compile $CC"
   4087 fi
   4088 ac_ext=c
   4089 ac_cpp='$CPP $CPPFLAGS'
   4090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4093 
   4094 
   4095 depcc="$CC"   am_compiler_list=
   4096 
   4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4098 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4099 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4100   $as_echo_n "(cached) " >&6
   4101 else
   4102   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4103   # We make a subdir and do the tests there.  Otherwise we can end up
   4104   # making bogus files that we don't know about and never remove.  For
   4105   # instance it was reported that on HP-UX the gcc test will end up
   4106   # making a dummy file named 'D' -- because '-MD' means "put the output
   4107   # in D".
   4108   rm -rf conftest.dir
   4109   mkdir conftest.dir
   4110   # Copy depcomp to subdir because otherwise we won't find it if we're
   4111   # using a relative directory.
   4112   cp "$am_depcomp" conftest.dir
   4113   cd conftest.dir
   4114   # We will build objects and dependencies in a subdirectory because
   4115   # it helps to detect inapplicable dependency modes.  For instance
   4116   # both Tru64's cc and ICC support -MD to output dependencies as a
   4117   # side effect of compilation, but ICC will put the dependencies in
   4118   # the current directory while Tru64 will put them in the object
   4119   # directory.
   4120   mkdir sub
   4121 
   4122   am_cv_CC_dependencies_compiler_type=none
   4123   if test "$am_compiler_list" = ""; then
   4124      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4125   fi
   4126   am__universal=false
   4127   case " $depcc " in #(
   4128      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4129      esac
   4130 
   4131   for depmode in $am_compiler_list; do
   4132     # Setup a source with many dependencies, because some compilers
   4133     # like to wrap large dependency lists on column 80 (with \), and
   4134     # we should not choose a depcomp mode which is confused by this.
   4135     #
   4136     # We need to recreate these files for each test, as the compiler may
   4137     # overwrite some of them when testing with obscure command lines.
   4138     # This happens at least with the AIX C compiler.
   4139     : > sub/conftest.c
   4140     for i in 1 2 3 4 5 6; do
   4141       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4142       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4143       # Solaris 10 /bin/sh.
   4144       echo '/* dummy */' > sub/conftst$i.h
   4145     done
   4146     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4147 
   4148     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4149     # mode.  It turns out that the SunPro C++ compiler does not properly
   4150     # handle '-M -o', and we need to detect this.  Also, some Intel
   4151     # versions had trouble with output in subdirs.
   4152     am__obj=sub/conftest.${OBJEXT-o}
   4153     am__minus_obj="-o $am__obj"
   4154     case $depmode in
   4155     gcc)
   4156       # This depmode causes a compiler race in universal mode.
   4157       test "$am__universal" = false || continue
   4158       ;;
   4159     nosideeffect)
   4160       # After this tag, mechanisms are not by side-effect, so they'll
   4161       # only be used when explicitly requested.
   4162       if test "x$enable_dependency_tracking" = xyes; then
   4163 	continue
   4164       else
   4165 	break
   4166       fi
   4167       ;;
   4168     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4169       # This compiler won't grok '-c -o', but also, the minuso test has
   4170       # not run yet.  These depmodes are late enough in the game, and
   4171       # so weak that their functioning should not be impacted.
   4172       am__obj=conftest.${OBJEXT-o}
   4173       am__minus_obj=
   4174       ;;
   4175     none) break ;;
   4176     esac
   4177     if depmode=$depmode \
   4178        source=sub/conftest.c object=$am__obj \
   4179        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4180        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4181          >/dev/null 2>conftest.err &&
   4182        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4183        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4184        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4185        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4186       # icc doesn't choke on unknown options, it will just issue warnings
   4187       # or remarks (even with -Werror).  So we grep stderr for any message
   4188       # that says an option was ignored or not supported.
   4189       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4190       #   icc: Command line warning: ignoring option '-M'; no argument required
   4191       # The diagnosis changed in icc 8.0:
   4192       #   icc: Command line remark: option '-MP' not supported
   4193       if (grep 'ignoring option' conftest.err ||
   4194           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4195         am_cv_CC_dependencies_compiler_type=$depmode
   4196         break
   4197       fi
   4198     fi
   4199   done
   4200 
   4201   cd ..
   4202   rm -rf conftest.dir
   4203 else
   4204   am_cv_CC_dependencies_compiler_type=none
   4205 fi
   4206 
   4207 fi
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4209 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4210 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4211 
   4212  if
   4213   test "x$enable_dependency_tracking" != xno \
   4214   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4215   am__fastdepCC_TRUE=
   4216   am__fastdepCC_FALSE='#'
   4217 else
   4218   am__fastdepCC_TRUE='#'
   4219   am__fastdepCC_FALSE=
   4220 fi
   4221 
   4222 
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4224 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4225 if ${ac_cv_path_SED+:} false; then :
   4226   $as_echo_n "(cached) " >&6
   4227 else
   4228             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4229      for ac_i in 1 2 3 4 5 6 7; do
   4230        ac_script="$ac_script$as_nl$ac_script"
   4231      done
   4232      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4233      { ac_script=; unset ac_script;}
   4234      if test -z "$SED"; then
   4235   ac_path_SED_found=false
   4236   # Loop through the user's path and test for each of PROGNAME-LIST
   4237   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4238 for as_dir in $PATH
   4239 do
   4240   IFS=$as_save_IFS
   4241   test -z "$as_dir" && as_dir=.
   4242     for ac_prog in sed gsed; do
   4243     for ac_exec_ext in '' $ac_executable_extensions; do
   4244       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4245       as_fn_executable_p "$ac_path_SED" || continue
   4246 # Check for GNU ac_path_SED and select it if it is found.
   4247   # Check for GNU $ac_path_SED
   4248 case `"$ac_path_SED" --version 2>&1` in
   4249 *GNU*)
   4250   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4251 *)
   4252   ac_count=0
   4253   $as_echo_n 0123456789 >"conftest.in"
   4254   while :
   4255   do
   4256     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4257     mv "conftest.tmp" "conftest.in"
   4258     cp "conftest.in" "conftest.nl"
   4259     $as_echo '' >> "conftest.nl"
   4260     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4261     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4262     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4263     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4264       # Best one so far, save it but keep looking for a better one
   4265       ac_cv_path_SED="$ac_path_SED"
   4266       ac_path_SED_max=$ac_count
   4267     fi
   4268     # 10*(2^10) chars as input seems more than enough
   4269     test $ac_count -gt 10 && break
   4270   done
   4271   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4272 esac
   4273 
   4274       $ac_path_SED_found && break 3
   4275     done
   4276   done
   4277   done
   4278 IFS=$as_save_IFS
   4279   if test -z "$ac_cv_path_SED"; then
   4280     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4281   fi
   4282 else
   4283   ac_cv_path_SED=$SED
   4284 fi
   4285 
   4286 fi
   4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4288 $as_echo "$ac_cv_path_SED" >&6; }
   4289  SED="$ac_cv_path_SED"
   4290   rm -f conftest.sed
   4291 
   4292 test -z "$SED" && SED=sed
   4293 Xsed="$SED -e 1s/^X//"
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4306 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4307 if ${ac_cv_path_GREP+:} false; then :
   4308   $as_echo_n "(cached) " >&6
   4309 else
   4310   if test -z "$GREP"; then
   4311   ac_path_GREP_found=false
   4312   # Loop through the user's path and test for each of PROGNAME-LIST
   4313   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4314 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4315 do
   4316   IFS=$as_save_IFS
   4317   test -z "$as_dir" && as_dir=.
   4318     for ac_prog in grep ggrep; do
   4319     for ac_exec_ext in '' $ac_executable_extensions; do
   4320       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4321       as_fn_executable_p "$ac_path_GREP" || continue
   4322 # Check for GNU ac_path_GREP and select it if it is found.
   4323   # Check for GNU $ac_path_GREP
   4324 case `"$ac_path_GREP" --version 2>&1` in
   4325 *GNU*)
   4326   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4327 *)
   4328   ac_count=0
   4329   $as_echo_n 0123456789 >"conftest.in"
   4330   while :
   4331   do
   4332     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4333     mv "conftest.tmp" "conftest.in"
   4334     cp "conftest.in" "conftest.nl"
   4335     $as_echo 'GREP' >> "conftest.nl"
   4336     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4337     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4338     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4339     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4340       # Best one so far, save it but keep looking for a better one
   4341       ac_cv_path_GREP="$ac_path_GREP"
   4342       ac_path_GREP_max=$ac_count
   4343     fi
   4344     # 10*(2^10) chars as input seems more than enough
   4345     test $ac_count -gt 10 && break
   4346   done
   4347   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4348 esac
   4349 
   4350       $ac_path_GREP_found && break 3
   4351     done
   4352   done
   4353   done
   4354 IFS=$as_save_IFS
   4355   if test -z "$ac_cv_path_GREP"; then
   4356     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4357   fi
   4358 else
   4359   ac_cv_path_GREP=$GREP
   4360 fi
   4361 
   4362 fi
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4364 $as_echo "$ac_cv_path_GREP" >&6; }
   4365  GREP="$ac_cv_path_GREP"
   4366 
   4367 
   4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4369 $as_echo_n "checking for egrep... " >&6; }
   4370 if ${ac_cv_path_EGREP+:} false; then :
   4371   $as_echo_n "(cached) " >&6
   4372 else
   4373   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4374    then ac_cv_path_EGREP="$GREP -E"
   4375    else
   4376      if test -z "$EGREP"; then
   4377   ac_path_EGREP_found=false
   4378   # Loop through the user's path and test for each of PROGNAME-LIST
   4379   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4381 do
   4382   IFS=$as_save_IFS
   4383   test -z "$as_dir" && as_dir=.
   4384     for ac_prog in egrep; do
   4385     for ac_exec_ext in '' $ac_executable_extensions; do
   4386       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4387       as_fn_executable_p "$ac_path_EGREP" || continue
   4388 # Check for GNU ac_path_EGREP and select it if it is found.
   4389   # Check for GNU $ac_path_EGREP
   4390 case `"$ac_path_EGREP" --version 2>&1` in
   4391 *GNU*)
   4392   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4393 *)
   4394   ac_count=0
   4395   $as_echo_n 0123456789 >"conftest.in"
   4396   while :
   4397   do
   4398     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4399     mv "conftest.tmp" "conftest.in"
   4400     cp "conftest.in" "conftest.nl"
   4401     $as_echo 'EGREP' >> "conftest.nl"
   4402     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4403     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4404     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4405     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4406       # Best one so far, save it but keep looking for a better one
   4407       ac_cv_path_EGREP="$ac_path_EGREP"
   4408       ac_path_EGREP_max=$ac_count
   4409     fi
   4410     # 10*(2^10) chars as input seems more than enough
   4411     test $ac_count -gt 10 && break
   4412   done
   4413   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4414 esac
   4415 
   4416       $ac_path_EGREP_found && break 3
   4417     done
   4418   done
   4419   done
   4420 IFS=$as_save_IFS
   4421   if test -z "$ac_cv_path_EGREP"; then
   4422     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4423   fi
   4424 else
   4425   ac_cv_path_EGREP=$EGREP
   4426 fi
   4427 
   4428    fi
   4429 fi
   4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4431 $as_echo "$ac_cv_path_EGREP" >&6; }
   4432  EGREP="$ac_cv_path_EGREP"
   4433 
   4434 
   4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4436 $as_echo_n "checking for fgrep... " >&6; }
   4437 if ${ac_cv_path_FGREP+:} false; then :
   4438   $as_echo_n "(cached) " >&6
   4439 else
   4440   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4441    then ac_cv_path_FGREP="$GREP -F"
   4442    else
   4443      if test -z "$FGREP"; then
   4444   ac_path_FGREP_found=false
   4445   # Loop through the user's path and test for each of PROGNAME-LIST
   4446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4447 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4448 do
   4449   IFS=$as_save_IFS
   4450   test -z "$as_dir" && as_dir=.
   4451     for ac_prog in fgrep; do
   4452     for ac_exec_ext in '' $ac_executable_extensions; do
   4453       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4454       as_fn_executable_p "$ac_path_FGREP" || continue
   4455 # Check for GNU ac_path_FGREP and select it if it is found.
   4456   # Check for GNU $ac_path_FGREP
   4457 case `"$ac_path_FGREP" --version 2>&1` in
   4458 *GNU*)
   4459   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4460 *)
   4461   ac_count=0
   4462   $as_echo_n 0123456789 >"conftest.in"
   4463   while :
   4464   do
   4465     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4466     mv "conftest.tmp" "conftest.in"
   4467     cp "conftest.in" "conftest.nl"
   4468     $as_echo 'FGREP' >> "conftest.nl"
   4469     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4470     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4471     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4472     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4473       # Best one so far, save it but keep looking for a better one
   4474       ac_cv_path_FGREP="$ac_path_FGREP"
   4475       ac_path_FGREP_max=$ac_count
   4476     fi
   4477     # 10*(2^10) chars as input seems more than enough
   4478     test $ac_count -gt 10 && break
   4479   done
   4480   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4481 esac
   4482 
   4483       $ac_path_FGREP_found && break 3
   4484     done
   4485   done
   4486   done
   4487 IFS=$as_save_IFS
   4488   if test -z "$ac_cv_path_FGREP"; then
   4489     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4490   fi
   4491 else
   4492   ac_cv_path_FGREP=$FGREP
   4493 fi
   4494 
   4495    fi
   4496 fi
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4498 $as_echo "$ac_cv_path_FGREP" >&6; }
   4499  FGREP="$ac_cv_path_FGREP"
   4500 
   4501 
   4502 test -z "$GREP" && GREP=grep
   4503 
   4504 
   4505 
   4506 
   4507 
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 
   4517 
   4518 
   4519 
   4520 
   4521 
   4522 # Check whether --with-gnu-ld was given.
   4523 if test "${with_gnu_ld+set}" = set; then :
   4524   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4525 else
   4526   with_gnu_ld=no
   4527 fi
   4528 
   4529 ac_prog=ld
   4530 if test "$GCC" = yes; then
   4531   # Check if gcc -print-prog-name=ld gives a path.
   4532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4533 $as_echo_n "checking for ld used by $CC... " >&6; }
   4534   case $host in
   4535   *-*-mingw*)
   4536     # gcc leaves a trailing carriage return which upsets mingw
   4537     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4538   *)
   4539     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4540   esac
   4541   case $ac_prog in
   4542     # Accept absolute paths.
   4543     [\\/]* | ?:[\\/]*)
   4544       re_direlt='/[^/][^/]*/\.\./'
   4545       # Canonicalize the pathname of ld
   4546       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4547       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4548 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4549       done
   4550       test -z "$LD" && LD="$ac_prog"
   4551       ;;
   4552   "")
   4553     # If it fails, then pretend we aren't using GCC.
   4554     ac_prog=ld
   4555     ;;
   4556   *)
   4557     # If it is relative, then search for the first ld in PATH.
   4558     with_gnu_ld=unknown
   4559     ;;
   4560   esac
   4561 elif test "$with_gnu_ld" = yes; then
   4562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4563 $as_echo_n "checking for GNU ld... " >&6; }
   4564 else
   4565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4566 $as_echo_n "checking for non-GNU ld... " >&6; }
   4567 fi
   4568 if ${lt_cv_path_LD+:} false; then :
   4569   $as_echo_n "(cached) " >&6
   4570 else
   4571   if test -z "$LD"; then
   4572   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4573   for ac_dir in $PATH; do
   4574     IFS="$lt_save_ifs"
   4575     test -z "$ac_dir" && ac_dir=.
   4576     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4577       lt_cv_path_LD="$ac_dir/$ac_prog"
   4578       # Check to see if the program is GNU ld.  I'd rather use --version,
   4579       # but apparently some variants of GNU ld only accept -v.
   4580       # Break only if it was the GNU/non-GNU ld that we prefer.
   4581       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4582       *GNU* | *'with BFD'*)
   4583 	test "$with_gnu_ld" != no && break
   4584 	;;
   4585       *)
   4586 	test "$with_gnu_ld" != yes && break
   4587 	;;
   4588       esac
   4589     fi
   4590   done
   4591   IFS="$lt_save_ifs"
   4592 else
   4593   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4594 fi
   4595 fi
   4596 
   4597 LD="$lt_cv_path_LD"
   4598 if test -n "$LD"; then
   4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4600 $as_echo "$LD" >&6; }
   4601 else
   4602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4603 $as_echo "no" >&6; }
   4604 fi
   4605 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4607 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4608 if ${lt_cv_prog_gnu_ld+:} false; then :
   4609   $as_echo_n "(cached) " >&6
   4610 else
   4611   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4612 case `$LD -v 2>&1 </dev/null` in
   4613 *GNU* | *'with BFD'*)
   4614   lt_cv_prog_gnu_ld=yes
   4615   ;;
   4616 *)
   4617   lt_cv_prog_gnu_ld=no
   4618   ;;
   4619 esac
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4622 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4623 with_gnu_ld=$lt_cv_prog_gnu_ld
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4634 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4635 if ${lt_cv_path_NM+:} false; then :
   4636   $as_echo_n "(cached) " >&6
   4637 else
   4638   if test -n "$NM"; then
   4639   # Let the user override the test.
   4640   lt_cv_path_NM="$NM"
   4641 else
   4642   lt_nm_to_check="${ac_tool_prefix}nm"
   4643   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4644     lt_nm_to_check="$lt_nm_to_check nm"
   4645   fi
   4646   for lt_tmp_nm in $lt_nm_to_check; do
   4647     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4648     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4649       IFS="$lt_save_ifs"
   4650       test -z "$ac_dir" && ac_dir=.
   4651       tmp_nm="$ac_dir/$lt_tmp_nm"
   4652       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4653 	# Check to see if the nm accepts a BSD-compat flag.
   4654 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4655 	#   nm: unknown option "B" ignored
   4656 	# Tru64's nm complains that /dev/null is an invalid object file
   4657 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4658 	*/dev/null* | *'Invalid file or object type'*)
   4659 	  lt_cv_path_NM="$tmp_nm -B"
   4660 	  break
   4661 	  ;;
   4662 	*)
   4663 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4664 	  */dev/null*)
   4665 	    lt_cv_path_NM="$tmp_nm -p"
   4666 	    break
   4667 	    ;;
   4668 	  *)
   4669 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4670 	    continue # so that we can try to find one that supports BSD flags
   4671 	    ;;
   4672 	  esac
   4673 	  ;;
   4674 	esac
   4675       fi
   4676     done
   4677     IFS="$lt_save_ifs"
   4678   done
   4679   : ${lt_cv_path_NM=no}
   4680 fi
   4681 fi
   4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4683 $as_echo "$lt_cv_path_NM" >&6; }
   4684 if test "$lt_cv_path_NM" != "no"; then
   4685   NM="$lt_cv_path_NM"
   4686 else
   4687   # Didn't find any BSD compatible name lister, look for dumpbin.
   4688   if test -n "$DUMPBIN"; then :
   4689     # Let the user override the test.
   4690   else
   4691     if test -n "$ac_tool_prefix"; then
   4692   for ac_prog in dumpbin "link -dump"
   4693   do
   4694     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4697 $as_echo_n "checking for $ac_word... " >&6; }
   4698 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4699   $as_echo_n "(cached) " >&6
   4700 else
   4701   if test -n "$DUMPBIN"; then
   4702   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4703 else
   4704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4705 for as_dir in $PATH
   4706 do
   4707   IFS=$as_save_IFS
   4708   test -z "$as_dir" && as_dir=.
   4709     for ac_exec_ext in '' $ac_executable_extensions; do
   4710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4711     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4713     break 2
   4714   fi
   4715 done
   4716   done
   4717 IFS=$as_save_IFS
   4718 
   4719 fi
   4720 fi
   4721 DUMPBIN=$ac_cv_prog_DUMPBIN
   4722 if test -n "$DUMPBIN"; then
   4723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4724 $as_echo "$DUMPBIN" >&6; }
   4725 else
   4726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4727 $as_echo "no" >&6; }
   4728 fi
   4729 
   4730 
   4731     test -n "$DUMPBIN" && break
   4732   done
   4733 fi
   4734 if test -z "$DUMPBIN"; then
   4735   ac_ct_DUMPBIN=$DUMPBIN
   4736   for ac_prog in dumpbin "link -dump"
   4737 do
   4738   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4739 set dummy $ac_prog; ac_word=$2
   4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4741 $as_echo_n "checking for $ac_word... " >&6; }
   4742 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4743   $as_echo_n "(cached) " >&6
   4744 else
   4745   if test -n "$ac_ct_DUMPBIN"; then
   4746   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4747 else
   4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4749 for as_dir in $PATH
   4750 do
   4751   IFS=$as_save_IFS
   4752   test -z "$as_dir" && as_dir=.
   4753     for ac_exec_ext in '' $ac_executable_extensions; do
   4754   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4755     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4756     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4757     break 2
   4758   fi
   4759 done
   4760   done
   4761 IFS=$as_save_IFS
   4762 
   4763 fi
   4764 fi
   4765 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4766 if test -n "$ac_ct_DUMPBIN"; then
   4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4768 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4769 else
   4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4771 $as_echo "no" >&6; }
   4772 fi
   4773 
   4774 
   4775   test -n "$ac_ct_DUMPBIN" && break
   4776 done
   4777 
   4778   if test "x$ac_ct_DUMPBIN" = x; then
   4779     DUMPBIN=":"
   4780   else
   4781     case $cross_compiling:$ac_tool_warned in
   4782 yes:)
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4785 ac_tool_warned=yes ;;
   4786 esac
   4787     DUMPBIN=$ac_ct_DUMPBIN
   4788   fi
   4789 fi
   4790 
   4791     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4792     *COFF*)
   4793       DUMPBIN="$DUMPBIN -symbols"
   4794       ;;
   4795     *)
   4796       DUMPBIN=:
   4797       ;;
   4798     esac
   4799   fi
   4800 
   4801   if test "$DUMPBIN" != ":"; then
   4802     NM="$DUMPBIN"
   4803   fi
   4804 fi
   4805 test -z "$NM" && NM=nm
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4813 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4814 if ${lt_cv_nm_interface+:} false; then :
   4815   $as_echo_n "(cached) " >&6
   4816 else
   4817   lt_cv_nm_interface="BSD nm"
   4818   echo "int some_variable = 0;" > conftest.$ac_ext
   4819   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4820   (eval "$ac_compile" 2>conftest.err)
   4821   cat conftest.err >&5
   4822   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4823   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4824   cat conftest.err >&5
   4825   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4826   cat conftest.out >&5
   4827   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4828     lt_cv_nm_interface="MS dumpbin"
   4829   fi
   4830   rm -f conftest*
   4831 fi
   4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4833 $as_echo "$lt_cv_nm_interface" >&6; }
   4834 
   4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4836 $as_echo_n "checking whether ln -s works... " >&6; }
   4837 LN_S=$as_ln_s
   4838 if test "$LN_S" = "ln -s"; then
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4840 $as_echo "yes" >&6; }
   4841 else
   4842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4843 $as_echo "no, using $LN_S" >&6; }
   4844 fi
   4845 
   4846 # find the maximum length of command line arguments
   4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4848 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4849 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4850   $as_echo_n "(cached) " >&6
   4851 else
   4852     i=0
   4853   teststring="ABCD"
   4854 
   4855   case $build_os in
   4856   msdosdjgpp*)
   4857     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4858     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4859     # during glob expansion).  Even if it were fixed, the result of this
   4860     # check would be larger than it should be.
   4861     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4862     ;;
   4863 
   4864   gnu*)
   4865     # Under GNU Hurd, this test is not required because there is
   4866     # no limit to the length of command line arguments.
   4867     # Libtool will interpret -1 as no limit whatsoever
   4868     lt_cv_sys_max_cmd_len=-1;
   4869     ;;
   4870 
   4871   cygwin* | mingw* | cegcc*)
   4872     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4873     # about 5 minutes as the teststring grows exponentially.
   4874     # Worse, since 9x/ME are not pre-emptively multitasking,
   4875     # you end up with a "frozen" computer, even though with patience
   4876     # the test eventually succeeds (with a max line length of 256k).
   4877     # Instead, let's just punt: use the minimum linelength reported by
   4878     # all of the supported platforms: 8192 (on NT/2K/XP).
   4879     lt_cv_sys_max_cmd_len=8192;
   4880     ;;
   4881 
   4882   mint*)
   4883     # On MiNT this can take a long time and run out of memory.
   4884     lt_cv_sys_max_cmd_len=8192;
   4885     ;;
   4886 
   4887   amigaos*)
   4888     # On AmigaOS with pdksh, this test takes hours, literally.
   4889     # So we just punt and use a minimum line length of 8192.
   4890     lt_cv_sys_max_cmd_len=8192;
   4891     ;;
   4892 
   4893   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4894     # This has been around since 386BSD, at least.  Likely further.
   4895     if test -x /sbin/sysctl; then
   4896       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4897     elif test -x /usr/sbin/sysctl; then
   4898       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4899     else
   4900       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4901     fi
   4902     # And add a safety zone
   4903     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4904     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4905     ;;
   4906 
   4907   interix*)
   4908     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4909     lt_cv_sys_max_cmd_len=196608
   4910     ;;
   4911 
   4912   os2*)
   4913     # The test takes a long time on OS/2.
   4914     lt_cv_sys_max_cmd_len=8192
   4915     ;;
   4916 
   4917   osf*)
   4918     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4919     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4920     # nice to cause kernel panics so lets avoid the loop below.
   4921     # First set a reasonable default.
   4922     lt_cv_sys_max_cmd_len=16384
   4923     #
   4924     if test -x /sbin/sysconfig; then
   4925       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4926         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4927       esac
   4928     fi
   4929     ;;
   4930   sco3.2v5*)
   4931     lt_cv_sys_max_cmd_len=102400
   4932     ;;
   4933   sysv5* | sco5v6* | sysv4.2uw2*)
   4934     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4935     if test -n "$kargmax"; then
   4936       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4937     else
   4938       lt_cv_sys_max_cmd_len=32768
   4939     fi
   4940     ;;
   4941   *)
   4942     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4943     if test -n "$lt_cv_sys_max_cmd_len" && \
   4944 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   4945       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4946       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4947     else
   4948       # Make teststring a little bigger before we do anything with it.
   4949       # a 1K string should be a reasonable start.
   4950       for i in 1 2 3 4 5 6 7 8 ; do
   4951         teststring=$teststring$teststring
   4952       done
   4953       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4954       # If test is not a shell built-in, we'll probably end up computing a
   4955       # maximum length that is only half of the actual maximum length, but
   4956       # we can't tell.
   4957       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4958 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4959 	      test $i != 17 # 1/2 MB should be enough
   4960       do
   4961         i=`expr $i + 1`
   4962         teststring=$teststring$teststring
   4963       done
   4964       # Only check the string length outside the loop.
   4965       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4966       teststring=
   4967       # Add a significant safety factor because C++ compilers can tack on
   4968       # massive amounts of additional arguments before passing them to the
   4969       # linker.  It appears as though 1/2 is a usable value.
   4970       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4971     fi
   4972     ;;
   4973   esac
   4974 
   4975 fi
   4976 
   4977 if test -n $lt_cv_sys_max_cmd_len ; then
   4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4979 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4980 else
   4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4982 $as_echo "none" >&6; }
   4983 fi
   4984 max_cmd_len=$lt_cv_sys_max_cmd_len
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 : ${CP="cp -f"}
   4992 : ${MV="mv -f"}
   4993 : ${RM="rm -f"}
   4994 
   4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4996 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4997 # Try some XSI features
   4998 xsi_shell=no
   4999 ( _lt_dummy="a/b/c"
   5000   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5001       = c,a/b,b/c, \
   5002     && eval 'test $(( 1 + 1 )) -eq 2 \
   5003     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5004   && xsi_shell=yes
   5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5006 $as_echo "$xsi_shell" >&6; }
   5007 
   5008 
   5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5010 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5011 lt_shell_append=no
   5012 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5013     >/dev/null 2>&1 \
   5014   && lt_shell_append=yes
   5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5016 $as_echo "$lt_shell_append" >&6; }
   5017 
   5018 
   5019 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5020   lt_unset=unset
   5021 else
   5022   lt_unset=false
   5023 fi
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 # test EBCDIC or ASCII
   5030 case `echo X|tr X '\101'` in
   5031  A) # ASCII based system
   5032     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5033   lt_SP2NL='tr \040 \012'
   5034   lt_NL2SP='tr \015\012 \040\040'
   5035   ;;
   5036  *) # EBCDIC based system
   5037   lt_SP2NL='tr \100 \n'
   5038   lt_NL2SP='tr \r\n \100\100'
   5039   ;;
   5040 esac
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5051 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5052 if ${lt_cv_to_host_file_cmd+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   case $host in
   5056   *-*-mingw* )
   5057     case $build in
   5058       *-*-mingw* ) # actually msys
   5059         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5060         ;;
   5061       *-*-cygwin* )
   5062         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5063         ;;
   5064       * ) # otherwise, assume *nix
   5065         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5066         ;;
   5067     esac
   5068     ;;
   5069   *-*-cygwin* )
   5070     case $build in
   5071       *-*-mingw* ) # actually msys
   5072         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5073         ;;
   5074       *-*-cygwin* )
   5075         lt_cv_to_host_file_cmd=func_convert_file_noop
   5076         ;;
   5077       * ) # otherwise, assume *nix
   5078         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5079         ;;
   5080     esac
   5081     ;;
   5082   * ) # unhandled hosts (and "normal" native builds)
   5083     lt_cv_to_host_file_cmd=func_convert_file_noop
   5084     ;;
   5085 esac
   5086 
   5087 fi
   5088 
   5089 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5091 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5098 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5099 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5100   $as_echo_n "(cached) " >&6
   5101 else
   5102   #assume ordinary cross tools, or native build.
   5103 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5104 case $host in
   5105   *-*-mingw* )
   5106     case $build in
   5107       *-*-mingw* ) # actually msys
   5108         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5109         ;;
   5110     esac
   5111     ;;
   5112 esac
   5113 
   5114 fi
   5115 
   5116 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5118 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5125 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5126 if ${lt_cv_ld_reload_flag+:} false; then :
   5127   $as_echo_n "(cached) " >&6
   5128 else
   5129   lt_cv_ld_reload_flag='-r'
   5130 fi
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5132 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5133 reload_flag=$lt_cv_ld_reload_flag
   5134 case $reload_flag in
   5135 "" | " "*) ;;
   5136 *) reload_flag=" $reload_flag" ;;
   5137 esac
   5138 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5139 case $host_os in
   5140   cygwin* | mingw* | pw32* | cegcc*)
   5141     if test "$GCC" != yes; then
   5142       reload_cmds=false
   5143     fi
   5144     ;;
   5145   darwin*)
   5146     if test "$GCC" = yes; then
   5147       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5148     else
   5149       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5150     fi
   5151     ;;
   5152 esac
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 if test -n "$ac_tool_prefix"; then
   5163   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5164 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5166 $as_echo_n "checking for $ac_word... " >&6; }
   5167 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5168   $as_echo_n "(cached) " >&6
   5169 else
   5170   if test -n "$OBJDUMP"; then
   5171   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5172 else
   5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5174 for as_dir in $PATH
   5175 do
   5176   IFS=$as_save_IFS
   5177   test -z "$as_dir" && as_dir=.
   5178     for ac_exec_ext in '' $ac_executable_extensions; do
   5179   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5180     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5182     break 2
   5183   fi
   5184 done
   5185   done
   5186 IFS=$as_save_IFS
   5187 
   5188 fi
   5189 fi
   5190 OBJDUMP=$ac_cv_prog_OBJDUMP
   5191 if test -n "$OBJDUMP"; then
   5192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5193 $as_echo "$OBJDUMP" >&6; }
   5194 else
   5195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5196 $as_echo "no" >&6; }
   5197 fi
   5198 
   5199 
   5200 fi
   5201 if test -z "$ac_cv_prog_OBJDUMP"; then
   5202   ac_ct_OBJDUMP=$OBJDUMP
   5203   # Extract the first word of "objdump", so it can be a program name with args.
   5204 set dummy objdump; ac_word=$2
   5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5206 $as_echo_n "checking for $ac_word... " >&6; }
   5207 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   if test -n "$ac_ct_OBJDUMP"; then
   5211   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5212 else
   5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5214 for as_dir in $PATH
   5215 do
   5216   IFS=$as_save_IFS
   5217   test -z "$as_dir" && as_dir=.
   5218     for ac_exec_ext in '' $ac_executable_extensions; do
   5219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5220     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5222     break 2
   5223   fi
   5224 done
   5225   done
   5226 IFS=$as_save_IFS
   5227 
   5228 fi
   5229 fi
   5230 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5231 if test -n "$ac_ct_OBJDUMP"; then
   5232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5233 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5234 else
   5235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5236 $as_echo "no" >&6; }
   5237 fi
   5238 
   5239   if test "x$ac_ct_OBJDUMP" = x; then
   5240     OBJDUMP="false"
   5241   else
   5242     case $cross_compiling:$ac_tool_warned in
   5243 yes:)
   5244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5246 ac_tool_warned=yes ;;
   5247 esac
   5248     OBJDUMP=$ac_ct_OBJDUMP
   5249   fi
   5250 else
   5251   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5252 fi
   5253 
   5254 test -z "$OBJDUMP" && OBJDUMP=objdump
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5265 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5266 if ${lt_cv_deplibs_check_method+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5270 lt_cv_file_magic_test_file=
   5271 lt_cv_deplibs_check_method='unknown'
   5272 # Need to set the preceding variable on all platforms that support
   5273 # interlibrary dependencies.
   5274 # 'none' -- dependencies not supported.
   5275 # `unknown' -- same as none, but documents that we really don't know.
   5276 # 'pass_all' -- all dependencies passed with no checks.
   5277 # 'test_compile' -- check by making test program.
   5278 # 'file_magic [[regex]]' -- check by looking for files in library path
   5279 # which responds to the $file_magic_cmd with a given extended regex.
   5280 # If you have `file' or equivalent on your system and you're not sure
   5281 # whether `pass_all' will *always* work, you probably want this one.
   5282 
   5283 case $host_os in
   5284 aix[4-9]*)
   5285   lt_cv_deplibs_check_method=pass_all
   5286   ;;
   5287 
   5288 beos*)
   5289   lt_cv_deplibs_check_method=pass_all
   5290   ;;
   5291 
   5292 bsdi[45]*)
   5293   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5294   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5295   lt_cv_file_magic_test_file=/shlib/libc.so
   5296   ;;
   5297 
   5298 cygwin*)
   5299   # func_win32_libid is a shell function defined in ltmain.sh
   5300   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5301   lt_cv_file_magic_cmd='func_win32_libid'
   5302   ;;
   5303 
   5304 mingw* | pw32*)
   5305   # Base MSYS/MinGW do not provide the 'file' command needed by
   5306   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5307   # unless we find 'file', for example because we are cross-compiling.
   5308   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5309   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5310     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5311     lt_cv_file_magic_cmd='func_win32_libid'
   5312   else
   5313     # Keep this pattern in sync with the one in func_win32_libid.
   5314     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5315     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5316   fi
   5317   ;;
   5318 
   5319 cegcc*)
   5320   # use the weaker test based on 'objdump'. See mingw*.
   5321   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5322   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5323   ;;
   5324 
   5325 darwin* | rhapsody*)
   5326   lt_cv_deplibs_check_method=pass_all
   5327   ;;
   5328 
   5329 freebsd* | dragonfly*)
   5330   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5331     case $host_cpu in
   5332     i*86 )
   5333       # Not sure whether the presence of OpenBSD here was a mistake.
   5334       # Let's accept both of them until this is cleared up.
   5335       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5336       lt_cv_file_magic_cmd=/usr/bin/file
   5337       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5338       ;;
   5339     esac
   5340   else
   5341     lt_cv_deplibs_check_method=pass_all
   5342   fi
   5343   ;;
   5344 
   5345 haiku*)
   5346   lt_cv_deplibs_check_method=pass_all
   5347   ;;
   5348 
   5349 hpux10.20* | hpux11*)
   5350   lt_cv_file_magic_cmd=/usr/bin/file
   5351   case $host_cpu in
   5352   ia64*)
   5353     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5354     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5355     ;;
   5356   hppa*64*)
   5357     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]'
   5358     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5359     ;;
   5360   *)
   5361     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5362     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5363     ;;
   5364   esac
   5365   ;;
   5366 
   5367 interix[3-9]*)
   5368   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5369   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5370   ;;
   5371 
   5372 irix5* | irix6* | nonstopux*)
   5373   case $LD in
   5374   *-32|*"-32 ") libmagic=32-bit;;
   5375   *-n32|*"-n32 ") libmagic=N32;;
   5376   *-64|*"-64 ") libmagic=64-bit;;
   5377   *) libmagic=never-match;;
   5378   esac
   5379   lt_cv_deplibs_check_method=pass_all
   5380   ;;
   5381 
   5382 # This must be glibc/ELF.
   5383 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5384   lt_cv_deplibs_check_method=pass_all
   5385   ;;
   5386 
   5387 netbsd* | netbsdelf*-gnu)
   5388   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5389     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5390   else
   5391     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5392   fi
   5393   ;;
   5394 
   5395 newos6*)
   5396   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5397   lt_cv_file_magic_cmd=/usr/bin/file
   5398   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5399   ;;
   5400 
   5401 *nto* | *qnx*)
   5402   lt_cv_deplibs_check_method=pass_all
   5403   ;;
   5404 
   5405 openbsd*)
   5406   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5407     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5408   else
   5409     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5410   fi
   5411   ;;
   5412 
   5413 osf3* | osf4* | osf5*)
   5414   lt_cv_deplibs_check_method=pass_all
   5415   ;;
   5416 
   5417 rdos*)
   5418   lt_cv_deplibs_check_method=pass_all
   5419   ;;
   5420 
   5421 solaris*)
   5422   lt_cv_deplibs_check_method=pass_all
   5423   ;;
   5424 
   5425 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5426   lt_cv_deplibs_check_method=pass_all
   5427   ;;
   5428 
   5429 sysv4 | sysv4.3*)
   5430   case $host_vendor in
   5431   motorola)
   5432     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]'
   5433     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5434     ;;
   5435   ncr)
   5436     lt_cv_deplibs_check_method=pass_all
   5437     ;;
   5438   sequent)
   5439     lt_cv_file_magic_cmd='/bin/file'
   5440     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5441     ;;
   5442   sni)
   5443     lt_cv_file_magic_cmd='/bin/file'
   5444     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5445     lt_cv_file_magic_test_file=/lib/libc.so
   5446     ;;
   5447   siemens)
   5448     lt_cv_deplibs_check_method=pass_all
   5449     ;;
   5450   pc)
   5451     lt_cv_deplibs_check_method=pass_all
   5452     ;;
   5453   esac
   5454   ;;
   5455 
   5456 tpf*)
   5457   lt_cv_deplibs_check_method=pass_all
   5458   ;;
   5459 esac
   5460 
   5461 fi
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5463 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5464 
   5465 file_magic_glob=
   5466 want_nocaseglob=no
   5467 if test "$build" = "$host"; then
   5468   case $host_os in
   5469   mingw* | pw32*)
   5470     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5471       want_nocaseglob=yes
   5472     else
   5473       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5474     fi
   5475     ;;
   5476   esac
   5477 fi
   5478 
   5479 file_magic_cmd=$lt_cv_file_magic_cmd
   5480 deplibs_check_method=$lt_cv_deplibs_check_method
   5481 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 if test -n "$ac_tool_prefix"; then
   5505   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5506 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5508 $as_echo_n "checking for $ac_word... " >&6; }
   5509 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   if test -n "$DLLTOOL"; then
   5513   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5514 else
   5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5516 for as_dir in $PATH
   5517 do
   5518   IFS=$as_save_IFS
   5519   test -z "$as_dir" && as_dir=.
   5520     for ac_exec_ext in '' $ac_executable_extensions; do
   5521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5522     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5524     break 2
   5525   fi
   5526 done
   5527   done
   5528 IFS=$as_save_IFS
   5529 
   5530 fi
   5531 fi
   5532 DLLTOOL=$ac_cv_prog_DLLTOOL
   5533 if test -n "$DLLTOOL"; then
   5534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5535 $as_echo "$DLLTOOL" >&6; }
   5536 else
   5537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5538 $as_echo "no" >&6; }
   5539 fi
   5540 
   5541 
   5542 fi
   5543 if test -z "$ac_cv_prog_DLLTOOL"; then
   5544   ac_ct_DLLTOOL=$DLLTOOL
   5545   # Extract the first word of "dlltool", so it can be a program name with args.
   5546 set dummy dlltool; ac_word=$2
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5548 $as_echo_n "checking for $ac_word... " >&6; }
   5549 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5550   $as_echo_n "(cached) " >&6
   5551 else
   5552   if test -n "$ac_ct_DLLTOOL"; then
   5553   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5554 else
   5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5556 for as_dir in $PATH
   5557 do
   5558   IFS=$as_save_IFS
   5559   test -z "$as_dir" && as_dir=.
   5560     for ac_exec_ext in '' $ac_executable_extensions; do
   5561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5562     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5564     break 2
   5565   fi
   5566 done
   5567   done
   5568 IFS=$as_save_IFS
   5569 
   5570 fi
   5571 fi
   5572 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5573 if test -n "$ac_ct_DLLTOOL"; then
   5574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5575 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5576 else
   5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5578 $as_echo "no" >&6; }
   5579 fi
   5580 
   5581   if test "x$ac_ct_DLLTOOL" = x; then
   5582     DLLTOOL="false"
   5583   else
   5584     case $cross_compiling:$ac_tool_warned in
   5585 yes:)
   5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5588 ac_tool_warned=yes ;;
   5589 esac
   5590     DLLTOOL=$ac_ct_DLLTOOL
   5591   fi
   5592 else
   5593   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5594 fi
   5595 
   5596 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5608 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5609 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5610   $as_echo_n "(cached) " >&6
   5611 else
   5612   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5613 
   5614 case $host_os in
   5615 cygwin* | mingw* | pw32* | cegcc*)
   5616   # two different shell functions defined in ltmain.sh
   5617   # decide which to use based on capabilities of $DLLTOOL
   5618   case `$DLLTOOL --help 2>&1` in
   5619   *--identify-strict*)
   5620     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5621     ;;
   5622   *)
   5623     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5624     ;;
   5625   esac
   5626   ;;
   5627 *)
   5628   # fallback: assume linklib IS sharedlib
   5629   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5630   ;;
   5631 esac
   5632 
   5633 fi
   5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5635 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5636 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5637 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 if test -n "$ac_tool_prefix"; then
   5647   for ac_prog in ar
   5648   do
   5649     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5652 $as_echo_n "checking for $ac_word... " >&6; }
   5653 if ${ac_cv_prog_AR+:} false; then :
   5654   $as_echo_n "(cached) " >&6
   5655 else
   5656   if test -n "$AR"; then
   5657   ac_cv_prog_AR="$AR" # Let the user override the test.
   5658 else
   5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5660 for as_dir in $PATH
   5661 do
   5662   IFS=$as_save_IFS
   5663   test -z "$as_dir" && as_dir=.
   5664     for ac_exec_ext in '' $ac_executable_extensions; do
   5665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5666     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5668     break 2
   5669   fi
   5670 done
   5671   done
   5672 IFS=$as_save_IFS
   5673 
   5674 fi
   5675 fi
   5676 AR=$ac_cv_prog_AR
   5677 if test -n "$AR"; then
   5678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5679 $as_echo "$AR" >&6; }
   5680 else
   5681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5682 $as_echo "no" >&6; }
   5683 fi
   5684 
   5685 
   5686     test -n "$AR" && break
   5687   done
   5688 fi
   5689 if test -z "$AR"; then
   5690   ac_ct_AR=$AR
   5691   for ac_prog in ar
   5692 do
   5693   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5694 set dummy $ac_prog; ac_word=$2
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5696 $as_echo_n "checking for $ac_word... " >&6; }
   5697 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5698   $as_echo_n "(cached) " >&6
   5699 else
   5700   if test -n "$ac_ct_AR"; then
   5701   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5702 else
   5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5704 for as_dir in $PATH
   5705 do
   5706   IFS=$as_save_IFS
   5707   test -z "$as_dir" && as_dir=.
   5708     for ac_exec_ext in '' $ac_executable_extensions; do
   5709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5710     ac_cv_prog_ac_ct_AR="$ac_prog"
   5711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5712     break 2
   5713   fi
   5714 done
   5715   done
   5716 IFS=$as_save_IFS
   5717 
   5718 fi
   5719 fi
   5720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5721 if test -n "$ac_ct_AR"; then
   5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5723 $as_echo "$ac_ct_AR" >&6; }
   5724 else
   5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5726 $as_echo "no" >&6; }
   5727 fi
   5728 
   5729 
   5730   test -n "$ac_ct_AR" && break
   5731 done
   5732 
   5733   if test "x$ac_ct_AR" = x; then
   5734     AR="false"
   5735   else
   5736     case $cross_compiling:$ac_tool_warned in
   5737 yes:)
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5740 ac_tool_warned=yes ;;
   5741 esac
   5742     AR=$ac_ct_AR
   5743   fi
   5744 fi
   5745 
   5746 : ${AR=ar}
   5747 : ${AR_FLAGS=cru}
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5760 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5761 if ${lt_cv_ar_at_file+:} false; then :
   5762   $as_echo_n "(cached) " >&6
   5763 else
   5764   lt_cv_ar_at_file=no
   5765    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5766 /* end confdefs.h.  */
   5767 
   5768 int
   5769 main ()
   5770 {
   5771 
   5772   ;
   5773   return 0;
   5774 }
   5775 _ACEOF
   5776 if ac_fn_c_try_compile "$LINENO"; then :
   5777   echo conftest.$ac_objext > conftest.lst
   5778       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5779       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5780   (eval $lt_ar_try) 2>&5
   5781   ac_status=$?
   5782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5783   test $ac_status = 0; }
   5784       if test "$ac_status" -eq 0; then
   5785 	# Ensure the archiver fails upon bogus file names.
   5786 	rm -f conftest.$ac_objext libconftest.a
   5787 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5788   (eval $lt_ar_try) 2>&5
   5789   ac_status=$?
   5790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5791   test $ac_status = 0; }
   5792 	if test "$ac_status" -ne 0; then
   5793           lt_cv_ar_at_file=@
   5794         fi
   5795       fi
   5796       rm -f conftest.* libconftest.a
   5797 
   5798 fi
   5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5800 
   5801 fi
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5803 $as_echo "$lt_cv_ar_at_file" >&6; }
   5804 
   5805 if test "x$lt_cv_ar_at_file" = xno; then
   5806   archiver_list_spec=
   5807 else
   5808   archiver_list_spec=$lt_cv_ar_at_file
   5809 fi
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 if test -n "$ac_tool_prefix"; then
   5818   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5819 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5821 $as_echo_n "checking for $ac_word... " >&6; }
   5822 if ${ac_cv_prog_STRIP+:} false; then :
   5823   $as_echo_n "(cached) " >&6
   5824 else
   5825   if test -n "$STRIP"; then
   5826   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5827 else
   5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5829 for as_dir in $PATH
   5830 do
   5831   IFS=$as_save_IFS
   5832   test -z "$as_dir" && as_dir=.
   5833     for ac_exec_ext in '' $ac_executable_extensions; do
   5834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5835     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5837     break 2
   5838   fi
   5839 done
   5840   done
   5841 IFS=$as_save_IFS
   5842 
   5843 fi
   5844 fi
   5845 STRIP=$ac_cv_prog_STRIP
   5846 if test -n "$STRIP"; then
   5847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5848 $as_echo "$STRIP" >&6; }
   5849 else
   5850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5851 $as_echo "no" >&6; }
   5852 fi
   5853 
   5854 
   5855 fi
   5856 if test -z "$ac_cv_prog_STRIP"; then
   5857   ac_ct_STRIP=$STRIP
   5858   # Extract the first word of "strip", so it can be a program name with args.
   5859 set dummy strip; ac_word=$2
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5861 $as_echo_n "checking for $ac_word... " >&6; }
   5862 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5863   $as_echo_n "(cached) " >&6
   5864 else
   5865   if test -n "$ac_ct_STRIP"; then
   5866   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5867 else
   5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5869 for as_dir in $PATH
   5870 do
   5871   IFS=$as_save_IFS
   5872   test -z "$as_dir" && as_dir=.
   5873     for ac_exec_ext in '' $ac_executable_extensions; do
   5874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5875     ac_cv_prog_ac_ct_STRIP="strip"
   5876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5877     break 2
   5878   fi
   5879 done
   5880   done
   5881 IFS=$as_save_IFS
   5882 
   5883 fi
   5884 fi
   5885 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5886 if test -n "$ac_ct_STRIP"; then
   5887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5888 $as_echo "$ac_ct_STRIP" >&6; }
   5889 else
   5890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5891 $as_echo "no" >&6; }
   5892 fi
   5893 
   5894   if test "x$ac_ct_STRIP" = x; then
   5895     STRIP=":"
   5896   else
   5897     case $cross_compiling:$ac_tool_warned in
   5898 yes:)
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5901 ac_tool_warned=yes ;;
   5902 esac
   5903     STRIP=$ac_ct_STRIP
   5904   fi
   5905 else
   5906   STRIP="$ac_cv_prog_STRIP"
   5907 fi
   5908 
   5909 test -z "$STRIP" && STRIP=:
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 if test -n "$ac_tool_prefix"; then
   5917   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5920 $as_echo_n "checking for $ac_word... " >&6; }
   5921 if ${ac_cv_prog_RANLIB+:} false; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   if test -n "$RANLIB"; then
   5925   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5926 else
   5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5928 for as_dir in $PATH
   5929 do
   5930   IFS=$as_save_IFS
   5931   test -z "$as_dir" && as_dir=.
   5932     for ac_exec_ext in '' $ac_executable_extensions; do
   5933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5934     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5936     break 2
   5937   fi
   5938 done
   5939   done
   5940 IFS=$as_save_IFS
   5941 
   5942 fi
   5943 fi
   5944 RANLIB=$ac_cv_prog_RANLIB
   5945 if test -n "$RANLIB"; then
   5946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5947 $as_echo "$RANLIB" >&6; }
   5948 else
   5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5950 $as_echo "no" >&6; }
   5951 fi
   5952 
   5953 
   5954 fi
   5955 if test -z "$ac_cv_prog_RANLIB"; then
   5956   ac_ct_RANLIB=$RANLIB
   5957   # Extract the first word of "ranlib", so it can be a program name with args.
   5958 set dummy ranlib; ac_word=$2
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5960 $as_echo_n "checking for $ac_word... " >&6; }
   5961 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5962   $as_echo_n "(cached) " >&6
   5963 else
   5964   if test -n "$ac_ct_RANLIB"; then
   5965   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5966 else
   5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5968 for as_dir in $PATH
   5969 do
   5970   IFS=$as_save_IFS
   5971   test -z "$as_dir" && as_dir=.
   5972     for ac_exec_ext in '' $ac_executable_extensions; do
   5973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5974     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5976     break 2
   5977   fi
   5978 done
   5979   done
   5980 IFS=$as_save_IFS
   5981 
   5982 fi
   5983 fi
   5984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5985 if test -n "$ac_ct_RANLIB"; then
   5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5987 $as_echo "$ac_ct_RANLIB" >&6; }
   5988 else
   5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5990 $as_echo "no" >&6; }
   5991 fi
   5992 
   5993   if test "x$ac_ct_RANLIB" = x; then
   5994     RANLIB=":"
   5995   else
   5996     case $cross_compiling:$ac_tool_warned in
   5997 yes:)
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6000 ac_tool_warned=yes ;;
   6001 esac
   6002     RANLIB=$ac_ct_RANLIB
   6003   fi
   6004 else
   6005   RANLIB="$ac_cv_prog_RANLIB"
   6006 fi
   6007 
   6008 test -z "$RANLIB" && RANLIB=:
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 # Determine commands to create old-style static archives.
   6016 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6017 old_postinstall_cmds='chmod 644 $oldlib'
   6018 old_postuninstall_cmds=
   6019 
   6020 if test -n "$RANLIB"; then
   6021   case $host_os in
   6022   openbsd*)
   6023     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6024     ;;
   6025   *)
   6026     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6027     ;;
   6028   esac
   6029   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6030 fi
   6031 
   6032 case $host_os in
   6033   darwin*)
   6034     lock_old_archive_extraction=yes ;;
   6035   *)
   6036     lock_old_archive_extraction=no ;;
   6037 esac
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 # If no C compiler was specified, use CC.
   6078 LTCC=${LTCC-"$CC"}
   6079 
   6080 # If no C compiler flags were specified, use CFLAGS.
   6081 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6082 
   6083 # Allow CC to be a program name with arguments.
   6084 compiler=$CC
   6085 
   6086 
   6087 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6089 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6090 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6091   $as_echo_n "(cached) " >&6
   6092 else
   6093 
   6094 # These are sane defaults that work on at least a few old systems.
   6095 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6096 
   6097 # Character class describing NM global symbol codes.
   6098 symcode='[BCDEGRST]'
   6099 
   6100 # Regexp to match symbols that can be accessed directly from C.
   6101 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6102 
   6103 # Define system-specific variables.
   6104 case $host_os in
   6105 aix*)
   6106   symcode='[BCDT]'
   6107   ;;
   6108 cygwin* | mingw* | pw32* | cegcc*)
   6109   symcode='[ABCDGISTW]'
   6110   ;;
   6111 hpux*)
   6112   if test "$host_cpu" = ia64; then
   6113     symcode='[ABCDEGRST]'
   6114   fi
   6115   ;;
   6116 irix* | nonstopux*)
   6117   symcode='[BCDEGRST]'
   6118   ;;
   6119 osf*)
   6120   symcode='[BCDEGQRST]'
   6121   ;;
   6122 solaris*)
   6123   symcode='[BDRT]'
   6124   ;;
   6125 sco3.2v5*)
   6126   symcode='[DT]'
   6127   ;;
   6128 sysv4.2uw2*)
   6129   symcode='[DT]'
   6130   ;;
   6131 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6132   symcode='[ABDT]'
   6133   ;;
   6134 sysv4)
   6135   symcode='[DFNSTU]'
   6136   ;;
   6137 esac
   6138 
   6139 # If we're using GNU nm, then use its standard symbol codes.
   6140 case `$NM -V 2>&1` in
   6141 *GNU* | *'with BFD'*)
   6142   symcode='[ABCDGIRSTW]' ;;
   6143 esac
   6144 
   6145 # Transform an extracted symbol line into a proper C declaration.
   6146 # Some systems (esp. on ia64) link data and code symbols differently,
   6147 # so use this general approach.
   6148 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6149 
   6150 # Transform an extracted symbol line into symbol name and symbol address
   6151 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6152 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'"
   6153 
   6154 # Handle CRLF in mingw tool chain
   6155 opt_cr=
   6156 case $build_os in
   6157 mingw*)
   6158   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6159   ;;
   6160 esac
   6161 
   6162 # Try without a prefix underscore, then with it.
   6163 for ac_symprfx in "" "_"; do
   6164 
   6165   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6166   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6167 
   6168   # Write the raw and C identifiers.
   6169   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6170     # Fake it for dumpbin and say T for any non-static function
   6171     # and D for any global variable.
   6172     # Also find C++ and __fastcall symbols from MSVC++,
   6173     # which start with @ or ?.
   6174     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6175 "     {last_section=section; section=\$ 3};"\
   6176 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6177 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6178 "     \$ 0!~/External *\|/{next};"\
   6179 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6180 "     {if(hide[section]) next};"\
   6181 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6182 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6183 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6184 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6185 "     ' prfx=^$ac_symprfx"
   6186   else
   6187     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6188   fi
   6189   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6190 
   6191   # Check to see that the pipe works correctly.
   6192   pipe_works=no
   6193 
   6194   rm -f conftest*
   6195   cat > conftest.$ac_ext <<_LT_EOF
   6196 #ifdef __cplusplus
   6197 extern "C" {
   6198 #endif
   6199 char nm_test_var;
   6200 void nm_test_func(void);
   6201 void nm_test_func(void){}
   6202 #ifdef __cplusplus
   6203 }
   6204 #endif
   6205 int main(){nm_test_var='a';nm_test_func();return(0);}
   6206 _LT_EOF
   6207 
   6208   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6209   (eval $ac_compile) 2>&5
   6210   ac_status=$?
   6211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6212   test $ac_status = 0; }; then
   6213     # Now try to grab the symbols.
   6214     nlist=conftest.nm
   6215     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6216   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6217   ac_status=$?
   6218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6219   test $ac_status = 0; } && test -s "$nlist"; then
   6220       # Try sorting and uniquifying the output.
   6221       if sort "$nlist" | uniq > "$nlist"T; then
   6222 	mv -f "$nlist"T "$nlist"
   6223       else
   6224 	rm -f "$nlist"T
   6225       fi
   6226 
   6227       # Make sure that we snagged all the symbols we need.
   6228       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6229 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6230 	  cat <<_LT_EOF > conftest.$ac_ext
   6231 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6232 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6233 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6234    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6235 # define LT_DLSYM_CONST
   6236 #elif defined(__osf__)
   6237 /* This system does not cope well with relocations in const data.  */
   6238 # define LT_DLSYM_CONST
   6239 #else
   6240 # define LT_DLSYM_CONST const
   6241 #endif
   6242 
   6243 #ifdef __cplusplus
   6244 extern "C" {
   6245 #endif
   6246 
   6247 _LT_EOF
   6248 	  # Now generate the symbol file.
   6249 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6250 
   6251 	  cat <<_LT_EOF >> conftest.$ac_ext
   6252 
   6253 /* The mapping between symbol names and symbols.  */
   6254 LT_DLSYM_CONST struct {
   6255   const char *name;
   6256   void       *address;
   6257 }
   6258 lt__PROGRAM__LTX_preloaded_symbols[] =
   6259 {
   6260   { "@PROGRAM@", (void *) 0 },
   6261 _LT_EOF
   6262 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6263 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6264   {0, (void *) 0}
   6265 };
   6266 
   6267 /* This works around a problem in FreeBSD linker */
   6268 #ifdef FREEBSD_WORKAROUND
   6269 static const void *lt_preloaded_setup() {
   6270   return lt__PROGRAM__LTX_preloaded_symbols;
   6271 }
   6272 #endif
   6273 
   6274 #ifdef __cplusplus
   6275 }
   6276 #endif
   6277 _LT_EOF
   6278 	  # Now try linking the two files.
   6279 	  mv conftest.$ac_objext conftstm.$ac_objext
   6280 	  lt_globsym_save_LIBS=$LIBS
   6281 	  lt_globsym_save_CFLAGS=$CFLAGS
   6282 	  LIBS="conftstm.$ac_objext"
   6283 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6284 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6285   (eval $ac_link) 2>&5
   6286   ac_status=$?
   6287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6288   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6289 	    pipe_works=yes
   6290 	  fi
   6291 	  LIBS=$lt_globsym_save_LIBS
   6292 	  CFLAGS=$lt_globsym_save_CFLAGS
   6293 	else
   6294 	  echo "cannot find nm_test_func in $nlist" >&5
   6295 	fi
   6296       else
   6297 	echo "cannot find nm_test_var in $nlist" >&5
   6298       fi
   6299     else
   6300       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6301     fi
   6302   else
   6303     echo "$progname: failed program was:" >&5
   6304     cat conftest.$ac_ext >&5
   6305   fi
   6306   rm -rf conftest* conftst*
   6307 
   6308   # Do not use the global_symbol_pipe unless it works.
   6309   if test "$pipe_works" = yes; then
   6310     break
   6311   else
   6312     lt_cv_sys_global_symbol_pipe=
   6313   fi
   6314 done
   6315 
   6316 fi
   6317 
   6318 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6319   lt_cv_sys_global_symbol_to_cdecl=
   6320 fi
   6321 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6323 $as_echo "failed" >&6; }
   6324 else
   6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6326 $as_echo "ok" >&6; }
   6327 fi
   6328 
   6329 # Response file support.
   6330 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6331   nm_file_list_spec='@'
   6332 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6333   nm_file_list_spec='@'
   6334 fi
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6363 $as_echo_n "checking for sysroot... " >&6; }
   6364 
   6365 # Check whether --with-sysroot was given.
   6366 if test "${with_sysroot+set}" = set; then :
   6367   withval=$with_sysroot;
   6368 else
   6369   with_sysroot=no
   6370 fi
   6371 
   6372 
   6373 lt_sysroot=
   6374 case ${with_sysroot} in #(
   6375  yes)
   6376    if test "$GCC" = yes; then
   6377      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6378    fi
   6379    ;; #(
   6380  /*)
   6381    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6382    ;; #(
   6383  no|'')
   6384    ;; #(
   6385  *)
   6386    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6387 $as_echo "${with_sysroot}" >&6; }
   6388    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6389    ;;
   6390 esac
   6391 
   6392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6393 $as_echo "${lt_sysroot:-no}" >&6; }
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 # Check whether --enable-libtool-lock was given.
   6400 if test "${enable_libtool_lock+set}" = set; then :
   6401   enableval=$enable_libtool_lock;
   6402 fi
   6403 
   6404 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6405 
   6406 # Some flags need to be propagated to the compiler or linker for good
   6407 # libtool support.
   6408 case $host in
   6409 ia64-*-hpux*)
   6410   # Find out which ABI we are using.
   6411   echo 'int i;' > conftest.$ac_ext
   6412   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6413   (eval $ac_compile) 2>&5
   6414   ac_status=$?
   6415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6416   test $ac_status = 0; }; then
   6417     case `/usr/bin/file conftest.$ac_objext` in
   6418       *ELF-32*)
   6419 	HPUX_IA64_MODE="32"
   6420 	;;
   6421       *ELF-64*)
   6422 	HPUX_IA64_MODE="64"
   6423 	;;
   6424     esac
   6425   fi
   6426   rm -rf conftest*
   6427   ;;
   6428 *-*-irix6*)
   6429   # Find out which ABI we are using.
   6430   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6431   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6432   (eval $ac_compile) 2>&5
   6433   ac_status=$?
   6434   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6435   test $ac_status = 0; }; then
   6436     if test "$lt_cv_prog_gnu_ld" = yes; then
   6437       case `/usr/bin/file conftest.$ac_objext` in
   6438 	*32-bit*)
   6439 	  LD="${LD-ld} -melf32bsmip"
   6440 	  ;;
   6441 	*N32*)
   6442 	  LD="${LD-ld} -melf32bmipn32"
   6443 	  ;;
   6444 	*64-bit*)
   6445 	  LD="${LD-ld} -melf64bmip"
   6446 	;;
   6447       esac
   6448     else
   6449       case `/usr/bin/file conftest.$ac_objext` in
   6450 	*32-bit*)
   6451 	  LD="${LD-ld} -32"
   6452 	  ;;
   6453 	*N32*)
   6454 	  LD="${LD-ld} -n32"
   6455 	  ;;
   6456 	*64-bit*)
   6457 	  LD="${LD-ld} -64"
   6458 	  ;;
   6459       esac
   6460     fi
   6461   fi
   6462   rm -rf conftest*
   6463   ;;
   6464 
   6465 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6466 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6467   # Find out which ABI we are using.
   6468   echo 'int i;' > conftest.$ac_ext
   6469   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6470   (eval $ac_compile) 2>&5
   6471   ac_status=$?
   6472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6473   test $ac_status = 0; }; then
   6474     case `/usr/bin/file conftest.o` in
   6475       *32-bit*)
   6476 	case $host in
   6477 	  x86_64-*kfreebsd*-gnu)
   6478 	    LD="${LD-ld} -m elf_i386_fbsd"
   6479 	    ;;
   6480 	  x86_64-*linux*)
   6481 	    case `/usr/bin/file conftest.o` in
   6482 	      *x86-64*)
   6483 		LD="${LD-ld} -m elf32_x86_64"
   6484 		;;
   6485 	      *)
   6486 		LD="${LD-ld} -m elf_i386"
   6487 		;;
   6488 	    esac
   6489 	    ;;
   6490 	  powerpc64le-*)
   6491 	    LD="${LD-ld} -m elf32lppclinux"
   6492 	    ;;
   6493 	  powerpc64-*)
   6494 	    LD="${LD-ld} -m elf32ppclinux"
   6495 	    ;;
   6496 	  s390x-*linux*)
   6497 	    LD="${LD-ld} -m elf_s390"
   6498 	    ;;
   6499 	  sparc64-*linux*)
   6500 	    LD="${LD-ld} -m elf32_sparc"
   6501 	    ;;
   6502 	esac
   6503 	;;
   6504       *64-bit*)
   6505 	case $host in
   6506 	  x86_64-*kfreebsd*-gnu)
   6507 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6508 	    ;;
   6509 	  x86_64-*linux*)
   6510 	    LD="${LD-ld} -m elf_x86_64"
   6511 	    ;;
   6512 	  powerpcle-*)
   6513 	    LD="${LD-ld} -m elf64lppc"
   6514 	    ;;
   6515 	  powerpc-*)
   6516 	    LD="${LD-ld} -m elf64ppc"
   6517 	    ;;
   6518 	  s390*-*linux*|s390*-*tpf*)
   6519 	    LD="${LD-ld} -m elf64_s390"
   6520 	    ;;
   6521 	  sparc*-*linux*)
   6522 	    LD="${LD-ld} -m elf64_sparc"
   6523 	    ;;
   6524 	esac
   6525 	;;
   6526     esac
   6527   fi
   6528   rm -rf conftest*
   6529   ;;
   6530 
   6531 *-*-sco3.2v5*)
   6532   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6533   SAVE_CFLAGS="$CFLAGS"
   6534   CFLAGS="$CFLAGS -belf"
   6535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6536 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6537 if ${lt_cv_cc_needs_belf+:} false; then :
   6538   $as_echo_n "(cached) " >&6
   6539 else
   6540   ac_ext=c
   6541 ac_cpp='$CPP $CPPFLAGS'
   6542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6545 
   6546      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 
   6549 int
   6550 main ()
   6551 {
   6552 
   6553   ;
   6554   return 0;
   6555 }
   6556 _ACEOF
   6557 if ac_fn_c_try_link "$LINENO"; then :
   6558   lt_cv_cc_needs_belf=yes
   6559 else
   6560   lt_cv_cc_needs_belf=no
   6561 fi
   6562 rm -f core conftest.err conftest.$ac_objext \
   6563     conftest$ac_exeext conftest.$ac_ext
   6564      ac_ext=c
   6565 ac_cpp='$CPP $CPPFLAGS'
   6566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6569 
   6570 fi
   6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6572 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6573   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6574     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6575     CFLAGS="$SAVE_CFLAGS"
   6576   fi
   6577   ;;
   6578 *-*solaris*)
   6579   # Find out which ABI we are using.
   6580   echo 'int i;' > conftest.$ac_ext
   6581   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6582   (eval $ac_compile) 2>&5
   6583   ac_status=$?
   6584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6585   test $ac_status = 0; }; then
   6586     case `/usr/bin/file conftest.o` in
   6587     *64-bit*)
   6588       case $lt_cv_prog_gnu_ld in
   6589       yes*)
   6590         case $host in
   6591         i?86-*-solaris*)
   6592           LD="${LD-ld} -m elf_x86_64"
   6593           ;;
   6594         sparc*-*-solaris*)
   6595           LD="${LD-ld} -m elf64_sparc"
   6596           ;;
   6597         esac
   6598         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6599         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6600           LD="${LD-ld}_sol2"
   6601         fi
   6602         ;;
   6603       *)
   6604 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6605 	  LD="${LD-ld} -64"
   6606 	fi
   6607 	;;
   6608       esac
   6609       ;;
   6610     esac
   6611   fi
   6612   rm -rf conftest*
   6613   ;;
   6614 esac
   6615 
   6616 need_locks="$enable_libtool_lock"
   6617 
   6618 if test -n "$ac_tool_prefix"; then
   6619   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6620 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6622 $as_echo_n "checking for $ac_word... " >&6; }
   6623 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6624   $as_echo_n "(cached) " >&6
   6625 else
   6626   if test -n "$MANIFEST_TOOL"; then
   6627   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6628 else
   6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6630 for as_dir in $PATH
   6631 do
   6632   IFS=$as_save_IFS
   6633   test -z "$as_dir" && as_dir=.
   6634     for ac_exec_ext in '' $ac_executable_extensions; do
   6635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6636     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6638     break 2
   6639   fi
   6640 done
   6641   done
   6642 IFS=$as_save_IFS
   6643 
   6644 fi
   6645 fi
   6646 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6647 if test -n "$MANIFEST_TOOL"; then
   6648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6649 $as_echo "$MANIFEST_TOOL" >&6; }
   6650 else
   6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6652 $as_echo "no" >&6; }
   6653 fi
   6654 
   6655 
   6656 fi
   6657 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6658   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6659   # Extract the first word of "mt", so it can be a program name with args.
   6660 set dummy mt; ac_word=$2
   6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6662 $as_echo_n "checking for $ac_word... " >&6; }
   6663 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6664   $as_echo_n "(cached) " >&6
   6665 else
   6666   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6667   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6668 else
   6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6670 for as_dir in $PATH
   6671 do
   6672   IFS=$as_save_IFS
   6673   test -z "$as_dir" && as_dir=.
   6674     for ac_exec_ext in '' $ac_executable_extensions; do
   6675   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6676     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6678     break 2
   6679   fi
   6680 done
   6681   done
   6682 IFS=$as_save_IFS
   6683 
   6684 fi
   6685 fi
   6686 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6687 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6689 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6690 else
   6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6692 $as_echo "no" >&6; }
   6693 fi
   6694 
   6695   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6696     MANIFEST_TOOL=":"
   6697   else
   6698     case $cross_compiling:$ac_tool_warned in
   6699 yes:)
   6700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6702 ac_tool_warned=yes ;;
   6703 esac
   6704     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6705   fi
   6706 else
   6707   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6708 fi
   6709 
   6710 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6712 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6713 if ${lt_cv_path_mainfest_tool+:} false; then :
   6714   $as_echo_n "(cached) " >&6
   6715 else
   6716   lt_cv_path_mainfest_tool=no
   6717   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6718   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6719   cat conftest.err >&5
   6720   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6721     lt_cv_path_mainfest_tool=yes
   6722   fi
   6723   rm -f conftest*
   6724 fi
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6726 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6727 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6728   MANIFEST_TOOL=:
   6729 fi
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736   case $host_os in
   6737     rhapsody* | darwin*)
   6738     if test -n "$ac_tool_prefix"; then
   6739   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6740 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6742 $as_echo_n "checking for $ac_word... " >&6; }
   6743 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6744   $as_echo_n "(cached) " >&6
   6745 else
   6746   if test -n "$DSYMUTIL"; then
   6747   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6748 else
   6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6750 for as_dir in $PATH
   6751 do
   6752   IFS=$as_save_IFS
   6753   test -z "$as_dir" && as_dir=.
   6754     for ac_exec_ext in '' $ac_executable_extensions; do
   6755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6756     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6758     break 2
   6759   fi
   6760 done
   6761   done
   6762 IFS=$as_save_IFS
   6763 
   6764 fi
   6765 fi
   6766 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6767 if test -n "$DSYMUTIL"; then
   6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6769 $as_echo "$DSYMUTIL" >&6; }
   6770 else
   6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6772 $as_echo "no" >&6; }
   6773 fi
   6774 
   6775 
   6776 fi
   6777 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6778   ac_ct_DSYMUTIL=$DSYMUTIL
   6779   # Extract the first word of "dsymutil", so it can be a program name with args.
   6780 set dummy dsymutil; ac_word=$2
   6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6782 $as_echo_n "checking for $ac_word... " >&6; }
   6783 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6784   $as_echo_n "(cached) " >&6
   6785 else
   6786   if test -n "$ac_ct_DSYMUTIL"; then
   6787   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6788 else
   6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6790 for as_dir in $PATH
   6791 do
   6792   IFS=$as_save_IFS
   6793   test -z "$as_dir" && as_dir=.
   6794     for ac_exec_ext in '' $ac_executable_extensions; do
   6795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6796     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6798     break 2
   6799   fi
   6800 done
   6801   done
   6802 IFS=$as_save_IFS
   6803 
   6804 fi
   6805 fi
   6806 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6807 if test -n "$ac_ct_DSYMUTIL"; then
   6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6809 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6810 else
   6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6812 $as_echo "no" >&6; }
   6813 fi
   6814 
   6815   if test "x$ac_ct_DSYMUTIL" = x; then
   6816     DSYMUTIL=":"
   6817   else
   6818     case $cross_compiling:$ac_tool_warned in
   6819 yes:)
   6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6822 ac_tool_warned=yes ;;
   6823 esac
   6824     DSYMUTIL=$ac_ct_DSYMUTIL
   6825   fi
   6826 else
   6827   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6828 fi
   6829 
   6830     if test -n "$ac_tool_prefix"; then
   6831   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6832 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6834 $as_echo_n "checking for $ac_word... " >&6; }
   6835 if ${ac_cv_prog_NMEDIT+:} false; then :
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   if test -n "$NMEDIT"; then
   6839   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6840 else
   6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6842 for as_dir in $PATH
   6843 do
   6844   IFS=$as_save_IFS
   6845   test -z "$as_dir" && as_dir=.
   6846     for ac_exec_ext in '' $ac_executable_extensions; do
   6847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6848     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6850     break 2
   6851   fi
   6852 done
   6853   done
   6854 IFS=$as_save_IFS
   6855 
   6856 fi
   6857 fi
   6858 NMEDIT=$ac_cv_prog_NMEDIT
   6859 if test -n "$NMEDIT"; then
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6861 $as_echo "$NMEDIT" >&6; }
   6862 else
   6863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6864 $as_echo "no" >&6; }
   6865 fi
   6866 
   6867 
   6868 fi
   6869 if test -z "$ac_cv_prog_NMEDIT"; then
   6870   ac_ct_NMEDIT=$NMEDIT
   6871   # Extract the first word of "nmedit", so it can be a program name with args.
   6872 set dummy nmedit; ac_word=$2
   6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6874 $as_echo_n "checking for $ac_word... " >&6; }
   6875 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6876   $as_echo_n "(cached) " >&6
   6877 else
   6878   if test -n "$ac_ct_NMEDIT"; then
   6879   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6880 else
   6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6882 for as_dir in $PATH
   6883 do
   6884   IFS=$as_save_IFS
   6885   test -z "$as_dir" && as_dir=.
   6886     for ac_exec_ext in '' $ac_executable_extensions; do
   6887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6888     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6890     break 2
   6891   fi
   6892 done
   6893   done
   6894 IFS=$as_save_IFS
   6895 
   6896 fi
   6897 fi
   6898 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6899 if test -n "$ac_ct_NMEDIT"; then
   6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6901 $as_echo "$ac_ct_NMEDIT" >&6; }
   6902 else
   6903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6904 $as_echo "no" >&6; }
   6905 fi
   6906 
   6907   if test "x$ac_ct_NMEDIT" = x; then
   6908     NMEDIT=":"
   6909   else
   6910     case $cross_compiling:$ac_tool_warned in
   6911 yes:)
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6914 ac_tool_warned=yes ;;
   6915 esac
   6916     NMEDIT=$ac_ct_NMEDIT
   6917   fi
   6918 else
   6919   NMEDIT="$ac_cv_prog_NMEDIT"
   6920 fi
   6921 
   6922     if test -n "$ac_tool_prefix"; then
   6923   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6924 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6926 $as_echo_n "checking for $ac_word... " >&6; }
   6927 if ${ac_cv_prog_LIPO+:} false; then :
   6928   $as_echo_n "(cached) " >&6
   6929 else
   6930   if test -n "$LIPO"; then
   6931   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6932 else
   6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6934 for as_dir in $PATH
   6935 do
   6936   IFS=$as_save_IFS
   6937   test -z "$as_dir" && as_dir=.
   6938     for ac_exec_ext in '' $ac_executable_extensions; do
   6939   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6940     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6942     break 2
   6943   fi
   6944 done
   6945   done
   6946 IFS=$as_save_IFS
   6947 
   6948 fi
   6949 fi
   6950 LIPO=$ac_cv_prog_LIPO
   6951 if test -n "$LIPO"; then
   6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6953 $as_echo "$LIPO" >&6; }
   6954 else
   6955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6956 $as_echo "no" >&6; }
   6957 fi
   6958 
   6959 
   6960 fi
   6961 if test -z "$ac_cv_prog_LIPO"; then
   6962   ac_ct_LIPO=$LIPO
   6963   # Extract the first word of "lipo", so it can be a program name with args.
   6964 set dummy lipo; ac_word=$2
   6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6966 $as_echo_n "checking for $ac_word... " >&6; }
   6967 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6968   $as_echo_n "(cached) " >&6
   6969 else
   6970   if test -n "$ac_ct_LIPO"; then
   6971   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6972 else
   6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6974 for as_dir in $PATH
   6975 do
   6976   IFS=$as_save_IFS
   6977   test -z "$as_dir" && as_dir=.
   6978     for ac_exec_ext in '' $ac_executable_extensions; do
   6979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6980     ac_cv_prog_ac_ct_LIPO="lipo"
   6981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6982     break 2
   6983   fi
   6984 done
   6985   done
   6986 IFS=$as_save_IFS
   6987 
   6988 fi
   6989 fi
   6990 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6991 if test -n "$ac_ct_LIPO"; then
   6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6993 $as_echo "$ac_ct_LIPO" >&6; }
   6994 else
   6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6996 $as_echo "no" >&6; }
   6997 fi
   6998 
   6999   if test "x$ac_ct_LIPO" = x; then
   7000     LIPO=":"
   7001   else
   7002     case $cross_compiling:$ac_tool_warned in
   7003 yes:)
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7006 ac_tool_warned=yes ;;
   7007 esac
   7008     LIPO=$ac_ct_LIPO
   7009   fi
   7010 else
   7011   LIPO="$ac_cv_prog_LIPO"
   7012 fi
   7013 
   7014     if test -n "$ac_tool_prefix"; then
   7015   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7016 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7018 $as_echo_n "checking for $ac_word... " >&6; }
   7019 if ${ac_cv_prog_OTOOL+:} false; then :
   7020   $as_echo_n "(cached) " >&6
   7021 else
   7022   if test -n "$OTOOL"; then
   7023   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7024 else
   7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7026 for as_dir in $PATH
   7027 do
   7028   IFS=$as_save_IFS
   7029   test -z "$as_dir" && as_dir=.
   7030     for ac_exec_ext in '' $ac_executable_extensions; do
   7031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7032     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7034     break 2
   7035   fi
   7036 done
   7037   done
   7038 IFS=$as_save_IFS
   7039 
   7040 fi
   7041 fi
   7042 OTOOL=$ac_cv_prog_OTOOL
   7043 if test -n "$OTOOL"; then
   7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7045 $as_echo "$OTOOL" >&6; }
   7046 else
   7047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7048 $as_echo "no" >&6; }
   7049 fi
   7050 
   7051 
   7052 fi
   7053 if test -z "$ac_cv_prog_OTOOL"; then
   7054   ac_ct_OTOOL=$OTOOL
   7055   # Extract the first word of "otool", so it can be a program name with args.
   7056 set dummy otool; ac_word=$2
   7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7058 $as_echo_n "checking for $ac_word... " >&6; }
   7059 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7060   $as_echo_n "(cached) " >&6
   7061 else
   7062   if test -n "$ac_ct_OTOOL"; then
   7063   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7064 else
   7065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7066 for as_dir in $PATH
   7067 do
   7068   IFS=$as_save_IFS
   7069   test -z "$as_dir" && as_dir=.
   7070     for ac_exec_ext in '' $ac_executable_extensions; do
   7071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7072     ac_cv_prog_ac_ct_OTOOL="otool"
   7073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7074     break 2
   7075   fi
   7076 done
   7077   done
   7078 IFS=$as_save_IFS
   7079 
   7080 fi
   7081 fi
   7082 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7083 if test -n "$ac_ct_OTOOL"; then
   7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7085 $as_echo "$ac_ct_OTOOL" >&6; }
   7086 else
   7087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7088 $as_echo "no" >&6; }
   7089 fi
   7090 
   7091   if test "x$ac_ct_OTOOL" = x; then
   7092     OTOOL=":"
   7093   else
   7094     case $cross_compiling:$ac_tool_warned in
   7095 yes:)
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7098 ac_tool_warned=yes ;;
   7099 esac
   7100     OTOOL=$ac_ct_OTOOL
   7101   fi
   7102 else
   7103   OTOOL="$ac_cv_prog_OTOOL"
   7104 fi
   7105 
   7106     if test -n "$ac_tool_prefix"; then
   7107   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7108 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7110 $as_echo_n "checking for $ac_word... " >&6; }
   7111 if ${ac_cv_prog_OTOOL64+:} false; then :
   7112   $as_echo_n "(cached) " >&6
   7113 else
   7114   if test -n "$OTOOL64"; then
   7115   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7116 else
   7117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7118 for as_dir in $PATH
   7119 do
   7120   IFS=$as_save_IFS
   7121   test -z "$as_dir" && as_dir=.
   7122     for ac_exec_ext in '' $ac_executable_extensions; do
   7123   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7124     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7126     break 2
   7127   fi
   7128 done
   7129   done
   7130 IFS=$as_save_IFS
   7131 
   7132 fi
   7133 fi
   7134 OTOOL64=$ac_cv_prog_OTOOL64
   7135 if test -n "$OTOOL64"; then
   7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7137 $as_echo "$OTOOL64" >&6; }
   7138 else
   7139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7140 $as_echo "no" >&6; }
   7141 fi
   7142 
   7143 
   7144 fi
   7145 if test -z "$ac_cv_prog_OTOOL64"; then
   7146   ac_ct_OTOOL64=$OTOOL64
   7147   # Extract the first word of "otool64", so it can be a program name with args.
   7148 set dummy otool64; ac_word=$2
   7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7150 $as_echo_n "checking for $ac_word... " >&6; }
   7151 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7152   $as_echo_n "(cached) " >&6
   7153 else
   7154   if test -n "$ac_ct_OTOOL64"; then
   7155   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7156 else
   7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7158 for as_dir in $PATH
   7159 do
   7160   IFS=$as_save_IFS
   7161   test -z "$as_dir" && as_dir=.
   7162     for ac_exec_ext in '' $ac_executable_extensions; do
   7163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7164     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7166     break 2
   7167   fi
   7168 done
   7169   done
   7170 IFS=$as_save_IFS
   7171 
   7172 fi
   7173 fi
   7174 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7175 if test -n "$ac_ct_OTOOL64"; then
   7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7177 $as_echo "$ac_ct_OTOOL64" >&6; }
   7178 else
   7179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7180 $as_echo "no" >&6; }
   7181 fi
   7182 
   7183   if test "x$ac_ct_OTOOL64" = x; then
   7184     OTOOL64=":"
   7185   else
   7186     case $cross_compiling:$ac_tool_warned in
   7187 yes:)
   7188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7190 ac_tool_warned=yes ;;
   7191 esac
   7192     OTOOL64=$ac_ct_OTOOL64
   7193   fi
   7194 else
   7195   OTOOL64="$ac_cv_prog_OTOOL64"
   7196 fi
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7225 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7226 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7227   $as_echo_n "(cached) " >&6
   7228 else
   7229   lt_cv_apple_cc_single_mod=no
   7230       if test -z "${LT_MULTI_MODULE}"; then
   7231 	# By default we will add the -single_module flag. You can override
   7232 	# by either setting the environment variable LT_MULTI_MODULE
   7233 	# non-empty at configure time, or by adding -multi_module to the
   7234 	# link flags.
   7235 	rm -rf libconftest.dylib*
   7236 	echo "int foo(void){return 1;}" > conftest.c
   7237 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7238 -dynamiclib -Wl,-single_module conftest.c" >&5
   7239 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7240 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7241         _lt_result=$?
   7242 	# If there is a non-empty error log, and "single_module"
   7243 	# appears in it, assume the flag caused a linker warning
   7244         if test -s conftest.err && $GREP single_module conftest.err; then
   7245 	  cat conftest.err >&5
   7246 	# Otherwise, if the output was created with a 0 exit code from
   7247 	# the compiler, it worked.
   7248 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7249 	  lt_cv_apple_cc_single_mod=yes
   7250 	else
   7251 	  cat conftest.err >&5
   7252 	fi
   7253 	rm -rf libconftest.dylib*
   7254 	rm -f conftest.*
   7255       fi
   7256 fi
   7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7258 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7259 
   7260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7261 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7262 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7263   $as_echo_n "(cached) " >&6
   7264 else
   7265   lt_cv_ld_exported_symbols_list=no
   7266       save_LDFLAGS=$LDFLAGS
   7267       echo "_main" > conftest.sym
   7268       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7270 /* end confdefs.h.  */
   7271 
   7272 int
   7273 main ()
   7274 {
   7275 
   7276   ;
   7277   return 0;
   7278 }
   7279 _ACEOF
   7280 if ac_fn_c_try_link "$LINENO"; then :
   7281   lt_cv_ld_exported_symbols_list=yes
   7282 else
   7283   lt_cv_ld_exported_symbols_list=no
   7284 fi
   7285 rm -f core conftest.err conftest.$ac_objext \
   7286     conftest$ac_exeext conftest.$ac_ext
   7287 	LDFLAGS="$save_LDFLAGS"
   7288 
   7289 fi
   7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7291 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7292 
   7293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7294 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7295 if ${lt_cv_ld_force_load+:} false; then :
   7296   $as_echo_n "(cached) " >&6
   7297 else
   7298   lt_cv_ld_force_load=no
   7299       cat > conftest.c << _LT_EOF
   7300 int forced_loaded() { return 2;}
   7301 _LT_EOF
   7302       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7303       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7304       echo "$AR cru libconftest.a conftest.o" >&5
   7305       $AR cru libconftest.a conftest.o 2>&5
   7306       echo "$RANLIB libconftest.a" >&5
   7307       $RANLIB libconftest.a 2>&5
   7308       cat > conftest.c << _LT_EOF
   7309 int main() { return 0;}
   7310 _LT_EOF
   7311       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7312       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7313       _lt_result=$?
   7314       if test -s conftest.err && $GREP force_load conftest.err; then
   7315 	cat conftest.err >&5
   7316       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7317 	lt_cv_ld_force_load=yes
   7318       else
   7319 	cat conftest.err >&5
   7320       fi
   7321         rm -f conftest.err libconftest.a conftest conftest.c
   7322         rm -rf conftest.dSYM
   7323 
   7324 fi
   7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7326 $as_echo "$lt_cv_ld_force_load" >&6; }
   7327     case $host_os in
   7328     rhapsody* | darwin1.[012])
   7329       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7330     darwin1.*)
   7331       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7332     darwin*) # darwin 5.x on
   7333       # if running on 10.5 or later, the deployment target defaults
   7334       # to the OS version, if on x86, and 10.4, the deployment
   7335       # target defaults to 10.4. Don't you love it?
   7336       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7337 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7338 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7339 	10.[012]*)
   7340 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7341 	10.*)
   7342 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7343       esac
   7344     ;;
   7345   esac
   7346     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7347       _lt_dar_single_mod='$single_module'
   7348     fi
   7349     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7350       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7351     else
   7352       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7353     fi
   7354     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7355       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7356     else
   7357       _lt_dsymutil=
   7358     fi
   7359     ;;
   7360   esac
   7361 
   7362 ac_ext=c
   7363 ac_cpp='$CPP $CPPFLAGS'
   7364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7368 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7369 # On Suns, sometimes $CPP names a directory.
   7370 if test -n "$CPP" && test -d "$CPP"; then
   7371   CPP=
   7372 fi
   7373 if test -z "$CPP"; then
   7374   if ${ac_cv_prog_CPP+:} false; then :
   7375   $as_echo_n "(cached) " >&6
   7376 else
   7377       # Double quotes because CPP needs to be expanded
   7378     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7379     do
   7380       ac_preproc_ok=false
   7381 for ac_c_preproc_warn_flag in '' yes
   7382 do
   7383   # Use a header file that comes with gcc, so configuring glibc
   7384   # with a fresh cross-compiler works.
   7385   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7386   # <limits.h> exists even on freestanding compilers.
   7387   # On the NeXT, cc -E runs the code through the compiler's parser,
   7388   # not just through cpp. "Syntax error" is here to catch this case.
   7389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7390 /* end confdefs.h.  */
   7391 #ifdef __STDC__
   7392 # include <limits.h>
   7393 #else
   7394 # include <assert.h>
   7395 #endif
   7396 		     Syntax error
   7397 _ACEOF
   7398 if ac_fn_c_try_cpp "$LINENO"; then :
   7399 
   7400 else
   7401   # Broken: fails on valid input.
   7402 continue
   7403 fi
   7404 rm -f conftest.err conftest.i conftest.$ac_ext
   7405 
   7406   # OK, works on sane cases.  Now check whether nonexistent headers
   7407   # can be detected and how.
   7408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7409 /* end confdefs.h.  */
   7410 #include <ac_nonexistent.h>
   7411 _ACEOF
   7412 if ac_fn_c_try_cpp "$LINENO"; then :
   7413   # Broken: success on invalid input.
   7414 continue
   7415 else
   7416   # Passes both tests.
   7417 ac_preproc_ok=:
   7418 break
   7419 fi
   7420 rm -f conftest.err conftest.i conftest.$ac_ext
   7421 
   7422 done
   7423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7424 rm -f conftest.i conftest.err conftest.$ac_ext
   7425 if $ac_preproc_ok; then :
   7426   break
   7427 fi
   7428 
   7429     done
   7430     ac_cv_prog_CPP=$CPP
   7431 
   7432 fi
   7433   CPP=$ac_cv_prog_CPP
   7434 else
   7435   ac_cv_prog_CPP=$CPP
   7436 fi
   7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7438 $as_echo "$CPP" >&6; }
   7439 ac_preproc_ok=false
   7440 for ac_c_preproc_warn_flag in '' yes
   7441 do
   7442   # Use a header file that comes with gcc, so configuring glibc
   7443   # with a fresh cross-compiler works.
   7444   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7445   # <limits.h> exists even on freestanding compilers.
   7446   # On the NeXT, cc -E runs the code through the compiler's parser,
   7447   # not just through cpp. "Syntax error" is here to catch this case.
   7448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7449 /* end confdefs.h.  */
   7450 #ifdef __STDC__
   7451 # include <limits.h>
   7452 #else
   7453 # include <assert.h>
   7454 #endif
   7455 		     Syntax error
   7456 _ACEOF
   7457 if ac_fn_c_try_cpp "$LINENO"; then :
   7458 
   7459 else
   7460   # Broken: fails on valid input.
   7461 continue
   7462 fi
   7463 rm -f conftest.err conftest.i conftest.$ac_ext
   7464 
   7465   # OK, works on sane cases.  Now check whether nonexistent headers
   7466   # can be detected and how.
   7467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7468 /* end confdefs.h.  */
   7469 #include <ac_nonexistent.h>
   7470 _ACEOF
   7471 if ac_fn_c_try_cpp "$LINENO"; then :
   7472   # Broken: success on invalid input.
   7473 continue
   7474 else
   7475   # Passes both tests.
   7476 ac_preproc_ok=:
   7477 break
   7478 fi
   7479 rm -f conftest.err conftest.i conftest.$ac_ext
   7480 
   7481 done
   7482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7483 rm -f conftest.i conftest.err conftest.$ac_ext
   7484 if $ac_preproc_ok; then :
   7485 
   7486 else
   7487   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7489 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7490 See \`config.log' for more details" "$LINENO" 5; }
   7491 fi
   7492 
   7493 ac_ext=c
   7494 ac_cpp='$CPP $CPPFLAGS'
   7495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7498 
   7499 
   7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7501 $as_echo_n "checking for ANSI C header files... " >&6; }
   7502 if ${ac_cv_header_stdc+:} false; then :
   7503   $as_echo_n "(cached) " >&6
   7504 else
   7505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 #include <stdlib.h>
   7508 #include <stdarg.h>
   7509 #include <string.h>
   7510 #include <float.h>
   7511 
   7512 int
   7513 main ()
   7514 {
   7515 
   7516   ;
   7517   return 0;
   7518 }
   7519 _ACEOF
   7520 if ac_fn_c_try_compile "$LINENO"; then :
   7521   ac_cv_header_stdc=yes
   7522 else
   7523   ac_cv_header_stdc=no
   7524 fi
   7525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7526 
   7527 if test $ac_cv_header_stdc = yes; then
   7528   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7530 /* end confdefs.h.  */
   7531 #include <string.h>
   7532 
   7533 _ACEOF
   7534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7535   $EGREP "memchr" >/dev/null 2>&1; then :
   7536 
   7537 else
   7538   ac_cv_header_stdc=no
   7539 fi
   7540 rm -f conftest*
   7541 
   7542 fi
   7543 
   7544 if test $ac_cv_header_stdc = yes; then
   7545   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7547 /* end confdefs.h.  */
   7548 #include <stdlib.h>
   7549 
   7550 _ACEOF
   7551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7552   $EGREP "free" >/dev/null 2>&1; then :
   7553 
   7554 else
   7555   ac_cv_header_stdc=no
   7556 fi
   7557 rm -f conftest*
   7558 
   7559 fi
   7560 
   7561 if test $ac_cv_header_stdc = yes; then
   7562   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7563   if test "$cross_compiling" = yes; then :
   7564   :
   7565 else
   7566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7567 /* end confdefs.h.  */
   7568 #include <ctype.h>
   7569 #include <stdlib.h>
   7570 #if ((' ' & 0x0FF) == 0x020)
   7571 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7572 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7573 #else
   7574 # define ISLOWER(c) \
   7575 		   (('a' <= (c) && (c) <= 'i') \
   7576 		     || ('j' <= (c) && (c) <= 'r') \
   7577 		     || ('s' <= (c) && (c) <= 'z'))
   7578 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7579 #endif
   7580 
   7581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7582 int
   7583 main ()
   7584 {
   7585   int i;
   7586   for (i = 0; i < 256; i++)
   7587     if (XOR (islower (i), ISLOWER (i))
   7588 	|| toupper (i) != TOUPPER (i))
   7589       return 2;
   7590   return 0;
   7591 }
   7592 _ACEOF
   7593 if ac_fn_c_try_run "$LINENO"; then :
   7594 
   7595 else
   7596   ac_cv_header_stdc=no
   7597 fi
   7598 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7599   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7600 fi
   7601 
   7602 fi
   7603 fi
   7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7605 $as_echo "$ac_cv_header_stdc" >&6; }
   7606 if test $ac_cv_header_stdc = yes; then
   7607 
   7608 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7609 
   7610 fi
   7611 
   7612 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7613 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7614 		  inttypes.h stdint.h unistd.h
   7615 do :
   7616   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7618 "
   7619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7620   cat >>confdefs.h <<_ACEOF
   7621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7622 _ACEOF
   7623 
   7624 fi
   7625 
   7626 done
   7627 
   7628 
   7629 for ac_header in dlfcn.h
   7630 do :
   7631   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7632 "
   7633 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7634   cat >>confdefs.h <<_ACEOF
   7635 #define HAVE_DLFCN_H 1
   7636 _ACEOF
   7637 
   7638 fi
   7639 
   7640 done
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 # Set options
   7647 
   7648 
   7649 
   7650         enable_dlopen=no
   7651 
   7652 
   7653   enable_win32_dll=no
   7654 
   7655 
   7656             # Check whether --enable-shared was given.
   7657 if test "${enable_shared+set}" = set; then :
   7658   enableval=$enable_shared; p=${PACKAGE-default}
   7659     case $enableval in
   7660     yes) enable_shared=yes ;;
   7661     no) enable_shared=no ;;
   7662     *)
   7663       enable_shared=no
   7664       # Look at the argument we got.  We use all the common list separators.
   7665       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7666       for pkg in $enableval; do
   7667 	IFS="$lt_save_ifs"
   7668 	if test "X$pkg" = "X$p"; then
   7669 	  enable_shared=yes
   7670 	fi
   7671       done
   7672       IFS="$lt_save_ifs"
   7673       ;;
   7674     esac
   7675 else
   7676   enable_shared=yes
   7677 fi
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 # Check whether --with-pic was given.
   7690 if test "${with_pic+set}" = set; then :
   7691   withval=$with_pic; lt_p=${PACKAGE-default}
   7692     case $withval in
   7693     yes|no) pic_mode=$withval ;;
   7694     *)
   7695       pic_mode=default
   7696       # Look at the argument we got.  We use all the common list separators.
   7697       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7698       for lt_pkg in $withval; do
   7699 	IFS="$lt_save_ifs"
   7700 	if test "X$lt_pkg" = "X$lt_p"; then
   7701 	  pic_mode=yes
   7702 	fi
   7703       done
   7704       IFS="$lt_save_ifs"
   7705       ;;
   7706     esac
   7707 else
   7708   pic_mode=default
   7709 fi
   7710 
   7711 
   7712 test -z "$pic_mode" && pic_mode=default
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720   # Check whether --enable-fast-install was given.
   7721 if test "${enable_fast_install+set}" = set; then :
   7722   enableval=$enable_fast_install; p=${PACKAGE-default}
   7723     case $enableval in
   7724     yes) enable_fast_install=yes ;;
   7725     no) enable_fast_install=no ;;
   7726     *)
   7727       enable_fast_install=no
   7728       # Look at the argument we got.  We use all the common list separators.
   7729       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7730       for pkg in $enableval; do
   7731 	IFS="$lt_save_ifs"
   7732 	if test "X$pkg" = "X$p"; then
   7733 	  enable_fast_install=yes
   7734 	fi
   7735       done
   7736       IFS="$lt_save_ifs"
   7737       ;;
   7738     esac
   7739 else
   7740   enable_fast_install=yes
   7741 fi
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 # This can be used to rebuild libtool when needed
   7754 LIBTOOL_DEPS="$ltmain"
   7755 
   7756 # Always use our own libtool.
   7757 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 test -z "$LN_S" && LN_S="ln -s"
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 if test -n "${ZSH_VERSION+set}" ; then
   7804    setopt NO_GLOB_SUBST
   7805 fi
   7806 
   7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7808 $as_echo_n "checking for objdir... " >&6; }
   7809 if ${lt_cv_objdir+:} false; then :
   7810   $as_echo_n "(cached) " >&6
   7811 else
   7812   rm -f .libs 2>/dev/null
   7813 mkdir .libs 2>/dev/null
   7814 if test -d .libs; then
   7815   lt_cv_objdir=.libs
   7816 else
   7817   # MS-DOS does not allow filenames that begin with a dot.
   7818   lt_cv_objdir=_libs
   7819 fi
   7820 rmdir .libs 2>/dev/null
   7821 fi
   7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7823 $as_echo "$lt_cv_objdir" >&6; }
   7824 objdir=$lt_cv_objdir
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 cat >>confdefs.h <<_ACEOF
   7831 #define LT_OBJDIR "$lt_cv_objdir/"
   7832 _ACEOF
   7833 
   7834 
   7835 
   7836 
   7837 case $host_os in
   7838 aix3*)
   7839   # AIX sometimes has problems with the GCC collect2 program.  For some
   7840   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7841   # vanish in a puff of smoke.
   7842   if test "X${COLLECT_NAMES+set}" != Xset; then
   7843     COLLECT_NAMES=
   7844     export COLLECT_NAMES
   7845   fi
   7846   ;;
   7847 esac
   7848 
   7849 # Global variables:
   7850 ofile=libtool
   7851 can_build_shared=yes
   7852 
   7853 # All known linkers require a `.a' archive for static linking (except MSVC,
   7854 # which needs '.lib').
   7855 libext=a
   7856 
   7857 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7858 
   7859 old_CC="$CC"
   7860 old_CFLAGS="$CFLAGS"
   7861 
   7862 # Set sane defaults for various variables
   7863 test -z "$CC" && CC=cc
   7864 test -z "$LTCC" && LTCC=$CC
   7865 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7866 test -z "$LD" && LD=ld
   7867 test -z "$ac_objext" && ac_objext=o
   7868 
   7869 for cc_temp in $compiler""; do
   7870   case $cc_temp in
   7871     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7872     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7873     \-*) ;;
   7874     *) break;;
   7875   esac
   7876 done
   7877 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7878 
   7879 
   7880 # Only perform the check for file, if the check method requires it
   7881 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7882 case $deplibs_check_method in
   7883 file_magic*)
   7884   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7886 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7887 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7888   $as_echo_n "(cached) " >&6
   7889 else
   7890   case $MAGIC_CMD in
   7891 [\\/*] |  ?:[\\/]*)
   7892   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7893   ;;
   7894 *)
   7895   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7896   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7897   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7898   for ac_dir in $ac_dummy; do
   7899     IFS="$lt_save_ifs"
   7900     test -z "$ac_dir" && ac_dir=.
   7901     if test -f $ac_dir/${ac_tool_prefix}file; then
   7902       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7903       if test -n "$file_magic_test_file"; then
   7904 	case $deplibs_check_method in
   7905 	"file_magic "*)
   7906 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7907 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7908 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7909 	    $EGREP "$file_magic_regex" > /dev/null; then
   7910 	    :
   7911 	  else
   7912 	    cat <<_LT_EOF 1>&2
   7913 
   7914 *** Warning: the command libtool uses to detect shared libraries,
   7915 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7916 *** The result is that libtool may fail to recognize shared libraries
   7917 *** as such.  This will affect the creation of libtool libraries that
   7918 *** depend on shared libraries, but programs linked with such libtool
   7919 *** libraries will work regardless of this problem.  Nevertheless, you
   7920 *** may want to report the problem to your system manager and/or to
   7921 *** bug-libtool@gnu.org
   7922 
   7923 _LT_EOF
   7924 	  fi ;;
   7925 	esac
   7926       fi
   7927       break
   7928     fi
   7929   done
   7930   IFS="$lt_save_ifs"
   7931   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7932   ;;
   7933 esac
   7934 fi
   7935 
   7936 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7937 if test -n "$MAGIC_CMD"; then
   7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7939 $as_echo "$MAGIC_CMD" >&6; }
   7940 else
   7941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7942 $as_echo "no" >&6; }
   7943 fi
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7950   if test -n "$ac_tool_prefix"; then
   7951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7952 $as_echo_n "checking for file... " >&6; }
   7953 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7954   $as_echo_n "(cached) " >&6
   7955 else
   7956   case $MAGIC_CMD in
   7957 [\\/*] |  ?:[\\/]*)
   7958   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7959   ;;
   7960 *)
   7961   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7962   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7963   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7964   for ac_dir in $ac_dummy; do
   7965     IFS="$lt_save_ifs"
   7966     test -z "$ac_dir" && ac_dir=.
   7967     if test -f $ac_dir/file; then
   7968       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7969       if test -n "$file_magic_test_file"; then
   7970 	case $deplibs_check_method in
   7971 	"file_magic "*)
   7972 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7973 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7974 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7975 	    $EGREP "$file_magic_regex" > /dev/null; then
   7976 	    :
   7977 	  else
   7978 	    cat <<_LT_EOF 1>&2
   7979 
   7980 *** Warning: the command libtool uses to detect shared libraries,
   7981 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7982 *** The result is that libtool may fail to recognize shared libraries
   7983 *** as such.  This will affect the creation of libtool libraries that
   7984 *** depend on shared libraries, but programs linked with such libtool
   7985 *** libraries will work regardless of this problem.  Nevertheless, you
   7986 *** may want to report the problem to your system manager and/or to
   7987 *** bug-libtool@gnu.org
   7988 
   7989 _LT_EOF
   7990 	  fi ;;
   7991 	esac
   7992       fi
   7993       break
   7994     fi
   7995   done
   7996   IFS="$lt_save_ifs"
   7997   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7998   ;;
   7999 esac
   8000 fi
   8001 
   8002 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8003 if test -n "$MAGIC_CMD"; then
   8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8005 $as_echo "$MAGIC_CMD" >&6; }
   8006 else
   8007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8008 $as_echo "no" >&6; }
   8009 fi
   8010 
   8011 
   8012   else
   8013     MAGIC_CMD=:
   8014   fi
   8015 fi
   8016 
   8017   fi
   8018   ;;
   8019 esac
   8020 
   8021 # Use C for the default configuration in the libtool script
   8022 
   8023 lt_save_CC="$CC"
   8024 ac_ext=c
   8025 ac_cpp='$CPP $CPPFLAGS'
   8026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8029 
   8030 
   8031 # Source file extension for C test sources.
   8032 ac_ext=c
   8033 
   8034 # Object file extension for compiled C test sources.
   8035 objext=o
   8036 objext=$objext
   8037 
   8038 # Code to be used in simple compile tests
   8039 lt_simple_compile_test_code="int some_variable = 0;"
   8040 
   8041 # Code to be used in simple link tests
   8042 lt_simple_link_test_code='int main(){return(0);}'
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 # If no C compiler was specified, use CC.
   8051 LTCC=${LTCC-"$CC"}
   8052 
   8053 # If no C compiler flags were specified, use CFLAGS.
   8054 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8055 
   8056 # Allow CC to be a program name with arguments.
   8057 compiler=$CC
   8058 
   8059 # Save the default compiler, since it gets overwritten when the other
   8060 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8061 compiler_DEFAULT=$CC
   8062 
   8063 # save warnings/boilerplate of simple test code
   8064 ac_outfile=conftest.$ac_objext
   8065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8067 _lt_compiler_boilerplate=`cat conftest.err`
   8068 $RM conftest*
   8069 
   8070 ac_outfile=conftest.$ac_objext
   8071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8073 _lt_linker_boilerplate=`cat conftest.err`
   8074 $RM -r conftest*
   8075 
   8076 
   8077 ## CAVEAT EMPTOR:
   8078 ## There is no encapsulation within the following macros, do not change
   8079 ## the running order or otherwise move them around unless you know exactly
   8080 ## what you are doing...
   8081 if test -n "$compiler"; then
   8082 
   8083 lt_prog_compiler_no_builtin_flag=
   8084 
   8085 if test "$GCC" = yes; then
   8086   case $cc_basename in
   8087   nvcc*)
   8088     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8089   *)
   8090     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8091   esac
   8092 
   8093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8094 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8095 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8096   $as_echo_n "(cached) " >&6
   8097 else
   8098   lt_cv_prog_compiler_rtti_exceptions=no
   8099    ac_outfile=conftest.$ac_objext
   8100    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8101    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8102    # Insert the option either (1) after the last *FLAGS variable, or
   8103    # (2) before a word containing "conftest.", or (3) at the end.
   8104    # Note that $ac_compile itself does not contain backslashes and begins
   8105    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8106    # The option is referenced via a variable to avoid confusing sed.
   8107    lt_compile=`echo "$ac_compile" | $SED \
   8108    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8109    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8110    -e 's:$: $lt_compiler_flag:'`
   8111    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8112    (eval "$lt_compile" 2>conftest.err)
   8113    ac_status=$?
   8114    cat conftest.err >&5
   8115    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8116    if (exit $ac_status) && test -s "$ac_outfile"; then
   8117      # The compiler can only warn and ignore the option if not recognized
   8118      # So say no if there are warnings other than the usual output.
   8119      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8120      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8121      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8122        lt_cv_prog_compiler_rtti_exceptions=yes
   8123      fi
   8124    fi
   8125    $RM conftest*
   8126 
   8127 fi
   8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8129 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8130 
   8131 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8132     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8133 else
   8134     :
   8135 fi
   8136 
   8137 fi
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144   lt_prog_compiler_wl=
   8145 lt_prog_compiler_pic=
   8146 lt_prog_compiler_static=
   8147 
   8148 
   8149   if test "$GCC" = yes; then
   8150     lt_prog_compiler_wl='-Wl,'
   8151     lt_prog_compiler_static='-static'
   8152 
   8153     case $host_os in
   8154       aix*)
   8155       # All AIX code is PIC.
   8156       if test "$host_cpu" = ia64; then
   8157 	# AIX 5 now supports IA64 processor
   8158 	lt_prog_compiler_static='-Bstatic'
   8159       fi
   8160       ;;
   8161 
   8162     amigaos*)
   8163       case $host_cpu in
   8164       powerpc)
   8165             # see comment about AmigaOS4 .so support
   8166             lt_prog_compiler_pic='-fPIC'
   8167         ;;
   8168       m68k)
   8169             # FIXME: we need at least 68020 code to build shared libraries, but
   8170             # adding the `-m68020' flag to GCC prevents building anything better,
   8171             # like `-m68040'.
   8172             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8173         ;;
   8174       esac
   8175       ;;
   8176 
   8177     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8178       # PIC is the default for these OSes.
   8179       ;;
   8180 
   8181     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8182       # This hack is so that the source file can tell whether it is being
   8183       # built for inclusion in a dll (and should export symbols for example).
   8184       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8185       # (--disable-auto-import) libraries
   8186       lt_prog_compiler_pic='-DDLL_EXPORT'
   8187       ;;
   8188 
   8189     darwin* | rhapsody*)
   8190       # PIC is the default on this platform
   8191       # Common symbols not allowed in MH_DYLIB files
   8192       lt_prog_compiler_pic='-fno-common'
   8193       ;;
   8194 
   8195     haiku*)
   8196       # PIC is the default for Haiku.
   8197       # The "-static" flag exists, but is broken.
   8198       lt_prog_compiler_static=
   8199       ;;
   8200 
   8201     hpux*)
   8202       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8203       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8204       # sets the default TLS model and affects inlining.
   8205       case $host_cpu in
   8206       hppa*64*)
   8207 	# +Z the default
   8208 	;;
   8209       *)
   8210 	lt_prog_compiler_pic='-fPIC'
   8211 	;;
   8212       esac
   8213       ;;
   8214 
   8215     interix[3-9]*)
   8216       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8217       # Instead, we relocate shared libraries at runtime.
   8218       ;;
   8219 
   8220     msdosdjgpp*)
   8221       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8222       # on systems that don't support them.
   8223       lt_prog_compiler_can_build_shared=no
   8224       enable_shared=no
   8225       ;;
   8226 
   8227     *nto* | *qnx*)
   8228       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8229       # it will coredump.
   8230       lt_prog_compiler_pic='-fPIC -shared'
   8231       ;;
   8232 
   8233     sysv4*MP*)
   8234       if test -d /usr/nec; then
   8235 	lt_prog_compiler_pic=-Kconform_pic
   8236       fi
   8237       ;;
   8238 
   8239     *)
   8240       lt_prog_compiler_pic='-fPIC'
   8241       ;;
   8242     esac
   8243 
   8244     case $cc_basename in
   8245     nvcc*) # Cuda Compiler Driver 2.2
   8246       lt_prog_compiler_wl='-Xlinker '
   8247       if test -n "$lt_prog_compiler_pic"; then
   8248         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8249       fi
   8250       ;;
   8251     esac
   8252   else
   8253     # PORTME Check for flag to pass linker flags through the system compiler.
   8254     case $host_os in
   8255     aix*)
   8256       lt_prog_compiler_wl='-Wl,'
   8257       if test "$host_cpu" = ia64; then
   8258 	# AIX 5 now supports IA64 processor
   8259 	lt_prog_compiler_static='-Bstatic'
   8260       else
   8261 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8262       fi
   8263       ;;
   8264 
   8265     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8266       # This hack is so that the source file can tell whether it is being
   8267       # built for inclusion in a dll (and should export symbols for example).
   8268       lt_prog_compiler_pic='-DDLL_EXPORT'
   8269       ;;
   8270 
   8271     hpux9* | hpux10* | hpux11*)
   8272       lt_prog_compiler_wl='-Wl,'
   8273       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8274       # not for PA HP-UX.
   8275       case $host_cpu in
   8276       hppa*64*|ia64*)
   8277 	# +Z the default
   8278 	;;
   8279       *)
   8280 	lt_prog_compiler_pic='+Z'
   8281 	;;
   8282       esac
   8283       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8284       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8285       ;;
   8286 
   8287     irix5* | irix6* | nonstopux*)
   8288       lt_prog_compiler_wl='-Wl,'
   8289       # PIC (with -KPIC) is the default.
   8290       lt_prog_compiler_static='-non_shared'
   8291       ;;
   8292 
   8293     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8294       case $cc_basename in
   8295       # old Intel for x86_64 which still supported -KPIC.
   8296       ecc*)
   8297 	lt_prog_compiler_wl='-Wl,'
   8298 	lt_prog_compiler_pic='-KPIC'
   8299 	lt_prog_compiler_static='-static'
   8300         ;;
   8301       # icc used to be incompatible with GCC.
   8302       # ICC 10 doesn't accept -KPIC any more.
   8303       icc* | ifort*)
   8304 	lt_prog_compiler_wl='-Wl,'
   8305 	lt_prog_compiler_pic='-fPIC'
   8306 	lt_prog_compiler_static='-static'
   8307         ;;
   8308       # Lahey Fortran 8.1.
   8309       lf95*)
   8310 	lt_prog_compiler_wl='-Wl,'
   8311 	lt_prog_compiler_pic='--shared'
   8312 	lt_prog_compiler_static='--static'
   8313 	;;
   8314       nagfor*)
   8315 	# NAG Fortran compiler
   8316 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8317 	lt_prog_compiler_pic='-PIC'
   8318 	lt_prog_compiler_static='-Bstatic'
   8319 	;;
   8320       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8321         # Portland Group compilers (*not* the Pentium gcc compiler,
   8322 	# which looks to be a dead project)
   8323 	lt_prog_compiler_wl='-Wl,'
   8324 	lt_prog_compiler_pic='-fpic'
   8325 	lt_prog_compiler_static='-Bstatic'
   8326         ;;
   8327       ccc*)
   8328         lt_prog_compiler_wl='-Wl,'
   8329         # All Alpha code is PIC.
   8330         lt_prog_compiler_static='-non_shared'
   8331         ;;
   8332       xl* | bgxl* | bgf* | mpixl*)
   8333 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8334 	lt_prog_compiler_wl='-Wl,'
   8335 	lt_prog_compiler_pic='-qpic'
   8336 	lt_prog_compiler_static='-qstaticlink'
   8337 	;;
   8338       *)
   8339 	case `$CC -V 2>&1 | sed 5q` in
   8340 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8341 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8342 	  lt_prog_compiler_pic='-KPIC'
   8343 	  lt_prog_compiler_static='-Bstatic'
   8344 	  lt_prog_compiler_wl=''
   8345 	  ;;
   8346 	*Sun\ F* | *Sun*Fortran*)
   8347 	  lt_prog_compiler_pic='-KPIC'
   8348 	  lt_prog_compiler_static='-Bstatic'
   8349 	  lt_prog_compiler_wl='-Qoption ld '
   8350 	  ;;
   8351 	*Sun\ C*)
   8352 	  # Sun C 5.9
   8353 	  lt_prog_compiler_pic='-KPIC'
   8354 	  lt_prog_compiler_static='-Bstatic'
   8355 	  lt_prog_compiler_wl='-Wl,'
   8356 	  ;;
   8357         *Intel*\ [CF]*Compiler*)
   8358 	  lt_prog_compiler_wl='-Wl,'
   8359 	  lt_prog_compiler_pic='-fPIC'
   8360 	  lt_prog_compiler_static='-static'
   8361 	  ;;
   8362 	*Portland\ Group*)
   8363 	  lt_prog_compiler_wl='-Wl,'
   8364 	  lt_prog_compiler_pic='-fpic'
   8365 	  lt_prog_compiler_static='-Bstatic'
   8366 	  ;;
   8367 	esac
   8368 	;;
   8369       esac
   8370       ;;
   8371 
   8372     newsos6)
   8373       lt_prog_compiler_pic='-KPIC'
   8374       lt_prog_compiler_static='-Bstatic'
   8375       ;;
   8376 
   8377     *nto* | *qnx*)
   8378       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8379       # it will coredump.
   8380       lt_prog_compiler_pic='-fPIC -shared'
   8381       ;;
   8382 
   8383     osf3* | osf4* | osf5*)
   8384       lt_prog_compiler_wl='-Wl,'
   8385       # All OSF/1 code is PIC.
   8386       lt_prog_compiler_static='-non_shared'
   8387       ;;
   8388 
   8389     rdos*)
   8390       lt_prog_compiler_static='-non_shared'
   8391       ;;
   8392 
   8393     solaris*)
   8394       lt_prog_compiler_pic='-KPIC'
   8395       lt_prog_compiler_static='-Bstatic'
   8396       case $cc_basename in
   8397       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8398 	lt_prog_compiler_wl='-Qoption ld ';;
   8399       *)
   8400 	lt_prog_compiler_wl='-Wl,';;
   8401       esac
   8402       ;;
   8403 
   8404     sunos4*)
   8405       lt_prog_compiler_wl='-Qoption ld '
   8406       lt_prog_compiler_pic='-PIC'
   8407       lt_prog_compiler_static='-Bstatic'
   8408       ;;
   8409 
   8410     sysv4 | sysv4.2uw2* | sysv4.3*)
   8411       lt_prog_compiler_wl='-Wl,'
   8412       lt_prog_compiler_pic='-KPIC'
   8413       lt_prog_compiler_static='-Bstatic'
   8414       ;;
   8415 
   8416     sysv4*MP*)
   8417       if test -d /usr/nec ;then
   8418 	lt_prog_compiler_pic='-Kconform_pic'
   8419 	lt_prog_compiler_static='-Bstatic'
   8420       fi
   8421       ;;
   8422 
   8423     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8424       lt_prog_compiler_wl='-Wl,'
   8425       lt_prog_compiler_pic='-KPIC'
   8426       lt_prog_compiler_static='-Bstatic'
   8427       ;;
   8428 
   8429     unicos*)
   8430       lt_prog_compiler_wl='-Wl,'
   8431       lt_prog_compiler_can_build_shared=no
   8432       ;;
   8433 
   8434     uts4*)
   8435       lt_prog_compiler_pic='-pic'
   8436       lt_prog_compiler_static='-Bstatic'
   8437       ;;
   8438 
   8439     *)
   8440       lt_prog_compiler_can_build_shared=no
   8441       ;;
   8442     esac
   8443   fi
   8444 
   8445 case $host_os in
   8446   # For platforms which do not support PIC, -DPIC is meaningless:
   8447   *djgpp*)
   8448     lt_prog_compiler_pic=
   8449     ;;
   8450   *)
   8451     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8452     ;;
   8453 esac
   8454 
   8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8456 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8457 if ${lt_cv_prog_compiler_pic+:} false; then :
   8458   $as_echo_n "(cached) " >&6
   8459 else
   8460   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8461 fi
   8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8463 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8464 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8465 
   8466 #
   8467 # Check to make sure the PIC flag actually works.
   8468 #
   8469 if test -n "$lt_prog_compiler_pic"; then
   8470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8471 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8472 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8473   $as_echo_n "(cached) " >&6
   8474 else
   8475   lt_cv_prog_compiler_pic_works=no
   8476    ac_outfile=conftest.$ac_objext
   8477    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8478    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8479    # Insert the option either (1) after the last *FLAGS variable, or
   8480    # (2) before a word containing "conftest.", or (3) at the end.
   8481    # Note that $ac_compile itself does not contain backslashes and begins
   8482    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8483    # The option is referenced via a variable to avoid confusing sed.
   8484    lt_compile=`echo "$ac_compile" | $SED \
   8485    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8486    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8487    -e 's:$: $lt_compiler_flag:'`
   8488    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8489    (eval "$lt_compile" 2>conftest.err)
   8490    ac_status=$?
   8491    cat conftest.err >&5
   8492    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8493    if (exit $ac_status) && test -s "$ac_outfile"; then
   8494      # The compiler can only warn and ignore the option if not recognized
   8495      # So say no if there are warnings other than the usual output.
   8496      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8497      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8498      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8499        lt_cv_prog_compiler_pic_works=yes
   8500      fi
   8501    fi
   8502    $RM conftest*
   8503 
   8504 fi
   8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8506 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8507 
   8508 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8509     case $lt_prog_compiler_pic in
   8510      "" | " "*) ;;
   8511      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8512      esac
   8513 else
   8514     lt_prog_compiler_pic=
   8515      lt_prog_compiler_can_build_shared=no
   8516 fi
   8517 
   8518 fi
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 #
   8531 # Check to make sure the static flag actually works.
   8532 #
   8533 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8535 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8536 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   lt_cv_prog_compiler_static_works=no
   8540    save_LDFLAGS="$LDFLAGS"
   8541    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8542    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8543    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8544      # The linker can only warn and ignore the option if not recognized
   8545      # So say no if there are warnings
   8546      if test -s conftest.err; then
   8547        # Append any errors to the config.log.
   8548        cat conftest.err 1>&5
   8549        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8550        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8551        if diff conftest.exp conftest.er2 >/dev/null; then
   8552          lt_cv_prog_compiler_static_works=yes
   8553        fi
   8554      else
   8555        lt_cv_prog_compiler_static_works=yes
   8556      fi
   8557    fi
   8558    $RM -r conftest*
   8559    LDFLAGS="$save_LDFLAGS"
   8560 
   8561 fi
   8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8563 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8564 
   8565 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8566     :
   8567 else
   8568     lt_prog_compiler_static=
   8569 fi
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8578 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8579 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8580   $as_echo_n "(cached) " >&6
   8581 else
   8582   lt_cv_prog_compiler_c_o=no
   8583    $RM -r conftest 2>/dev/null
   8584    mkdir conftest
   8585    cd conftest
   8586    mkdir out
   8587    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8588 
   8589    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8590    # Insert the option either (1) after the last *FLAGS variable, or
   8591    # (2) before a word containing "conftest.", or (3) at the end.
   8592    # Note that $ac_compile itself does not contain backslashes and begins
   8593    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8594    lt_compile=`echo "$ac_compile" | $SED \
   8595    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8596    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8597    -e 's:$: $lt_compiler_flag:'`
   8598    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8599    (eval "$lt_compile" 2>out/conftest.err)
   8600    ac_status=$?
   8601    cat out/conftest.err >&5
   8602    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8603    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8604    then
   8605      # The compiler can only warn and ignore the option if not recognized
   8606      # So say no if there are warnings
   8607      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8608      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8609      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8610        lt_cv_prog_compiler_c_o=yes
   8611      fi
   8612    fi
   8613    chmod u+w . 2>&5
   8614    $RM conftest*
   8615    # SGI C++ compiler will create directory out/ii_files/ for
   8616    # template instantiation
   8617    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8618    $RM out/* && rmdir out
   8619    cd ..
   8620    $RM -r conftest
   8621    $RM conftest*
   8622 
   8623 fi
   8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8625 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8634 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8635   $as_echo_n "(cached) " >&6
   8636 else
   8637   lt_cv_prog_compiler_c_o=no
   8638    $RM -r conftest 2>/dev/null
   8639    mkdir conftest
   8640    cd conftest
   8641    mkdir out
   8642    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8643 
   8644    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8645    # Insert the option either (1) after the last *FLAGS variable, or
   8646    # (2) before a word containing "conftest.", or (3) at the end.
   8647    # Note that $ac_compile itself does not contain backslashes and begins
   8648    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8649    lt_compile=`echo "$ac_compile" | $SED \
   8650    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8651    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8652    -e 's:$: $lt_compiler_flag:'`
   8653    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8654    (eval "$lt_compile" 2>out/conftest.err)
   8655    ac_status=$?
   8656    cat out/conftest.err >&5
   8657    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8658    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8659    then
   8660      # The compiler can only warn and ignore the option if not recognized
   8661      # So say no if there are warnings
   8662      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8663      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8664      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8665        lt_cv_prog_compiler_c_o=yes
   8666      fi
   8667    fi
   8668    chmod u+w . 2>&5
   8669    $RM conftest*
   8670    # SGI C++ compiler will create directory out/ii_files/ for
   8671    # template instantiation
   8672    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8673    $RM out/* && rmdir out
   8674    cd ..
   8675    $RM -r conftest
   8676    $RM conftest*
   8677 
   8678 fi
   8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8680 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8681 
   8682 
   8683 
   8684 
   8685 hard_links="nottested"
   8686 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8687   # do not overwrite the value of need_locks provided by the user
   8688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8689 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8690   hard_links=yes
   8691   $RM conftest*
   8692   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8693   touch conftest.a
   8694   ln conftest.a conftest.b 2>&5 || hard_links=no
   8695   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8697 $as_echo "$hard_links" >&6; }
   8698   if test "$hard_links" = no; then
   8699     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8700 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8701     need_locks=warn
   8702   fi
   8703 else
   8704   need_locks=no
   8705 fi
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8713 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8714 
   8715   runpath_var=
   8716   allow_undefined_flag=
   8717   always_export_symbols=no
   8718   archive_cmds=
   8719   archive_expsym_cmds=
   8720   compiler_needs_object=no
   8721   enable_shared_with_static_runtimes=no
   8722   export_dynamic_flag_spec=
   8723   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8724   hardcode_automatic=no
   8725   hardcode_direct=no
   8726   hardcode_direct_absolute=no
   8727   hardcode_libdir_flag_spec=
   8728   hardcode_libdir_separator=
   8729   hardcode_minus_L=no
   8730   hardcode_shlibpath_var=unsupported
   8731   inherit_rpath=no
   8732   link_all_deplibs=unknown
   8733   module_cmds=
   8734   module_expsym_cmds=
   8735   old_archive_from_new_cmds=
   8736   old_archive_from_expsyms_cmds=
   8737   thread_safe_flag_spec=
   8738   whole_archive_flag_spec=
   8739   # include_expsyms should be a list of space-separated symbols to be *always*
   8740   # included in the symbol list
   8741   include_expsyms=
   8742   # exclude_expsyms can be an extended regexp of symbols to exclude
   8743   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8744   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8745   # as well as any symbol that contains `d'.
   8746   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8747   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8748   # platforms (ab)use it in PIC code, but their linkers get confused if
   8749   # the symbol is explicitly referenced.  Since portable code cannot
   8750   # rely on this symbol name, it's probably fine to never include it in
   8751   # preloaded symbol tables.
   8752   # Exclude shared library initialization/finalization symbols.
   8753   extract_expsyms_cmds=
   8754 
   8755   case $host_os in
   8756   cygwin* | mingw* | pw32* | cegcc*)
   8757     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8758     # When not using gcc, we currently assume that we are using
   8759     # Microsoft Visual C++.
   8760     if test "$GCC" != yes; then
   8761       with_gnu_ld=no
   8762     fi
   8763     ;;
   8764   interix*)
   8765     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8766     with_gnu_ld=yes
   8767     ;;
   8768   openbsd*)
   8769     with_gnu_ld=no
   8770     ;;
   8771   linux* | k*bsd*-gnu | gnu*)
   8772     link_all_deplibs=no
   8773     ;;
   8774   esac
   8775 
   8776   ld_shlibs=yes
   8777 
   8778   # On some targets, GNU ld is compatible enough with the native linker
   8779   # that we're better off using the native interface for both.
   8780   lt_use_gnu_ld_interface=no
   8781   if test "$with_gnu_ld" = yes; then
   8782     case $host_os in
   8783       aix*)
   8784 	# The AIX port of GNU ld has always aspired to compatibility
   8785 	# with the native linker.  However, as the warning in the GNU ld
   8786 	# block says, versions before 2.19.5* couldn't really create working
   8787 	# shared libraries, regardless of the interface used.
   8788 	case `$LD -v 2>&1` in
   8789 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8790 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8791 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8792 	  *)
   8793 	    lt_use_gnu_ld_interface=yes
   8794 	    ;;
   8795 	esac
   8796 	;;
   8797       *)
   8798 	lt_use_gnu_ld_interface=yes
   8799 	;;
   8800     esac
   8801   fi
   8802 
   8803   if test "$lt_use_gnu_ld_interface" = yes; then
   8804     # If archive_cmds runs LD, not CC, wlarc should be empty
   8805     wlarc='${wl}'
   8806 
   8807     # Set some defaults for GNU ld with shared library support. These
   8808     # are reset later if shared libraries are not supported. Putting them
   8809     # here allows them to be overridden if necessary.
   8810     runpath_var=LD_RUN_PATH
   8811     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8812     export_dynamic_flag_spec='${wl}--export-dynamic'
   8813     # ancient GNU ld didn't support --whole-archive et. al.
   8814     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8815       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8816     else
   8817       whole_archive_flag_spec=
   8818     fi
   8819     supports_anon_versioning=no
   8820     case `$LD -v 2>&1` in
   8821       *GNU\ gold*) supports_anon_versioning=yes ;;
   8822       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8823       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8824       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8825       *\ 2.11.*) ;; # other 2.11 versions
   8826       *) supports_anon_versioning=yes ;;
   8827     esac
   8828 
   8829     # See if GNU ld supports shared libraries.
   8830     case $host_os in
   8831     aix[3-9]*)
   8832       # On AIX/PPC, the GNU linker is very broken
   8833       if test "$host_cpu" != ia64; then
   8834 	ld_shlibs=no
   8835 	cat <<_LT_EOF 1>&2
   8836 
   8837 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8838 *** to be unable to reliably create shared libraries on AIX.
   8839 *** Therefore, libtool is disabling shared libraries support.  If you
   8840 *** really care for shared libraries, you may want to install binutils
   8841 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8842 *** You will then need to restart the configuration process.
   8843 
   8844 _LT_EOF
   8845       fi
   8846       ;;
   8847 
   8848     amigaos*)
   8849       case $host_cpu in
   8850       powerpc)
   8851             # see comment about AmigaOS4 .so support
   8852             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8853             archive_expsym_cmds=''
   8854         ;;
   8855       m68k)
   8856             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)'
   8857             hardcode_libdir_flag_spec='-L$libdir'
   8858             hardcode_minus_L=yes
   8859         ;;
   8860       esac
   8861       ;;
   8862 
   8863     beos*)
   8864       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8865 	allow_undefined_flag=unsupported
   8866 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8867 	# support --undefined.  This deserves some investigation.  FIXME
   8868 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8869       else
   8870 	ld_shlibs=no
   8871       fi
   8872       ;;
   8873 
   8874     cygwin* | mingw* | pw32* | cegcc*)
   8875       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8876       # as there is no search path for DLLs.
   8877       hardcode_libdir_flag_spec='-L$libdir'
   8878       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8879       allow_undefined_flag=unsupported
   8880       always_export_symbols=no
   8881       enable_shared_with_static_runtimes=yes
   8882       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'
   8883       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8884 
   8885       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8886         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8887 	# If the export-symbols file already is a .def file (1st line
   8888 	# is EXPORTS), use it as is; otherwise, prepend...
   8889 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8890 	  cp $export_symbols $output_objdir/$soname.def;
   8891 	else
   8892 	  echo EXPORTS > $output_objdir/$soname.def;
   8893 	  cat $export_symbols >> $output_objdir/$soname.def;
   8894 	fi~
   8895 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8896       else
   8897 	ld_shlibs=no
   8898       fi
   8899       ;;
   8900 
   8901     haiku*)
   8902       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8903       link_all_deplibs=yes
   8904       ;;
   8905 
   8906     interix[3-9]*)
   8907       hardcode_direct=no
   8908       hardcode_shlibpath_var=no
   8909       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8910       export_dynamic_flag_spec='${wl}-E'
   8911       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8912       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8913       # default) and relocated if they conflict, which is a slow very memory
   8914       # consuming and fragmenting process.  To avoid this, we pick a random,
   8915       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8916       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8917       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8918       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'
   8919       ;;
   8920 
   8921     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8922       tmp_diet=no
   8923       if test "$host_os" = linux-dietlibc; then
   8924 	case $cc_basename in
   8925 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8926 	esac
   8927       fi
   8928       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8929 	 && test "$tmp_diet" = no
   8930       then
   8931 	tmp_addflag=' $pic_flag'
   8932 	tmp_sharedflag='-shared'
   8933 	case $cc_basename,$host_cpu in
   8934         pgcc*)				# Portland Group C compiler
   8935 	  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'
   8936 	  tmp_addflag=' $pic_flag'
   8937 	  ;;
   8938 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8939 					# Portland Group f77 and f90 compilers
   8940 	  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'
   8941 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8942 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8943 	  tmp_addflag=' -i_dynamic' ;;
   8944 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8945 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8946 	ifc* | ifort*)			# Intel Fortran compiler
   8947 	  tmp_addflag=' -nofor_main' ;;
   8948 	lf95*)				# Lahey Fortran 8.1
   8949 	  whole_archive_flag_spec=
   8950 	  tmp_sharedflag='--shared' ;;
   8951 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8952 	  tmp_sharedflag='-qmkshrobj'
   8953 	  tmp_addflag= ;;
   8954 	nvcc*)	# Cuda Compiler Driver 2.2
   8955 	  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'
   8956 	  compiler_needs_object=yes
   8957 	  ;;
   8958 	esac
   8959 	case `$CC -V 2>&1 | sed 5q` in
   8960 	*Sun\ C*)			# Sun C 5.9
   8961 	  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'
   8962 	  compiler_needs_object=yes
   8963 	  tmp_sharedflag='-G' ;;
   8964 	*Sun\ F*)			# Sun Fortran 8.3
   8965 	  tmp_sharedflag='-G' ;;
   8966 	esac
   8967 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8968 
   8969         if test "x$supports_anon_versioning" = xyes; then
   8970           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8971 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8972 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8973 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8974         fi
   8975 
   8976 	case $cc_basename in
   8977 	xlf* | bgf* | bgxlf* | mpixlf*)
   8978 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8979 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8980 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8981 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8982 	  if test "x$supports_anon_versioning" = xyes; then
   8983 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8984 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8985 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8986 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8987 	  fi
   8988 	  ;;
   8989 	esac
   8990       else
   8991         ld_shlibs=no
   8992       fi
   8993       ;;
   8994 
   8995     netbsd* | netbsdelf*-gnu)
   8996       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8997 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8998 	wlarc=
   8999       else
   9000 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9001 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9002       fi
   9003       ;;
   9004 
   9005     solaris*)
   9006       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9007 	ld_shlibs=no
   9008 	cat <<_LT_EOF 1>&2
   9009 
   9010 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9011 *** create shared libraries on Solaris systems.  Therefore, libtool
   9012 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9013 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9014 *** your PATH or compiler configuration so that the native linker is
   9015 *** used, and then restart.
   9016 
   9017 _LT_EOF
   9018       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9019 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9020 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9021       else
   9022 	ld_shlibs=no
   9023       fi
   9024       ;;
   9025 
   9026     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9027       case `$LD -v 2>&1` in
   9028         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9029 	ld_shlibs=no
   9030 	cat <<_LT_EOF 1>&2
   9031 
   9032 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9033 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9034 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9035 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9036 *** your PATH or compiler configuration so that the native linker is
   9037 *** used, and then restart.
   9038 
   9039 _LT_EOF
   9040 	;;
   9041 	*)
   9042 	  # For security reasons, it is highly recommended that you always
   9043 	  # use absolute paths for naming shared libraries, and exclude the
   9044 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9045 	  # requires that you compile everything twice, which is a pain.
   9046 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9047 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9048 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9049 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9050 	  else
   9051 	    ld_shlibs=no
   9052 	  fi
   9053 	;;
   9054       esac
   9055       ;;
   9056 
   9057     sunos4*)
   9058       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9059       wlarc=
   9060       hardcode_direct=yes
   9061       hardcode_shlibpath_var=no
   9062       ;;
   9063 
   9064     *)
   9065       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9066 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9067 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9068       else
   9069 	ld_shlibs=no
   9070       fi
   9071       ;;
   9072     esac
   9073 
   9074     if test "$ld_shlibs" = no; then
   9075       runpath_var=
   9076       hardcode_libdir_flag_spec=
   9077       export_dynamic_flag_spec=
   9078       whole_archive_flag_spec=
   9079     fi
   9080   else
   9081     # PORTME fill in a description of your system's linker (not GNU ld)
   9082     case $host_os in
   9083     aix3*)
   9084       allow_undefined_flag=unsupported
   9085       always_export_symbols=yes
   9086       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'
   9087       # Note: this linker hardcodes the directories in LIBPATH if there
   9088       # are no directories specified by -L.
   9089       hardcode_minus_L=yes
   9090       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9091 	# Neither direct hardcoding nor static linking is supported with a
   9092 	# broken collect2.
   9093 	hardcode_direct=unsupported
   9094       fi
   9095       ;;
   9096 
   9097     aix[4-9]*)
   9098       if test "$host_cpu" = ia64; then
   9099 	# On IA64, the linker does run time linking by default, so we don't
   9100 	# have to do anything special.
   9101 	aix_use_runtimelinking=no
   9102 	exp_sym_flag='-Bexport'
   9103 	no_entry_flag=""
   9104       else
   9105 	# If we're using GNU nm, then we don't want the "-C" option.
   9106 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9107 	# Also, AIX nm treats weak defined symbols like other global
   9108 	# defined symbols, whereas GNU nm marks them as "W".
   9109 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9110 	  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'
   9111 	else
   9112 	  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'
   9113 	fi
   9114 	aix_use_runtimelinking=no
   9115 
   9116 	# Test if we are trying to use run time linking or normal
   9117 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9118 	# need to do runtime linking.
   9119 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9120 	  for ld_flag in $LDFLAGS; do
   9121 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9122 	    aix_use_runtimelinking=yes
   9123 	    break
   9124 	  fi
   9125 	  done
   9126 	  ;;
   9127 	esac
   9128 
   9129 	exp_sym_flag='-bexport'
   9130 	no_entry_flag='-bnoentry'
   9131       fi
   9132 
   9133       # When large executables or shared objects are built, AIX ld can
   9134       # have problems creating the table of contents.  If linking a library
   9135       # or program results in "error TOC overflow" add -mminimal-toc to
   9136       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9137       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9138 
   9139       archive_cmds=''
   9140       hardcode_direct=yes
   9141       hardcode_direct_absolute=yes
   9142       hardcode_libdir_separator=':'
   9143       link_all_deplibs=yes
   9144       file_list_spec='${wl}-f,'
   9145 
   9146       if test "$GCC" = yes; then
   9147 	case $host_os in aix4.[012]|aix4.[012].*)
   9148 	# We only want to do this on AIX 4.2 and lower, the check
   9149 	# below for broken collect2 doesn't work under 4.3+
   9150 	  collect2name=`${CC} -print-prog-name=collect2`
   9151 	  if test -f "$collect2name" &&
   9152 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9153 	  then
   9154 	  # We have reworked collect2
   9155 	  :
   9156 	  else
   9157 	  # We have old collect2
   9158 	  hardcode_direct=unsupported
   9159 	  # It fails to find uninstalled libraries when the uninstalled
   9160 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9161 	  # to unsupported forces relinking
   9162 	  hardcode_minus_L=yes
   9163 	  hardcode_libdir_flag_spec='-L$libdir'
   9164 	  hardcode_libdir_separator=
   9165 	  fi
   9166 	  ;;
   9167 	esac
   9168 	shared_flag='-shared'
   9169 	if test "$aix_use_runtimelinking" = yes; then
   9170 	  shared_flag="$shared_flag "'${wl}-G'
   9171 	fi
   9172 	link_all_deplibs=no
   9173       else
   9174 	# not using gcc
   9175 	if test "$host_cpu" = ia64; then
   9176 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9177 	# chokes on -Wl,-G. The following line is correct:
   9178 	  shared_flag='-G'
   9179 	else
   9180 	  if test "$aix_use_runtimelinking" = yes; then
   9181 	    shared_flag='${wl}-G'
   9182 	  else
   9183 	    shared_flag='${wl}-bM:SRE'
   9184 	  fi
   9185 	fi
   9186       fi
   9187 
   9188       export_dynamic_flag_spec='${wl}-bexpall'
   9189       # It seems that -bexpall does not export symbols beginning with
   9190       # underscore (_), so it is better to generate a list of symbols to export.
   9191       always_export_symbols=yes
   9192       if test "$aix_use_runtimelinking" = yes; then
   9193 	# Warning - without using the other runtime loading flags (-brtl),
   9194 	# -berok will link without error, but may produce a broken library.
   9195 	allow_undefined_flag='-berok'
   9196         # Determine the default libpath from the value encoded in an
   9197         # empty executable.
   9198         if test "${lt_cv_aix_libpath+set}" = set; then
   9199   aix_libpath=$lt_cv_aix_libpath
   9200 else
   9201   if ${lt_cv_aix_libpath_+:} false; then :
   9202   $as_echo_n "(cached) " >&6
   9203 else
   9204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 
   9207 int
   9208 main ()
   9209 {
   9210 
   9211   ;
   9212   return 0;
   9213 }
   9214 _ACEOF
   9215 if ac_fn_c_try_link "$LINENO"; then :
   9216 
   9217   lt_aix_libpath_sed='
   9218       /Import File Strings/,/^$/ {
   9219 	  /^0/ {
   9220 	      s/^0  *\([^ ]*\) *$/\1/
   9221 	      p
   9222 	  }
   9223       }'
   9224   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9225   # Check for a 64-bit object if we didn't find anything.
   9226   if test -z "$lt_cv_aix_libpath_"; then
   9227     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9228   fi
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext \
   9231     conftest$ac_exeext conftest.$ac_ext
   9232   if test -z "$lt_cv_aix_libpath_"; then
   9233     lt_cv_aix_libpath_="/usr/lib:/lib"
   9234   fi
   9235 
   9236 fi
   9237 
   9238   aix_libpath=$lt_cv_aix_libpath_
   9239 fi
   9240 
   9241         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9242         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"
   9243       else
   9244 	if test "$host_cpu" = ia64; then
   9245 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9246 	  allow_undefined_flag="-z nodefs"
   9247 	  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"
   9248 	else
   9249 	 # Determine the default libpath from the value encoded in an
   9250 	 # empty executable.
   9251 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9252   aix_libpath=$lt_cv_aix_libpath
   9253 else
   9254   if ${lt_cv_aix_libpath_+:} false; then :
   9255   $as_echo_n "(cached) " >&6
   9256 else
   9257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9258 /* end confdefs.h.  */
   9259 
   9260 int
   9261 main ()
   9262 {
   9263 
   9264   ;
   9265   return 0;
   9266 }
   9267 _ACEOF
   9268 if ac_fn_c_try_link "$LINENO"; then :
   9269 
   9270   lt_aix_libpath_sed='
   9271       /Import File Strings/,/^$/ {
   9272 	  /^0/ {
   9273 	      s/^0  *\([^ ]*\) *$/\1/
   9274 	      p
   9275 	  }
   9276       }'
   9277   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9278   # Check for a 64-bit object if we didn't find anything.
   9279   if test -z "$lt_cv_aix_libpath_"; then
   9280     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9281   fi
   9282 fi
   9283 rm -f core conftest.err conftest.$ac_objext \
   9284     conftest$ac_exeext conftest.$ac_ext
   9285   if test -z "$lt_cv_aix_libpath_"; then
   9286     lt_cv_aix_libpath_="/usr/lib:/lib"
   9287   fi
   9288 
   9289 fi
   9290 
   9291   aix_libpath=$lt_cv_aix_libpath_
   9292 fi
   9293 
   9294 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9295 	  # Warning - without using the other run time loading flags,
   9296 	  # -berok will link without error, but may produce a broken library.
   9297 	  no_undefined_flag=' ${wl}-bernotok'
   9298 	  allow_undefined_flag=' ${wl}-berok'
   9299 	  if test "$with_gnu_ld" = yes; then
   9300 	    # We only use this code for GNU lds that support --whole-archive.
   9301 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9302 	  else
   9303 	    # Exported symbols can be pulled into shared objects from archives
   9304 	    whole_archive_flag_spec='$convenience'
   9305 	  fi
   9306 	  archive_cmds_need_lc=yes
   9307 	  # This is similar to how AIX traditionally builds its shared libraries.
   9308 	  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'
   9309 	fi
   9310       fi
   9311       ;;
   9312 
   9313     amigaos*)
   9314       case $host_cpu in
   9315       powerpc)
   9316             # see comment about AmigaOS4 .so support
   9317             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9318             archive_expsym_cmds=''
   9319         ;;
   9320       m68k)
   9321             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)'
   9322             hardcode_libdir_flag_spec='-L$libdir'
   9323             hardcode_minus_L=yes
   9324         ;;
   9325       esac
   9326       ;;
   9327 
   9328     bsdi[45]*)
   9329       export_dynamic_flag_spec=-rdynamic
   9330       ;;
   9331 
   9332     cygwin* | mingw* | pw32* | cegcc*)
   9333       # When not using gcc, we currently assume that we are using
   9334       # Microsoft Visual C++.
   9335       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9336       # no search path for DLLs.
   9337       case $cc_basename in
   9338       cl*)
   9339 	# Native MSVC
   9340 	hardcode_libdir_flag_spec=' '
   9341 	allow_undefined_flag=unsupported
   9342 	always_export_symbols=yes
   9343 	file_list_spec='@'
   9344 	# Tell ltmain to make .lib files, not .a files.
   9345 	libext=lib
   9346 	# Tell ltmain to make .dll files, not .so files.
   9347 	shrext_cmds=".dll"
   9348 	# FIXME: Setting linknames here is a bad hack.
   9349 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9350 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9351 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9352 	  else
   9353 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9354 	  fi~
   9355 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9356 	  linknames='
   9357 	# The linker will not automatically build a static lib if we build a DLL.
   9358 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9359 	enable_shared_with_static_runtimes=yes
   9360 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9361 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9362 	# Don't use ranlib
   9363 	old_postinstall_cmds='chmod 644 $oldlib'
   9364 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9365 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9366 	  case $lt_outputfile in
   9367 	    *.exe|*.EXE) ;;
   9368 	    *)
   9369 	      lt_outputfile="$lt_outputfile.exe"
   9370 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9371 	      ;;
   9372 	  esac~
   9373 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9374 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9375 	    $RM "$lt_outputfile.manifest";
   9376 	  fi'
   9377 	;;
   9378       *)
   9379 	# Assume MSVC wrapper
   9380 	hardcode_libdir_flag_spec=' '
   9381 	allow_undefined_flag=unsupported
   9382 	# Tell ltmain to make .lib files, not .a files.
   9383 	libext=lib
   9384 	# Tell ltmain to make .dll files, not .so files.
   9385 	shrext_cmds=".dll"
   9386 	# FIXME: Setting linknames here is a bad hack.
   9387 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9388 	# The linker will automatically build a .lib file if we build a DLL.
   9389 	old_archive_from_new_cmds='true'
   9390 	# FIXME: Should let the user specify the lib program.
   9391 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9392 	enable_shared_with_static_runtimes=yes
   9393 	;;
   9394       esac
   9395       ;;
   9396 
   9397     darwin* | rhapsody*)
   9398 
   9399 
   9400   archive_cmds_need_lc=no
   9401   hardcode_direct=no
   9402   hardcode_automatic=yes
   9403   hardcode_shlibpath_var=unsupported
   9404   if test "$lt_cv_ld_force_load" = "yes"; then
   9405     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\"`'
   9406 
   9407   else
   9408     whole_archive_flag_spec=''
   9409   fi
   9410   link_all_deplibs=yes
   9411   allow_undefined_flag="$_lt_dar_allow_undefined"
   9412   case $cc_basename in
   9413      ifort*) _lt_dar_can_shared=yes ;;
   9414      *) _lt_dar_can_shared=$GCC ;;
   9415   esac
   9416   if test "$_lt_dar_can_shared" = "yes"; then
   9417     output_verbose_link_cmd=func_echo_all
   9418     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9419     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9420     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}"
   9421     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}"
   9422 
   9423   else
   9424   ld_shlibs=no
   9425   fi
   9426 
   9427       ;;
   9428 
   9429     dgux*)
   9430       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9431       hardcode_libdir_flag_spec='-L$libdir'
   9432       hardcode_shlibpath_var=no
   9433       ;;
   9434 
   9435     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9436     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9437     # does not break anything, and helps significantly (at the cost of a little
   9438     # extra space).
   9439     freebsd2.2*)
   9440       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9441       hardcode_libdir_flag_spec='-R$libdir'
   9442       hardcode_direct=yes
   9443       hardcode_shlibpath_var=no
   9444       ;;
   9445 
   9446     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9447     freebsd2.*)
   9448       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9449       hardcode_direct=yes
   9450       hardcode_minus_L=yes
   9451       hardcode_shlibpath_var=no
   9452       ;;
   9453 
   9454     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9455     freebsd* | dragonfly*)
   9456       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9457       hardcode_libdir_flag_spec='-R$libdir'
   9458       hardcode_direct=yes
   9459       hardcode_shlibpath_var=no
   9460       ;;
   9461 
   9462     hpux9*)
   9463       if test "$GCC" = yes; then
   9464 	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'
   9465       else
   9466 	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'
   9467       fi
   9468       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9469       hardcode_libdir_separator=:
   9470       hardcode_direct=yes
   9471 
   9472       # hardcode_minus_L: Not really in the search PATH,
   9473       # but as the default location of the library.
   9474       hardcode_minus_L=yes
   9475       export_dynamic_flag_spec='${wl}-E'
   9476       ;;
   9477 
   9478     hpux10*)
   9479       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9480 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9481       else
   9482 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9483       fi
   9484       if test "$with_gnu_ld" = no; then
   9485 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9486 	hardcode_libdir_separator=:
   9487 	hardcode_direct=yes
   9488 	hardcode_direct_absolute=yes
   9489 	export_dynamic_flag_spec='${wl}-E'
   9490 	# hardcode_minus_L: Not really in the search PATH,
   9491 	# but as the default location of the library.
   9492 	hardcode_minus_L=yes
   9493       fi
   9494       ;;
   9495 
   9496     hpux11*)
   9497       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9498 	case $host_cpu in
   9499 	hppa*64*)
   9500 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9501 	  ;;
   9502 	ia64*)
   9503 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9504 	  ;;
   9505 	*)
   9506 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9507 	  ;;
   9508 	esac
   9509       else
   9510 	case $host_cpu in
   9511 	hppa*64*)
   9512 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9513 	  ;;
   9514 	ia64*)
   9515 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9516 	  ;;
   9517 	*)
   9518 
   9519 	  # Older versions of the 11.00 compiler do not understand -b yet
   9520 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9521 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9522 $as_echo_n "checking if $CC understands -b... " >&6; }
   9523 if ${lt_cv_prog_compiler__b+:} false; then :
   9524   $as_echo_n "(cached) " >&6
   9525 else
   9526   lt_cv_prog_compiler__b=no
   9527    save_LDFLAGS="$LDFLAGS"
   9528    LDFLAGS="$LDFLAGS -b"
   9529    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9530    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9531      # The linker can only warn and ignore the option if not recognized
   9532      # So say no if there are warnings
   9533      if test -s conftest.err; then
   9534        # Append any errors to the config.log.
   9535        cat conftest.err 1>&5
   9536        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9537        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9538        if diff conftest.exp conftest.er2 >/dev/null; then
   9539          lt_cv_prog_compiler__b=yes
   9540        fi
   9541      else
   9542        lt_cv_prog_compiler__b=yes
   9543      fi
   9544    fi
   9545    $RM -r conftest*
   9546    LDFLAGS="$save_LDFLAGS"
   9547 
   9548 fi
   9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9550 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9551 
   9552 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9553     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9554 else
   9555     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9556 fi
   9557 
   9558 	  ;;
   9559 	esac
   9560       fi
   9561       if test "$with_gnu_ld" = no; then
   9562 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9563 	hardcode_libdir_separator=:
   9564 
   9565 	case $host_cpu in
   9566 	hppa*64*|ia64*)
   9567 	  hardcode_direct=no
   9568 	  hardcode_shlibpath_var=no
   9569 	  ;;
   9570 	*)
   9571 	  hardcode_direct=yes
   9572 	  hardcode_direct_absolute=yes
   9573 	  export_dynamic_flag_spec='${wl}-E'
   9574 
   9575 	  # hardcode_minus_L: Not really in the search PATH,
   9576 	  # but as the default location of the library.
   9577 	  hardcode_minus_L=yes
   9578 	  ;;
   9579 	esac
   9580       fi
   9581       ;;
   9582 
   9583     irix5* | irix6* | nonstopux*)
   9584       if test "$GCC" = yes; then
   9585 	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'
   9586 	# Try to use the -exported_symbol ld option, if it does not
   9587 	# work, assume that -exports_file does not work either and
   9588 	# implicitly export all symbols.
   9589 	# This should be the same for all languages, so no per-tag cache variable.
   9590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9591 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9592 if ${lt_cv_irix_exported_symbol+:} false; then :
   9593   $as_echo_n "(cached) " >&6
   9594 else
   9595   save_LDFLAGS="$LDFLAGS"
   9596 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9597 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9598 /* end confdefs.h.  */
   9599 int foo (void) { return 0; }
   9600 _ACEOF
   9601 if ac_fn_c_try_link "$LINENO"; then :
   9602   lt_cv_irix_exported_symbol=yes
   9603 else
   9604   lt_cv_irix_exported_symbol=no
   9605 fi
   9606 rm -f core conftest.err conftest.$ac_objext \
   9607     conftest$ac_exeext conftest.$ac_ext
   9608            LDFLAGS="$save_LDFLAGS"
   9609 fi
   9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9611 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9612 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9613           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'
   9614 	fi
   9615       else
   9616 	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'
   9617 	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'
   9618       fi
   9619       archive_cmds_need_lc='no'
   9620       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9621       hardcode_libdir_separator=:
   9622       inherit_rpath=yes
   9623       link_all_deplibs=yes
   9624       ;;
   9625 
   9626     netbsd* | netbsdelf*-gnu)
   9627       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9628 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9629       else
   9630 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9631       fi
   9632       hardcode_libdir_flag_spec='-R$libdir'
   9633       hardcode_direct=yes
   9634       hardcode_shlibpath_var=no
   9635       ;;
   9636 
   9637     newsos6)
   9638       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9639       hardcode_direct=yes
   9640       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9641       hardcode_libdir_separator=:
   9642       hardcode_shlibpath_var=no
   9643       ;;
   9644 
   9645     *nto* | *qnx*)
   9646       ;;
   9647 
   9648     openbsd*)
   9649       if test -f /usr/libexec/ld.so; then
   9650 	hardcode_direct=yes
   9651 	hardcode_shlibpath_var=no
   9652 	hardcode_direct_absolute=yes
   9653 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9654 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9655 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9656 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9657 	  export_dynamic_flag_spec='${wl}-E'
   9658 	else
   9659 	  case $host_os in
   9660 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9661 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9662 	     hardcode_libdir_flag_spec='-R$libdir'
   9663 	     ;;
   9664 	   *)
   9665 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9666 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9667 	     ;;
   9668 	  esac
   9669 	fi
   9670       else
   9671 	ld_shlibs=no
   9672       fi
   9673       ;;
   9674 
   9675     os2*)
   9676       hardcode_libdir_flag_spec='-L$libdir'
   9677       hardcode_minus_L=yes
   9678       allow_undefined_flag=unsupported
   9679       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'
   9680       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9681       ;;
   9682 
   9683     osf3*)
   9684       if test "$GCC" = yes; then
   9685 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9686 	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'
   9687       else
   9688 	allow_undefined_flag=' -expect_unresolved \*'
   9689 	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'
   9690       fi
   9691       archive_cmds_need_lc='no'
   9692       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9693       hardcode_libdir_separator=:
   9694       ;;
   9695 
   9696     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9697       if test "$GCC" = yes; then
   9698 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9699 	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'
   9700 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9701       else
   9702 	allow_undefined_flag=' -expect_unresolved \*'
   9703 	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'
   9704 	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~
   9705 	$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'
   9706 
   9707 	# Both c and cxx compiler support -rpath directly
   9708 	hardcode_libdir_flag_spec='-rpath $libdir'
   9709       fi
   9710       archive_cmds_need_lc='no'
   9711       hardcode_libdir_separator=:
   9712       ;;
   9713 
   9714     solaris*)
   9715       no_undefined_flag=' -z defs'
   9716       if test "$GCC" = yes; then
   9717 	wlarc='${wl}'
   9718 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9719 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9720 	  $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'
   9721       else
   9722 	case `$CC -V 2>&1` in
   9723 	*"Compilers 5.0"*)
   9724 	  wlarc=''
   9725 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9726 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9727 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9728 	  ;;
   9729 	*)
   9730 	  wlarc='${wl}'
   9731 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9732 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9733 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9734 	  ;;
   9735 	esac
   9736       fi
   9737       hardcode_libdir_flag_spec='-R$libdir'
   9738       hardcode_shlibpath_var=no
   9739       case $host_os in
   9740       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9741       *)
   9742 	# The compiler driver will combine and reorder linker options,
   9743 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9744 	# but is careful enough not to reorder.
   9745 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9746 	if test "$GCC" = yes; then
   9747 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9748 	else
   9749 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9750 	fi
   9751 	;;
   9752       esac
   9753       link_all_deplibs=yes
   9754       ;;
   9755 
   9756     sunos4*)
   9757       if test "x$host_vendor" = xsequent; then
   9758 	# Use $CC to link under sequent, because it throws in some extra .o
   9759 	# files that make .init and .fini sections work.
   9760 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9761       else
   9762 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9763       fi
   9764       hardcode_libdir_flag_spec='-L$libdir'
   9765       hardcode_direct=yes
   9766       hardcode_minus_L=yes
   9767       hardcode_shlibpath_var=no
   9768       ;;
   9769 
   9770     sysv4)
   9771       case $host_vendor in
   9772 	sni)
   9773 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9774 	  hardcode_direct=yes # is this really true???
   9775 	;;
   9776 	siemens)
   9777 	  ## LD is ld it makes a PLAMLIB
   9778 	  ## CC just makes a GrossModule.
   9779 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9780 	  reload_cmds='$CC -r -o $output$reload_objs'
   9781 	  hardcode_direct=no
   9782         ;;
   9783 	motorola)
   9784 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9785 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9786 	;;
   9787       esac
   9788       runpath_var='LD_RUN_PATH'
   9789       hardcode_shlibpath_var=no
   9790       ;;
   9791 
   9792     sysv4.3*)
   9793       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9794       hardcode_shlibpath_var=no
   9795       export_dynamic_flag_spec='-Bexport'
   9796       ;;
   9797 
   9798     sysv4*MP*)
   9799       if test -d /usr/nec; then
   9800 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9801 	hardcode_shlibpath_var=no
   9802 	runpath_var=LD_RUN_PATH
   9803 	hardcode_runpath_var=yes
   9804 	ld_shlibs=yes
   9805       fi
   9806       ;;
   9807 
   9808     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9809       no_undefined_flag='${wl}-z,text'
   9810       archive_cmds_need_lc=no
   9811       hardcode_shlibpath_var=no
   9812       runpath_var='LD_RUN_PATH'
   9813 
   9814       if test "$GCC" = yes; then
   9815 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9816 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9817       else
   9818 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9819 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9820       fi
   9821       ;;
   9822 
   9823     sysv5* | sco3.2v5* | sco5v6*)
   9824       # Note: We can NOT use -z defs as we might desire, because we do not
   9825       # link with -lc, and that would cause any symbols used from libc to
   9826       # always be unresolved, which means just about no library would
   9827       # ever link correctly.  If we're not using GNU ld we use -z text
   9828       # though, which does catch some bad symbols but isn't as heavy-handed
   9829       # as -z defs.
   9830       no_undefined_flag='${wl}-z,text'
   9831       allow_undefined_flag='${wl}-z,nodefs'
   9832       archive_cmds_need_lc=no
   9833       hardcode_shlibpath_var=no
   9834       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9835       hardcode_libdir_separator=':'
   9836       link_all_deplibs=yes
   9837       export_dynamic_flag_spec='${wl}-Bexport'
   9838       runpath_var='LD_RUN_PATH'
   9839 
   9840       if test "$GCC" = yes; then
   9841 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9842 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9843       else
   9844 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9845 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9846       fi
   9847       ;;
   9848 
   9849     uts4*)
   9850       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9851       hardcode_libdir_flag_spec='-L$libdir'
   9852       hardcode_shlibpath_var=no
   9853       ;;
   9854 
   9855     *)
   9856       ld_shlibs=no
   9857       ;;
   9858     esac
   9859 
   9860     if test x$host_vendor = xsni; then
   9861       case $host in
   9862       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9863 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9864 	;;
   9865       esac
   9866     fi
   9867   fi
   9868 
   9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9870 $as_echo "$ld_shlibs" >&6; }
   9871 test "$ld_shlibs" = no && can_build_shared=no
   9872 
   9873 with_gnu_ld=$with_gnu_ld
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 #
   9890 # Do we need to explicitly link libc?
   9891 #
   9892 case "x$archive_cmds_need_lc" in
   9893 x|xyes)
   9894   # Assume -lc should be added
   9895   archive_cmds_need_lc=yes
   9896 
   9897   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9898     case $archive_cmds in
   9899     *'~'*)
   9900       # FIXME: we may have to deal with multi-command sequences.
   9901       ;;
   9902     '$CC '*)
   9903       # Test whether the compiler implicitly links with -lc since on some
   9904       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9905       # to ld, don't add -lc before -lgcc.
   9906       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9907 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9908 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9909   $as_echo_n "(cached) " >&6
   9910 else
   9911   $RM conftest*
   9912 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9913 
   9914 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9915   (eval $ac_compile) 2>&5
   9916   ac_status=$?
   9917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9918   test $ac_status = 0; } 2>conftest.err; then
   9919 	  soname=conftest
   9920 	  lib=conftest
   9921 	  libobjs=conftest.$ac_objext
   9922 	  deplibs=
   9923 	  wl=$lt_prog_compiler_wl
   9924 	  pic_flag=$lt_prog_compiler_pic
   9925 	  compiler_flags=-v
   9926 	  linker_flags=-v
   9927 	  verstring=
   9928 	  output_objdir=.
   9929 	  libname=conftest
   9930 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9931 	  allow_undefined_flag=
   9932 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9933   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9934   ac_status=$?
   9935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9936   test $ac_status = 0; }
   9937 	  then
   9938 	    lt_cv_archive_cmds_need_lc=no
   9939 	  else
   9940 	    lt_cv_archive_cmds_need_lc=yes
   9941 	  fi
   9942 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9943 	else
   9944 	  cat conftest.err 1>&5
   9945 	fi
   9946 	$RM conftest*
   9947 
   9948 fi
   9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9950 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9951       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9952       ;;
   9953     esac
   9954   fi
   9955   ;;
   9956 esac
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10110 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10111 
   10112 if test "$GCC" = yes; then
   10113   case $host_os in
   10114     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10115     *) lt_awk_arg="/^libraries:/" ;;
   10116   esac
   10117   case $host_os in
   10118     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10119     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10120   esac
   10121   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10122   case $lt_search_path_spec in
   10123   *\;*)
   10124     # if the path contains ";" then we assume it to be the separator
   10125     # otherwise default to the standard path separator (i.e. ":") - it is
   10126     # assumed that no part of a normal pathname contains ";" but that should
   10127     # okay in the real world where ";" in dirpaths is itself problematic.
   10128     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10129     ;;
   10130   *)
   10131     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10132     ;;
   10133   esac
   10134   # Ok, now we have the path, separated by spaces, we can step through it
   10135   # and add multilib dir if necessary.
   10136   lt_tmp_lt_search_path_spec=
   10137   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10138   for lt_sys_path in $lt_search_path_spec; do
   10139     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10140       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10141     else
   10142       test -d "$lt_sys_path" && \
   10143 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10144     fi
   10145   done
   10146   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10147 BEGIN {RS=" "; FS="/|\n";} {
   10148   lt_foo="";
   10149   lt_count=0;
   10150   for (lt_i = NF; lt_i > 0; lt_i--) {
   10151     if ($lt_i != "" && $lt_i != ".") {
   10152       if ($lt_i == "..") {
   10153         lt_count++;
   10154       } else {
   10155         if (lt_count == 0) {
   10156           lt_foo="/" $lt_i lt_foo;
   10157         } else {
   10158           lt_count--;
   10159         }
   10160       }
   10161     }
   10162   }
   10163   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10164   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10165 }'`
   10166   # AWK program above erroneously prepends '/' to C:/dos/paths
   10167   # for these hosts.
   10168   case $host_os in
   10169     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10170       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10171   esac
   10172   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10173 else
   10174   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10175 fi
   10176 library_names_spec=
   10177 libname_spec='lib$name'
   10178 soname_spec=
   10179 shrext_cmds=".so"
   10180 postinstall_cmds=
   10181 postuninstall_cmds=
   10182 finish_cmds=
   10183 finish_eval=
   10184 shlibpath_var=
   10185 shlibpath_overrides_runpath=unknown
   10186 version_type=none
   10187 dynamic_linker="$host_os ld.so"
   10188 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10189 need_lib_prefix=unknown
   10190 hardcode_into_libs=no
   10191 
   10192 # when you set need_version to no, make sure it does not cause -set_version
   10193 # flags to be left without arguments
   10194 need_version=unknown
   10195 
   10196 case $host_os in
   10197 aix3*)
   10198   version_type=linux # correct to gnu/linux during the next big refactor
   10199   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10200   shlibpath_var=LIBPATH
   10201 
   10202   # AIX 3 has no versioning support, so we append a major version to the name.
   10203   soname_spec='${libname}${release}${shared_ext}$major'
   10204   ;;
   10205 
   10206 aix[4-9]*)
   10207   version_type=linux # correct to gnu/linux during the next big refactor
   10208   need_lib_prefix=no
   10209   need_version=no
   10210   hardcode_into_libs=yes
   10211   if test "$host_cpu" = ia64; then
   10212     # AIX 5 supports IA64
   10213     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10214     shlibpath_var=LD_LIBRARY_PATH
   10215   else
   10216     # With GCC up to 2.95.x, collect2 would create an import file
   10217     # for dependence libraries.  The import file would start with
   10218     # the line `#! .'.  This would cause the generated library to
   10219     # depend on `.', always an invalid library.  This was fixed in
   10220     # development snapshots of GCC prior to 3.0.
   10221     case $host_os in
   10222       aix4 | aix4.[01] | aix4.[01].*)
   10223       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10224 	   echo ' yes '
   10225 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10226 	:
   10227       else
   10228 	can_build_shared=no
   10229       fi
   10230       ;;
   10231     esac
   10232     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10233     # soname into executable. Probably we can add versioning support to
   10234     # collect2, so additional links can be useful in future.
   10235     if test "$aix_use_runtimelinking" = yes; then
   10236       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10237       # instead of lib<name>.a to let people know that these are not
   10238       # typical AIX shared libraries.
   10239       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10240     else
   10241       # We preserve .a as extension for shared libraries through AIX4.2
   10242       # and later when we are not doing run time linking.
   10243       library_names_spec='${libname}${release}.a $libname.a'
   10244       soname_spec='${libname}${release}${shared_ext}$major'
   10245     fi
   10246     shlibpath_var=LIBPATH
   10247   fi
   10248   ;;
   10249 
   10250 amigaos*)
   10251   case $host_cpu in
   10252   powerpc)
   10253     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10254     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10255     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10256     ;;
   10257   m68k)
   10258     library_names_spec='$libname.ixlibrary $libname.a'
   10259     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10260     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'
   10261     ;;
   10262   esac
   10263   ;;
   10264 
   10265 beos*)
   10266   library_names_spec='${libname}${shared_ext}'
   10267   dynamic_linker="$host_os ld.so"
   10268   shlibpath_var=LIBRARY_PATH
   10269   ;;
   10270 
   10271 bsdi[45]*)
   10272   version_type=linux # correct to gnu/linux during the next big refactor
   10273   need_version=no
   10274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10275   soname_spec='${libname}${release}${shared_ext}$major'
   10276   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10277   shlibpath_var=LD_LIBRARY_PATH
   10278   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10279   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10280   # the default ld.so.conf also contains /usr/contrib/lib and
   10281   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10282   # libtool to hard-code these into programs
   10283   ;;
   10284 
   10285 cygwin* | mingw* | pw32* | cegcc*)
   10286   version_type=windows
   10287   shrext_cmds=".dll"
   10288   need_version=no
   10289   need_lib_prefix=no
   10290 
   10291   case $GCC,$cc_basename in
   10292   yes,*)
   10293     # gcc
   10294     library_names_spec='$libname.dll.a'
   10295     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10296     postinstall_cmds='base_file=`basename \${file}`~
   10297       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10298       dldir=$destdir/`dirname \$dlpath`~
   10299       test -d \$dldir || mkdir -p \$dldir~
   10300       $install_prog $dir/$dlname \$dldir/$dlname~
   10301       chmod a+x \$dldir/$dlname~
   10302       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10303         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10304       fi'
   10305     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10306       dlpath=$dir/\$dldll~
   10307        $RM \$dlpath'
   10308     shlibpath_overrides_runpath=yes
   10309 
   10310     case $host_os in
   10311     cygwin*)
   10312       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10313       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10314 
   10315       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10316       ;;
   10317     mingw* | cegcc*)
   10318       # MinGW DLLs use traditional 'lib' prefix
   10319       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10320       ;;
   10321     pw32*)
   10322       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10323       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10324       ;;
   10325     esac
   10326     dynamic_linker='Win32 ld.exe'
   10327     ;;
   10328 
   10329   *,cl*)
   10330     # Native MSVC
   10331     libname_spec='$name'
   10332     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10333     library_names_spec='${libname}.dll.lib'
   10334 
   10335     case $build_os in
   10336     mingw*)
   10337       sys_lib_search_path_spec=
   10338       lt_save_ifs=$IFS
   10339       IFS=';'
   10340       for lt_path in $LIB
   10341       do
   10342         IFS=$lt_save_ifs
   10343         # Let DOS variable expansion print the short 8.3 style file name.
   10344         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10345         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10346       done
   10347       IFS=$lt_save_ifs
   10348       # Convert to MSYS style.
   10349       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10350       ;;
   10351     cygwin*)
   10352       # Convert to unix form, then to dos form, then back to unix form
   10353       # but this time dos style (no spaces!) so that the unix form looks
   10354       # like /cygdrive/c/PROGRA~1:/cygdr...
   10355       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10356       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10357       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10358       ;;
   10359     *)
   10360       sys_lib_search_path_spec="$LIB"
   10361       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10362         # It is most probably a Windows format PATH.
   10363         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10364       else
   10365         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10366       fi
   10367       # FIXME: find the short name or the path components, as spaces are
   10368       # common. (e.g. "Program Files" -> "PROGRA~1")
   10369       ;;
   10370     esac
   10371 
   10372     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10373     postinstall_cmds='base_file=`basename \${file}`~
   10374       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10375       dldir=$destdir/`dirname \$dlpath`~
   10376       test -d \$dldir || mkdir -p \$dldir~
   10377       $install_prog $dir/$dlname \$dldir/$dlname'
   10378     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10379       dlpath=$dir/\$dldll~
   10380        $RM \$dlpath'
   10381     shlibpath_overrides_runpath=yes
   10382     dynamic_linker='Win32 link.exe'
   10383     ;;
   10384 
   10385   *)
   10386     # Assume MSVC wrapper
   10387     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10388     dynamic_linker='Win32 ld.exe'
   10389     ;;
   10390   esac
   10391   # FIXME: first we should search . and the directory the executable is in
   10392   shlibpath_var=PATH
   10393   ;;
   10394 
   10395 darwin* | rhapsody*)
   10396   dynamic_linker="$host_os dyld"
   10397   version_type=darwin
   10398   need_lib_prefix=no
   10399   need_version=no
   10400   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10401   soname_spec='${libname}${release}${major}$shared_ext'
   10402   shlibpath_overrides_runpath=yes
   10403   shlibpath_var=DYLD_LIBRARY_PATH
   10404   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10405 
   10406   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10407   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10408   ;;
   10409 
   10410 dgux*)
   10411   version_type=linux # correct to gnu/linux during the next big refactor
   10412   need_lib_prefix=no
   10413   need_version=no
   10414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10415   soname_spec='${libname}${release}${shared_ext}$major'
   10416   shlibpath_var=LD_LIBRARY_PATH
   10417   ;;
   10418 
   10419 freebsd* | dragonfly*)
   10420   # DragonFly does not have aout.  When/if they implement a new
   10421   # versioning mechanism, adjust this.
   10422   if test -x /usr/bin/objformat; then
   10423     objformat=`/usr/bin/objformat`
   10424   else
   10425     case $host_os in
   10426     freebsd[23].*) objformat=aout ;;
   10427     *) objformat=elf ;;
   10428     esac
   10429   fi
   10430   version_type=freebsd-$objformat
   10431   case $version_type in
   10432     freebsd-elf*)
   10433       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10434       need_version=no
   10435       need_lib_prefix=no
   10436       ;;
   10437     freebsd-*)
   10438       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10439       need_version=yes
   10440       ;;
   10441   esac
   10442   shlibpath_var=LD_LIBRARY_PATH
   10443   case $host_os in
   10444   freebsd2.*)
   10445     shlibpath_overrides_runpath=yes
   10446     ;;
   10447   freebsd3.[01]* | freebsdelf3.[01]*)
   10448     shlibpath_overrides_runpath=yes
   10449     hardcode_into_libs=yes
   10450     ;;
   10451   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10452   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10453     shlibpath_overrides_runpath=no
   10454     hardcode_into_libs=yes
   10455     ;;
   10456   *) # from 4.6 on, and DragonFly
   10457     shlibpath_overrides_runpath=yes
   10458     hardcode_into_libs=yes
   10459     ;;
   10460   esac
   10461   ;;
   10462 
   10463 haiku*)
   10464   version_type=linux # correct to gnu/linux during the next big refactor
   10465   need_lib_prefix=no
   10466   need_version=no
   10467   dynamic_linker="$host_os runtime_loader"
   10468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10469   soname_spec='${libname}${release}${shared_ext}$major'
   10470   shlibpath_var=LIBRARY_PATH
   10471   shlibpath_overrides_runpath=yes
   10472   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10473   hardcode_into_libs=yes
   10474   ;;
   10475 
   10476 hpux9* | hpux10* | hpux11*)
   10477   # Give a soname corresponding to the major version so that dld.sl refuses to
   10478   # link against other versions.
   10479   version_type=sunos
   10480   need_lib_prefix=no
   10481   need_version=no
   10482   case $host_cpu in
   10483   ia64*)
   10484     shrext_cmds='.so'
   10485     hardcode_into_libs=yes
   10486     dynamic_linker="$host_os dld.so"
   10487     shlibpath_var=LD_LIBRARY_PATH
   10488     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10490     soname_spec='${libname}${release}${shared_ext}$major'
   10491     if test "X$HPUX_IA64_MODE" = X32; then
   10492       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10493     else
   10494       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10495     fi
   10496     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10497     ;;
   10498   hppa*64*)
   10499     shrext_cmds='.sl'
   10500     hardcode_into_libs=yes
   10501     dynamic_linker="$host_os dld.sl"
   10502     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10503     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10505     soname_spec='${libname}${release}${shared_ext}$major'
   10506     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10507     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10508     ;;
   10509   *)
   10510     shrext_cmds='.sl'
   10511     dynamic_linker="$host_os dld.sl"
   10512     shlibpath_var=SHLIB_PATH
   10513     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10515     soname_spec='${libname}${release}${shared_ext}$major'
   10516     ;;
   10517   esac
   10518   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10519   postinstall_cmds='chmod 555 $lib'
   10520   # or fails outright, so override atomically:
   10521   install_override_mode=555
   10522   ;;
   10523 
   10524 interix[3-9]*)
   10525   version_type=linux # correct to gnu/linux during the next big refactor
   10526   need_lib_prefix=no
   10527   need_version=no
   10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10529   soname_spec='${libname}${release}${shared_ext}$major'
   10530   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10531   shlibpath_var=LD_LIBRARY_PATH
   10532   shlibpath_overrides_runpath=no
   10533   hardcode_into_libs=yes
   10534   ;;
   10535 
   10536 irix5* | irix6* | nonstopux*)
   10537   case $host_os in
   10538     nonstopux*) version_type=nonstopux ;;
   10539     *)
   10540 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10541 		version_type=linux # correct to gnu/linux during the next big refactor
   10542 	else
   10543 		version_type=irix
   10544 	fi ;;
   10545   esac
   10546   need_lib_prefix=no
   10547   need_version=no
   10548   soname_spec='${libname}${release}${shared_ext}$major'
   10549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10550   case $host_os in
   10551   irix5* | nonstopux*)
   10552     libsuff= shlibsuff=
   10553     ;;
   10554   *)
   10555     case $LD in # libtool.m4 will add one of these switches to LD
   10556     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10557       libsuff= shlibsuff= libmagic=32-bit;;
   10558     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10559       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10560     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10561       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10562     *) libsuff= shlibsuff= libmagic=never-match;;
   10563     esac
   10564     ;;
   10565   esac
   10566   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10567   shlibpath_overrides_runpath=no
   10568   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10569   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10570   hardcode_into_libs=yes
   10571   ;;
   10572 
   10573 # No shared lib support for Linux oldld, aout, or coff.
   10574 linux*oldld* | linux*aout* | linux*coff*)
   10575   dynamic_linker=no
   10576   ;;
   10577 
   10578 # This must be glibc/ELF.
   10579 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10580   version_type=linux # correct to gnu/linux during the next big refactor
   10581   need_lib_prefix=no
   10582   need_version=no
   10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10584   soname_spec='${libname}${release}${shared_ext}$major'
   10585   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10586   shlibpath_var=LD_LIBRARY_PATH
   10587   shlibpath_overrides_runpath=no
   10588 
   10589   # Some binutils ld are patched to set DT_RUNPATH
   10590   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10591   $as_echo_n "(cached) " >&6
   10592 else
   10593   lt_cv_shlibpath_overrides_runpath=no
   10594     save_LDFLAGS=$LDFLAGS
   10595     save_libdir=$libdir
   10596     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10597 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10598     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 
   10601 int
   10602 main ()
   10603 {
   10604 
   10605   ;
   10606   return 0;
   10607 }
   10608 _ACEOF
   10609 if ac_fn_c_try_link "$LINENO"; then :
   10610   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10611   lt_cv_shlibpath_overrides_runpath=yes
   10612 fi
   10613 fi
   10614 rm -f core conftest.err conftest.$ac_objext \
   10615     conftest$ac_exeext conftest.$ac_ext
   10616     LDFLAGS=$save_LDFLAGS
   10617     libdir=$save_libdir
   10618 
   10619 fi
   10620 
   10621   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10622 
   10623   # This implies no fast_install, which is unacceptable.
   10624   # Some rework will be needed to allow for fast_install
   10625   # before this can be enabled.
   10626   hardcode_into_libs=yes
   10627 
   10628   # Append ld.so.conf contents to the search path
   10629   if test -f /etc/ld.so.conf; then
   10630     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' ' '`
   10631     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10632   fi
   10633 
   10634   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10635   # powerpc, because MkLinux only supported shared libraries with the
   10636   # GNU dynamic linker.  Since this was broken with cross compilers,
   10637   # most powerpc-linux boxes support dynamic linking these days and
   10638   # people can always --disable-shared, the test was removed, and we
   10639   # assume the GNU/Linux dynamic linker is in use.
   10640   dynamic_linker='GNU/Linux ld.so'
   10641   ;;
   10642 
   10643 netbsdelf*-gnu)
   10644   version_type=linux
   10645   need_lib_prefix=no
   10646   need_version=no
   10647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10648   soname_spec='${libname}${release}${shared_ext}$major'
   10649   shlibpath_var=LD_LIBRARY_PATH
   10650   shlibpath_overrides_runpath=no
   10651   hardcode_into_libs=yes
   10652   dynamic_linker='NetBSD ld.elf_so'
   10653   ;;
   10654 
   10655 netbsd*)
   10656   version_type=sunos
   10657   need_lib_prefix=no
   10658   need_version=no
   10659   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10660     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10661     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10662     dynamic_linker='NetBSD (a.out) ld.so'
   10663   else
   10664     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10665     soname_spec='${libname}${release}${shared_ext}$major'
   10666     dynamic_linker='NetBSD ld.elf_so'
   10667   fi
   10668   shlibpath_var=LD_LIBRARY_PATH
   10669   shlibpath_overrides_runpath=yes
   10670   hardcode_into_libs=yes
   10671   ;;
   10672 
   10673 newsos6)
   10674   version_type=linux # correct to gnu/linux during the next big refactor
   10675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10676   shlibpath_var=LD_LIBRARY_PATH
   10677   shlibpath_overrides_runpath=yes
   10678   ;;
   10679 
   10680 *nto* | *qnx*)
   10681   version_type=qnx
   10682   need_lib_prefix=no
   10683   need_version=no
   10684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10685   soname_spec='${libname}${release}${shared_ext}$major'
   10686   shlibpath_var=LD_LIBRARY_PATH
   10687   shlibpath_overrides_runpath=no
   10688   hardcode_into_libs=yes
   10689   dynamic_linker='ldqnx.so'
   10690   ;;
   10691 
   10692 openbsd*)
   10693   version_type=sunos
   10694   sys_lib_dlsearch_path_spec="/usr/lib"
   10695   need_lib_prefix=no
   10696   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10697   case $host_os in
   10698     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10699     *)				need_version=no  ;;
   10700   esac
   10701   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10702   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10703   shlibpath_var=LD_LIBRARY_PATH
   10704   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10705     case $host_os in
   10706       openbsd2.[89] | openbsd2.[89].*)
   10707 	shlibpath_overrides_runpath=no
   10708 	;;
   10709       *)
   10710 	shlibpath_overrides_runpath=yes
   10711 	;;
   10712       esac
   10713   else
   10714     shlibpath_overrides_runpath=yes
   10715   fi
   10716   ;;
   10717 
   10718 os2*)
   10719   libname_spec='$name'
   10720   shrext_cmds=".dll"
   10721   need_lib_prefix=no
   10722   library_names_spec='$libname${shared_ext} $libname.a'
   10723   dynamic_linker='OS/2 ld.exe'
   10724   shlibpath_var=LIBPATH
   10725   ;;
   10726 
   10727 osf3* | osf4* | osf5*)
   10728   version_type=osf
   10729   need_lib_prefix=no
   10730   need_version=no
   10731   soname_spec='${libname}${release}${shared_ext}$major'
   10732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10733   shlibpath_var=LD_LIBRARY_PATH
   10734   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10735   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10736   ;;
   10737 
   10738 rdos*)
   10739   dynamic_linker=no
   10740   ;;
   10741 
   10742 solaris*)
   10743   version_type=linux # correct to gnu/linux during the next big refactor
   10744   need_lib_prefix=no
   10745   need_version=no
   10746   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10747   soname_spec='${libname}${release}${shared_ext}$major'
   10748   shlibpath_var=LD_LIBRARY_PATH
   10749   shlibpath_overrides_runpath=yes
   10750   hardcode_into_libs=yes
   10751   # ldd complains unless libraries are executable
   10752   postinstall_cmds='chmod +x $lib'
   10753   ;;
   10754 
   10755 sunos4*)
   10756   version_type=sunos
   10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10758   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10759   shlibpath_var=LD_LIBRARY_PATH
   10760   shlibpath_overrides_runpath=yes
   10761   if test "$with_gnu_ld" = yes; then
   10762     need_lib_prefix=no
   10763   fi
   10764   need_version=yes
   10765   ;;
   10766 
   10767 sysv4 | sysv4.3*)
   10768   version_type=linux # correct to gnu/linux during the next big refactor
   10769   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10770   soname_spec='${libname}${release}${shared_ext}$major'
   10771   shlibpath_var=LD_LIBRARY_PATH
   10772   case $host_vendor in
   10773     sni)
   10774       shlibpath_overrides_runpath=no
   10775       need_lib_prefix=no
   10776       runpath_var=LD_RUN_PATH
   10777       ;;
   10778     siemens)
   10779       need_lib_prefix=no
   10780       ;;
   10781     motorola)
   10782       need_lib_prefix=no
   10783       need_version=no
   10784       shlibpath_overrides_runpath=no
   10785       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10786       ;;
   10787   esac
   10788   ;;
   10789 
   10790 sysv4*MP*)
   10791   if test -d /usr/nec ;then
   10792     version_type=linux # correct to gnu/linux during the next big refactor
   10793     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10794     soname_spec='$libname${shared_ext}.$major'
   10795     shlibpath_var=LD_LIBRARY_PATH
   10796   fi
   10797   ;;
   10798 
   10799 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10800   version_type=freebsd-elf
   10801   need_lib_prefix=no
   10802   need_version=no
   10803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10804   soname_spec='${libname}${release}${shared_ext}$major'
   10805   shlibpath_var=LD_LIBRARY_PATH
   10806   shlibpath_overrides_runpath=yes
   10807   hardcode_into_libs=yes
   10808   if test "$with_gnu_ld" = yes; then
   10809     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10810   else
   10811     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10812     case $host_os in
   10813       sco3.2v5*)
   10814         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10815 	;;
   10816     esac
   10817   fi
   10818   sys_lib_dlsearch_path_spec='/usr/lib'
   10819   ;;
   10820 
   10821 tpf*)
   10822   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10823   version_type=linux # correct to gnu/linux during the next big refactor
   10824   need_lib_prefix=no
   10825   need_version=no
   10826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10827   shlibpath_var=LD_LIBRARY_PATH
   10828   shlibpath_overrides_runpath=no
   10829   hardcode_into_libs=yes
   10830   ;;
   10831 
   10832 uts4*)
   10833   version_type=linux # correct to gnu/linux during the next big refactor
   10834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10835   soname_spec='${libname}${release}${shared_ext}$major'
   10836   shlibpath_var=LD_LIBRARY_PATH
   10837   ;;
   10838 
   10839 *)
   10840   dynamic_linker=no
   10841   ;;
   10842 esac
   10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10844 $as_echo "$dynamic_linker" >&6; }
   10845 test "$dynamic_linker" = no && can_build_shared=no
   10846 
   10847 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10848 if test "$GCC" = yes; then
   10849   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10850 fi
   10851 
   10852 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10853   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10854 fi
   10855 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10856   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10857 fi
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10951 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10952 hardcode_action=
   10953 if test -n "$hardcode_libdir_flag_spec" ||
   10954    test -n "$runpath_var" ||
   10955    test "X$hardcode_automatic" = "Xyes" ; then
   10956 
   10957   # We can hardcode non-existent directories.
   10958   if test "$hardcode_direct" != no &&
   10959      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10960      # have to relink, otherwise we might link with an installed library
   10961      # when we should be linking with a yet-to-be-installed one
   10962      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10963      test "$hardcode_minus_L" != no; then
   10964     # Linking always hardcodes the temporary library directory.
   10965     hardcode_action=relink
   10966   else
   10967     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10968     hardcode_action=immediate
   10969   fi
   10970 else
   10971   # We cannot hardcode anything, or else we can only hardcode existing
   10972   # directories.
   10973   hardcode_action=unsupported
   10974 fi
   10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10976 $as_echo "$hardcode_action" >&6; }
   10977 
   10978 if test "$hardcode_action" = relink ||
   10979    test "$inherit_rpath" = yes; then
   10980   # Fast installation is not supported
   10981   enable_fast_install=no
   10982 elif test "$shlibpath_overrides_runpath" = yes ||
   10983      test "$enable_shared" = no; then
   10984   # Fast installation is not necessary
   10985   enable_fast_install=needless
   10986 fi
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993   if test "x$enable_dlopen" != xyes; then
   10994   enable_dlopen=unknown
   10995   enable_dlopen_self=unknown
   10996   enable_dlopen_self_static=unknown
   10997 else
   10998   lt_cv_dlopen=no
   10999   lt_cv_dlopen_libs=
   11000 
   11001   case $host_os in
   11002   beos*)
   11003     lt_cv_dlopen="load_add_on"
   11004     lt_cv_dlopen_libs=
   11005     lt_cv_dlopen_self=yes
   11006     ;;
   11007 
   11008   mingw* | pw32* | cegcc*)
   11009     lt_cv_dlopen="LoadLibrary"
   11010     lt_cv_dlopen_libs=
   11011     ;;
   11012 
   11013   cygwin*)
   11014     lt_cv_dlopen="dlopen"
   11015     lt_cv_dlopen_libs=
   11016     ;;
   11017 
   11018   darwin*)
   11019   # if libdl is installed we need to link against it
   11020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11021 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11022 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11023   $as_echo_n "(cached) " >&6
   11024 else
   11025   ac_check_lib_save_LIBS=$LIBS
   11026 LIBS="-ldl  $LIBS"
   11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11028 /* end confdefs.h.  */
   11029 
   11030 /* Override any GCC internal prototype to avoid an error.
   11031    Use char because int might match the return type of a GCC
   11032    builtin and then its argument prototype would still apply.  */
   11033 #ifdef __cplusplus
   11034 extern "C"
   11035 #endif
   11036 char dlopen ();
   11037 int
   11038 main ()
   11039 {
   11040 return dlopen ();
   11041   ;
   11042   return 0;
   11043 }
   11044 _ACEOF
   11045 if ac_fn_c_try_link "$LINENO"; then :
   11046   ac_cv_lib_dl_dlopen=yes
   11047 else
   11048   ac_cv_lib_dl_dlopen=no
   11049 fi
   11050 rm -f core conftest.err conftest.$ac_objext \
   11051     conftest$ac_exeext conftest.$ac_ext
   11052 LIBS=$ac_check_lib_save_LIBS
   11053 fi
   11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11057   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11058 else
   11059 
   11060     lt_cv_dlopen="dyld"
   11061     lt_cv_dlopen_libs=
   11062     lt_cv_dlopen_self=yes
   11063 
   11064 fi
   11065 
   11066     ;;
   11067 
   11068   *)
   11069     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11070 if test "x$ac_cv_func_shl_load" = xyes; then :
   11071   lt_cv_dlopen="shl_load"
   11072 else
   11073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11074 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11075 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11076   $as_echo_n "(cached) " >&6
   11077 else
   11078   ac_check_lib_save_LIBS=$LIBS
   11079 LIBS="-ldld  $LIBS"
   11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11081 /* end confdefs.h.  */
   11082 
   11083 /* Override any GCC internal prototype to avoid an error.
   11084    Use char because int might match the return type of a GCC
   11085    builtin and then its argument prototype would still apply.  */
   11086 #ifdef __cplusplus
   11087 extern "C"
   11088 #endif
   11089 char shl_load ();
   11090 int
   11091 main ()
   11092 {
   11093 return shl_load ();
   11094   ;
   11095   return 0;
   11096 }
   11097 _ACEOF
   11098 if ac_fn_c_try_link "$LINENO"; then :
   11099   ac_cv_lib_dld_shl_load=yes
   11100 else
   11101   ac_cv_lib_dld_shl_load=no
   11102 fi
   11103 rm -f core conftest.err conftest.$ac_objext \
   11104     conftest$ac_exeext conftest.$ac_ext
   11105 LIBS=$ac_check_lib_save_LIBS
   11106 fi
   11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11108 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11109 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11110   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11111 else
   11112   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11113 if test "x$ac_cv_func_dlopen" = xyes; then :
   11114   lt_cv_dlopen="dlopen"
   11115 else
   11116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11117 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11118 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11119   $as_echo_n "(cached) " >&6
   11120 else
   11121   ac_check_lib_save_LIBS=$LIBS
   11122 LIBS="-ldl  $LIBS"
   11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11124 /* end confdefs.h.  */
   11125 
   11126 /* Override any GCC internal prototype to avoid an error.
   11127    Use char because int might match the return type of a GCC
   11128    builtin and then its argument prototype would still apply.  */
   11129 #ifdef __cplusplus
   11130 extern "C"
   11131 #endif
   11132 char dlopen ();
   11133 int
   11134 main ()
   11135 {
   11136 return dlopen ();
   11137   ;
   11138   return 0;
   11139 }
   11140 _ACEOF
   11141 if ac_fn_c_try_link "$LINENO"; then :
   11142   ac_cv_lib_dl_dlopen=yes
   11143 else
   11144   ac_cv_lib_dl_dlopen=no
   11145 fi
   11146 rm -f core conftest.err conftest.$ac_objext \
   11147     conftest$ac_exeext conftest.$ac_ext
   11148 LIBS=$ac_check_lib_save_LIBS
   11149 fi
   11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11151 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11152 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11153   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11154 else
   11155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11156 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11157 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11158   $as_echo_n "(cached) " >&6
   11159 else
   11160   ac_check_lib_save_LIBS=$LIBS
   11161 LIBS="-lsvld  $LIBS"
   11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11163 /* end confdefs.h.  */
   11164 
   11165 /* Override any GCC internal prototype to avoid an error.
   11166    Use char because int might match the return type of a GCC
   11167    builtin and then its argument prototype would still apply.  */
   11168 #ifdef __cplusplus
   11169 extern "C"
   11170 #endif
   11171 char dlopen ();
   11172 int
   11173 main ()
   11174 {
   11175 return dlopen ();
   11176   ;
   11177   return 0;
   11178 }
   11179 _ACEOF
   11180 if ac_fn_c_try_link "$LINENO"; then :
   11181   ac_cv_lib_svld_dlopen=yes
   11182 else
   11183   ac_cv_lib_svld_dlopen=no
   11184 fi
   11185 rm -f core conftest.err conftest.$ac_objext \
   11186     conftest$ac_exeext conftest.$ac_ext
   11187 LIBS=$ac_check_lib_save_LIBS
   11188 fi
   11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11190 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11191 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11192   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11193 else
   11194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11195 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11196 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11197   $as_echo_n "(cached) " >&6
   11198 else
   11199   ac_check_lib_save_LIBS=$LIBS
   11200 LIBS="-ldld  $LIBS"
   11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11202 /* end confdefs.h.  */
   11203 
   11204 /* Override any GCC internal prototype to avoid an error.
   11205    Use char because int might match the return type of a GCC
   11206    builtin and then its argument prototype would still apply.  */
   11207 #ifdef __cplusplus
   11208 extern "C"
   11209 #endif
   11210 char dld_link ();
   11211 int
   11212 main ()
   11213 {
   11214 return dld_link ();
   11215   ;
   11216   return 0;
   11217 }
   11218 _ACEOF
   11219 if ac_fn_c_try_link "$LINENO"; then :
   11220   ac_cv_lib_dld_dld_link=yes
   11221 else
   11222   ac_cv_lib_dld_dld_link=no
   11223 fi
   11224 rm -f core conftest.err conftest.$ac_objext \
   11225     conftest$ac_exeext conftest.$ac_ext
   11226 LIBS=$ac_check_lib_save_LIBS
   11227 fi
   11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11229 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11230 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11231   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11232 fi
   11233 
   11234 
   11235 fi
   11236 
   11237 
   11238 fi
   11239 
   11240 
   11241 fi
   11242 
   11243 
   11244 fi
   11245 
   11246 
   11247 fi
   11248 
   11249     ;;
   11250   esac
   11251 
   11252   if test "x$lt_cv_dlopen" != xno; then
   11253     enable_dlopen=yes
   11254   else
   11255     enable_dlopen=no
   11256   fi
   11257 
   11258   case $lt_cv_dlopen in
   11259   dlopen)
   11260     save_CPPFLAGS="$CPPFLAGS"
   11261     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11262 
   11263     save_LDFLAGS="$LDFLAGS"
   11264     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11265 
   11266     save_LIBS="$LIBS"
   11267     LIBS="$lt_cv_dlopen_libs $LIBS"
   11268 
   11269     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11270 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11271 if ${lt_cv_dlopen_self+:} false; then :
   11272   $as_echo_n "(cached) " >&6
   11273 else
   11274   	  if test "$cross_compiling" = yes; then :
   11275   lt_cv_dlopen_self=cross
   11276 else
   11277   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11278   lt_status=$lt_dlunknown
   11279   cat > conftest.$ac_ext <<_LT_EOF
   11280 #line $LINENO "configure"
   11281 #include "confdefs.h"
   11282 
   11283 #if HAVE_DLFCN_H
   11284 #include <dlfcn.h>
   11285 #endif
   11286 
   11287 #include <stdio.h>
   11288 
   11289 #ifdef RTLD_GLOBAL
   11290 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11291 #else
   11292 #  ifdef DL_GLOBAL
   11293 #    define LT_DLGLOBAL		DL_GLOBAL
   11294 #  else
   11295 #    define LT_DLGLOBAL		0
   11296 #  endif
   11297 #endif
   11298 
   11299 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11300    find out it does not work in some platform. */
   11301 #ifndef LT_DLLAZY_OR_NOW
   11302 #  ifdef RTLD_LAZY
   11303 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11304 #  else
   11305 #    ifdef DL_LAZY
   11306 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11307 #    else
   11308 #      ifdef RTLD_NOW
   11309 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11310 #      else
   11311 #        ifdef DL_NOW
   11312 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11313 #        else
   11314 #          define LT_DLLAZY_OR_NOW	0
   11315 #        endif
   11316 #      endif
   11317 #    endif
   11318 #  endif
   11319 #endif
   11320 
   11321 /* When -fvisbility=hidden is used, assume the code has been annotated
   11322    correspondingly for the symbols needed.  */
   11323 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11324 int fnord () __attribute__((visibility("default")));
   11325 #endif
   11326 
   11327 int fnord () { return 42; }
   11328 int main ()
   11329 {
   11330   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11331   int status = $lt_dlunknown;
   11332 
   11333   if (self)
   11334     {
   11335       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11336       else
   11337         {
   11338 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11339           else puts (dlerror ());
   11340 	}
   11341       /* dlclose (self); */
   11342     }
   11343   else
   11344     puts (dlerror ());
   11345 
   11346   return status;
   11347 }
   11348 _LT_EOF
   11349   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11350   (eval $ac_link) 2>&5
   11351   ac_status=$?
   11352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11353   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11354     (./conftest; exit; ) >&5 2>/dev/null
   11355     lt_status=$?
   11356     case x$lt_status in
   11357       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11358       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11359       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11360     esac
   11361   else :
   11362     # compilation failed
   11363     lt_cv_dlopen_self=no
   11364   fi
   11365 fi
   11366 rm -fr conftest*
   11367 
   11368 
   11369 fi
   11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11371 $as_echo "$lt_cv_dlopen_self" >&6; }
   11372 
   11373     if test "x$lt_cv_dlopen_self" = xyes; then
   11374       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11375       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11376 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11377 if ${lt_cv_dlopen_self_static+:} false; then :
   11378   $as_echo_n "(cached) " >&6
   11379 else
   11380   	  if test "$cross_compiling" = yes; then :
   11381   lt_cv_dlopen_self_static=cross
   11382 else
   11383   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11384   lt_status=$lt_dlunknown
   11385   cat > conftest.$ac_ext <<_LT_EOF
   11386 #line $LINENO "configure"
   11387 #include "confdefs.h"
   11388 
   11389 #if HAVE_DLFCN_H
   11390 #include <dlfcn.h>
   11391 #endif
   11392 
   11393 #include <stdio.h>
   11394 
   11395 #ifdef RTLD_GLOBAL
   11396 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11397 #else
   11398 #  ifdef DL_GLOBAL
   11399 #    define LT_DLGLOBAL		DL_GLOBAL
   11400 #  else
   11401 #    define LT_DLGLOBAL		0
   11402 #  endif
   11403 #endif
   11404 
   11405 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11406    find out it does not work in some platform. */
   11407 #ifndef LT_DLLAZY_OR_NOW
   11408 #  ifdef RTLD_LAZY
   11409 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11410 #  else
   11411 #    ifdef DL_LAZY
   11412 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11413 #    else
   11414 #      ifdef RTLD_NOW
   11415 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11416 #      else
   11417 #        ifdef DL_NOW
   11418 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11419 #        else
   11420 #          define LT_DLLAZY_OR_NOW	0
   11421 #        endif
   11422 #      endif
   11423 #    endif
   11424 #  endif
   11425 #endif
   11426 
   11427 /* When -fvisbility=hidden is used, assume the code has been annotated
   11428    correspondingly for the symbols needed.  */
   11429 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11430 int fnord () __attribute__((visibility("default")));
   11431 #endif
   11432 
   11433 int fnord () { return 42; }
   11434 int main ()
   11435 {
   11436   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11437   int status = $lt_dlunknown;
   11438 
   11439   if (self)
   11440     {
   11441       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11442       else
   11443         {
   11444 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11445           else puts (dlerror ());
   11446 	}
   11447       /* dlclose (self); */
   11448     }
   11449   else
   11450     puts (dlerror ());
   11451 
   11452   return status;
   11453 }
   11454 _LT_EOF
   11455   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11456   (eval $ac_link) 2>&5
   11457   ac_status=$?
   11458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11459   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11460     (./conftest; exit; ) >&5 2>/dev/null
   11461     lt_status=$?
   11462     case x$lt_status in
   11463       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11464       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11465       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11466     esac
   11467   else :
   11468     # compilation failed
   11469     lt_cv_dlopen_self_static=no
   11470   fi
   11471 fi
   11472 rm -fr conftest*
   11473 
   11474 
   11475 fi
   11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11477 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11478     fi
   11479 
   11480     CPPFLAGS="$save_CPPFLAGS"
   11481     LDFLAGS="$save_LDFLAGS"
   11482     LIBS="$save_LIBS"
   11483     ;;
   11484   esac
   11485 
   11486   case $lt_cv_dlopen_self in
   11487   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11488   *) enable_dlopen_self=unknown ;;
   11489   esac
   11490 
   11491   case $lt_cv_dlopen_self_static in
   11492   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11493   *) enable_dlopen_self_static=unknown ;;
   11494   esac
   11495 fi
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 striplib=
   11514 old_striplib=
   11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11516 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11517 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11518   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11519   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11521 $as_echo "yes" >&6; }
   11522 else
   11523 # FIXME - insert some real tests, host_os isn't really good enough
   11524   case $host_os in
   11525   darwin*)
   11526     if test -n "$STRIP" ; then
   11527       striplib="$STRIP -x"
   11528       old_striplib="$STRIP -S"
   11529       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11530 $as_echo "yes" >&6; }
   11531     else
   11532       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11533 $as_echo "no" >&6; }
   11534     fi
   11535     ;;
   11536   *)
   11537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11538 $as_echo "no" >&6; }
   11539     ;;
   11540   esac
   11541 fi
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554   # Report which library types will actually be built
   11555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11556 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11558 $as_echo "$can_build_shared" >&6; }
   11559 
   11560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11561 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11562   test "$can_build_shared" = "no" && enable_shared=no
   11563 
   11564   # On AIX, shared libraries and static libraries use the same namespace, and
   11565   # are all built from PIC.
   11566   case $host_os in
   11567   aix3*)
   11568     test "$enable_shared" = yes && enable_static=no
   11569     if test -n "$RANLIB"; then
   11570       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11571       postinstall_cmds='$RANLIB $lib'
   11572     fi
   11573     ;;
   11574 
   11575   aix[4-9]*)
   11576     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11577       test "$enable_shared" = yes && enable_static=no
   11578     fi
   11579     ;;
   11580   esac
   11581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11582 $as_echo "$enable_shared" >&6; }
   11583 
   11584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11585 $as_echo_n "checking whether to build static libraries... " >&6; }
   11586   # Make sure either enable_shared or enable_static is yes.
   11587   test "$enable_shared" = yes || enable_static=yes
   11588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11589 $as_echo "$enable_static" >&6; }
   11590 
   11591 
   11592 
   11593 
   11594 fi
   11595 ac_ext=c
   11596 ac_cpp='$CPP $CPPFLAGS'
   11597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11600 
   11601 CC="$lt_save_CC"
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617         ac_config_commands="$ac_config_commands libtool"
   11618 
   11619 
   11620 
   11621 
   11622 # Only expand once:
   11623 
   11624 
   11625 
   11626 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11639 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11640 if ${ac_cv_prog_cc_c99+:} false; then :
   11641   $as_echo_n "(cached) " >&6
   11642 else
   11643   ac_cv_prog_cc_c99=no
   11644 ac_save_CC=$CC
   11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11646 /* end confdefs.h.  */
   11647 #include <stdarg.h>
   11648 #include <stdbool.h>
   11649 #include <stdlib.h>
   11650 #include <wchar.h>
   11651 #include <stdio.h>
   11652 
   11653 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11654 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11655 #define showlist(...) puts (#__VA_ARGS__)
   11656 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11657 static void
   11658 test_varargs_macros (void)
   11659 {
   11660   int x = 1234;
   11661   int y = 5678;
   11662   debug ("Flag");
   11663   debug ("X = %d\n", x);
   11664   showlist (The first, second, and third items.);
   11665   report (x>y, "x is %d but y is %d", x, y);
   11666 }
   11667 
   11668 // Check long long types.
   11669 #define BIG64 18446744073709551615ull
   11670 #define BIG32 4294967295ul
   11671 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11672 #if !BIG_OK
   11673   your preprocessor is broken;
   11674 #endif
   11675 #if BIG_OK
   11676 #else
   11677   your preprocessor is broken;
   11678 #endif
   11679 static long long int bignum = -9223372036854775807LL;
   11680 static unsigned long long int ubignum = BIG64;
   11681 
   11682 struct incomplete_array
   11683 {
   11684   int datasize;
   11685   double data[];
   11686 };
   11687 
   11688 struct named_init {
   11689   int number;
   11690   const wchar_t *name;
   11691   double average;
   11692 };
   11693 
   11694 typedef const char *ccp;
   11695 
   11696 static inline int
   11697 test_restrict (ccp restrict text)
   11698 {
   11699   // See if C++-style comments work.
   11700   // Iterate through items via the restricted pointer.
   11701   // Also check for declarations in for loops.
   11702   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11703     continue;
   11704   return 0;
   11705 }
   11706 
   11707 // Check varargs and va_copy.
   11708 static void
   11709 test_varargs (const char *format, ...)
   11710 {
   11711   va_list args;
   11712   va_start (args, format);
   11713   va_list args_copy;
   11714   va_copy (args_copy, args);
   11715 
   11716   const char *str;
   11717   int number;
   11718   float fnumber;
   11719 
   11720   while (*format)
   11721     {
   11722       switch (*format++)
   11723 	{
   11724 	case 's': // string
   11725 	  str = va_arg (args_copy, const char *);
   11726 	  break;
   11727 	case 'd': // int
   11728 	  number = va_arg (args_copy, int);
   11729 	  break;
   11730 	case 'f': // float
   11731 	  fnumber = va_arg (args_copy, double);
   11732 	  break;
   11733 	default:
   11734 	  break;
   11735 	}
   11736     }
   11737   va_end (args_copy);
   11738   va_end (args);
   11739 }
   11740 
   11741 int
   11742 main ()
   11743 {
   11744 
   11745   // Check bool.
   11746   _Bool success = false;
   11747 
   11748   // Check restrict.
   11749   if (test_restrict ("String literal") == 0)
   11750     success = true;
   11751   char *restrict newvar = "Another string";
   11752 
   11753   // Check varargs.
   11754   test_varargs ("s, d' f .", "string", 65, 34.234);
   11755   test_varargs_macros ();
   11756 
   11757   // Check flexible array members.
   11758   struct incomplete_array *ia =
   11759     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11760   ia->datasize = 10;
   11761   for (int i = 0; i < ia->datasize; ++i)
   11762     ia->data[i] = i * 1.234;
   11763 
   11764   // Check named initializers.
   11765   struct named_init ni = {
   11766     .number = 34,
   11767     .name = L"Test wide string",
   11768     .average = 543.34343,
   11769   };
   11770 
   11771   ni.number = 58;
   11772 
   11773   int dynamic_array[ni.number];
   11774   dynamic_array[ni.number - 1] = 543;
   11775 
   11776   // work around unused variable warnings
   11777   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11778 	  || dynamic_array[ni.number - 1] != 543);
   11779 
   11780   ;
   11781   return 0;
   11782 }
   11783 _ACEOF
   11784 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11785 do
   11786   CC="$ac_save_CC $ac_arg"
   11787   if ac_fn_c_try_compile "$LINENO"; then :
   11788   ac_cv_prog_cc_c99=$ac_arg
   11789 fi
   11790 rm -f core conftest.err conftest.$ac_objext
   11791   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11792 done
   11793 rm -f conftest.$ac_ext
   11794 CC=$ac_save_CC
   11795 
   11796 fi
   11797 # AC_CACHE_VAL
   11798 case "x$ac_cv_prog_cc_c99" in
   11799   x)
   11800     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11801 $as_echo "none needed" >&6; } ;;
   11802   xno)
   11803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11804 $as_echo "unsupported" >&6; } ;;
   11805   *)
   11806     CC="$CC $ac_cv_prog_cc_c99"
   11807     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11808 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11809 esac
   11810 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11811 
   11812 fi
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11820 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11821   CLANGCC="yes"
   11822 else
   11823   CLANGCC="no"
   11824 fi
   11825 
   11826 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11827 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11828   INTELCC="yes"
   11829 else
   11830   INTELCC="no"
   11831 fi
   11832 
   11833 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11834 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11835   SUNCC="yes"
   11836 else
   11837   SUNCC="no"
   11838 fi
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11849 	if test -n "$ac_tool_prefix"; then
   11850   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11851 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11853 $as_echo_n "checking for $ac_word... " >&6; }
   11854 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11855   $as_echo_n "(cached) " >&6
   11856 else
   11857   case $PKG_CONFIG in
   11858   [\\/]* | ?:[\\/]*)
   11859   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11860   ;;
   11861   *)
   11862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11863 for as_dir in $PATH
   11864 do
   11865   IFS=$as_save_IFS
   11866   test -z "$as_dir" && as_dir=.
   11867     for ac_exec_ext in '' $ac_executable_extensions; do
   11868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11869     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11871     break 2
   11872   fi
   11873 done
   11874   done
   11875 IFS=$as_save_IFS
   11876 
   11877   ;;
   11878 esac
   11879 fi
   11880 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11881 if test -n "$PKG_CONFIG"; then
   11882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11883 $as_echo "$PKG_CONFIG" >&6; }
   11884 else
   11885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11886 $as_echo "no" >&6; }
   11887 fi
   11888 
   11889 
   11890 fi
   11891 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11892   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11893   # Extract the first word of "pkg-config", so it can be a program name with args.
   11894 set dummy pkg-config; ac_word=$2
   11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11896 $as_echo_n "checking for $ac_word... " >&6; }
   11897 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11898   $as_echo_n "(cached) " >&6
   11899 else
   11900   case $ac_pt_PKG_CONFIG in
   11901   [\\/]* | ?:[\\/]*)
   11902   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11903   ;;
   11904   *)
   11905   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11906 for as_dir in $PATH
   11907 do
   11908   IFS=$as_save_IFS
   11909   test -z "$as_dir" && as_dir=.
   11910     for ac_exec_ext in '' $ac_executable_extensions; do
   11911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11912     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11914     break 2
   11915   fi
   11916 done
   11917   done
   11918 IFS=$as_save_IFS
   11919 
   11920   ;;
   11921 esac
   11922 fi
   11923 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11924 if test -n "$ac_pt_PKG_CONFIG"; then
   11925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11926 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11927 else
   11928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11929 $as_echo "no" >&6; }
   11930 fi
   11931 
   11932   if test "x$ac_pt_PKG_CONFIG" = x; then
   11933     PKG_CONFIG=""
   11934   else
   11935     case $cross_compiling:$ac_tool_warned in
   11936 yes:)
   11937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11939 ac_tool_warned=yes ;;
   11940 esac
   11941     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11942   fi
   11943 else
   11944   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11945 fi
   11946 
   11947 fi
   11948 if test -n "$PKG_CONFIG"; then
   11949 	_pkg_min_version=0.9.0
   11950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11951 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11952 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11954 $as_echo "yes" >&6; }
   11955 	else
   11956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11957 $as_echo "no" >&6; }
   11958 		PKG_CONFIG=""
   11959 	fi
   11960 fi
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 # Check whether --enable-selective-werror was given.
   11967 if test "${enable_selective_werror+set}" = set; then :
   11968   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11969 else
   11970   SELECTIVE_WERROR=yes
   11971 fi
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11978 if test "x$SUNCC" = "xyes"; then
   11979     BASE_CFLAGS="-v"
   11980 else
   11981     BASE_CFLAGS=""
   11982 fi
   11983 
   11984 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 xorg_testset_save_CFLAGS="$CFLAGS"
   11999 
   12000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12003 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12004 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12005   $as_echo_n "(cached) " >&6
   12006 else
   12007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12008 /* end confdefs.h.  */
   12009 int i;
   12010 _ACEOF
   12011 if ac_fn_c_try_compile "$LINENO"; then :
   12012   xorg_cv_cc_flag_unknown_warning_option=yes
   12013 else
   12014   xorg_cv_cc_flag_unknown_warning_option=no
   12015 fi
   12016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12017 fi
   12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12019 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12020 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12021 	CFLAGS="$xorg_testset_save_CFLAGS"
   12022 fi
   12023 
   12024 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12025 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12026 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12027 	fi
   12028 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12030 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12031 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12032   $as_echo_n "(cached) " >&6
   12033 else
   12034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12035 /* end confdefs.h.  */
   12036 int i;
   12037 _ACEOF
   12038 if ac_fn_c_try_compile "$LINENO"; then :
   12039   xorg_cv_cc_flag_unused_command_line_argument=yes
   12040 else
   12041   xorg_cv_cc_flag_unused_command_line_argument=no
   12042 fi
   12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12044 fi
   12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12046 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12048 	CFLAGS="$xorg_testset_save_CFLAGS"
   12049 fi
   12050 
   12051 found="no"
   12052 
   12053 	if test $found = "no" ; then
   12054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12056 		fi
   12057 
   12058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12060 		fi
   12061 
   12062 		CFLAGS="$CFLAGS -Wall"
   12063 
   12064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12065 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12066 		cacheid=xorg_cv_cc_flag__Wall
   12067 		if eval \${$cacheid+:} false; then :
   12068   $as_echo_n "(cached) " >&6
   12069 else
   12070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12071 /* end confdefs.h.  */
   12072 int i;
   12073 int
   12074 main ()
   12075 {
   12076 
   12077   ;
   12078   return 0;
   12079 }
   12080 _ACEOF
   12081 if ac_fn_c_try_link "$LINENO"; then :
   12082   eval $cacheid=yes
   12083 else
   12084   eval $cacheid=no
   12085 fi
   12086 rm -f core conftest.err conftest.$ac_objext \
   12087     conftest$ac_exeext conftest.$ac_ext
   12088 fi
   12089 
   12090 
   12091 		CFLAGS="$xorg_testset_save_CFLAGS"
   12092 
   12093 		eval supported=\$$cacheid
   12094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12095 $as_echo "$supported" >&6; }
   12096 		if test "$supported" = "yes" ; then
   12097 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12098 			found="yes"
   12099 		fi
   12100 	fi
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 xorg_testset_save_CFLAGS="$CFLAGS"
   12117 
   12118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12121 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12122 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12123   $as_echo_n "(cached) " >&6
   12124 else
   12125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12126 /* end confdefs.h.  */
   12127 int i;
   12128 _ACEOF
   12129 if ac_fn_c_try_compile "$LINENO"; then :
   12130   xorg_cv_cc_flag_unknown_warning_option=yes
   12131 else
   12132   xorg_cv_cc_flag_unknown_warning_option=no
   12133 fi
   12134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12135 fi
   12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12137 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12139 	CFLAGS="$xorg_testset_save_CFLAGS"
   12140 fi
   12141 
   12142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12145 	fi
   12146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12148 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12149 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12150   $as_echo_n "(cached) " >&6
   12151 else
   12152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12153 /* end confdefs.h.  */
   12154 int i;
   12155 _ACEOF
   12156 if ac_fn_c_try_compile "$LINENO"; then :
   12157   xorg_cv_cc_flag_unused_command_line_argument=yes
   12158 else
   12159   xorg_cv_cc_flag_unused_command_line_argument=no
   12160 fi
   12161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12162 fi
   12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12164 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12166 	CFLAGS="$xorg_testset_save_CFLAGS"
   12167 fi
   12168 
   12169 found="no"
   12170 
   12171 	if test $found = "no" ; then
   12172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12174 		fi
   12175 
   12176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12178 		fi
   12179 
   12180 		CFLAGS="$CFLAGS -Wpointer-arith"
   12181 
   12182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12183 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12184 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12185 		if eval \${$cacheid+:} false; then :
   12186   $as_echo_n "(cached) " >&6
   12187 else
   12188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12189 /* end confdefs.h.  */
   12190 int i;
   12191 int
   12192 main ()
   12193 {
   12194 
   12195   ;
   12196   return 0;
   12197 }
   12198 _ACEOF
   12199 if ac_fn_c_try_link "$LINENO"; then :
   12200   eval $cacheid=yes
   12201 else
   12202   eval $cacheid=no
   12203 fi
   12204 rm -f core conftest.err conftest.$ac_objext \
   12205     conftest$ac_exeext conftest.$ac_ext
   12206 fi
   12207 
   12208 
   12209 		CFLAGS="$xorg_testset_save_CFLAGS"
   12210 
   12211 		eval supported=\$$cacheid
   12212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12213 $as_echo "$supported" >&6; }
   12214 		if test "$supported" = "yes" ; then
   12215 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12216 			found="yes"
   12217 		fi
   12218 	fi
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 xorg_testset_save_CFLAGS="$CFLAGS"
   12235 
   12236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12239 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12240 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12241   $as_echo_n "(cached) " >&6
   12242 else
   12243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12244 /* end confdefs.h.  */
   12245 int i;
   12246 _ACEOF
   12247 if ac_fn_c_try_compile "$LINENO"; then :
   12248   xorg_cv_cc_flag_unknown_warning_option=yes
   12249 else
   12250   xorg_cv_cc_flag_unknown_warning_option=no
   12251 fi
   12252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12253 fi
   12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12255 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12257 	CFLAGS="$xorg_testset_save_CFLAGS"
   12258 fi
   12259 
   12260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12263 	fi
   12264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12266 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12267 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12268   $as_echo_n "(cached) " >&6
   12269 else
   12270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12271 /* end confdefs.h.  */
   12272 int i;
   12273 _ACEOF
   12274 if ac_fn_c_try_compile "$LINENO"; then :
   12275   xorg_cv_cc_flag_unused_command_line_argument=yes
   12276 else
   12277   xorg_cv_cc_flag_unused_command_line_argument=no
   12278 fi
   12279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12280 fi
   12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12282 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12284 	CFLAGS="$xorg_testset_save_CFLAGS"
   12285 fi
   12286 
   12287 found="no"
   12288 
   12289 	if test $found = "no" ; then
   12290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12292 		fi
   12293 
   12294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12296 		fi
   12297 
   12298 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12299 
   12300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12301 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12302 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12303 		if eval \${$cacheid+:} false; then :
   12304   $as_echo_n "(cached) " >&6
   12305 else
   12306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12307 /* end confdefs.h.  */
   12308 int i;
   12309 int
   12310 main ()
   12311 {
   12312 
   12313   ;
   12314   return 0;
   12315 }
   12316 _ACEOF
   12317 if ac_fn_c_try_link "$LINENO"; then :
   12318   eval $cacheid=yes
   12319 else
   12320   eval $cacheid=no
   12321 fi
   12322 rm -f core conftest.err conftest.$ac_objext \
   12323     conftest$ac_exeext conftest.$ac_ext
   12324 fi
   12325 
   12326 
   12327 		CFLAGS="$xorg_testset_save_CFLAGS"
   12328 
   12329 		eval supported=\$$cacheid
   12330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12331 $as_echo "$supported" >&6; }
   12332 		if test "$supported" = "yes" ; then
   12333 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12334 			found="yes"
   12335 		fi
   12336 	fi
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 xorg_testset_save_CFLAGS="$CFLAGS"
   12353 
   12354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12357 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12358 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12359   $as_echo_n "(cached) " >&6
   12360 else
   12361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12362 /* end confdefs.h.  */
   12363 int i;
   12364 _ACEOF
   12365 if ac_fn_c_try_compile "$LINENO"; then :
   12366   xorg_cv_cc_flag_unknown_warning_option=yes
   12367 else
   12368   xorg_cv_cc_flag_unknown_warning_option=no
   12369 fi
   12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12371 fi
   12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12373 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12375 	CFLAGS="$xorg_testset_save_CFLAGS"
   12376 fi
   12377 
   12378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12381 	fi
   12382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12384 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12385 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12386   $as_echo_n "(cached) " >&6
   12387 else
   12388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12389 /* end confdefs.h.  */
   12390 int i;
   12391 _ACEOF
   12392 if ac_fn_c_try_compile "$LINENO"; then :
   12393   xorg_cv_cc_flag_unused_command_line_argument=yes
   12394 else
   12395   xorg_cv_cc_flag_unused_command_line_argument=no
   12396 fi
   12397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12398 fi
   12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12400 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12402 	CFLAGS="$xorg_testset_save_CFLAGS"
   12403 fi
   12404 
   12405 found="no"
   12406 
   12407 	if test $found = "no" ; then
   12408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12410 		fi
   12411 
   12412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12414 		fi
   12415 
   12416 		CFLAGS="$CFLAGS -Wformat=2"
   12417 
   12418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12419 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12420 		cacheid=xorg_cv_cc_flag__Wformat_2
   12421 		if eval \${$cacheid+:} false; then :
   12422   $as_echo_n "(cached) " >&6
   12423 else
   12424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12425 /* end confdefs.h.  */
   12426 int i;
   12427 int
   12428 main ()
   12429 {
   12430 
   12431   ;
   12432   return 0;
   12433 }
   12434 _ACEOF
   12435 if ac_fn_c_try_link "$LINENO"; then :
   12436   eval $cacheid=yes
   12437 else
   12438   eval $cacheid=no
   12439 fi
   12440 rm -f core conftest.err conftest.$ac_objext \
   12441     conftest$ac_exeext conftest.$ac_ext
   12442 fi
   12443 
   12444 
   12445 		CFLAGS="$xorg_testset_save_CFLAGS"
   12446 
   12447 		eval supported=\$$cacheid
   12448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12449 $as_echo "$supported" >&6; }
   12450 		if test "$supported" = "yes" ; then
   12451 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12452 			found="yes"
   12453 		fi
   12454 	fi
   12455 
   12456 	if test $found = "no" ; then
   12457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12459 		fi
   12460 
   12461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12463 		fi
   12464 
   12465 		CFLAGS="$CFLAGS -Wformat"
   12466 
   12467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12468 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12469 		cacheid=xorg_cv_cc_flag__Wformat
   12470 		if eval \${$cacheid+:} false; then :
   12471   $as_echo_n "(cached) " >&6
   12472 else
   12473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12474 /* end confdefs.h.  */
   12475 int i;
   12476 int
   12477 main ()
   12478 {
   12479 
   12480   ;
   12481   return 0;
   12482 }
   12483 _ACEOF
   12484 if ac_fn_c_try_link "$LINENO"; then :
   12485   eval $cacheid=yes
   12486 else
   12487   eval $cacheid=no
   12488 fi
   12489 rm -f core conftest.err conftest.$ac_objext \
   12490     conftest$ac_exeext conftest.$ac_ext
   12491 fi
   12492 
   12493 
   12494 		CFLAGS="$xorg_testset_save_CFLAGS"
   12495 
   12496 		eval supported=\$$cacheid
   12497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12498 $as_echo "$supported" >&6; }
   12499 		if test "$supported" = "yes" ; then
   12500 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12501 			found="yes"
   12502 		fi
   12503 	fi
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 xorg_testset_save_CFLAGS="$CFLAGS"
   12522 
   12523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12526 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12527 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12528   $as_echo_n "(cached) " >&6
   12529 else
   12530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12531 /* end confdefs.h.  */
   12532 int i;
   12533 _ACEOF
   12534 if ac_fn_c_try_compile "$LINENO"; then :
   12535   xorg_cv_cc_flag_unknown_warning_option=yes
   12536 else
   12537   xorg_cv_cc_flag_unknown_warning_option=no
   12538 fi
   12539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12540 fi
   12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12542 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12544 	CFLAGS="$xorg_testset_save_CFLAGS"
   12545 fi
   12546 
   12547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12550 	fi
   12551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12553 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12554 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12555   $as_echo_n "(cached) " >&6
   12556 else
   12557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12558 /* end confdefs.h.  */
   12559 int i;
   12560 _ACEOF
   12561 if ac_fn_c_try_compile "$LINENO"; then :
   12562   xorg_cv_cc_flag_unused_command_line_argument=yes
   12563 else
   12564   xorg_cv_cc_flag_unused_command_line_argument=no
   12565 fi
   12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12567 fi
   12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12569 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12571 	CFLAGS="$xorg_testset_save_CFLAGS"
   12572 fi
   12573 
   12574 found="no"
   12575 
   12576 	if test $found = "no" ; then
   12577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12579 		fi
   12580 
   12581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12583 		fi
   12584 
   12585 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12586 
   12587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12588 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12589 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12590 		if eval \${$cacheid+:} false; then :
   12591   $as_echo_n "(cached) " >&6
   12592 else
   12593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12594 /* end confdefs.h.  */
   12595 int i;
   12596 int
   12597 main ()
   12598 {
   12599 
   12600   ;
   12601   return 0;
   12602 }
   12603 _ACEOF
   12604 if ac_fn_c_try_link "$LINENO"; then :
   12605   eval $cacheid=yes
   12606 else
   12607   eval $cacheid=no
   12608 fi
   12609 rm -f core conftest.err conftest.$ac_objext \
   12610     conftest$ac_exeext conftest.$ac_ext
   12611 fi
   12612 
   12613 
   12614 		CFLAGS="$xorg_testset_save_CFLAGS"
   12615 
   12616 		eval supported=\$$cacheid
   12617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12618 $as_echo "$supported" >&6; }
   12619 		if test "$supported" = "yes" ; then
   12620 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12621 			found="yes"
   12622 		fi
   12623 	fi
   12624 
   12625 
   12626 
   12627 
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 xorg_testset_save_CFLAGS="$CFLAGS"
   12640 
   12641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12644 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12645 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12646   $as_echo_n "(cached) " >&6
   12647 else
   12648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12649 /* end confdefs.h.  */
   12650 int i;
   12651 _ACEOF
   12652 if ac_fn_c_try_compile "$LINENO"; then :
   12653   xorg_cv_cc_flag_unknown_warning_option=yes
   12654 else
   12655   xorg_cv_cc_flag_unknown_warning_option=no
   12656 fi
   12657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12658 fi
   12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12660 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12662 	CFLAGS="$xorg_testset_save_CFLAGS"
   12663 fi
   12664 
   12665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12668 	fi
   12669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12671 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12672 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12673   $as_echo_n "(cached) " >&6
   12674 else
   12675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12676 /* end confdefs.h.  */
   12677 int i;
   12678 _ACEOF
   12679 if ac_fn_c_try_compile "$LINENO"; then :
   12680   xorg_cv_cc_flag_unused_command_line_argument=yes
   12681 else
   12682   xorg_cv_cc_flag_unused_command_line_argument=no
   12683 fi
   12684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12685 fi
   12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12687 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12689 	CFLAGS="$xorg_testset_save_CFLAGS"
   12690 fi
   12691 
   12692 found="no"
   12693 
   12694 	if test $found = "no" ; then
   12695 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12697 		fi
   12698 
   12699 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12701 		fi
   12702 
   12703 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12704 
   12705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12706 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12707 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12708 		if eval \${$cacheid+:} false; then :
   12709   $as_echo_n "(cached) " >&6
   12710 else
   12711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12712 /* end confdefs.h.  */
   12713 int i;
   12714 int
   12715 main ()
   12716 {
   12717 
   12718   ;
   12719   return 0;
   12720 }
   12721 _ACEOF
   12722 if ac_fn_c_try_link "$LINENO"; then :
   12723   eval $cacheid=yes
   12724 else
   12725   eval $cacheid=no
   12726 fi
   12727 rm -f core conftest.err conftest.$ac_objext \
   12728     conftest$ac_exeext conftest.$ac_ext
   12729 fi
   12730 
   12731 
   12732 		CFLAGS="$xorg_testset_save_CFLAGS"
   12733 
   12734 		eval supported=\$$cacheid
   12735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12736 $as_echo "$supported" >&6; }
   12737 		if test "$supported" = "yes" ; then
   12738 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12739 			found="yes"
   12740 		fi
   12741 	fi
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 xorg_testset_save_CFLAGS="$CFLAGS"
   12758 
   12759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12762 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12763 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12764   $as_echo_n "(cached) " >&6
   12765 else
   12766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12767 /* end confdefs.h.  */
   12768 int i;
   12769 _ACEOF
   12770 if ac_fn_c_try_compile "$LINENO"; then :
   12771   xorg_cv_cc_flag_unknown_warning_option=yes
   12772 else
   12773   xorg_cv_cc_flag_unknown_warning_option=no
   12774 fi
   12775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12776 fi
   12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12778 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12780 	CFLAGS="$xorg_testset_save_CFLAGS"
   12781 fi
   12782 
   12783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12786 	fi
   12787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12789 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12790 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12791   $as_echo_n "(cached) " >&6
   12792 else
   12793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12794 /* end confdefs.h.  */
   12795 int i;
   12796 _ACEOF
   12797 if ac_fn_c_try_compile "$LINENO"; then :
   12798   xorg_cv_cc_flag_unused_command_line_argument=yes
   12799 else
   12800   xorg_cv_cc_flag_unused_command_line_argument=no
   12801 fi
   12802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12803 fi
   12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12805 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12807 	CFLAGS="$xorg_testset_save_CFLAGS"
   12808 fi
   12809 
   12810 found="no"
   12811 
   12812 	if test $found = "no" ; then
   12813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12815 		fi
   12816 
   12817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12819 		fi
   12820 
   12821 		CFLAGS="$CFLAGS -Wnested-externs"
   12822 
   12823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12824 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12825 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12826 		if eval \${$cacheid+:} false; then :
   12827   $as_echo_n "(cached) " >&6
   12828 else
   12829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12830 /* end confdefs.h.  */
   12831 int i;
   12832 int
   12833 main ()
   12834 {
   12835 
   12836   ;
   12837   return 0;
   12838 }
   12839 _ACEOF
   12840 if ac_fn_c_try_link "$LINENO"; then :
   12841   eval $cacheid=yes
   12842 else
   12843   eval $cacheid=no
   12844 fi
   12845 rm -f core conftest.err conftest.$ac_objext \
   12846     conftest$ac_exeext conftest.$ac_ext
   12847 fi
   12848 
   12849 
   12850 		CFLAGS="$xorg_testset_save_CFLAGS"
   12851 
   12852 		eval supported=\$$cacheid
   12853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12854 $as_echo "$supported" >&6; }
   12855 		if test "$supported" = "yes" ; then
   12856 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12857 			found="yes"
   12858 		fi
   12859 	fi
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 xorg_testset_save_CFLAGS="$CFLAGS"
   12876 
   12877 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12878 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12880 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12881 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12882   $as_echo_n "(cached) " >&6
   12883 else
   12884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12885 /* end confdefs.h.  */
   12886 int i;
   12887 _ACEOF
   12888 if ac_fn_c_try_compile "$LINENO"; then :
   12889   xorg_cv_cc_flag_unknown_warning_option=yes
   12890 else
   12891   xorg_cv_cc_flag_unknown_warning_option=no
   12892 fi
   12893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12894 fi
   12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12896 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12898 	CFLAGS="$xorg_testset_save_CFLAGS"
   12899 fi
   12900 
   12901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12904 	fi
   12905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12907 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12908 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12909   $as_echo_n "(cached) " >&6
   12910 else
   12911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12912 /* end confdefs.h.  */
   12913 int i;
   12914 _ACEOF
   12915 if ac_fn_c_try_compile "$LINENO"; then :
   12916   xorg_cv_cc_flag_unused_command_line_argument=yes
   12917 else
   12918   xorg_cv_cc_flag_unused_command_line_argument=no
   12919 fi
   12920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12921 fi
   12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12923 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12925 	CFLAGS="$xorg_testset_save_CFLAGS"
   12926 fi
   12927 
   12928 found="no"
   12929 
   12930 	if test $found = "no" ; then
   12931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12933 		fi
   12934 
   12935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12937 		fi
   12938 
   12939 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12940 
   12941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12942 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12943 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12944 		if eval \${$cacheid+:} false; then :
   12945   $as_echo_n "(cached) " >&6
   12946 else
   12947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12948 /* end confdefs.h.  */
   12949 int i;
   12950 int
   12951 main ()
   12952 {
   12953 
   12954   ;
   12955   return 0;
   12956 }
   12957 _ACEOF
   12958 if ac_fn_c_try_link "$LINENO"; then :
   12959   eval $cacheid=yes
   12960 else
   12961   eval $cacheid=no
   12962 fi
   12963 rm -f core conftest.err conftest.$ac_objext \
   12964     conftest$ac_exeext conftest.$ac_ext
   12965 fi
   12966 
   12967 
   12968 		CFLAGS="$xorg_testset_save_CFLAGS"
   12969 
   12970 		eval supported=\$$cacheid
   12971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12972 $as_echo "$supported" >&6; }
   12973 		if test "$supported" = "yes" ; then
   12974 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12975 			found="yes"
   12976 		fi
   12977 	fi
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 xorg_testset_save_CFLAGS="$CFLAGS"
   12994 
   12995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12998 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12999 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13000   $as_echo_n "(cached) " >&6
   13001 else
   13002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13003 /* end confdefs.h.  */
   13004 int i;
   13005 _ACEOF
   13006 if ac_fn_c_try_compile "$LINENO"; then :
   13007   xorg_cv_cc_flag_unknown_warning_option=yes
   13008 else
   13009   xorg_cv_cc_flag_unknown_warning_option=no
   13010 fi
   13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13012 fi
   13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13014 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13016 	CFLAGS="$xorg_testset_save_CFLAGS"
   13017 fi
   13018 
   13019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13022 	fi
   13023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13025 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13026 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13027   $as_echo_n "(cached) " >&6
   13028 else
   13029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13030 /* end confdefs.h.  */
   13031 int i;
   13032 _ACEOF
   13033 if ac_fn_c_try_compile "$LINENO"; then :
   13034   xorg_cv_cc_flag_unused_command_line_argument=yes
   13035 else
   13036   xorg_cv_cc_flag_unused_command_line_argument=no
   13037 fi
   13038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13039 fi
   13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13041 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13043 	CFLAGS="$xorg_testset_save_CFLAGS"
   13044 fi
   13045 
   13046 found="no"
   13047 
   13048 	if test $found = "no" ; then
   13049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13051 		fi
   13052 
   13053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13055 		fi
   13056 
   13057 		CFLAGS="$CFLAGS -Wold-style-definition"
   13058 
   13059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13060 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13061 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13062 		if eval \${$cacheid+:} false; then :
   13063   $as_echo_n "(cached) " >&6
   13064 else
   13065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13066 /* end confdefs.h.  */
   13067 int i;
   13068 int
   13069 main ()
   13070 {
   13071 
   13072   ;
   13073   return 0;
   13074 }
   13075 _ACEOF
   13076 if ac_fn_c_try_link "$LINENO"; then :
   13077   eval $cacheid=yes
   13078 else
   13079   eval $cacheid=no
   13080 fi
   13081 rm -f core conftest.err conftest.$ac_objext \
   13082     conftest$ac_exeext conftest.$ac_ext
   13083 fi
   13084 
   13085 
   13086 		CFLAGS="$xorg_testset_save_CFLAGS"
   13087 
   13088 		eval supported=\$$cacheid
   13089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13090 $as_echo "$supported" >&6; }
   13091 		if test "$supported" = "yes" ; then
   13092 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13093 			found="yes"
   13094 		fi
   13095 	fi
   13096 
   13097 	if test $found = "no" ; then
   13098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13100 		fi
   13101 
   13102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13104 		fi
   13105 
   13106 		CFLAGS="$CFLAGS -fd"
   13107 
   13108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13109 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13110 		cacheid=xorg_cv_cc_flag__fd
   13111 		if eval \${$cacheid+:} false; then :
   13112   $as_echo_n "(cached) " >&6
   13113 else
   13114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13115 /* end confdefs.h.  */
   13116 int i;
   13117 int
   13118 main ()
   13119 {
   13120 
   13121   ;
   13122   return 0;
   13123 }
   13124 _ACEOF
   13125 if ac_fn_c_try_link "$LINENO"; then :
   13126   eval $cacheid=yes
   13127 else
   13128   eval $cacheid=no
   13129 fi
   13130 rm -f core conftest.err conftest.$ac_objext \
   13131     conftest$ac_exeext conftest.$ac_ext
   13132 fi
   13133 
   13134 
   13135 		CFLAGS="$xorg_testset_save_CFLAGS"
   13136 
   13137 		eval supported=\$$cacheid
   13138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13139 $as_echo "$supported" >&6; }
   13140 		if test "$supported" = "yes" ; then
   13141 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13142 			found="yes"
   13143 		fi
   13144 	fi
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 xorg_testset_save_CFLAGS="$CFLAGS"
   13161 
   13162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13165 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13166 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13167   $as_echo_n "(cached) " >&6
   13168 else
   13169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13170 /* end confdefs.h.  */
   13171 int i;
   13172 _ACEOF
   13173 if ac_fn_c_try_compile "$LINENO"; then :
   13174   xorg_cv_cc_flag_unknown_warning_option=yes
   13175 else
   13176   xorg_cv_cc_flag_unknown_warning_option=no
   13177 fi
   13178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13179 fi
   13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13181 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13183 	CFLAGS="$xorg_testset_save_CFLAGS"
   13184 fi
   13185 
   13186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13189 	fi
   13190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13192 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13193 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13194   $as_echo_n "(cached) " >&6
   13195 else
   13196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13197 /* end confdefs.h.  */
   13198 int i;
   13199 _ACEOF
   13200 if ac_fn_c_try_compile "$LINENO"; then :
   13201   xorg_cv_cc_flag_unused_command_line_argument=yes
   13202 else
   13203   xorg_cv_cc_flag_unused_command_line_argument=no
   13204 fi
   13205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13206 fi
   13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13208 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13210 	CFLAGS="$xorg_testset_save_CFLAGS"
   13211 fi
   13212 
   13213 found="no"
   13214 
   13215 	if test $found = "no" ; then
   13216 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13218 		fi
   13219 
   13220 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13222 		fi
   13223 
   13224 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13225 
   13226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13227 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13228 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13229 		if eval \${$cacheid+:} false; then :
   13230   $as_echo_n "(cached) " >&6
   13231 else
   13232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13233 /* end confdefs.h.  */
   13234 int i;
   13235 int
   13236 main ()
   13237 {
   13238 
   13239   ;
   13240   return 0;
   13241 }
   13242 _ACEOF
   13243 if ac_fn_c_try_link "$LINENO"; then :
   13244   eval $cacheid=yes
   13245 else
   13246   eval $cacheid=no
   13247 fi
   13248 rm -f core conftest.err conftest.$ac_objext \
   13249     conftest$ac_exeext conftest.$ac_ext
   13250 fi
   13251 
   13252 
   13253 		CFLAGS="$xorg_testset_save_CFLAGS"
   13254 
   13255 		eval supported=\$$cacheid
   13256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13257 $as_echo "$supported" >&6; }
   13258 		if test "$supported" = "yes" ; then
   13259 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13260 			found="yes"
   13261 		fi
   13262 	fi
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 # This chunk adds additional warnings that could catch undesired effects.
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 xorg_testset_save_CFLAGS="$CFLAGS"
   13283 
   13284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13289   $as_echo_n "(cached) " >&6
   13290 else
   13291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13292 /* end confdefs.h.  */
   13293 int i;
   13294 _ACEOF
   13295 if ac_fn_c_try_compile "$LINENO"; then :
   13296   xorg_cv_cc_flag_unknown_warning_option=yes
   13297 else
   13298   xorg_cv_cc_flag_unknown_warning_option=no
   13299 fi
   13300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13301 fi
   13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13305 	CFLAGS="$xorg_testset_save_CFLAGS"
   13306 fi
   13307 
   13308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13311 	fi
   13312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13316   $as_echo_n "(cached) " >&6
   13317 else
   13318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13319 /* end confdefs.h.  */
   13320 int i;
   13321 _ACEOF
   13322 if ac_fn_c_try_compile "$LINENO"; then :
   13323   xorg_cv_cc_flag_unused_command_line_argument=yes
   13324 else
   13325   xorg_cv_cc_flag_unused_command_line_argument=no
   13326 fi
   13327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13328 fi
   13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13332 	CFLAGS="$xorg_testset_save_CFLAGS"
   13333 fi
   13334 
   13335 found="no"
   13336 
   13337 	if test $found = "no" ; then
   13338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13340 		fi
   13341 
   13342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13344 		fi
   13345 
   13346 		CFLAGS="$CFLAGS -Wunused"
   13347 
   13348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13349 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13350 		cacheid=xorg_cv_cc_flag__Wunused
   13351 		if eval \${$cacheid+:} false; then :
   13352   $as_echo_n "(cached) " >&6
   13353 else
   13354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13355 /* end confdefs.h.  */
   13356 int i;
   13357 int
   13358 main ()
   13359 {
   13360 
   13361   ;
   13362   return 0;
   13363 }
   13364 _ACEOF
   13365 if ac_fn_c_try_link "$LINENO"; then :
   13366   eval $cacheid=yes
   13367 else
   13368   eval $cacheid=no
   13369 fi
   13370 rm -f core conftest.err conftest.$ac_objext \
   13371     conftest$ac_exeext conftest.$ac_ext
   13372 fi
   13373 
   13374 
   13375 		CFLAGS="$xorg_testset_save_CFLAGS"
   13376 
   13377 		eval supported=\$$cacheid
   13378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13379 $as_echo "$supported" >&6; }
   13380 		if test "$supported" = "yes" ; then
   13381 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13382 			found="yes"
   13383 		fi
   13384 	fi
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 xorg_testset_save_CFLAGS="$CFLAGS"
   13401 
   13402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13407   $as_echo_n "(cached) " >&6
   13408 else
   13409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13410 /* end confdefs.h.  */
   13411 int i;
   13412 _ACEOF
   13413 if ac_fn_c_try_compile "$LINENO"; then :
   13414   xorg_cv_cc_flag_unknown_warning_option=yes
   13415 else
   13416   xorg_cv_cc_flag_unknown_warning_option=no
   13417 fi
   13418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13419 fi
   13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13423 	CFLAGS="$xorg_testset_save_CFLAGS"
   13424 fi
   13425 
   13426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13429 	fi
   13430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13434   $as_echo_n "(cached) " >&6
   13435 else
   13436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13437 /* end confdefs.h.  */
   13438 int i;
   13439 _ACEOF
   13440 if ac_fn_c_try_compile "$LINENO"; then :
   13441   xorg_cv_cc_flag_unused_command_line_argument=yes
   13442 else
   13443   xorg_cv_cc_flag_unused_command_line_argument=no
   13444 fi
   13445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13446 fi
   13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13450 	CFLAGS="$xorg_testset_save_CFLAGS"
   13451 fi
   13452 
   13453 found="no"
   13454 
   13455 	if test $found = "no" ; then
   13456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13458 		fi
   13459 
   13460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13462 		fi
   13463 
   13464 		CFLAGS="$CFLAGS -Wuninitialized"
   13465 
   13466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13467 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13468 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13469 		if eval \${$cacheid+:} false; then :
   13470   $as_echo_n "(cached) " >&6
   13471 else
   13472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13473 /* end confdefs.h.  */
   13474 int i;
   13475 int
   13476 main ()
   13477 {
   13478 
   13479   ;
   13480   return 0;
   13481 }
   13482 _ACEOF
   13483 if ac_fn_c_try_link "$LINENO"; then :
   13484   eval $cacheid=yes
   13485 else
   13486   eval $cacheid=no
   13487 fi
   13488 rm -f core conftest.err conftest.$ac_objext \
   13489     conftest$ac_exeext conftest.$ac_ext
   13490 fi
   13491 
   13492 
   13493 		CFLAGS="$xorg_testset_save_CFLAGS"
   13494 
   13495 		eval supported=\$$cacheid
   13496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13497 $as_echo "$supported" >&6; }
   13498 		if test "$supported" = "yes" ; then
   13499 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13500 			found="yes"
   13501 		fi
   13502 	fi
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 xorg_testset_save_CFLAGS="$CFLAGS"
   13519 
   13520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13525   $as_echo_n "(cached) " >&6
   13526 else
   13527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13528 /* end confdefs.h.  */
   13529 int i;
   13530 _ACEOF
   13531 if ac_fn_c_try_compile "$LINENO"; then :
   13532   xorg_cv_cc_flag_unknown_warning_option=yes
   13533 else
   13534   xorg_cv_cc_flag_unknown_warning_option=no
   13535 fi
   13536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13537 fi
   13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13541 	CFLAGS="$xorg_testset_save_CFLAGS"
   13542 fi
   13543 
   13544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13547 	fi
   13548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13552   $as_echo_n "(cached) " >&6
   13553 else
   13554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13555 /* end confdefs.h.  */
   13556 int i;
   13557 _ACEOF
   13558 if ac_fn_c_try_compile "$LINENO"; then :
   13559   xorg_cv_cc_flag_unused_command_line_argument=yes
   13560 else
   13561   xorg_cv_cc_flag_unused_command_line_argument=no
   13562 fi
   13563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13564 fi
   13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13568 	CFLAGS="$xorg_testset_save_CFLAGS"
   13569 fi
   13570 
   13571 found="no"
   13572 
   13573 	if test $found = "no" ; then
   13574 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13576 		fi
   13577 
   13578 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13580 		fi
   13581 
   13582 		CFLAGS="$CFLAGS -Wshadow"
   13583 
   13584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13585 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13586 		cacheid=xorg_cv_cc_flag__Wshadow
   13587 		if eval \${$cacheid+:} false; then :
   13588   $as_echo_n "(cached) " >&6
   13589 else
   13590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13591 /* end confdefs.h.  */
   13592 int i;
   13593 int
   13594 main ()
   13595 {
   13596 
   13597   ;
   13598   return 0;
   13599 }
   13600 _ACEOF
   13601 if ac_fn_c_try_link "$LINENO"; then :
   13602   eval $cacheid=yes
   13603 else
   13604   eval $cacheid=no
   13605 fi
   13606 rm -f core conftest.err conftest.$ac_objext \
   13607     conftest$ac_exeext conftest.$ac_ext
   13608 fi
   13609 
   13610 
   13611 		CFLAGS="$xorg_testset_save_CFLAGS"
   13612 
   13613 		eval supported=\$$cacheid
   13614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13615 $as_echo "$supported" >&6; }
   13616 		if test "$supported" = "yes" ; then
   13617 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13618 			found="yes"
   13619 		fi
   13620 	fi
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 xorg_testset_save_CFLAGS="$CFLAGS"
   13637 
   13638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13643   $as_echo_n "(cached) " >&6
   13644 else
   13645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13646 /* end confdefs.h.  */
   13647 int i;
   13648 _ACEOF
   13649 if ac_fn_c_try_compile "$LINENO"; then :
   13650   xorg_cv_cc_flag_unknown_warning_option=yes
   13651 else
   13652   xorg_cv_cc_flag_unknown_warning_option=no
   13653 fi
   13654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13655 fi
   13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13659 	CFLAGS="$xorg_testset_save_CFLAGS"
   13660 fi
   13661 
   13662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13665 	fi
   13666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13670   $as_echo_n "(cached) " >&6
   13671 else
   13672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13673 /* end confdefs.h.  */
   13674 int i;
   13675 _ACEOF
   13676 if ac_fn_c_try_compile "$LINENO"; then :
   13677   xorg_cv_cc_flag_unused_command_line_argument=yes
   13678 else
   13679   xorg_cv_cc_flag_unused_command_line_argument=no
   13680 fi
   13681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13682 fi
   13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13686 	CFLAGS="$xorg_testset_save_CFLAGS"
   13687 fi
   13688 
   13689 found="no"
   13690 
   13691 	if test $found = "no" ; then
   13692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13694 		fi
   13695 
   13696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13698 		fi
   13699 
   13700 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13701 
   13702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13703 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13704 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13705 		if eval \${$cacheid+:} false; then :
   13706   $as_echo_n "(cached) " >&6
   13707 else
   13708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13709 /* end confdefs.h.  */
   13710 int i;
   13711 int
   13712 main ()
   13713 {
   13714 
   13715   ;
   13716   return 0;
   13717 }
   13718 _ACEOF
   13719 if ac_fn_c_try_link "$LINENO"; then :
   13720   eval $cacheid=yes
   13721 else
   13722   eval $cacheid=no
   13723 fi
   13724 rm -f core conftest.err conftest.$ac_objext \
   13725     conftest$ac_exeext conftest.$ac_ext
   13726 fi
   13727 
   13728 
   13729 		CFLAGS="$xorg_testset_save_CFLAGS"
   13730 
   13731 		eval supported=\$$cacheid
   13732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13733 $as_echo "$supported" >&6; }
   13734 		if test "$supported" = "yes" ; then
   13735 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13736 			found="yes"
   13737 		fi
   13738 	fi
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 xorg_testset_save_CFLAGS="$CFLAGS"
   13755 
   13756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13761   $as_echo_n "(cached) " >&6
   13762 else
   13763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13764 /* end confdefs.h.  */
   13765 int i;
   13766 _ACEOF
   13767 if ac_fn_c_try_compile "$LINENO"; then :
   13768   xorg_cv_cc_flag_unknown_warning_option=yes
   13769 else
   13770   xorg_cv_cc_flag_unknown_warning_option=no
   13771 fi
   13772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13773 fi
   13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13777 	CFLAGS="$xorg_testset_save_CFLAGS"
   13778 fi
   13779 
   13780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13783 	fi
   13784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13788   $as_echo_n "(cached) " >&6
   13789 else
   13790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13791 /* end confdefs.h.  */
   13792 int i;
   13793 _ACEOF
   13794 if ac_fn_c_try_compile "$LINENO"; then :
   13795   xorg_cv_cc_flag_unused_command_line_argument=yes
   13796 else
   13797   xorg_cv_cc_flag_unused_command_line_argument=no
   13798 fi
   13799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13800 fi
   13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13804 	CFLAGS="$xorg_testset_save_CFLAGS"
   13805 fi
   13806 
   13807 found="no"
   13808 
   13809 	if test $found = "no" ; then
   13810 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13812 		fi
   13813 
   13814 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13816 		fi
   13817 
   13818 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13819 
   13820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13821 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13822 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13823 		if eval \${$cacheid+:} false; then :
   13824   $as_echo_n "(cached) " >&6
   13825 else
   13826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13827 /* end confdefs.h.  */
   13828 int i;
   13829 int
   13830 main ()
   13831 {
   13832 
   13833   ;
   13834   return 0;
   13835 }
   13836 _ACEOF
   13837 if ac_fn_c_try_link "$LINENO"; then :
   13838   eval $cacheid=yes
   13839 else
   13840   eval $cacheid=no
   13841 fi
   13842 rm -f core conftest.err conftest.$ac_objext \
   13843     conftest$ac_exeext conftest.$ac_ext
   13844 fi
   13845 
   13846 
   13847 		CFLAGS="$xorg_testset_save_CFLAGS"
   13848 
   13849 		eval supported=\$$cacheid
   13850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13851 $as_echo "$supported" >&6; }
   13852 		if test "$supported" = "yes" ; then
   13853 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13854 			found="yes"
   13855 		fi
   13856 	fi
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 xorg_testset_save_CFLAGS="$CFLAGS"
   13873 
   13874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13879   $as_echo_n "(cached) " >&6
   13880 else
   13881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13882 /* end confdefs.h.  */
   13883 int i;
   13884 _ACEOF
   13885 if ac_fn_c_try_compile "$LINENO"; then :
   13886   xorg_cv_cc_flag_unknown_warning_option=yes
   13887 else
   13888   xorg_cv_cc_flag_unknown_warning_option=no
   13889 fi
   13890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13891 fi
   13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13895 	CFLAGS="$xorg_testset_save_CFLAGS"
   13896 fi
   13897 
   13898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13901 	fi
   13902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13906   $as_echo_n "(cached) " >&6
   13907 else
   13908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13909 /* end confdefs.h.  */
   13910 int i;
   13911 _ACEOF
   13912 if ac_fn_c_try_compile "$LINENO"; then :
   13913   xorg_cv_cc_flag_unused_command_line_argument=yes
   13914 else
   13915   xorg_cv_cc_flag_unused_command_line_argument=no
   13916 fi
   13917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13918 fi
   13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13922 	CFLAGS="$xorg_testset_save_CFLAGS"
   13923 fi
   13924 
   13925 found="no"
   13926 
   13927 	if test $found = "no" ; then
   13928 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13930 		fi
   13931 
   13932 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13934 		fi
   13935 
   13936 		CFLAGS="$CFLAGS -Wredundant-decls"
   13937 
   13938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13939 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13940 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13941 		if eval \${$cacheid+:} false; then :
   13942   $as_echo_n "(cached) " >&6
   13943 else
   13944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13945 /* end confdefs.h.  */
   13946 int i;
   13947 int
   13948 main ()
   13949 {
   13950 
   13951   ;
   13952   return 0;
   13953 }
   13954 _ACEOF
   13955 if ac_fn_c_try_link "$LINENO"; then :
   13956   eval $cacheid=yes
   13957 else
   13958   eval $cacheid=no
   13959 fi
   13960 rm -f core conftest.err conftest.$ac_objext \
   13961     conftest$ac_exeext conftest.$ac_ext
   13962 fi
   13963 
   13964 
   13965 		CFLAGS="$xorg_testset_save_CFLAGS"
   13966 
   13967 		eval supported=\$$cacheid
   13968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13969 $as_echo "$supported" >&6; }
   13970 		if test "$supported" = "yes" ; then
   13971 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13972 			found="yes"
   13973 		fi
   13974 	fi
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 xorg_testset_save_CFLAGS="$CFLAGS"
   13991 
   13992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13995 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13996 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13997   $as_echo_n "(cached) " >&6
   13998 else
   13999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14000 /* end confdefs.h.  */
   14001 int i;
   14002 _ACEOF
   14003 if ac_fn_c_try_compile "$LINENO"; then :
   14004   xorg_cv_cc_flag_unknown_warning_option=yes
   14005 else
   14006   xorg_cv_cc_flag_unknown_warning_option=no
   14007 fi
   14008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14009 fi
   14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14011 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14013 	CFLAGS="$xorg_testset_save_CFLAGS"
   14014 fi
   14015 
   14016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14019 	fi
   14020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14022 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14023 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14024   $as_echo_n "(cached) " >&6
   14025 else
   14026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14027 /* end confdefs.h.  */
   14028 int i;
   14029 _ACEOF
   14030 if ac_fn_c_try_compile "$LINENO"; then :
   14031   xorg_cv_cc_flag_unused_command_line_argument=yes
   14032 else
   14033   xorg_cv_cc_flag_unused_command_line_argument=no
   14034 fi
   14035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14036 fi
   14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14038 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14040 	CFLAGS="$xorg_testset_save_CFLAGS"
   14041 fi
   14042 
   14043 found="no"
   14044 
   14045 	if test $found = "no" ; then
   14046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14048 		fi
   14049 
   14050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14052 		fi
   14053 
   14054 		CFLAGS="$CFLAGS -Wlogical-op"
   14055 
   14056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14057 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14058 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14059 		if eval \${$cacheid+:} false; then :
   14060   $as_echo_n "(cached) " >&6
   14061 else
   14062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14063 /* end confdefs.h.  */
   14064 int i;
   14065 int
   14066 main ()
   14067 {
   14068 
   14069   ;
   14070   return 0;
   14071 }
   14072 _ACEOF
   14073 if ac_fn_c_try_link "$LINENO"; then :
   14074   eval $cacheid=yes
   14075 else
   14076   eval $cacheid=no
   14077 fi
   14078 rm -f core conftest.err conftest.$ac_objext \
   14079     conftest$ac_exeext conftest.$ac_ext
   14080 fi
   14081 
   14082 
   14083 		CFLAGS="$xorg_testset_save_CFLAGS"
   14084 
   14085 		eval supported=\$$cacheid
   14086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14087 $as_echo "$supported" >&6; }
   14088 		if test "$supported" = "yes" ; then
   14089 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14090 			found="yes"
   14091 		fi
   14092 	fi
   14093 
   14094 
   14095 
   14096 # These are currently disabled because they are noisy.  They will be enabled
   14097 # in the future once the codebase is sufficiently modernized to silence
   14098 # them.  For now, I don't want them to drown out the other warnings.
   14099 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14100 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14101 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14102 
   14103 # Turn some warnings into errors, so we don't accidently get successful builds
   14104 # when there are problems that should be fixed.
   14105 
   14106 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 xorg_testset_save_CFLAGS="$CFLAGS"
   14121 
   14122 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14125 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14126 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14127   $as_echo_n "(cached) " >&6
   14128 else
   14129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14130 /* end confdefs.h.  */
   14131 int i;
   14132 _ACEOF
   14133 if ac_fn_c_try_compile "$LINENO"; then :
   14134   xorg_cv_cc_flag_unknown_warning_option=yes
   14135 else
   14136   xorg_cv_cc_flag_unknown_warning_option=no
   14137 fi
   14138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14139 fi
   14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14141 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14143 	CFLAGS="$xorg_testset_save_CFLAGS"
   14144 fi
   14145 
   14146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14149 	fi
   14150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14152 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14153 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14154   $as_echo_n "(cached) " >&6
   14155 else
   14156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14157 /* end confdefs.h.  */
   14158 int i;
   14159 _ACEOF
   14160 if ac_fn_c_try_compile "$LINENO"; then :
   14161   xorg_cv_cc_flag_unused_command_line_argument=yes
   14162 else
   14163   xorg_cv_cc_flag_unused_command_line_argument=no
   14164 fi
   14165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14166 fi
   14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14168 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14170 	CFLAGS="$xorg_testset_save_CFLAGS"
   14171 fi
   14172 
   14173 found="no"
   14174 
   14175 	if test $found = "no" ; then
   14176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14178 		fi
   14179 
   14180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14182 		fi
   14183 
   14184 		CFLAGS="$CFLAGS -Werror=implicit"
   14185 
   14186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14187 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14188 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14189 		if eval \${$cacheid+:} false; then :
   14190   $as_echo_n "(cached) " >&6
   14191 else
   14192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14193 /* end confdefs.h.  */
   14194 int i;
   14195 int
   14196 main ()
   14197 {
   14198 
   14199   ;
   14200   return 0;
   14201 }
   14202 _ACEOF
   14203 if ac_fn_c_try_link "$LINENO"; then :
   14204   eval $cacheid=yes
   14205 else
   14206   eval $cacheid=no
   14207 fi
   14208 rm -f core conftest.err conftest.$ac_objext \
   14209     conftest$ac_exeext conftest.$ac_ext
   14210 fi
   14211 
   14212 
   14213 		CFLAGS="$xorg_testset_save_CFLAGS"
   14214 
   14215 		eval supported=\$$cacheid
   14216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14217 $as_echo "$supported" >&6; }
   14218 		if test "$supported" = "yes" ; then
   14219 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14220 			found="yes"
   14221 		fi
   14222 	fi
   14223 
   14224 	if test $found = "no" ; then
   14225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14227 		fi
   14228 
   14229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14231 		fi
   14232 
   14233 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14234 
   14235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14236 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14237 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14238 		if eval \${$cacheid+:} false; then :
   14239   $as_echo_n "(cached) " >&6
   14240 else
   14241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14242 /* end confdefs.h.  */
   14243 int i;
   14244 int
   14245 main ()
   14246 {
   14247 
   14248   ;
   14249   return 0;
   14250 }
   14251 _ACEOF
   14252 if ac_fn_c_try_link "$LINENO"; then :
   14253   eval $cacheid=yes
   14254 else
   14255   eval $cacheid=no
   14256 fi
   14257 rm -f core conftest.err conftest.$ac_objext \
   14258     conftest$ac_exeext conftest.$ac_ext
   14259 fi
   14260 
   14261 
   14262 		CFLAGS="$xorg_testset_save_CFLAGS"
   14263 
   14264 		eval supported=\$$cacheid
   14265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14266 $as_echo "$supported" >&6; }
   14267 		if test "$supported" = "yes" ; then
   14268 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14269 			found="yes"
   14270 		fi
   14271 	fi
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 xorg_testset_save_CFLAGS="$CFLAGS"
   14288 
   14289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14292 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14293 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14294   $as_echo_n "(cached) " >&6
   14295 else
   14296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14297 /* end confdefs.h.  */
   14298 int i;
   14299 _ACEOF
   14300 if ac_fn_c_try_compile "$LINENO"; then :
   14301   xorg_cv_cc_flag_unknown_warning_option=yes
   14302 else
   14303   xorg_cv_cc_flag_unknown_warning_option=no
   14304 fi
   14305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14306 fi
   14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14308 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14310 	CFLAGS="$xorg_testset_save_CFLAGS"
   14311 fi
   14312 
   14313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14316 	fi
   14317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14319 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14320 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14321   $as_echo_n "(cached) " >&6
   14322 else
   14323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14324 /* end confdefs.h.  */
   14325 int i;
   14326 _ACEOF
   14327 if ac_fn_c_try_compile "$LINENO"; then :
   14328   xorg_cv_cc_flag_unused_command_line_argument=yes
   14329 else
   14330   xorg_cv_cc_flag_unused_command_line_argument=no
   14331 fi
   14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14333 fi
   14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14335 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14337 	CFLAGS="$xorg_testset_save_CFLAGS"
   14338 fi
   14339 
   14340 found="no"
   14341 
   14342 	if test $found = "no" ; then
   14343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14345 		fi
   14346 
   14347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14349 		fi
   14350 
   14351 		CFLAGS="$CFLAGS -Werror=nonnull"
   14352 
   14353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14354 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14355 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14356 		if eval \${$cacheid+:} false; then :
   14357   $as_echo_n "(cached) " >&6
   14358 else
   14359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14360 /* end confdefs.h.  */
   14361 int i;
   14362 int
   14363 main ()
   14364 {
   14365 
   14366   ;
   14367   return 0;
   14368 }
   14369 _ACEOF
   14370 if ac_fn_c_try_link "$LINENO"; then :
   14371   eval $cacheid=yes
   14372 else
   14373   eval $cacheid=no
   14374 fi
   14375 rm -f core conftest.err conftest.$ac_objext \
   14376     conftest$ac_exeext conftest.$ac_ext
   14377 fi
   14378 
   14379 
   14380 		CFLAGS="$xorg_testset_save_CFLAGS"
   14381 
   14382 		eval supported=\$$cacheid
   14383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14384 $as_echo "$supported" >&6; }
   14385 		if test "$supported" = "yes" ; then
   14386 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14387 			found="yes"
   14388 		fi
   14389 	fi
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 xorg_testset_save_CFLAGS="$CFLAGS"
   14406 
   14407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14410 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14411 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14412   $as_echo_n "(cached) " >&6
   14413 else
   14414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14415 /* end confdefs.h.  */
   14416 int i;
   14417 _ACEOF
   14418 if ac_fn_c_try_compile "$LINENO"; then :
   14419   xorg_cv_cc_flag_unknown_warning_option=yes
   14420 else
   14421   xorg_cv_cc_flag_unknown_warning_option=no
   14422 fi
   14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14424 fi
   14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14426 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14428 	CFLAGS="$xorg_testset_save_CFLAGS"
   14429 fi
   14430 
   14431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14434 	fi
   14435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14437 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14438 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14439   $as_echo_n "(cached) " >&6
   14440 else
   14441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14442 /* end confdefs.h.  */
   14443 int i;
   14444 _ACEOF
   14445 if ac_fn_c_try_compile "$LINENO"; then :
   14446   xorg_cv_cc_flag_unused_command_line_argument=yes
   14447 else
   14448   xorg_cv_cc_flag_unused_command_line_argument=no
   14449 fi
   14450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14451 fi
   14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14453 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14455 	CFLAGS="$xorg_testset_save_CFLAGS"
   14456 fi
   14457 
   14458 found="no"
   14459 
   14460 	if test $found = "no" ; then
   14461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14463 		fi
   14464 
   14465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14467 		fi
   14468 
   14469 		CFLAGS="$CFLAGS -Werror=init-self"
   14470 
   14471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14472 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14473 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14474 		if eval \${$cacheid+:} false; then :
   14475   $as_echo_n "(cached) " >&6
   14476 else
   14477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14478 /* end confdefs.h.  */
   14479 int i;
   14480 int
   14481 main ()
   14482 {
   14483 
   14484   ;
   14485   return 0;
   14486 }
   14487 _ACEOF
   14488 if ac_fn_c_try_link "$LINENO"; then :
   14489   eval $cacheid=yes
   14490 else
   14491   eval $cacheid=no
   14492 fi
   14493 rm -f core conftest.err conftest.$ac_objext \
   14494     conftest$ac_exeext conftest.$ac_ext
   14495 fi
   14496 
   14497 
   14498 		CFLAGS="$xorg_testset_save_CFLAGS"
   14499 
   14500 		eval supported=\$$cacheid
   14501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14502 $as_echo "$supported" >&6; }
   14503 		if test "$supported" = "yes" ; then
   14504 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14505 			found="yes"
   14506 		fi
   14507 	fi
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 xorg_testset_save_CFLAGS="$CFLAGS"
   14524 
   14525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14528 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14529 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14530   $as_echo_n "(cached) " >&6
   14531 else
   14532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14533 /* end confdefs.h.  */
   14534 int i;
   14535 _ACEOF
   14536 if ac_fn_c_try_compile "$LINENO"; then :
   14537   xorg_cv_cc_flag_unknown_warning_option=yes
   14538 else
   14539   xorg_cv_cc_flag_unknown_warning_option=no
   14540 fi
   14541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14542 fi
   14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14544 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14546 	CFLAGS="$xorg_testset_save_CFLAGS"
   14547 fi
   14548 
   14549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14552 	fi
   14553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14555 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14556 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14557   $as_echo_n "(cached) " >&6
   14558 else
   14559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14560 /* end confdefs.h.  */
   14561 int i;
   14562 _ACEOF
   14563 if ac_fn_c_try_compile "$LINENO"; then :
   14564   xorg_cv_cc_flag_unused_command_line_argument=yes
   14565 else
   14566   xorg_cv_cc_flag_unused_command_line_argument=no
   14567 fi
   14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14569 fi
   14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14571 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14573 	CFLAGS="$xorg_testset_save_CFLAGS"
   14574 fi
   14575 
   14576 found="no"
   14577 
   14578 	if test $found = "no" ; then
   14579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14581 		fi
   14582 
   14583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14585 		fi
   14586 
   14587 		CFLAGS="$CFLAGS -Werror=main"
   14588 
   14589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14590 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14591 		cacheid=xorg_cv_cc_flag__Werror_main
   14592 		if eval \${$cacheid+:} false; then :
   14593   $as_echo_n "(cached) " >&6
   14594 else
   14595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14596 /* end confdefs.h.  */
   14597 int i;
   14598 int
   14599 main ()
   14600 {
   14601 
   14602   ;
   14603   return 0;
   14604 }
   14605 _ACEOF
   14606 if ac_fn_c_try_link "$LINENO"; then :
   14607   eval $cacheid=yes
   14608 else
   14609   eval $cacheid=no
   14610 fi
   14611 rm -f core conftest.err conftest.$ac_objext \
   14612     conftest$ac_exeext conftest.$ac_ext
   14613 fi
   14614 
   14615 
   14616 		CFLAGS="$xorg_testset_save_CFLAGS"
   14617 
   14618 		eval supported=\$$cacheid
   14619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14620 $as_echo "$supported" >&6; }
   14621 		if test "$supported" = "yes" ; then
   14622 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14623 			found="yes"
   14624 		fi
   14625 	fi
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 xorg_testset_save_CFLAGS="$CFLAGS"
   14642 
   14643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14646 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14647 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14648   $as_echo_n "(cached) " >&6
   14649 else
   14650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14651 /* end confdefs.h.  */
   14652 int i;
   14653 _ACEOF
   14654 if ac_fn_c_try_compile "$LINENO"; then :
   14655   xorg_cv_cc_flag_unknown_warning_option=yes
   14656 else
   14657   xorg_cv_cc_flag_unknown_warning_option=no
   14658 fi
   14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14660 fi
   14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14662 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14664 	CFLAGS="$xorg_testset_save_CFLAGS"
   14665 fi
   14666 
   14667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14670 	fi
   14671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14673 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14674 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14675   $as_echo_n "(cached) " >&6
   14676 else
   14677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14678 /* end confdefs.h.  */
   14679 int i;
   14680 _ACEOF
   14681 if ac_fn_c_try_compile "$LINENO"; then :
   14682   xorg_cv_cc_flag_unused_command_line_argument=yes
   14683 else
   14684   xorg_cv_cc_flag_unused_command_line_argument=no
   14685 fi
   14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14687 fi
   14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14689 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14691 	CFLAGS="$xorg_testset_save_CFLAGS"
   14692 fi
   14693 
   14694 found="no"
   14695 
   14696 	if test $found = "no" ; then
   14697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14699 		fi
   14700 
   14701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14703 		fi
   14704 
   14705 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14706 
   14707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14708 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14709 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14710 		if eval \${$cacheid+:} false; then :
   14711   $as_echo_n "(cached) " >&6
   14712 else
   14713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14714 /* end confdefs.h.  */
   14715 int i;
   14716 int
   14717 main ()
   14718 {
   14719 
   14720   ;
   14721   return 0;
   14722 }
   14723 _ACEOF
   14724 if ac_fn_c_try_link "$LINENO"; then :
   14725   eval $cacheid=yes
   14726 else
   14727   eval $cacheid=no
   14728 fi
   14729 rm -f core conftest.err conftest.$ac_objext \
   14730     conftest$ac_exeext conftest.$ac_ext
   14731 fi
   14732 
   14733 
   14734 		CFLAGS="$xorg_testset_save_CFLAGS"
   14735 
   14736 		eval supported=\$$cacheid
   14737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14738 $as_echo "$supported" >&6; }
   14739 		if test "$supported" = "yes" ; then
   14740 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14741 			found="yes"
   14742 		fi
   14743 	fi
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 xorg_testset_save_CFLAGS="$CFLAGS"
   14760 
   14761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14764 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14765 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14766   $as_echo_n "(cached) " >&6
   14767 else
   14768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14769 /* end confdefs.h.  */
   14770 int i;
   14771 _ACEOF
   14772 if ac_fn_c_try_compile "$LINENO"; then :
   14773   xorg_cv_cc_flag_unknown_warning_option=yes
   14774 else
   14775   xorg_cv_cc_flag_unknown_warning_option=no
   14776 fi
   14777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14778 fi
   14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14780 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14782 	CFLAGS="$xorg_testset_save_CFLAGS"
   14783 fi
   14784 
   14785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14788 	fi
   14789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14791 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14792 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14793   $as_echo_n "(cached) " >&6
   14794 else
   14795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14796 /* end confdefs.h.  */
   14797 int i;
   14798 _ACEOF
   14799 if ac_fn_c_try_compile "$LINENO"; then :
   14800   xorg_cv_cc_flag_unused_command_line_argument=yes
   14801 else
   14802   xorg_cv_cc_flag_unused_command_line_argument=no
   14803 fi
   14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14805 fi
   14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14807 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14809 	CFLAGS="$xorg_testset_save_CFLAGS"
   14810 fi
   14811 
   14812 found="no"
   14813 
   14814 	if test $found = "no" ; then
   14815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14817 		fi
   14818 
   14819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14821 		fi
   14822 
   14823 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14824 
   14825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14826 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14827 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14828 		if eval \${$cacheid+:} false; then :
   14829   $as_echo_n "(cached) " >&6
   14830 else
   14831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14832 /* end confdefs.h.  */
   14833 int i;
   14834 int
   14835 main ()
   14836 {
   14837 
   14838   ;
   14839   return 0;
   14840 }
   14841 _ACEOF
   14842 if ac_fn_c_try_link "$LINENO"; then :
   14843   eval $cacheid=yes
   14844 else
   14845   eval $cacheid=no
   14846 fi
   14847 rm -f core conftest.err conftest.$ac_objext \
   14848     conftest$ac_exeext conftest.$ac_ext
   14849 fi
   14850 
   14851 
   14852 		CFLAGS="$xorg_testset_save_CFLAGS"
   14853 
   14854 		eval supported=\$$cacheid
   14855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14856 $as_echo "$supported" >&6; }
   14857 		if test "$supported" = "yes" ; then
   14858 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14859 			found="yes"
   14860 		fi
   14861 	fi
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 xorg_testset_save_CFLAGS="$CFLAGS"
   14878 
   14879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14884   $as_echo_n "(cached) " >&6
   14885 else
   14886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14887 /* end confdefs.h.  */
   14888 int i;
   14889 _ACEOF
   14890 if ac_fn_c_try_compile "$LINENO"; then :
   14891   xorg_cv_cc_flag_unknown_warning_option=yes
   14892 else
   14893   xorg_cv_cc_flag_unknown_warning_option=no
   14894 fi
   14895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14896 fi
   14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14900 	CFLAGS="$xorg_testset_save_CFLAGS"
   14901 fi
   14902 
   14903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14906 	fi
   14907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14911   $as_echo_n "(cached) " >&6
   14912 else
   14913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14914 /* end confdefs.h.  */
   14915 int i;
   14916 _ACEOF
   14917 if ac_fn_c_try_compile "$LINENO"; then :
   14918   xorg_cv_cc_flag_unused_command_line_argument=yes
   14919 else
   14920   xorg_cv_cc_flag_unused_command_line_argument=no
   14921 fi
   14922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14923 fi
   14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14927 	CFLAGS="$xorg_testset_save_CFLAGS"
   14928 fi
   14929 
   14930 found="no"
   14931 
   14932 	if test $found = "no" ; then
   14933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14935 		fi
   14936 
   14937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14939 		fi
   14940 
   14941 		CFLAGS="$CFLAGS -Werror=return-type"
   14942 
   14943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14944 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14945 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14946 		if eval \${$cacheid+:} false; then :
   14947   $as_echo_n "(cached) " >&6
   14948 else
   14949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14950 /* end confdefs.h.  */
   14951 int i;
   14952 int
   14953 main ()
   14954 {
   14955 
   14956   ;
   14957   return 0;
   14958 }
   14959 _ACEOF
   14960 if ac_fn_c_try_link "$LINENO"; then :
   14961   eval $cacheid=yes
   14962 else
   14963   eval $cacheid=no
   14964 fi
   14965 rm -f core conftest.err conftest.$ac_objext \
   14966     conftest$ac_exeext conftest.$ac_ext
   14967 fi
   14968 
   14969 
   14970 		CFLAGS="$xorg_testset_save_CFLAGS"
   14971 
   14972 		eval supported=\$$cacheid
   14973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14974 $as_echo "$supported" >&6; }
   14975 		if test "$supported" = "yes" ; then
   14976 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14977 			found="yes"
   14978 		fi
   14979 	fi
   14980 
   14981 	if test $found = "no" ; then
   14982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14984 		fi
   14985 
   14986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14988 		fi
   14989 
   14990 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14991 
   14992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14993 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14994 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14995 		if eval \${$cacheid+:} false; then :
   14996   $as_echo_n "(cached) " >&6
   14997 else
   14998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14999 /* end confdefs.h.  */
   15000 int i;
   15001 int
   15002 main ()
   15003 {
   15004 
   15005   ;
   15006   return 0;
   15007 }
   15008 _ACEOF
   15009 if ac_fn_c_try_link "$LINENO"; then :
   15010   eval $cacheid=yes
   15011 else
   15012   eval $cacheid=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext \
   15015     conftest$ac_exeext conftest.$ac_ext
   15016 fi
   15017 
   15018 
   15019 		CFLAGS="$xorg_testset_save_CFLAGS"
   15020 
   15021 		eval supported=\$$cacheid
   15022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15023 $as_echo "$supported" >&6; }
   15024 		if test "$supported" = "yes" ; then
   15025 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15026 			found="yes"
   15027 		fi
   15028 	fi
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 xorg_testset_save_CFLAGS="$CFLAGS"
   15045 
   15046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15051   $as_echo_n "(cached) " >&6
   15052 else
   15053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 _ACEOF
   15057 if ac_fn_c_try_compile "$LINENO"; then :
   15058   xorg_cv_cc_flag_unknown_warning_option=yes
   15059 else
   15060   xorg_cv_cc_flag_unknown_warning_option=no
   15061 fi
   15062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15063 fi
   15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15067 	CFLAGS="$xorg_testset_save_CFLAGS"
   15068 fi
   15069 
   15070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15073 	fi
   15074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15078   $as_echo_n "(cached) " >&6
   15079 else
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 _ACEOF
   15084 if ac_fn_c_try_compile "$LINENO"; then :
   15085   xorg_cv_cc_flag_unused_command_line_argument=yes
   15086 else
   15087   xorg_cv_cc_flag_unused_command_line_argument=no
   15088 fi
   15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15090 fi
   15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15094 	CFLAGS="$xorg_testset_save_CFLAGS"
   15095 fi
   15096 
   15097 found="no"
   15098 
   15099 	if test $found = "no" ; then
   15100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15102 		fi
   15103 
   15104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15106 		fi
   15107 
   15108 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15109 
   15110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15111 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15112 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15113 		if eval \${$cacheid+:} false; then :
   15114   $as_echo_n "(cached) " >&6
   15115 else
   15116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15117 /* end confdefs.h.  */
   15118 int i;
   15119 int
   15120 main ()
   15121 {
   15122 
   15123   ;
   15124   return 0;
   15125 }
   15126 _ACEOF
   15127 if ac_fn_c_try_link "$LINENO"; then :
   15128   eval $cacheid=yes
   15129 else
   15130   eval $cacheid=no
   15131 fi
   15132 rm -f core conftest.err conftest.$ac_objext \
   15133     conftest$ac_exeext conftest.$ac_ext
   15134 fi
   15135 
   15136 
   15137 		CFLAGS="$xorg_testset_save_CFLAGS"
   15138 
   15139 		eval supported=\$$cacheid
   15140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15141 $as_echo "$supported" >&6; }
   15142 		if test "$supported" = "yes" ; then
   15143 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15144 			found="yes"
   15145 		fi
   15146 	fi
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 xorg_testset_save_CFLAGS="$CFLAGS"
   15163 
   15164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15169   $as_echo_n "(cached) " >&6
   15170 else
   15171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15172 /* end confdefs.h.  */
   15173 int i;
   15174 _ACEOF
   15175 if ac_fn_c_try_compile "$LINENO"; then :
   15176   xorg_cv_cc_flag_unknown_warning_option=yes
   15177 else
   15178   xorg_cv_cc_flag_unknown_warning_option=no
   15179 fi
   15180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15181 fi
   15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15185 	CFLAGS="$xorg_testset_save_CFLAGS"
   15186 fi
   15187 
   15188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15191 	fi
   15192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15196   $as_echo_n "(cached) " >&6
   15197 else
   15198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15199 /* end confdefs.h.  */
   15200 int i;
   15201 _ACEOF
   15202 if ac_fn_c_try_compile "$LINENO"; then :
   15203   xorg_cv_cc_flag_unused_command_line_argument=yes
   15204 else
   15205   xorg_cv_cc_flag_unused_command_line_argument=no
   15206 fi
   15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15208 fi
   15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15212 	CFLAGS="$xorg_testset_save_CFLAGS"
   15213 fi
   15214 
   15215 found="no"
   15216 
   15217 	if test $found = "no" ; then
   15218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15220 		fi
   15221 
   15222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15224 		fi
   15225 
   15226 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15227 
   15228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15229 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15230 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15231 		if eval \${$cacheid+:} false; then :
   15232   $as_echo_n "(cached) " >&6
   15233 else
   15234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15235 /* end confdefs.h.  */
   15236 int i;
   15237 int
   15238 main ()
   15239 {
   15240 
   15241   ;
   15242   return 0;
   15243 }
   15244 _ACEOF
   15245 if ac_fn_c_try_link "$LINENO"; then :
   15246   eval $cacheid=yes
   15247 else
   15248   eval $cacheid=no
   15249 fi
   15250 rm -f core conftest.err conftest.$ac_objext \
   15251     conftest$ac_exeext conftest.$ac_ext
   15252 fi
   15253 
   15254 
   15255 		CFLAGS="$xorg_testset_save_CFLAGS"
   15256 
   15257 		eval supported=\$$cacheid
   15258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15259 $as_echo "$supported" >&6; }
   15260 		if test "$supported" = "yes" ; then
   15261 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15262 			found="yes"
   15263 		fi
   15264 	fi
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 xorg_testset_save_CFLAGS="$CFLAGS"
   15281 
   15282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15287   $as_echo_n "(cached) " >&6
   15288 else
   15289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15290 /* end confdefs.h.  */
   15291 int i;
   15292 _ACEOF
   15293 if ac_fn_c_try_compile "$LINENO"; then :
   15294   xorg_cv_cc_flag_unknown_warning_option=yes
   15295 else
   15296   xorg_cv_cc_flag_unknown_warning_option=no
   15297 fi
   15298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15299 fi
   15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15303 	CFLAGS="$xorg_testset_save_CFLAGS"
   15304 fi
   15305 
   15306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15309 	fi
   15310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15314   $as_echo_n "(cached) " >&6
   15315 else
   15316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15317 /* end confdefs.h.  */
   15318 int i;
   15319 _ACEOF
   15320 if ac_fn_c_try_compile "$LINENO"; then :
   15321   xorg_cv_cc_flag_unused_command_line_argument=yes
   15322 else
   15323   xorg_cv_cc_flag_unused_command_line_argument=no
   15324 fi
   15325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15326 fi
   15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15330 	CFLAGS="$xorg_testset_save_CFLAGS"
   15331 fi
   15332 
   15333 found="no"
   15334 
   15335 	if test $found = "no" ; then
   15336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15338 		fi
   15339 
   15340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15342 		fi
   15343 
   15344 		CFLAGS="$CFLAGS -Werror=write-strings"
   15345 
   15346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15347 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15348 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15349 		if eval \${$cacheid+:} false; then :
   15350   $as_echo_n "(cached) " >&6
   15351 else
   15352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15353 /* end confdefs.h.  */
   15354 int i;
   15355 int
   15356 main ()
   15357 {
   15358 
   15359   ;
   15360   return 0;
   15361 }
   15362 _ACEOF
   15363 if ac_fn_c_try_link "$LINENO"; then :
   15364   eval $cacheid=yes
   15365 else
   15366   eval $cacheid=no
   15367 fi
   15368 rm -f core conftest.err conftest.$ac_objext \
   15369     conftest$ac_exeext conftest.$ac_ext
   15370 fi
   15371 
   15372 
   15373 		CFLAGS="$xorg_testset_save_CFLAGS"
   15374 
   15375 		eval supported=\$$cacheid
   15376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15377 $as_echo "$supported" >&6; }
   15378 		if test "$supported" = "yes" ; then
   15379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15380 			found="yes"
   15381 		fi
   15382 	fi
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 xorg_testset_save_CFLAGS="$CFLAGS"
   15399 
   15400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15405   $as_echo_n "(cached) " >&6
   15406 else
   15407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15408 /* end confdefs.h.  */
   15409 int i;
   15410 _ACEOF
   15411 if ac_fn_c_try_compile "$LINENO"; then :
   15412   xorg_cv_cc_flag_unknown_warning_option=yes
   15413 else
   15414   xorg_cv_cc_flag_unknown_warning_option=no
   15415 fi
   15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15417 fi
   15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15421 	CFLAGS="$xorg_testset_save_CFLAGS"
   15422 fi
   15423 
   15424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15427 	fi
   15428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15432   $as_echo_n "(cached) " >&6
   15433 else
   15434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 _ACEOF
   15438 if ac_fn_c_try_compile "$LINENO"; then :
   15439   xorg_cv_cc_flag_unused_command_line_argument=yes
   15440 else
   15441   xorg_cv_cc_flag_unused_command_line_argument=no
   15442 fi
   15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15444 fi
   15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15448 	CFLAGS="$xorg_testset_save_CFLAGS"
   15449 fi
   15450 
   15451 found="no"
   15452 
   15453 	if test $found = "no" ; then
   15454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15456 		fi
   15457 
   15458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15460 		fi
   15461 
   15462 		CFLAGS="$CFLAGS -Werror=address"
   15463 
   15464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15465 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15466 		cacheid=xorg_cv_cc_flag__Werror_address
   15467 		if eval \${$cacheid+:} false; then :
   15468   $as_echo_n "(cached) " >&6
   15469 else
   15470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15471 /* end confdefs.h.  */
   15472 int i;
   15473 int
   15474 main ()
   15475 {
   15476 
   15477   ;
   15478   return 0;
   15479 }
   15480 _ACEOF
   15481 if ac_fn_c_try_link "$LINENO"; then :
   15482   eval $cacheid=yes
   15483 else
   15484   eval $cacheid=no
   15485 fi
   15486 rm -f core conftest.err conftest.$ac_objext \
   15487     conftest$ac_exeext conftest.$ac_ext
   15488 fi
   15489 
   15490 
   15491 		CFLAGS="$xorg_testset_save_CFLAGS"
   15492 
   15493 		eval supported=\$$cacheid
   15494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15495 $as_echo "$supported" >&6; }
   15496 		if test "$supported" = "yes" ; then
   15497 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15498 			found="yes"
   15499 		fi
   15500 	fi
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 xorg_testset_save_CFLAGS="$CFLAGS"
   15517 
   15518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15523   $as_echo_n "(cached) " >&6
   15524 else
   15525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15526 /* end confdefs.h.  */
   15527 int i;
   15528 _ACEOF
   15529 if ac_fn_c_try_compile "$LINENO"; then :
   15530   xorg_cv_cc_flag_unknown_warning_option=yes
   15531 else
   15532   xorg_cv_cc_flag_unknown_warning_option=no
   15533 fi
   15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15535 fi
   15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15539 	CFLAGS="$xorg_testset_save_CFLAGS"
   15540 fi
   15541 
   15542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15545 	fi
   15546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15550   $as_echo_n "(cached) " >&6
   15551 else
   15552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15553 /* end confdefs.h.  */
   15554 int i;
   15555 _ACEOF
   15556 if ac_fn_c_try_compile "$LINENO"; then :
   15557   xorg_cv_cc_flag_unused_command_line_argument=yes
   15558 else
   15559   xorg_cv_cc_flag_unused_command_line_argument=no
   15560 fi
   15561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15562 fi
   15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15566 	CFLAGS="$xorg_testset_save_CFLAGS"
   15567 fi
   15568 
   15569 found="no"
   15570 
   15571 	if test $found = "no" ; then
   15572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15574 		fi
   15575 
   15576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15578 		fi
   15579 
   15580 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15581 
   15582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15583 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15584 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15585 		if eval \${$cacheid+:} false; then :
   15586   $as_echo_n "(cached) " >&6
   15587 else
   15588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15589 /* end confdefs.h.  */
   15590 int i;
   15591 int
   15592 main ()
   15593 {
   15594 
   15595   ;
   15596   return 0;
   15597 }
   15598 _ACEOF
   15599 if ac_fn_c_try_link "$LINENO"; then :
   15600   eval $cacheid=yes
   15601 else
   15602   eval $cacheid=no
   15603 fi
   15604 rm -f core conftest.err conftest.$ac_objext \
   15605     conftest$ac_exeext conftest.$ac_ext
   15606 fi
   15607 
   15608 
   15609 		CFLAGS="$xorg_testset_save_CFLAGS"
   15610 
   15611 		eval supported=\$$cacheid
   15612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15613 $as_echo "$supported" >&6; }
   15614 		if test "$supported" = "yes" ; then
   15615 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15616 			found="yes"
   15617 		fi
   15618 	fi
   15619 
   15620 	if test $found = "no" ; then
   15621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15623 		fi
   15624 
   15625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15627 		fi
   15628 
   15629 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15630 
   15631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15632 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15633 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15634 		if eval \${$cacheid+:} false; then :
   15635   $as_echo_n "(cached) " >&6
   15636 else
   15637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15638 /* end confdefs.h.  */
   15639 int i;
   15640 int
   15641 main ()
   15642 {
   15643 
   15644   ;
   15645   return 0;
   15646 }
   15647 _ACEOF
   15648 if ac_fn_c_try_link "$LINENO"; then :
   15649   eval $cacheid=yes
   15650 else
   15651   eval $cacheid=no
   15652 fi
   15653 rm -f core conftest.err conftest.$ac_objext \
   15654     conftest$ac_exeext conftest.$ac_ext
   15655 fi
   15656 
   15657 
   15658 		CFLAGS="$xorg_testset_save_CFLAGS"
   15659 
   15660 		eval supported=\$$cacheid
   15661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15662 $as_echo "$supported" >&6; }
   15663 		if test "$supported" = "yes" ; then
   15664 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15665 			found="yes"
   15666 		fi
   15667 	fi
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 xorg_testset_save_CFLAGS="$CFLAGS"
   15684 
   15685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15690   $as_echo_n "(cached) " >&6
   15691 else
   15692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15693 /* end confdefs.h.  */
   15694 int i;
   15695 _ACEOF
   15696 if ac_fn_c_try_compile "$LINENO"; then :
   15697   xorg_cv_cc_flag_unknown_warning_option=yes
   15698 else
   15699   xorg_cv_cc_flag_unknown_warning_option=no
   15700 fi
   15701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15702 fi
   15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15706 	CFLAGS="$xorg_testset_save_CFLAGS"
   15707 fi
   15708 
   15709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15712 	fi
   15713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15717   $as_echo_n "(cached) " >&6
   15718 else
   15719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15720 /* end confdefs.h.  */
   15721 int i;
   15722 _ACEOF
   15723 if ac_fn_c_try_compile "$LINENO"; then :
   15724   xorg_cv_cc_flag_unused_command_line_argument=yes
   15725 else
   15726   xorg_cv_cc_flag_unused_command_line_argument=no
   15727 fi
   15728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15729 fi
   15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15733 	CFLAGS="$xorg_testset_save_CFLAGS"
   15734 fi
   15735 
   15736 found="no"
   15737 
   15738 	if test $found = "no" ; then
   15739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15741 		fi
   15742 
   15743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15745 		fi
   15746 
   15747 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15748 
   15749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15750 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15751 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15752 		if eval \${$cacheid+:} false; then :
   15753   $as_echo_n "(cached) " >&6
   15754 else
   15755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15756 /* end confdefs.h.  */
   15757 int i;
   15758 int
   15759 main ()
   15760 {
   15761 
   15762   ;
   15763   return 0;
   15764 }
   15765 _ACEOF
   15766 if ac_fn_c_try_link "$LINENO"; then :
   15767   eval $cacheid=yes
   15768 else
   15769   eval $cacheid=no
   15770 fi
   15771 rm -f core conftest.err conftest.$ac_objext \
   15772     conftest$ac_exeext conftest.$ac_ext
   15773 fi
   15774 
   15775 
   15776 		CFLAGS="$xorg_testset_save_CFLAGS"
   15777 
   15778 		eval supported=\$$cacheid
   15779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15780 $as_echo "$supported" >&6; }
   15781 		if test "$supported" = "yes" ; then
   15782 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15783 			found="yes"
   15784 		fi
   15785 	fi
   15786 
   15787  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15788 else
   15789 { $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
   15790 $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;}
   15791 
   15792 
   15793 
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 xorg_testset_save_CFLAGS="$CFLAGS"
   15805 
   15806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15809 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15810 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15811   $as_echo_n "(cached) " >&6
   15812 else
   15813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15814 /* end confdefs.h.  */
   15815 int i;
   15816 _ACEOF
   15817 if ac_fn_c_try_compile "$LINENO"; then :
   15818   xorg_cv_cc_flag_unknown_warning_option=yes
   15819 else
   15820   xorg_cv_cc_flag_unknown_warning_option=no
   15821 fi
   15822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15823 fi
   15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15825 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15827 	CFLAGS="$xorg_testset_save_CFLAGS"
   15828 fi
   15829 
   15830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15833 	fi
   15834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15836 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15837 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15838   $as_echo_n "(cached) " >&6
   15839 else
   15840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15841 /* end confdefs.h.  */
   15842 int i;
   15843 _ACEOF
   15844 if ac_fn_c_try_compile "$LINENO"; then :
   15845   xorg_cv_cc_flag_unused_command_line_argument=yes
   15846 else
   15847   xorg_cv_cc_flag_unused_command_line_argument=no
   15848 fi
   15849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15850 fi
   15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15852 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15854 	CFLAGS="$xorg_testset_save_CFLAGS"
   15855 fi
   15856 
   15857 found="no"
   15858 
   15859 	if test $found = "no" ; then
   15860 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15862 		fi
   15863 
   15864 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15866 		fi
   15867 
   15868 		CFLAGS="$CFLAGS -Wimplicit"
   15869 
   15870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15871 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15872 		cacheid=xorg_cv_cc_flag__Wimplicit
   15873 		if eval \${$cacheid+:} false; then :
   15874   $as_echo_n "(cached) " >&6
   15875 else
   15876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15877 /* end confdefs.h.  */
   15878 int i;
   15879 int
   15880 main ()
   15881 {
   15882 
   15883   ;
   15884   return 0;
   15885 }
   15886 _ACEOF
   15887 if ac_fn_c_try_link "$LINENO"; then :
   15888   eval $cacheid=yes
   15889 else
   15890   eval $cacheid=no
   15891 fi
   15892 rm -f core conftest.err conftest.$ac_objext \
   15893     conftest$ac_exeext conftest.$ac_ext
   15894 fi
   15895 
   15896 
   15897 		CFLAGS="$xorg_testset_save_CFLAGS"
   15898 
   15899 		eval supported=\$$cacheid
   15900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15901 $as_echo "$supported" >&6; }
   15902 		if test "$supported" = "yes" ; then
   15903 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15904 			found="yes"
   15905 		fi
   15906 	fi
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 xorg_testset_save_CFLAGS="$CFLAGS"
   15923 
   15924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15927 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15928 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15929   $as_echo_n "(cached) " >&6
   15930 else
   15931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15932 /* end confdefs.h.  */
   15933 int i;
   15934 _ACEOF
   15935 if ac_fn_c_try_compile "$LINENO"; then :
   15936   xorg_cv_cc_flag_unknown_warning_option=yes
   15937 else
   15938   xorg_cv_cc_flag_unknown_warning_option=no
   15939 fi
   15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15941 fi
   15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15943 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15945 	CFLAGS="$xorg_testset_save_CFLAGS"
   15946 fi
   15947 
   15948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15951 	fi
   15952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15954 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15955 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15956   $as_echo_n "(cached) " >&6
   15957 else
   15958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15959 /* end confdefs.h.  */
   15960 int i;
   15961 _ACEOF
   15962 if ac_fn_c_try_compile "$LINENO"; then :
   15963   xorg_cv_cc_flag_unused_command_line_argument=yes
   15964 else
   15965   xorg_cv_cc_flag_unused_command_line_argument=no
   15966 fi
   15967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15968 fi
   15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15970 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15972 	CFLAGS="$xorg_testset_save_CFLAGS"
   15973 fi
   15974 
   15975 found="no"
   15976 
   15977 	if test $found = "no" ; then
   15978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15980 		fi
   15981 
   15982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15984 		fi
   15985 
   15986 		CFLAGS="$CFLAGS -Wnonnull"
   15987 
   15988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15989 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15990 		cacheid=xorg_cv_cc_flag__Wnonnull
   15991 		if eval \${$cacheid+:} false; then :
   15992   $as_echo_n "(cached) " >&6
   15993 else
   15994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15995 /* end confdefs.h.  */
   15996 int i;
   15997 int
   15998 main ()
   15999 {
   16000 
   16001   ;
   16002   return 0;
   16003 }
   16004 _ACEOF
   16005 if ac_fn_c_try_link "$LINENO"; then :
   16006   eval $cacheid=yes
   16007 else
   16008   eval $cacheid=no
   16009 fi
   16010 rm -f core conftest.err conftest.$ac_objext \
   16011     conftest$ac_exeext conftest.$ac_ext
   16012 fi
   16013 
   16014 
   16015 		CFLAGS="$xorg_testset_save_CFLAGS"
   16016 
   16017 		eval supported=\$$cacheid
   16018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16019 $as_echo "$supported" >&6; }
   16020 		if test "$supported" = "yes" ; then
   16021 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16022 			found="yes"
   16023 		fi
   16024 	fi
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 xorg_testset_save_CFLAGS="$CFLAGS"
   16041 
   16042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16047   $as_echo_n "(cached) " >&6
   16048 else
   16049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16050 /* end confdefs.h.  */
   16051 int i;
   16052 _ACEOF
   16053 if ac_fn_c_try_compile "$LINENO"; then :
   16054   xorg_cv_cc_flag_unknown_warning_option=yes
   16055 else
   16056   xorg_cv_cc_flag_unknown_warning_option=no
   16057 fi
   16058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16059 fi
   16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16063 	CFLAGS="$xorg_testset_save_CFLAGS"
   16064 fi
   16065 
   16066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16069 	fi
   16070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16074   $as_echo_n "(cached) " >&6
   16075 else
   16076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16077 /* end confdefs.h.  */
   16078 int i;
   16079 _ACEOF
   16080 if ac_fn_c_try_compile "$LINENO"; then :
   16081   xorg_cv_cc_flag_unused_command_line_argument=yes
   16082 else
   16083   xorg_cv_cc_flag_unused_command_line_argument=no
   16084 fi
   16085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16086 fi
   16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16090 	CFLAGS="$xorg_testset_save_CFLAGS"
   16091 fi
   16092 
   16093 found="no"
   16094 
   16095 	if test $found = "no" ; then
   16096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16098 		fi
   16099 
   16100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16102 		fi
   16103 
   16104 		CFLAGS="$CFLAGS -Winit-self"
   16105 
   16106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16107 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16108 		cacheid=xorg_cv_cc_flag__Winit_self
   16109 		if eval \${$cacheid+:} false; then :
   16110   $as_echo_n "(cached) " >&6
   16111 else
   16112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16113 /* end confdefs.h.  */
   16114 int i;
   16115 int
   16116 main ()
   16117 {
   16118 
   16119   ;
   16120   return 0;
   16121 }
   16122 _ACEOF
   16123 if ac_fn_c_try_link "$LINENO"; then :
   16124   eval $cacheid=yes
   16125 else
   16126   eval $cacheid=no
   16127 fi
   16128 rm -f core conftest.err conftest.$ac_objext \
   16129     conftest$ac_exeext conftest.$ac_ext
   16130 fi
   16131 
   16132 
   16133 		CFLAGS="$xorg_testset_save_CFLAGS"
   16134 
   16135 		eval supported=\$$cacheid
   16136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16137 $as_echo "$supported" >&6; }
   16138 		if test "$supported" = "yes" ; then
   16139 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16140 			found="yes"
   16141 		fi
   16142 	fi
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 xorg_testset_save_CFLAGS="$CFLAGS"
   16159 
   16160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16165   $as_echo_n "(cached) " >&6
   16166 else
   16167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16168 /* end confdefs.h.  */
   16169 int i;
   16170 _ACEOF
   16171 if ac_fn_c_try_compile "$LINENO"; then :
   16172   xorg_cv_cc_flag_unknown_warning_option=yes
   16173 else
   16174   xorg_cv_cc_flag_unknown_warning_option=no
   16175 fi
   16176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16177 fi
   16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16181 	CFLAGS="$xorg_testset_save_CFLAGS"
   16182 fi
   16183 
   16184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16187 	fi
   16188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16192   $as_echo_n "(cached) " >&6
   16193 else
   16194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16195 /* end confdefs.h.  */
   16196 int i;
   16197 _ACEOF
   16198 if ac_fn_c_try_compile "$LINENO"; then :
   16199   xorg_cv_cc_flag_unused_command_line_argument=yes
   16200 else
   16201   xorg_cv_cc_flag_unused_command_line_argument=no
   16202 fi
   16203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16204 fi
   16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16208 	CFLAGS="$xorg_testset_save_CFLAGS"
   16209 fi
   16210 
   16211 found="no"
   16212 
   16213 	if test $found = "no" ; then
   16214 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16216 		fi
   16217 
   16218 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16220 		fi
   16221 
   16222 		CFLAGS="$CFLAGS -Wmain"
   16223 
   16224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16225 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16226 		cacheid=xorg_cv_cc_flag__Wmain
   16227 		if eval \${$cacheid+:} false; then :
   16228   $as_echo_n "(cached) " >&6
   16229 else
   16230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16231 /* end confdefs.h.  */
   16232 int i;
   16233 int
   16234 main ()
   16235 {
   16236 
   16237   ;
   16238   return 0;
   16239 }
   16240 _ACEOF
   16241 if ac_fn_c_try_link "$LINENO"; then :
   16242   eval $cacheid=yes
   16243 else
   16244   eval $cacheid=no
   16245 fi
   16246 rm -f core conftest.err conftest.$ac_objext \
   16247     conftest$ac_exeext conftest.$ac_ext
   16248 fi
   16249 
   16250 
   16251 		CFLAGS="$xorg_testset_save_CFLAGS"
   16252 
   16253 		eval supported=\$$cacheid
   16254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16255 $as_echo "$supported" >&6; }
   16256 		if test "$supported" = "yes" ; then
   16257 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16258 			found="yes"
   16259 		fi
   16260 	fi
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 xorg_testset_save_CFLAGS="$CFLAGS"
   16277 
   16278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16281 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16282 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16283   $as_echo_n "(cached) " >&6
   16284 else
   16285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16286 /* end confdefs.h.  */
   16287 int i;
   16288 _ACEOF
   16289 if ac_fn_c_try_compile "$LINENO"; then :
   16290   xorg_cv_cc_flag_unknown_warning_option=yes
   16291 else
   16292   xorg_cv_cc_flag_unknown_warning_option=no
   16293 fi
   16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16295 fi
   16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16297 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16299 	CFLAGS="$xorg_testset_save_CFLAGS"
   16300 fi
   16301 
   16302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16305 	fi
   16306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16308 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16309 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16310   $as_echo_n "(cached) " >&6
   16311 else
   16312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16313 /* end confdefs.h.  */
   16314 int i;
   16315 _ACEOF
   16316 if ac_fn_c_try_compile "$LINENO"; then :
   16317   xorg_cv_cc_flag_unused_command_line_argument=yes
   16318 else
   16319   xorg_cv_cc_flag_unused_command_line_argument=no
   16320 fi
   16321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16322 fi
   16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16324 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16325 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16326 	CFLAGS="$xorg_testset_save_CFLAGS"
   16327 fi
   16328 
   16329 found="no"
   16330 
   16331 	if test $found = "no" ; then
   16332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16334 		fi
   16335 
   16336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16338 		fi
   16339 
   16340 		CFLAGS="$CFLAGS -Wmissing-braces"
   16341 
   16342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16343 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16344 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16345 		if eval \${$cacheid+:} false; then :
   16346   $as_echo_n "(cached) " >&6
   16347 else
   16348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16349 /* end confdefs.h.  */
   16350 int i;
   16351 int
   16352 main ()
   16353 {
   16354 
   16355   ;
   16356   return 0;
   16357 }
   16358 _ACEOF
   16359 if ac_fn_c_try_link "$LINENO"; then :
   16360   eval $cacheid=yes
   16361 else
   16362   eval $cacheid=no
   16363 fi
   16364 rm -f core conftest.err conftest.$ac_objext \
   16365     conftest$ac_exeext conftest.$ac_ext
   16366 fi
   16367 
   16368 
   16369 		CFLAGS="$xorg_testset_save_CFLAGS"
   16370 
   16371 		eval supported=\$$cacheid
   16372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16373 $as_echo "$supported" >&6; }
   16374 		if test "$supported" = "yes" ; then
   16375 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16376 			found="yes"
   16377 		fi
   16378 	fi
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 xorg_testset_save_CFLAGS="$CFLAGS"
   16395 
   16396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16399 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16400 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16401   $as_echo_n "(cached) " >&6
   16402 else
   16403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16404 /* end confdefs.h.  */
   16405 int i;
   16406 _ACEOF
   16407 if ac_fn_c_try_compile "$LINENO"; then :
   16408   xorg_cv_cc_flag_unknown_warning_option=yes
   16409 else
   16410   xorg_cv_cc_flag_unknown_warning_option=no
   16411 fi
   16412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16413 fi
   16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16415 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16416 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16417 	CFLAGS="$xorg_testset_save_CFLAGS"
   16418 fi
   16419 
   16420 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16421 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16422 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16423 	fi
   16424 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16426 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16427 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16428   $as_echo_n "(cached) " >&6
   16429 else
   16430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16431 /* end confdefs.h.  */
   16432 int i;
   16433 _ACEOF
   16434 if ac_fn_c_try_compile "$LINENO"; then :
   16435   xorg_cv_cc_flag_unused_command_line_argument=yes
   16436 else
   16437   xorg_cv_cc_flag_unused_command_line_argument=no
   16438 fi
   16439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16440 fi
   16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16442 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16443 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16444 	CFLAGS="$xorg_testset_save_CFLAGS"
   16445 fi
   16446 
   16447 found="no"
   16448 
   16449 	if test $found = "no" ; then
   16450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16452 		fi
   16453 
   16454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16456 		fi
   16457 
   16458 		CFLAGS="$CFLAGS -Wsequence-point"
   16459 
   16460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16461 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16462 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16463 		if eval \${$cacheid+:} false; then :
   16464   $as_echo_n "(cached) " >&6
   16465 else
   16466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16467 /* end confdefs.h.  */
   16468 int i;
   16469 int
   16470 main ()
   16471 {
   16472 
   16473   ;
   16474   return 0;
   16475 }
   16476 _ACEOF
   16477 if ac_fn_c_try_link "$LINENO"; then :
   16478   eval $cacheid=yes
   16479 else
   16480   eval $cacheid=no
   16481 fi
   16482 rm -f core conftest.err conftest.$ac_objext \
   16483     conftest$ac_exeext conftest.$ac_ext
   16484 fi
   16485 
   16486 
   16487 		CFLAGS="$xorg_testset_save_CFLAGS"
   16488 
   16489 		eval supported=\$$cacheid
   16490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16491 $as_echo "$supported" >&6; }
   16492 		if test "$supported" = "yes" ; then
   16493 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16494 			found="yes"
   16495 		fi
   16496 	fi
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 xorg_testset_save_CFLAGS="$CFLAGS"
   16513 
   16514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16517 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16518 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16519   $as_echo_n "(cached) " >&6
   16520 else
   16521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16522 /* end confdefs.h.  */
   16523 int i;
   16524 _ACEOF
   16525 if ac_fn_c_try_compile "$LINENO"; then :
   16526   xorg_cv_cc_flag_unknown_warning_option=yes
   16527 else
   16528   xorg_cv_cc_flag_unknown_warning_option=no
   16529 fi
   16530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16531 fi
   16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16533 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16535 	CFLAGS="$xorg_testset_save_CFLAGS"
   16536 fi
   16537 
   16538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16541 	fi
   16542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16544 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16545 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16546   $as_echo_n "(cached) " >&6
   16547 else
   16548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16549 /* end confdefs.h.  */
   16550 int i;
   16551 _ACEOF
   16552 if ac_fn_c_try_compile "$LINENO"; then :
   16553   xorg_cv_cc_flag_unused_command_line_argument=yes
   16554 else
   16555   xorg_cv_cc_flag_unused_command_line_argument=no
   16556 fi
   16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16558 fi
   16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16560 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16561 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16562 	CFLAGS="$xorg_testset_save_CFLAGS"
   16563 fi
   16564 
   16565 found="no"
   16566 
   16567 	if test $found = "no" ; then
   16568 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16570 		fi
   16571 
   16572 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16574 		fi
   16575 
   16576 		CFLAGS="$CFLAGS -Wreturn-type"
   16577 
   16578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16579 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16580 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16581 		if eval \${$cacheid+:} false; then :
   16582   $as_echo_n "(cached) " >&6
   16583 else
   16584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16585 /* end confdefs.h.  */
   16586 int i;
   16587 int
   16588 main ()
   16589 {
   16590 
   16591   ;
   16592   return 0;
   16593 }
   16594 _ACEOF
   16595 if ac_fn_c_try_link "$LINENO"; then :
   16596   eval $cacheid=yes
   16597 else
   16598   eval $cacheid=no
   16599 fi
   16600 rm -f core conftest.err conftest.$ac_objext \
   16601     conftest$ac_exeext conftest.$ac_ext
   16602 fi
   16603 
   16604 
   16605 		CFLAGS="$xorg_testset_save_CFLAGS"
   16606 
   16607 		eval supported=\$$cacheid
   16608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16609 $as_echo "$supported" >&6; }
   16610 		if test "$supported" = "yes" ; then
   16611 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16612 			found="yes"
   16613 		fi
   16614 	fi
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 xorg_testset_save_CFLAGS="$CFLAGS"
   16631 
   16632 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16633 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16635 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16636 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16637   $as_echo_n "(cached) " >&6
   16638 else
   16639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16640 /* end confdefs.h.  */
   16641 int i;
   16642 _ACEOF
   16643 if ac_fn_c_try_compile "$LINENO"; then :
   16644   xorg_cv_cc_flag_unknown_warning_option=yes
   16645 else
   16646   xorg_cv_cc_flag_unknown_warning_option=no
   16647 fi
   16648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16649 fi
   16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16651 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16653 	CFLAGS="$xorg_testset_save_CFLAGS"
   16654 fi
   16655 
   16656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16659 	fi
   16660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16662 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16663 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16664   $as_echo_n "(cached) " >&6
   16665 else
   16666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16667 /* end confdefs.h.  */
   16668 int i;
   16669 _ACEOF
   16670 if ac_fn_c_try_compile "$LINENO"; then :
   16671   xorg_cv_cc_flag_unused_command_line_argument=yes
   16672 else
   16673   xorg_cv_cc_flag_unused_command_line_argument=no
   16674 fi
   16675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16676 fi
   16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16678 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16679 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16680 	CFLAGS="$xorg_testset_save_CFLAGS"
   16681 fi
   16682 
   16683 found="no"
   16684 
   16685 	if test $found = "no" ; then
   16686 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16688 		fi
   16689 
   16690 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16692 		fi
   16693 
   16694 		CFLAGS="$CFLAGS -Wtrigraphs"
   16695 
   16696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16697 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16698 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16699 		if eval \${$cacheid+:} false; then :
   16700   $as_echo_n "(cached) " >&6
   16701 else
   16702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16703 /* end confdefs.h.  */
   16704 int i;
   16705 int
   16706 main ()
   16707 {
   16708 
   16709   ;
   16710   return 0;
   16711 }
   16712 _ACEOF
   16713 if ac_fn_c_try_link "$LINENO"; then :
   16714   eval $cacheid=yes
   16715 else
   16716   eval $cacheid=no
   16717 fi
   16718 rm -f core conftest.err conftest.$ac_objext \
   16719     conftest$ac_exeext conftest.$ac_ext
   16720 fi
   16721 
   16722 
   16723 		CFLAGS="$xorg_testset_save_CFLAGS"
   16724 
   16725 		eval supported=\$$cacheid
   16726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16727 $as_echo "$supported" >&6; }
   16728 		if test "$supported" = "yes" ; then
   16729 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16730 			found="yes"
   16731 		fi
   16732 	fi
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 xorg_testset_save_CFLAGS="$CFLAGS"
   16749 
   16750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16753 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16754 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16755   $as_echo_n "(cached) " >&6
   16756 else
   16757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16758 /* end confdefs.h.  */
   16759 int i;
   16760 _ACEOF
   16761 if ac_fn_c_try_compile "$LINENO"; then :
   16762   xorg_cv_cc_flag_unknown_warning_option=yes
   16763 else
   16764   xorg_cv_cc_flag_unknown_warning_option=no
   16765 fi
   16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16767 fi
   16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16769 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16771 	CFLAGS="$xorg_testset_save_CFLAGS"
   16772 fi
   16773 
   16774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16777 	fi
   16778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16780 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16781 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16782   $as_echo_n "(cached) " >&6
   16783 else
   16784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16785 /* end confdefs.h.  */
   16786 int i;
   16787 _ACEOF
   16788 if ac_fn_c_try_compile "$LINENO"; then :
   16789   xorg_cv_cc_flag_unused_command_line_argument=yes
   16790 else
   16791   xorg_cv_cc_flag_unused_command_line_argument=no
   16792 fi
   16793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16794 fi
   16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16796 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16798 	CFLAGS="$xorg_testset_save_CFLAGS"
   16799 fi
   16800 
   16801 found="no"
   16802 
   16803 	if test $found = "no" ; then
   16804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16806 		fi
   16807 
   16808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16810 		fi
   16811 
   16812 		CFLAGS="$CFLAGS -Warray-bounds"
   16813 
   16814 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16815 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16816 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16817 		if eval \${$cacheid+:} false; then :
   16818   $as_echo_n "(cached) " >&6
   16819 else
   16820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16821 /* end confdefs.h.  */
   16822 int i;
   16823 int
   16824 main ()
   16825 {
   16826 
   16827   ;
   16828   return 0;
   16829 }
   16830 _ACEOF
   16831 if ac_fn_c_try_link "$LINENO"; then :
   16832   eval $cacheid=yes
   16833 else
   16834   eval $cacheid=no
   16835 fi
   16836 rm -f core conftest.err conftest.$ac_objext \
   16837     conftest$ac_exeext conftest.$ac_ext
   16838 fi
   16839 
   16840 
   16841 		CFLAGS="$xorg_testset_save_CFLAGS"
   16842 
   16843 		eval supported=\$$cacheid
   16844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16845 $as_echo "$supported" >&6; }
   16846 		if test "$supported" = "yes" ; then
   16847 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16848 			found="yes"
   16849 		fi
   16850 	fi
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 xorg_testset_save_CFLAGS="$CFLAGS"
   16867 
   16868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16871 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16872 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16873   $as_echo_n "(cached) " >&6
   16874 else
   16875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16876 /* end confdefs.h.  */
   16877 int i;
   16878 _ACEOF
   16879 if ac_fn_c_try_compile "$LINENO"; then :
   16880   xorg_cv_cc_flag_unknown_warning_option=yes
   16881 else
   16882   xorg_cv_cc_flag_unknown_warning_option=no
   16883 fi
   16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16885 fi
   16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16887 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16888 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16889 	CFLAGS="$xorg_testset_save_CFLAGS"
   16890 fi
   16891 
   16892 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16893 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16895 	fi
   16896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16898 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16899 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16900   $as_echo_n "(cached) " >&6
   16901 else
   16902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16903 /* end confdefs.h.  */
   16904 int i;
   16905 _ACEOF
   16906 if ac_fn_c_try_compile "$LINENO"; then :
   16907   xorg_cv_cc_flag_unused_command_line_argument=yes
   16908 else
   16909   xorg_cv_cc_flag_unused_command_line_argument=no
   16910 fi
   16911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16912 fi
   16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16914 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16916 	CFLAGS="$xorg_testset_save_CFLAGS"
   16917 fi
   16918 
   16919 found="no"
   16920 
   16921 	if test $found = "no" ; then
   16922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16924 		fi
   16925 
   16926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16928 		fi
   16929 
   16930 		CFLAGS="$CFLAGS -Wwrite-strings"
   16931 
   16932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16933 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16934 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16935 		if eval \${$cacheid+:} false; then :
   16936   $as_echo_n "(cached) " >&6
   16937 else
   16938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16939 /* end confdefs.h.  */
   16940 int i;
   16941 int
   16942 main ()
   16943 {
   16944 
   16945   ;
   16946   return 0;
   16947 }
   16948 _ACEOF
   16949 if ac_fn_c_try_link "$LINENO"; then :
   16950   eval $cacheid=yes
   16951 else
   16952   eval $cacheid=no
   16953 fi
   16954 rm -f core conftest.err conftest.$ac_objext \
   16955     conftest$ac_exeext conftest.$ac_ext
   16956 fi
   16957 
   16958 
   16959 		CFLAGS="$xorg_testset_save_CFLAGS"
   16960 
   16961 		eval supported=\$$cacheid
   16962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16963 $as_echo "$supported" >&6; }
   16964 		if test "$supported" = "yes" ; then
   16965 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16966 			found="yes"
   16967 		fi
   16968 	fi
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 xorg_testset_save_CFLAGS="$CFLAGS"
   16985 
   16986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16989 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16990 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16991   $as_echo_n "(cached) " >&6
   16992 else
   16993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16994 /* end confdefs.h.  */
   16995 int i;
   16996 _ACEOF
   16997 if ac_fn_c_try_compile "$LINENO"; then :
   16998   xorg_cv_cc_flag_unknown_warning_option=yes
   16999 else
   17000   xorg_cv_cc_flag_unknown_warning_option=no
   17001 fi
   17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17003 fi
   17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17005 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17007 	CFLAGS="$xorg_testset_save_CFLAGS"
   17008 fi
   17009 
   17010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17013 	fi
   17014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17016 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17017 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17018   $as_echo_n "(cached) " >&6
   17019 else
   17020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17021 /* end confdefs.h.  */
   17022 int i;
   17023 _ACEOF
   17024 if ac_fn_c_try_compile "$LINENO"; then :
   17025   xorg_cv_cc_flag_unused_command_line_argument=yes
   17026 else
   17027   xorg_cv_cc_flag_unused_command_line_argument=no
   17028 fi
   17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17030 fi
   17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17032 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17034 	CFLAGS="$xorg_testset_save_CFLAGS"
   17035 fi
   17036 
   17037 found="no"
   17038 
   17039 	if test $found = "no" ; then
   17040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17042 		fi
   17043 
   17044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17046 		fi
   17047 
   17048 		CFLAGS="$CFLAGS -Waddress"
   17049 
   17050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17051 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17052 		cacheid=xorg_cv_cc_flag__Waddress
   17053 		if eval \${$cacheid+:} false; then :
   17054   $as_echo_n "(cached) " >&6
   17055 else
   17056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17057 /* end confdefs.h.  */
   17058 int i;
   17059 int
   17060 main ()
   17061 {
   17062 
   17063   ;
   17064   return 0;
   17065 }
   17066 _ACEOF
   17067 if ac_fn_c_try_link "$LINENO"; then :
   17068   eval $cacheid=yes
   17069 else
   17070   eval $cacheid=no
   17071 fi
   17072 rm -f core conftest.err conftest.$ac_objext \
   17073     conftest$ac_exeext conftest.$ac_ext
   17074 fi
   17075 
   17076 
   17077 		CFLAGS="$xorg_testset_save_CFLAGS"
   17078 
   17079 		eval supported=\$$cacheid
   17080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17081 $as_echo "$supported" >&6; }
   17082 		if test "$supported" = "yes" ; then
   17083 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17084 			found="yes"
   17085 		fi
   17086 	fi
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 xorg_testset_save_CFLAGS="$CFLAGS"
   17103 
   17104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17107 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17108 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17109   $as_echo_n "(cached) " >&6
   17110 else
   17111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17112 /* end confdefs.h.  */
   17113 int i;
   17114 _ACEOF
   17115 if ac_fn_c_try_compile "$LINENO"; then :
   17116   xorg_cv_cc_flag_unknown_warning_option=yes
   17117 else
   17118   xorg_cv_cc_flag_unknown_warning_option=no
   17119 fi
   17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17121 fi
   17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17123 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17125 	CFLAGS="$xorg_testset_save_CFLAGS"
   17126 fi
   17127 
   17128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17131 	fi
   17132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17134 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17135 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17136   $as_echo_n "(cached) " >&6
   17137 else
   17138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17139 /* end confdefs.h.  */
   17140 int i;
   17141 _ACEOF
   17142 if ac_fn_c_try_compile "$LINENO"; then :
   17143   xorg_cv_cc_flag_unused_command_line_argument=yes
   17144 else
   17145   xorg_cv_cc_flag_unused_command_line_argument=no
   17146 fi
   17147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17148 fi
   17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17150 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17152 	CFLAGS="$xorg_testset_save_CFLAGS"
   17153 fi
   17154 
   17155 found="no"
   17156 
   17157 	if test $found = "no" ; then
   17158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17160 		fi
   17161 
   17162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17164 		fi
   17165 
   17166 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17167 
   17168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17169 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17170 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17171 		if eval \${$cacheid+:} false; then :
   17172   $as_echo_n "(cached) " >&6
   17173 else
   17174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17175 /* end confdefs.h.  */
   17176 int i;
   17177 int
   17178 main ()
   17179 {
   17180 
   17181   ;
   17182   return 0;
   17183 }
   17184 _ACEOF
   17185 if ac_fn_c_try_link "$LINENO"; then :
   17186   eval $cacheid=yes
   17187 else
   17188   eval $cacheid=no
   17189 fi
   17190 rm -f core conftest.err conftest.$ac_objext \
   17191     conftest$ac_exeext conftest.$ac_ext
   17192 fi
   17193 
   17194 
   17195 		CFLAGS="$xorg_testset_save_CFLAGS"
   17196 
   17197 		eval supported=\$$cacheid
   17198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17199 $as_echo "$supported" >&6; }
   17200 		if test "$supported" = "yes" ; then
   17201 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17202 			found="yes"
   17203 		fi
   17204 	fi
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 xorg_testset_save_CFLAGS="$CFLAGS"
   17221 
   17222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17225 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17226 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17227   $as_echo_n "(cached) " >&6
   17228 else
   17229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17230 /* end confdefs.h.  */
   17231 int i;
   17232 _ACEOF
   17233 if ac_fn_c_try_compile "$LINENO"; then :
   17234   xorg_cv_cc_flag_unknown_warning_option=yes
   17235 else
   17236   xorg_cv_cc_flag_unknown_warning_option=no
   17237 fi
   17238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17239 fi
   17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17241 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17243 	CFLAGS="$xorg_testset_save_CFLAGS"
   17244 fi
   17245 
   17246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17249 	fi
   17250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17252 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17253 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17254   $as_echo_n "(cached) " >&6
   17255 else
   17256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17257 /* end confdefs.h.  */
   17258 int i;
   17259 _ACEOF
   17260 if ac_fn_c_try_compile "$LINENO"; then :
   17261   xorg_cv_cc_flag_unused_command_line_argument=yes
   17262 else
   17263   xorg_cv_cc_flag_unused_command_line_argument=no
   17264 fi
   17265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17266 fi
   17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17268 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17270 	CFLAGS="$xorg_testset_save_CFLAGS"
   17271 fi
   17272 
   17273 found="no"
   17274 
   17275 	if test $found = "no" ; then
   17276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17278 		fi
   17279 
   17280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17282 		fi
   17283 
   17284 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17285 
   17286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17287 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17288 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17289 		if eval \${$cacheid+:} false; then :
   17290   $as_echo_n "(cached) " >&6
   17291 else
   17292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17293 /* end confdefs.h.  */
   17294 int i;
   17295 int
   17296 main ()
   17297 {
   17298 
   17299   ;
   17300   return 0;
   17301 }
   17302 _ACEOF
   17303 if ac_fn_c_try_link "$LINENO"; then :
   17304   eval $cacheid=yes
   17305 else
   17306   eval $cacheid=no
   17307 fi
   17308 rm -f core conftest.err conftest.$ac_objext \
   17309     conftest$ac_exeext conftest.$ac_ext
   17310 fi
   17311 
   17312 
   17313 		CFLAGS="$xorg_testset_save_CFLAGS"
   17314 
   17315 		eval supported=\$$cacheid
   17316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17317 $as_echo "$supported" >&6; }
   17318 		if test "$supported" = "yes" ; then
   17319 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17320 			found="yes"
   17321 		fi
   17322 	fi
   17323 
   17324 
   17325 fi
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 		CWARNFLAGS="$BASE_CFLAGS"
   17334 		if  test "x$GCC" = xyes ; then
   17335 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17336 		fi
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 # Check whether --enable-strict-compilation was given.
   17346 if test "${enable_strict_compilation+set}" = set; then :
   17347   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17348 else
   17349   STRICT_COMPILE=no
   17350 fi
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 STRICT_CFLAGS=""
   17358 
   17359 
   17360 
   17361 
   17362 
   17363 
   17364 
   17365 
   17366 
   17367 
   17368 
   17369 
   17370 
   17371 xorg_testset_save_CFLAGS="$CFLAGS"
   17372 
   17373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17376 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17377 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17378   $as_echo_n "(cached) " >&6
   17379 else
   17380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17381 /* end confdefs.h.  */
   17382 int i;
   17383 _ACEOF
   17384 if ac_fn_c_try_compile "$LINENO"; then :
   17385   xorg_cv_cc_flag_unknown_warning_option=yes
   17386 else
   17387   xorg_cv_cc_flag_unknown_warning_option=no
   17388 fi
   17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17390 fi
   17391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17392 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17394 	CFLAGS="$xorg_testset_save_CFLAGS"
   17395 fi
   17396 
   17397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17400 	fi
   17401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17403 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17404 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17405   $as_echo_n "(cached) " >&6
   17406 else
   17407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17408 /* end confdefs.h.  */
   17409 int i;
   17410 _ACEOF
   17411 if ac_fn_c_try_compile "$LINENO"; then :
   17412   xorg_cv_cc_flag_unused_command_line_argument=yes
   17413 else
   17414   xorg_cv_cc_flag_unused_command_line_argument=no
   17415 fi
   17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17417 fi
   17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17419 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17421 	CFLAGS="$xorg_testset_save_CFLAGS"
   17422 fi
   17423 
   17424 found="no"
   17425 
   17426 	if test $found = "no" ; then
   17427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17429 		fi
   17430 
   17431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17433 		fi
   17434 
   17435 		CFLAGS="$CFLAGS -pedantic"
   17436 
   17437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17438 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17439 		cacheid=xorg_cv_cc_flag__pedantic
   17440 		if eval \${$cacheid+:} false; then :
   17441   $as_echo_n "(cached) " >&6
   17442 else
   17443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17444 /* end confdefs.h.  */
   17445 int i;
   17446 int
   17447 main ()
   17448 {
   17449 
   17450   ;
   17451   return 0;
   17452 }
   17453 _ACEOF
   17454 if ac_fn_c_try_link "$LINENO"; then :
   17455   eval $cacheid=yes
   17456 else
   17457   eval $cacheid=no
   17458 fi
   17459 rm -f core conftest.err conftest.$ac_objext \
   17460     conftest$ac_exeext conftest.$ac_ext
   17461 fi
   17462 
   17463 
   17464 		CFLAGS="$xorg_testset_save_CFLAGS"
   17465 
   17466 		eval supported=\$$cacheid
   17467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17468 $as_echo "$supported" >&6; }
   17469 		if test "$supported" = "yes" ; then
   17470 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17471 			found="yes"
   17472 		fi
   17473 	fi
   17474 
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 xorg_testset_save_CFLAGS="$CFLAGS"
   17490 
   17491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17494 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17495 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17496   $as_echo_n "(cached) " >&6
   17497 else
   17498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17499 /* end confdefs.h.  */
   17500 int i;
   17501 _ACEOF
   17502 if ac_fn_c_try_compile "$LINENO"; then :
   17503   xorg_cv_cc_flag_unknown_warning_option=yes
   17504 else
   17505   xorg_cv_cc_flag_unknown_warning_option=no
   17506 fi
   17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17508 fi
   17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17510 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17512 	CFLAGS="$xorg_testset_save_CFLAGS"
   17513 fi
   17514 
   17515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17518 	fi
   17519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17521 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17522 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17523   $as_echo_n "(cached) " >&6
   17524 else
   17525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17526 /* end confdefs.h.  */
   17527 int i;
   17528 _ACEOF
   17529 if ac_fn_c_try_compile "$LINENO"; then :
   17530   xorg_cv_cc_flag_unused_command_line_argument=yes
   17531 else
   17532   xorg_cv_cc_flag_unused_command_line_argument=no
   17533 fi
   17534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17535 fi
   17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17537 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17539 	CFLAGS="$xorg_testset_save_CFLAGS"
   17540 fi
   17541 
   17542 found="no"
   17543 
   17544 	if test $found = "no" ; then
   17545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17547 		fi
   17548 
   17549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17551 		fi
   17552 
   17553 		CFLAGS="$CFLAGS -Werror"
   17554 
   17555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17556 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17557 		cacheid=xorg_cv_cc_flag__Werror
   17558 		if eval \${$cacheid+:} false; then :
   17559   $as_echo_n "(cached) " >&6
   17560 else
   17561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17562 /* end confdefs.h.  */
   17563 int i;
   17564 int
   17565 main ()
   17566 {
   17567 
   17568   ;
   17569   return 0;
   17570 }
   17571 _ACEOF
   17572 if ac_fn_c_try_link "$LINENO"; then :
   17573   eval $cacheid=yes
   17574 else
   17575   eval $cacheid=no
   17576 fi
   17577 rm -f core conftest.err conftest.$ac_objext \
   17578     conftest$ac_exeext conftest.$ac_ext
   17579 fi
   17580 
   17581 
   17582 		CFLAGS="$xorg_testset_save_CFLAGS"
   17583 
   17584 		eval supported=\$$cacheid
   17585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17586 $as_echo "$supported" >&6; }
   17587 		if test "$supported" = "yes" ; then
   17588 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17589 			found="yes"
   17590 		fi
   17591 	fi
   17592 
   17593 	if test $found = "no" ; then
   17594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17596 		fi
   17597 
   17598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17600 		fi
   17601 
   17602 		CFLAGS="$CFLAGS -errwarn"
   17603 
   17604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17605 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17606 		cacheid=xorg_cv_cc_flag__errwarn
   17607 		if eval \${$cacheid+:} false; then :
   17608   $as_echo_n "(cached) " >&6
   17609 else
   17610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17611 /* end confdefs.h.  */
   17612 int i;
   17613 int
   17614 main ()
   17615 {
   17616 
   17617   ;
   17618   return 0;
   17619 }
   17620 _ACEOF
   17621 if ac_fn_c_try_link "$LINENO"; then :
   17622   eval $cacheid=yes
   17623 else
   17624   eval $cacheid=no
   17625 fi
   17626 rm -f core conftest.err conftest.$ac_objext \
   17627     conftest$ac_exeext conftest.$ac_ext
   17628 fi
   17629 
   17630 
   17631 		CFLAGS="$xorg_testset_save_CFLAGS"
   17632 
   17633 		eval supported=\$$cacheid
   17634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17635 $as_echo "$supported" >&6; }
   17636 		if test "$supported" = "yes" ; then
   17637 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17638 			found="yes"
   17639 		fi
   17640 	fi
   17641 
   17642 
   17643 
   17644 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17645 # activate it with -Werror, so we add it here explicitly.
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 xorg_testset_save_CFLAGS="$CFLAGS"
   17660 
   17661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17666   $as_echo_n "(cached) " >&6
   17667 else
   17668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17669 /* end confdefs.h.  */
   17670 int i;
   17671 _ACEOF
   17672 if ac_fn_c_try_compile "$LINENO"; then :
   17673   xorg_cv_cc_flag_unknown_warning_option=yes
   17674 else
   17675   xorg_cv_cc_flag_unknown_warning_option=no
   17676 fi
   17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17678 fi
   17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17682 	CFLAGS="$xorg_testset_save_CFLAGS"
   17683 fi
   17684 
   17685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17688 	fi
   17689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17693   $as_echo_n "(cached) " >&6
   17694 else
   17695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17696 /* end confdefs.h.  */
   17697 int i;
   17698 _ACEOF
   17699 if ac_fn_c_try_compile "$LINENO"; then :
   17700   xorg_cv_cc_flag_unused_command_line_argument=yes
   17701 else
   17702   xorg_cv_cc_flag_unused_command_line_argument=no
   17703 fi
   17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17705 fi
   17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17709 	CFLAGS="$xorg_testset_save_CFLAGS"
   17710 fi
   17711 
   17712 found="no"
   17713 
   17714 	if test $found = "no" ; then
   17715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17717 		fi
   17718 
   17719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17721 		fi
   17722 
   17723 		CFLAGS="$CFLAGS -Werror=attributes"
   17724 
   17725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17726 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17727 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17728 		if eval \${$cacheid+:} false; then :
   17729   $as_echo_n "(cached) " >&6
   17730 else
   17731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17732 /* end confdefs.h.  */
   17733 int i;
   17734 int
   17735 main ()
   17736 {
   17737 
   17738   ;
   17739   return 0;
   17740 }
   17741 _ACEOF
   17742 if ac_fn_c_try_link "$LINENO"; then :
   17743   eval $cacheid=yes
   17744 else
   17745   eval $cacheid=no
   17746 fi
   17747 rm -f core conftest.err conftest.$ac_objext \
   17748     conftest$ac_exeext conftest.$ac_ext
   17749 fi
   17750 
   17751 
   17752 		CFLAGS="$xorg_testset_save_CFLAGS"
   17753 
   17754 		eval supported=\$$cacheid
   17755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17756 $as_echo "$supported" >&6; }
   17757 		if test "$supported" = "yes" ; then
   17758 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17759 			found="yes"
   17760 		fi
   17761 	fi
   17762 
   17763 
   17764 
   17765 if test "x$STRICT_COMPILE" = "xyes"; then
   17766     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17767     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17768 fi
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 cat >>confdefs.h <<_ACEOF
   17776 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17777 _ACEOF
   17778 
   17779 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17780 	if test "x$PVM" = "x"; then
   17781 		PVM="0"
   17782 	fi
   17783 
   17784 cat >>confdefs.h <<_ACEOF
   17785 #define PACKAGE_VERSION_MINOR $PVM
   17786 _ACEOF
   17787 
   17788 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17789 	if test "x$PVP" = "x"; then
   17790 		PVP="0"
   17791 	fi
   17792 
   17793 cat >>confdefs.h <<_ACEOF
   17794 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17795 _ACEOF
   17796 
   17797 
   17798 
   17799 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17800 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17801 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17802 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17803 
   17804 
   17805 
   17806 
   17807 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17808 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17809 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17810 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17811 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 if test x$APP_MAN_SUFFIX = x    ; then
   17819     APP_MAN_SUFFIX=1
   17820 fi
   17821 if test x$APP_MAN_DIR = x    ; then
   17822     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17823 fi
   17824 
   17825 if test x$LIB_MAN_SUFFIX = x    ; then
   17826     LIB_MAN_SUFFIX=3
   17827 fi
   17828 if test x$LIB_MAN_DIR = x    ; then
   17829     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17830 fi
   17831 
   17832 if test x$FILE_MAN_SUFFIX = x    ; then
   17833     case $host_os in
   17834 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17835 	*)		FILE_MAN_SUFFIX=5  ;;
   17836     esac
   17837 fi
   17838 if test x$FILE_MAN_DIR = x    ; then
   17839     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17840 fi
   17841 
   17842 if test x$MISC_MAN_SUFFIX = x    ; then
   17843     case $host_os in
   17844 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17845 	*)		MISC_MAN_SUFFIX=7  ;;
   17846     esac
   17847 fi
   17848 if test x$MISC_MAN_DIR = x    ; then
   17849     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17850 fi
   17851 
   17852 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17853     case $host_os in
   17854 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17855 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17856     esac
   17857 fi
   17858 if test x$DRIVER_MAN_DIR = x    ; then
   17859     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17860 fi
   17861 
   17862 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17863     case $host_os in
   17864 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17865 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17866     esac
   17867 fi
   17868 if test x$ADMIN_MAN_DIR = x    ; then
   17869     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17870 fi
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 XORG_MAN_PAGE="X Version 11"
   17887 
   17888 MAN_SUBSTS="\
   17889 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17890 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17891 	-e 's|__xservername__|Xorg|g' \
   17892 	-e 's|__xconfigfile__|xorg.conf|g' \
   17893 	-e 's|__projectroot__|\$(prefix)|g' \
   17894 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17895 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17896 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17897 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17898 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17899 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17900 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17901 
   17902 
   17903 
   17904 # Check whether --enable-silent-rules was given.
   17905 if test "${enable_silent_rules+set}" = set; then :
   17906   enableval=$enable_silent_rules;
   17907 fi
   17908 
   17909 case $enable_silent_rules in # (((
   17910   yes) AM_DEFAULT_VERBOSITY=0;;
   17911    no) AM_DEFAULT_VERBOSITY=1;;
   17912     *) AM_DEFAULT_VERBOSITY=0;;
   17913 esac
   17914 am_make=${MAKE-make}
   17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17916 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17917 if ${am_cv_make_support_nested_variables+:} false; then :
   17918   $as_echo_n "(cached) " >&6
   17919 else
   17920   if $as_echo 'TRUE=$(BAR$(V))
   17921 BAR0=false
   17922 BAR1=true
   17923 V=1
   17924 am__doit:
   17925 	@$(TRUE)
   17926 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17927   am_cv_make_support_nested_variables=yes
   17928 else
   17929   am_cv_make_support_nested_variables=no
   17930 fi
   17931 fi
   17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17933 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17934 if test $am_cv_make_support_nested_variables = yes; then
   17935     AM_V='$(V)'
   17936   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17937 else
   17938   AM_V=$AM_DEFAULT_VERBOSITY
   17939   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17940 fi
   17941 AM_BACKSLASH='\'
   17942 
   17943 
   17944 
   17945 # Checks for programs.
   17946 # Check whether --enable-static was given.
   17947 if test "${enable_static+set}" = set; then :
   17948   enableval=$enable_static; p=${PACKAGE-default}
   17949     case $enableval in
   17950     yes) enable_static=yes ;;
   17951     no) enable_static=no ;;
   17952     *)
   17953      enable_static=no
   17954       # Look at the argument we got.  We use all the common list separators.
   17955       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   17956       for pkg in $enableval; do
   17957 	IFS="$lt_save_ifs"
   17958 	if test "X$pkg" = "X$p"; then
   17959 	  enable_static=yes
   17960 	fi
   17961       done
   17962       IFS="$lt_save_ifs"
   17963       ;;
   17964     esac
   17965 else
   17966   enable_static=no
   17967 fi
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 # -----------------------------------------------------------------------------
   17979 #			Configuration options
   17980 # -----------------------------------------------------------------------------
   17981 # Define a configure option for an alternate input module directory
   17982 
   17983 # Check whether --with-xorg-module-dir was given.
   17984 if test "${with_xorg_module_dir+set}" = set; then :
   17985   withval=$with_xorg_module_dir; moduledir="$withval"
   17986 else
   17987   moduledir="$libdir/xorg/modules"
   17988 fi
   17989 
   17990 
   17991 
   17992 # Define a configure option to enable/disable lcd panel support
   17993 # Check whether --enable-geodegx-panel was given.
   17994 if test "${enable_geodegx_panel+set}" = set; then :
   17995   enableval=$enable_geodegx_panel;
   17996 else
   17997    PANEL_CPPFLAGS=-DPNL_SUP
   17998 fi
   17999 
   18000 
   18001 
   18002 # Define a configure option to enable/disable ztv
   18003 # Check whether --enable-ztv was given.
   18004 if test "${enable_ztv+set}" = set; then :
   18005   enableval=$enable_ztv; ztv=$enableval
   18006 else
   18007   ztv=auto
   18008 fi
   18009 
   18010 
   18011 # Check for Video4Linux Version 2 (V4L2) availability
   18012 for ac_header in linux/videodev2.h
   18013 do :
   18014   ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
   18015 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
   18016   cat >>confdefs.h <<_ACEOF
   18017 #define HAVE_LINUX_VIDEODEV2_H 1
   18018 _ACEOF
   18019  v4l2=yes
   18020 else
   18021   v4l2=no
   18022 fi
   18023 
   18024 done
   18025 
   18026 if test "x$ztv" != "xno" ; then
   18027     if test "x$v4l2" = "xno" ; then
   18028 	if test "x$ztv" = "xyes" ; then
   18029 	    # User really wants ztv but V4L2 is not found
   18030 	    as_fn_error $? "ZTV driver requested, but videodev2.h not found." "$LINENO" 5
   18031 	fi
   18032     else
   18033 	BUILD_ZTV=yes
   18034     fi
   18035 fi
   18036  if test "x$BUILD_ZTV" = xyes; then
   18037   BUILD_ZTV_TRUE=
   18038   BUILD_ZTV_FALSE='#'
   18039 else
   18040   BUILD_ZTV_TRUE='#'
   18041   BUILD_ZTV_FALSE=
   18042 fi
   18043 
   18044 
   18045 # Check if GCC supports compiling in 32 bit mode for 64 bit computers
   18046 case $host_cpu in
   18047     x86_64*|amd64*)
   18048 	if  test "x$GCC" = xyes ; then
   18049 	    SAVE_CFLAGS="$CFLAGS"
   18050 	    CFLAGS="$CFLAGS -m32"
   18051 	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports the -m32 Intel/AMD option" >&5
   18052 $as_echo_n "checking if $CC supports the -m32 Intel/AMD option... " >&6; }
   18053 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18054 /* end confdefs.h.  */
   18055 
   18056 #include <unistd.h>
   18057 int
   18058 main ()
   18059 {
   18060   ;
   18061   return 0;
   18062 }
   18063 _ACEOF
   18064 if ac_fn_c_try_compile "$LINENO"; then :
   18065   m32_support=yes; M32_CFLAGS=-m32
   18066 else
   18067   m32_support=no
   18068 fi
   18069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18070 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $m32_support" >&5
   18071 $as_echo "$m32_support" >&6; }
   18072 	    CFLAGS="$SAVE_CFLAGS"
   18073 	fi
   18074 	;;
   18075 esac
   18076 
   18077 
   18078 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18079 
   18080 
   18081 	SAVE_CFLAGS="$CFLAGS"
   18082 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18083 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18084 /* end confdefs.h.  */
   18085 
   18086 #include "xorg-server.h"
   18087 #if !defined RANDR
   18088 #error RANDR not defined
   18089 #endif
   18090 
   18091 int
   18092 main ()
   18093 {
   18094 
   18095   ;
   18096   return 0;
   18097 }
   18098 _ACEOF
   18099 if ac_fn_c_try_compile "$LINENO"; then :
   18100   _EXT_CHECK=yes
   18101 else
   18102   _EXT_CHECK=no
   18103 fi
   18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18105 	CFLAGS="$SAVE_CFLAGS"
   18106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18107 $as_echo_n "checking if RANDR is defined... " >&6; }
   18108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18109 $as_echo "$_EXT_CHECK" >&6; }
   18110 	if test "$_EXT_CHECK" != no; then
   18111 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18112 	fi
   18113 
   18114 
   18115 
   18116 	SAVE_CFLAGS="$CFLAGS"
   18117 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18118 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18119 /* end confdefs.h.  */
   18120 
   18121 #include "xorg-server.h"
   18122 #if !defined RENDER
   18123 #error RENDER not defined
   18124 #endif
   18125 
   18126 int
   18127 main ()
   18128 {
   18129 
   18130   ;
   18131   return 0;
   18132 }
   18133 _ACEOF
   18134 if ac_fn_c_try_compile "$LINENO"; then :
   18135   _EXT_CHECK=yes
   18136 else
   18137   _EXT_CHECK=no
   18138 fi
   18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18140 	CFLAGS="$SAVE_CFLAGS"
   18141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18142 $as_echo_n "checking if RENDER is defined... " >&6; }
   18143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18144 $as_echo "$_EXT_CHECK" >&6; }
   18145 	if test "$_EXT_CHECK" != no; then
   18146 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18147 	fi
   18148 
   18149 
   18150 
   18151 	SAVE_CFLAGS="$CFLAGS"
   18152 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18153 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18154 /* end confdefs.h.  */
   18155 
   18156 #include "xorg-server.h"
   18157 #if !defined XV
   18158 #error XV not defined
   18159 #endif
   18160 
   18161 int
   18162 main ()
   18163 {
   18164 
   18165   ;
   18166   return 0;
   18167 }
   18168 _ACEOF
   18169 if ac_fn_c_try_compile "$LINENO"; then :
   18170   _EXT_CHECK=yes
   18171 else
   18172   _EXT_CHECK=no
   18173 fi
   18174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18175 	CFLAGS="$SAVE_CFLAGS"
   18176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18177 $as_echo_n "checking if XV is defined... " >&6; }
   18178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18179 $as_echo "$_EXT_CHECK" >&6; }
   18180 	if test "$_EXT_CHECK" != no; then
   18181 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18182 	fi
   18183 
   18184 
   18185 
   18186 	SAVE_CFLAGS="$CFLAGS"
   18187 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18188 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18189 /* end confdefs.h.  */
   18190 
   18191 #include "xorg-server.h"
   18192 #if !defined DPMSExtension
   18193 #error DPMSExtension not defined
   18194 #endif
   18195 
   18196 int
   18197 main ()
   18198 {
   18199 
   18200   ;
   18201   return 0;
   18202 }
   18203 _ACEOF
   18204 if ac_fn_c_try_compile "$LINENO"; then :
   18205   _EXT_CHECK=yes
   18206 else
   18207   _EXT_CHECK=no
   18208 fi
   18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18210 	CFLAGS="$SAVE_CFLAGS"
   18211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18212 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18214 $as_echo "$_EXT_CHECK" >&6; }
   18215 	if test "$_EXT_CHECK" != no; then
   18216 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18217 	fi
   18218 
   18219 
   18220 # Obtain compiler/linker options for the Geode driver dependencies
   18221 
   18222 pkg_failed=no
   18223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18224 $as_echo_n "checking for XORG... " >&6; }
   18225 
   18226 if test -n "$XORG_CFLAGS"; then
   18227     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18228  elif test -n "$PKG_CONFIG"; then
   18229     if test -n "$PKG_CONFIG" && \
   18230     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18231   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   18232   ac_status=$?
   18233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18234   test $ac_status = 0; }; then
   18235   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18236 		      test "x$?" != "x0" && pkg_failed=yes
   18237 else
   18238   pkg_failed=yes
   18239 fi
   18240  else
   18241     pkg_failed=untried
   18242 fi
   18243 if test -n "$XORG_LIBS"; then
   18244     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18245  elif test -n "$PKG_CONFIG"; then
   18246     if test -n "$PKG_CONFIG" && \
   18247     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18248   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   18249   ac_status=$?
   18250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18251   test $ac_status = 0; }; then
   18252   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18253 		      test "x$?" != "x0" && pkg_failed=yes
   18254 else
   18255   pkg_failed=yes
   18256 fi
   18257  else
   18258     pkg_failed=untried
   18259 fi
   18260 
   18261 
   18262 
   18263 if test $pkg_failed = yes; then
   18264    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18265 $as_echo "no" >&6; }
   18266 
   18267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18268         _pkg_short_errors_supported=yes
   18269 else
   18270         _pkg_short_errors_supported=no
   18271 fi
   18272         if test $_pkg_short_errors_supported = yes; then
   18273 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18274         else
   18275 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18276         fi
   18277 	# Put the nasty error message in config.log where it belongs
   18278 	echo "$XORG_PKG_ERRORS" >&5
   18279 
   18280 	as_fn_error $? "Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   18281 
   18282 $XORG_PKG_ERRORS
   18283 
   18284 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18285 installed software in a non-standard prefix.
   18286 
   18287 Alternatively, you may set the environment variables XORG_CFLAGS
   18288 and XORG_LIBS to avoid the need to call pkg-config.
   18289 See the pkg-config man page for more details." "$LINENO" 5
   18290 elif test $pkg_failed = untried; then
   18291      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18292 $as_echo "no" >&6; }
   18293 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18295 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18296 is in your PATH or set the PKG_CONFIG environment variable to the full
   18297 path to pkg-config.
   18298 
   18299 Alternatively, you may set the environment variables XORG_CFLAGS
   18300 and XORG_LIBS to avoid the need to call pkg-config.
   18301 See the pkg-config man page for more details.
   18302 
   18303 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18304 See \`config.log' for more details" "$LINENO" 5; }
   18305 else
   18306 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18307 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18308         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18309 $as_echo "yes" >&6; }
   18310 
   18311 fi
   18312 
   18313 pkg_failed=no
   18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18315 $as_echo_n "checking for XEXT... " >&6; }
   18316 
   18317 if test -n "$XEXT_CFLAGS"; then
   18318     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18319  elif test -n "$PKG_CONFIG"; then
   18320     if test -n "$PKG_CONFIG" && \
   18321     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18322   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18323   ac_status=$?
   18324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18325   test $ac_status = 0; }; then
   18326   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18327 		      test "x$?" != "x0" && pkg_failed=yes
   18328 else
   18329   pkg_failed=yes
   18330 fi
   18331  else
   18332     pkg_failed=untried
   18333 fi
   18334 if test -n "$XEXT_LIBS"; then
   18335     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18336  elif test -n "$PKG_CONFIG"; then
   18337     if test -n "$PKG_CONFIG" && \
   18338     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18339   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18340   ac_status=$?
   18341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18342   test $ac_status = 0; }; then
   18343   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18344 		      test "x$?" != "x0" && pkg_failed=yes
   18345 else
   18346   pkg_failed=yes
   18347 fi
   18348  else
   18349     pkg_failed=untried
   18350 fi
   18351 
   18352 
   18353 
   18354 if test $pkg_failed = yes; then
   18355    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18356 $as_echo "no" >&6; }
   18357 
   18358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18359         _pkg_short_errors_supported=yes
   18360 else
   18361         _pkg_short_errors_supported=no
   18362 fi
   18363         if test $_pkg_short_errors_supported = yes; then
   18364 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18365         else
   18366 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18367         fi
   18368 	# Put the nasty error message in config.log where it belongs
   18369 	echo "$XEXT_PKG_ERRORS" >&5
   18370 
   18371 	HAVE_XEXTPROTO_71="no"
   18372 elif test $pkg_failed = untried; then
   18373      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18374 $as_echo "no" >&6; }
   18375 	HAVE_XEXTPROTO_71="no"
   18376 else
   18377 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18378 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18379         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18380 $as_echo "yes" >&6; }
   18381 	HAVE_XEXTPROTO_71="yes";
   18382 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18383 
   18384 fi
   18385 
   18386 # Define a configure option to enable/disable XAA support;
   18387 # handles unavailability of XAA since xserver-1.13
   18388 # Check whether --enable-xaa was given.
   18389 if test "${enable_xaa+set}" = set; then :
   18390   enableval=$enable_xaa;
   18391 fi
   18392 
   18393 
   18394 if test "x$enable_xaa" != "xno"; then :
   18395 
   18396         save_CFLAGS=$CFLAGS
   18397         save_CPPFLAGS=$CPPFLAGS
   18398         CFLAGS=$XORG_CFLAGS
   18399         CPPFLAGS="$XORG_CFLAGS"
   18400         for ac_header in xaa.h
   18401 do :
   18402   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18403 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18404   cat >>confdefs.h <<_ACEOF
   18405 #define HAVE_XAA_H 1
   18406 _ACEOF
   18407  have_XAA=yes
   18408 else
   18409   have_XAA=no
   18410 fi
   18411 
   18412 done
   18413 
   18414         CFLAGS=$save_CFLAGS
   18415         CPPFLAGS=$save_CPPFLAGS
   18416 
   18417 fi
   18418 
   18419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18420 $as_echo_n "checking whether to include XAA support... " >&6; }
   18421 
   18422 if test "x$have_XAA" = "xyes"; then :
   18423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18424 $as_echo "yes" >&6; }
   18425 else
   18426   if test "x$enable_xaa" = "xyes"; then :
   18427   as_fn_error $? "XAA requested but not found (perhaps building against xserver-1.13 or newer?)" "$LINENO" 5
   18428 else
   18429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18430 $as_echo "no" >&6; }
   18431 
   18432 fi
   18433 
   18434 fi
   18435 
   18436 # Checks for libpciaccess support.
   18437 SAVE_CPPFLAGS="$CPPFLAGS"
   18438 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18439 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18440 "
   18441 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18442   XSERVER_LIBPCIACCESS=yes
   18443 else
   18444   XSERVER_LIBPCIACCESS=no
   18445 fi
   18446 
   18447 CPPFLAGS="$SAVE_CPPFLAGS"
   18448 
   18449 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18450 
   18451 pkg_failed=no
   18452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18453 $as_echo_n "checking for PCIACCESS... " >&6; }
   18454 
   18455 if test -n "$PCIACCESS_CFLAGS"; then
   18456     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18457  elif test -n "$PKG_CONFIG"; then
   18458     if test -n "$PKG_CONFIG" && \
   18459     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18460   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18461   ac_status=$?
   18462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18463   test $ac_status = 0; }; then
   18464   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18465 		      test "x$?" != "x0" && pkg_failed=yes
   18466 else
   18467   pkg_failed=yes
   18468 fi
   18469  else
   18470     pkg_failed=untried
   18471 fi
   18472 if test -n "$PCIACCESS_LIBS"; then
   18473     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18474  elif test -n "$PKG_CONFIG"; then
   18475     if test -n "$PKG_CONFIG" && \
   18476     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18477   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18478   ac_status=$?
   18479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18480   test $ac_status = 0; }; then
   18481   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18482 		      test "x$?" != "x0" && pkg_failed=yes
   18483 else
   18484   pkg_failed=yes
   18485 fi
   18486  else
   18487     pkg_failed=untried
   18488 fi
   18489 
   18490 
   18491 
   18492 if test $pkg_failed = yes; then
   18493    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18494 $as_echo "no" >&6; }
   18495 
   18496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18497         _pkg_short_errors_supported=yes
   18498 else
   18499         _pkg_short_errors_supported=no
   18500 fi
   18501         if test $_pkg_short_errors_supported = yes; then
   18502 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18503         else
   18504 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18505         fi
   18506 	# Put the nasty error message in config.log where it belongs
   18507 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18508 
   18509 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18510 
   18511 $PCIACCESS_PKG_ERRORS
   18512 
   18513 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18514 installed software in a non-standard prefix.
   18515 
   18516 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18517 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18518 See the pkg-config man page for more details." "$LINENO" 5
   18519 elif test $pkg_failed = untried; then
   18520      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18521 $as_echo "no" >&6; }
   18522 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18524 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18525 is in your PATH or set the PKG_CONFIG environment variable to the full
   18526 path to pkg-config.
   18527 
   18528 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18529 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18530 See the pkg-config man page for more details.
   18531 
   18532 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18533 See \`config.log' for more details" "$LINENO" 5; }
   18534 else
   18535 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18536 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18537         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18538 $as_echo "yes" >&6; }
   18539 
   18540 fi
   18541     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18542 fi
   18543 
   18544 ac_config_files="$ac_config_files Makefile src/Makefile"
   18545 
   18546 cat >confcache <<\_ACEOF
   18547 # This file is a shell script that caches the results of configure
   18548 # tests run on this system so they can be shared between configure
   18549 # scripts and configure runs, see configure's option --config-cache.
   18550 # It is not useful on other systems.  If it contains results you don't
   18551 # want to keep, you may remove or edit it.
   18552 #
   18553 # config.status only pays attention to the cache file if you give it
   18554 # the --recheck option to rerun configure.
   18555 #
   18556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18558 # following values.
   18559 
   18560 _ACEOF
   18561 
   18562 # The following way of writing the cache mishandles newlines in values,
   18563 # but we know of no workaround that is simple, portable, and efficient.
   18564 # So, we kill variables containing newlines.
   18565 # Ultrix sh set writes to stderr and can't be redirected directly,
   18566 # and sets the high bit in the cache file unless we assign to the vars.
   18567 (
   18568   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18569     eval ac_val=\$$ac_var
   18570     case $ac_val in #(
   18571     *${as_nl}*)
   18572       case $ac_var in #(
   18573       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18574 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18575       esac
   18576       case $ac_var in #(
   18577       _ | IFS | as_nl) ;; #(
   18578       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18579       *) { eval $ac_var=; unset $ac_var;} ;;
   18580       esac ;;
   18581     esac
   18582   done
   18583 
   18584   (set) 2>&1 |
   18585     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18586     *${as_nl}ac_space=\ *)
   18587       # `set' does not quote correctly, so add quotes: double-quote
   18588       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18589       sed -n \
   18590 	"s/'/'\\\\''/g;
   18591 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18592       ;; #(
   18593     *)
   18594       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18595       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18596       ;;
   18597     esac |
   18598     sort
   18599 ) |
   18600   sed '
   18601      /^ac_cv_env_/b end
   18602      t clear
   18603      :clear
   18604      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18605      t end
   18606      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18607      :end' >>confcache
   18608 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18609   if test -w "$cache_file"; then
   18610     if test "x$cache_file" != "x/dev/null"; then
   18611       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18612 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18613       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18614 	cat confcache >"$cache_file"
   18615       else
   18616         case $cache_file in #(
   18617         */* | ?:*)
   18618 	  mv -f confcache "$cache_file"$$ &&
   18619 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18620         *)
   18621 	  mv -f confcache "$cache_file" ;;
   18622 	esac
   18623       fi
   18624     fi
   18625   else
   18626     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18627 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18628   fi
   18629 fi
   18630 rm -f confcache
   18631 
   18632 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18633 # Let make expand exec_prefix.
   18634 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18635 
   18636 DEFS=-DHAVE_CONFIG_H
   18637 
   18638 ac_libobjs=
   18639 ac_ltlibobjs=
   18640 U=
   18641 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18642   # 1. Remove the extension, and $U if already installed.
   18643   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18644   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18645   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18646   #    will be set to the directory where LIBOBJS objects are built.
   18647   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18648   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18649 done
   18650 LIBOBJS=$ac_libobjs
   18651 
   18652 LTLIBOBJS=$ac_ltlibobjs
   18653 
   18654 
   18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18656 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18657    if test -n "$am_sleep_pid"; then
   18658      # Hide warnings about reused PIDs.
   18659      wait $am_sleep_pid 2>/dev/null
   18660    fi
   18661    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18662 $as_echo "done" >&6; }
   18663  if test -n "$EXEEXT"; then
   18664   am__EXEEXT_TRUE=
   18665   am__EXEEXT_FALSE='#'
   18666 else
   18667   am__EXEEXT_TRUE='#'
   18668   am__EXEEXT_FALSE=
   18669 fi
   18670 
   18671 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18672   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18674 fi
   18675 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18676   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18678 fi
   18679 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18680   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18682 fi
   18683 if test -z "${BUILD_ZTV_TRUE}" && test -z "${BUILD_ZTV_FALSE}"; then
   18684   as_fn_error $? "conditional \"BUILD_ZTV\" was never defined.
   18685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18686 fi
   18687 
   18688 : "${CONFIG_STATUS=./config.status}"
   18689 ac_write_fail=0
   18690 ac_clean_files_save=$ac_clean_files
   18691 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18693 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18694 as_write_fail=0
   18695 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18696 #! $SHELL
   18697 # Generated by $as_me.
   18698 # Run this file to recreate the current configuration.
   18699 # Compiler output produced by configure, useful for debugging
   18700 # configure, is in config.log if it exists.
   18701 
   18702 debug=false
   18703 ac_cs_recheck=false
   18704 ac_cs_silent=false
   18705 
   18706 SHELL=\${CONFIG_SHELL-$SHELL}
   18707 export SHELL
   18708 _ASEOF
   18709 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18710 ## -------------------- ##
   18711 ## M4sh Initialization. ##
   18712 ## -------------------- ##
   18713 
   18714 # Be more Bourne compatible
   18715 DUALCASE=1; export DUALCASE # for MKS sh
   18716 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18717   emulate sh
   18718   NULLCMD=:
   18719   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18720   # is contrary to our usage.  Disable this feature.
   18721   alias -g '${1+"$@"}'='"$@"'
   18722   setopt NO_GLOB_SUBST
   18723 else
   18724   case `(set -o) 2>/dev/null` in #(
   18725   *posix*) :
   18726     set -o posix ;; #(
   18727   *) :
   18728      ;;
   18729 esac
   18730 fi
   18731 
   18732 
   18733 as_nl='
   18734 '
   18735 export as_nl
   18736 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18737 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18739 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18740 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18741 # but without wasting forks for bash or zsh.
   18742 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18743     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18744   as_echo='print -r --'
   18745   as_echo_n='print -rn --'
   18746 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18747   as_echo='printf %s\n'
   18748   as_echo_n='printf %s'
   18749 else
   18750   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18751     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18752     as_echo_n='/usr/ucb/echo -n'
   18753   else
   18754     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18755     as_echo_n_body='eval
   18756       arg=$1;
   18757       case $arg in #(
   18758       *"$as_nl"*)
   18759 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18760 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18761       esac;
   18762       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18763     '
   18764     export as_echo_n_body
   18765     as_echo_n='sh -c $as_echo_n_body as_echo'
   18766   fi
   18767   export as_echo_body
   18768   as_echo='sh -c $as_echo_body as_echo'
   18769 fi
   18770 
   18771 # The user is always right.
   18772 if test "${PATH_SEPARATOR+set}" != set; then
   18773   PATH_SEPARATOR=:
   18774   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18775     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18776       PATH_SEPARATOR=';'
   18777   }
   18778 fi
   18779 
   18780 
   18781 # IFS
   18782 # We need space, tab and new line, in precisely that order.  Quoting is
   18783 # there to prevent editors from complaining about space-tab.
   18784 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18785 # splitting by setting IFS to empty value.)
   18786 IFS=" ""	$as_nl"
   18787 
   18788 # Find who we are.  Look in the path if we contain no directory separator.
   18789 as_myself=
   18790 case $0 in #((
   18791   *[\\/]* ) as_myself=$0 ;;
   18792   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18793 for as_dir in $PATH
   18794 do
   18795   IFS=$as_save_IFS
   18796   test -z "$as_dir" && as_dir=.
   18797     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18798   done
   18799 IFS=$as_save_IFS
   18800 
   18801      ;;
   18802 esac
   18803 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18804 # in which case we are not to be found in the path.
   18805 if test "x$as_myself" = x; then
   18806   as_myself=$0
   18807 fi
   18808 if test ! -f "$as_myself"; then
   18809   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18810   exit 1
   18811 fi
   18812 
   18813 # Unset variables that we do not need and which cause bugs (e.g. in
   18814 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18815 # suppresses any "Segmentation fault" message there.  '((' could
   18816 # trigger a bug in pdksh 5.2.14.
   18817 for as_var in BASH_ENV ENV MAIL MAILPATH
   18818 do eval test x\${$as_var+set} = xset \
   18819   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18820 done
   18821 PS1='$ '
   18822 PS2='> '
   18823 PS4='+ '
   18824 
   18825 # NLS nuisances.
   18826 LC_ALL=C
   18827 export LC_ALL
   18828 LANGUAGE=C
   18829 export LANGUAGE
   18830 
   18831 # CDPATH.
   18832 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18833 
   18834 
   18835 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18836 # ----------------------------------------
   18837 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18838 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18839 # script with STATUS, using 1 if that was 0.
   18840 as_fn_error ()
   18841 {
   18842   as_status=$1; test $as_status -eq 0 && as_status=1
   18843   if test "$4"; then
   18844     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18845     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18846   fi
   18847   $as_echo "$as_me: error: $2" >&2
   18848   as_fn_exit $as_status
   18849 } # as_fn_error
   18850 
   18851 
   18852 # as_fn_set_status STATUS
   18853 # -----------------------
   18854 # Set $? to STATUS, without forking.
   18855 as_fn_set_status ()
   18856 {
   18857   return $1
   18858 } # as_fn_set_status
   18859 
   18860 # as_fn_exit STATUS
   18861 # -----------------
   18862 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18863 as_fn_exit ()
   18864 {
   18865   set +e
   18866   as_fn_set_status $1
   18867   exit $1
   18868 } # as_fn_exit
   18869 
   18870 # as_fn_unset VAR
   18871 # ---------------
   18872 # Portably unset VAR.
   18873 as_fn_unset ()
   18874 {
   18875   { eval $1=; unset $1;}
   18876 }
   18877 as_unset=as_fn_unset
   18878 # as_fn_append VAR VALUE
   18879 # ----------------------
   18880 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18881 # advantage of any shell optimizations that allow amortized linear growth over
   18882 # repeated appends, instead of the typical quadratic growth present in naive
   18883 # implementations.
   18884 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18885   eval 'as_fn_append ()
   18886   {
   18887     eval $1+=\$2
   18888   }'
   18889 else
   18890   as_fn_append ()
   18891   {
   18892     eval $1=\$$1\$2
   18893   }
   18894 fi # as_fn_append
   18895 
   18896 # as_fn_arith ARG...
   18897 # ------------------
   18898 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18899 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18900 # must be portable across $(()) and expr.
   18901 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18902   eval 'as_fn_arith ()
   18903   {
   18904     as_val=$(( $* ))
   18905   }'
   18906 else
   18907   as_fn_arith ()
   18908   {
   18909     as_val=`expr "$@" || test $? -eq 1`
   18910   }
   18911 fi # as_fn_arith
   18912 
   18913 
   18914 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18915    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18916   as_expr=expr
   18917 else
   18918   as_expr=false
   18919 fi
   18920 
   18921 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18922   as_basename=basename
   18923 else
   18924   as_basename=false
   18925 fi
   18926 
   18927 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18928   as_dirname=dirname
   18929 else
   18930   as_dirname=false
   18931 fi
   18932 
   18933 as_me=`$as_basename -- "$0" ||
   18934 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18935 	 X"$0" : 'X\(//\)$' \| \
   18936 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18937 $as_echo X/"$0" |
   18938     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18939 	    s//\1/
   18940 	    q
   18941 	  }
   18942 	  /^X\/\(\/\/\)$/{
   18943 	    s//\1/
   18944 	    q
   18945 	  }
   18946 	  /^X\/\(\/\).*/{
   18947 	    s//\1/
   18948 	    q
   18949 	  }
   18950 	  s/.*/./; q'`
   18951 
   18952 # Avoid depending upon Character Ranges.
   18953 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18954 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18955 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18956 as_cr_digits='0123456789'
   18957 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18958 
   18959 ECHO_C= ECHO_N= ECHO_T=
   18960 case `echo -n x` in #(((((
   18961 -n*)
   18962   case `echo 'xy\c'` in
   18963   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18964   xy)  ECHO_C='\c';;
   18965   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18966        ECHO_T='	';;
   18967   esac;;
   18968 *)
   18969   ECHO_N='-n';;
   18970 esac
   18971 
   18972 rm -f conf$$ conf$$.exe conf$$.file
   18973 if test -d conf$$.dir; then
   18974   rm -f conf$$.dir/conf$$.file
   18975 else
   18976   rm -f conf$$.dir
   18977   mkdir conf$$.dir 2>/dev/null
   18978 fi
   18979 if (echo >conf$$.file) 2>/dev/null; then
   18980   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18981     as_ln_s='ln -s'
   18982     # ... but there are two gotchas:
   18983     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18984     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18985     # In both cases, we have to default to `cp -pR'.
   18986     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18987       as_ln_s='cp -pR'
   18988   elif ln conf$$.file conf$$ 2>/dev/null; then
   18989     as_ln_s=ln
   18990   else
   18991     as_ln_s='cp -pR'
   18992   fi
   18993 else
   18994   as_ln_s='cp -pR'
   18995 fi
   18996 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18997 rmdir conf$$.dir 2>/dev/null
   18998 
   18999 
   19000 # as_fn_mkdir_p
   19001 # -------------
   19002 # Create "$as_dir" as a directory, including parents if necessary.
   19003 as_fn_mkdir_p ()
   19004 {
   19005 
   19006   case $as_dir in #(
   19007   -*) as_dir=./$as_dir;;
   19008   esac
   19009   test -d "$as_dir" || eval $as_mkdir_p || {
   19010     as_dirs=
   19011     while :; do
   19012       case $as_dir in #(
   19013       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19014       *) as_qdir=$as_dir;;
   19015       esac
   19016       as_dirs="'$as_qdir' $as_dirs"
   19017       as_dir=`$as_dirname -- "$as_dir" ||
   19018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19019 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19020 	 X"$as_dir" : 'X\(//\)$' \| \
   19021 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19022 $as_echo X"$as_dir" |
   19023     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19024 	    s//\1/
   19025 	    q
   19026 	  }
   19027 	  /^X\(\/\/\)[^/].*/{
   19028 	    s//\1/
   19029 	    q
   19030 	  }
   19031 	  /^X\(\/\/\)$/{
   19032 	    s//\1/
   19033 	    q
   19034 	  }
   19035 	  /^X\(\/\).*/{
   19036 	    s//\1/
   19037 	    q
   19038 	  }
   19039 	  s/.*/./; q'`
   19040       test -d "$as_dir" && break
   19041     done
   19042     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19043   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19044 
   19045 
   19046 } # as_fn_mkdir_p
   19047 if mkdir -p . 2>/dev/null; then
   19048   as_mkdir_p='mkdir -p "$as_dir"'
   19049 else
   19050   test -d ./-p && rmdir ./-p
   19051   as_mkdir_p=false
   19052 fi
   19053 
   19054 
   19055 # as_fn_executable_p FILE
   19056 # -----------------------
   19057 # Test if FILE is an executable regular file.
   19058 as_fn_executable_p ()
   19059 {
   19060   test -f "$1" && test -x "$1"
   19061 } # as_fn_executable_p
   19062 as_test_x='test -x'
   19063 as_executable_p=as_fn_executable_p
   19064 
   19065 # Sed expression to map a string onto a valid CPP name.
   19066 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19067 
   19068 # Sed expression to map a string onto a valid variable name.
   19069 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19070 
   19071 
   19072 exec 6>&1
   19073 ## ----------------------------------- ##
   19074 ## Main body of $CONFIG_STATUS script. ##
   19075 ## ----------------------------------- ##
   19076 _ASEOF
   19077 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19078 
   19079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19080 # Save the log message, to keep $0 and so on meaningful, and to
   19081 # report actual input values of CONFIG_FILES etc. instead of their
   19082 # values after options handling.
   19083 ac_log="
   19084 This file was extended by xf86-video-geode $as_me 2.11.18, which was
   19085 generated by GNU Autoconf 2.69.  Invocation command line was
   19086 
   19087   CONFIG_FILES    = $CONFIG_FILES
   19088   CONFIG_HEADERS  = $CONFIG_HEADERS
   19089   CONFIG_LINKS    = $CONFIG_LINKS
   19090   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19091   $ $0 $@
   19092 
   19093 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19094 "
   19095 
   19096 _ACEOF
   19097 
   19098 case $ac_config_files in *"
   19099 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19100 esac
   19101 
   19102 case $ac_config_headers in *"
   19103 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19104 esac
   19105 
   19106 
   19107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19108 # Files that config.status was made for.
   19109 config_files="$ac_config_files"
   19110 config_headers="$ac_config_headers"
   19111 config_commands="$ac_config_commands"
   19112 
   19113 _ACEOF
   19114 
   19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19116 ac_cs_usage="\
   19117 \`$as_me' instantiates files and other configuration actions
   19118 from templates according to the current configuration.  Unless the files
   19119 and actions are specified as TAGs, all are instantiated by default.
   19120 
   19121 Usage: $0 [OPTION]... [TAG]...
   19122 
   19123   -h, --help       print this help, then exit
   19124   -V, --version    print version number and configuration settings, then exit
   19125       --config     print configuration, then exit
   19126   -q, --quiet, --silent
   19127                    do not print progress messages
   19128   -d, --debug      don't remove temporary files
   19129       --recheck    update $as_me by reconfiguring in the same conditions
   19130       --file=FILE[:TEMPLATE]
   19131                    instantiate the configuration file FILE
   19132       --header=FILE[:TEMPLATE]
   19133                    instantiate the configuration header FILE
   19134 
   19135 Configuration files:
   19136 $config_files
   19137 
   19138 Configuration headers:
   19139 $config_headers
   19140 
   19141 Configuration commands:
   19142 $config_commands
   19143 
   19144 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode>.
   19145 xf86-video-geode home page: <http://www.x.org/wiki/GeodeDriver>."
   19146 
   19147 _ACEOF
   19148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19149 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19150 ac_cs_version="\\
   19151 xf86-video-geode config.status 2.11.18
   19152 configured by $0, generated by GNU Autoconf 2.69,
   19153   with options \\"\$ac_cs_config\\"
   19154 
   19155 Copyright (C) 2012 Free Software Foundation, Inc.
   19156 This config.status script is free software; the Free Software Foundation
   19157 gives unlimited permission to copy, distribute and modify it."
   19158 
   19159 ac_pwd='$ac_pwd'
   19160 srcdir='$srcdir'
   19161 INSTALL='$INSTALL'
   19162 MKDIR_P='$MKDIR_P'
   19163 AWK='$AWK'
   19164 test -n "\$AWK" || AWK=awk
   19165 _ACEOF
   19166 
   19167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19168 # The default lists apply if the user does not specify any file.
   19169 ac_need_defaults=:
   19170 while test $# != 0
   19171 do
   19172   case $1 in
   19173   --*=?*)
   19174     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19175     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19176     ac_shift=:
   19177     ;;
   19178   --*=)
   19179     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19180     ac_optarg=
   19181     ac_shift=:
   19182     ;;
   19183   *)
   19184     ac_option=$1
   19185     ac_optarg=$2
   19186     ac_shift=shift
   19187     ;;
   19188   esac
   19189 
   19190   case $ac_option in
   19191   # Handling of the options.
   19192   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19193     ac_cs_recheck=: ;;
   19194   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19195     $as_echo "$ac_cs_version"; exit ;;
   19196   --config | --confi | --conf | --con | --co | --c )
   19197     $as_echo "$ac_cs_config"; exit ;;
   19198   --debug | --debu | --deb | --de | --d | -d )
   19199     debug=: ;;
   19200   --file | --fil | --fi | --f )
   19201     $ac_shift
   19202     case $ac_optarg in
   19203     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19204     '') as_fn_error $? "missing file argument" ;;
   19205     esac
   19206     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19207     ac_need_defaults=false;;
   19208   --header | --heade | --head | --hea )
   19209     $ac_shift
   19210     case $ac_optarg in
   19211     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19212     esac
   19213     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19214     ac_need_defaults=false;;
   19215   --he | --h)
   19216     # Conflict between --help and --header
   19217     as_fn_error $? "ambiguous option: \`$1'
   19218 Try \`$0 --help' for more information.";;
   19219   --help | --hel | -h )
   19220     $as_echo "$ac_cs_usage"; exit ;;
   19221   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19222   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19223     ac_cs_silent=: ;;
   19224 
   19225   # This is an error.
   19226   -*) as_fn_error $? "unrecognized option: \`$1'
   19227 Try \`$0 --help' for more information." ;;
   19228 
   19229   *) as_fn_append ac_config_targets " $1"
   19230      ac_need_defaults=false ;;
   19231 
   19232   esac
   19233   shift
   19234 done
   19235 
   19236 ac_configure_extra_args=
   19237 
   19238 if $ac_cs_silent; then
   19239   exec 6>/dev/null
   19240   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19241 fi
   19242 
   19243 _ACEOF
   19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19245 if \$ac_cs_recheck; then
   19246   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19247   shift
   19248   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19249   CONFIG_SHELL='$SHELL'
   19250   export CONFIG_SHELL
   19251   exec "\$@"
   19252 fi
   19253 
   19254 _ACEOF
   19255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19256 exec 5>>config.log
   19257 {
   19258   echo
   19259   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19260 ## Running $as_me. ##
   19261 _ASBOX
   19262   $as_echo "$ac_log"
   19263 } >&5
   19264 
   19265 _ACEOF
   19266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19267 #
   19268 # INIT-COMMANDS
   19269 #
   19270 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19271 
   19272 
   19273 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19274 # if CDPATH is set.
   19275 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19276 
   19277 sed_quote_subst='$sed_quote_subst'
   19278 double_quote_subst='$double_quote_subst'
   19279 delay_variable_subst='$delay_variable_subst'
   19280 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19281 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19282 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19283 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19284 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19285 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19286 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19287 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19288 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19289 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19290 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19291 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19292 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19293 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19294 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19295 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19296 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19297 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19298 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19299 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19300 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19301 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19302 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19303 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19304 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19305 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19306 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19307 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19308 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19309 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19310 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19311 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19312 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19313 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19314 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19315 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19316 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19317 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19318 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19319 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19320 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19321 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19322 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19323 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19324 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19325 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19326 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19327 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19328 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19329 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19330 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19331 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19332 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19333 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19334 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19335 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19336 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"`'
   19337 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19338 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19339 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19340 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19341 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19342 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19343 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19344 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19345 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19346 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19347 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19348 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19349 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19350 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19351 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19352 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19353 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19354 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19355 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19356 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19357 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19358 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19359 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19360 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19361 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19362 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19363 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19364 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19365 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19366 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19367 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19368 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19369 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19370 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19371 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19372 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19373 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19374 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19375 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19376 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19377 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19378 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19379 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19380 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19381 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19382 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19383 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19384 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19385 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19386 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19387 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19388 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19389 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19390 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19391 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19392 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19393 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19394 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19395 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19396 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19397 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19398 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19399 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19400 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19401 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19402 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19403 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19404 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19405 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19406 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19407 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19408 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19409 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19410 
   19411 LTCC='$LTCC'
   19412 LTCFLAGS='$LTCFLAGS'
   19413 compiler='$compiler_DEFAULT'
   19414 
   19415 # A function that is used when there is no print builtin or printf.
   19416 func_fallback_echo ()
   19417 {
   19418   eval 'cat <<_LTECHO_EOF
   19419 \$1
   19420 _LTECHO_EOF'
   19421 }
   19422 
   19423 # Quote evaled strings.
   19424 for var in SHELL \
   19425 ECHO \
   19426 PATH_SEPARATOR \
   19427 SED \
   19428 GREP \
   19429 EGREP \
   19430 FGREP \
   19431 LD \
   19432 NM \
   19433 LN_S \
   19434 lt_SP2NL \
   19435 lt_NL2SP \
   19436 reload_flag \
   19437 OBJDUMP \
   19438 deplibs_check_method \
   19439 file_magic_cmd \
   19440 file_magic_glob \
   19441 want_nocaseglob \
   19442 DLLTOOL \
   19443 sharedlib_from_linklib_cmd \
   19444 AR \
   19445 AR_FLAGS \
   19446 archiver_list_spec \
   19447 STRIP \
   19448 RANLIB \
   19449 CC \
   19450 CFLAGS \
   19451 compiler \
   19452 lt_cv_sys_global_symbol_pipe \
   19453 lt_cv_sys_global_symbol_to_cdecl \
   19454 lt_cv_sys_global_symbol_to_c_name_address \
   19455 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19456 nm_file_list_spec \
   19457 lt_prog_compiler_no_builtin_flag \
   19458 lt_prog_compiler_pic \
   19459 lt_prog_compiler_wl \
   19460 lt_prog_compiler_static \
   19461 lt_cv_prog_compiler_c_o \
   19462 need_locks \
   19463 MANIFEST_TOOL \
   19464 DSYMUTIL \
   19465 NMEDIT \
   19466 LIPO \
   19467 OTOOL \
   19468 OTOOL64 \
   19469 shrext_cmds \
   19470 export_dynamic_flag_spec \
   19471 whole_archive_flag_spec \
   19472 compiler_needs_object \
   19473 with_gnu_ld \
   19474 allow_undefined_flag \
   19475 no_undefined_flag \
   19476 hardcode_libdir_flag_spec \
   19477 hardcode_libdir_separator \
   19478 exclude_expsyms \
   19479 include_expsyms \
   19480 file_list_spec \
   19481 variables_saved_for_relink \
   19482 libname_spec \
   19483 library_names_spec \
   19484 soname_spec \
   19485 install_override_mode \
   19486 finish_eval \
   19487 old_striplib \
   19488 striplib; do
   19489     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19490     *[\\\\\\\`\\"\\\$]*)
   19491       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19492       ;;
   19493     *)
   19494       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19495       ;;
   19496     esac
   19497 done
   19498 
   19499 # Double-quote double-evaled strings.
   19500 for var in reload_cmds \
   19501 old_postinstall_cmds \
   19502 old_postuninstall_cmds \
   19503 old_archive_cmds \
   19504 extract_expsyms_cmds \
   19505 old_archive_from_new_cmds \
   19506 old_archive_from_expsyms_cmds \
   19507 archive_cmds \
   19508 archive_expsym_cmds \
   19509 module_cmds \
   19510 module_expsym_cmds \
   19511 export_symbols_cmds \
   19512 prelink_cmds \
   19513 postlink_cmds \
   19514 postinstall_cmds \
   19515 postuninstall_cmds \
   19516 finish_cmds \
   19517 sys_lib_search_path_spec \
   19518 sys_lib_dlsearch_path_spec; do
   19519     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19520     *[\\\\\\\`\\"\\\$]*)
   19521       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19522       ;;
   19523     *)
   19524       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19525       ;;
   19526     esac
   19527 done
   19528 
   19529 ac_aux_dir='$ac_aux_dir'
   19530 xsi_shell='$xsi_shell'
   19531 lt_shell_append='$lt_shell_append'
   19532 
   19533 # See if we are running on zsh, and set the options which allow our
   19534 # commands through without removal of \ escapes INIT.
   19535 if test -n "\${ZSH_VERSION+set}" ; then
   19536    setopt NO_GLOB_SUBST
   19537 fi
   19538 
   19539 
   19540     PACKAGE='$PACKAGE'
   19541     VERSION='$VERSION'
   19542     TIMESTAMP='$TIMESTAMP'
   19543     RM='$RM'
   19544     ofile='$ofile'
   19545 
   19546 
   19547 
   19548 
   19549 _ACEOF
   19550 
   19551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19552 
   19553 # Handling of arguments.
   19554 for ac_config_target in $ac_config_targets
   19555 do
   19556   case $ac_config_target in
   19557     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19558     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19559     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19560     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19561     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19562 
   19563   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19564   esac
   19565 done
   19566 
   19567 
   19568 # If the user did not use the arguments to specify the items to instantiate,
   19569 # then the envvar interface is used.  Set only those that are not.
   19570 # We use the long form for the default assignment because of an extremely
   19571 # bizarre bug on SunOS 4.1.3.
   19572 if $ac_need_defaults; then
   19573   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19574   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19575   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19576 fi
   19577 
   19578 # Have a temporary directory for convenience.  Make it in the build tree
   19579 # simply because there is no reason against having it here, and in addition,
   19580 # creating and moving files from /tmp can sometimes cause problems.
   19581 # Hook for its removal unless debugging.
   19582 # Note that there is a small window in which the directory will not be cleaned:
   19583 # after its creation but before its name has been assigned to `$tmp'.
   19584 $debug ||
   19585 {
   19586   tmp= ac_tmp=
   19587   trap 'exit_status=$?
   19588   : "${ac_tmp:=$tmp}"
   19589   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19590 ' 0
   19591   trap 'as_fn_exit 1' 1 2 13 15
   19592 }
   19593 # Create a (secure) tmp directory for tmp files.
   19594 
   19595 {
   19596   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19597   test -d "$tmp"
   19598 }  ||
   19599 {
   19600   tmp=./conf$$-$RANDOM
   19601   (umask 077 && mkdir "$tmp")
   19602 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19603 ac_tmp=$tmp
   19604 
   19605 # Set up the scripts for CONFIG_FILES section.
   19606 # No need to generate them if there are no CONFIG_FILES.
   19607 # This happens for instance with `./config.status config.h'.
   19608 if test -n "$CONFIG_FILES"; then
   19609 
   19610 
   19611 ac_cr=`echo X | tr X '\015'`
   19612 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19613 # But we know of no other shell where ac_cr would be empty at this
   19614 # point, so we can use a bashism as a fallback.
   19615 if test "x$ac_cr" = x; then
   19616   eval ac_cr=\$\'\\r\'
   19617 fi
   19618 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19619 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19620   ac_cs_awk_cr='\\r'
   19621 else
   19622   ac_cs_awk_cr=$ac_cr
   19623 fi
   19624 
   19625 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19626 _ACEOF
   19627 
   19628 
   19629 {
   19630   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19631   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19632   echo "_ACEOF"
   19633 } >conf$$subs.sh ||
   19634   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19635 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19636 ac_delim='%!_!# '
   19637 for ac_last_try in false false false false false :; do
   19638   . ./conf$$subs.sh ||
   19639     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19640 
   19641   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19642   if test $ac_delim_n = $ac_delim_num; then
   19643     break
   19644   elif $ac_last_try; then
   19645     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19646   else
   19647     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19648   fi
   19649 done
   19650 rm -f conf$$subs.sh
   19651 
   19652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19653 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19654 _ACEOF
   19655 sed -n '
   19656 h
   19657 s/^/S["/; s/!.*/"]=/
   19658 p
   19659 g
   19660 s/^[^!]*!//
   19661 :repl
   19662 t repl
   19663 s/'"$ac_delim"'$//
   19664 t delim
   19665 :nl
   19666 h
   19667 s/\(.\{148\}\)..*/\1/
   19668 t more1
   19669 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19670 p
   19671 n
   19672 b repl
   19673 :more1
   19674 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19675 p
   19676 g
   19677 s/.\{148\}//
   19678 t nl
   19679 :delim
   19680 h
   19681 s/\(.\{148\}\)..*/\1/
   19682 t more2
   19683 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19684 p
   19685 b
   19686 :more2
   19687 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19688 p
   19689 g
   19690 s/.\{148\}//
   19691 t delim
   19692 ' <conf$$subs.awk | sed '
   19693 /^[^""]/{
   19694   N
   19695   s/\n//
   19696 }
   19697 ' >>$CONFIG_STATUS || ac_write_fail=1
   19698 rm -f conf$$subs.awk
   19699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19700 _ACAWK
   19701 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19702   for (key in S) S_is_set[key] = 1
   19703   FS = ""
   19704 
   19705 }
   19706 {
   19707   line = $ 0
   19708   nfields = split(line, field, "@")
   19709   substed = 0
   19710   len = length(field[1])
   19711   for (i = 2; i < nfields; i++) {
   19712     key = field[i]
   19713     keylen = length(key)
   19714     if (S_is_set[key]) {
   19715       value = S[key]
   19716       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19717       len += length(value) + length(field[++i])
   19718       substed = 1
   19719     } else
   19720       len += 1 + keylen
   19721   }
   19722 
   19723   print line
   19724 }
   19725 
   19726 _ACAWK
   19727 _ACEOF
   19728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19729 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19730   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19731 else
   19732   cat
   19733 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19734   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19735 _ACEOF
   19736 
   19737 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19738 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19739 # trailing colons and then remove the whole line if VPATH becomes empty
   19740 # (actually we leave an empty line to preserve line numbers).
   19741 if test "x$srcdir" = x.; then
   19742   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19743 h
   19744 s///
   19745 s/^/:/
   19746 s/[	 ]*$/:/
   19747 s/:\$(srcdir):/:/g
   19748 s/:\${srcdir}:/:/g
   19749 s/:@srcdir@:/:/g
   19750 s/^:*//
   19751 s/:*$//
   19752 x
   19753 s/\(=[	 ]*\).*/\1/
   19754 G
   19755 s/\n//
   19756 s/^[^=]*=[	 ]*$//
   19757 }'
   19758 fi
   19759 
   19760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19761 fi # test -n "$CONFIG_FILES"
   19762 
   19763 # Set up the scripts for CONFIG_HEADERS section.
   19764 # No need to generate them if there are no CONFIG_HEADERS.
   19765 # This happens for instance with `./config.status Makefile'.
   19766 if test -n "$CONFIG_HEADERS"; then
   19767 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19768 BEGIN {
   19769 _ACEOF
   19770 
   19771 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19772 # here-document in config.status, that substitutes the proper values into
   19773 # config.h.in to produce config.h.
   19774 
   19775 # Create a delimiter string that does not exist in confdefs.h, to ease
   19776 # handling of long lines.
   19777 ac_delim='%!_!# '
   19778 for ac_last_try in false false :; do
   19779   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19780   if test -z "$ac_tt"; then
   19781     break
   19782   elif $ac_last_try; then
   19783     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19784   else
   19785     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19786   fi
   19787 done
   19788 
   19789 # For the awk script, D is an array of macro values keyed by name,
   19790 # likewise P contains macro parameters if any.  Preserve backslash
   19791 # newline sequences.
   19792 
   19793 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19794 sed -n '
   19795 s/.\{148\}/&'"$ac_delim"'/g
   19796 t rset
   19797 :rset
   19798 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19799 t def
   19800 d
   19801 :def
   19802 s/\\$//
   19803 t bsnl
   19804 s/["\\]/\\&/g
   19805 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19806 D["\1"]=" \3"/p
   19807 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19808 d
   19809 :bsnl
   19810 s/["\\]/\\&/g
   19811 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19812 D["\1"]=" \3\\\\\\n"\\/p
   19813 t cont
   19814 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19815 t cont
   19816 d
   19817 :cont
   19818 n
   19819 s/.\{148\}/&'"$ac_delim"'/g
   19820 t clear
   19821 :clear
   19822 s/\\$//
   19823 t bsnlc
   19824 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19825 d
   19826 :bsnlc
   19827 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19828 b cont
   19829 ' <confdefs.h | sed '
   19830 s/'"$ac_delim"'/"\\\
   19831 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19832 
   19833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19834   for (key in D) D_is_set[key] = 1
   19835   FS = ""
   19836 }
   19837 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19838   line = \$ 0
   19839   split(line, arg, " ")
   19840   if (arg[1] == "#") {
   19841     defundef = arg[2]
   19842     mac1 = arg[3]
   19843   } else {
   19844     defundef = substr(arg[1], 2)
   19845     mac1 = arg[2]
   19846   }
   19847   split(mac1, mac2, "(") #)
   19848   macro = mac2[1]
   19849   prefix = substr(line, 1, index(line, defundef) - 1)
   19850   if (D_is_set[macro]) {
   19851     # Preserve the white space surrounding the "#".
   19852     print prefix "define", macro P[macro] D[macro]
   19853     next
   19854   } else {
   19855     # Replace #undef with comments.  This is necessary, for example,
   19856     # in the case of _POSIX_SOURCE, which is predefined and required
   19857     # on some systems where configure will not decide to define it.
   19858     if (defundef == "undef") {
   19859       print "/*", prefix defundef, macro, "*/"
   19860       next
   19861     }
   19862   }
   19863 }
   19864 { print }
   19865 _ACAWK
   19866 _ACEOF
   19867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19868   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19869 fi # test -n "$CONFIG_HEADERS"
   19870 
   19871 
   19872 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19873 shift
   19874 for ac_tag
   19875 do
   19876   case $ac_tag in
   19877   :[FHLC]) ac_mode=$ac_tag; continue;;
   19878   esac
   19879   case $ac_mode$ac_tag in
   19880   :[FHL]*:*);;
   19881   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19882   :[FH]-) ac_tag=-:-;;
   19883   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19884   esac
   19885   ac_save_IFS=$IFS
   19886   IFS=:
   19887   set x $ac_tag
   19888   IFS=$ac_save_IFS
   19889   shift
   19890   ac_file=$1
   19891   shift
   19892 
   19893   case $ac_mode in
   19894   :L) ac_source=$1;;
   19895   :[FH])
   19896     ac_file_inputs=
   19897     for ac_f
   19898     do
   19899       case $ac_f in
   19900       -) ac_f="$ac_tmp/stdin";;
   19901       *) # Look for the file first in the build tree, then in the source tree
   19902 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19903 	 # because $ac_f cannot contain `:'.
   19904 	 test -f "$ac_f" ||
   19905 	   case $ac_f in
   19906 	   [\\/$]*) false;;
   19907 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19908 	   esac ||
   19909 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19910       esac
   19911       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19912       as_fn_append ac_file_inputs " '$ac_f'"
   19913     done
   19914 
   19915     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19916     # use $as_me), people would be surprised to read:
   19917     #    /* config.h.  Generated by config.status.  */
   19918     configure_input='Generated from '`
   19919 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19920 	`' by configure.'
   19921     if test x"$ac_file" != x-; then
   19922       configure_input="$ac_file.  $configure_input"
   19923       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19924 $as_echo "$as_me: creating $ac_file" >&6;}
   19925     fi
   19926     # Neutralize special characters interpreted by sed in replacement strings.
   19927     case $configure_input in #(
   19928     *\&* | *\|* | *\\* )
   19929        ac_sed_conf_input=`$as_echo "$configure_input" |
   19930        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19931     *) ac_sed_conf_input=$configure_input;;
   19932     esac
   19933 
   19934     case $ac_tag in
   19935     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19936       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19937     esac
   19938     ;;
   19939   esac
   19940 
   19941   ac_dir=`$as_dirname -- "$ac_file" ||
   19942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19943 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19944 	 X"$ac_file" : 'X\(//\)$' \| \
   19945 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19946 $as_echo X"$ac_file" |
   19947     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19948 	    s//\1/
   19949 	    q
   19950 	  }
   19951 	  /^X\(\/\/\)[^/].*/{
   19952 	    s//\1/
   19953 	    q
   19954 	  }
   19955 	  /^X\(\/\/\)$/{
   19956 	    s//\1/
   19957 	    q
   19958 	  }
   19959 	  /^X\(\/\).*/{
   19960 	    s//\1/
   19961 	    q
   19962 	  }
   19963 	  s/.*/./; q'`
   19964   as_dir="$ac_dir"; as_fn_mkdir_p
   19965   ac_builddir=.
   19966 
   19967 case "$ac_dir" in
   19968 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19969 *)
   19970   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19971   # A ".." for each directory in $ac_dir_suffix.
   19972   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19973   case $ac_top_builddir_sub in
   19974   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19975   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19976   esac ;;
   19977 esac
   19978 ac_abs_top_builddir=$ac_pwd
   19979 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19980 # for backward compatibility:
   19981 ac_top_builddir=$ac_top_build_prefix
   19982 
   19983 case $srcdir in
   19984   .)  # We are building in place.
   19985     ac_srcdir=.
   19986     ac_top_srcdir=$ac_top_builddir_sub
   19987     ac_abs_top_srcdir=$ac_pwd ;;
   19988   [\\/]* | ?:[\\/]* )  # Absolute name.
   19989     ac_srcdir=$srcdir$ac_dir_suffix;
   19990     ac_top_srcdir=$srcdir
   19991     ac_abs_top_srcdir=$srcdir ;;
   19992   *) # Relative name.
   19993     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19994     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19995     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19996 esac
   19997 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19998 
   19999 
   20000   case $ac_mode in
   20001   :F)
   20002   #
   20003   # CONFIG_FILE
   20004   #
   20005 
   20006   case $INSTALL in
   20007   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20008   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20009   esac
   20010   ac_MKDIR_P=$MKDIR_P
   20011   case $MKDIR_P in
   20012   [\\/$]* | ?:[\\/]* ) ;;
   20013   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20014   esac
   20015 _ACEOF
   20016 
   20017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20018 # If the template does not know about datarootdir, expand it.
   20019 # FIXME: This hack should be removed a few years after 2.60.
   20020 ac_datarootdir_hack=; ac_datarootdir_seen=
   20021 ac_sed_dataroot='
   20022 /datarootdir/ {
   20023   p
   20024   q
   20025 }
   20026 /@datadir@/p
   20027 /@docdir@/p
   20028 /@infodir@/p
   20029 /@localedir@/p
   20030 /@mandir@/p'
   20031 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20032 *datarootdir*) ac_datarootdir_seen=yes;;
   20033 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20034   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20035 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20036 _ACEOF
   20037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20038   ac_datarootdir_hack='
   20039   s&@datadir@&$datadir&g
   20040   s&@docdir@&$docdir&g
   20041   s&@infodir@&$infodir&g
   20042   s&@localedir@&$localedir&g
   20043   s&@mandir@&$mandir&g
   20044   s&\\\${datarootdir}&$datarootdir&g' ;;
   20045 esac
   20046 _ACEOF
   20047 
   20048 # Neutralize VPATH when `$srcdir' = `.'.
   20049 # Shell code in configure.ac might set extrasub.
   20050 # FIXME: do we really want to maintain this feature?
   20051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20052 ac_sed_extra="$ac_vpsub
   20053 $extrasub
   20054 _ACEOF
   20055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20056 :t
   20057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20058 s|@configure_input@|$ac_sed_conf_input|;t t
   20059 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20060 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20061 s&@srcdir@&$ac_srcdir&;t t
   20062 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20063 s&@top_srcdir@&$ac_top_srcdir&;t t
   20064 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20065 s&@builddir@&$ac_builddir&;t t
   20066 s&@abs_builddir@&$ac_abs_builddir&;t t
   20067 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20068 s&@INSTALL@&$ac_INSTALL&;t t
   20069 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20070 $ac_datarootdir_hack
   20071 "
   20072 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20073   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20074 
   20075 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20076   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20077   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20078       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20079   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20080 which seems to be undefined.  Please make sure it is defined" >&5
   20081 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20082 which seems to be undefined.  Please make sure it is defined" >&2;}
   20083 
   20084   rm -f "$ac_tmp/stdin"
   20085   case $ac_file in
   20086   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20087   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20088   esac \
   20089   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20090  ;;
   20091   :H)
   20092   #
   20093   # CONFIG_HEADER
   20094   #
   20095   if test x"$ac_file" != x-; then
   20096     {
   20097       $as_echo "/* $configure_input  */" \
   20098       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20099     } >"$ac_tmp/config.h" \
   20100       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20101     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20102       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20103 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20104     else
   20105       rm -f "$ac_file"
   20106       mv "$ac_tmp/config.h" "$ac_file" \
   20107 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20108     fi
   20109   else
   20110     $as_echo "/* $configure_input  */" \
   20111       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20112       || as_fn_error $? "could not create -" "$LINENO" 5
   20113   fi
   20114 # Compute "$ac_file"'s index in $config_headers.
   20115 _am_arg="$ac_file"
   20116 _am_stamp_count=1
   20117 for _am_header in $config_headers :; do
   20118   case $_am_header in
   20119     $_am_arg | $_am_arg:* )
   20120       break ;;
   20121     * )
   20122       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20123   esac
   20124 done
   20125 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20126 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20127 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20128 	 X"$_am_arg" : 'X\(//\)$' \| \
   20129 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20130 $as_echo X"$_am_arg" |
   20131     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20132 	    s//\1/
   20133 	    q
   20134 	  }
   20135 	  /^X\(\/\/\)[^/].*/{
   20136 	    s//\1/
   20137 	    q
   20138 	  }
   20139 	  /^X\(\/\/\)$/{
   20140 	    s//\1/
   20141 	    q
   20142 	  }
   20143 	  /^X\(\/\).*/{
   20144 	    s//\1/
   20145 	    q
   20146 	  }
   20147 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20148  ;;
   20149 
   20150   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20151 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20152  ;;
   20153   esac
   20154 
   20155 
   20156   case $ac_file$ac_mode in
   20157     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20158   # Older Autoconf quotes --file arguments for eval, but not when files
   20159   # are listed without --file.  Let's play safe and only enable the eval
   20160   # if we detect the quoting.
   20161   case $CONFIG_FILES in
   20162   *\'*) eval set x "$CONFIG_FILES" ;;
   20163   *)   set x $CONFIG_FILES ;;
   20164   esac
   20165   shift
   20166   for mf
   20167   do
   20168     # Strip MF so we end up with the name of the file.
   20169     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20170     # Check whether this is an Automake generated Makefile or not.
   20171     # We used to match only the files named 'Makefile.in', but
   20172     # some people rename them; so instead we look at the file content.
   20173     # Grep'ing the first line is not enough: some people post-process
   20174     # each Makefile.in and add a new line on top of each file to say so.
   20175     # Grep'ing the whole file is not good either: AIX grep has a line
   20176     # limit of 2048, but all sed's we know have understand at least 4000.
   20177     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20178       dirpart=`$as_dirname -- "$mf" ||
   20179 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20180 	 X"$mf" : 'X\(//\)[^/]' \| \
   20181 	 X"$mf" : 'X\(//\)$' \| \
   20182 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20183 $as_echo X"$mf" |
   20184     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20185 	    s//\1/
   20186 	    q
   20187 	  }
   20188 	  /^X\(\/\/\)[^/].*/{
   20189 	    s//\1/
   20190 	    q
   20191 	  }
   20192 	  /^X\(\/\/\)$/{
   20193 	    s//\1/
   20194 	    q
   20195 	  }
   20196 	  /^X\(\/\).*/{
   20197 	    s//\1/
   20198 	    q
   20199 	  }
   20200 	  s/.*/./; q'`
   20201     else
   20202       continue
   20203     fi
   20204     # Extract the definition of DEPDIR, am__include, and am__quote
   20205     # from the Makefile without running 'make'.
   20206     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20207     test -z "$DEPDIR" && continue
   20208     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20209     test -z "$am__include" && continue
   20210     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20211     # Find all dependency output files, they are included files with
   20212     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20213     # simplest approach to changing $(DEPDIR) to its actual value in the
   20214     # expansion.
   20215     for file in `sed -n "
   20216       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20217 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20218       # Make sure the directory exists.
   20219       test -f "$dirpart/$file" && continue
   20220       fdir=`$as_dirname -- "$file" ||
   20221 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20222 	 X"$file" : 'X\(//\)[^/]' \| \
   20223 	 X"$file" : 'X\(//\)$' \| \
   20224 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20225 $as_echo X"$file" |
   20226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20227 	    s//\1/
   20228 	    q
   20229 	  }
   20230 	  /^X\(\/\/\)[^/].*/{
   20231 	    s//\1/
   20232 	    q
   20233 	  }
   20234 	  /^X\(\/\/\)$/{
   20235 	    s//\1/
   20236 	    q
   20237 	  }
   20238 	  /^X\(\/\).*/{
   20239 	    s//\1/
   20240 	    q
   20241 	  }
   20242 	  s/.*/./; q'`
   20243       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20244       # echo "creating $dirpart/$file"
   20245       echo '# dummy' > "$dirpart/$file"
   20246     done
   20247   done
   20248 }
   20249  ;;
   20250     "libtool":C)
   20251 
   20252     # See if we are running on zsh, and set the options which allow our
   20253     # commands through without removal of \ escapes.
   20254     if test -n "${ZSH_VERSION+set}" ; then
   20255       setopt NO_GLOB_SUBST
   20256     fi
   20257 
   20258     cfgfile="${ofile}T"
   20259     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20260     $RM "$cfgfile"
   20261 
   20262     cat <<_LT_EOF >> "$cfgfile"
   20263 #! $SHELL
   20264 
   20265 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20266 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20267 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20268 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20269 #
   20270 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20271 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20272 #                 Foundation, Inc.
   20273 #   Written by Gordon Matzigkeit, 1996
   20274 #
   20275 #   This file is part of GNU Libtool.
   20276 #
   20277 # GNU Libtool is free software; you can redistribute it and/or
   20278 # modify it under the terms of the GNU General Public License as
   20279 # published by the Free Software Foundation; either version 2 of
   20280 # the License, or (at your option) any later version.
   20281 #
   20282 # As a special exception to the GNU General Public License,
   20283 # if you distribute this file as part of a program or library that
   20284 # is built using GNU Libtool, you may include this file under the
   20285 # same distribution terms that you use for the rest of that program.
   20286 #
   20287 # GNU Libtool is distributed in the hope that it will be useful,
   20288 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20289 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20290 # GNU General Public License for more details.
   20291 #
   20292 # You should have received a copy of the GNU General Public License
   20293 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20294 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20295 # obtained by writing to the Free Software Foundation, Inc.,
   20296 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20297 
   20298 
   20299 # The names of the tagged configurations supported by this script.
   20300 available_tags=""
   20301 
   20302 # ### BEGIN LIBTOOL CONFIG
   20303 
   20304 # Whether or not to build static libraries.
   20305 build_old_libs=$enable_static
   20306 
   20307 # Which release of libtool.m4 was used?
   20308 macro_version=$macro_version
   20309 macro_revision=$macro_revision
   20310 
   20311 # Whether or not to build shared libraries.
   20312 build_libtool_libs=$enable_shared
   20313 
   20314 # What type of objects to build.
   20315 pic_mode=$pic_mode
   20316 
   20317 # Whether or not to optimize for fast installation.
   20318 fast_install=$enable_fast_install
   20319 
   20320 # Shell to use when invoking shell scripts.
   20321 SHELL=$lt_SHELL
   20322 
   20323 # An echo program that protects backslashes.
   20324 ECHO=$lt_ECHO
   20325 
   20326 # The PATH separator for the build system.
   20327 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20328 
   20329 # The host system.
   20330 host_alias=$host_alias
   20331 host=$host
   20332 host_os=$host_os
   20333 
   20334 # The build system.
   20335 build_alias=$build_alias
   20336 build=$build
   20337 build_os=$build_os
   20338 
   20339 # A sed program that does not truncate output.
   20340 SED=$lt_SED
   20341 
   20342 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20343 Xsed="\$SED -e 1s/^X//"
   20344 
   20345 # A grep program that handles long lines.
   20346 GREP=$lt_GREP
   20347 
   20348 # An ERE matcher.
   20349 EGREP=$lt_EGREP
   20350 
   20351 # A literal string matcher.
   20352 FGREP=$lt_FGREP
   20353 
   20354 # A BSD- or MS-compatible name lister.
   20355 NM=$lt_NM
   20356 
   20357 # Whether we need soft or hard links.
   20358 LN_S=$lt_LN_S
   20359 
   20360 # What is the maximum length of a command?
   20361 max_cmd_len=$max_cmd_len
   20362 
   20363 # Object file suffix (normally "o").
   20364 objext=$ac_objext
   20365 
   20366 # Executable file suffix (normally "").
   20367 exeext=$exeext
   20368 
   20369 # whether the shell understands "unset".
   20370 lt_unset=$lt_unset
   20371 
   20372 # turn spaces into newlines.
   20373 SP2NL=$lt_lt_SP2NL
   20374 
   20375 # turn newlines into spaces.
   20376 NL2SP=$lt_lt_NL2SP
   20377 
   20378 # convert \$build file names to \$host format.
   20379 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20380 
   20381 # convert \$build files to toolchain format.
   20382 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20383 
   20384 # An object symbol dumper.
   20385 OBJDUMP=$lt_OBJDUMP
   20386 
   20387 # Method to check whether dependent libraries are shared objects.
   20388 deplibs_check_method=$lt_deplibs_check_method
   20389 
   20390 # Command to use when deplibs_check_method = "file_magic".
   20391 file_magic_cmd=$lt_file_magic_cmd
   20392 
   20393 # How to find potential files when deplibs_check_method = "file_magic".
   20394 file_magic_glob=$lt_file_magic_glob
   20395 
   20396 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20397 want_nocaseglob=$lt_want_nocaseglob
   20398 
   20399 # DLL creation program.
   20400 DLLTOOL=$lt_DLLTOOL
   20401 
   20402 # Command to associate shared and link libraries.
   20403 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20404 
   20405 # The archiver.
   20406 AR=$lt_AR
   20407 
   20408 # Flags to create an archive.
   20409 AR_FLAGS=$lt_AR_FLAGS
   20410 
   20411 # How to feed a file listing to the archiver.
   20412 archiver_list_spec=$lt_archiver_list_spec
   20413 
   20414 # A symbol stripping program.
   20415 STRIP=$lt_STRIP
   20416 
   20417 # Commands used to install an old-style archive.
   20418 RANLIB=$lt_RANLIB
   20419 old_postinstall_cmds=$lt_old_postinstall_cmds
   20420 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20421 
   20422 # Whether to use a lock for old archive extraction.
   20423 lock_old_archive_extraction=$lock_old_archive_extraction
   20424 
   20425 # A C compiler.
   20426 LTCC=$lt_CC
   20427 
   20428 # LTCC compiler flags.
   20429 LTCFLAGS=$lt_CFLAGS
   20430 
   20431 # Take the output of nm and produce a listing of raw symbols and C names.
   20432 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20433 
   20434 # Transform the output of nm in a proper C declaration.
   20435 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20436 
   20437 # Transform the output of nm in a C name address pair.
   20438 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20439 
   20440 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20441 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20442 
   20443 # Specify filename containing input files for \$NM.
   20444 nm_file_list_spec=$lt_nm_file_list_spec
   20445 
   20446 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20447 lt_sysroot=$lt_sysroot
   20448 
   20449 # The name of the directory that contains temporary libtool files.
   20450 objdir=$objdir
   20451 
   20452 # Used to examine libraries when file_magic_cmd begins with "file".
   20453 MAGIC_CMD=$MAGIC_CMD
   20454 
   20455 # Must we lock files when doing compilation?
   20456 need_locks=$lt_need_locks
   20457 
   20458 # Manifest tool.
   20459 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20460 
   20461 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20462 DSYMUTIL=$lt_DSYMUTIL
   20463 
   20464 # Tool to change global to local symbols on Mac OS X.
   20465 NMEDIT=$lt_NMEDIT
   20466 
   20467 # Tool to manipulate fat objects and archives on Mac OS X.
   20468 LIPO=$lt_LIPO
   20469 
   20470 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20471 OTOOL=$lt_OTOOL
   20472 
   20473 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20474 OTOOL64=$lt_OTOOL64
   20475 
   20476 # Old archive suffix (normally "a").
   20477 libext=$libext
   20478 
   20479 # Shared library suffix (normally ".so").
   20480 shrext_cmds=$lt_shrext_cmds
   20481 
   20482 # The commands to extract the exported symbol list from a shared archive.
   20483 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20484 
   20485 # Variables whose values should be saved in libtool wrapper scripts and
   20486 # restored at link time.
   20487 variables_saved_for_relink=$lt_variables_saved_for_relink
   20488 
   20489 # Do we need the "lib" prefix for modules?
   20490 need_lib_prefix=$need_lib_prefix
   20491 
   20492 # Do we need a version for libraries?
   20493 need_version=$need_version
   20494 
   20495 # Library versioning type.
   20496 version_type=$version_type
   20497 
   20498 # Shared library runtime path variable.
   20499 runpath_var=$runpath_var
   20500 
   20501 # Shared library path variable.
   20502 shlibpath_var=$shlibpath_var
   20503 
   20504 # Is shlibpath searched before the hard-coded library search path?
   20505 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20506 
   20507 # Format of library name prefix.
   20508 libname_spec=$lt_libname_spec
   20509 
   20510 # List of archive names.  First name is the real one, the rest are links.
   20511 # The last name is the one that the linker finds with -lNAME
   20512 library_names_spec=$lt_library_names_spec
   20513 
   20514 # The coded name of the library, if different from the real name.
   20515 soname_spec=$lt_soname_spec
   20516 
   20517 # Permission mode override for installation of shared libraries.
   20518 install_override_mode=$lt_install_override_mode
   20519 
   20520 # Command to use after installation of a shared archive.
   20521 postinstall_cmds=$lt_postinstall_cmds
   20522 
   20523 # Command to use after uninstallation of a shared archive.
   20524 postuninstall_cmds=$lt_postuninstall_cmds
   20525 
   20526 # Commands used to finish a libtool library installation in a directory.
   20527 finish_cmds=$lt_finish_cmds
   20528 
   20529 # As "finish_cmds", except a single script fragment to be evaled but
   20530 # not shown.
   20531 finish_eval=$lt_finish_eval
   20532 
   20533 # Whether we should hardcode library paths into libraries.
   20534 hardcode_into_libs=$hardcode_into_libs
   20535 
   20536 # Compile-time system search path for libraries.
   20537 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20538 
   20539 # Run-time system search path for libraries.
   20540 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20541 
   20542 # Whether dlopen is supported.
   20543 dlopen_support=$enable_dlopen
   20544 
   20545 # Whether dlopen of programs is supported.
   20546 dlopen_self=$enable_dlopen_self
   20547 
   20548 # Whether dlopen of statically linked programs is supported.
   20549 dlopen_self_static=$enable_dlopen_self_static
   20550 
   20551 # Commands to strip libraries.
   20552 old_striplib=$lt_old_striplib
   20553 striplib=$lt_striplib
   20554 
   20555 
   20556 # The linker used to build libraries.
   20557 LD=$lt_LD
   20558 
   20559 # How to create reloadable object files.
   20560 reload_flag=$lt_reload_flag
   20561 reload_cmds=$lt_reload_cmds
   20562 
   20563 # Commands used to build an old-style archive.
   20564 old_archive_cmds=$lt_old_archive_cmds
   20565 
   20566 # A language specific compiler.
   20567 CC=$lt_compiler
   20568 
   20569 # Is the compiler the GNU compiler?
   20570 with_gcc=$GCC
   20571 
   20572 # Compiler flag to turn off builtin functions.
   20573 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20574 
   20575 # Additional compiler flags for building library objects.
   20576 pic_flag=$lt_lt_prog_compiler_pic
   20577 
   20578 # How to pass a linker flag through the compiler.
   20579 wl=$lt_lt_prog_compiler_wl
   20580 
   20581 # Compiler flag to prevent dynamic linking.
   20582 link_static_flag=$lt_lt_prog_compiler_static
   20583 
   20584 # Does compiler simultaneously support -c and -o options?
   20585 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20586 
   20587 # Whether or not to add -lc for building shared libraries.
   20588 build_libtool_need_lc=$archive_cmds_need_lc
   20589 
   20590 # Whether or not to disallow shared libs when runtime libs are static.
   20591 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20592 
   20593 # Compiler flag to allow reflexive dlopens.
   20594 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20595 
   20596 # Compiler flag to generate shared objects directly from archives.
   20597 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20598 
   20599 # Whether the compiler copes with passing no objects directly.
   20600 compiler_needs_object=$lt_compiler_needs_object
   20601 
   20602 # Create an old-style archive from a shared archive.
   20603 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20604 
   20605 # Create a temporary old-style archive to link instead of a shared archive.
   20606 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20607 
   20608 # Commands used to build a shared archive.
   20609 archive_cmds=$lt_archive_cmds
   20610 archive_expsym_cmds=$lt_archive_expsym_cmds
   20611 
   20612 # Commands used to build a loadable module if different from building
   20613 # a shared archive.
   20614 module_cmds=$lt_module_cmds
   20615 module_expsym_cmds=$lt_module_expsym_cmds
   20616 
   20617 # Whether we are building with GNU ld or not.
   20618 with_gnu_ld=$lt_with_gnu_ld
   20619 
   20620 # Flag that allows shared libraries with undefined symbols to be built.
   20621 allow_undefined_flag=$lt_allow_undefined_flag
   20622 
   20623 # Flag that enforces no undefined symbols.
   20624 no_undefined_flag=$lt_no_undefined_flag
   20625 
   20626 # Flag to hardcode \$libdir into a binary during linking.
   20627 # This must work even if \$libdir does not exist
   20628 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20629 
   20630 # Whether we need a single "-rpath" flag with a separated argument.
   20631 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20632 
   20633 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20634 # DIR into the resulting binary.
   20635 hardcode_direct=$hardcode_direct
   20636 
   20637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20638 # DIR into the resulting binary and the resulting library dependency is
   20639 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20640 # library is relocated.
   20641 hardcode_direct_absolute=$hardcode_direct_absolute
   20642 
   20643 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20644 # into the resulting binary.
   20645 hardcode_minus_L=$hardcode_minus_L
   20646 
   20647 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20648 # into the resulting binary.
   20649 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20650 
   20651 # Set to "yes" if building a shared library automatically hardcodes DIR
   20652 # into the library and all subsequent libraries and executables linked
   20653 # against it.
   20654 hardcode_automatic=$hardcode_automatic
   20655 
   20656 # Set to yes if linker adds runtime paths of dependent libraries
   20657 # to runtime path list.
   20658 inherit_rpath=$inherit_rpath
   20659 
   20660 # Whether libtool must link a program against all its dependency libraries.
   20661 link_all_deplibs=$link_all_deplibs
   20662 
   20663 # Set to "yes" if exported symbols are required.
   20664 always_export_symbols=$always_export_symbols
   20665 
   20666 # The commands to list exported symbols.
   20667 export_symbols_cmds=$lt_export_symbols_cmds
   20668 
   20669 # Symbols that should not be listed in the preloaded symbols.
   20670 exclude_expsyms=$lt_exclude_expsyms
   20671 
   20672 # Symbols that must always be exported.
   20673 include_expsyms=$lt_include_expsyms
   20674 
   20675 # Commands necessary for linking programs (against libraries) with templates.
   20676 prelink_cmds=$lt_prelink_cmds
   20677 
   20678 # Commands necessary for finishing linking programs.
   20679 postlink_cmds=$lt_postlink_cmds
   20680 
   20681 # Specify filename containing input files.
   20682 file_list_spec=$lt_file_list_spec
   20683 
   20684 # How to hardcode a shared library path into an executable.
   20685 hardcode_action=$hardcode_action
   20686 
   20687 # ### END LIBTOOL CONFIG
   20688 
   20689 _LT_EOF
   20690 
   20691   case $host_os in
   20692   aix3*)
   20693     cat <<\_LT_EOF >> "$cfgfile"
   20694 # AIX sometimes has problems with the GCC collect2 program.  For some
   20695 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20696 # vanish in a puff of smoke.
   20697 if test "X${COLLECT_NAMES+set}" != Xset; then
   20698   COLLECT_NAMES=
   20699   export COLLECT_NAMES
   20700 fi
   20701 _LT_EOF
   20702     ;;
   20703   esac
   20704 
   20705 
   20706 ltmain="$ac_aux_dir/ltmain.sh"
   20707 
   20708 
   20709   # We use sed instead of cat because bash on DJGPP gets confused if
   20710   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20711   # text mode, it properly converts lines to CR/LF.  This bash problem
   20712   # is reportedly fixed, but why not run on old versions too?
   20713   sed '$q' "$ltmain" >> "$cfgfile" \
   20714      || (rm -f "$cfgfile"; exit 1)
   20715 
   20716   if test x"$xsi_shell" = xyes; then
   20717   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20718 func_dirname ()\
   20719 {\
   20720 \    case ${1} in\
   20721 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20722 \      *  ) func_dirname_result="${3}" ;;\
   20723 \    esac\
   20724 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20725   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20726     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20727 test 0 -eq $? || _lt_function_replace_fail=:
   20728 
   20729 
   20730   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20731 func_basename ()\
   20732 {\
   20733 \    func_basename_result="${1##*/}"\
   20734 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20735   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20736     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20737 test 0 -eq $? || _lt_function_replace_fail=:
   20738 
   20739 
   20740   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20741 func_dirname_and_basename ()\
   20742 {\
   20743 \    case ${1} in\
   20744 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20745 \      *  ) func_dirname_result="${3}" ;;\
   20746 \    esac\
   20747 \    func_basename_result="${1##*/}"\
   20748 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20749   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20750     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20751 test 0 -eq $? || _lt_function_replace_fail=:
   20752 
   20753 
   20754   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20755 func_stripname ()\
   20756 {\
   20757 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20758 \    # positional parameters, so assign one to ordinary parameter first.\
   20759 \    func_stripname_result=${3}\
   20760 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20761 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20762 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20763   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20764     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20765 test 0 -eq $? || _lt_function_replace_fail=:
   20766 
   20767 
   20768   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20769 func_split_long_opt ()\
   20770 {\
   20771 \    func_split_long_opt_name=${1%%=*}\
   20772 \    func_split_long_opt_arg=${1#*=}\
   20773 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20774   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20775     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20776 test 0 -eq $? || _lt_function_replace_fail=:
   20777 
   20778 
   20779   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20780 func_split_short_opt ()\
   20781 {\
   20782 \    func_split_short_opt_arg=${1#??}\
   20783 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20784 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20785   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20786     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20787 test 0 -eq $? || _lt_function_replace_fail=:
   20788 
   20789 
   20790   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20791 func_lo2o ()\
   20792 {\
   20793 \    case ${1} in\
   20794 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20795 \      *)    func_lo2o_result=${1} ;;\
   20796 \    esac\
   20797 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20798   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20799     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20800 test 0 -eq $? || _lt_function_replace_fail=:
   20801 
   20802 
   20803   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20804 func_xform ()\
   20805 {\
   20806     func_xform_result=${1%.*}.lo\
   20807 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20808   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20809     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20810 test 0 -eq $? || _lt_function_replace_fail=:
   20811 
   20812 
   20813   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20814 func_arith ()\
   20815 {\
   20816     func_arith_result=$(( $* ))\
   20817 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20818   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20819     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20820 test 0 -eq $? || _lt_function_replace_fail=:
   20821 
   20822 
   20823   sed -e '/^func_len ()$/,/^} # func_len /c\
   20824 func_len ()\
   20825 {\
   20826     func_len_result=${#1}\
   20827 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20828   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20829     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20830 test 0 -eq $? || _lt_function_replace_fail=:
   20831 
   20832 fi
   20833 
   20834 if test x"$lt_shell_append" = xyes; then
   20835   sed -e '/^func_append ()$/,/^} # func_append /c\
   20836 func_append ()\
   20837 {\
   20838     eval "${1}+=\\${2}"\
   20839 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20840   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20841     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20842 test 0 -eq $? || _lt_function_replace_fail=:
   20843 
   20844 
   20845   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20846 func_append_quoted ()\
   20847 {\
   20848 \    func_quote_for_eval "${2}"\
   20849 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20850 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20851   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20852     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20853 test 0 -eq $? || _lt_function_replace_fail=:
   20854 
   20855 
   20856   # Save a `func_append' function call where possible by direct use of '+='
   20857   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20858     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20859       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20860   test 0 -eq $? || _lt_function_replace_fail=:
   20861 else
   20862   # Save a `func_append' function call even when '+=' is not available
   20863   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20864     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20865       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20866   test 0 -eq $? || _lt_function_replace_fail=:
   20867 fi
   20868 
   20869 if test x"$_lt_function_replace_fail" = x":"; then
   20870   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20871 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20872 fi
   20873 
   20874 
   20875    mv -f "$cfgfile" "$ofile" ||
   20876     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20877   chmod +x "$ofile"
   20878 
   20879  ;;
   20880 
   20881   esac
   20882 done # for ac_tag
   20883 
   20884 
   20885 as_fn_exit 0
   20886 _ACEOF
   20887 ac_clean_files=$ac_clean_files_save
   20888 
   20889 test $ac_write_fail = 0 ||
   20890   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20891 
   20892 
   20893 # configure is writing to config.log, and then calls config.status.
   20894 # config.status does its own redirection, appending to config.log.
   20895 # Unfortunately, on DOS this fails, as config.log is still kept open
   20896 # by configure, so config.status won't be able to write to it; its
   20897 # output is simply discarded.  So we exec the FD to /dev/null,
   20898 # effectively closing config.log, so it can be properly (re)opened and
   20899 # appended to by config.status.  When coming back to configure, we
   20900 # need to make the FD available again.
   20901 if test "$no_create" != yes; then
   20902   ac_cs_success=:
   20903   ac_config_status_args=
   20904   test "$silent" = yes &&
   20905     ac_config_status_args="$ac_config_status_args --quiet"
   20906   exec 5>/dev/null
   20907   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20908   exec 5>>config.log
   20909   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20910   # would make configure fail if this is the last instruction.
   20911   $ac_cs_success || as_fn_exit 1
   20912 fi
   20913 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20914   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20915 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20916 fi
   20917 
   20918