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.68 for xf86-video-nv 2.1.20.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='xf86-video-nv'
    573 PACKAGE_TARNAME='xf86-video-nv'
    574 PACKAGE_VERSION='2.1.20'
    575 PACKAGE_STRING='xf86-video-nv 2.1.20'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 DRIVER_NAME
    621 moduledir
    622 XAA_FALSE
    623 XAA_TRUE
    624 PCIACCESS_LIBS
    625 PCIACCESS_CFLAGS
    626 HAVE_XEXTPROTO_71_FALSE
    627 HAVE_XEXTPROTO_71_TRUE
    628 XEXT_LIBS
    629 XEXT_CFLAGS
    630 XORG_LIBS
    631 XORG_CFLAGS
    632 OTOOL64
    633 OTOOL
    634 LIPO
    635 NMEDIT
    636 DSYMUTIL
    637 MANIFEST_TOOL
    638 RANLIB
    639 ac_ct_AR
    640 AR
    641 DLLTOOL
    642 OBJDUMP
    643 LN_S
    644 NM
    645 ac_ct_DUMPBIN
    646 DUMPBIN
    647 LD
    648 FGREP
    649 LIBTOOL
    650 MAINT
    651 MAINTAINER_MODE_FALSE
    652 MAINTAINER_MODE_TRUE
    653 am__fastdepCC_FALSE
    654 am__fastdepCC_TRUE
    655 CCDEPMODE
    656 am__nodep
    657 AMDEPBACKSLASH
    658 AMDEP_FALSE
    659 AMDEP_TRUE
    660 am__quote
    661 am__include
    662 DEPDIR
    663 am__untar
    664 am__tar
    665 AMTAR
    666 am__leading_dot
    667 SET_MAKE
    668 AWK
    669 mkdir_p
    670 MKDIR_P
    671 INSTALL_STRIP_PROGRAM
    672 STRIP
    673 install_sh
    674 MAKEINFO
    675 AUTOHEADER
    676 AUTOMAKE
    677 AUTOCONF
    678 ACLOCAL
    679 VERSION
    680 PACKAGE
    681 CYGPATH_W
    682 am__isrc
    683 AM_BACKSLASH
    684 AM_DEFAULT_VERBOSITY
    685 AM_DEFAULT_V
    686 AM_V
    687 MAN_SUBSTS
    688 XORG_MAN_PAGE
    689 ADMIN_MAN_DIR
    690 DRIVER_MAN_DIR
    691 MISC_MAN_DIR
    692 FILE_MAN_DIR
    693 LIB_MAN_DIR
    694 APP_MAN_DIR
    695 ADMIN_MAN_SUFFIX
    696 DRIVER_MAN_SUFFIX
    697 MISC_MAN_SUFFIX
    698 FILE_MAN_SUFFIX
    699 LIB_MAN_SUFFIX
    700 APP_MAN_SUFFIX
    701 SED
    702 host_os
    703 host_vendor
    704 host_cpu
    705 host
    706 build_os
    707 build_vendor
    708 build_cpu
    709 build
    710 INSTALL_CMD
    711 PKG_CONFIG_LIBDIR
    712 PKG_CONFIG_PATH
    713 PKG_CONFIG
    714 CHANGELOG_CMD
    715 STRICT_CFLAGS
    716 CWARNFLAGS
    717 BASE_CFLAGS
    718 EGREP
    719 GREP
    720 CPP
    721 OBJEXT
    722 EXEEXT
    723 ac_ct_CC
    724 CPPFLAGS
    725 LDFLAGS
    726 CFLAGS
    727 CC
    728 INSTALL_DATA
    729 INSTALL_SCRIPT
    730 INSTALL_PROGRAM
    731 target_alias
    732 host_alias
    733 build_alias
    734 LIBS
    735 ECHO_T
    736 ECHO_N
    737 ECHO_C
    738 DEFS
    739 mandir
    740 localedir
    741 libdir
    742 psdir
    743 pdfdir
    744 dvidir
    745 htmldir
    746 infodir
    747 docdir
    748 oldincludedir
    749 includedir
    750 localstatedir
    751 sharedstatedir
    752 sysconfdir
    753 datadir
    754 datarootdir
    755 libexecdir
    756 sbindir
    757 bindir
    758 program_transform_name
    759 prefix
    760 exec_prefix
    761 PACKAGE_URL
    762 PACKAGE_BUGREPORT
    763 PACKAGE_STRING
    764 PACKAGE_VERSION
    765 PACKAGE_TARNAME
    766 PACKAGE_NAME
    767 PATH_SEPARATOR
    768 SHELL'
    769 ac_subst_files=''
    770 ac_user_opts='
    771 enable_option_checking
    772 enable_selective_werror
    773 enable_strict_compilation
    774 enable_silent_rules
    775 enable_dependency_tracking
    776 enable_maintainer_mode
    777 enable_static
    778 enable_shared
    779 with_pic
    780 enable_fast_install
    781 with_gnu_ld
    782 with_sysroot
    783 enable_libtool_lock
    784 with_xorg_module_dir
    785 enable_xaa
    786 '
    787       ac_precious_vars='build_alias
    788 host_alias
    789 target_alias
    790 CC
    791 CFLAGS
    792 LDFLAGS
    793 LIBS
    794 CPPFLAGS
    795 CPP
    796 PKG_CONFIG
    797 PKG_CONFIG_PATH
    798 PKG_CONFIG_LIBDIR
    799 XORG_CFLAGS
    800 XORG_LIBS
    801 XEXT_CFLAGS
    802 XEXT_LIBS
    803 PCIACCESS_CFLAGS
    804 PCIACCESS_LIBS'
    805 
    806 
    807 # Initialize some variables set by options.
    808 ac_init_help=
    809 ac_init_version=false
    810 ac_unrecognized_opts=
    811 ac_unrecognized_sep=
    812 # The variables have the same names as the options, with
    813 # dashes changed to underlines.
    814 cache_file=/dev/null
    815 exec_prefix=NONE
    816 no_create=
    817 no_recursion=
    818 prefix=NONE
    819 program_prefix=NONE
    820 program_suffix=NONE
    821 program_transform_name=s,x,x,
    822 silent=
    823 site=
    824 srcdir=
    825 verbose=
    826 x_includes=NONE
    827 x_libraries=NONE
    828 
    829 # Installation directory options.
    830 # These are left unexpanded so users can "make install exec_prefix=/foo"
    831 # and all the variables that are supposed to be based on exec_prefix
    832 # by default will actually change.
    833 # Use braces instead of parens because sh, perl, etc. also accept them.
    834 # (The list follows the same order as the GNU Coding Standards.)
    835 bindir='${exec_prefix}/bin'
    836 sbindir='${exec_prefix}/sbin'
    837 libexecdir='${exec_prefix}/libexec'
    838 datarootdir='${prefix}/share'
    839 datadir='${datarootdir}'
    840 sysconfdir='${prefix}/etc'
    841 sharedstatedir='${prefix}/com'
    842 localstatedir='${prefix}/var'
    843 includedir='${prefix}/include'
    844 oldincludedir='/usr/include'
    845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    846 infodir='${datarootdir}/info'
    847 htmldir='${docdir}'
    848 dvidir='${docdir}'
    849 pdfdir='${docdir}'
    850 psdir='${docdir}'
    851 libdir='${exec_prefix}/lib'
    852 localedir='${datarootdir}/locale'
    853 mandir='${datarootdir}/man'
    854 
    855 ac_prev=
    856 ac_dashdash=
    857 for ac_option
    858 do
    859   # If the previous option needs an argument, assign it.
    860   if test -n "$ac_prev"; then
    861     eval $ac_prev=\$ac_option
    862     ac_prev=
    863     continue
    864   fi
    865 
    866   case $ac_option in
    867   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    868   *=)   ac_optarg= ;;
    869   *)    ac_optarg=yes ;;
    870   esac
    871 
    872   # Accept the important Cygnus configure options, so we can diagnose typos.
    873 
    874   case $ac_dashdash$ac_option in
    875   --)
    876     ac_dashdash=yes ;;
    877 
    878   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    879     ac_prev=bindir ;;
    880   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    881     bindir=$ac_optarg ;;
    882 
    883   -build | --build | --buil | --bui | --bu)
    884     ac_prev=build_alias ;;
    885   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    886     build_alias=$ac_optarg ;;
    887 
    888   -cache-file | --cache-file | --cache-fil | --cache-fi \
    889   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    890     ac_prev=cache_file ;;
    891   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    892   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    893     cache_file=$ac_optarg ;;
    894 
    895   --config-cache | -C)
    896     cache_file=config.cache ;;
    897 
    898   -datadir | --datadir | --datadi | --datad)
    899     ac_prev=datadir ;;
    900   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    901     datadir=$ac_optarg ;;
    902 
    903   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    904   | --dataroo | --dataro | --datar)
    905     ac_prev=datarootdir ;;
    906   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    907   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    908     datarootdir=$ac_optarg ;;
    909 
    910   -disable-* | --disable-*)
    911     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    912     # Reject names that are not valid shell variable names.
    913     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    914       as_fn_error $? "invalid feature name: $ac_useropt"
    915     ac_useropt_orig=$ac_useropt
    916     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    917     case $ac_user_opts in
    918       *"
    919 "enable_$ac_useropt"
    920 "*) ;;
    921       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    922 	 ac_unrecognized_sep=', ';;
    923     esac
    924     eval enable_$ac_useropt=no ;;
    925 
    926   -docdir | --docdir | --docdi | --doc | --do)
    927     ac_prev=docdir ;;
    928   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    929     docdir=$ac_optarg ;;
    930 
    931   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    932     ac_prev=dvidir ;;
    933   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    934     dvidir=$ac_optarg ;;
    935 
    936   -enable-* | --enable-*)
    937     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    938     # Reject names that are not valid shell variable names.
    939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    940       as_fn_error $? "invalid feature name: $ac_useropt"
    941     ac_useropt_orig=$ac_useropt
    942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    943     case $ac_user_opts in
    944       *"
    945 "enable_$ac_useropt"
    946 "*) ;;
    947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    948 	 ac_unrecognized_sep=', ';;
    949     esac
    950     eval enable_$ac_useropt=\$ac_optarg ;;
    951 
    952   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    953   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    954   | --exec | --exe | --ex)
    955     ac_prev=exec_prefix ;;
    956   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    957   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    958   | --exec=* | --exe=* | --ex=*)
    959     exec_prefix=$ac_optarg ;;
    960 
    961   -gas | --gas | --ga | --g)
    962     # Obsolete; use --with-gas.
    963     with_gas=yes ;;
    964 
    965   -help | --help | --hel | --he | -h)
    966     ac_init_help=long ;;
    967   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    968     ac_init_help=recursive ;;
    969   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    970     ac_init_help=short ;;
    971 
    972   -host | --host | --hos | --ho)
    973     ac_prev=host_alias ;;
    974   -host=* | --host=* | --hos=* | --ho=*)
    975     host_alias=$ac_optarg ;;
    976 
    977   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    978     ac_prev=htmldir ;;
    979   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    980   | --ht=*)
    981     htmldir=$ac_optarg ;;
    982 
    983   -includedir | --includedir | --includedi | --included | --include \
    984   | --includ | --inclu | --incl | --inc)
    985     ac_prev=includedir ;;
    986   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    987   | --includ=* | --inclu=* | --incl=* | --inc=*)
    988     includedir=$ac_optarg ;;
    989 
    990   -infodir | --infodir | --infodi | --infod | --info | --inf)
    991     ac_prev=infodir ;;
    992   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    993     infodir=$ac_optarg ;;
    994 
    995   -libdir | --libdir | --libdi | --libd)
    996     ac_prev=libdir ;;
    997   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    998     libdir=$ac_optarg ;;
    999 
   1000   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1001   | --libexe | --libex | --libe)
   1002     ac_prev=libexecdir ;;
   1003   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1004   | --libexe=* | --libex=* | --libe=*)
   1005     libexecdir=$ac_optarg ;;
   1006 
   1007   -localedir | --localedir | --localedi | --localed | --locale)
   1008     ac_prev=localedir ;;
   1009   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1010     localedir=$ac_optarg ;;
   1011 
   1012   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1013   | --localstate | --localstat | --localsta | --localst | --locals)
   1014     ac_prev=localstatedir ;;
   1015   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1016   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1017     localstatedir=$ac_optarg ;;
   1018 
   1019   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1020     ac_prev=mandir ;;
   1021   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1022     mandir=$ac_optarg ;;
   1023 
   1024   -nfp | --nfp | --nf)
   1025     # Obsolete; use --without-fp.
   1026     with_fp=no ;;
   1027 
   1028   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1029   | --no-cr | --no-c | -n)
   1030     no_create=yes ;;
   1031 
   1032   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1033   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1034     no_recursion=yes ;;
   1035 
   1036   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1037   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1038   | --oldin | --oldi | --old | --ol | --o)
   1039     ac_prev=oldincludedir ;;
   1040   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1041   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1042   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1043     oldincludedir=$ac_optarg ;;
   1044 
   1045   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1046     ac_prev=prefix ;;
   1047   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1048     prefix=$ac_optarg ;;
   1049 
   1050   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1051   | --program-pre | --program-pr | --program-p)
   1052     ac_prev=program_prefix ;;
   1053   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1054   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1055     program_prefix=$ac_optarg ;;
   1056 
   1057   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1058   | --program-suf | --program-su | --program-s)
   1059     ac_prev=program_suffix ;;
   1060   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1061   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1062     program_suffix=$ac_optarg ;;
   1063 
   1064   -program-transform-name | --program-transform-name \
   1065   | --program-transform-nam | --program-transform-na \
   1066   | --program-transform-n | --program-transform- \
   1067   | --program-transform | --program-transfor \
   1068   | --program-transfo | --program-transf \
   1069   | --program-trans | --program-tran \
   1070   | --progr-tra | --program-tr | --program-t)
   1071     ac_prev=program_transform_name ;;
   1072   -program-transform-name=* | --program-transform-name=* \
   1073   | --program-transform-nam=* | --program-transform-na=* \
   1074   | --program-transform-n=* | --program-transform-=* \
   1075   | --program-transform=* | --program-transfor=* \
   1076   | --program-transfo=* | --program-transf=* \
   1077   | --program-trans=* | --program-tran=* \
   1078   | --progr-tra=* | --program-tr=* | --program-t=*)
   1079     program_transform_name=$ac_optarg ;;
   1080 
   1081   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1082     ac_prev=pdfdir ;;
   1083   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1084     pdfdir=$ac_optarg ;;
   1085 
   1086   -psdir | --psdir | --psdi | --psd | --ps)
   1087     ac_prev=psdir ;;
   1088   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1089     psdir=$ac_optarg ;;
   1090 
   1091   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1092   | -silent | --silent | --silen | --sile | --sil)
   1093     silent=yes ;;
   1094 
   1095   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1096     ac_prev=sbindir ;;
   1097   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1098   | --sbi=* | --sb=*)
   1099     sbindir=$ac_optarg ;;
   1100 
   1101   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1102   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1103   | --sharedst | --shareds | --shared | --share | --shar \
   1104   | --sha | --sh)
   1105     ac_prev=sharedstatedir ;;
   1106   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1107   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1108   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1109   | --sha=* | --sh=*)
   1110     sharedstatedir=$ac_optarg ;;
   1111 
   1112   -site | --site | --sit)
   1113     ac_prev=site ;;
   1114   -site=* | --site=* | --sit=*)
   1115     site=$ac_optarg ;;
   1116 
   1117   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1118     ac_prev=srcdir ;;
   1119   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1120     srcdir=$ac_optarg ;;
   1121 
   1122   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1123   | --syscon | --sysco | --sysc | --sys | --sy)
   1124     ac_prev=sysconfdir ;;
   1125   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1126   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1127     sysconfdir=$ac_optarg ;;
   1128 
   1129   -target | --target | --targe | --targ | --tar | --ta | --t)
   1130     ac_prev=target_alias ;;
   1131   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1132     target_alias=$ac_optarg ;;
   1133 
   1134   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1135     verbose=yes ;;
   1136 
   1137   -version | --version | --versio | --versi | --vers | -V)
   1138     ac_init_version=: ;;
   1139 
   1140   -with-* | --with-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: $ac_useropt"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=\$ac_optarg ;;
   1155 
   1156   -without-* | --without-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: $ac_useropt"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=no ;;
   1171 
   1172   --x)
   1173     # Obsolete; use --with-x.
   1174     with_x=yes ;;
   1175 
   1176   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1177   | --x-incl | --x-inc | --x-in | --x-i)
   1178     ac_prev=x_includes ;;
   1179   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1180   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1181     x_includes=$ac_optarg ;;
   1182 
   1183   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1184   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1185     ac_prev=x_libraries ;;
   1186   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1187   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1188     x_libraries=$ac_optarg ;;
   1189 
   1190   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1191 Try \`$0 --help' for more information"
   1192     ;;
   1193 
   1194   *=*)
   1195     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1196     # Reject names that are not valid shell variable names.
   1197     case $ac_envvar in #(
   1198       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1199       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1200     esac
   1201     eval $ac_envvar=\$ac_optarg
   1202     export $ac_envvar ;;
   1203 
   1204   *)
   1205     # FIXME: should be removed in autoconf 3.0.
   1206     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1207     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1208       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1209     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1210     ;;
   1211 
   1212   esac
   1213 done
   1214 
   1215 if test -n "$ac_prev"; then
   1216   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1217   as_fn_error $? "missing argument to $ac_option"
   1218 fi
   1219 
   1220 if test -n "$ac_unrecognized_opts"; then
   1221   case $enable_option_checking in
   1222     no) ;;
   1223     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1224     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1225   esac
   1226 fi
   1227 
   1228 # Check all directory arguments for consistency.
   1229 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1230 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1231 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1232 		libdir localedir mandir
   1233 do
   1234   eval ac_val=\$$ac_var
   1235   # Remove trailing slashes.
   1236   case $ac_val in
   1237     */ )
   1238       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1239       eval $ac_var=\$ac_val;;
   1240   esac
   1241   # Be sure to have absolute directory names.
   1242   case $ac_val in
   1243     [\\/$]* | ?:[\\/]* )  continue;;
   1244     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1245   esac
   1246   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1247 done
   1248 
   1249 # There might be people who depend on the old broken behavior: `$host'
   1250 # used to hold the argument of --host etc.
   1251 # FIXME: To remove some day.
   1252 build=$build_alias
   1253 host=$host_alias
   1254 target=$target_alias
   1255 
   1256 # FIXME: To remove some day.
   1257 if test "x$host_alias" != x; then
   1258   if test "x$build_alias" = x; then
   1259     cross_compiling=maybe
   1260     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1261     If a cross compiler is detected then cross compile mode will be used" >&2
   1262   elif test "x$build_alias" != "x$host_alias"; then
   1263     cross_compiling=yes
   1264   fi
   1265 fi
   1266 
   1267 ac_tool_prefix=
   1268 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1269 
   1270 test "$silent" = yes && exec 6>/dev/null
   1271 
   1272 
   1273 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1274 ac_ls_di=`ls -di .` &&
   1275 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1276   as_fn_error $? "working directory cannot be determined"
   1277 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1278   as_fn_error $? "pwd does not report name of working directory"
   1279 
   1280 
   1281 # Find the source files, if location was not specified.
   1282 if test -z "$srcdir"; then
   1283   ac_srcdir_defaulted=yes
   1284   # Try the directory containing this script, then the parent directory.
   1285   ac_confdir=`$as_dirname -- "$as_myself" ||
   1286 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1287 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1288 	 X"$as_myself" : 'X\(//\)$' \| \
   1289 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1290 $as_echo X"$as_myself" |
   1291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\/\)[^/].*/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  /^X\(\/\/\)$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\).*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  s/.*/./; q'`
   1308   srcdir=$ac_confdir
   1309   if test ! -r "$srcdir/$ac_unique_file"; then
   1310     srcdir=..
   1311   fi
   1312 else
   1313   ac_srcdir_defaulted=no
   1314 fi
   1315 if test ! -r "$srcdir/$ac_unique_file"; then
   1316   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1317   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1318 fi
   1319 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1320 ac_abs_confdir=`(
   1321 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1322 	pwd)`
   1323 # When building in place, set srcdir=.
   1324 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1325   srcdir=.
   1326 fi
   1327 # Remove unnecessary trailing slashes from srcdir.
   1328 # Double slashes in file names in object file debugging info
   1329 # mess up M-x gdb in Emacs.
   1330 case $srcdir in
   1331 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1332 esac
   1333 for ac_var in $ac_precious_vars; do
   1334   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1335   eval ac_env_${ac_var}_value=\$${ac_var}
   1336   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1338 done
   1339 
   1340 #
   1341 # Report the --help message.
   1342 #
   1343 if test "$ac_init_help" = "long"; then
   1344   # Omit some internal or obsolete options to make the list less imposing.
   1345   # This message is too long to be a string in the A/UX 3.1 sh.
   1346   cat <<_ACEOF
   1347 \`configure' configures xf86-video-nv 2.1.20 to adapt to many kinds of systems.
   1348 
   1349 Usage: $0 [OPTION]... [VAR=VALUE]...
   1350 
   1351 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1352 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1353 
   1354 Defaults for the options are specified in brackets.
   1355 
   1356 Configuration:
   1357   -h, --help              display this help and exit
   1358       --help=short        display options specific to this package
   1359       --help=recursive    display the short help of all the included packages
   1360   -V, --version           display version information and exit
   1361   -q, --quiet, --silent   do not print \`checking ...' messages
   1362       --cache-file=FILE   cache test results in FILE [disabled]
   1363   -C, --config-cache      alias for \`--cache-file=config.cache'
   1364   -n, --no-create         do not create output files
   1365       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1366 
   1367 Installation directories:
   1368   --prefix=PREFIX         install architecture-independent files in PREFIX
   1369                           [$ac_default_prefix]
   1370   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1371                           [PREFIX]
   1372 
   1373 By default, \`make install' will install all the files in
   1374 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1375 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1376 for instance \`--prefix=\$HOME'.
   1377 
   1378 For better control, use the options below.
   1379 
   1380 Fine tuning of the installation directories:
   1381   --bindir=DIR            user executables [EPREFIX/bin]
   1382   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1383   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1384   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1385   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1386   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1387   --libdir=DIR            object code libraries [EPREFIX/lib]
   1388   --includedir=DIR        C header files [PREFIX/include]
   1389   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1390   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1391   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1392   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1393   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1394   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1395   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-nv]
   1396   --htmldir=DIR           html documentation [DOCDIR]
   1397   --dvidir=DIR            dvi documentation [DOCDIR]
   1398   --pdfdir=DIR            pdf documentation [DOCDIR]
   1399   --psdir=DIR             ps documentation [DOCDIR]
   1400 _ACEOF
   1401 
   1402   cat <<\_ACEOF
   1403 
   1404 Program names:
   1405   --program-prefix=C            prepend C to installed program names
   1406   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1407   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1408 
   1409 System types:
   1410   --build=BUILD     configure for building on BUILD [guessed]
   1411   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1412 _ACEOF
   1413 fi
   1414 
   1415 if test -n "$ac_init_help"; then
   1416   case $ac_init_help in
   1417      short | recursive ) echo "Configuration of xf86-video-nv 2.1.20:";;
   1418    esac
   1419   cat <<\_ACEOF
   1420 
   1421 Optional Features:
   1422   --disable-option-checking  ignore unrecognized --enable/--with options
   1423   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1424   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1425   --disable-selective-werror
   1426                           Turn off selective compiler errors. (default:
   1427                           enabled)
   1428   --enable-strict-compilation
   1429                           Enable all warnings from compiler and make them
   1430                           errors (default: disabled)
   1431   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1432   --disable-silent-rules         verbose build output (undo: `make V=0')
   1433   --disable-dependency-tracking  speeds up one-time build
   1434   --enable-dependency-tracking   do not reject slow dependency extractors
   1435   --enable-maintainer-mode  enable make rules and dependencies not useful
   1436 			  (and sometimes confusing) to the casual installer
   1437   --enable-static[=PKGS]  build static libraries [default=no]
   1438   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1439   --enable-fast-install[=PKGS]
   1440                           optimize for fast installation [default=yes]
   1441   --disable-libtool-lock  avoid locking (might break parallel builds)
   1442   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1443                           [default=auto]
   1444 
   1445 Optional Packages:
   1446   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1447   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1448   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1449                           both]
   1450   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1451   --with-sysroot=DIR Search for dependent libraries within DIR
   1452                         (or the compiler's sysroot if not specified).
   1453   --with-xorg-module-dir=DIR
   1454                           Default xorg module directory
   1455                           [[default=$libdir/xorg/modules]]
   1456 
   1457 Some influential environment variables:
   1458   CC          C compiler command
   1459   CFLAGS      C compiler flags
   1460   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1461               nonstandard directory <lib dir>
   1462   LIBS        libraries to pass to the linker, e.g. -l<library>
   1463   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1464               you have headers in a nonstandard directory <include dir>
   1465   CPP         C preprocessor
   1466   PKG_CONFIG  path to pkg-config utility
   1467   PKG_CONFIG_PATH
   1468               directories to add to pkg-config's search path
   1469   PKG_CONFIG_LIBDIR
   1470               path overriding pkg-config's built-in search path
   1471   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1472   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1473   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1474   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1475   PCIACCESS_CFLAGS
   1476               C compiler flags for PCIACCESS, overriding pkg-config
   1477   PCIACCESS_LIBS
   1478               linker flags for PCIACCESS, overriding pkg-config
   1479 
   1480 Use these variables to override the choices made by `configure' or to help
   1481 it to find libraries and programs with nonstandard names/locations.
   1482 
   1483 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1484 _ACEOF
   1485 ac_status=$?
   1486 fi
   1487 
   1488 if test "$ac_init_help" = "recursive"; then
   1489   # If there are subdirs, report their specific --help.
   1490   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1491     test -d "$ac_dir" ||
   1492       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1493       continue
   1494     ac_builddir=.
   1495 
   1496 case "$ac_dir" in
   1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1498 *)
   1499   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1500   # A ".." for each directory in $ac_dir_suffix.
   1501   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1502   case $ac_top_builddir_sub in
   1503   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1504   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1505   esac ;;
   1506 esac
   1507 ac_abs_top_builddir=$ac_pwd
   1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1509 # for backward compatibility:
   1510 ac_top_builddir=$ac_top_build_prefix
   1511 
   1512 case $srcdir in
   1513   .)  # We are building in place.
   1514     ac_srcdir=.
   1515     ac_top_srcdir=$ac_top_builddir_sub
   1516     ac_abs_top_srcdir=$ac_pwd ;;
   1517   [\\/]* | ?:[\\/]* )  # Absolute name.
   1518     ac_srcdir=$srcdir$ac_dir_suffix;
   1519     ac_top_srcdir=$srcdir
   1520     ac_abs_top_srcdir=$srcdir ;;
   1521   *) # Relative name.
   1522     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1523     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1524     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1525 esac
   1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1527 
   1528     cd "$ac_dir" || { ac_status=$?; continue; }
   1529     # Check for guested configure.
   1530     if test -f "$ac_srcdir/configure.gnu"; then
   1531       echo &&
   1532       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1533     elif test -f "$ac_srcdir/configure"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure" --help=recursive
   1536     else
   1537       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1538     fi || ac_status=$?
   1539     cd "$ac_pwd" || { ac_status=$?; break; }
   1540   done
   1541 fi
   1542 
   1543 test -n "$ac_init_help" && exit $ac_status
   1544 if $ac_init_version; then
   1545   cat <<\_ACEOF
   1546 xf86-video-nv configure 2.1.20
   1547 generated by GNU Autoconf 2.68
   1548 
   1549 Copyright (C) 2010 Free Software Foundation, Inc.
   1550 This configure script is free software; the Free Software Foundation
   1551 gives unlimited permission to copy, distribute and modify it.
   1552 _ACEOF
   1553   exit
   1554 fi
   1555 
   1556 ## ------------------------ ##
   1557 ## Autoconf initialization. ##
   1558 ## ------------------------ ##
   1559 
   1560 # ac_fn_c_try_compile LINENO
   1561 # --------------------------
   1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1563 ac_fn_c_try_compile ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   rm -f conftest.$ac_objext
   1567   if { { ac_try="$ac_compile"
   1568 case "(($ac_try" in
   1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1570   *) ac_try_echo=$ac_try;;
   1571 esac
   1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1573 $as_echo "$ac_try_echo"; } >&5
   1574   (eval "$ac_compile") 2>conftest.err
   1575   ac_status=$?
   1576   if test -s conftest.err; then
   1577     grep -v '^ *+' conftest.err >conftest.er1
   1578     cat conftest.er1 >&5
   1579     mv -f conftest.er1 conftest.err
   1580   fi
   1581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1582   test $ac_status = 0; } && {
   1583 	 test -z "$ac_c_werror_flag" ||
   1584 	 test ! -s conftest.err
   1585        } && test -s conftest.$ac_objext; then :
   1586   ac_retval=0
   1587 else
   1588   $as_echo "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591 	ac_retval=1
   1592 fi
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594   as_fn_set_status $ac_retval
   1595 
   1596 } # ac_fn_c_try_compile
   1597 
   1598 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1599 # ---------------------------------------------
   1600 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1601 # accordingly.
   1602 ac_fn_c_check_decl ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1606   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1608 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1609 if eval \${$3+:} false; then :
   1610   $as_echo_n "(cached) " >&6
   1611 else
   1612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1613 /* end confdefs.h.  */
   1614 $4
   1615 int
   1616 main ()
   1617 {
   1618 #ifndef $as_decl_name
   1619 #ifdef __cplusplus
   1620   (void) $as_decl_use;
   1621 #else
   1622   (void) $as_decl_name;
   1623 #endif
   1624 #endif
   1625 
   1626   ;
   1627   return 0;
   1628 }
   1629 _ACEOF
   1630 if ac_fn_c_try_compile "$LINENO"; then :
   1631   eval "$3=yes"
   1632 else
   1633   eval "$3=no"
   1634 fi
   1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 $as_echo "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_c_check_decl
   1643 
   1644 # ac_fn_c_try_cpp LINENO
   1645 # ----------------------
   1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_cpp ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } > conftest.i && {
   1666 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674     ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_cpp
   1680 
   1681 # ac_fn_c_try_run LINENO
   1682 # ----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1684 # that executables *can* be run.
   1685 ac_fn_c_try_run ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>&5
   1696   ac_status=$?
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1699   { { case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_try") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; }; }; then :
   1709   ac_retval=0
   1710 else
   1711   $as_echo "$as_me: program exited with status $ac_status" >&5
   1712        $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715        ac_retval=$ac_status
   1716 fi
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_run
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 $as_echo_n "checking for $2... " >&6; }
   1732 if eval \${$3+:} false; then :
   1733   $as_echo_n "(cached) " >&6
   1734 else
   1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 #include <$2>
   1739 _ACEOF
   1740 if ac_fn_c_try_compile "$LINENO"; then :
   1741   eval "$3=yes"
   1742 else
   1743   eval "$3=no"
   1744 fi
   1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1746 fi
   1747 eval ac_res=\$$3
   1748 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1749 $as_echo "$ac_res" >&6; }
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751 
   1752 } # ac_fn_c_check_header_compile
   1753 
   1754 # ac_fn_c_try_link LINENO
   1755 # -----------------------
   1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1757 ac_fn_c_try_link ()
   1758 {
   1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1760   rm -f conftest.$ac_objext conftest$ac_exeext
   1761   if { { ac_try="$ac_link"
   1762 case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_link") 2>conftest.err
   1769   ac_status=$?
   1770   if test -s conftest.err; then
   1771     grep -v '^ *+' conftest.err >conftest.er1
   1772     cat conftest.er1 >&5
   1773     mv -f conftest.er1 conftest.err
   1774   fi
   1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1776   test $ac_status = 0; } && {
   1777 	 test -z "$ac_c_werror_flag" ||
   1778 	 test ! -s conftest.err
   1779        } && test -s conftest$ac_exeext && {
   1780 	 test "$cross_compiling" = yes ||
   1781 	 $as_test_x conftest$ac_exeext
   1782        }; then :
   1783   ac_retval=0
   1784 else
   1785   $as_echo "$as_me: failed program was:" >&5
   1786 sed 's/^/| /' conftest.$ac_ext >&5
   1787 
   1788 	ac_retval=1
   1789 fi
   1790   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1791   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1792   # interfere with the next link command; also delete a directory that is
   1793   # left behind by Apple's compiler.  We do this before executing the actions.
   1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796   as_fn_set_status $ac_retval
   1797 
   1798 } # ac_fn_c_try_link
   1799 
   1800 # ac_fn_c_check_func LINENO FUNC VAR
   1801 # ----------------------------------
   1802 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1803 ac_fn_c_check_func ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1807 $as_echo_n "checking for $2... " >&6; }
   1808 if eval \${$3+:} false; then :
   1809   $as_echo_n "(cached) " >&6
   1810 else
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1815 #define $2 innocuous_$2
   1816 
   1817 /* System header to define __stub macros and hopefully few prototypes,
   1818     which can conflict with char $2 (); below.
   1819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1820     <limits.h> exists even on freestanding compilers.  */
   1821 
   1822 #ifdef __STDC__
   1823 # include <limits.h>
   1824 #else
   1825 # include <assert.h>
   1826 #endif
   1827 
   1828 #undef $2
   1829 
   1830 /* Override any GCC internal prototype to avoid an error.
   1831    Use char because int might match the return type of a GCC
   1832    builtin and then its argument prototype would still apply.  */
   1833 #ifdef __cplusplus
   1834 extern "C"
   1835 #endif
   1836 char $2 ();
   1837 /* The GNU C library defines this for functions which it implements
   1838     to always fail with ENOSYS.  Some functions are actually named
   1839     something starting with __ and the normal name is an alias.  */
   1840 #if defined __stub_$2 || defined __stub___$2
   1841 choke me
   1842 #endif
   1843 
   1844 int
   1845 main ()
   1846 {
   1847 return $2 ();
   1848   ;
   1849   return 0;
   1850 }
   1851 _ACEOF
   1852 if ac_fn_c_try_link "$LINENO"; then :
   1853   eval "$3=yes"
   1854 else
   1855   eval "$3=no"
   1856 fi
   1857 rm -f core conftest.err conftest.$ac_objext \
   1858     conftest$ac_exeext conftest.$ac_ext
   1859 fi
   1860 eval ac_res=\$$3
   1861 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1862 $as_echo "$ac_res" >&6; }
   1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1864 
   1865 } # ac_fn_c_check_func
   1866 
   1867 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1868 # -------------------------------------------------------
   1869 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1870 # the include files in INCLUDES and setting the cache variable VAR
   1871 # accordingly.
   1872 ac_fn_c_check_header_mongrel ()
   1873 {
   1874   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1875   if eval \${$3+:} false; then :
   1876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1877 $as_echo_n "checking for $2... " >&6; }
   1878 if eval \${$3+:} false; then :
   1879   $as_echo_n "(cached) " >&6
   1880 fi
   1881 eval ac_res=\$$3
   1882 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1883 $as_echo "$ac_res" >&6; }
   1884 else
   1885   # Is the header compilable?
   1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1887 $as_echo_n "checking $2 usability... " >&6; }
   1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1889 /* end confdefs.h.  */
   1890 $4
   1891 #include <$2>
   1892 _ACEOF
   1893 if ac_fn_c_try_compile "$LINENO"; then :
   1894   ac_header_compiler=yes
   1895 else
   1896   ac_header_compiler=no
   1897 fi
   1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1900 $as_echo "$ac_header_compiler" >&6; }
   1901 
   1902 # Is the header present?
   1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1904 $as_echo_n "checking $2 presence... " >&6; }
   1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1906 /* end confdefs.h.  */
   1907 #include <$2>
   1908 _ACEOF
   1909 if ac_fn_c_try_cpp "$LINENO"; then :
   1910   ac_header_preproc=yes
   1911 else
   1912   ac_header_preproc=no
   1913 fi
   1914 rm -f conftest.err conftest.i conftest.$ac_ext
   1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1916 $as_echo "$ac_header_preproc" >&6; }
   1917 
   1918 # So?  What about this header?
   1919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1920   yes:no: )
   1921     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1922 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1923     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1924 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1925     ;;
   1926   no:yes:* )
   1927     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1928 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1930 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1932 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1934 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1937 ( $as_echo "## ---------------------------------------------------------------------- ##
   1938 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1939 ## ---------------------------------------------------------------------- ##"
   1940      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1941     ;;
   1942 esac
   1943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1944 $as_echo_n "checking for $2... " >&6; }
   1945 if eval \${$3+:} false; then :
   1946   $as_echo_n "(cached) " >&6
   1947 else
   1948   eval "$3=\$ac_header_compiler"
   1949 fi
   1950 eval ac_res=\$$3
   1951 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1952 $as_echo "$ac_res" >&6; }
   1953 fi
   1954   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1955 
   1956 } # ac_fn_c_check_header_mongrel
   1957 cat >config.log <<_ACEOF
   1958 This file contains any messages produced by compilers while
   1959 running configure, to aid debugging if configure makes a mistake.
   1960 
   1961 It was created by xf86-video-nv $as_me 2.1.20, which was
   1962 generated by GNU Autoconf 2.68.  Invocation command line was
   1963 
   1964   $ $0 $@
   1965 
   1966 _ACEOF
   1967 exec 5>>config.log
   1968 {
   1969 cat <<_ASUNAME
   1970 ## --------- ##
   1971 ## Platform. ##
   1972 ## --------- ##
   1973 
   1974 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1975 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1976 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1977 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1978 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1979 
   1980 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1981 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1982 
   1983 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1984 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1985 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1986 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1987 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1988 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1989 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1990 
   1991 _ASUNAME
   1992 
   1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1994 for as_dir in $PATH
   1995 do
   1996   IFS=$as_save_IFS
   1997   test -z "$as_dir" && as_dir=.
   1998     $as_echo "PATH: $as_dir"
   1999   done
   2000 IFS=$as_save_IFS
   2001 
   2002 } >&5
   2003 
   2004 cat >&5 <<_ACEOF
   2005 
   2006 
   2007 ## ----------- ##
   2008 ## Core tests. ##
   2009 ## ----------- ##
   2010 
   2011 _ACEOF
   2012 
   2013 
   2014 # Keep a trace of the command line.
   2015 # Strip out --no-create and --no-recursion so they do not pile up.
   2016 # Strip out --silent because we don't want to record it for future runs.
   2017 # Also quote any args containing shell meta-characters.
   2018 # Make two passes to allow for proper duplicate-argument suppression.
   2019 ac_configure_args=
   2020 ac_configure_args0=
   2021 ac_configure_args1=
   2022 ac_must_keep_next=false
   2023 for ac_pass in 1 2
   2024 do
   2025   for ac_arg
   2026   do
   2027     case $ac_arg in
   2028     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2029     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2030     | -silent | --silent | --silen | --sile | --sil)
   2031       continue ;;
   2032     *\'*)
   2033       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2034     esac
   2035     case $ac_pass in
   2036     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2037     2)
   2038       as_fn_append ac_configure_args1 " '$ac_arg'"
   2039       if test $ac_must_keep_next = true; then
   2040 	ac_must_keep_next=false # Got value, back to normal.
   2041       else
   2042 	case $ac_arg in
   2043 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2044 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2045 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2046 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2047 	    case "$ac_configure_args0 " in
   2048 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2049 	    esac
   2050 	    ;;
   2051 	  -* ) ac_must_keep_next=true ;;
   2052 	esac
   2053       fi
   2054       as_fn_append ac_configure_args " '$ac_arg'"
   2055       ;;
   2056     esac
   2057   done
   2058 done
   2059 { ac_configure_args0=; unset ac_configure_args0;}
   2060 { ac_configure_args1=; unset ac_configure_args1;}
   2061 
   2062 # When interrupted or exit'd, cleanup temporary files, and complete
   2063 # config.log.  We remove comments because anyway the quotes in there
   2064 # would cause problems or look ugly.
   2065 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2066 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2067 trap 'exit_status=$?
   2068   # Save into config.log some information that might help in debugging.
   2069   {
   2070     echo
   2071 
   2072     $as_echo "## ---------------- ##
   2073 ## Cache variables. ##
   2074 ## ---------------- ##"
   2075     echo
   2076     # The following way of writing the cache mishandles newlines in values,
   2077 (
   2078   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2079     eval ac_val=\$$ac_var
   2080     case $ac_val in #(
   2081     *${as_nl}*)
   2082       case $ac_var in #(
   2083       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2084 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2085       esac
   2086       case $ac_var in #(
   2087       _ | IFS | as_nl) ;; #(
   2088       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2089       *) { eval $ac_var=; unset $ac_var;} ;;
   2090       esac ;;
   2091     esac
   2092   done
   2093   (set) 2>&1 |
   2094     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2095     *${as_nl}ac_space=\ *)
   2096       sed -n \
   2097 	"s/'\''/'\''\\\\'\'''\''/g;
   2098 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2099       ;; #(
   2100     *)
   2101       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2102       ;;
   2103     esac |
   2104     sort
   2105 )
   2106     echo
   2107 
   2108     $as_echo "## ----------------- ##
   2109 ## Output variables. ##
   2110 ## ----------------- ##"
   2111     echo
   2112     for ac_var in $ac_subst_vars
   2113     do
   2114       eval ac_val=\$$ac_var
   2115       case $ac_val in
   2116       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2117       esac
   2118       $as_echo "$ac_var='\''$ac_val'\''"
   2119     done | sort
   2120     echo
   2121 
   2122     if test -n "$ac_subst_files"; then
   2123       $as_echo "## ------------------- ##
   2124 ## File substitutions. ##
   2125 ## ------------------- ##"
   2126       echo
   2127       for ac_var in $ac_subst_files
   2128       do
   2129 	eval ac_val=\$$ac_var
   2130 	case $ac_val in
   2131 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2132 	esac
   2133 	$as_echo "$ac_var='\''$ac_val'\''"
   2134       done | sort
   2135       echo
   2136     fi
   2137 
   2138     if test -s confdefs.h; then
   2139       $as_echo "## ----------- ##
   2140 ## confdefs.h. ##
   2141 ## ----------- ##"
   2142       echo
   2143       cat confdefs.h
   2144       echo
   2145     fi
   2146     test "$ac_signal" != 0 &&
   2147       $as_echo "$as_me: caught signal $ac_signal"
   2148     $as_echo "$as_me: exit $exit_status"
   2149   } >&5
   2150   rm -f core *.core core.conftest.* &&
   2151     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2152     exit $exit_status
   2153 ' 0
   2154 for ac_signal in 1 2 13 15; do
   2155   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2156 done
   2157 ac_signal=0
   2158 
   2159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2160 rm -f -r conftest* confdefs.h
   2161 
   2162 $as_echo "/* confdefs.h */" > confdefs.h
   2163 
   2164 # Predefined preprocessor variables.
   2165 
   2166 cat >>confdefs.h <<_ACEOF
   2167 #define PACKAGE_NAME "$PACKAGE_NAME"
   2168 _ACEOF
   2169 
   2170 cat >>confdefs.h <<_ACEOF
   2171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2172 _ACEOF
   2173 
   2174 cat >>confdefs.h <<_ACEOF
   2175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2176 _ACEOF
   2177 
   2178 cat >>confdefs.h <<_ACEOF
   2179 #define PACKAGE_STRING "$PACKAGE_STRING"
   2180 _ACEOF
   2181 
   2182 cat >>confdefs.h <<_ACEOF
   2183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2184 _ACEOF
   2185 
   2186 cat >>confdefs.h <<_ACEOF
   2187 #define PACKAGE_URL "$PACKAGE_URL"
   2188 _ACEOF
   2189 
   2190 
   2191 # Let the site file select an alternate cache file if it wants to.
   2192 # Prefer an explicitly selected file to automatically selected ones.
   2193 ac_site_file1=NONE
   2194 ac_site_file2=NONE
   2195 if test -n "$CONFIG_SITE"; then
   2196   # We do not want a PATH search for config.site.
   2197   case $CONFIG_SITE in #((
   2198     -*)  ac_site_file1=./$CONFIG_SITE;;
   2199     */*) ac_site_file1=$CONFIG_SITE;;
   2200     *)   ac_site_file1=./$CONFIG_SITE;;
   2201   esac
   2202 elif test "x$prefix" != xNONE; then
   2203   ac_site_file1=$prefix/share/config.site
   2204   ac_site_file2=$prefix/etc/config.site
   2205 else
   2206   ac_site_file1=$ac_default_prefix/share/config.site
   2207   ac_site_file2=$ac_default_prefix/etc/config.site
   2208 fi
   2209 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2210 do
   2211   test "x$ac_site_file" = xNONE && continue
   2212   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2213     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2215     sed 's/^/| /' "$ac_site_file" >&5
   2216     . "$ac_site_file" \
   2217       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2219 as_fn_error $? "failed to load site script $ac_site_file
   2220 See \`config.log' for more details" "$LINENO" 5; }
   2221   fi
   2222 done
   2223 
   2224 if test -r "$cache_file"; then
   2225   # Some versions of bash will fail to source /dev/null (special files
   2226   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2227   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2228     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2229 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2230     case $cache_file in
   2231       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2232       *)                      . "./$cache_file";;
   2233     esac
   2234   fi
   2235 else
   2236   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2237 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2238   >$cache_file
   2239 fi
   2240 
   2241 # Check that the precious variables saved in the cache have kept the same
   2242 # value.
   2243 ac_cache_corrupted=false
   2244 for ac_var in $ac_precious_vars; do
   2245   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2246   eval ac_new_set=\$ac_env_${ac_var}_set
   2247   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2248   eval ac_new_val=\$ac_env_${ac_var}_value
   2249   case $ac_old_set,$ac_new_set in
   2250     set,)
   2251       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2252 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2253       ac_cache_corrupted=: ;;
   2254     ,set)
   2255       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2256 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2257       ac_cache_corrupted=: ;;
   2258     ,);;
   2259     *)
   2260       if test "x$ac_old_val" != "x$ac_new_val"; then
   2261 	# differences in whitespace do not lead to failure.
   2262 	ac_old_val_w=`echo x $ac_old_val`
   2263 	ac_new_val_w=`echo x $ac_new_val`
   2264 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2265 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2266 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2267 	  ac_cache_corrupted=:
   2268 	else
   2269 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2270 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2271 	  eval $ac_var=\$ac_old_val
   2272 	fi
   2273 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2274 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2275 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2276 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2277       fi;;
   2278   esac
   2279   # Pass precious variables to config.status.
   2280   if test "$ac_new_set" = set; then
   2281     case $ac_new_val in
   2282     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2283     *) ac_arg=$ac_var=$ac_new_val ;;
   2284     esac
   2285     case " $ac_configure_args " in
   2286       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2287       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2288     esac
   2289   fi
   2290 done
   2291 if $ac_cache_corrupted; then
   2292   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2294   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2295 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2296   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2297 fi
   2298 ## -------------------- ##
   2299 ## Main body of script. ##
   2300 ## -------------------- ##
   2301 
   2302 ac_ext=c
   2303 ac_cpp='$CPP $CPPFLAGS'
   2304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2307 
   2308 
   2309 
   2310 ac_config_headers="$ac_config_headers config.h"
   2311 
   2312 
   2313 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2314 
   2315 
   2316 
   2317 
   2318 
   2319 
   2320 
   2321 
   2322 
   2323 
   2324 
   2325 ac_aux_dir=
   2326 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2327   if test -f "$ac_dir/install-sh"; then
   2328     ac_aux_dir=$ac_dir
   2329     ac_install_sh="$ac_aux_dir/install-sh -c"
   2330     break
   2331   elif test -f "$ac_dir/install.sh"; then
   2332     ac_aux_dir=$ac_dir
   2333     ac_install_sh="$ac_aux_dir/install.sh -c"
   2334     break
   2335   elif test -f "$ac_dir/shtool"; then
   2336     ac_aux_dir=$ac_dir
   2337     ac_install_sh="$ac_aux_dir/shtool install -c"
   2338     break
   2339   fi
   2340 done
   2341 if test -z "$ac_aux_dir"; then
   2342   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2343 fi
   2344 
   2345 # These three variables are undocumented and unsupported,
   2346 # and are intended to be withdrawn in a future Autoconf release.
   2347 # They can cause serious problems if a builder's source tree is in a directory
   2348 # whose full name contains unusual characters.
   2349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2351 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2352 
   2353 
   2354 # Find a good install program.  We prefer a C program (faster),
   2355 # so one script is as good as another.  But avoid the broken or
   2356 # incompatible versions:
   2357 # SysV /etc/install, /usr/sbin/install
   2358 # SunOS /usr/etc/install
   2359 # IRIX /sbin/install
   2360 # AIX /bin/install
   2361 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2365 # OS/2's system install, which has a completely different semantic
   2366 # ./install, which can be erroneously created by make from ./install.sh.
   2367 # Reject install programs that cannot install multiple files.
   2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2370 if test -z "$INSTALL"; then
   2371 if ${ac_cv_path_install+:} false; then :
   2372   $as_echo_n "(cached) " >&6
   2373 else
   2374   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2375 for as_dir in $PATH
   2376 do
   2377   IFS=$as_save_IFS
   2378   test -z "$as_dir" && as_dir=.
   2379     # Account for people who put trailing slashes in PATH elements.
   2380 case $as_dir/ in #((
   2381   ./ | .// | /[cC]/* | \
   2382   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2383   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2384   /usr/ucb/* ) ;;
   2385   *)
   2386     # OSF1 and SCO ODT 3.0 have their own names for install.
   2387     # Don't use installbsd from OSF since it installs stuff as root
   2388     # by default.
   2389     for ac_prog in ginstall scoinst install; do
   2390       for ac_exec_ext in '' $ac_executable_extensions; do
   2391 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2392 	  if test $ac_prog = install &&
   2393 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2394 	    # AIX install.  It has an incompatible calling convention.
   2395 	    :
   2396 	  elif test $ac_prog = install &&
   2397 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2398 	    # program-specific install script used by HP pwplus--don't use.
   2399 	    :
   2400 	  else
   2401 	    rm -rf conftest.one conftest.two conftest.dir
   2402 	    echo one > conftest.one
   2403 	    echo two > conftest.two
   2404 	    mkdir conftest.dir
   2405 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2406 	      test -s conftest.one && test -s conftest.two &&
   2407 	      test -s conftest.dir/conftest.one &&
   2408 	      test -s conftest.dir/conftest.two
   2409 	    then
   2410 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2411 	      break 3
   2412 	    fi
   2413 	  fi
   2414 	fi
   2415       done
   2416     done
   2417     ;;
   2418 esac
   2419 
   2420   done
   2421 IFS=$as_save_IFS
   2422 
   2423 rm -rf conftest.one conftest.two conftest.dir
   2424 
   2425 fi
   2426   if test "${ac_cv_path_install+set}" = set; then
   2427     INSTALL=$ac_cv_path_install
   2428   else
   2429     # As a last resort, use the slow shell script.  Don't cache a
   2430     # value for INSTALL within a source directory, because that will
   2431     # break other packages using the cache if that directory is
   2432     # removed, or if the value is a relative name.
   2433     INSTALL=$ac_install_sh
   2434   fi
   2435 fi
   2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2437 $as_echo "$INSTALL" >&6; }
   2438 
   2439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2440 # It thinks the first close brace ends the variable substitution.
   2441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2442 
   2443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2444 
   2445 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2446 
   2447 ac_ext=c
   2448 ac_cpp='$CPP $CPPFLAGS'
   2449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2452 if test -n "$ac_tool_prefix"; then
   2453   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2454 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2456 $as_echo_n "checking for $ac_word... " >&6; }
   2457 if ${ac_cv_prog_CC+:} false; then :
   2458   $as_echo_n "(cached) " >&6
   2459 else
   2460   if test -n "$CC"; then
   2461   ac_cv_prog_CC="$CC" # Let the user override the test.
   2462 else
   2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2464 for as_dir in $PATH
   2465 do
   2466   IFS=$as_save_IFS
   2467   test -z "$as_dir" && as_dir=.
   2468     for ac_exec_ext in '' $ac_executable_extensions; do
   2469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2470     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2472     break 2
   2473   fi
   2474 done
   2475   done
   2476 IFS=$as_save_IFS
   2477 
   2478 fi
   2479 fi
   2480 CC=$ac_cv_prog_CC
   2481 if test -n "$CC"; then
   2482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2483 $as_echo "$CC" >&6; }
   2484 else
   2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2486 $as_echo "no" >&6; }
   2487 fi
   2488 
   2489 
   2490 fi
   2491 if test -z "$ac_cv_prog_CC"; then
   2492   ac_ct_CC=$CC
   2493   # Extract the first word of "gcc", so it can be a program name with args.
   2494 set dummy gcc; ac_word=$2
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2496 $as_echo_n "checking for $ac_word... " >&6; }
   2497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2498   $as_echo_n "(cached) " >&6
   2499 else
   2500   if test -n "$ac_ct_CC"; then
   2501   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2502 else
   2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2504 for as_dir in $PATH
   2505 do
   2506   IFS=$as_save_IFS
   2507   test -z "$as_dir" && as_dir=.
   2508     for ac_exec_ext in '' $ac_executable_extensions; do
   2509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2510     ac_cv_prog_ac_ct_CC="gcc"
   2511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2512     break 2
   2513   fi
   2514 done
   2515   done
   2516 IFS=$as_save_IFS
   2517 
   2518 fi
   2519 fi
   2520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2521 if test -n "$ac_ct_CC"; then
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2523 $as_echo "$ac_ct_CC" >&6; }
   2524 else
   2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2526 $as_echo "no" >&6; }
   2527 fi
   2528 
   2529   if test "x$ac_ct_CC" = x; then
   2530     CC=""
   2531   else
   2532     case $cross_compiling:$ac_tool_warned in
   2533 yes:)
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2536 ac_tool_warned=yes ;;
   2537 esac
   2538     CC=$ac_ct_CC
   2539   fi
   2540 else
   2541   CC="$ac_cv_prog_CC"
   2542 fi
   2543 
   2544 if test -z "$CC"; then
   2545           if test -n "$ac_tool_prefix"; then
   2546     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2547 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2549 $as_echo_n "checking for $ac_word... " >&6; }
   2550 if ${ac_cv_prog_CC+:} false; then :
   2551   $as_echo_n "(cached) " >&6
   2552 else
   2553   if test -n "$CC"; then
   2554   ac_cv_prog_CC="$CC" # Let the user override the test.
   2555 else
   2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2557 for as_dir in $PATH
   2558 do
   2559   IFS=$as_save_IFS
   2560   test -z "$as_dir" && as_dir=.
   2561     for ac_exec_ext in '' $ac_executable_extensions; do
   2562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2563     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2565     break 2
   2566   fi
   2567 done
   2568   done
   2569 IFS=$as_save_IFS
   2570 
   2571 fi
   2572 fi
   2573 CC=$ac_cv_prog_CC
   2574 if test -n "$CC"; then
   2575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2576 $as_echo "$CC" >&6; }
   2577 else
   2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2579 $as_echo "no" >&6; }
   2580 fi
   2581 
   2582 
   2583   fi
   2584 fi
   2585 if test -z "$CC"; then
   2586   # Extract the first word of "cc", so it can be a program name with args.
   2587 set dummy cc; ac_word=$2
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2589 $as_echo_n "checking for $ac_word... " >&6; }
   2590 if ${ac_cv_prog_CC+:} false; then :
   2591   $as_echo_n "(cached) " >&6
   2592 else
   2593   if test -n "$CC"; then
   2594   ac_cv_prog_CC="$CC" # Let the user override the test.
   2595 else
   2596   ac_prog_rejected=no
   2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2598 for as_dir in $PATH
   2599 do
   2600   IFS=$as_save_IFS
   2601   test -z "$as_dir" && as_dir=.
   2602     for ac_exec_ext in '' $ac_executable_extensions; do
   2603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2604     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2605        ac_prog_rejected=yes
   2606        continue
   2607      fi
   2608     ac_cv_prog_CC="cc"
   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 if test $ac_prog_rejected = yes; then
   2617   # We found a bogon in the path, so make sure we never use it.
   2618   set dummy $ac_cv_prog_CC
   2619   shift
   2620   if test $# != 0; then
   2621     # We chose a different compiler from the bogus one.
   2622     # However, it has the same basename, so the bogon will be chosen
   2623     # first if we set CC to just the basename; use the full file name.
   2624     shift
   2625     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2626   fi
   2627 fi
   2628 fi
   2629 fi
   2630 CC=$ac_cv_prog_CC
   2631 if test -n "$CC"; then
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2633 $as_echo "$CC" >&6; }
   2634 else
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2636 $as_echo "no" >&6; }
   2637 fi
   2638 
   2639 
   2640 fi
   2641 if test -z "$CC"; then
   2642   if test -n "$ac_tool_prefix"; then
   2643   for ac_prog in cl.exe
   2644   do
   2645     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2648 $as_echo_n "checking for $ac_word... " >&6; }
   2649 if ${ac_cv_prog_CC+:} false; then :
   2650   $as_echo_n "(cached) " >&6
   2651 else
   2652   if test -n "$CC"; then
   2653   ac_cv_prog_CC="$CC" # Let the user override the test.
   2654 else
   2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2656 for as_dir in $PATH
   2657 do
   2658   IFS=$as_save_IFS
   2659   test -z "$as_dir" && as_dir=.
   2660     for ac_exec_ext in '' $ac_executable_extensions; do
   2661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2662     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2664     break 2
   2665   fi
   2666 done
   2667   done
   2668 IFS=$as_save_IFS
   2669 
   2670 fi
   2671 fi
   2672 CC=$ac_cv_prog_CC
   2673 if test -n "$CC"; then
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2675 $as_echo "$CC" >&6; }
   2676 else
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2678 $as_echo "no" >&6; }
   2679 fi
   2680 
   2681 
   2682     test -n "$CC" && break
   2683   done
   2684 fi
   2685 if test -z "$CC"; then
   2686   ac_ct_CC=$CC
   2687   for ac_prog in cl.exe
   2688 do
   2689   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2690 set dummy $ac_prog; ac_word=$2
   2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2692 $as_echo_n "checking for $ac_word... " >&6; }
   2693 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2694   $as_echo_n "(cached) " >&6
   2695 else
   2696   if test -n "$ac_ct_CC"; then
   2697   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2698 else
   2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2700 for as_dir in $PATH
   2701 do
   2702   IFS=$as_save_IFS
   2703   test -z "$as_dir" && as_dir=.
   2704     for ac_exec_ext in '' $ac_executable_extensions; do
   2705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2706     ac_cv_prog_ac_ct_CC="$ac_prog"
   2707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2708     break 2
   2709   fi
   2710 done
   2711   done
   2712 IFS=$as_save_IFS
   2713 
   2714 fi
   2715 fi
   2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2717 if test -n "$ac_ct_CC"; then
   2718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2719 $as_echo "$ac_ct_CC" >&6; }
   2720 else
   2721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2722 $as_echo "no" >&6; }
   2723 fi
   2724 
   2725 
   2726   test -n "$ac_ct_CC" && break
   2727 done
   2728 
   2729   if test "x$ac_ct_CC" = x; then
   2730     CC=""
   2731   else
   2732     case $cross_compiling:$ac_tool_warned in
   2733 yes:)
   2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2736 ac_tool_warned=yes ;;
   2737 esac
   2738     CC=$ac_ct_CC
   2739   fi
   2740 fi
   2741 
   2742 fi
   2743 
   2744 
   2745 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2747 as_fn_error $? "no acceptable C compiler found in \$PATH
   2748 See \`config.log' for more details" "$LINENO" 5; }
   2749 
   2750 # Provide some information about the compiler.
   2751 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2752 set X $ac_compile
   2753 ac_compiler=$2
   2754 for ac_option in --version -v -V -qversion; do
   2755   { { ac_try="$ac_compiler $ac_option >&5"
   2756 case "(($ac_try" in
   2757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2758   *) ac_try_echo=$ac_try;;
   2759 esac
   2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2761 $as_echo "$ac_try_echo"; } >&5
   2762   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2763   ac_status=$?
   2764   if test -s conftest.err; then
   2765     sed '10a\
   2766 ... rest of stderr output deleted ...
   2767          10q' conftest.err >conftest.er1
   2768     cat conftest.er1 >&5
   2769   fi
   2770   rm -f conftest.er1 conftest.err
   2771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2772   test $ac_status = 0; }
   2773 done
   2774 
   2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2776 /* end confdefs.h.  */
   2777 
   2778 int
   2779 main ()
   2780 {
   2781 
   2782   ;
   2783   return 0;
   2784 }
   2785 _ACEOF
   2786 ac_clean_files_save=$ac_clean_files
   2787 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2788 # Try to create an executable without -o first, disregard a.out.
   2789 # It will help us diagnose broken compilers, and finding out an intuition
   2790 # of exeext.
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2792 $as_echo_n "checking whether the C compiler works... " >&6; }
   2793 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2794 
   2795 # The possible output files:
   2796 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2797 
   2798 ac_rmfiles=
   2799 for ac_file in $ac_files
   2800 do
   2801   case $ac_file in
   2802     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2803     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2804   esac
   2805 done
   2806 rm -f $ac_rmfiles
   2807 
   2808 if { { ac_try="$ac_link_default"
   2809 case "(($ac_try" in
   2810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2811   *) ac_try_echo=$ac_try;;
   2812 esac
   2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2814 $as_echo "$ac_try_echo"; } >&5
   2815   (eval "$ac_link_default") 2>&5
   2816   ac_status=$?
   2817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2818   test $ac_status = 0; }; then :
   2819   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2820 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2821 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2822 # so that the user can short-circuit this test for compilers unknown to
   2823 # Autoconf.
   2824 for ac_file in $ac_files ''
   2825 do
   2826   test -f "$ac_file" || continue
   2827   case $ac_file in
   2828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2829 	;;
   2830     [ab].out )
   2831 	# We found the default executable, but exeext='' is most
   2832 	# certainly right.
   2833 	break;;
   2834     *.* )
   2835 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2836 	then :; else
   2837 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2838 	fi
   2839 	# We set ac_cv_exeext here because the later test for it is not
   2840 	# safe: cross compilers may not add the suffix if given an `-o'
   2841 	# argument, so we may need to know it at that point already.
   2842 	# Even if this section looks crufty: it has the advantage of
   2843 	# actually working.
   2844 	break;;
   2845     * )
   2846 	break;;
   2847   esac
   2848 done
   2849 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2850 
   2851 else
   2852   ac_file=''
   2853 fi
   2854 if test -z "$ac_file"; then :
   2855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2856 $as_echo "no" >&6; }
   2857 $as_echo "$as_me: failed program was:" >&5
   2858 sed 's/^/| /' conftest.$ac_ext >&5
   2859 
   2860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2862 as_fn_error 77 "C compiler cannot create executables
   2863 See \`config.log' for more details" "$LINENO" 5; }
   2864 else
   2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2866 $as_echo "yes" >&6; }
   2867 fi
   2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2869 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2871 $as_echo "$ac_file" >&6; }
   2872 ac_exeext=$ac_cv_exeext
   2873 
   2874 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2875 ac_clean_files=$ac_clean_files_save
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2877 $as_echo_n "checking for suffix of executables... " >&6; }
   2878 if { { ac_try="$ac_link"
   2879 case "(($ac_try" in
   2880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2881   *) ac_try_echo=$ac_try;;
   2882 esac
   2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2884 $as_echo "$ac_try_echo"; } >&5
   2885   (eval "$ac_link") 2>&5
   2886   ac_status=$?
   2887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2888   test $ac_status = 0; }; then :
   2889   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2890 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2891 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2892 # `rm'.
   2893 for ac_file in conftest.exe conftest conftest.*; do
   2894   test -f "$ac_file" || continue
   2895   case $ac_file in
   2896     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2897     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2898 	  break;;
   2899     * ) break;;
   2900   esac
   2901 done
   2902 else
   2903   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2905 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2906 See \`config.log' for more details" "$LINENO" 5; }
   2907 fi
   2908 rm -f conftest conftest$ac_cv_exeext
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2910 $as_echo "$ac_cv_exeext" >&6; }
   2911 
   2912 rm -f conftest.$ac_ext
   2913 EXEEXT=$ac_cv_exeext
   2914 ac_exeext=$EXEEXT
   2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2916 /* end confdefs.h.  */
   2917 #include <stdio.h>
   2918 int
   2919 main ()
   2920 {
   2921 FILE *f = fopen ("conftest.out", "w");
   2922  return ferror (f) || fclose (f) != 0;
   2923 
   2924   ;
   2925   return 0;
   2926 }
   2927 _ACEOF
   2928 ac_clean_files="$ac_clean_files conftest.out"
   2929 # Check that the compiler produces executables we can run.  If not, either
   2930 # the compiler is broken, or we cross compile.
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2932 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2933 if test "$cross_compiling" != yes; then
   2934   { { ac_try="$ac_link"
   2935 case "(($ac_try" in
   2936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2937   *) ac_try_echo=$ac_try;;
   2938 esac
   2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2940 $as_echo "$ac_try_echo"; } >&5
   2941   (eval "$ac_link") 2>&5
   2942   ac_status=$?
   2943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2944   test $ac_status = 0; }
   2945   if { ac_try='./conftest$ac_cv_exeext'
   2946   { { case "(($ac_try" in
   2947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2948   *) ac_try_echo=$ac_try;;
   2949 esac
   2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2951 $as_echo "$ac_try_echo"; } >&5
   2952   (eval "$ac_try") 2>&5
   2953   ac_status=$?
   2954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2955   test $ac_status = 0; }; }; then
   2956     cross_compiling=no
   2957   else
   2958     if test "$cross_compiling" = maybe; then
   2959 	cross_compiling=yes
   2960     else
   2961 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2963 as_fn_error $? "cannot run C compiled programs.
   2964 If you meant to cross compile, use \`--host'.
   2965 See \`config.log' for more details" "$LINENO" 5; }
   2966     fi
   2967   fi
   2968 fi
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2970 $as_echo "$cross_compiling" >&6; }
   2971 
   2972 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2973 ac_clean_files=$ac_clean_files_save
   2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2975 $as_echo_n "checking for suffix of object files... " >&6; }
   2976 if ${ac_cv_objext+:} false; then :
   2977   $as_echo_n "(cached) " >&6
   2978 else
   2979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2980 /* end confdefs.h.  */
   2981 
   2982 int
   2983 main ()
   2984 {
   2985 
   2986   ;
   2987   return 0;
   2988 }
   2989 _ACEOF
   2990 rm -f conftest.o conftest.obj
   2991 if { { ac_try="$ac_compile"
   2992 case "(($ac_try" in
   2993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2994   *) ac_try_echo=$ac_try;;
   2995 esac
   2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2997 $as_echo "$ac_try_echo"; } >&5
   2998   (eval "$ac_compile") 2>&5
   2999   ac_status=$?
   3000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3001   test $ac_status = 0; }; then :
   3002   for ac_file in conftest.o conftest.obj conftest.*; do
   3003   test -f "$ac_file" || continue;
   3004   case $ac_file in
   3005     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3006     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3007        break;;
   3008   esac
   3009 done
   3010 else
   3011   $as_echo "$as_me: failed program was:" >&5
   3012 sed 's/^/| /' conftest.$ac_ext >&5
   3013 
   3014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3016 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3017 See \`config.log' for more details" "$LINENO" 5; }
   3018 fi
   3019 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3020 fi
   3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3022 $as_echo "$ac_cv_objext" >&6; }
   3023 OBJEXT=$ac_cv_objext
   3024 ac_objext=$OBJEXT
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3026 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3027 if ${ac_cv_c_compiler_gnu+:} false; then :
   3028   $as_echo_n "(cached) " >&6
   3029 else
   3030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3031 /* end confdefs.h.  */
   3032 
   3033 int
   3034 main ()
   3035 {
   3036 #ifndef __GNUC__
   3037        choke me
   3038 #endif
   3039 
   3040   ;
   3041   return 0;
   3042 }
   3043 _ACEOF
   3044 if ac_fn_c_try_compile "$LINENO"; then :
   3045   ac_compiler_gnu=yes
   3046 else
   3047   ac_compiler_gnu=no
   3048 fi
   3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3050 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3051 
   3052 fi
   3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3054 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3055 if test $ac_compiler_gnu = yes; then
   3056   GCC=yes
   3057 else
   3058   GCC=
   3059 fi
   3060 ac_test_CFLAGS=${CFLAGS+set}
   3061 ac_save_CFLAGS=$CFLAGS
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3063 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3064 if ${ac_cv_prog_cc_g+:} false; then :
   3065   $as_echo_n "(cached) " >&6
   3066 else
   3067   ac_save_c_werror_flag=$ac_c_werror_flag
   3068    ac_c_werror_flag=yes
   3069    ac_cv_prog_cc_g=no
   3070    CFLAGS="-g"
   3071    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3072 /* end confdefs.h.  */
   3073 
   3074 int
   3075 main ()
   3076 {
   3077 
   3078   ;
   3079   return 0;
   3080 }
   3081 _ACEOF
   3082 if ac_fn_c_try_compile "$LINENO"; then :
   3083   ac_cv_prog_cc_g=yes
   3084 else
   3085   CFLAGS=""
   3086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3087 /* end confdefs.h.  */
   3088 
   3089 int
   3090 main ()
   3091 {
   3092 
   3093   ;
   3094   return 0;
   3095 }
   3096 _ACEOF
   3097 if ac_fn_c_try_compile "$LINENO"; then :
   3098 
   3099 else
   3100   ac_c_werror_flag=$ac_save_c_werror_flag
   3101 	 CFLAGS="-g"
   3102 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3103 /* end confdefs.h.  */
   3104 
   3105 int
   3106 main ()
   3107 {
   3108 
   3109   ;
   3110   return 0;
   3111 }
   3112 _ACEOF
   3113 if ac_fn_c_try_compile "$LINENO"; then :
   3114   ac_cv_prog_cc_g=yes
   3115 fi
   3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3117 fi
   3118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3119 fi
   3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3121    ac_c_werror_flag=$ac_save_c_werror_flag
   3122 fi
   3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3124 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3125 if test "$ac_test_CFLAGS" = set; then
   3126   CFLAGS=$ac_save_CFLAGS
   3127 elif test $ac_cv_prog_cc_g = yes; then
   3128   if test "$GCC" = yes; then
   3129     CFLAGS="-g -O2"
   3130   else
   3131     CFLAGS="-g"
   3132   fi
   3133 else
   3134   if test "$GCC" = yes; then
   3135     CFLAGS="-O2"
   3136   else
   3137     CFLAGS=
   3138   fi
   3139 fi
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3141 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3142 if ${ac_cv_prog_cc_c89+:} false; then :
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   ac_cv_prog_cc_c89=no
   3146 ac_save_CC=$CC
   3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3148 /* end confdefs.h.  */
   3149 #include <stdarg.h>
   3150 #include <stdio.h>
   3151 #include <sys/types.h>
   3152 #include <sys/stat.h>
   3153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3154 struct buf { int x; };
   3155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3156 static char *e (p, i)
   3157      char **p;
   3158      int i;
   3159 {
   3160   return p[i];
   3161 }
   3162 static char *f (char * (*g) (char **, int), char **p, ...)
   3163 {
   3164   char *s;
   3165   va_list v;
   3166   va_start (v,p);
   3167   s = g (p, va_arg (v,int));
   3168   va_end (v);
   3169   return s;
   3170 }
   3171 
   3172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3173    function prototypes and stuff, but not '\xHH' hex character constants.
   3174    These don't provoke an error unfortunately, instead are silently treated
   3175    as 'x'.  The following induces an error, until -std is added to get
   3176    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3177    array size at least.  It's necessary to write '\x00'==0 to get something
   3178    that's true only with -std.  */
   3179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3180 
   3181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3182    inside strings and character constants.  */
   3183 #define FOO(x) 'x'
   3184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3185 
   3186 int test (int i, double x);
   3187 struct s1 {int (*f) (int a);};
   3188 struct s2 {int (*f) (double a);};
   3189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3190 int argc;
   3191 char **argv;
   3192 int
   3193 main ()
   3194 {
   3195 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3196   ;
   3197   return 0;
   3198 }
   3199 _ACEOF
   3200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3201 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3202 do
   3203   CC="$ac_save_CC $ac_arg"
   3204   if ac_fn_c_try_compile "$LINENO"; then :
   3205   ac_cv_prog_cc_c89=$ac_arg
   3206 fi
   3207 rm -f core conftest.err conftest.$ac_objext
   3208   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3209 done
   3210 rm -f conftest.$ac_ext
   3211 CC=$ac_save_CC
   3212 
   3213 fi
   3214 # AC_CACHE_VAL
   3215 case "x$ac_cv_prog_cc_c89" in
   3216   x)
   3217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3218 $as_echo "none needed" >&6; } ;;
   3219   xno)
   3220     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3221 $as_echo "unsupported" >&6; } ;;
   3222   *)
   3223     CC="$CC $ac_cv_prog_cc_c89"
   3224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3225 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3226 esac
   3227 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3228 
   3229 fi
   3230 
   3231 ac_ext=c
   3232 ac_cpp='$CPP $CPPFLAGS'
   3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3236 
   3237    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3238 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3239 if ${ac_cv_prog_cc_c99+:} false; then :
   3240   $as_echo_n "(cached) " >&6
   3241 else
   3242   ac_cv_prog_cc_c99=no
   3243 ac_save_CC=$CC
   3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3245 /* end confdefs.h.  */
   3246 #include <stdarg.h>
   3247 #include <stdbool.h>
   3248 #include <stdlib.h>
   3249 #include <wchar.h>
   3250 #include <stdio.h>
   3251 
   3252 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3253 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3254 #define showlist(...) puts (#__VA_ARGS__)
   3255 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3256 static void
   3257 test_varargs_macros (void)
   3258 {
   3259   int x = 1234;
   3260   int y = 5678;
   3261   debug ("Flag");
   3262   debug ("X = %d\n", x);
   3263   showlist (The first, second, and third items.);
   3264   report (x>y, "x is %d but y is %d", x, y);
   3265 }
   3266 
   3267 // Check long long types.
   3268 #define BIG64 18446744073709551615ull
   3269 #define BIG32 4294967295ul
   3270 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3271 #if !BIG_OK
   3272   your preprocessor is broken;
   3273 #endif
   3274 #if BIG_OK
   3275 #else
   3276   your preprocessor is broken;
   3277 #endif
   3278 static long long int bignum = -9223372036854775807LL;
   3279 static unsigned long long int ubignum = BIG64;
   3280 
   3281 struct incomplete_array
   3282 {
   3283   int datasize;
   3284   double data[];
   3285 };
   3286 
   3287 struct named_init {
   3288   int number;
   3289   const wchar_t *name;
   3290   double average;
   3291 };
   3292 
   3293 typedef const char *ccp;
   3294 
   3295 static inline int
   3296 test_restrict (ccp restrict text)
   3297 {
   3298   // See if C++-style comments work.
   3299   // Iterate through items via the restricted pointer.
   3300   // Also check for declarations in for loops.
   3301   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3302     continue;
   3303   return 0;
   3304 }
   3305 
   3306 // Check varargs and va_copy.
   3307 static void
   3308 test_varargs (const char *format, ...)
   3309 {
   3310   va_list args;
   3311   va_start (args, format);
   3312   va_list args_copy;
   3313   va_copy (args_copy, args);
   3314 
   3315   const char *str;
   3316   int number;
   3317   float fnumber;
   3318 
   3319   while (*format)
   3320     {
   3321       switch (*format++)
   3322 	{
   3323 	case 's': // string
   3324 	  str = va_arg (args_copy, const char *);
   3325 	  break;
   3326 	case 'd': // int
   3327 	  number = va_arg (args_copy, int);
   3328 	  break;
   3329 	case 'f': // float
   3330 	  fnumber = va_arg (args_copy, double);
   3331 	  break;
   3332 	default:
   3333 	  break;
   3334 	}
   3335     }
   3336   va_end (args_copy);
   3337   va_end (args);
   3338 }
   3339 
   3340 int
   3341 main ()
   3342 {
   3343 
   3344   // Check bool.
   3345   _Bool success = false;
   3346 
   3347   // Check restrict.
   3348   if (test_restrict ("String literal") == 0)
   3349     success = true;
   3350   char *restrict newvar = "Another string";
   3351 
   3352   // Check varargs.
   3353   test_varargs ("s, d' f .", "string", 65, 34.234);
   3354   test_varargs_macros ();
   3355 
   3356   // Check flexible array members.
   3357   struct incomplete_array *ia =
   3358     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3359   ia->datasize = 10;
   3360   for (int i = 0; i < ia->datasize; ++i)
   3361     ia->data[i] = i * 1.234;
   3362 
   3363   // Check named initializers.
   3364   struct named_init ni = {
   3365     .number = 34,
   3366     .name = L"Test wide string",
   3367     .average = 543.34343,
   3368   };
   3369 
   3370   ni.number = 58;
   3371 
   3372   int dynamic_array[ni.number];
   3373   dynamic_array[ni.number - 1] = 543;
   3374 
   3375   // work around unused variable warnings
   3376   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3377 	  || dynamic_array[ni.number - 1] != 543);
   3378 
   3379   ;
   3380   return 0;
   3381 }
   3382 _ACEOF
   3383 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3384 do
   3385   CC="$ac_save_CC $ac_arg"
   3386   if ac_fn_c_try_compile "$LINENO"; then :
   3387   ac_cv_prog_cc_c99=$ac_arg
   3388 fi
   3389 rm -f core conftest.err conftest.$ac_objext
   3390   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3391 done
   3392 rm -f conftest.$ac_ext
   3393 CC=$ac_save_CC
   3394 
   3395 fi
   3396 # AC_CACHE_VAL
   3397 case "x$ac_cv_prog_cc_c99" in
   3398   x)
   3399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3400 $as_echo "none needed" >&6; } ;;
   3401   xno)
   3402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3403 $as_echo "unsupported" >&6; } ;;
   3404   *)
   3405     CC="$CC $ac_cv_prog_cc_c99"
   3406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3407 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3408 esac
   3409 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3410 
   3411 fi
   3412 
   3413 
   3414 
   3415 ac_ext=c
   3416 ac_cpp='$CPP $CPPFLAGS'
   3417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3421 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3422 # On Suns, sometimes $CPP names a directory.
   3423 if test -n "$CPP" && test -d "$CPP"; then
   3424   CPP=
   3425 fi
   3426 if test -z "$CPP"; then
   3427   if ${ac_cv_prog_CPP+:} false; then :
   3428   $as_echo_n "(cached) " >&6
   3429 else
   3430       # Double quotes because CPP needs to be expanded
   3431     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3432     do
   3433       ac_preproc_ok=false
   3434 for ac_c_preproc_warn_flag in '' yes
   3435 do
   3436   # Use a header file that comes with gcc, so configuring glibc
   3437   # with a fresh cross-compiler works.
   3438   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3439   # <limits.h> exists even on freestanding compilers.
   3440   # On the NeXT, cc -E runs the code through the compiler's parser,
   3441   # not just through cpp. "Syntax error" is here to catch this case.
   3442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3443 /* end confdefs.h.  */
   3444 #ifdef __STDC__
   3445 # include <limits.h>
   3446 #else
   3447 # include <assert.h>
   3448 #endif
   3449 		     Syntax error
   3450 _ACEOF
   3451 if ac_fn_c_try_cpp "$LINENO"; then :
   3452 
   3453 else
   3454   # Broken: fails on valid input.
   3455 continue
   3456 fi
   3457 rm -f conftest.err conftest.i conftest.$ac_ext
   3458 
   3459   # OK, works on sane cases.  Now check whether nonexistent headers
   3460   # can be detected and how.
   3461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3462 /* end confdefs.h.  */
   3463 #include <ac_nonexistent.h>
   3464 _ACEOF
   3465 if ac_fn_c_try_cpp "$LINENO"; then :
   3466   # Broken: success on invalid input.
   3467 continue
   3468 else
   3469   # Passes both tests.
   3470 ac_preproc_ok=:
   3471 break
   3472 fi
   3473 rm -f conftest.err conftest.i conftest.$ac_ext
   3474 
   3475 done
   3476 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3477 rm -f conftest.i conftest.err conftest.$ac_ext
   3478 if $ac_preproc_ok; then :
   3479   break
   3480 fi
   3481 
   3482     done
   3483     ac_cv_prog_CPP=$CPP
   3484 
   3485 fi
   3486   CPP=$ac_cv_prog_CPP
   3487 else
   3488   ac_cv_prog_CPP=$CPP
   3489 fi
   3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3491 $as_echo "$CPP" >&6; }
   3492 ac_preproc_ok=false
   3493 for ac_c_preproc_warn_flag in '' yes
   3494 do
   3495   # Use a header file that comes with gcc, so configuring glibc
   3496   # with a fresh cross-compiler works.
   3497   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3498   # <limits.h> exists even on freestanding compilers.
   3499   # On the NeXT, cc -E runs the code through the compiler's parser,
   3500   # not just through cpp. "Syntax error" is here to catch this case.
   3501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3502 /* end confdefs.h.  */
   3503 #ifdef __STDC__
   3504 # include <limits.h>
   3505 #else
   3506 # include <assert.h>
   3507 #endif
   3508 		     Syntax error
   3509 _ACEOF
   3510 if ac_fn_c_try_cpp "$LINENO"; then :
   3511 
   3512 else
   3513   # Broken: fails on valid input.
   3514 continue
   3515 fi
   3516 rm -f conftest.err conftest.i conftest.$ac_ext
   3517 
   3518   # OK, works on sane cases.  Now check whether nonexistent headers
   3519   # can be detected and how.
   3520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3521 /* end confdefs.h.  */
   3522 #include <ac_nonexistent.h>
   3523 _ACEOF
   3524 if ac_fn_c_try_cpp "$LINENO"; then :
   3525   # Broken: success on invalid input.
   3526 continue
   3527 else
   3528   # Passes both tests.
   3529 ac_preproc_ok=:
   3530 break
   3531 fi
   3532 rm -f conftest.err conftest.i conftest.$ac_ext
   3533 
   3534 done
   3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3536 rm -f conftest.i conftest.err conftest.$ac_ext
   3537 if $ac_preproc_ok; then :
   3538 
   3539 else
   3540   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3542 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3543 See \`config.log' for more details" "$LINENO" 5; }
   3544 fi
   3545 
   3546 ac_ext=c
   3547 ac_cpp='$CPP $CPPFLAGS'
   3548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3551 
   3552 
   3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3554 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3555 if ${ac_cv_path_GREP+:} false; then :
   3556   $as_echo_n "(cached) " >&6
   3557 else
   3558   if test -z "$GREP"; then
   3559   ac_path_GREP_found=false
   3560   # Loop through the user's path and test for each of PROGNAME-LIST
   3561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3563 do
   3564   IFS=$as_save_IFS
   3565   test -z "$as_dir" && as_dir=.
   3566     for ac_prog in grep ggrep; do
   3567     for ac_exec_ext in '' $ac_executable_extensions; do
   3568       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3569       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3570 # Check for GNU ac_path_GREP and select it if it is found.
   3571   # Check for GNU $ac_path_GREP
   3572 case `"$ac_path_GREP" --version 2>&1` in
   3573 *GNU*)
   3574   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3575 *)
   3576   ac_count=0
   3577   $as_echo_n 0123456789 >"conftest.in"
   3578   while :
   3579   do
   3580     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3581     mv "conftest.tmp" "conftest.in"
   3582     cp "conftest.in" "conftest.nl"
   3583     $as_echo 'GREP' >> "conftest.nl"
   3584     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3585     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3586     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3587     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3588       # Best one so far, save it but keep looking for a better one
   3589       ac_cv_path_GREP="$ac_path_GREP"
   3590       ac_path_GREP_max=$ac_count
   3591     fi
   3592     # 10*(2^10) chars as input seems more than enough
   3593     test $ac_count -gt 10 && break
   3594   done
   3595   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3596 esac
   3597 
   3598       $ac_path_GREP_found && break 3
   3599     done
   3600   done
   3601   done
   3602 IFS=$as_save_IFS
   3603   if test -z "$ac_cv_path_GREP"; then
   3604     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3605   fi
   3606 else
   3607   ac_cv_path_GREP=$GREP
   3608 fi
   3609 
   3610 fi
   3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3612 $as_echo "$ac_cv_path_GREP" >&6; }
   3613  GREP="$ac_cv_path_GREP"
   3614 
   3615 
   3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3617 $as_echo_n "checking for egrep... " >&6; }
   3618 if ${ac_cv_path_EGREP+:} false; then :
   3619   $as_echo_n "(cached) " >&6
   3620 else
   3621   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3622    then ac_cv_path_EGREP="$GREP -E"
   3623    else
   3624      if test -z "$EGREP"; then
   3625   ac_path_EGREP_found=false
   3626   # Loop through the user's path and test for each of PROGNAME-LIST
   3627   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3628 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3629 do
   3630   IFS=$as_save_IFS
   3631   test -z "$as_dir" && as_dir=.
   3632     for ac_prog in egrep; do
   3633     for ac_exec_ext in '' $ac_executable_extensions; do
   3634       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3635       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3636 # Check for GNU ac_path_EGREP and select it if it is found.
   3637   # Check for GNU $ac_path_EGREP
   3638 case `"$ac_path_EGREP" --version 2>&1` in
   3639 *GNU*)
   3640   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3641 *)
   3642   ac_count=0
   3643   $as_echo_n 0123456789 >"conftest.in"
   3644   while :
   3645   do
   3646     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3647     mv "conftest.tmp" "conftest.in"
   3648     cp "conftest.in" "conftest.nl"
   3649     $as_echo 'EGREP' >> "conftest.nl"
   3650     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3651     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3652     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3653     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3654       # Best one so far, save it but keep looking for a better one
   3655       ac_cv_path_EGREP="$ac_path_EGREP"
   3656       ac_path_EGREP_max=$ac_count
   3657     fi
   3658     # 10*(2^10) chars as input seems more than enough
   3659     test $ac_count -gt 10 && break
   3660   done
   3661   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3662 esac
   3663 
   3664       $ac_path_EGREP_found && break 3
   3665     done
   3666   done
   3667   done
   3668 IFS=$as_save_IFS
   3669   if test -z "$ac_cv_path_EGREP"; then
   3670     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3671   fi
   3672 else
   3673   ac_cv_path_EGREP=$EGREP
   3674 fi
   3675 
   3676    fi
   3677 fi
   3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3679 $as_echo "$ac_cv_path_EGREP" >&6; }
   3680  EGREP="$ac_cv_path_EGREP"
   3681 
   3682 
   3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3684 $as_echo_n "checking for ANSI C header files... " >&6; }
   3685 if ${ac_cv_header_stdc+:} false; then :
   3686   $as_echo_n "(cached) " >&6
   3687 else
   3688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3689 /* end confdefs.h.  */
   3690 #include <stdlib.h>
   3691 #include <stdarg.h>
   3692 #include <string.h>
   3693 #include <float.h>
   3694 
   3695 int
   3696 main ()
   3697 {
   3698 
   3699   ;
   3700   return 0;
   3701 }
   3702 _ACEOF
   3703 if ac_fn_c_try_compile "$LINENO"; then :
   3704   ac_cv_header_stdc=yes
   3705 else
   3706   ac_cv_header_stdc=no
   3707 fi
   3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3709 
   3710 if test $ac_cv_header_stdc = yes; then
   3711   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3713 /* end confdefs.h.  */
   3714 #include <string.h>
   3715 
   3716 _ACEOF
   3717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3718   $EGREP "memchr" >/dev/null 2>&1; then :
   3719 
   3720 else
   3721   ac_cv_header_stdc=no
   3722 fi
   3723 rm -f conftest*
   3724 
   3725 fi
   3726 
   3727 if test $ac_cv_header_stdc = yes; then
   3728   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3730 /* end confdefs.h.  */
   3731 #include <stdlib.h>
   3732 
   3733 _ACEOF
   3734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3735   $EGREP "free" >/dev/null 2>&1; then :
   3736 
   3737 else
   3738   ac_cv_header_stdc=no
   3739 fi
   3740 rm -f conftest*
   3741 
   3742 fi
   3743 
   3744 if test $ac_cv_header_stdc = yes; then
   3745   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3746   if test "$cross_compiling" = yes; then :
   3747   :
   3748 else
   3749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3750 /* end confdefs.h.  */
   3751 #include <ctype.h>
   3752 #include <stdlib.h>
   3753 #if ((' ' & 0x0FF) == 0x020)
   3754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3756 #else
   3757 # define ISLOWER(c) \
   3758 		   (('a' <= (c) && (c) <= 'i') \
   3759 		     || ('j' <= (c) && (c) <= 'r') \
   3760 		     || ('s' <= (c) && (c) <= 'z'))
   3761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3762 #endif
   3763 
   3764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3765 int
   3766 main ()
   3767 {
   3768   int i;
   3769   for (i = 0; i < 256; i++)
   3770     if (XOR (islower (i), ISLOWER (i))
   3771 	|| toupper (i) != TOUPPER (i))
   3772       return 2;
   3773   return 0;
   3774 }
   3775 _ACEOF
   3776 if ac_fn_c_try_run "$LINENO"; then :
   3777 
   3778 else
   3779   ac_cv_header_stdc=no
   3780 fi
   3781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3782   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3783 fi
   3784 
   3785 fi
   3786 fi
   3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3788 $as_echo "$ac_cv_header_stdc" >&6; }
   3789 if test $ac_cv_header_stdc = yes; then
   3790 
   3791 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3792 
   3793 fi
   3794 
   3795 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3796 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3797 		  inttypes.h stdint.h unistd.h
   3798 do :
   3799   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3800 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3801 "
   3802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3803   cat >>confdefs.h <<_ACEOF
   3804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3805 _ACEOF
   3806 
   3807 fi
   3808 
   3809 done
   3810 
   3811 
   3812 
   3813 
   3814 
   3815 
   3816 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   3817 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   3818   CLANGCC="yes"
   3819 else
   3820   CLANGCC="no"
   3821 fi
   3822 
   3823 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   3824 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   3825   INTELCC="yes"
   3826 else
   3827   INTELCC="no"
   3828 fi
   3829 
   3830 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   3831 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   3832   SUNCC="yes"
   3833 else
   3834   SUNCC="no"
   3835 fi
   3836 
   3837 
   3838 
   3839 
   3840 
   3841 
   3842 
   3843 
   3844 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   3845 	if test -n "$ac_tool_prefix"; then
   3846   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   3847 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3849 $as_echo_n "checking for $ac_word... " >&6; }
   3850 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   3851   $as_echo_n "(cached) " >&6
   3852 else
   3853   case $PKG_CONFIG in
   3854   [\\/]* | ?:[\\/]*)
   3855   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   3856   ;;
   3857   *)
   3858   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3859 for as_dir in $PATH
   3860 do
   3861   IFS=$as_save_IFS
   3862   test -z "$as_dir" && as_dir=.
   3863     for ac_exec_ext in '' $ac_executable_extensions; do
   3864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3865     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3867     break 2
   3868   fi
   3869 done
   3870   done
   3871 IFS=$as_save_IFS
   3872 
   3873   ;;
   3874 esac
   3875 fi
   3876 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   3877 if test -n "$PKG_CONFIG"; then
   3878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   3879 $as_echo "$PKG_CONFIG" >&6; }
   3880 else
   3881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3882 $as_echo "no" >&6; }
   3883 fi
   3884 
   3885 
   3886 fi
   3887 if test -z "$ac_cv_path_PKG_CONFIG"; then
   3888   ac_pt_PKG_CONFIG=$PKG_CONFIG
   3889   # Extract the first word of "pkg-config", so it can be a program name with args.
   3890 set dummy pkg-config; ac_word=$2
   3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3892 $as_echo_n "checking for $ac_word... " >&6; }
   3893 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   3894   $as_echo_n "(cached) " >&6
   3895 else
   3896   case $ac_pt_PKG_CONFIG in
   3897   [\\/]* | ?:[\\/]*)
   3898   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   3899   ;;
   3900   *)
   3901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3902 for as_dir in $PATH
   3903 do
   3904   IFS=$as_save_IFS
   3905   test -z "$as_dir" && as_dir=.
   3906     for ac_exec_ext in '' $ac_executable_extensions; do
   3907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3908     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3910     break 2
   3911   fi
   3912 done
   3913   done
   3914 IFS=$as_save_IFS
   3915 
   3916   ;;
   3917 esac
   3918 fi
   3919 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   3920 if test -n "$ac_pt_PKG_CONFIG"; then
   3921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   3922 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   3923 else
   3924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3925 $as_echo "no" >&6; }
   3926 fi
   3927 
   3928   if test "x$ac_pt_PKG_CONFIG" = x; then
   3929     PKG_CONFIG=""
   3930   else
   3931     case $cross_compiling:$ac_tool_warned in
   3932 yes:)
   3933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3935 ac_tool_warned=yes ;;
   3936 esac
   3937     PKG_CONFIG=$ac_pt_PKG_CONFIG
   3938   fi
   3939 else
   3940   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   3941 fi
   3942 
   3943 fi
   3944 if test -n "$PKG_CONFIG"; then
   3945 	_pkg_min_version=0.9.0
   3946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   3947 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   3948 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   3949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3950 $as_echo "yes" >&6; }
   3951 	else
   3952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3953 $as_echo "no" >&6; }
   3954 		PKG_CONFIG=""
   3955 	fi
   3956 fi
   3957 # Make sure we can run config.sub.
   3958 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3959   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3960 
   3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3962 $as_echo_n "checking build system type... " >&6; }
   3963 if ${ac_cv_build+:} false; then :
   3964   $as_echo_n "(cached) " >&6
   3965 else
   3966   ac_build_alias=$build_alias
   3967 test "x$ac_build_alias" = x &&
   3968   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3969 test "x$ac_build_alias" = x &&
   3970   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3971 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3972   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3973 
   3974 fi
   3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3976 $as_echo "$ac_cv_build" >&6; }
   3977 case $ac_cv_build in
   3978 *-*-*) ;;
   3979 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3980 esac
   3981 build=$ac_cv_build
   3982 ac_save_IFS=$IFS; IFS='-'
   3983 set x $ac_cv_build
   3984 shift
   3985 build_cpu=$1
   3986 build_vendor=$2
   3987 shift; shift
   3988 # Remember, the first character of IFS is used to create $*,
   3989 # except with old shells:
   3990 build_os=$*
   3991 IFS=$ac_save_IFS
   3992 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3993 
   3994 
   3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3996 $as_echo_n "checking host system type... " >&6; }
   3997 if ${ac_cv_host+:} false; then :
   3998   $as_echo_n "(cached) " >&6
   3999 else
   4000   if test "x$host_alias" = x; then
   4001   ac_cv_host=$ac_cv_build
   4002 else
   4003   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4004     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4005 fi
   4006 
   4007 fi
   4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4009 $as_echo "$ac_cv_host" >&6; }
   4010 case $ac_cv_host in
   4011 *-*-*) ;;
   4012 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4013 esac
   4014 host=$ac_cv_host
   4015 ac_save_IFS=$IFS; IFS='-'
   4016 set x $ac_cv_host
   4017 shift
   4018 host_cpu=$1
   4019 host_vendor=$2
   4020 shift; shift
   4021 # Remember, the first character of IFS is used to create $*,
   4022 # except with old shells:
   4023 host_os=$*
   4024 IFS=$ac_save_IFS
   4025 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4026 
   4027 
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4030 if ${ac_cv_path_SED+:} false; then :
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4034      for ac_i in 1 2 3 4 5 6 7; do
   4035        ac_script="$ac_script$as_nl$ac_script"
   4036      done
   4037      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4038      { ac_script=; unset ac_script;}
   4039      if test -z "$SED"; then
   4040   ac_path_SED_found=false
   4041   # Loop through the user's path and test for each of PROGNAME-LIST
   4042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4043 for as_dir in $PATH
   4044 do
   4045   IFS=$as_save_IFS
   4046   test -z "$as_dir" && as_dir=.
   4047     for ac_prog in sed gsed; do
   4048     for ac_exec_ext in '' $ac_executable_extensions; do
   4049       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4050       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4051 # Check for GNU ac_path_SED and select it if it is found.
   4052   # Check for GNU $ac_path_SED
   4053 case `"$ac_path_SED" --version 2>&1` in
   4054 *GNU*)
   4055   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4056 *)
   4057   ac_count=0
   4058   $as_echo_n 0123456789 >"conftest.in"
   4059   while :
   4060   do
   4061     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4062     mv "conftest.tmp" "conftest.in"
   4063     cp "conftest.in" "conftest.nl"
   4064     $as_echo '' >> "conftest.nl"
   4065     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4066     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4067     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4068     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4069       # Best one so far, save it but keep looking for a better one
   4070       ac_cv_path_SED="$ac_path_SED"
   4071       ac_path_SED_max=$ac_count
   4072     fi
   4073     # 10*(2^10) chars as input seems more than enough
   4074     test $ac_count -gt 10 && break
   4075   done
   4076   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4077 esac
   4078 
   4079       $ac_path_SED_found && break 3
   4080     done
   4081   done
   4082   done
   4083 IFS=$as_save_IFS
   4084   if test -z "$ac_cv_path_SED"; then
   4085     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4086   fi
   4087 else
   4088   ac_cv_path_SED=$SED
   4089 fi
   4090 
   4091 fi
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4093 $as_echo "$ac_cv_path_SED" >&6; }
   4094  SED="$ac_cv_path_SED"
   4095   rm -f conftest.sed
   4096 
   4097 
   4098 
   4099 
   4100 
   4101 
   4102 # Check whether --enable-selective-werror was given.
   4103 if test "${enable_selective_werror+set}" = set; then :
   4104   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4105 else
   4106   SELECTIVE_WERROR=yes
   4107 fi
   4108 
   4109 
   4110 
   4111 
   4112 
   4113 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4114 if test "x$SUNCC" = "xyes"; then
   4115     BASE_CFLAGS="-v"
   4116 else
   4117     BASE_CFLAGS=""
   4118 fi
   4119 
   4120 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4121 
   4122 
   4123 
   4124 
   4125 
   4126 
   4127 
   4128 
   4129 
   4130 
   4131 
   4132 
   4133 
   4134 xorg_testset_save_CFLAGS="$CFLAGS"
   4135 
   4136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4139 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4140 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4141   $as_echo_n "(cached) " >&6
   4142 else
   4143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4144 /* end confdefs.h.  */
   4145 int i;
   4146 _ACEOF
   4147 if ac_fn_c_try_compile "$LINENO"; then :
   4148   xorg_cv_cc_flag_unknown_warning_option=yes
   4149 else
   4150   xorg_cv_cc_flag_unknown_warning_option=no
   4151 fi
   4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4153 fi
   4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4155 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4156 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4157 	CFLAGS="$xorg_testset_save_CFLAGS"
   4158 fi
   4159 
   4160 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4161 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4162 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4163 	fi
   4164 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4166 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4167 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4168   $as_echo_n "(cached) " >&6
   4169 else
   4170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4171 /* end confdefs.h.  */
   4172 int i;
   4173 _ACEOF
   4174 if ac_fn_c_try_compile "$LINENO"; then :
   4175   xorg_cv_cc_flag_unused_command_line_argument=yes
   4176 else
   4177   xorg_cv_cc_flag_unused_command_line_argument=no
   4178 fi
   4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4180 fi
   4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4182 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4184 	CFLAGS="$xorg_testset_save_CFLAGS"
   4185 fi
   4186 
   4187 found="no"
   4188 
   4189 	if test $found = "no" ; then
   4190 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4192 		fi
   4193 
   4194 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4196 		fi
   4197 
   4198 		CFLAGS="$CFLAGS -Wall"
   4199 
   4200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4201 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4202 		cacheid=xorg_cv_cc_flag__Wall
   4203 		if eval \${$cacheid+:} false; then :
   4204   $as_echo_n "(cached) " >&6
   4205 else
   4206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4207 /* end confdefs.h.  */
   4208 int i;
   4209 int
   4210 main ()
   4211 {
   4212 
   4213   ;
   4214   return 0;
   4215 }
   4216 _ACEOF
   4217 if ac_fn_c_try_link "$LINENO"; then :
   4218   eval $cacheid=yes
   4219 else
   4220   eval $cacheid=no
   4221 fi
   4222 rm -f core conftest.err conftest.$ac_objext \
   4223     conftest$ac_exeext conftest.$ac_ext
   4224 fi
   4225 
   4226 
   4227 		CFLAGS="$xorg_testset_save_CFLAGS"
   4228 
   4229 		eval supported=\$$cacheid
   4230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4231 $as_echo "$supported" >&6; }
   4232 		if test "$supported" = "yes" ; then
   4233 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4234 			found="yes"
   4235 		fi
   4236 	fi
   4237 
   4238 
   4239 
   4240 
   4241 
   4242 
   4243 
   4244 
   4245 
   4246 
   4247 
   4248 
   4249 
   4250 
   4251 
   4252 xorg_testset_save_CFLAGS="$CFLAGS"
   4253 
   4254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4256 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4257 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4258 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4259   $as_echo_n "(cached) " >&6
   4260 else
   4261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4262 /* end confdefs.h.  */
   4263 int i;
   4264 _ACEOF
   4265 if ac_fn_c_try_compile "$LINENO"; then :
   4266   xorg_cv_cc_flag_unknown_warning_option=yes
   4267 else
   4268   xorg_cv_cc_flag_unknown_warning_option=no
   4269 fi
   4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4271 fi
   4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4273 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4274 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4275 	CFLAGS="$xorg_testset_save_CFLAGS"
   4276 fi
   4277 
   4278 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4279 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4280 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4281 	fi
   4282 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4284 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4285 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4286   $as_echo_n "(cached) " >&6
   4287 else
   4288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4289 /* end confdefs.h.  */
   4290 int i;
   4291 _ACEOF
   4292 if ac_fn_c_try_compile "$LINENO"; then :
   4293   xorg_cv_cc_flag_unused_command_line_argument=yes
   4294 else
   4295   xorg_cv_cc_flag_unused_command_line_argument=no
   4296 fi
   4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4298 fi
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4300 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4302 	CFLAGS="$xorg_testset_save_CFLAGS"
   4303 fi
   4304 
   4305 found="no"
   4306 
   4307 	if test $found = "no" ; then
   4308 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4310 		fi
   4311 
   4312 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4314 		fi
   4315 
   4316 		CFLAGS="$CFLAGS -Wpointer-arith"
   4317 
   4318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4319 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4320 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4321 		if eval \${$cacheid+:} false; then :
   4322   $as_echo_n "(cached) " >&6
   4323 else
   4324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4325 /* end confdefs.h.  */
   4326 int i;
   4327 int
   4328 main ()
   4329 {
   4330 
   4331   ;
   4332   return 0;
   4333 }
   4334 _ACEOF
   4335 if ac_fn_c_try_link "$LINENO"; then :
   4336   eval $cacheid=yes
   4337 else
   4338   eval $cacheid=no
   4339 fi
   4340 rm -f core conftest.err conftest.$ac_objext \
   4341     conftest$ac_exeext conftest.$ac_ext
   4342 fi
   4343 
   4344 
   4345 		CFLAGS="$xorg_testset_save_CFLAGS"
   4346 
   4347 		eval supported=\$$cacheid
   4348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4349 $as_echo "$supported" >&6; }
   4350 		if test "$supported" = "yes" ; then
   4351 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4352 			found="yes"
   4353 		fi
   4354 	fi
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 xorg_testset_save_CFLAGS="$CFLAGS"
   4371 
   4372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4375 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4376 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4377   $as_echo_n "(cached) " >&6
   4378 else
   4379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4380 /* end confdefs.h.  */
   4381 int i;
   4382 _ACEOF
   4383 if ac_fn_c_try_compile "$LINENO"; then :
   4384   xorg_cv_cc_flag_unknown_warning_option=yes
   4385 else
   4386   xorg_cv_cc_flag_unknown_warning_option=no
   4387 fi
   4388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4389 fi
   4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4391 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4393 	CFLAGS="$xorg_testset_save_CFLAGS"
   4394 fi
   4395 
   4396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4399 	fi
   4400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4402 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4403 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4404   $as_echo_n "(cached) " >&6
   4405 else
   4406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4407 /* end confdefs.h.  */
   4408 int i;
   4409 _ACEOF
   4410 if ac_fn_c_try_compile "$LINENO"; then :
   4411   xorg_cv_cc_flag_unused_command_line_argument=yes
   4412 else
   4413   xorg_cv_cc_flag_unused_command_line_argument=no
   4414 fi
   4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4416 fi
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4418 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4420 	CFLAGS="$xorg_testset_save_CFLAGS"
   4421 fi
   4422 
   4423 found="no"
   4424 
   4425 	if test $found = "no" ; then
   4426 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4428 		fi
   4429 
   4430 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4432 		fi
   4433 
   4434 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4435 
   4436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4437 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4438 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4439 		if eval \${$cacheid+:} false; then :
   4440   $as_echo_n "(cached) " >&6
   4441 else
   4442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4443 /* end confdefs.h.  */
   4444 int i;
   4445 int
   4446 main ()
   4447 {
   4448 
   4449   ;
   4450   return 0;
   4451 }
   4452 _ACEOF
   4453 if ac_fn_c_try_link "$LINENO"; then :
   4454   eval $cacheid=yes
   4455 else
   4456   eval $cacheid=no
   4457 fi
   4458 rm -f core conftest.err conftest.$ac_objext \
   4459     conftest$ac_exeext conftest.$ac_ext
   4460 fi
   4461 
   4462 
   4463 		CFLAGS="$xorg_testset_save_CFLAGS"
   4464 
   4465 		eval supported=\$$cacheid
   4466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4467 $as_echo "$supported" >&6; }
   4468 		if test "$supported" = "yes" ; then
   4469 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   4470 			found="yes"
   4471 		fi
   4472 	fi
   4473 
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 
   4487 
   4488 xorg_testset_save_CFLAGS="$CFLAGS"
   4489 
   4490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4495   $as_echo_n "(cached) " >&6
   4496 else
   4497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4498 /* end confdefs.h.  */
   4499 int i;
   4500 _ACEOF
   4501 if ac_fn_c_try_compile "$LINENO"; then :
   4502   xorg_cv_cc_flag_unknown_warning_option=yes
   4503 else
   4504   xorg_cv_cc_flag_unknown_warning_option=no
   4505 fi
   4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4507 fi
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4511 	CFLAGS="$xorg_testset_save_CFLAGS"
   4512 fi
   4513 
   4514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4517 	fi
   4518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4522   $as_echo_n "(cached) " >&6
   4523 else
   4524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4525 /* end confdefs.h.  */
   4526 int i;
   4527 _ACEOF
   4528 if ac_fn_c_try_compile "$LINENO"; then :
   4529   xorg_cv_cc_flag_unused_command_line_argument=yes
   4530 else
   4531   xorg_cv_cc_flag_unused_command_line_argument=no
   4532 fi
   4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4534 fi
   4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4538 	CFLAGS="$xorg_testset_save_CFLAGS"
   4539 fi
   4540 
   4541 found="no"
   4542 
   4543 	if test $found = "no" ; then
   4544 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4546 		fi
   4547 
   4548 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4550 		fi
   4551 
   4552 		CFLAGS="$CFLAGS -Wformat=2"
   4553 
   4554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   4555 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   4556 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   4557 		if eval \${$cacheid+:} false; then :
   4558   $as_echo_n "(cached) " >&6
   4559 else
   4560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4561 /* end confdefs.h.  */
   4562 int i;
   4563 int
   4564 main ()
   4565 {
   4566 
   4567   ;
   4568   return 0;
   4569 }
   4570 _ACEOF
   4571 if ac_fn_c_try_link "$LINENO"; then :
   4572   eval $cacheid=yes
   4573 else
   4574   eval $cacheid=no
   4575 fi
   4576 rm -f core conftest.err conftest.$ac_objext \
   4577     conftest$ac_exeext conftest.$ac_ext
   4578 fi
   4579 
   4580 
   4581 		CFLAGS="$xorg_testset_save_CFLAGS"
   4582 
   4583 		eval supported=\$$cacheid
   4584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4585 $as_echo "$supported" >&6; }
   4586 		if test "$supported" = "yes" ; then
   4587 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   4588 			found="yes"
   4589 		fi
   4590 	fi
   4591 
   4592 	if test $found = "no" ; then
   4593 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4595 		fi
   4596 
   4597 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4599 		fi
   4600 
   4601 		CFLAGS="$CFLAGS -Wformat"
   4602 
   4603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   4604 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   4605 		cacheid=xorg_cv_cc_flag__Wformat
   4606 		if eval \${$cacheid+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4610 /* end confdefs.h.  */
   4611 int i;
   4612 int
   4613 main ()
   4614 {
   4615 
   4616   ;
   4617   return 0;
   4618 }
   4619 _ACEOF
   4620 if ac_fn_c_try_link "$LINENO"; then :
   4621   eval $cacheid=yes
   4622 else
   4623   eval $cacheid=no
   4624 fi
   4625 rm -f core conftest.err conftest.$ac_objext \
   4626     conftest$ac_exeext conftest.$ac_ext
   4627 fi
   4628 
   4629 
   4630 		CFLAGS="$xorg_testset_save_CFLAGS"
   4631 
   4632 		eval supported=\$$cacheid
   4633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4634 $as_echo "$supported" >&6; }
   4635 		if test "$supported" = "yes" ; then
   4636 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   4637 			found="yes"
   4638 		fi
   4639 	fi
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 
   4654 
   4655 
   4656 
   4657 xorg_testset_save_CFLAGS="$CFLAGS"
   4658 
   4659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4662 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4663 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4664   $as_echo_n "(cached) " >&6
   4665 else
   4666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4667 /* end confdefs.h.  */
   4668 int i;
   4669 _ACEOF
   4670 if ac_fn_c_try_compile "$LINENO"; then :
   4671   xorg_cv_cc_flag_unknown_warning_option=yes
   4672 else
   4673   xorg_cv_cc_flag_unknown_warning_option=no
   4674 fi
   4675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4676 fi
   4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4678 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4680 	CFLAGS="$xorg_testset_save_CFLAGS"
   4681 fi
   4682 
   4683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4686 	fi
   4687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4689 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4690 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4691   $as_echo_n "(cached) " >&6
   4692 else
   4693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4694 /* end confdefs.h.  */
   4695 int i;
   4696 _ACEOF
   4697 if ac_fn_c_try_compile "$LINENO"; then :
   4698   xorg_cv_cc_flag_unused_command_line_argument=yes
   4699 else
   4700   xorg_cv_cc_flag_unused_command_line_argument=no
   4701 fi
   4702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4703 fi
   4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4705 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4707 	CFLAGS="$xorg_testset_save_CFLAGS"
   4708 fi
   4709 
   4710 found="no"
   4711 
   4712 	if test $found = "no" ; then
   4713 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4715 		fi
   4716 
   4717 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4719 		fi
   4720 
   4721 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   4722 
   4723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   4724 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   4725 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   4726 		if eval \${$cacheid+:} false; then :
   4727   $as_echo_n "(cached) " >&6
   4728 else
   4729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4730 /* end confdefs.h.  */
   4731 int i;
   4732 int
   4733 main ()
   4734 {
   4735 
   4736   ;
   4737   return 0;
   4738 }
   4739 _ACEOF
   4740 if ac_fn_c_try_link "$LINENO"; then :
   4741   eval $cacheid=yes
   4742 else
   4743   eval $cacheid=no
   4744 fi
   4745 rm -f core conftest.err conftest.$ac_objext \
   4746     conftest$ac_exeext conftest.$ac_ext
   4747 fi
   4748 
   4749 
   4750 		CFLAGS="$xorg_testset_save_CFLAGS"
   4751 
   4752 		eval supported=\$$cacheid
   4753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4754 $as_echo "$supported" >&6; }
   4755 		if test "$supported" = "yes" ; then
   4756 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   4757 			found="yes"
   4758 		fi
   4759 	fi
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 xorg_testset_save_CFLAGS="$CFLAGS"
   4776 
   4777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4780 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4781 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4785 /* end confdefs.h.  */
   4786 int i;
   4787 _ACEOF
   4788 if ac_fn_c_try_compile "$LINENO"; then :
   4789   xorg_cv_cc_flag_unknown_warning_option=yes
   4790 else
   4791   xorg_cv_cc_flag_unknown_warning_option=no
   4792 fi
   4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4794 fi
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4796 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4798 	CFLAGS="$xorg_testset_save_CFLAGS"
   4799 fi
   4800 
   4801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4804 	fi
   4805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4807 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4808 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4809   $as_echo_n "(cached) " >&6
   4810 else
   4811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4812 /* end confdefs.h.  */
   4813 int i;
   4814 _ACEOF
   4815 if ac_fn_c_try_compile "$LINENO"; then :
   4816   xorg_cv_cc_flag_unused_command_line_argument=yes
   4817 else
   4818   xorg_cv_cc_flag_unused_command_line_argument=no
   4819 fi
   4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4821 fi
   4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4823 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4825 	CFLAGS="$xorg_testset_save_CFLAGS"
   4826 fi
   4827 
   4828 found="no"
   4829 
   4830 	if test $found = "no" ; then
   4831 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4833 		fi
   4834 
   4835 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4837 		fi
   4838 
   4839 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   4840 
   4841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   4842 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   4843 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   4844 		if eval \${$cacheid+:} false; then :
   4845   $as_echo_n "(cached) " >&6
   4846 else
   4847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4848 /* end confdefs.h.  */
   4849 int i;
   4850 int
   4851 main ()
   4852 {
   4853 
   4854   ;
   4855   return 0;
   4856 }
   4857 _ACEOF
   4858 if ac_fn_c_try_link "$LINENO"; then :
   4859   eval $cacheid=yes
   4860 else
   4861   eval $cacheid=no
   4862 fi
   4863 rm -f core conftest.err conftest.$ac_objext \
   4864     conftest$ac_exeext conftest.$ac_ext
   4865 fi
   4866 
   4867 
   4868 		CFLAGS="$xorg_testset_save_CFLAGS"
   4869 
   4870 		eval supported=\$$cacheid
   4871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4872 $as_echo "$supported" >&6; }
   4873 		if test "$supported" = "yes" ; then
   4874 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   4875 			found="yes"
   4876 		fi
   4877 	fi
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 xorg_testset_save_CFLAGS="$CFLAGS"
   4894 
   4895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4898 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4899 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4900   $as_echo_n "(cached) " >&6
   4901 else
   4902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4903 /* end confdefs.h.  */
   4904 int i;
   4905 _ACEOF
   4906 if ac_fn_c_try_compile "$LINENO"; then :
   4907   xorg_cv_cc_flag_unknown_warning_option=yes
   4908 else
   4909   xorg_cv_cc_flag_unknown_warning_option=no
   4910 fi
   4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4912 fi
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4914 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4916 	CFLAGS="$xorg_testset_save_CFLAGS"
   4917 fi
   4918 
   4919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4922 	fi
   4923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4925 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4926 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4927   $as_echo_n "(cached) " >&6
   4928 else
   4929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4930 /* end confdefs.h.  */
   4931 int i;
   4932 _ACEOF
   4933 if ac_fn_c_try_compile "$LINENO"; then :
   4934   xorg_cv_cc_flag_unused_command_line_argument=yes
   4935 else
   4936   xorg_cv_cc_flag_unused_command_line_argument=no
   4937 fi
   4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4939 fi
   4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4941 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4943 	CFLAGS="$xorg_testset_save_CFLAGS"
   4944 fi
   4945 
   4946 found="no"
   4947 
   4948 	if test $found = "no" ; then
   4949 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4951 		fi
   4952 
   4953 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4955 		fi
   4956 
   4957 		CFLAGS="$CFLAGS -Wnested-externs"
   4958 
   4959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   4960 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   4961 		cacheid=xorg_cv_cc_flag__Wnested_externs
   4962 		if eval \${$cacheid+:} false; then :
   4963   $as_echo_n "(cached) " >&6
   4964 else
   4965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4966 /* end confdefs.h.  */
   4967 int i;
   4968 int
   4969 main ()
   4970 {
   4971 
   4972   ;
   4973   return 0;
   4974 }
   4975 _ACEOF
   4976 if ac_fn_c_try_link "$LINENO"; then :
   4977   eval $cacheid=yes
   4978 else
   4979   eval $cacheid=no
   4980 fi
   4981 rm -f core conftest.err conftest.$ac_objext \
   4982     conftest$ac_exeext conftest.$ac_ext
   4983 fi
   4984 
   4985 
   4986 		CFLAGS="$xorg_testset_save_CFLAGS"
   4987 
   4988 		eval supported=\$$cacheid
   4989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4990 $as_echo "$supported" >&6; }
   4991 		if test "$supported" = "yes" ; then
   4992 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   4993 			found="yes"
   4994 		fi
   4995 	fi
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 xorg_testset_save_CFLAGS="$CFLAGS"
   5012 
   5013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5021 /* end confdefs.h.  */
   5022 int i;
   5023 _ACEOF
   5024 if ac_fn_c_try_compile "$LINENO"; then :
   5025   xorg_cv_cc_flag_unknown_warning_option=yes
   5026 else
   5027   xorg_cv_cc_flag_unknown_warning_option=no
   5028 fi
   5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5030 fi
   5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5034 	CFLAGS="$xorg_testset_save_CFLAGS"
   5035 fi
   5036 
   5037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5040 	fi
   5041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5045   $as_echo_n "(cached) " >&6
   5046 else
   5047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5048 /* end confdefs.h.  */
   5049 int i;
   5050 _ACEOF
   5051 if ac_fn_c_try_compile "$LINENO"; then :
   5052   xorg_cv_cc_flag_unused_command_line_argument=yes
   5053 else
   5054   xorg_cv_cc_flag_unused_command_line_argument=no
   5055 fi
   5056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5057 fi
   5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5061 	CFLAGS="$xorg_testset_save_CFLAGS"
   5062 fi
   5063 
   5064 found="no"
   5065 
   5066 	if test $found = "no" ; then
   5067 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5069 		fi
   5070 
   5071 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5073 		fi
   5074 
   5075 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5076 
   5077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5078 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5079 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5080 		if eval \${$cacheid+:} false; then :
   5081   $as_echo_n "(cached) " >&6
   5082 else
   5083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5084 /* end confdefs.h.  */
   5085 int i;
   5086 int
   5087 main ()
   5088 {
   5089 
   5090   ;
   5091   return 0;
   5092 }
   5093 _ACEOF
   5094 if ac_fn_c_try_link "$LINENO"; then :
   5095   eval $cacheid=yes
   5096 else
   5097   eval $cacheid=no
   5098 fi
   5099 rm -f core conftest.err conftest.$ac_objext \
   5100     conftest$ac_exeext conftest.$ac_ext
   5101 fi
   5102 
   5103 
   5104 		CFLAGS="$xorg_testset_save_CFLAGS"
   5105 
   5106 		eval supported=\$$cacheid
   5107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5108 $as_echo "$supported" >&6; }
   5109 		if test "$supported" = "yes" ; then
   5110 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5111 			found="yes"
   5112 		fi
   5113 	fi
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 xorg_testset_save_CFLAGS="$CFLAGS"
   5130 
   5131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5134 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5135 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5136   $as_echo_n "(cached) " >&6
   5137 else
   5138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5139 /* end confdefs.h.  */
   5140 int i;
   5141 _ACEOF
   5142 if ac_fn_c_try_compile "$LINENO"; then :
   5143   xorg_cv_cc_flag_unknown_warning_option=yes
   5144 else
   5145   xorg_cv_cc_flag_unknown_warning_option=no
   5146 fi
   5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5148 fi
   5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5150 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5152 	CFLAGS="$xorg_testset_save_CFLAGS"
   5153 fi
   5154 
   5155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5158 	fi
   5159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5161 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5162 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5163   $as_echo_n "(cached) " >&6
   5164 else
   5165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5166 /* end confdefs.h.  */
   5167 int i;
   5168 _ACEOF
   5169 if ac_fn_c_try_compile "$LINENO"; then :
   5170   xorg_cv_cc_flag_unused_command_line_argument=yes
   5171 else
   5172   xorg_cv_cc_flag_unused_command_line_argument=no
   5173 fi
   5174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5175 fi
   5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5177 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5178 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5179 	CFLAGS="$xorg_testset_save_CFLAGS"
   5180 fi
   5181 
   5182 found="no"
   5183 
   5184 	if test $found = "no" ; then
   5185 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5186 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5187 		fi
   5188 
   5189 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5190 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5191 		fi
   5192 
   5193 		CFLAGS="$CFLAGS -Wold-style-definition"
   5194 
   5195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5196 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5197 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5198 		if eval \${$cacheid+:} false; then :
   5199   $as_echo_n "(cached) " >&6
   5200 else
   5201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5202 /* end confdefs.h.  */
   5203 int i;
   5204 int
   5205 main ()
   5206 {
   5207 
   5208   ;
   5209   return 0;
   5210 }
   5211 _ACEOF
   5212 if ac_fn_c_try_link "$LINENO"; then :
   5213   eval $cacheid=yes
   5214 else
   5215   eval $cacheid=no
   5216 fi
   5217 rm -f core conftest.err conftest.$ac_objext \
   5218     conftest$ac_exeext conftest.$ac_ext
   5219 fi
   5220 
   5221 
   5222 		CFLAGS="$xorg_testset_save_CFLAGS"
   5223 
   5224 		eval supported=\$$cacheid
   5225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5226 $as_echo "$supported" >&6; }
   5227 		if test "$supported" = "yes" ; then
   5228 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5229 			found="yes"
   5230 		fi
   5231 	fi
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 xorg_testset_save_CFLAGS="$CFLAGS"
   5248 
   5249 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5250 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5252 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5253 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5254   $as_echo_n "(cached) " >&6
   5255 else
   5256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5257 /* end confdefs.h.  */
   5258 int i;
   5259 _ACEOF
   5260 if ac_fn_c_try_compile "$LINENO"; then :
   5261   xorg_cv_cc_flag_unknown_warning_option=yes
   5262 else
   5263   xorg_cv_cc_flag_unknown_warning_option=no
   5264 fi
   5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5266 fi
   5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5268 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5270 	CFLAGS="$xorg_testset_save_CFLAGS"
   5271 fi
   5272 
   5273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5276 	fi
   5277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5279 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5280 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5281   $as_echo_n "(cached) " >&6
   5282 else
   5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5284 /* end confdefs.h.  */
   5285 int i;
   5286 _ACEOF
   5287 if ac_fn_c_try_compile "$LINENO"; then :
   5288   xorg_cv_cc_flag_unused_command_line_argument=yes
   5289 else
   5290   xorg_cv_cc_flag_unused_command_line_argument=no
   5291 fi
   5292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5293 fi
   5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5295 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5297 	CFLAGS="$xorg_testset_save_CFLAGS"
   5298 fi
   5299 
   5300 found="no"
   5301 
   5302 	if test $found = "no" ; then
   5303 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5305 		fi
   5306 
   5307 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5309 		fi
   5310 
   5311 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5312 
   5313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5314 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5315 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5316 		if eval \${$cacheid+:} false; then :
   5317   $as_echo_n "(cached) " >&6
   5318 else
   5319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5320 /* end confdefs.h.  */
   5321 int i;
   5322 int
   5323 main ()
   5324 {
   5325 
   5326   ;
   5327   return 0;
   5328 }
   5329 _ACEOF
   5330 if ac_fn_c_try_link "$LINENO"; then :
   5331   eval $cacheid=yes
   5332 else
   5333   eval $cacheid=no
   5334 fi
   5335 rm -f core conftest.err conftest.$ac_objext \
   5336     conftest$ac_exeext conftest.$ac_ext
   5337 fi
   5338 
   5339 
   5340 		CFLAGS="$xorg_testset_save_CFLAGS"
   5341 
   5342 		eval supported=\$$cacheid
   5343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5344 $as_echo "$supported" >&6; }
   5345 		if test "$supported" = "yes" ; then
   5346 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5347 			found="yes"
   5348 		fi
   5349 	fi
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 # This chunk adds additional warnings that could catch undesired effects.
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 xorg_testset_save_CFLAGS="$CFLAGS"
   5370 
   5371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5374 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5375 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5376   $as_echo_n "(cached) " >&6
   5377 else
   5378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5379 /* end confdefs.h.  */
   5380 int i;
   5381 _ACEOF
   5382 if ac_fn_c_try_compile "$LINENO"; then :
   5383   xorg_cv_cc_flag_unknown_warning_option=yes
   5384 else
   5385   xorg_cv_cc_flag_unknown_warning_option=no
   5386 fi
   5387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5388 fi
   5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5390 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5392 	CFLAGS="$xorg_testset_save_CFLAGS"
   5393 fi
   5394 
   5395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5398 	fi
   5399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5401 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5402 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5403   $as_echo_n "(cached) " >&6
   5404 else
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"; then :
   5410   xorg_cv_cc_flag_unused_command_line_argument=yes
   5411 else
   5412   xorg_cv_cc_flag_unused_command_line_argument=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5415 fi
   5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5417 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 found="no"
   5423 
   5424 	if test $found = "no" ; then
   5425 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5427 		fi
   5428 
   5429 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5431 		fi
   5432 
   5433 		CFLAGS="$CFLAGS -Wunused"
   5434 
   5435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5436 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5437 		cacheid=xorg_cv_cc_flag__Wunused
   5438 		if eval \${$cacheid+:} false; then :
   5439   $as_echo_n "(cached) " >&6
   5440 else
   5441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5442 /* end confdefs.h.  */
   5443 int i;
   5444 int
   5445 main ()
   5446 {
   5447 
   5448   ;
   5449   return 0;
   5450 }
   5451 _ACEOF
   5452 if ac_fn_c_try_link "$LINENO"; then :
   5453   eval $cacheid=yes
   5454 else
   5455   eval $cacheid=no
   5456 fi
   5457 rm -f core conftest.err conftest.$ac_objext \
   5458     conftest$ac_exeext conftest.$ac_ext
   5459 fi
   5460 
   5461 
   5462 		CFLAGS="$xorg_testset_save_CFLAGS"
   5463 
   5464 		eval supported=\$$cacheid
   5465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5466 $as_echo "$supported" >&6; }
   5467 		if test "$supported" = "yes" ; then
   5468 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5469 			found="yes"
   5470 		fi
   5471 	fi
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 xorg_testset_save_CFLAGS="$CFLAGS"
   5488 
   5489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5494   $as_echo_n "(cached) " >&6
   5495 else
   5496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5497 /* end confdefs.h.  */
   5498 int i;
   5499 _ACEOF
   5500 if ac_fn_c_try_compile "$LINENO"; then :
   5501   xorg_cv_cc_flag_unknown_warning_option=yes
   5502 else
   5503   xorg_cv_cc_flag_unknown_warning_option=no
   5504 fi
   5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5506 fi
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5510 	CFLAGS="$xorg_testset_save_CFLAGS"
   5511 fi
   5512 
   5513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5516 	fi
   5517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"; then :
   5528   xorg_cv_cc_flag_unused_command_line_argument=yes
   5529 else
   5530   xorg_cv_cc_flag_unused_command_line_argument=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5533 fi
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5537 	CFLAGS="$xorg_testset_save_CFLAGS"
   5538 fi
   5539 
   5540 found="no"
   5541 
   5542 	if test $found = "no" ; then
   5543 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5545 		fi
   5546 
   5547 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5549 		fi
   5550 
   5551 		CFLAGS="$CFLAGS -Wuninitialized"
   5552 
   5553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5554 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5555 		cacheid=xorg_cv_cc_flag__Wuninitialized
   5556 		if eval \${$cacheid+:} false; then :
   5557   $as_echo_n "(cached) " >&6
   5558 else
   5559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5560 /* end confdefs.h.  */
   5561 int i;
   5562 int
   5563 main ()
   5564 {
   5565 
   5566   ;
   5567   return 0;
   5568 }
   5569 _ACEOF
   5570 if ac_fn_c_try_link "$LINENO"; then :
   5571   eval $cacheid=yes
   5572 else
   5573   eval $cacheid=no
   5574 fi
   5575 rm -f core conftest.err conftest.$ac_objext \
   5576     conftest$ac_exeext conftest.$ac_ext
   5577 fi
   5578 
   5579 
   5580 		CFLAGS="$xorg_testset_save_CFLAGS"
   5581 
   5582 		eval supported=\$$cacheid
   5583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5584 $as_echo "$supported" >&6; }
   5585 		if test "$supported" = "yes" ; then
   5586 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5587 			found="yes"
   5588 		fi
   5589 	fi
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 xorg_testset_save_CFLAGS="$CFLAGS"
   5606 
   5607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5612   $as_echo_n "(cached) " >&6
   5613 else
   5614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5615 /* end confdefs.h.  */
   5616 int i;
   5617 _ACEOF
   5618 if ac_fn_c_try_compile "$LINENO"; then :
   5619   xorg_cv_cc_flag_unknown_warning_option=yes
   5620 else
   5621   xorg_cv_cc_flag_unknown_warning_option=no
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5624 fi
   5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5628 	CFLAGS="$xorg_testset_save_CFLAGS"
   5629 fi
   5630 
   5631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5634 	fi
   5635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5642 /* end confdefs.h.  */
   5643 int i;
   5644 _ACEOF
   5645 if ac_fn_c_try_compile "$LINENO"; then :
   5646   xorg_cv_cc_flag_unused_command_line_argument=yes
   5647 else
   5648   xorg_cv_cc_flag_unused_command_line_argument=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5651 fi
   5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5655 	CFLAGS="$xorg_testset_save_CFLAGS"
   5656 fi
   5657 
   5658 found="no"
   5659 
   5660 	if test $found = "no" ; then
   5661 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5663 		fi
   5664 
   5665 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5667 		fi
   5668 
   5669 		CFLAGS="$CFLAGS -Wshadow"
   5670 
   5671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   5672 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   5673 		cacheid=xorg_cv_cc_flag__Wshadow
   5674 		if eval \${$cacheid+:} false; then :
   5675   $as_echo_n "(cached) " >&6
   5676 else
   5677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5678 /* end confdefs.h.  */
   5679 int i;
   5680 int
   5681 main ()
   5682 {
   5683 
   5684   ;
   5685   return 0;
   5686 }
   5687 _ACEOF
   5688 if ac_fn_c_try_link "$LINENO"; then :
   5689   eval $cacheid=yes
   5690 else
   5691   eval $cacheid=no
   5692 fi
   5693 rm -f core conftest.err conftest.$ac_objext \
   5694     conftest$ac_exeext conftest.$ac_ext
   5695 fi
   5696 
   5697 
   5698 		CFLAGS="$xorg_testset_save_CFLAGS"
   5699 
   5700 		eval supported=\$$cacheid
   5701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5702 $as_echo "$supported" >&6; }
   5703 		if test "$supported" = "yes" ; then
   5704 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   5705 			found="yes"
   5706 		fi
   5707 	fi
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 xorg_testset_save_CFLAGS="$CFLAGS"
   5724 
   5725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5730   $as_echo_n "(cached) " >&6
   5731 else
   5732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5733 /* end confdefs.h.  */
   5734 int i;
   5735 _ACEOF
   5736 if ac_fn_c_try_compile "$LINENO"; then :
   5737   xorg_cv_cc_flag_unknown_warning_option=yes
   5738 else
   5739   xorg_cv_cc_flag_unknown_warning_option=no
   5740 fi
   5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5742 fi
   5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5746 	CFLAGS="$xorg_testset_save_CFLAGS"
   5747 fi
   5748 
   5749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5752 	fi
   5753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"; then :
   5764   xorg_cv_cc_flag_unused_command_line_argument=yes
   5765 else
   5766   xorg_cv_cc_flag_unused_command_line_argument=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 fi
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5773 	CFLAGS="$xorg_testset_save_CFLAGS"
   5774 fi
   5775 
   5776 found="no"
   5777 
   5778 	if test $found = "no" ; then
   5779 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5781 		fi
   5782 
   5783 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5785 		fi
   5786 
   5787 		CFLAGS="$CFLAGS -Wcast-qual"
   5788 
   5789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   5790 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   5791 		cacheid=xorg_cv_cc_flag__Wcast_qual
   5792 		if eval \${$cacheid+:} false; then :
   5793   $as_echo_n "(cached) " >&6
   5794 else
   5795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5796 /* end confdefs.h.  */
   5797 int i;
   5798 int
   5799 main ()
   5800 {
   5801 
   5802   ;
   5803   return 0;
   5804 }
   5805 _ACEOF
   5806 if ac_fn_c_try_link "$LINENO"; then :
   5807   eval $cacheid=yes
   5808 else
   5809   eval $cacheid=no
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext \
   5812     conftest$ac_exeext conftest.$ac_ext
   5813 fi
   5814 
   5815 
   5816 		CFLAGS="$xorg_testset_save_CFLAGS"
   5817 
   5818 		eval supported=\$$cacheid
   5819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5820 $as_echo "$supported" >&6; }
   5821 		if test "$supported" = "yes" ; then
   5822 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   5823 			found="yes"
   5824 		fi
   5825 	fi
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 xorg_testset_save_CFLAGS="$CFLAGS"
   5842 
   5843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5851 /* end confdefs.h.  */
   5852 int i;
   5853 _ACEOF
   5854 if ac_fn_c_try_compile "$LINENO"; then :
   5855   xorg_cv_cc_flag_unknown_warning_option=yes
   5856 else
   5857   xorg_cv_cc_flag_unknown_warning_option=no
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5860 fi
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5864 	CFLAGS="$xorg_testset_save_CFLAGS"
   5865 fi
   5866 
   5867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5870 	fi
   5871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 _ACEOF
   5881 if ac_fn_c_try_compile "$LINENO"; then :
   5882   xorg_cv_cc_flag_unused_command_line_argument=yes
   5883 else
   5884   xorg_cv_cc_flag_unused_command_line_argument=no
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5887 fi
   5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5891 	CFLAGS="$xorg_testset_save_CFLAGS"
   5892 fi
   5893 
   5894 found="no"
   5895 
   5896 	if test $found = "no" ; then
   5897 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5899 		fi
   5900 
   5901 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5903 		fi
   5904 
   5905 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   5906 
   5907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   5908 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   5909 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   5910 		if eval \${$cacheid+:} false; then :
   5911   $as_echo_n "(cached) " >&6
   5912 else
   5913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5914 /* end confdefs.h.  */
   5915 int i;
   5916 int
   5917 main ()
   5918 {
   5919 
   5920   ;
   5921   return 0;
   5922 }
   5923 _ACEOF
   5924 if ac_fn_c_try_link "$LINENO"; then :
   5925   eval $cacheid=yes
   5926 else
   5927   eval $cacheid=no
   5928 fi
   5929 rm -f core conftest.err conftest.$ac_objext \
   5930     conftest$ac_exeext conftest.$ac_ext
   5931 fi
   5932 
   5933 
   5934 		CFLAGS="$xorg_testset_save_CFLAGS"
   5935 
   5936 		eval supported=\$$cacheid
   5937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5938 $as_echo "$supported" >&6; }
   5939 		if test "$supported" = "yes" ; then
   5940 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   5941 			found="yes"
   5942 		fi
   5943 	fi
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 xorg_testset_save_CFLAGS="$CFLAGS"
   5960 
   5961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5966   $as_echo_n "(cached) " >&6
   5967 else
   5968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 _ACEOF
   5972 if ac_fn_c_try_compile "$LINENO"; then :
   5973   xorg_cv_cc_flag_unknown_warning_option=yes
   5974 else
   5975   xorg_cv_cc_flag_unknown_warning_option=no
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5978 fi
   5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5982 	CFLAGS="$xorg_testset_save_CFLAGS"
   5983 fi
   5984 
   5985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5988 	fi
   5989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5993   $as_echo_n "(cached) " >&6
   5994 else
   5995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5996 /* end confdefs.h.  */
   5997 int i;
   5998 _ACEOF
   5999 if ac_fn_c_try_compile "$LINENO"; then :
   6000   xorg_cv_cc_flag_unused_command_line_argument=yes
   6001 else
   6002   xorg_cv_cc_flag_unused_command_line_argument=no
   6003 fi
   6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6005 fi
   6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6009 	CFLAGS="$xorg_testset_save_CFLAGS"
   6010 fi
   6011 
   6012 found="no"
   6013 
   6014 	if test $found = "no" ; then
   6015 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6017 		fi
   6018 
   6019 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6021 		fi
   6022 
   6023 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6024 
   6025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6026 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6027 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6028 		if eval \${$cacheid+:} false; then :
   6029   $as_echo_n "(cached) " >&6
   6030 else
   6031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6032 /* end confdefs.h.  */
   6033 int i;
   6034 int
   6035 main ()
   6036 {
   6037 
   6038   ;
   6039   return 0;
   6040 }
   6041 _ACEOF
   6042 if ac_fn_c_try_link "$LINENO"; then :
   6043   eval $cacheid=yes
   6044 else
   6045   eval $cacheid=no
   6046 fi
   6047 rm -f core conftest.err conftest.$ac_objext \
   6048     conftest$ac_exeext conftest.$ac_ext
   6049 fi
   6050 
   6051 
   6052 		CFLAGS="$xorg_testset_save_CFLAGS"
   6053 
   6054 		eval supported=\$$cacheid
   6055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6056 $as_echo "$supported" >&6; }
   6057 		if test "$supported" = "yes" ; then
   6058 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6059 			found="yes"
   6060 		fi
   6061 	fi
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 xorg_testset_save_CFLAGS="$CFLAGS"
   6078 
   6079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6084   $as_echo_n "(cached) " >&6
   6085 else
   6086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6087 /* end confdefs.h.  */
   6088 int i;
   6089 _ACEOF
   6090 if ac_fn_c_try_compile "$LINENO"; then :
   6091   xorg_cv_cc_flag_unknown_warning_option=yes
   6092 else
   6093   xorg_cv_cc_flag_unknown_warning_option=no
   6094 fi
   6095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6096 fi
   6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6100 	CFLAGS="$xorg_testset_save_CFLAGS"
   6101 fi
   6102 
   6103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6106 	fi
   6107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6111   $as_echo_n "(cached) " >&6
   6112 else
   6113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6114 /* end confdefs.h.  */
   6115 int i;
   6116 _ACEOF
   6117 if ac_fn_c_try_compile "$LINENO"; then :
   6118   xorg_cv_cc_flag_unused_command_line_argument=yes
   6119 else
   6120   xorg_cv_cc_flag_unused_command_line_argument=no
   6121 fi
   6122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6123 fi
   6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6127 	CFLAGS="$xorg_testset_save_CFLAGS"
   6128 fi
   6129 
   6130 found="no"
   6131 
   6132 	if test $found = "no" ; then
   6133 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6135 		fi
   6136 
   6137 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6139 		fi
   6140 
   6141 		CFLAGS="$CFLAGS -Wredundant-decls"
   6142 
   6143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6144 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6145 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6146 		if eval \${$cacheid+:} false; then :
   6147   $as_echo_n "(cached) " >&6
   6148 else
   6149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6150 /* end confdefs.h.  */
   6151 int i;
   6152 int
   6153 main ()
   6154 {
   6155 
   6156   ;
   6157   return 0;
   6158 }
   6159 _ACEOF
   6160 if ac_fn_c_try_link "$LINENO"; then :
   6161   eval $cacheid=yes
   6162 else
   6163   eval $cacheid=no
   6164 fi
   6165 rm -f core conftest.err conftest.$ac_objext \
   6166     conftest$ac_exeext conftest.$ac_ext
   6167 fi
   6168 
   6169 
   6170 		CFLAGS="$xorg_testset_save_CFLAGS"
   6171 
   6172 		eval supported=\$$cacheid
   6173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6174 $as_echo "$supported" >&6; }
   6175 		if test "$supported" = "yes" ; then
   6176 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6177 			found="yes"
   6178 		fi
   6179 	fi
   6180 
   6181 
   6182 
   6183 # These are currently disabled because they are noisy.  They will be enabled
   6184 # in the future once the codebase is sufficiently modernized to silence
   6185 # them.  For now, I don't want them to drown out the other warnings.
   6186 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6187 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6188 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6189 
   6190 # Turn some warnings into errors, so we don't accidently get successful builds
   6191 # when there are problems that should be fixed.
   6192 
   6193 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 xorg_testset_save_CFLAGS="$CFLAGS"
   6208 
   6209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6212 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6213 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6217 /* end confdefs.h.  */
   6218 int i;
   6219 _ACEOF
   6220 if ac_fn_c_try_compile "$LINENO"; then :
   6221   xorg_cv_cc_flag_unknown_warning_option=yes
   6222 else
   6223   xorg_cv_cc_flag_unknown_warning_option=no
   6224 fi
   6225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6226 fi
   6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6228 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6230 	CFLAGS="$xorg_testset_save_CFLAGS"
   6231 fi
   6232 
   6233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6236 	fi
   6237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6239 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6240 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6241   $as_echo_n "(cached) " >&6
   6242 else
   6243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6244 /* end confdefs.h.  */
   6245 int i;
   6246 _ACEOF
   6247 if ac_fn_c_try_compile "$LINENO"; then :
   6248   xorg_cv_cc_flag_unused_command_line_argument=yes
   6249 else
   6250   xorg_cv_cc_flag_unused_command_line_argument=no
   6251 fi
   6252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6253 fi
   6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6255 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6257 	CFLAGS="$xorg_testset_save_CFLAGS"
   6258 fi
   6259 
   6260 found="no"
   6261 
   6262 	if test $found = "no" ; then
   6263 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6265 		fi
   6266 
   6267 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6269 		fi
   6270 
   6271 		CFLAGS="$CFLAGS -Werror=implicit"
   6272 
   6273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6274 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6275 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6276 		if eval \${$cacheid+:} false; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6280 /* end confdefs.h.  */
   6281 int i;
   6282 int
   6283 main ()
   6284 {
   6285 
   6286   ;
   6287   return 0;
   6288 }
   6289 _ACEOF
   6290 if ac_fn_c_try_link "$LINENO"; then :
   6291   eval $cacheid=yes
   6292 else
   6293   eval $cacheid=no
   6294 fi
   6295 rm -f core conftest.err conftest.$ac_objext \
   6296     conftest$ac_exeext conftest.$ac_ext
   6297 fi
   6298 
   6299 
   6300 		CFLAGS="$xorg_testset_save_CFLAGS"
   6301 
   6302 		eval supported=\$$cacheid
   6303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6304 $as_echo "$supported" >&6; }
   6305 		if test "$supported" = "yes" ; then
   6306 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6307 			found="yes"
   6308 		fi
   6309 	fi
   6310 
   6311 	if test $found = "no" ; then
   6312 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6314 		fi
   6315 
   6316 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6318 		fi
   6319 
   6320 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6321 
   6322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6323 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6324 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6325 		if eval \${$cacheid+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 int
   6332 main ()
   6333 {
   6334 
   6335   ;
   6336   return 0;
   6337 }
   6338 _ACEOF
   6339 if ac_fn_c_try_link "$LINENO"; then :
   6340   eval $cacheid=yes
   6341 else
   6342   eval $cacheid=no
   6343 fi
   6344 rm -f core conftest.err conftest.$ac_objext \
   6345     conftest$ac_exeext conftest.$ac_ext
   6346 fi
   6347 
   6348 
   6349 		CFLAGS="$xorg_testset_save_CFLAGS"
   6350 
   6351 		eval supported=\$$cacheid
   6352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6353 $as_echo "$supported" >&6; }
   6354 		if test "$supported" = "yes" ; then
   6355 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6356 			found="yes"
   6357 		fi
   6358 	fi
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 xorg_testset_save_CFLAGS="$CFLAGS"
   6375 
   6376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6379 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6380 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6381   $as_echo_n "(cached) " >&6
   6382 else
   6383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6384 /* end confdefs.h.  */
   6385 int i;
   6386 _ACEOF
   6387 if ac_fn_c_try_compile "$LINENO"; then :
   6388   xorg_cv_cc_flag_unknown_warning_option=yes
   6389 else
   6390   xorg_cv_cc_flag_unknown_warning_option=no
   6391 fi
   6392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6393 fi
   6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6395 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6397 	CFLAGS="$xorg_testset_save_CFLAGS"
   6398 fi
   6399 
   6400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6403 	fi
   6404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6406 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6407 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6408   $as_echo_n "(cached) " >&6
   6409 else
   6410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6411 /* end confdefs.h.  */
   6412 int i;
   6413 _ACEOF
   6414 if ac_fn_c_try_compile "$LINENO"; then :
   6415   xorg_cv_cc_flag_unused_command_line_argument=yes
   6416 else
   6417   xorg_cv_cc_flag_unused_command_line_argument=no
   6418 fi
   6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6420 fi
   6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6422 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6424 	CFLAGS="$xorg_testset_save_CFLAGS"
   6425 fi
   6426 
   6427 found="no"
   6428 
   6429 	if test $found = "no" ; then
   6430 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6432 		fi
   6433 
   6434 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6436 		fi
   6437 
   6438 		CFLAGS="$CFLAGS -Werror=nonnull"
   6439 
   6440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6441 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6442 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   6443 		if eval \${$cacheid+:} false; then :
   6444   $as_echo_n "(cached) " >&6
   6445 else
   6446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6447 /* end confdefs.h.  */
   6448 int i;
   6449 int
   6450 main ()
   6451 {
   6452 
   6453   ;
   6454   return 0;
   6455 }
   6456 _ACEOF
   6457 if ac_fn_c_try_link "$LINENO"; then :
   6458   eval $cacheid=yes
   6459 else
   6460   eval $cacheid=no
   6461 fi
   6462 rm -f core conftest.err conftest.$ac_objext \
   6463     conftest$ac_exeext conftest.$ac_ext
   6464 fi
   6465 
   6466 
   6467 		CFLAGS="$xorg_testset_save_CFLAGS"
   6468 
   6469 		eval supported=\$$cacheid
   6470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6471 $as_echo "$supported" >&6; }
   6472 		if test "$supported" = "yes" ; then
   6473 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6474 			found="yes"
   6475 		fi
   6476 	fi
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 xorg_testset_save_CFLAGS="$CFLAGS"
   6493 
   6494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6497 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6498 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6499   $as_echo_n "(cached) " >&6
   6500 else
   6501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6502 /* end confdefs.h.  */
   6503 int i;
   6504 _ACEOF
   6505 if ac_fn_c_try_compile "$LINENO"; then :
   6506   xorg_cv_cc_flag_unknown_warning_option=yes
   6507 else
   6508   xorg_cv_cc_flag_unknown_warning_option=no
   6509 fi
   6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6511 fi
   6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6513 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6515 	CFLAGS="$xorg_testset_save_CFLAGS"
   6516 fi
   6517 
   6518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6521 	fi
   6522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6523 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6524 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6525 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6526   $as_echo_n "(cached) " >&6
   6527 else
   6528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6529 /* end confdefs.h.  */
   6530 int i;
   6531 _ACEOF
   6532 if ac_fn_c_try_compile "$LINENO"; then :
   6533   xorg_cv_cc_flag_unused_command_line_argument=yes
   6534 else
   6535   xorg_cv_cc_flag_unused_command_line_argument=no
   6536 fi
   6537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6538 fi
   6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6540 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6542 	CFLAGS="$xorg_testset_save_CFLAGS"
   6543 fi
   6544 
   6545 found="no"
   6546 
   6547 	if test $found = "no" ; then
   6548 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6550 		fi
   6551 
   6552 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6554 		fi
   6555 
   6556 		CFLAGS="$CFLAGS -Werror=init-self"
   6557 
   6558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6559 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6560 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   6561 		if eval \${$cacheid+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 int
   6568 main ()
   6569 {
   6570 
   6571   ;
   6572   return 0;
   6573 }
   6574 _ACEOF
   6575 if ac_fn_c_try_link "$LINENO"; then :
   6576   eval $cacheid=yes
   6577 else
   6578   eval $cacheid=no
   6579 fi
   6580 rm -f core conftest.err conftest.$ac_objext \
   6581     conftest$ac_exeext conftest.$ac_ext
   6582 fi
   6583 
   6584 
   6585 		CFLAGS="$xorg_testset_save_CFLAGS"
   6586 
   6587 		eval supported=\$$cacheid
   6588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6589 $as_echo "$supported" >&6; }
   6590 		if test "$supported" = "yes" ; then
   6591 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6592 			found="yes"
   6593 		fi
   6594 	fi
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 xorg_testset_save_CFLAGS="$CFLAGS"
   6611 
   6612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6615 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6616 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6620 /* end confdefs.h.  */
   6621 int i;
   6622 _ACEOF
   6623 if ac_fn_c_try_compile "$LINENO"; then :
   6624   xorg_cv_cc_flag_unknown_warning_option=yes
   6625 else
   6626   xorg_cv_cc_flag_unknown_warning_option=no
   6627 fi
   6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6629 fi
   6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6631 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6633 	CFLAGS="$xorg_testset_save_CFLAGS"
   6634 fi
   6635 
   6636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6639 	fi
   6640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6642 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6643 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6644   $as_echo_n "(cached) " >&6
   6645 else
   6646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6647 /* end confdefs.h.  */
   6648 int i;
   6649 _ACEOF
   6650 if ac_fn_c_try_compile "$LINENO"; then :
   6651   xorg_cv_cc_flag_unused_command_line_argument=yes
   6652 else
   6653   xorg_cv_cc_flag_unused_command_line_argument=no
   6654 fi
   6655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6656 fi
   6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6658 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6659 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6660 	CFLAGS="$xorg_testset_save_CFLAGS"
   6661 fi
   6662 
   6663 found="no"
   6664 
   6665 	if test $found = "no" ; then
   6666 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6668 		fi
   6669 
   6670 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6672 		fi
   6673 
   6674 		CFLAGS="$CFLAGS -Werror=main"
   6675 
   6676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   6677 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   6678 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   6679 		if eval \${$cacheid+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 int
   6686 main ()
   6687 {
   6688 
   6689   ;
   6690   return 0;
   6691 }
   6692 _ACEOF
   6693 if ac_fn_c_try_link "$LINENO"; then :
   6694   eval $cacheid=yes
   6695 else
   6696   eval $cacheid=no
   6697 fi
   6698 rm -f core conftest.err conftest.$ac_objext \
   6699     conftest$ac_exeext conftest.$ac_ext
   6700 fi
   6701 
   6702 
   6703 		CFLAGS="$xorg_testset_save_CFLAGS"
   6704 
   6705 		eval supported=\$$cacheid
   6706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6707 $as_echo "$supported" >&6; }
   6708 		if test "$supported" = "yes" ; then
   6709 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   6710 			found="yes"
   6711 		fi
   6712 	fi
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 xorg_testset_save_CFLAGS="$CFLAGS"
   6729 
   6730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6733 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6734 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6738 /* end confdefs.h.  */
   6739 int i;
   6740 _ACEOF
   6741 if ac_fn_c_try_compile "$LINENO"; then :
   6742   xorg_cv_cc_flag_unknown_warning_option=yes
   6743 else
   6744   xorg_cv_cc_flag_unknown_warning_option=no
   6745 fi
   6746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6747 fi
   6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6749 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6751 	CFLAGS="$xorg_testset_save_CFLAGS"
   6752 fi
   6753 
   6754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6757 	fi
   6758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6760 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6761 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6762   $as_echo_n "(cached) " >&6
   6763 else
   6764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6765 /* end confdefs.h.  */
   6766 int i;
   6767 _ACEOF
   6768 if ac_fn_c_try_compile "$LINENO"; then :
   6769   xorg_cv_cc_flag_unused_command_line_argument=yes
   6770 else
   6771   xorg_cv_cc_flag_unused_command_line_argument=no
   6772 fi
   6773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6774 fi
   6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6776 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6778 	CFLAGS="$xorg_testset_save_CFLAGS"
   6779 fi
   6780 
   6781 found="no"
   6782 
   6783 	if test $found = "no" ; then
   6784 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6786 		fi
   6787 
   6788 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6790 		fi
   6791 
   6792 		CFLAGS="$CFLAGS -Werror=missing-braces"
   6793 
   6794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   6795 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   6796 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   6797 		if eval \${$cacheid+:} false; then :
   6798   $as_echo_n "(cached) " >&6
   6799 else
   6800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6801 /* end confdefs.h.  */
   6802 int i;
   6803 int
   6804 main ()
   6805 {
   6806 
   6807   ;
   6808   return 0;
   6809 }
   6810 _ACEOF
   6811 if ac_fn_c_try_link "$LINENO"; then :
   6812   eval $cacheid=yes
   6813 else
   6814   eval $cacheid=no
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext \
   6817     conftest$ac_exeext conftest.$ac_ext
   6818 fi
   6819 
   6820 
   6821 		CFLAGS="$xorg_testset_save_CFLAGS"
   6822 
   6823 		eval supported=\$$cacheid
   6824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6825 $as_echo "$supported" >&6; }
   6826 		if test "$supported" = "yes" ; then
   6827 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   6828 			found="yes"
   6829 		fi
   6830 	fi
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 xorg_testset_save_CFLAGS="$CFLAGS"
   6847 
   6848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6856 /* end confdefs.h.  */
   6857 int i;
   6858 _ACEOF
   6859 if ac_fn_c_try_compile "$LINENO"; then :
   6860   xorg_cv_cc_flag_unknown_warning_option=yes
   6861 else
   6862   xorg_cv_cc_flag_unknown_warning_option=no
   6863 fi
   6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6865 fi
   6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6869 	CFLAGS="$xorg_testset_save_CFLAGS"
   6870 fi
   6871 
   6872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6875 	fi
   6876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6880   $as_echo_n "(cached) " >&6
   6881 else
   6882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6883 /* end confdefs.h.  */
   6884 int i;
   6885 _ACEOF
   6886 if ac_fn_c_try_compile "$LINENO"; then :
   6887   xorg_cv_cc_flag_unused_command_line_argument=yes
   6888 else
   6889   xorg_cv_cc_flag_unused_command_line_argument=no
   6890 fi
   6891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6892 fi
   6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6896 	CFLAGS="$xorg_testset_save_CFLAGS"
   6897 fi
   6898 
   6899 found="no"
   6900 
   6901 	if test $found = "no" ; then
   6902 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6904 		fi
   6905 
   6906 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6908 		fi
   6909 
   6910 		CFLAGS="$CFLAGS -Werror=sequence-point"
   6911 
   6912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   6913 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   6914 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   6915 		if eval \${$cacheid+:} false; then :
   6916   $as_echo_n "(cached) " >&6
   6917 else
   6918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6919 /* end confdefs.h.  */
   6920 int i;
   6921 int
   6922 main ()
   6923 {
   6924 
   6925   ;
   6926   return 0;
   6927 }
   6928 _ACEOF
   6929 if ac_fn_c_try_link "$LINENO"; then :
   6930   eval $cacheid=yes
   6931 else
   6932   eval $cacheid=no
   6933 fi
   6934 rm -f core conftest.err conftest.$ac_objext \
   6935     conftest$ac_exeext conftest.$ac_ext
   6936 fi
   6937 
   6938 
   6939 		CFLAGS="$xorg_testset_save_CFLAGS"
   6940 
   6941 		eval supported=\$$cacheid
   6942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6943 $as_echo "$supported" >&6; }
   6944 		if test "$supported" = "yes" ; then
   6945 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   6946 			found="yes"
   6947 		fi
   6948 	fi
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 xorg_testset_save_CFLAGS="$CFLAGS"
   6965 
   6966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6974 /* end confdefs.h.  */
   6975 int i;
   6976 _ACEOF
   6977 if ac_fn_c_try_compile "$LINENO"; then :
   6978   xorg_cv_cc_flag_unknown_warning_option=yes
   6979 else
   6980   xorg_cv_cc_flag_unknown_warning_option=no
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6983 fi
   6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6987 	CFLAGS="$xorg_testset_save_CFLAGS"
   6988 fi
   6989 
   6990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6993 	fi
   6994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7001 /* end confdefs.h.  */
   7002 int i;
   7003 _ACEOF
   7004 if ac_fn_c_try_compile "$LINENO"; then :
   7005   xorg_cv_cc_flag_unused_command_line_argument=yes
   7006 else
   7007   xorg_cv_cc_flag_unused_command_line_argument=no
   7008 fi
   7009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7010 fi
   7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7014 	CFLAGS="$xorg_testset_save_CFLAGS"
   7015 fi
   7016 
   7017 found="no"
   7018 
   7019 	if test $found = "no" ; then
   7020 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7022 		fi
   7023 
   7024 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 		fi
   7027 
   7028 		CFLAGS="$CFLAGS -Werror=return-type"
   7029 
   7030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7031 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7032 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7033 		if eval \${$cacheid+:} false; then :
   7034   $as_echo_n "(cached) " >&6
   7035 else
   7036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7037 /* end confdefs.h.  */
   7038 int i;
   7039 int
   7040 main ()
   7041 {
   7042 
   7043   ;
   7044   return 0;
   7045 }
   7046 _ACEOF
   7047 if ac_fn_c_try_link "$LINENO"; then :
   7048   eval $cacheid=yes
   7049 else
   7050   eval $cacheid=no
   7051 fi
   7052 rm -f core conftest.err conftest.$ac_objext \
   7053     conftest$ac_exeext conftest.$ac_ext
   7054 fi
   7055 
   7056 
   7057 		CFLAGS="$xorg_testset_save_CFLAGS"
   7058 
   7059 		eval supported=\$$cacheid
   7060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7061 $as_echo "$supported" >&6; }
   7062 		if test "$supported" = "yes" ; then
   7063 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7064 			found="yes"
   7065 		fi
   7066 	fi
   7067 
   7068 	if test $found = "no" ; then
   7069 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7071 		fi
   7072 
   7073 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7075 		fi
   7076 
   7077 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7078 
   7079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7080 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7081 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7082 		if eval \${$cacheid+:} false; then :
   7083   $as_echo_n "(cached) " >&6
   7084 else
   7085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7086 /* end confdefs.h.  */
   7087 int i;
   7088 int
   7089 main ()
   7090 {
   7091 
   7092   ;
   7093   return 0;
   7094 }
   7095 _ACEOF
   7096 if ac_fn_c_try_link "$LINENO"; then :
   7097   eval $cacheid=yes
   7098 else
   7099   eval $cacheid=no
   7100 fi
   7101 rm -f core conftest.err conftest.$ac_objext \
   7102     conftest$ac_exeext conftest.$ac_ext
   7103 fi
   7104 
   7105 
   7106 		CFLAGS="$xorg_testset_save_CFLAGS"
   7107 
   7108 		eval supported=\$$cacheid
   7109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7110 $as_echo "$supported" >&6; }
   7111 		if test "$supported" = "yes" ; then
   7112 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7113 			found="yes"
   7114 		fi
   7115 	fi
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 xorg_testset_save_CFLAGS="$CFLAGS"
   7132 
   7133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7138   $as_echo_n "(cached) " >&6
   7139 else
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 int i;
   7143 _ACEOF
   7144 if ac_fn_c_try_compile "$LINENO"; then :
   7145   xorg_cv_cc_flag_unknown_warning_option=yes
   7146 else
   7147   xorg_cv_cc_flag_unknown_warning_option=no
   7148 fi
   7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7150 fi
   7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7154 	CFLAGS="$xorg_testset_save_CFLAGS"
   7155 fi
   7156 
   7157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7160 	fi
   7161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7165   $as_echo_n "(cached) " >&6
   7166 else
   7167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7168 /* end confdefs.h.  */
   7169 int i;
   7170 _ACEOF
   7171 if ac_fn_c_try_compile "$LINENO"; then :
   7172   xorg_cv_cc_flag_unused_command_line_argument=yes
   7173 else
   7174   xorg_cv_cc_flag_unused_command_line_argument=no
   7175 fi
   7176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7177 fi
   7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7181 	CFLAGS="$xorg_testset_save_CFLAGS"
   7182 fi
   7183 
   7184 found="no"
   7185 
   7186 	if test $found = "no" ; then
   7187 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7189 		fi
   7190 
   7191 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7193 		fi
   7194 
   7195 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7196 
   7197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7198 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7199 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7200 		if eval \${$cacheid+:} false; then :
   7201   $as_echo_n "(cached) " >&6
   7202 else
   7203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7204 /* end confdefs.h.  */
   7205 int i;
   7206 int
   7207 main ()
   7208 {
   7209 
   7210   ;
   7211   return 0;
   7212 }
   7213 _ACEOF
   7214 if ac_fn_c_try_link "$LINENO"; then :
   7215   eval $cacheid=yes
   7216 else
   7217   eval $cacheid=no
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext \
   7220     conftest$ac_exeext conftest.$ac_ext
   7221 fi
   7222 
   7223 
   7224 		CFLAGS="$xorg_testset_save_CFLAGS"
   7225 
   7226 		eval supported=\$$cacheid
   7227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7228 $as_echo "$supported" >&6; }
   7229 		if test "$supported" = "yes" ; then
   7230 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7231 			found="yes"
   7232 		fi
   7233 	fi
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 xorg_testset_save_CFLAGS="$CFLAGS"
   7250 
   7251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7256   $as_echo_n "(cached) " >&6
   7257 else
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 int i;
   7261 _ACEOF
   7262 if ac_fn_c_try_compile "$LINENO"; then :
   7263   xorg_cv_cc_flag_unknown_warning_option=yes
   7264 else
   7265   xorg_cv_cc_flag_unknown_warning_option=no
   7266 fi
   7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7268 fi
   7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7272 	CFLAGS="$xorg_testset_save_CFLAGS"
   7273 fi
   7274 
   7275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 	fi
   7279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7286 /* end confdefs.h.  */
   7287 int i;
   7288 _ACEOF
   7289 if ac_fn_c_try_compile "$LINENO"; then :
   7290   xorg_cv_cc_flag_unused_command_line_argument=yes
   7291 else
   7292   xorg_cv_cc_flag_unused_command_line_argument=no
   7293 fi
   7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7295 fi
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7299 	CFLAGS="$xorg_testset_save_CFLAGS"
   7300 fi
   7301 
   7302 found="no"
   7303 
   7304 	if test $found = "no" ; then
   7305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7307 		fi
   7308 
   7309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7311 		fi
   7312 
   7313 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7314 
   7315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7316 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7317 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7318 		if eval \${$cacheid+:} false; then :
   7319   $as_echo_n "(cached) " >&6
   7320 else
   7321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7322 /* end confdefs.h.  */
   7323 int i;
   7324 int
   7325 main ()
   7326 {
   7327 
   7328   ;
   7329   return 0;
   7330 }
   7331 _ACEOF
   7332 if ac_fn_c_try_link "$LINENO"; then :
   7333   eval $cacheid=yes
   7334 else
   7335   eval $cacheid=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext \
   7338     conftest$ac_exeext conftest.$ac_ext
   7339 fi
   7340 
   7341 
   7342 		CFLAGS="$xorg_testset_save_CFLAGS"
   7343 
   7344 		eval supported=\$$cacheid
   7345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7346 $as_echo "$supported" >&6; }
   7347 		if test "$supported" = "yes" ; then
   7348 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7349 			found="yes"
   7350 		fi
   7351 	fi
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 xorg_testset_save_CFLAGS="$CFLAGS"
   7368 
   7369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7374   $as_echo_n "(cached) " >&6
   7375 else
   7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7377 /* end confdefs.h.  */
   7378 int i;
   7379 _ACEOF
   7380 if ac_fn_c_try_compile "$LINENO"; then :
   7381   xorg_cv_cc_flag_unknown_warning_option=yes
   7382 else
   7383   xorg_cv_cc_flag_unknown_warning_option=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7386 fi
   7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7390 	CFLAGS="$xorg_testset_save_CFLAGS"
   7391 fi
   7392 
   7393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7396 	fi
   7397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7401   $as_echo_n "(cached) " >&6
   7402 else
   7403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 int i;
   7406 _ACEOF
   7407 if ac_fn_c_try_compile "$LINENO"; then :
   7408   xorg_cv_cc_flag_unused_command_line_argument=yes
   7409 else
   7410   xorg_cv_cc_flag_unused_command_line_argument=no
   7411 fi
   7412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7413 fi
   7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7417 	CFLAGS="$xorg_testset_save_CFLAGS"
   7418 fi
   7419 
   7420 found="no"
   7421 
   7422 	if test $found = "no" ; then
   7423 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7425 		fi
   7426 
   7427 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 		fi
   7430 
   7431 		CFLAGS="$CFLAGS -Werror=write-strings"
   7432 
   7433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7434 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7435 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   7436 		if eval \${$cacheid+:} false; then :
   7437   $as_echo_n "(cached) " >&6
   7438 else
   7439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7440 /* end confdefs.h.  */
   7441 int i;
   7442 int
   7443 main ()
   7444 {
   7445 
   7446   ;
   7447   return 0;
   7448 }
   7449 _ACEOF
   7450 if ac_fn_c_try_link "$LINENO"; then :
   7451   eval $cacheid=yes
   7452 else
   7453   eval $cacheid=no
   7454 fi
   7455 rm -f core conftest.err conftest.$ac_objext \
   7456     conftest$ac_exeext conftest.$ac_ext
   7457 fi
   7458 
   7459 
   7460 		CFLAGS="$xorg_testset_save_CFLAGS"
   7461 
   7462 		eval supported=\$$cacheid
   7463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7464 $as_echo "$supported" >&6; }
   7465 		if test "$supported" = "yes" ; then
   7466 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7467 			found="yes"
   7468 		fi
   7469 	fi
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 xorg_testset_save_CFLAGS="$CFLAGS"
   7486 
   7487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7492   $as_echo_n "(cached) " >&6
   7493 else
   7494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7495 /* end confdefs.h.  */
   7496 int i;
   7497 _ACEOF
   7498 if ac_fn_c_try_compile "$LINENO"; then :
   7499   xorg_cv_cc_flag_unknown_warning_option=yes
   7500 else
   7501   xorg_cv_cc_flag_unknown_warning_option=no
   7502 fi
   7503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7504 fi
   7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7508 	CFLAGS="$xorg_testset_save_CFLAGS"
   7509 fi
   7510 
   7511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7514 	fi
   7515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 _ACEOF
   7525 if ac_fn_c_try_compile "$LINENO"; then :
   7526   xorg_cv_cc_flag_unused_command_line_argument=yes
   7527 else
   7528   xorg_cv_cc_flag_unused_command_line_argument=no
   7529 fi
   7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7531 fi
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7535 	CFLAGS="$xorg_testset_save_CFLAGS"
   7536 fi
   7537 
   7538 found="no"
   7539 
   7540 	if test $found = "no" ; then
   7541 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7543 		fi
   7544 
   7545 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7547 		fi
   7548 
   7549 		CFLAGS="$CFLAGS -Werror=address"
   7550 
   7551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7552 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7553 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   7554 		if eval \${$cacheid+:} false; then :
   7555   $as_echo_n "(cached) " >&6
   7556 else
   7557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7558 /* end confdefs.h.  */
   7559 int i;
   7560 int
   7561 main ()
   7562 {
   7563 
   7564   ;
   7565   return 0;
   7566 }
   7567 _ACEOF
   7568 if ac_fn_c_try_link "$LINENO"; then :
   7569   eval $cacheid=yes
   7570 else
   7571   eval $cacheid=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext \
   7574     conftest$ac_exeext conftest.$ac_ext
   7575 fi
   7576 
   7577 
   7578 		CFLAGS="$xorg_testset_save_CFLAGS"
   7579 
   7580 		eval supported=\$$cacheid
   7581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7582 $as_echo "$supported" >&6; }
   7583 		if test "$supported" = "yes" ; then
   7584 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7585 			found="yes"
   7586 		fi
   7587 	fi
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 xorg_testset_save_CFLAGS="$CFLAGS"
   7604 
   7605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7610   $as_echo_n "(cached) " >&6
   7611 else
   7612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7613 /* end confdefs.h.  */
   7614 int i;
   7615 _ACEOF
   7616 if ac_fn_c_try_compile "$LINENO"; then :
   7617   xorg_cv_cc_flag_unknown_warning_option=yes
   7618 else
   7619   xorg_cv_cc_flag_unknown_warning_option=no
   7620 fi
   7621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7622 fi
   7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7626 	CFLAGS="$xorg_testset_save_CFLAGS"
   7627 fi
   7628 
   7629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7632 	fi
   7633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7637   $as_echo_n "(cached) " >&6
   7638 else
   7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7640 /* end confdefs.h.  */
   7641 int i;
   7642 _ACEOF
   7643 if ac_fn_c_try_compile "$LINENO"; then :
   7644   xorg_cv_cc_flag_unused_command_line_argument=yes
   7645 else
   7646   xorg_cv_cc_flag_unused_command_line_argument=no
   7647 fi
   7648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7649 fi
   7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7653 	CFLAGS="$xorg_testset_save_CFLAGS"
   7654 fi
   7655 
   7656 found="no"
   7657 
   7658 	if test $found = "no" ; then
   7659 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7661 		fi
   7662 
   7663 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 		fi
   7666 
   7667 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   7668 
   7669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   7670 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   7671 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   7672 		if eval \${$cacheid+:} false; then :
   7673   $as_echo_n "(cached) " >&6
   7674 else
   7675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7676 /* end confdefs.h.  */
   7677 int i;
   7678 int
   7679 main ()
   7680 {
   7681 
   7682   ;
   7683   return 0;
   7684 }
   7685 _ACEOF
   7686 if ac_fn_c_try_link "$LINENO"; then :
   7687   eval $cacheid=yes
   7688 else
   7689   eval $cacheid=no
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext \
   7692     conftest$ac_exeext conftest.$ac_ext
   7693 fi
   7694 
   7695 
   7696 		CFLAGS="$xorg_testset_save_CFLAGS"
   7697 
   7698 		eval supported=\$$cacheid
   7699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7700 $as_echo "$supported" >&6; }
   7701 		if test "$supported" = "yes" ; then
   7702 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   7703 			found="yes"
   7704 		fi
   7705 	fi
   7706 
   7707 	if test $found = "no" ; then
   7708 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7710 		fi
   7711 
   7712 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7714 		fi
   7715 
   7716 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7717 
   7718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   7719 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   7720 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   7721 		if eval \${$cacheid+:} false; then :
   7722   $as_echo_n "(cached) " >&6
   7723 else
   7724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7725 /* end confdefs.h.  */
   7726 int i;
   7727 int
   7728 main ()
   7729 {
   7730 
   7731   ;
   7732   return 0;
   7733 }
   7734 _ACEOF
   7735 if ac_fn_c_try_link "$LINENO"; then :
   7736   eval $cacheid=yes
   7737 else
   7738   eval $cacheid=no
   7739 fi
   7740 rm -f core conftest.err conftest.$ac_objext \
   7741     conftest$ac_exeext conftest.$ac_ext
   7742 fi
   7743 
   7744 
   7745 		CFLAGS="$xorg_testset_save_CFLAGS"
   7746 
   7747 		eval supported=\$$cacheid
   7748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7749 $as_echo "$supported" >&6; }
   7750 		if test "$supported" = "yes" ; then
   7751 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7752 			found="yes"
   7753 		fi
   7754 	fi
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 xorg_testset_save_CFLAGS="$CFLAGS"
   7771 
   7772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7777   $as_echo_n "(cached) " >&6
   7778 else
   7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7780 /* end confdefs.h.  */
   7781 int i;
   7782 _ACEOF
   7783 if ac_fn_c_try_compile "$LINENO"; then :
   7784   xorg_cv_cc_flag_unknown_warning_option=yes
   7785 else
   7786   xorg_cv_cc_flag_unknown_warning_option=no
   7787 fi
   7788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7789 fi
   7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7793 	CFLAGS="$xorg_testset_save_CFLAGS"
   7794 fi
   7795 
   7796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 	fi
   7800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7804   $as_echo_n "(cached) " >&6
   7805 else
   7806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7807 /* end confdefs.h.  */
   7808 int i;
   7809 _ACEOF
   7810 if ac_fn_c_try_compile "$LINENO"; then :
   7811   xorg_cv_cc_flag_unused_command_line_argument=yes
   7812 else
   7813   xorg_cv_cc_flag_unused_command_line_argument=no
   7814 fi
   7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7816 fi
   7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7820 	CFLAGS="$xorg_testset_save_CFLAGS"
   7821 fi
   7822 
   7823 found="no"
   7824 
   7825 	if test $found = "no" ; then
   7826 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7828 		fi
   7829 
   7830 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7832 		fi
   7833 
   7834 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   7835 
   7836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   7837 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   7838 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   7839 		if eval \${$cacheid+:} false; then :
   7840   $as_echo_n "(cached) " >&6
   7841 else
   7842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7843 /* end confdefs.h.  */
   7844 int i;
   7845 int
   7846 main ()
   7847 {
   7848 
   7849   ;
   7850   return 0;
   7851 }
   7852 _ACEOF
   7853 if ac_fn_c_try_link "$LINENO"; then :
   7854   eval $cacheid=yes
   7855 else
   7856   eval $cacheid=no
   7857 fi
   7858 rm -f core conftest.err conftest.$ac_objext \
   7859     conftest$ac_exeext conftest.$ac_ext
   7860 fi
   7861 
   7862 
   7863 		CFLAGS="$xorg_testset_save_CFLAGS"
   7864 
   7865 		eval supported=\$$cacheid
   7866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7867 $as_echo "$supported" >&6; }
   7868 		if test "$supported" = "yes" ; then
   7869 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   7870 			found="yes"
   7871 		fi
   7872 	fi
   7873 
   7874  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   7875 else
   7876 { $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
   7877 $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;}
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 xorg_testset_save_CFLAGS="$CFLAGS"
   7892 
   7893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7896 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7897 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7898   $as_echo_n "(cached) " >&6
   7899 else
   7900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7901 /* end confdefs.h.  */
   7902 int i;
   7903 _ACEOF
   7904 if ac_fn_c_try_compile "$LINENO"; then :
   7905   xorg_cv_cc_flag_unknown_warning_option=yes
   7906 else
   7907   xorg_cv_cc_flag_unknown_warning_option=no
   7908 fi
   7909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7910 fi
   7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7912 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7913 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7914 	CFLAGS="$xorg_testset_save_CFLAGS"
   7915 fi
   7916 
   7917 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7918 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7919 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7920 	fi
   7921 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7923 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7924 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7928 /* end confdefs.h.  */
   7929 int i;
   7930 _ACEOF
   7931 if ac_fn_c_try_compile "$LINENO"; then :
   7932   xorg_cv_cc_flag_unused_command_line_argument=yes
   7933 else
   7934   xorg_cv_cc_flag_unused_command_line_argument=no
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7937 fi
   7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7939 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7940 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7941 	CFLAGS="$xorg_testset_save_CFLAGS"
   7942 fi
   7943 
   7944 found="no"
   7945 
   7946 	if test $found = "no" ; then
   7947 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7948 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7949 		fi
   7950 
   7951 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7952 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7953 		fi
   7954 
   7955 		CFLAGS="$CFLAGS -Wimplicit"
   7956 
   7957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   7958 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   7959 		cacheid=xorg_cv_cc_flag__Wimplicit
   7960 		if eval \${$cacheid+:} false; then :
   7961   $as_echo_n "(cached) " >&6
   7962 else
   7963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7964 /* end confdefs.h.  */
   7965 int i;
   7966 int
   7967 main ()
   7968 {
   7969 
   7970   ;
   7971   return 0;
   7972 }
   7973 _ACEOF
   7974 if ac_fn_c_try_link "$LINENO"; then :
   7975   eval $cacheid=yes
   7976 else
   7977   eval $cacheid=no
   7978 fi
   7979 rm -f core conftest.err conftest.$ac_objext \
   7980     conftest$ac_exeext conftest.$ac_ext
   7981 fi
   7982 
   7983 
   7984 		CFLAGS="$xorg_testset_save_CFLAGS"
   7985 
   7986 		eval supported=\$$cacheid
   7987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7988 $as_echo "$supported" >&6; }
   7989 		if test "$supported" = "yes" ; then
   7990 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   7991 			found="yes"
   7992 		fi
   7993 	fi
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 xorg_testset_save_CFLAGS="$CFLAGS"
   8010 
   8011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8014 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8015 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8016   $as_echo_n "(cached) " >&6
   8017 else
   8018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8019 /* end confdefs.h.  */
   8020 int i;
   8021 _ACEOF
   8022 if ac_fn_c_try_compile "$LINENO"; then :
   8023   xorg_cv_cc_flag_unknown_warning_option=yes
   8024 else
   8025   xorg_cv_cc_flag_unknown_warning_option=no
   8026 fi
   8027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8028 fi
   8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8030 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8032 	CFLAGS="$xorg_testset_save_CFLAGS"
   8033 fi
   8034 
   8035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8038 	fi
   8039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8041 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8042 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8043   $as_echo_n "(cached) " >&6
   8044 else
   8045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8046 /* end confdefs.h.  */
   8047 int i;
   8048 _ACEOF
   8049 if ac_fn_c_try_compile "$LINENO"; then :
   8050   xorg_cv_cc_flag_unused_command_line_argument=yes
   8051 else
   8052   xorg_cv_cc_flag_unused_command_line_argument=no
   8053 fi
   8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8055 fi
   8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8057 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8059 	CFLAGS="$xorg_testset_save_CFLAGS"
   8060 fi
   8061 
   8062 found="no"
   8063 
   8064 	if test $found = "no" ; then
   8065 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8067 		fi
   8068 
   8069 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8071 		fi
   8072 
   8073 		CFLAGS="$CFLAGS -Wnonnull"
   8074 
   8075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8076 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8077 		cacheid=xorg_cv_cc_flag__Wnonnull
   8078 		if eval \${$cacheid+:} false; then :
   8079   $as_echo_n "(cached) " >&6
   8080 else
   8081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8082 /* end confdefs.h.  */
   8083 int i;
   8084 int
   8085 main ()
   8086 {
   8087 
   8088   ;
   8089   return 0;
   8090 }
   8091 _ACEOF
   8092 if ac_fn_c_try_link "$LINENO"; then :
   8093   eval $cacheid=yes
   8094 else
   8095   eval $cacheid=no
   8096 fi
   8097 rm -f core conftest.err conftest.$ac_objext \
   8098     conftest$ac_exeext conftest.$ac_ext
   8099 fi
   8100 
   8101 
   8102 		CFLAGS="$xorg_testset_save_CFLAGS"
   8103 
   8104 		eval supported=\$$cacheid
   8105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8106 $as_echo "$supported" >&6; }
   8107 		if test "$supported" = "yes" ; then
   8108 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8109 			found="yes"
   8110 		fi
   8111 	fi
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 xorg_testset_save_CFLAGS="$CFLAGS"
   8128 
   8129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8132 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8133 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8134   $as_echo_n "(cached) " >&6
   8135 else
   8136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8137 /* end confdefs.h.  */
   8138 int i;
   8139 _ACEOF
   8140 if ac_fn_c_try_compile "$LINENO"; then :
   8141   xorg_cv_cc_flag_unknown_warning_option=yes
   8142 else
   8143   xorg_cv_cc_flag_unknown_warning_option=no
   8144 fi
   8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8146 fi
   8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8148 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8150 	CFLAGS="$xorg_testset_save_CFLAGS"
   8151 fi
   8152 
   8153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8156 	fi
   8157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8159 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8160 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8161   $as_echo_n "(cached) " >&6
   8162 else
   8163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8164 /* end confdefs.h.  */
   8165 int i;
   8166 _ACEOF
   8167 if ac_fn_c_try_compile "$LINENO"; then :
   8168   xorg_cv_cc_flag_unused_command_line_argument=yes
   8169 else
   8170   xorg_cv_cc_flag_unused_command_line_argument=no
   8171 fi
   8172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8175 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8177 	CFLAGS="$xorg_testset_save_CFLAGS"
   8178 fi
   8179 
   8180 found="no"
   8181 
   8182 	if test $found = "no" ; then
   8183 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8185 		fi
   8186 
   8187 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8189 		fi
   8190 
   8191 		CFLAGS="$CFLAGS -Winit-self"
   8192 
   8193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8194 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8195 		cacheid=xorg_cv_cc_flag__Winit_self
   8196 		if eval \${$cacheid+:} false; then :
   8197   $as_echo_n "(cached) " >&6
   8198 else
   8199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8200 /* end confdefs.h.  */
   8201 int i;
   8202 int
   8203 main ()
   8204 {
   8205 
   8206   ;
   8207   return 0;
   8208 }
   8209 _ACEOF
   8210 if ac_fn_c_try_link "$LINENO"; then :
   8211   eval $cacheid=yes
   8212 else
   8213   eval $cacheid=no
   8214 fi
   8215 rm -f core conftest.err conftest.$ac_objext \
   8216     conftest$ac_exeext conftest.$ac_ext
   8217 fi
   8218 
   8219 
   8220 		CFLAGS="$xorg_testset_save_CFLAGS"
   8221 
   8222 		eval supported=\$$cacheid
   8223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8224 $as_echo "$supported" >&6; }
   8225 		if test "$supported" = "yes" ; then
   8226 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8227 			found="yes"
   8228 		fi
   8229 	fi
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 xorg_testset_save_CFLAGS="$CFLAGS"
   8246 
   8247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8250 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8251 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8252   $as_echo_n "(cached) " >&6
   8253 else
   8254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8255 /* end confdefs.h.  */
   8256 int i;
   8257 _ACEOF
   8258 if ac_fn_c_try_compile "$LINENO"; then :
   8259   xorg_cv_cc_flag_unknown_warning_option=yes
   8260 else
   8261   xorg_cv_cc_flag_unknown_warning_option=no
   8262 fi
   8263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8264 fi
   8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8266 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8268 	CFLAGS="$xorg_testset_save_CFLAGS"
   8269 fi
   8270 
   8271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8274 	fi
   8275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8277 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8278 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8279   $as_echo_n "(cached) " >&6
   8280 else
   8281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8282 /* end confdefs.h.  */
   8283 int i;
   8284 _ACEOF
   8285 if ac_fn_c_try_compile "$LINENO"; then :
   8286   xorg_cv_cc_flag_unused_command_line_argument=yes
   8287 else
   8288   xorg_cv_cc_flag_unused_command_line_argument=no
   8289 fi
   8290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8291 fi
   8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8293 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8295 	CFLAGS="$xorg_testset_save_CFLAGS"
   8296 fi
   8297 
   8298 found="no"
   8299 
   8300 	if test $found = "no" ; then
   8301 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8303 		fi
   8304 
   8305 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8307 		fi
   8308 
   8309 		CFLAGS="$CFLAGS -Wmain"
   8310 
   8311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8312 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8313 		cacheid=xorg_cv_cc_flag__Wmain
   8314 		if eval \${$cacheid+:} false; then :
   8315   $as_echo_n "(cached) " >&6
   8316 else
   8317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8318 /* end confdefs.h.  */
   8319 int i;
   8320 int
   8321 main ()
   8322 {
   8323 
   8324   ;
   8325   return 0;
   8326 }
   8327 _ACEOF
   8328 if ac_fn_c_try_link "$LINENO"; then :
   8329   eval $cacheid=yes
   8330 else
   8331   eval $cacheid=no
   8332 fi
   8333 rm -f core conftest.err conftest.$ac_objext \
   8334     conftest$ac_exeext conftest.$ac_ext
   8335 fi
   8336 
   8337 
   8338 		CFLAGS="$xorg_testset_save_CFLAGS"
   8339 
   8340 		eval supported=\$$cacheid
   8341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8342 $as_echo "$supported" >&6; }
   8343 		if test "$supported" = "yes" ; then
   8344 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8345 			found="yes"
   8346 		fi
   8347 	fi
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 xorg_testset_save_CFLAGS="$CFLAGS"
   8364 
   8365 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8366 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8368 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8369 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8370   $as_echo_n "(cached) " >&6
   8371 else
   8372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8373 /* end confdefs.h.  */
   8374 int i;
   8375 _ACEOF
   8376 if ac_fn_c_try_compile "$LINENO"; then :
   8377   xorg_cv_cc_flag_unknown_warning_option=yes
   8378 else
   8379   xorg_cv_cc_flag_unknown_warning_option=no
   8380 fi
   8381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8382 fi
   8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8384 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8386 	CFLAGS="$xorg_testset_save_CFLAGS"
   8387 fi
   8388 
   8389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8392 	fi
   8393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8395 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8396 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8397   $as_echo_n "(cached) " >&6
   8398 else
   8399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8400 /* end confdefs.h.  */
   8401 int i;
   8402 _ACEOF
   8403 if ac_fn_c_try_compile "$LINENO"; then :
   8404   xorg_cv_cc_flag_unused_command_line_argument=yes
   8405 else
   8406   xorg_cv_cc_flag_unused_command_line_argument=no
   8407 fi
   8408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8409 fi
   8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8411 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8412 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8413 	CFLAGS="$xorg_testset_save_CFLAGS"
   8414 fi
   8415 
   8416 found="no"
   8417 
   8418 	if test $found = "no" ; then
   8419 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8421 		fi
   8422 
   8423 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8425 		fi
   8426 
   8427 		CFLAGS="$CFLAGS -Wmissing-braces"
   8428 
   8429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8430 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8431 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8432 		if eval \${$cacheid+:} false; then :
   8433   $as_echo_n "(cached) " >&6
   8434 else
   8435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8436 /* end confdefs.h.  */
   8437 int i;
   8438 int
   8439 main ()
   8440 {
   8441 
   8442   ;
   8443   return 0;
   8444 }
   8445 _ACEOF
   8446 if ac_fn_c_try_link "$LINENO"; then :
   8447   eval $cacheid=yes
   8448 else
   8449   eval $cacheid=no
   8450 fi
   8451 rm -f core conftest.err conftest.$ac_objext \
   8452     conftest$ac_exeext conftest.$ac_ext
   8453 fi
   8454 
   8455 
   8456 		CFLAGS="$xorg_testset_save_CFLAGS"
   8457 
   8458 		eval supported=\$$cacheid
   8459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8460 $as_echo "$supported" >&6; }
   8461 		if test "$supported" = "yes" ; then
   8462 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8463 			found="yes"
   8464 		fi
   8465 	fi
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 xorg_testset_save_CFLAGS="$CFLAGS"
   8482 
   8483 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8484 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8486 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8487 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8488   $as_echo_n "(cached) " >&6
   8489 else
   8490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8491 /* end confdefs.h.  */
   8492 int i;
   8493 _ACEOF
   8494 if ac_fn_c_try_compile "$LINENO"; then :
   8495   xorg_cv_cc_flag_unknown_warning_option=yes
   8496 else
   8497   xorg_cv_cc_flag_unknown_warning_option=no
   8498 fi
   8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8500 fi
   8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8502 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8504 	CFLAGS="$xorg_testset_save_CFLAGS"
   8505 fi
   8506 
   8507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8510 	fi
   8511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8513 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8514 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8515   $as_echo_n "(cached) " >&6
   8516 else
   8517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8518 /* end confdefs.h.  */
   8519 int i;
   8520 _ACEOF
   8521 if ac_fn_c_try_compile "$LINENO"; then :
   8522   xorg_cv_cc_flag_unused_command_line_argument=yes
   8523 else
   8524   xorg_cv_cc_flag_unused_command_line_argument=no
   8525 fi
   8526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8527 fi
   8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8529 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8530 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8531 	CFLAGS="$xorg_testset_save_CFLAGS"
   8532 fi
   8533 
   8534 found="no"
   8535 
   8536 	if test $found = "no" ; then
   8537 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8538 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8539 		fi
   8540 
   8541 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8542 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8543 		fi
   8544 
   8545 		CFLAGS="$CFLAGS -Wsequence-point"
   8546 
   8547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8548 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8549 		cacheid=xorg_cv_cc_flag__Wsequence_point
   8550 		if eval \${$cacheid+:} false; then :
   8551   $as_echo_n "(cached) " >&6
   8552 else
   8553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8554 /* end confdefs.h.  */
   8555 int i;
   8556 int
   8557 main ()
   8558 {
   8559 
   8560   ;
   8561   return 0;
   8562 }
   8563 _ACEOF
   8564 if ac_fn_c_try_link "$LINENO"; then :
   8565   eval $cacheid=yes
   8566 else
   8567   eval $cacheid=no
   8568 fi
   8569 rm -f core conftest.err conftest.$ac_objext \
   8570     conftest$ac_exeext conftest.$ac_ext
   8571 fi
   8572 
   8573 
   8574 		CFLAGS="$xorg_testset_save_CFLAGS"
   8575 
   8576 		eval supported=\$$cacheid
   8577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8578 $as_echo "$supported" >&6; }
   8579 		if test "$supported" = "yes" ; then
   8580 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8581 			found="yes"
   8582 		fi
   8583 	fi
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 xorg_testset_save_CFLAGS="$CFLAGS"
   8600 
   8601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8604 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8605 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8606   $as_echo_n "(cached) " >&6
   8607 else
   8608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8609 /* end confdefs.h.  */
   8610 int i;
   8611 _ACEOF
   8612 if ac_fn_c_try_compile "$LINENO"; then :
   8613   xorg_cv_cc_flag_unknown_warning_option=yes
   8614 else
   8615   xorg_cv_cc_flag_unknown_warning_option=no
   8616 fi
   8617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8618 fi
   8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8620 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8622 	CFLAGS="$xorg_testset_save_CFLAGS"
   8623 fi
   8624 
   8625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8628 	fi
   8629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8631 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8632 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8633   $as_echo_n "(cached) " >&6
   8634 else
   8635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8636 /* end confdefs.h.  */
   8637 int i;
   8638 _ACEOF
   8639 if ac_fn_c_try_compile "$LINENO"; then :
   8640   xorg_cv_cc_flag_unused_command_line_argument=yes
   8641 else
   8642   xorg_cv_cc_flag_unused_command_line_argument=no
   8643 fi
   8644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8645 fi
   8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8647 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8649 	CFLAGS="$xorg_testset_save_CFLAGS"
   8650 fi
   8651 
   8652 found="no"
   8653 
   8654 	if test $found = "no" ; then
   8655 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8657 		fi
   8658 
   8659 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8661 		fi
   8662 
   8663 		CFLAGS="$CFLAGS -Wreturn-type"
   8664 
   8665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   8666 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   8667 		cacheid=xorg_cv_cc_flag__Wreturn_type
   8668 		if eval \${$cacheid+:} false; then :
   8669   $as_echo_n "(cached) " >&6
   8670 else
   8671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8672 /* end confdefs.h.  */
   8673 int i;
   8674 int
   8675 main ()
   8676 {
   8677 
   8678   ;
   8679   return 0;
   8680 }
   8681 _ACEOF
   8682 if ac_fn_c_try_link "$LINENO"; then :
   8683   eval $cacheid=yes
   8684 else
   8685   eval $cacheid=no
   8686 fi
   8687 rm -f core conftest.err conftest.$ac_objext \
   8688     conftest$ac_exeext conftest.$ac_ext
   8689 fi
   8690 
   8691 
   8692 		CFLAGS="$xorg_testset_save_CFLAGS"
   8693 
   8694 		eval supported=\$$cacheid
   8695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8696 $as_echo "$supported" >&6; }
   8697 		if test "$supported" = "yes" ; then
   8698 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   8699 			found="yes"
   8700 		fi
   8701 	fi
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 xorg_testset_save_CFLAGS="$CFLAGS"
   8718 
   8719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8722 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8723 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8724   $as_echo_n "(cached) " >&6
   8725 else
   8726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8727 /* end confdefs.h.  */
   8728 int i;
   8729 _ACEOF
   8730 if ac_fn_c_try_compile "$LINENO"; then :
   8731   xorg_cv_cc_flag_unknown_warning_option=yes
   8732 else
   8733   xorg_cv_cc_flag_unknown_warning_option=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8736 fi
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8738 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8740 	CFLAGS="$xorg_testset_save_CFLAGS"
   8741 fi
   8742 
   8743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	fi
   8747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8749 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8750 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8751   $as_echo_n "(cached) " >&6
   8752 else
   8753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8754 /* end confdefs.h.  */
   8755 int i;
   8756 _ACEOF
   8757 if ac_fn_c_try_compile "$LINENO"; then :
   8758   xorg_cv_cc_flag_unused_command_line_argument=yes
   8759 else
   8760   xorg_cv_cc_flag_unused_command_line_argument=no
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8763 fi
   8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8765 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8767 	CFLAGS="$xorg_testset_save_CFLAGS"
   8768 fi
   8769 
   8770 found="no"
   8771 
   8772 	if test $found = "no" ; then
   8773 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8775 		fi
   8776 
   8777 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8779 		fi
   8780 
   8781 		CFLAGS="$CFLAGS -Wtrigraphs"
   8782 
   8783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   8784 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   8785 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   8786 		if eval \${$cacheid+:} false; then :
   8787   $as_echo_n "(cached) " >&6
   8788 else
   8789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8790 /* end confdefs.h.  */
   8791 int i;
   8792 int
   8793 main ()
   8794 {
   8795 
   8796   ;
   8797   return 0;
   8798 }
   8799 _ACEOF
   8800 if ac_fn_c_try_link "$LINENO"; then :
   8801   eval $cacheid=yes
   8802 else
   8803   eval $cacheid=no
   8804 fi
   8805 rm -f core conftest.err conftest.$ac_objext \
   8806     conftest$ac_exeext conftest.$ac_ext
   8807 fi
   8808 
   8809 
   8810 		CFLAGS="$xorg_testset_save_CFLAGS"
   8811 
   8812 		eval supported=\$$cacheid
   8813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8814 $as_echo "$supported" >&6; }
   8815 		if test "$supported" = "yes" ; then
   8816 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   8817 			found="yes"
   8818 		fi
   8819 	fi
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 xorg_testset_save_CFLAGS="$CFLAGS"
   8836 
   8837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8840 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8841 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8842   $as_echo_n "(cached) " >&6
   8843 else
   8844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 int i;
   8847 _ACEOF
   8848 if ac_fn_c_try_compile "$LINENO"; then :
   8849   xorg_cv_cc_flag_unknown_warning_option=yes
   8850 else
   8851   xorg_cv_cc_flag_unknown_warning_option=no
   8852 fi
   8853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8854 fi
   8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8856 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8858 	CFLAGS="$xorg_testset_save_CFLAGS"
   8859 fi
   8860 
   8861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8864 	fi
   8865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8867 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8868 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8869   $as_echo_n "(cached) " >&6
   8870 else
   8871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8872 /* end confdefs.h.  */
   8873 int i;
   8874 _ACEOF
   8875 if ac_fn_c_try_compile "$LINENO"; then :
   8876   xorg_cv_cc_flag_unused_command_line_argument=yes
   8877 else
   8878   xorg_cv_cc_flag_unused_command_line_argument=no
   8879 fi
   8880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8881 fi
   8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8883 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8885 	CFLAGS="$xorg_testset_save_CFLAGS"
   8886 fi
   8887 
   8888 found="no"
   8889 
   8890 	if test $found = "no" ; then
   8891 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8893 		fi
   8894 
   8895 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8897 		fi
   8898 
   8899 		CFLAGS="$CFLAGS -Warray-bounds"
   8900 
   8901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   8902 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   8903 		cacheid=xorg_cv_cc_flag__Warray_bounds
   8904 		if eval \${$cacheid+:} false; then :
   8905   $as_echo_n "(cached) " >&6
   8906 else
   8907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8908 /* end confdefs.h.  */
   8909 int i;
   8910 int
   8911 main ()
   8912 {
   8913 
   8914   ;
   8915   return 0;
   8916 }
   8917 _ACEOF
   8918 if ac_fn_c_try_link "$LINENO"; then :
   8919   eval $cacheid=yes
   8920 else
   8921   eval $cacheid=no
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext \
   8924     conftest$ac_exeext conftest.$ac_ext
   8925 fi
   8926 
   8927 
   8928 		CFLAGS="$xorg_testset_save_CFLAGS"
   8929 
   8930 		eval supported=\$$cacheid
   8931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8932 $as_echo "$supported" >&6; }
   8933 		if test "$supported" = "yes" ; then
   8934 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   8935 			found="yes"
   8936 		fi
   8937 	fi
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 xorg_testset_save_CFLAGS="$CFLAGS"
   8954 
   8955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8960   $as_echo_n "(cached) " >&6
   8961 else
   8962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8963 /* end confdefs.h.  */
   8964 int i;
   8965 _ACEOF
   8966 if ac_fn_c_try_compile "$LINENO"; then :
   8967   xorg_cv_cc_flag_unknown_warning_option=yes
   8968 else
   8969   xorg_cv_cc_flag_unknown_warning_option=no
   8970 fi
   8971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8972 fi
   8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8976 	CFLAGS="$xorg_testset_save_CFLAGS"
   8977 fi
   8978 
   8979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8982 	fi
   8983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8987   $as_echo_n "(cached) " >&6
   8988 else
   8989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8990 /* end confdefs.h.  */
   8991 int i;
   8992 _ACEOF
   8993 if ac_fn_c_try_compile "$LINENO"; then :
   8994   xorg_cv_cc_flag_unused_command_line_argument=yes
   8995 else
   8996   xorg_cv_cc_flag_unused_command_line_argument=no
   8997 fi
   8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8999 fi
   9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9003 	CFLAGS="$xorg_testset_save_CFLAGS"
   9004 fi
   9005 
   9006 found="no"
   9007 
   9008 	if test $found = "no" ; then
   9009 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9011 		fi
   9012 
   9013 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9015 		fi
   9016 
   9017 		CFLAGS="$CFLAGS -Wwrite-strings"
   9018 
   9019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9020 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9021 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9022 		if eval \${$cacheid+:} false; then :
   9023   $as_echo_n "(cached) " >&6
   9024 else
   9025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9026 /* end confdefs.h.  */
   9027 int i;
   9028 int
   9029 main ()
   9030 {
   9031 
   9032   ;
   9033   return 0;
   9034 }
   9035 _ACEOF
   9036 if ac_fn_c_try_link "$LINENO"; then :
   9037   eval $cacheid=yes
   9038 else
   9039   eval $cacheid=no
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext \
   9042     conftest$ac_exeext conftest.$ac_ext
   9043 fi
   9044 
   9045 
   9046 		CFLAGS="$xorg_testset_save_CFLAGS"
   9047 
   9048 		eval supported=\$$cacheid
   9049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9050 $as_echo "$supported" >&6; }
   9051 		if test "$supported" = "yes" ; then
   9052 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9053 			found="yes"
   9054 		fi
   9055 	fi
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 xorg_testset_save_CFLAGS="$CFLAGS"
   9072 
   9073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9078   $as_echo_n "(cached) " >&6
   9079 else
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 _ACEOF
   9084 if ac_fn_c_try_compile "$LINENO"; then :
   9085   xorg_cv_cc_flag_unknown_warning_option=yes
   9086 else
   9087   xorg_cv_cc_flag_unknown_warning_option=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9090 fi
   9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9094 	CFLAGS="$xorg_testset_save_CFLAGS"
   9095 fi
   9096 
   9097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9100 	fi
   9101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9105   $as_echo_n "(cached) " >&6
   9106 else
   9107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9108 /* end confdefs.h.  */
   9109 int i;
   9110 _ACEOF
   9111 if ac_fn_c_try_compile "$LINENO"; then :
   9112   xorg_cv_cc_flag_unused_command_line_argument=yes
   9113 else
   9114   xorg_cv_cc_flag_unused_command_line_argument=no
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9117 fi
   9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9121 	CFLAGS="$xorg_testset_save_CFLAGS"
   9122 fi
   9123 
   9124 found="no"
   9125 
   9126 	if test $found = "no" ; then
   9127 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9129 		fi
   9130 
   9131 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9133 		fi
   9134 
   9135 		CFLAGS="$CFLAGS -Waddress"
   9136 
   9137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9138 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9139 		cacheid=xorg_cv_cc_flag__Waddress
   9140 		if eval \${$cacheid+:} false; then :
   9141   $as_echo_n "(cached) " >&6
   9142 else
   9143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9144 /* end confdefs.h.  */
   9145 int i;
   9146 int
   9147 main ()
   9148 {
   9149 
   9150   ;
   9151   return 0;
   9152 }
   9153 _ACEOF
   9154 if ac_fn_c_try_link "$LINENO"; then :
   9155   eval $cacheid=yes
   9156 else
   9157   eval $cacheid=no
   9158 fi
   9159 rm -f core conftest.err conftest.$ac_objext \
   9160     conftest$ac_exeext conftest.$ac_ext
   9161 fi
   9162 
   9163 
   9164 		CFLAGS="$xorg_testset_save_CFLAGS"
   9165 
   9166 		eval supported=\$$cacheid
   9167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9168 $as_echo "$supported" >&6; }
   9169 		if test "$supported" = "yes" ; then
   9170 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9171 			found="yes"
   9172 		fi
   9173 	fi
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 xorg_testset_save_CFLAGS="$CFLAGS"
   9190 
   9191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9196   $as_echo_n "(cached) " >&6
   9197 else
   9198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9199 /* end confdefs.h.  */
   9200 int i;
   9201 _ACEOF
   9202 if ac_fn_c_try_compile "$LINENO"; then :
   9203   xorg_cv_cc_flag_unknown_warning_option=yes
   9204 else
   9205   xorg_cv_cc_flag_unknown_warning_option=no
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9208 fi
   9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9212 	CFLAGS="$xorg_testset_save_CFLAGS"
   9213 fi
   9214 
   9215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	fi
   9219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9223   $as_echo_n "(cached) " >&6
   9224 else
   9225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9226 /* end confdefs.h.  */
   9227 int i;
   9228 _ACEOF
   9229 if ac_fn_c_try_compile "$LINENO"; then :
   9230   xorg_cv_cc_flag_unused_command_line_argument=yes
   9231 else
   9232   xorg_cv_cc_flag_unused_command_line_argument=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9235 fi
   9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9239 	CFLAGS="$xorg_testset_save_CFLAGS"
   9240 fi
   9241 
   9242 found="no"
   9243 
   9244 	if test $found = "no" ; then
   9245 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9247 		fi
   9248 
   9249 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9251 		fi
   9252 
   9253 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9254 
   9255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9256 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9257 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9258 		if eval \${$cacheid+:} false; then :
   9259   $as_echo_n "(cached) " >&6
   9260 else
   9261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9262 /* end confdefs.h.  */
   9263 int i;
   9264 int
   9265 main ()
   9266 {
   9267 
   9268   ;
   9269   return 0;
   9270 }
   9271 _ACEOF
   9272 if ac_fn_c_try_link "$LINENO"; then :
   9273   eval $cacheid=yes
   9274 else
   9275   eval $cacheid=no
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext \
   9278     conftest$ac_exeext conftest.$ac_ext
   9279 fi
   9280 
   9281 
   9282 		CFLAGS="$xorg_testset_save_CFLAGS"
   9283 
   9284 		eval supported=\$$cacheid
   9285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9286 $as_echo "$supported" >&6; }
   9287 		if test "$supported" = "yes" ; then
   9288 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9289 			found="yes"
   9290 		fi
   9291 	fi
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 xorg_testset_save_CFLAGS="$CFLAGS"
   9308 
   9309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9314   $as_echo_n "(cached) " >&6
   9315 else
   9316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9317 /* end confdefs.h.  */
   9318 int i;
   9319 _ACEOF
   9320 if ac_fn_c_try_compile "$LINENO"; then :
   9321   xorg_cv_cc_flag_unknown_warning_option=yes
   9322 else
   9323   xorg_cv_cc_flag_unknown_warning_option=no
   9324 fi
   9325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9326 fi
   9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9330 	CFLAGS="$xorg_testset_save_CFLAGS"
   9331 fi
   9332 
   9333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9336 	fi
   9337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9341   $as_echo_n "(cached) " >&6
   9342 else
   9343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9344 /* end confdefs.h.  */
   9345 int i;
   9346 _ACEOF
   9347 if ac_fn_c_try_compile "$LINENO"; then :
   9348   xorg_cv_cc_flag_unused_command_line_argument=yes
   9349 else
   9350   xorg_cv_cc_flag_unused_command_line_argument=no
   9351 fi
   9352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9353 fi
   9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9357 	CFLAGS="$xorg_testset_save_CFLAGS"
   9358 fi
   9359 
   9360 found="no"
   9361 
   9362 	if test $found = "no" ; then
   9363 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9365 		fi
   9366 
   9367 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9369 		fi
   9370 
   9371 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9372 
   9373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9374 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9375 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9376 		if eval \${$cacheid+:} false; then :
   9377   $as_echo_n "(cached) " >&6
   9378 else
   9379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9380 /* end confdefs.h.  */
   9381 int i;
   9382 int
   9383 main ()
   9384 {
   9385 
   9386   ;
   9387   return 0;
   9388 }
   9389 _ACEOF
   9390 if ac_fn_c_try_link "$LINENO"; then :
   9391   eval $cacheid=yes
   9392 else
   9393   eval $cacheid=no
   9394 fi
   9395 rm -f core conftest.err conftest.$ac_objext \
   9396     conftest$ac_exeext conftest.$ac_ext
   9397 fi
   9398 
   9399 
   9400 		CFLAGS="$xorg_testset_save_CFLAGS"
   9401 
   9402 		eval supported=\$$cacheid
   9403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9404 $as_echo "$supported" >&6; }
   9405 		if test "$supported" = "yes" ; then
   9406 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9407 			found="yes"
   9408 		fi
   9409 	fi
   9410 
   9411 
   9412 fi
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 		CWARNFLAGS="$BASE_CFLAGS"
   9421 		if  test "x$GCC" = xyes ; then
   9422 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9423 		fi
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 # Check whether --enable-strict-compilation was given.
   9433 if test "${enable_strict_compilation+set}" = set; then :
   9434   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9435 else
   9436   STRICT_COMPILE=no
   9437 fi
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 STRICT_CFLAGS=""
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 xorg_testset_save_CFLAGS="$CFLAGS"
   9459 
   9460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9463 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9464 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9465   $as_echo_n "(cached) " >&6
   9466 else
   9467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9468 /* end confdefs.h.  */
   9469 int i;
   9470 _ACEOF
   9471 if ac_fn_c_try_compile "$LINENO"; then :
   9472   xorg_cv_cc_flag_unknown_warning_option=yes
   9473 else
   9474   xorg_cv_cc_flag_unknown_warning_option=no
   9475 fi
   9476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9477 fi
   9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9479 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9481 	CFLAGS="$xorg_testset_save_CFLAGS"
   9482 fi
   9483 
   9484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9487 	fi
   9488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9490 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9491 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9492   $as_echo_n "(cached) " >&6
   9493 else
   9494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9495 /* end confdefs.h.  */
   9496 int i;
   9497 _ACEOF
   9498 if ac_fn_c_try_compile "$LINENO"; then :
   9499   xorg_cv_cc_flag_unused_command_line_argument=yes
   9500 else
   9501   xorg_cv_cc_flag_unused_command_line_argument=no
   9502 fi
   9503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9504 fi
   9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9506 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9508 	CFLAGS="$xorg_testset_save_CFLAGS"
   9509 fi
   9510 
   9511 found="no"
   9512 
   9513 	if test $found = "no" ; then
   9514 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9516 		fi
   9517 
   9518 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9520 		fi
   9521 
   9522 		CFLAGS="$CFLAGS -pedantic"
   9523 
   9524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   9525 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9526 		cacheid=xorg_cv_cc_flag__pedantic
   9527 		if eval \${$cacheid+:} false; then :
   9528   $as_echo_n "(cached) " >&6
   9529 else
   9530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9531 /* end confdefs.h.  */
   9532 int i;
   9533 int
   9534 main ()
   9535 {
   9536 
   9537   ;
   9538   return 0;
   9539 }
   9540 _ACEOF
   9541 if ac_fn_c_try_link "$LINENO"; then :
   9542   eval $cacheid=yes
   9543 else
   9544   eval $cacheid=no
   9545 fi
   9546 rm -f core conftest.err conftest.$ac_objext \
   9547     conftest$ac_exeext conftest.$ac_ext
   9548 fi
   9549 
   9550 
   9551 		CFLAGS="$xorg_testset_save_CFLAGS"
   9552 
   9553 		eval supported=\$$cacheid
   9554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9555 $as_echo "$supported" >&6; }
   9556 		if test "$supported" = "yes" ; then
   9557 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9558 			found="yes"
   9559 		fi
   9560 	fi
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 xorg_testset_save_CFLAGS="$CFLAGS"
   9577 
   9578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9581 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9582 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9583   $as_echo_n "(cached) " >&6
   9584 else
   9585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9586 /* end confdefs.h.  */
   9587 int i;
   9588 _ACEOF
   9589 if ac_fn_c_try_compile "$LINENO"; then :
   9590   xorg_cv_cc_flag_unknown_warning_option=yes
   9591 else
   9592   xorg_cv_cc_flag_unknown_warning_option=no
   9593 fi
   9594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9595 fi
   9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9597 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9599 	CFLAGS="$xorg_testset_save_CFLAGS"
   9600 fi
   9601 
   9602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9605 	fi
   9606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9608 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9609 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9610   $as_echo_n "(cached) " >&6
   9611 else
   9612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9613 /* end confdefs.h.  */
   9614 int i;
   9615 _ACEOF
   9616 if ac_fn_c_try_compile "$LINENO"; then :
   9617   xorg_cv_cc_flag_unused_command_line_argument=yes
   9618 else
   9619   xorg_cv_cc_flag_unused_command_line_argument=no
   9620 fi
   9621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9622 fi
   9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9624 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9626 	CFLAGS="$xorg_testset_save_CFLAGS"
   9627 fi
   9628 
   9629 found="no"
   9630 
   9631 	if test $found = "no" ; then
   9632 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9634 		fi
   9635 
   9636 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9638 		fi
   9639 
   9640 		CFLAGS="$CFLAGS -Werror"
   9641 
   9642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9643 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9644 		cacheid=xorg_cv_cc_flag__Werror
   9645 		if eval \${$cacheid+:} false; then :
   9646   $as_echo_n "(cached) " >&6
   9647 else
   9648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9649 /* end confdefs.h.  */
   9650 int i;
   9651 int
   9652 main ()
   9653 {
   9654 
   9655   ;
   9656   return 0;
   9657 }
   9658 _ACEOF
   9659 if ac_fn_c_try_link "$LINENO"; then :
   9660   eval $cacheid=yes
   9661 else
   9662   eval $cacheid=no
   9663 fi
   9664 rm -f core conftest.err conftest.$ac_objext \
   9665     conftest$ac_exeext conftest.$ac_ext
   9666 fi
   9667 
   9668 
   9669 		CFLAGS="$xorg_testset_save_CFLAGS"
   9670 
   9671 		eval supported=\$$cacheid
   9672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9673 $as_echo "$supported" >&6; }
   9674 		if test "$supported" = "yes" ; then
   9675 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   9676 			found="yes"
   9677 		fi
   9678 	fi
   9679 
   9680 	if test $found = "no" ; then
   9681 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9683 		fi
   9684 
   9685 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9687 		fi
   9688 
   9689 		CFLAGS="$CFLAGS -errwarn"
   9690 
   9691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   9692 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   9693 		cacheid=xorg_cv_cc_flag__errwarn
   9694 		if eval \${$cacheid+:} false; then :
   9695   $as_echo_n "(cached) " >&6
   9696 else
   9697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9698 /* end confdefs.h.  */
   9699 int i;
   9700 int
   9701 main ()
   9702 {
   9703 
   9704   ;
   9705   return 0;
   9706 }
   9707 _ACEOF
   9708 if ac_fn_c_try_link "$LINENO"; then :
   9709   eval $cacheid=yes
   9710 else
   9711   eval $cacheid=no
   9712 fi
   9713 rm -f core conftest.err conftest.$ac_objext \
   9714     conftest$ac_exeext conftest.$ac_ext
   9715 fi
   9716 
   9717 
   9718 		CFLAGS="$xorg_testset_save_CFLAGS"
   9719 
   9720 		eval supported=\$$cacheid
   9721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9722 $as_echo "$supported" >&6; }
   9723 		if test "$supported" = "yes" ; then
   9724 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   9725 			found="yes"
   9726 		fi
   9727 	fi
   9728 
   9729 
   9730 
   9731 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   9732 # activate it with -Werror, so we add it here explicitly.
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 xorg_testset_save_CFLAGS="$CFLAGS"
   9747 
   9748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9751 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9752 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9753   $as_echo_n "(cached) " >&6
   9754 else
   9755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9756 /* end confdefs.h.  */
   9757 int i;
   9758 _ACEOF
   9759 if ac_fn_c_try_compile "$LINENO"; then :
   9760   xorg_cv_cc_flag_unknown_warning_option=yes
   9761 else
   9762   xorg_cv_cc_flag_unknown_warning_option=no
   9763 fi
   9764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9765 fi
   9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9767 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9769 	CFLAGS="$xorg_testset_save_CFLAGS"
   9770 fi
   9771 
   9772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9775 	fi
   9776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9777 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9778 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9779 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9783 /* end confdefs.h.  */
   9784 int i;
   9785 _ACEOF
   9786 if ac_fn_c_try_compile "$LINENO"; then :
   9787   xorg_cv_cc_flag_unused_command_line_argument=yes
   9788 else
   9789   xorg_cv_cc_flag_unused_command_line_argument=no
   9790 fi
   9791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9792 fi
   9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9794 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9796 	CFLAGS="$xorg_testset_save_CFLAGS"
   9797 fi
   9798 
   9799 found="no"
   9800 
   9801 	if test $found = "no" ; then
   9802 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9804 		fi
   9805 
   9806 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9808 		fi
   9809 
   9810 		CFLAGS="$CFLAGS -Werror=attributes"
   9811 
   9812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   9813 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   9814 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   9815 		if eval \${$cacheid+:} false; then :
   9816   $as_echo_n "(cached) " >&6
   9817 else
   9818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9819 /* end confdefs.h.  */
   9820 int i;
   9821 int
   9822 main ()
   9823 {
   9824 
   9825   ;
   9826   return 0;
   9827 }
   9828 _ACEOF
   9829 if ac_fn_c_try_link "$LINENO"; then :
   9830   eval $cacheid=yes
   9831 else
   9832   eval $cacheid=no
   9833 fi
   9834 rm -f core conftest.err conftest.$ac_objext \
   9835     conftest$ac_exeext conftest.$ac_ext
   9836 fi
   9837 
   9838 
   9839 		CFLAGS="$xorg_testset_save_CFLAGS"
   9840 
   9841 		eval supported=\$$cacheid
   9842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9843 $as_echo "$supported" >&6; }
   9844 		if test "$supported" = "yes" ; then
   9845 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   9846 			found="yes"
   9847 		fi
   9848 	fi
   9849 
   9850 
   9851 
   9852 if test "x$STRICT_COMPILE" = "xyes"; then
   9853     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   9854     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   9855 fi
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 cat >>confdefs.h <<_ACEOF
   9863 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   9864 _ACEOF
   9865 
   9866 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   9867 	if test "x$PVM" = "x"; then
   9868 		PVM="0"
   9869 	fi
   9870 
   9871 cat >>confdefs.h <<_ACEOF
   9872 #define PACKAGE_VERSION_MINOR $PVM
   9873 _ACEOF
   9874 
   9875 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   9876 	if test "x$PVP" = "x"; then
   9877 		PVP="0"
   9878 	fi
   9879 
   9880 cat >>confdefs.h <<_ACEOF
   9881 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   9882 _ACEOF
   9883 
   9884 
   9885 
   9886 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   9887 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   9888 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   9889 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   9890 
   9891 
   9892 
   9893 
   9894 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   9895 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   9896 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   9897 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   9898 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 if test x$APP_MAN_SUFFIX = x    ; then
   9906     APP_MAN_SUFFIX=1
   9907 fi
   9908 if test x$APP_MAN_DIR = x    ; then
   9909     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   9910 fi
   9911 
   9912 if test x$LIB_MAN_SUFFIX = x    ; then
   9913     LIB_MAN_SUFFIX=3
   9914 fi
   9915 if test x$LIB_MAN_DIR = x    ; then
   9916     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   9917 fi
   9918 
   9919 if test x$FILE_MAN_SUFFIX = x    ; then
   9920     case $host_os in
   9921 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   9922 	*)		FILE_MAN_SUFFIX=5  ;;
   9923     esac
   9924 fi
   9925 if test x$FILE_MAN_DIR = x    ; then
   9926     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   9927 fi
   9928 
   9929 if test x$MISC_MAN_SUFFIX = x    ; then
   9930     case $host_os in
   9931 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   9932 	*)		MISC_MAN_SUFFIX=7  ;;
   9933     esac
   9934 fi
   9935 if test x$MISC_MAN_DIR = x    ; then
   9936     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   9937 fi
   9938 
   9939 if test x$DRIVER_MAN_SUFFIX = x    ; then
   9940     case $host_os in
   9941 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   9942 	*)		DRIVER_MAN_SUFFIX=4  ;;
   9943     esac
   9944 fi
   9945 if test x$DRIVER_MAN_DIR = x    ; then
   9946     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   9947 fi
   9948 
   9949 if test x$ADMIN_MAN_SUFFIX = x    ; then
   9950     case $host_os in
   9951 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   9952 	*)		ADMIN_MAN_SUFFIX=8  ;;
   9953     esac
   9954 fi
   9955 if test x$ADMIN_MAN_DIR = x    ; then
   9956     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   9957 fi
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 XORG_MAN_PAGE="X Version 11"
   9974 
   9975 MAN_SUBSTS="\
   9976 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9977 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9978 	-e 's|__xservername__|Xorg|g' \
   9979 	-e 's|__xconfigfile__|xorg.conf|g' \
   9980 	-e 's|__projectroot__|\$(prefix)|g' \
   9981 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   9982 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   9983 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   9984 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   9985 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   9986 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   9987 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   9988 
   9989 
   9990 
   9991 # Check whether --enable-silent-rules was given.
   9992 if test "${enable_silent_rules+set}" = set; then :
   9993   enableval=$enable_silent_rules;
   9994 fi
   9995 
   9996 case $enable_silent_rules in
   9997 yes) AM_DEFAULT_VERBOSITY=0;;
   9998 no)  AM_DEFAULT_VERBOSITY=1;;
   9999 *)   AM_DEFAULT_VERBOSITY=0;;
   10000 esac
   10001 am_make=${MAKE-make}
   10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10003 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10004 if ${am_cv_make_support_nested_variables+:} false; then :
   10005   $as_echo_n "(cached) " >&6
   10006 else
   10007   if $as_echo 'TRUE=$(BAR$(V))
   10008 BAR0=false
   10009 BAR1=true
   10010 V=1
   10011 am__doit:
   10012 	@$(TRUE)
   10013 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10014   am_cv_make_support_nested_variables=yes
   10015 else
   10016   am_cv_make_support_nested_variables=no
   10017 fi
   10018 fi
   10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10020 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10021 if test $am_cv_make_support_nested_variables = yes; then
   10022     AM_V='$(V)'
   10023   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10024 else
   10025   AM_V=$AM_DEFAULT_VERBOSITY
   10026   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10027 fi
   10028 AM_BACKSLASH='\'
   10029 
   10030 
   10031 
   10032 ac_aux_dir=
   10033 for ac_dir in . "$srcdir"/.; do
   10034   if test -f "$ac_dir/install-sh"; then
   10035     ac_aux_dir=$ac_dir
   10036     ac_install_sh="$ac_aux_dir/install-sh -c"
   10037     break
   10038   elif test -f "$ac_dir/install.sh"; then
   10039     ac_aux_dir=$ac_dir
   10040     ac_install_sh="$ac_aux_dir/install.sh -c"
   10041     break
   10042   elif test -f "$ac_dir/shtool"; then
   10043     ac_aux_dir=$ac_dir
   10044     ac_install_sh="$ac_aux_dir/shtool install -c"
   10045     break
   10046   fi
   10047 done
   10048 if test -z "$ac_aux_dir"; then
   10049   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   10050 fi
   10051 
   10052 # These three variables are undocumented and unsupported,
   10053 # and are intended to be withdrawn in a future Autoconf release.
   10054 # They can cause serious problems if a builder's source tree is in a directory
   10055 # whose full name contains unusual characters.
   10056 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   10057 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   10058 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   10059 
   10060 
   10061 
   10062 # Initialize Automake
   10063 am__api_version='1.11'
   10064 
   10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   10066 $as_echo_n "checking whether build environment is sane... " >&6; }
   10067 # Just in case
   10068 sleep 1
   10069 echo timestamp > conftest.file
   10070 # Reject unsafe characters in $srcdir or the absolute working directory
   10071 # name.  Accept space and tab only in the latter.
   10072 am_lf='
   10073 '
   10074 case `pwd` in
   10075   *[\\\"\#\$\&\'\`$am_lf]*)
   10076     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   10077 esac
   10078 case $srcdir in
   10079   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   10080     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   10081 esac
   10082 
   10083 # Do `set' in a subshell so we don't clobber the current shell's
   10084 # arguments.  Must try -L first in case configure is actually a
   10085 # symlink; some systems play weird games with the mod time of symlinks
   10086 # (eg FreeBSD returns the mod time of the symlink's containing
   10087 # directory).
   10088 if (
   10089    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   10090    if test "$*" = "X"; then
   10091       # -L didn't work.
   10092       set X `ls -t "$srcdir/configure" conftest.file`
   10093    fi
   10094    rm -f conftest.file
   10095    if test "$*" != "X $srcdir/configure conftest.file" \
   10096       && test "$*" != "X conftest.file $srcdir/configure"; then
   10097 
   10098       # If neither matched, then we have a broken ls.  This can happen
   10099       # if, for instance, CONFIG_SHELL is bash and it inherits a
   10100       # broken ls alias from the environment.  This has actually
   10101       # happened.  Such a system could not be considered "sane".
   10102       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   10103 alias in your environment" "$LINENO" 5
   10104    fi
   10105 
   10106    test "$2" = conftest.file
   10107    )
   10108 then
   10109    # Ok.
   10110    :
   10111 else
   10112    as_fn_error $? "newly created file is older than distributed files!
   10113 Check your system clock" "$LINENO" 5
   10114 fi
   10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10116 $as_echo "yes" >&6; }
   10117 test "$program_prefix" != NONE &&
   10118   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   10119 # Use a double $ so make ignores it.
   10120 test "$program_suffix" != NONE &&
   10121   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   10122 # Double any \ or $.
   10123 # By default was `s,x,x', remove it if useless.
   10124 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   10125 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   10126 
   10127 # expand $ac_aux_dir to an absolute path
   10128 am_aux_dir=`cd $ac_aux_dir && pwd`
   10129 
   10130 if test x"${MISSING+set}" != xset; then
   10131   case $am_aux_dir in
   10132   *\ * | *\	*)
   10133     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   10134   *)
   10135     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   10136   esac
   10137 fi
   10138 # Use eval to expand $SHELL
   10139 if eval "$MISSING --run true"; then
   10140   am_missing_run="$MISSING --run "
   10141 else
   10142   am_missing_run=
   10143   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   10144 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   10145 fi
   10146 
   10147 if test x"${install_sh}" != xset; then
   10148   case $am_aux_dir in
   10149   *\ * | *\	*)
   10150     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   10151   *)
   10152     install_sh="\${SHELL} $am_aux_dir/install-sh"
   10153   esac
   10154 fi
   10155 
   10156 # Installed binaries are usually stripped using `strip' when the user
   10157 # run `make install-strip'.  However `strip' might not be the right
   10158 # tool to use in cross-compilation environments, therefore Automake
   10159 # will honor the `STRIP' environment variable to overrule this program.
   10160 if test "$cross_compiling" != no; then
   10161   if test -n "$ac_tool_prefix"; then
   10162   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   10163 set dummy ${ac_tool_prefix}strip; ac_word=$2
   10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10165 $as_echo_n "checking for $ac_word... " >&6; }
   10166 if ${ac_cv_prog_STRIP+:} false; then :
   10167   $as_echo_n "(cached) " >&6
   10168 else
   10169   if test -n "$STRIP"; then
   10170   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   10171 else
   10172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10173 for as_dir in $PATH
   10174 do
   10175   IFS=$as_save_IFS
   10176   test -z "$as_dir" && as_dir=.
   10177     for ac_exec_ext in '' $ac_executable_extensions; do
   10178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10179     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   10180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10181     break 2
   10182   fi
   10183 done
   10184   done
   10185 IFS=$as_save_IFS
   10186 
   10187 fi
   10188 fi
   10189 STRIP=$ac_cv_prog_STRIP
   10190 if test -n "$STRIP"; then
   10191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   10192 $as_echo "$STRIP" >&6; }
   10193 else
   10194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10195 $as_echo "no" >&6; }
   10196 fi
   10197 
   10198 
   10199 fi
   10200 if test -z "$ac_cv_prog_STRIP"; then
   10201   ac_ct_STRIP=$STRIP
   10202   # Extract the first word of "strip", so it can be a program name with args.
   10203 set dummy strip; ac_word=$2
   10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10205 $as_echo_n "checking for $ac_word... " >&6; }
   10206 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   10207   $as_echo_n "(cached) " >&6
   10208 else
   10209   if test -n "$ac_ct_STRIP"; then
   10210   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   10211 else
   10212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10213 for as_dir in $PATH
   10214 do
   10215   IFS=$as_save_IFS
   10216   test -z "$as_dir" && as_dir=.
   10217     for ac_exec_ext in '' $ac_executable_extensions; do
   10218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10219     ac_cv_prog_ac_ct_STRIP="strip"
   10220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10221     break 2
   10222   fi
   10223 done
   10224   done
   10225 IFS=$as_save_IFS
   10226 
   10227 fi
   10228 fi
   10229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   10230 if test -n "$ac_ct_STRIP"; then
   10231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   10232 $as_echo "$ac_ct_STRIP" >&6; }
   10233 else
   10234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10235 $as_echo "no" >&6; }
   10236 fi
   10237 
   10238   if test "x$ac_ct_STRIP" = x; then
   10239     STRIP=":"
   10240   else
   10241     case $cross_compiling:$ac_tool_warned in
   10242 yes:)
   10243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10245 ac_tool_warned=yes ;;
   10246 esac
   10247     STRIP=$ac_ct_STRIP
   10248   fi
   10249 else
   10250   STRIP="$ac_cv_prog_STRIP"
   10251 fi
   10252 
   10253 fi
   10254 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   10255 
   10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   10257 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   10258 if test -z "$MKDIR_P"; then
   10259   if ${ac_cv_path_mkdir+:} false; then :
   10260   $as_echo_n "(cached) " >&6
   10261 else
   10262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10263 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   10264 do
   10265   IFS=$as_save_IFS
   10266   test -z "$as_dir" && as_dir=.
   10267     for ac_prog in mkdir gmkdir; do
   10268 	 for ac_exec_ext in '' $ac_executable_extensions; do
   10269 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   10270 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   10271 	     'mkdir (GNU coreutils) '* | \
   10272 	     'mkdir (coreutils) '* | \
   10273 	     'mkdir (fileutils) '4.1*)
   10274 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   10275 	       break 3;;
   10276 	   esac
   10277 	 done
   10278        done
   10279   done
   10280 IFS=$as_save_IFS
   10281 
   10282 fi
   10283 
   10284   test -d ./--version && rmdir ./--version
   10285   if test "${ac_cv_path_mkdir+set}" = set; then
   10286     MKDIR_P="$ac_cv_path_mkdir -p"
   10287   else
   10288     # As a last resort, use the slow shell script.  Don't cache a
   10289     # value for MKDIR_P within a source directory, because that will
   10290     # break other packages using the cache if that directory is
   10291     # removed, or if the value is a relative name.
   10292     MKDIR_P="$ac_install_sh -d"
   10293   fi
   10294 fi
   10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   10296 $as_echo "$MKDIR_P" >&6; }
   10297 
   10298 mkdir_p="$MKDIR_P"
   10299 case $mkdir_p in
   10300   [\\/$]* | ?:[\\/]*) ;;
   10301   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   10302 esac
   10303 
   10304 for ac_prog in gawk mawk nawk awk
   10305 do
   10306   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10307 set dummy $ac_prog; ac_word=$2
   10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10309 $as_echo_n "checking for $ac_word... " >&6; }
   10310 if ${ac_cv_prog_AWK+:} false; then :
   10311   $as_echo_n "(cached) " >&6
   10312 else
   10313   if test -n "$AWK"; then
   10314   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   10315 else
   10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10317 for as_dir in $PATH
   10318 do
   10319   IFS=$as_save_IFS
   10320   test -z "$as_dir" && as_dir=.
   10321     for ac_exec_ext in '' $ac_executable_extensions; do
   10322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10323     ac_cv_prog_AWK="$ac_prog"
   10324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10325     break 2
   10326   fi
   10327 done
   10328   done
   10329 IFS=$as_save_IFS
   10330 
   10331 fi
   10332 fi
   10333 AWK=$ac_cv_prog_AWK
   10334 if test -n "$AWK"; then
   10335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   10336 $as_echo "$AWK" >&6; }
   10337 else
   10338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10339 $as_echo "no" >&6; }
   10340 fi
   10341 
   10342 
   10343   test -n "$AWK" && break
   10344 done
   10345 
   10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   10347 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   10348 set x ${MAKE-make}
   10349 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   10350 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   10351   $as_echo_n "(cached) " >&6
   10352 else
   10353   cat >conftest.make <<\_ACEOF
   10354 SHELL = /bin/sh
   10355 all:
   10356 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   10357 _ACEOF
   10358 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   10359 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   10360   *@@@%%%=?*=@@@%%%*)
   10361     eval ac_cv_prog_make_${ac_make}_set=yes;;
   10362   *)
   10363     eval ac_cv_prog_make_${ac_make}_set=no;;
   10364 esac
   10365 rm -f conftest.make
   10366 fi
   10367 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   10368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10369 $as_echo "yes" >&6; }
   10370   SET_MAKE=
   10371 else
   10372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10373 $as_echo "no" >&6; }
   10374   SET_MAKE="MAKE=${MAKE-make}"
   10375 fi
   10376 
   10377 rm -rf .tst 2>/dev/null
   10378 mkdir .tst 2>/dev/null
   10379 if test -d .tst; then
   10380   am__leading_dot=.
   10381 else
   10382   am__leading_dot=_
   10383 fi
   10384 rmdir .tst 2>/dev/null
   10385 
   10386 DEPDIR="${am__leading_dot}deps"
   10387 
   10388 ac_config_commands="$ac_config_commands depfiles"
   10389 
   10390 
   10391 am_make=${MAKE-make}
   10392 cat > confinc << 'END'
   10393 am__doit:
   10394 	@echo this is the am__doit target
   10395 .PHONY: am__doit
   10396 END
   10397 # If we don't find an include directive, just comment out the code.
   10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   10399 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   10400 am__include="#"
   10401 am__quote=
   10402 _am_result=none
   10403 # First try GNU make style include.
   10404 echo "include confinc" > confmf
   10405 # Ignore all kinds of additional output from `make'.
   10406 case `$am_make -s -f confmf 2> /dev/null` in #(
   10407 *the\ am__doit\ target*)
   10408   am__include=include
   10409   am__quote=
   10410   _am_result=GNU
   10411   ;;
   10412 esac
   10413 # Now try BSD make style include.
   10414 if test "$am__include" = "#"; then
   10415    echo '.include "confinc"' > confmf
   10416    case `$am_make -s -f confmf 2> /dev/null` in #(
   10417    *the\ am__doit\ target*)
   10418      am__include=.include
   10419      am__quote="\""
   10420      _am_result=BSD
   10421      ;;
   10422    esac
   10423 fi
   10424 
   10425 
   10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   10427 $as_echo "$_am_result" >&6; }
   10428 rm -f confinc confmf
   10429 
   10430 # Check whether --enable-dependency-tracking was given.
   10431 if test "${enable_dependency_tracking+set}" = set; then :
   10432   enableval=$enable_dependency_tracking;
   10433 fi
   10434 
   10435 if test "x$enable_dependency_tracking" != xno; then
   10436   am_depcomp="$ac_aux_dir/depcomp"
   10437   AMDEPBACKSLASH='\'
   10438   am__nodep='_no'
   10439 fi
   10440  if test "x$enable_dependency_tracking" != xno; then
   10441   AMDEP_TRUE=
   10442   AMDEP_FALSE='#'
   10443 else
   10444   AMDEP_TRUE='#'
   10445   AMDEP_FALSE=
   10446 fi
   10447 
   10448 
   10449 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   10450   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   10451   # is not polluted with repeated "-I."
   10452   am__isrc=' -I$(srcdir)'
   10453   # test to see if srcdir already configured
   10454   if test -f $srcdir/config.status; then
   10455     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   10456   fi
   10457 fi
   10458 
   10459 # test whether we have cygpath
   10460 if test -z "$CYGPATH_W"; then
   10461   if (cygpath --version) >/dev/null 2>/dev/null; then
   10462     CYGPATH_W='cygpath -w'
   10463   else
   10464     CYGPATH_W=echo
   10465   fi
   10466 fi
   10467 
   10468 
   10469 # Define the identity of the package.
   10470  PACKAGE='xf86-video-nv'
   10471  VERSION='2.1.20'
   10472 
   10473 
   10474 cat >>confdefs.h <<_ACEOF
   10475 #define PACKAGE "$PACKAGE"
   10476 _ACEOF
   10477 
   10478 
   10479 cat >>confdefs.h <<_ACEOF
   10480 #define VERSION "$VERSION"
   10481 _ACEOF
   10482 
   10483 # Some tools Automake needs.
   10484 
   10485 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   10486 
   10487 
   10488 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   10489 
   10490 
   10491 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   10492 
   10493 
   10494 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   10495 
   10496 
   10497 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   10498 
   10499 # We need awk for the "check" target.  The system "awk" is bad on
   10500 # some platforms.
   10501 # Always define AMTAR for backward compatibility.  Yes, it's still used
   10502 # in the wild :-(  We should find a proper way to deprecate it ...
   10503 AMTAR='$${TAR-tar}'
   10504 
   10505 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   10506 
   10507 
   10508 
   10509 
   10510 depcc="$CC"   am_compiler_list=
   10511 
   10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   10513 $as_echo_n "checking dependency style of $depcc... " >&6; }
   10514 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   10515   $as_echo_n "(cached) " >&6
   10516 else
   10517   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   10518   # We make a subdir and do the tests there.  Otherwise we can end up
   10519   # making bogus files that we don't know about and never remove.  For
   10520   # instance it was reported that on HP-UX the gcc test will end up
   10521   # making a dummy file named `D' -- because `-MD' means `put the output
   10522   # in D'.
   10523   rm -rf conftest.dir
   10524   mkdir conftest.dir
   10525   # Copy depcomp to subdir because otherwise we won't find it if we're
   10526   # using a relative directory.
   10527   cp "$am_depcomp" conftest.dir
   10528   cd conftest.dir
   10529   # We will build objects and dependencies in a subdirectory because
   10530   # it helps to detect inapplicable dependency modes.  For instance
   10531   # both Tru64's cc and ICC support -MD to output dependencies as a
   10532   # side effect of compilation, but ICC will put the dependencies in
   10533   # the current directory while Tru64 will put them in the object
   10534   # directory.
   10535   mkdir sub
   10536 
   10537   am_cv_CC_dependencies_compiler_type=none
   10538   if test "$am_compiler_list" = ""; then
   10539      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   10540   fi
   10541   am__universal=false
   10542   case " $depcc " in #(
   10543      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   10544      esac
   10545 
   10546   for depmode in $am_compiler_list; do
   10547     # Setup a source with many dependencies, because some compilers
   10548     # like to wrap large dependency lists on column 80 (with \), and
   10549     # we should not choose a depcomp mode which is confused by this.
   10550     #
   10551     # We need to recreate these files for each test, as the compiler may
   10552     # overwrite some of them when testing with obscure command lines.
   10553     # This happens at least with the AIX C compiler.
   10554     : > sub/conftest.c
   10555     for i in 1 2 3 4 5 6; do
   10556       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   10557       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   10558       # Solaris 8's {/usr,}/bin/sh.
   10559       touch sub/conftst$i.h
   10560     done
   10561     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   10562 
   10563     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   10564     # mode.  It turns out that the SunPro C++ compiler does not properly
   10565     # handle `-M -o', and we need to detect this.  Also, some Intel
   10566     # versions had trouble with output in subdirs
   10567     am__obj=sub/conftest.${OBJEXT-o}
   10568     am__minus_obj="-o $am__obj"
   10569     case $depmode in
   10570     gcc)
   10571       # This depmode causes a compiler race in universal mode.
   10572       test "$am__universal" = false || continue
   10573       ;;
   10574     nosideeffect)
   10575       # after this tag, mechanisms are not by side-effect, so they'll
   10576       # only be used when explicitly requested
   10577       if test "x$enable_dependency_tracking" = xyes; then
   10578 	continue
   10579       else
   10580 	break
   10581       fi
   10582       ;;
   10583     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   10584       # This compiler won't grok `-c -o', but also, the minuso test has
   10585       # not run yet.  These depmodes are late enough in the game, and
   10586       # so weak that their functioning should not be impacted.
   10587       am__obj=conftest.${OBJEXT-o}
   10588       am__minus_obj=
   10589       ;;
   10590     none) break ;;
   10591     esac
   10592     if depmode=$depmode \
   10593        source=sub/conftest.c object=$am__obj \
   10594        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   10595        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   10596          >/dev/null 2>conftest.err &&
   10597        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   10598        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   10599        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   10600        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   10601       # icc doesn't choke on unknown options, it will just issue warnings
   10602       # or remarks (even with -Werror).  So we grep stderr for any message
   10603       # that says an option was ignored or not supported.
   10604       # When given -MP, icc 7.0 and 7.1 complain thusly:
   10605       #   icc: Command line warning: ignoring option '-M'; no argument required
   10606       # The diagnosis changed in icc 8.0:
   10607       #   icc: Command line remark: option '-MP' not supported
   10608       if (grep 'ignoring option' conftest.err ||
   10609           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   10610         am_cv_CC_dependencies_compiler_type=$depmode
   10611         break
   10612       fi
   10613     fi
   10614   done
   10615 
   10616   cd ..
   10617   rm -rf conftest.dir
   10618 else
   10619   am_cv_CC_dependencies_compiler_type=none
   10620 fi
   10621 
   10622 fi
   10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   10624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   10625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   10626 
   10627  if
   10628   test "x$enable_dependency_tracking" != xno \
   10629   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   10630   am__fastdepCC_TRUE=
   10631   am__fastdepCC_FALSE='#'
   10632 else
   10633   am__fastdepCC_TRUE='#'
   10634   am__fastdepCC_FALSE=
   10635 fi
   10636 
   10637 
   10638 
   10639 
   10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   10641 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   10642     # Check whether --enable-maintainer-mode was given.
   10643 if test "${enable_maintainer_mode+set}" = set; then :
   10644   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   10645 else
   10646   USE_MAINTAINER_MODE=no
   10647 fi
   10648 
   10649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   10650 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   10651    if test $USE_MAINTAINER_MODE = yes; then
   10652   MAINTAINER_MODE_TRUE=
   10653   MAINTAINER_MODE_FALSE='#'
   10654 else
   10655   MAINTAINER_MODE_TRUE='#'
   10656   MAINTAINER_MODE_FALSE=
   10657 fi
   10658 
   10659   MAINT=$MAINTAINER_MODE_TRUE
   10660 
   10661 
   10662 
   10663 # Initialize libtool
   10664 # Check whether --enable-static was given.
   10665 if test "${enable_static+set}" = set; then :
   10666   enableval=$enable_static; p=${PACKAGE-default}
   10667     case $enableval in
   10668     yes) enable_static=yes ;;
   10669     no) enable_static=no ;;
   10670     *)
   10671      enable_static=no
   10672       # Look at the argument we got.  We use all the common list separators.
   10673       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10674       for pkg in $enableval; do
   10675 	IFS="$lt_save_ifs"
   10676 	if test "X$pkg" = "X$p"; then
   10677 	  enable_static=yes
   10678 	fi
   10679       done
   10680       IFS="$lt_save_ifs"
   10681       ;;
   10682     esac
   10683 else
   10684   enable_static=no
   10685 fi
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 case `pwd` in
   10696   *\ * | *\	*)
   10697     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10698 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10699 esac
   10700 
   10701 
   10702 
   10703 macro_version='2.4.2'
   10704 macro_revision='1.3337'
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 ltmain="$ac_aux_dir/ltmain.sh"
   10719 
   10720 # Backslashify metacharacters that are still active within
   10721 # double-quoted strings.
   10722 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10723 
   10724 # Same as above, but do not quote variable references.
   10725 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10726 
   10727 # Sed substitution to delay expansion of an escaped shell variable in a
   10728 # double_quote_subst'ed string.
   10729 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10730 
   10731 # Sed substitution to delay expansion of an escaped single quote.
   10732 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10733 
   10734 # Sed substitution to avoid accidental globbing in evaled expressions
   10735 no_glob_subst='s/\*/\\\*/g'
   10736 
   10737 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10738 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10739 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10740 
   10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10742 $as_echo_n "checking how to print strings... " >&6; }
   10743 # Test print first, because it will be a builtin if present.
   10744 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10745    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10746   ECHO='print -r --'
   10747 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10748   ECHO='printf %s\n'
   10749 else
   10750   # Use this function as a fallback that always works.
   10751   func_fallback_echo ()
   10752   {
   10753     eval 'cat <<_LTECHO_EOF
   10754 $1
   10755 _LTECHO_EOF'
   10756   }
   10757   ECHO='func_fallback_echo'
   10758 fi
   10759 
   10760 # func_echo_all arg...
   10761 # Invoke $ECHO with all args, space-separated.
   10762 func_echo_all ()
   10763 {
   10764     $ECHO ""
   10765 }
   10766 
   10767 case "$ECHO" in
   10768   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10769 $as_echo "printf" >&6; } ;;
   10770   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10771 $as_echo "print -r" >&6; } ;;
   10772   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10773 $as_echo "cat" >&6; } ;;
   10774 esac
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10790 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10791 if ${ac_cv_path_SED+:} false; then :
   10792   $as_echo_n "(cached) " >&6
   10793 else
   10794             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10795      for ac_i in 1 2 3 4 5 6 7; do
   10796        ac_script="$ac_script$as_nl$ac_script"
   10797      done
   10798      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10799      { ac_script=; unset ac_script;}
   10800      if test -z "$SED"; then
   10801   ac_path_SED_found=false
   10802   # Loop through the user's path and test for each of PROGNAME-LIST
   10803   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10804 for as_dir in $PATH
   10805 do
   10806   IFS=$as_save_IFS
   10807   test -z "$as_dir" && as_dir=.
   10808     for ac_prog in sed gsed; do
   10809     for ac_exec_ext in '' $ac_executable_extensions; do
   10810       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10811       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   10812 # Check for GNU ac_path_SED and select it if it is found.
   10813   # Check for GNU $ac_path_SED
   10814 case `"$ac_path_SED" --version 2>&1` in
   10815 *GNU*)
   10816   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10817 *)
   10818   ac_count=0
   10819   $as_echo_n 0123456789 >"conftest.in"
   10820   while :
   10821   do
   10822     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10823     mv "conftest.tmp" "conftest.in"
   10824     cp "conftest.in" "conftest.nl"
   10825     $as_echo '' >> "conftest.nl"
   10826     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10827     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10828     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10829     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10830       # Best one so far, save it but keep looking for a better one
   10831       ac_cv_path_SED="$ac_path_SED"
   10832       ac_path_SED_max=$ac_count
   10833     fi
   10834     # 10*(2^10) chars as input seems more than enough
   10835     test $ac_count -gt 10 && break
   10836   done
   10837   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10838 esac
   10839 
   10840       $ac_path_SED_found && break 3
   10841     done
   10842   done
   10843   done
   10844 IFS=$as_save_IFS
   10845   if test -z "$ac_cv_path_SED"; then
   10846     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10847   fi
   10848 else
   10849   ac_cv_path_SED=$SED
   10850 fi
   10851 
   10852 fi
   10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10854 $as_echo "$ac_cv_path_SED" >&6; }
   10855  SED="$ac_cv_path_SED"
   10856   rm -f conftest.sed
   10857 
   10858 test -z "$SED" && SED=sed
   10859 Xsed="$SED -e 1s/^X//"
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10872 $as_echo_n "checking for fgrep... " >&6; }
   10873 if ${ac_cv_path_FGREP+:} false; then :
   10874   $as_echo_n "(cached) " >&6
   10875 else
   10876   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10877    then ac_cv_path_FGREP="$GREP -F"
   10878    else
   10879      if test -z "$FGREP"; then
   10880   ac_path_FGREP_found=false
   10881   # Loop through the user's path and test for each of PROGNAME-LIST
   10882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10883 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10884 do
   10885   IFS=$as_save_IFS
   10886   test -z "$as_dir" && as_dir=.
   10887     for ac_prog in fgrep; do
   10888     for ac_exec_ext in '' $ac_executable_extensions; do
   10889       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10890       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   10891 # Check for GNU ac_path_FGREP and select it if it is found.
   10892   # Check for GNU $ac_path_FGREP
   10893 case `"$ac_path_FGREP" --version 2>&1` in
   10894 *GNU*)
   10895   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10896 *)
   10897   ac_count=0
   10898   $as_echo_n 0123456789 >"conftest.in"
   10899   while :
   10900   do
   10901     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10902     mv "conftest.tmp" "conftest.in"
   10903     cp "conftest.in" "conftest.nl"
   10904     $as_echo 'FGREP' >> "conftest.nl"
   10905     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10906     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10907     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10908     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10909       # Best one so far, save it but keep looking for a better one
   10910       ac_cv_path_FGREP="$ac_path_FGREP"
   10911       ac_path_FGREP_max=$ac_count
   10912     fi
   10913     # 10*(2^10) chars as input seems more than enough
   10914     test $ac_count -gt 10 && break
   10915   done
   10916   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10917 esac
   10918 
   10919       $ac_path_FGREP_found && break 3
   10920     done
   10921   done
   10922   done
   10923 IFS=$as_save_IFS
   10924   if test -z "$ac_cv_path_FGREP"; then
   10925     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10926   fi
   10927 else
   10928   ac_cv_path_FGREP=$FGREP
   10929 fi
   10930 
   10931    fi
   10932 fi
   10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10934 $as_echo "$ac_cv_path_FGREP" >&6; }
   10935  FGREP="$ac_cv_path_FGREP"
   10936 
   10937 
   10938 test -z "$GREP" && GREP=grep
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 # Check whether --with-gnu-ld was given.
   10959 if test "${with_gnu_ld+set}" = set; then :
   10960   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10961 else
   10962   with_gnu_ld=no
   10963 fi
   10964 
   10965 ac_prog=ld
   10966 if test "$GCC" = yes; then
   10967   # Check if gcc -print-prog-name=ld gives a path.
   10968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10969 $as_echo_n "checking for ld used by $CC... " >&6; }
   10970   case $host in
   10971   *-*-mingw*)
   10972     # gcc leaves a trailing carriage return which upsets mingw
   10973     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10974   *)
   10975     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10976   esac
   10977   case $ac_prog in
   10978     # Accept absolute paths.
   10979     [\\/]* | ?:[\\/]*)
   10980       re_direlt='/[^/][^/]*/\.\./'
   10981       # Canonicalize the pathname of ld
   10982       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10983       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10984 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10985       done
   10986       test -z "$LD" && LD="$ac_prog"
   10987       ;;
   10988   "")
   10989     # If it fails, then pretend we aren't using GCC.
   10990     ac_prog=ld
   10991     ;;
   10992   *)
   10993     # If it is relative, then search for the first ld in PATH.
   10994     with_gnu_ld=unknown
   10995     ;;
   10996   esac
   10997 elif test "$with_gnu_ld" = yes; then
   10998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10999 $as_echo_n "checking for GNU ld... " >&6; }
   11000 else
   11001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11002 $as_echo_n "checking for non-GNU ld... " >&6; }
   11003 fi
   11004 if ${lt_cv_path_LD+:} false; then :
   11005   $as_echo_n "(cached) " >&6
   11006 else
   11007   if test -z "$LD"; then
   11008   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11009   for ac_dir in $PATH; do
   11010     IFS="$lt_save_ifs"
   11011     test -z "$ac_dir" && ac_dir=.
   11012     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11013       lt_cv_path_LD="$ac_dir/$ac_prog"
   11014       # Check to see if the program is GNU ld.  I'd rather use --version,
   11015       # but apparently some variants of GNU ld only accept -v.
   11016       # Break only if it was the GNU/non-GNU ld that we prefer.
   11017       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11018       *GNU* | *'with BFD'*)
   11019 	test "$with_gnu_ld" != no && break
   11020 	;;
   11021       *)
   11022 	test "$with_gnu_ld" != yes && break
   11023 	;;
   11024       esac
   11025     fi
   11026   done
   11027   IFS="$lt_save_ifs"
   11028 else
   11029   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11030 fi
   11031 fi
   11032 
   11033 LD="$lt_cv_path_LD"
   11034 if test -n "$LD"; then
   11035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11036 $as_echo "$LD" >&6; }
   11037 else
   11038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11039 $as_echo "no" >&6; }
   11040 fi
   11041 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11043 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11044 if ${lt_cv_prog_gnu_ld+:} false; then :
   11045   $as_echo_n "(cached) " >&6
   11046 else
   11047   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11048 case `$LD -v 2>&1 </dev/null` in
   11049 *GNU* | *'with BFD'*)
   11050   lt_cv_prog_gnu_ld=yes
   11051   ;;
   11052 *)
   11053   lt_cv_prog_gnu_ld=no
   11054   ;;
   11055 esac
   11056 fi
   11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11058 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11059 with_gnu_ld=$lt_cv_prog_gnu_ld
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11070 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11071 if ${lt_cv_path_NM+:} false; then :
   11072   $as_echo_n "(cached) " >&6
   11073 else
   11074   if test -n "$NM"; then
   11075   # Let the user override the test.
   11076   lt_cv_path_NM="$NM"
   11077 else
   11078   lt_nm_to_check="${ac_tool_prefix}nm"
   11079   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11080     lt_nm_to_check="$lt_nm_to_check nm"
   11081   fi
   11082   for lt_tmp_nm in $lt_nm_to_check; do
   11083     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11084     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11085       IFS="$lt_save_ifs"
   11086       test -z "$ac_dir" && ac_dir=.
   11087       tmp_nm="$ac_dir/$lt_tmp_nm"
   11088       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11089 	# Check to see if the nm accepts a BSD-compat flag.
   11090 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11091 	#   nm: unknown option "B" ignored
   11092 	# Tru64's nm complains that /dev/null is an invalid object file
   11093 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11094 	*/dev/null* | *'Invalid file or object type'*)
   11095 	  lt_cv_path_NM="$tmp_nm -B"
   11096 	  break
   11097 	  ;;
   11098 	*)
   11099 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11100 	  */dev/null*)
   11101 	    lt_cv_path_NM="$tmp_nm -p"
   11102 	    break
   11103 	    ;;
   11104 	  *)
   11105 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11106 	    continue # so that we can try to find one that supports BSD flags
   11107 	    ;;
   11108 	  esac
   11109 	  ;;
   11110 	esac
   11111       fi
   11112     done
   11113     IFS="$lt_save_ifs"
   11114   done
   11115   : ${lt_cv_path_NM=no}
   11116 fi
   11117 fi
   11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11119 $as_echo "$lt_cv_path_NM" >&6; }
   11120 if test "$lt_cv_path_NM" != "no"; then
   11121   NM="$lt_cv_path_NM"
   11122 else
   11123   # Didn't find any BSD compatible name lister, look for dumpbin.
   11124   if test -n "$DUMPBIN"; then :
   11125     # Let the user override the test.
   11126   else
   11127     if test -n "$ac_tool_prefix"; then
   11128   for ac_prog in dumpbin "link -dump"
   11129   do
   11130     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11133 $as_echo_n "checking for $ac_word... " >&6; }
   11134 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11135   $as_echo_n "(cached) " >&6
   11136 else
   11137   if test -n "$DUMPBIN"; then
   11138   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11139 else
   11140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11141 for as_dir in $PATH
   11142 do
   11143   IFS=$as_save_IFS
   11144   test -z "$as_dir" && as_dir=.
   11145     for ac_exec_ext in '' $ac_executable_extensions; do
   11146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11147     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11149     break 2
   11150   fi
   11151 done
   11152   done
   11153 IFS=$as_save_IFS
   11154 
   11155 fi
   11156 fi
   11157 DUMPBIN=$ac_cv_prog_DUMPBIN
   11158 if test -n "$DUMPBIN"; then
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11160 $as_echo "$DUMPBIN" >&6; }
   11161 else
   11162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11163 $as_echo "no" >&6; }
   11164 fi
   11165 
   11166 
   11167     test -n "$DUMPBIN" && break
   11168   done
   11169 fi
   11170 if test -z "$DUMPBIN"; then
   11171   ac_ct_DUMPBIN=$DUMPBIN
   11172   for ac_prog in dumpbin "link -dump"
   11173 do
   11174   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11175 set dummy $ac_prog; ac_word=$2
   11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11177 $as_echo_n "checking for $ac_word... " >&6; }
   11178 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11179   $as_echo_n "(cached) " >&6
   11180 else
   11181   if test -n "$ac_ct_DUMPBIN"; then
   11182   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11183 else
   11184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11185 for as_dir in $PATH
   11186 do
   11187   IFS=$as_save_IFS
   11188   test -z "$as_dir" && as_dir=.
   11189     for ac_exec_ext in '' $ac_executable_extensions; do
   11190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11191     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11193     break 2
   11194   fi
   11195 done
   11196   done
   11197 IFS=$as_save_IFS
   11198 
   11199 fi
   11200 fi
   11201 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11202 if test -n "$ac_ct_DUMPBIN"; then
   11203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11204 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11205 else
   11206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11207 $as_echo "no" >&6; }
   11208 fi
   11209 
   11210 
   11211   test -n "$ac_ct_DUMPBIN" && break
   11212 done
   11213 
   11214   if test "x$ac_ct_DUMPBIN" = x; then
   11215     DUMPBIN=":"
   11216   else
   11217     case $cross_compiling:$ac_tool_warned in
   11218 yes:)
   11219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11221 ac_tool_warned=yes ;;
   11222 esac
   11223     DUMPBIN=$ac_ct_DUMPBIN
   11224   fi
   11225 fi
   11226 
   11227     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11228     *COFF*)
   11229       DUMPBIN="$DUMPBIN -symbols"
   11230       ;;
   11231     *)
   11232       DUMPBIN=:
   11233       ;;
   11234     esac
   11235   fi
   11236 
   11237   if test "$DUMPBIN" != ":"; then
   11238     NM="$DUMPBIN"
   11239   fi
   11240 fi
   11241 test -z "$NM" && NM=nm
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11249 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11250 if ${lt_cv_nm_interface+:} false; then :
   11251   $as_echo_n "(cached) " >&6
   11252 else
   11253   lt_cv_nm_interface="BSD nm"
   11254   echo "int some_variable = 0;" > conftest.$ac_ext
   11255   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11256   (eval "$ac_compile" 2>conftest.err)
   11257   cat conftest.err >&5
   11258   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11259   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11260   cat conftest.err >&5
   11261   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11262   cat conftest.out >&5
   11263   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11264     lt_cv_nm_interface="MS dumpbin"
   11265   fi
   11266   rm -f conftest*
   11267 fi
   11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11269 $as_echo "$lt_cv_nm_interface" >&6; }
   11270 
   11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11272 $as_echo_n "checking whether ln -s works... " >&6; }
   11273 LN_S=$as_ln_s
   11274 if test "$LN_S" = "ln -s"; then
   11275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11276 $as_echo "yes" >&6; }
   11277 else
   11278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11279 $as_echo "no, using $LN_S" >&6; }
   11280 fi
   11281 
   11282 # find the maximum length of command line arguments
   11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11284 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11285 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11286   $as_echo_n "(cached) " >&6
   11287 else
   11288     i=0
   11289   teststring="ABCD"
   11290 
   11291   case $build_os in
   11292   msdosdjgpp*)
   11293     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11294     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11295     # during glob expansion).  Even if it were fixed, the result of this
   11296     # check would be larger than it should be.
   11297     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11298     ;;
   11299 
   11300   gnu*)
   11301     # Under GNU Hurd, this test is not required because there is
   11302     # no limit to the length of command line arguments.
   11303     # Libtool will interpret -1 as no limit whatsoever
   11304     lt_cv_sys_max_cmd_len=-1;
   11305     ;;
   11306 
   11307   cygwin* | mingw* | cegcc*)
   11308     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11309     # about 5 minutes as the teststring grows exponentially.
   11310     # Worse, since 9x/ME are not pre-emptively multitasking,
   11311     # you end up with a "frozen" computer, even though with patience
   11312     # the test eventually succeeds (with a max line length of 256k).
   11313     # Instead, let's just punt: use the minimum linelength reported by
   11314     # all of the supported platforms: 8192 (on NT/2K/XP).
   11315     lt_cv_sys_max_cmd_len=8192;
   11316     ;;
   11317 
   11318   mint*)
   11319     # On MiNT this can take a long time and run out of memory.
   11320     lt_cv_sys_max_cmd_len=8192;
   11321     ;;
   11322 
   11323   amigaos*)
   11324     # On AmigaOS with pdksh, this test takes hours, literally.
   11325     # So we just punt and use a minimum line length of 8192.
   11326     lt_cv_sys_max_cmd_len=8192;
   11327     ;;
   11328 
   11329   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11330     # This has been around since 386BSD, at least.  Likely further.
   11331     if test -x /sbin/sysctl; then
   11332       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11333     elif test -x /usr/sbin/sysctl; then
   11334       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11335     else
   11336       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11337     fi
   11338     # And add a safety zone
   11339     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11340     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11341     ;;
   11342 
   11343   interix*)
   11344     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11345     lt_cv_sys_max_cmd_len=196608
   11346     ;;
   11347 
   11348   os2*)
   11349     # The test takes a long time on OS/2.
   11350     lt_cv_sys_max_cmd_len=8192
   11351     ;;
   11352 
   11353   osf*)
   11354     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11355     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11356     # nice to cause kernel panics so lets avoid the loop below.
   11357     # First set a reasonable default.
   11358     lt_cv_sys_max_cmd_len=16384
   11359     #
   11360     if test -x /sbin/sysconfig; then
   11361       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11362         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11363       esac
   11364     fi
   11365     ;;
   11366   sco3.2v5*)
   11367     lt_cv_sys_max_cmd_len=102400
   11368     ;;
   11369   sysv5* | sco5v6* | sysv4.2uw2*)
   11370     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11371     if test -n "$kargmax"; then
   11372       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11373     else
   11374       lt_cv_sys_max_cmd_len=32768
   11375     fi
   11376     ;;
   11377   *)
   11378     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11379     if test -n "$lt_cv_sys_max_cmd_len"; then
   11380       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11381       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11382     else
   11383       # Make teststring a little bigger before we do anything with it.
   11384       # a 1K string should be a reasonable start.
   11385       for i in 1 2 3 4 5 6 7 8 ; do
   11386         teststring=$teststring$teststring
   11387       done
   11388       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11389       # If test is not a shell built-in, we'll probably end up computing a
   11390       # maximum length that is only half of the actual maximum length, but
   11391       # we can't tell.
   11392       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11393 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11394 	      test $i != 17 # 1/2 MB should be enough
   11395       do
   11396         i=`expr $i + 1`
   11397         teststring=$teststring$teststring
   11398       done
   11399       # Only check the string length outside the loop.
   11400       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11401       teststring=
   11402       # Add a significant safety factor because C++ compilers can tack on
   11403       # massive amounts of additional arguments before passing them to the
   11404       # linker.  It appears as though 1/2 is a usable value.
   11405       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11406     fi
   11407     ;;
   11408   esac
   11409 
   11410 fi
   11411 
   11412 if test -n $lt_cv_sys_max_cmd_len ; then
   11413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11414 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11415 else
   11416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11417 $as_echo "none" >&6; }
   11418 fi
   11419 max_cmd_len=$lt_cv_sys_max_cmd_len
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 : ${CP="cp -f"}
   11427 : ${MV="mv -f"}
   11428 : ${RM="rm -f"}
   11429 
   11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11431 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11432 # Try some XSI features
   11433 xsi_shell=no
   11434 ( _lt_dummy="a/b/c"
   11435   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11436       = c,a/b,b/c, \
   11437     && eval 'test $(( 1 + 1 )) -eq 2 \
   11438     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11439   && xsi_shell=yes
   11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11441 $as_echo "$xsi_shell" >&6; }
   11442 
   11443 
   11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11445 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11446 lt_shell_append=no
   11447 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11448     >/dev/null 2>&1 \
   11449   && lt_shell_append=yes
   11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11451 $as_echo "$lt_shell_append" >&6; }
   11452 
   11453 
   11454 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11455   lt_unset=unset
   11456 else
   11457   lt_unset=false
   11458 fi
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 # test EBCDIC or ASCII
   11465 case `echo X|tr X '\101'` in
   11466  A) # ASCII based system
   11467     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11468   lt_SP2NL='tr \040 \012'
   11469   lt_NL2SP='tr \015\012 \040\040'
   11470   ;;
   11471  *) # EBCDIC based system
   11472   lt_SP2NL='tr \100 \n'
   11473   lt_NL2SP='tr \r\n \100\100'
   11474   ;;
   11475 esac
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11486 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11487 if ${lt_cv_to_host_file_cmd+:} false; then :
   11488   $as_echo_n "(cached) " >&6
   11489 else
   11490   case $host in
   11491   *-*-mingw* )
   11492     case $build in
   11493       *-*-mingw* ) # actually msys
   11494         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11495         ;;
   11496       *-*-cygwin* )
   11497         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11498         ;;
   11499       * ) # otherwise, assume *nix
   11500         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11501         ;;
   11502     esac
   11503     ;;
   11504   *-*-cygwin* )
   11505     case $build in
   11506       *-*-mingw* ) # actually msys
   11507         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11508         ;;
   11509       *-*-cygwin* )
   11510         lt_cv_to_host_file_cmd=func_convert_file_noop
   11511         ;;
   11512       * ) # otherwise, assume *nix
   11513         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11514         ;;
   11515     esac
   11516     ;;
   11517   * ) # unhandled hosts (and "normal" native builds)
   11518     lt_cv_to_host_file_cmd=func_convert_file_noop
   11519     ;;
   11520 esac
   11521 
   11522 fi
   11523 
   11524 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11526 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11533 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11534 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11535   $as_echo_n "(cached) " >&6
   11536 else
   11537   #assume ordinary cross tools, or native build.
   11538 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11539 case $host in
   11540   *-*-mingw* )
   11541     case $build in
   11542       *-*-mingw* ) # actually msys
   11543         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11544         ;;
   11545     esac
   11546     ;;
   11547 esac
   11548 
   11549 fi
   11550 
   11551 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11553 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11560 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11561 if ${lt_cv_ld_reload_flag+:} false; then :
   11562   $as_echo_n "(cached) " >&6
   11563 else
   11564   lt_cv_ld_reload_flag='-r'
   11565 fi
   11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11567 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11568 reload_flag=$lt_cv_ld_reload_flag
   11569 case $reload_flag in
   11570 "" | " "*) ;;
   11571 *) reload_flag=" $reload_flag" ;;
   11572 esac
   11573 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11574 case $host_os in
   11575   cygwin* | mingw* | pw32* | cegcc*)
   11576     if test "$GCC" != yes; then
   11577       reload_cmds=false
   11578     fi
   11579     ;;
   11580   darwin*)
   11581     if test "$GCC" = yes; then
   11582       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11583     else
   11584       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11585     fi
   11586     ;;
   11587 esac
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 if test -n "$ac_tool_prefix"; then
   11598   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11599 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11601 $as_echo_n "checking for $ac_word... " >&6; }
   11602 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11603   $as_echo_n "(cached) " >&6
   11604 else
   11605   if test -n "$OBJDUMP"; then
   11606   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11607 else
   11608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11609 for as_dir in $PATH
   11610 do
   11611   IFS=$as_save_IFS
   11612   test -z "$as_dir" && as_dir=.
   11613     for ac_exec_ext in '' $ac_executable_extensions; do
   11614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11615     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11617     break 2
   11618   fi
   11619 done
   11620   done
   11621 IFS=$as_save_IFS
   11622 
   11623 fi
   11624 fi
   11625 OBJDUMP=$ac_cv_prog_OBJDUMP
   11626 if test -n "$OBJDUMP"; then
   11627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11628 $as_echo "$OBJDUMP" >&6; }
   11629 else
   11630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11631 $as_echo "no" >&6; }
   11632 fi
   11633 
   11634 
   11635 fi
   11636 if test -z "$ac_cv_prog_OBJDUMP"; then
   11637   ac_ct_OBJDUMP=$OBJDUMP
   11638   # Extract the first word of "objdump", so it can be a program name with args.
   11639 set dummy objdump; ac_word=$2
   11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11641 $as_echo_n "checking for $ac_word... " >&6; }
   11642 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11643   $as_echo_n "(cached) " >&6
   11644 else
   11645   if test -n "$ac_ct_OBJDUMP"; then
   11646   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11647 else
   11648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11649 for as_dir in $PATH
   11650 do
   11651   IFS=$as_save_IFS
   11652   test -z "$as_dir" && as_dir=.
   11653     for ac_exec_ext in '' $ac_executable_extensions; do
   11654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11655     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11657     break 2
   11658   fi
   11659 done
   11660   done
   11661 IFS=$as_save_IFS
   11662 
   11663 fi
   11664 fi
   11665 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11666 if test -n "$ac_ct_OBJDUMP"; then
   11667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11668 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11669 else
   11670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11671 $as_echo "no" >&6; }
   11672 fi
   11673 
   11674   if test "x$ac_ct_OBJDUMP" = x; then
   11675     OBJDUMP="false"
   11676   else
   11677     case $cross_compiling:$ac_tool_warned in
   11678 yes:)
   11679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11681 ac_tool_warned=yes ;;
   11682 esac
   11683     OBJDUMP=$ac_ct_OBJDUMP
   11684   fi
   11685 else
   11686   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11687 fi
   11688 
   11689 test -z "$OBJDUMP" && OBJDUMP=objdump
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11700 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11701 if ${lt_cv_deplibs_check_method+:} false; then :
   11702   $as_echo_n "(cached) " >&6
   11703 else
   11704   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11705 lt_cv_file_magic_test_file=
   11706 lt_cv_deplibs_check_method='unknown'
   11707 # Need to set the preceding variable on all platforms that support
   11708 # interlibrary dependencies.
   11709 # 'none' -- dependencies not supported.
   11710 # `unknown' -- same as none, but documents that we really don't know.
   11711 # 'pass_all' -- all dependencies passed with no checks.
   11712 # 'test_compile' -- check by making test program.
   11713 # 'file_magic [[regex]]' -- check by looking for files in library path
   11714 # which responds to the $file_magic_cmd with a given extended regex.
   11715 # If you have `file' or equivalent on your system and you're not sure
   11716 # whether `pass_all' will *always* work, you probably want this one.
   11717 
   11718 case $host_os in
   11719 aix[4-9]*)
   11720   lt_cv_deplibs_check_method=pass_all
   11721   ;;
   11722 
   11723 beos*)
   11724   lt_cv_deplibs_check_method=pass_all
   11725   ;;
   11726 
   11727 bsdi[45]*)
   11728   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11729   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11730   lt_cv_file_magic_test_file=/shlib/libc.so
   11731   ;;
   11732 
   11733 cygwin*)
   11734   # func_win32_libid is a shell function defined in ltmain.sh
   11735   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11736   lt_cv_file_magic_cmd='func_win32_libid'
   11737   ;;
   11738 
   11739 mingw* | pw32*)
   11740   # Base MSYS/MinGW do not provide the 'file' command needed by
   11741   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11742   # unless we find 'file', for example because we are cross-compiling.
   11743   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11744   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11745     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11746     lt_cv_file_magic_cmd='func_win32_libid'
   11747   else
   11748     # Keep this pattern in sync with the one in func_win32_libid.
   11749     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11750     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11751   fi
   11752   ;;
   11753 
   11754 cegcc*)
   11755   # use the weaker test based on 'objdump'. See mingw*.
   11756   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11757   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11758   ;;
   11759 
   11760 darwin* | rhapsody*)
   11761   lt_cv_deplibs_check_method=pass_all
   11762   ;;
   11763 
   11764 freebsd* | dragonfly*)
   11765   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11766     case $host_cpu in
   11767     i*86 )
   11768       # Not sure whether the presence of OpenBSD here was a mistake.
   11769       # Let's accept both of them until this is cleared up.
   11770       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11771       lt_cv_file_magic_cmd=/usr/bin/file
   11772       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11773       ;;
   11774     esac
   11775   else
   11776     lt_cv_deplibs_check_method=pass_all
   11777   fi
   11778   ;;
   11779 
   11780 gnu*)
   11781   lt_cv_deplibs_check_method=pass_all
   11782   ;;
   11783 
   11784 haiku*)
   11785   lt_cv_deplibs_check_method=pass_all
   11786   ;;
   11787 
   11788 hpux10.20* | hpux11*)
   11789   lt_cv_file_magic_cmd=/usr/bin/file
   11790   case $host_cpu in
   11791   ia64*)
   11792     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11793     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11794     ;;
   11795   hppa*64*)
   11796     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]'
   11797     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11798     ;;
   11799   *)
   11800     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11801     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11802     ;;
   11803   esac
   11804   ;;
   11805 
   11806 interix[3-9]*)
   11807   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11808   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11809   ;;
   11810 
   11811 irix5* | irix6* | nonstopux*)
   11812   case $LD in
   11813   *-32|*"-32 ") libmagic=32-bit;;
   11814   *-n32|*"-n32 ") libmagic=N32;;
   11815   *-64|*"-64 ") libmagic=64-bit;;
   11816   *) libmagic=never-match;;
   11817   esac
   11818   lt_cv_deplibs_check_method=pass_all
   11819   ;;
   11820 
   11821 # This must be glibc/ELF.
   11822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11823   lt_cv_deplibs_check_method=pass_all
   11824   ;;
   11825 
   11826 netbsd*)
   11827   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11828     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11829   else
   11830     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11831   fi
   11832   ;;
   11833 
   11834 newos6*)
   11835   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11836   lt_cv_file_magic_cmd=/usr/bin/file
   11837   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11838   ;;
   11839 
   11840 *nto* | *qnx*)
   11841   lt_cv_deplibs_check_method=pass_all
   11842   ;;
   11843 
   11844 openbsd*)
   11845   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11846     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11847   else
   11848     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11849   fi
   11850   ;;
   11851 
   11852 osf3* | osf4* | osf5*)
   11853   lt_cv_deplibs_check_method=pass_all
   11854   ;;
   11855 
   11856 rdos*)
   11857   lt_cv_deplibs_check_method=pass_all
   11858   ;;
   11859 
   11860 solaris*)
   11861   lt_cv_deplibs_check_method=pass_all
   11862   ;;
   11863 
   11864 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11865   lt_cv_deplibs_check_method=pass_all
   11866   ;;
   11867 
   11868 sysv4 | sysv4.3*)
   11869   case $host_vendor in
   11870   motorola)
   11871     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]'
   11872     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11873     ;;
   11874   ncr)
   11875     lt_cv_deplibs_check_method=pass_all
   11876     ;;
   11877   sequent)
   11878     lt_cv_file_magic_cmd='/bin/file'
   11879     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11880     ;;
   11881   sni)
   11882     lt_cv_file_magic_cmd='/bin/file'
   11883     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11884     lt_cv_file_magic_test_file=/lib/libc.so
   11885     ;;
   11886   siemens)
   11887     lt_cv_deplibs_check_method=pass_all
   11888     ;;
   11889   pc)
   11890     lt_cv_deplibs_check_method=pass_all
   11891     ;;
   11892   esac
   11893   ;;
   11894 
   11895 tpf*)
   11896   lt_cv_deplibs_check_method=pass_all
   11897   ;;
   11898 esac
   11899 
   11900 fi
   11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11902 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11903 
   11904 file_magic_glob=
   11905 want_nocaseglob=no
   11906 if test "$build" = "$host"; then
   11907   case $host_os in
   11908   mingw* | pw32*)
   11909     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11910       want_nocaseglob=yes
   11911     else
   11912       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11913     fi
   11914     ;;
   11915   esac
   11916 fi
   11917 
   11918 file_magic_cmd=$lt_cv_file_magic_cmd
   11919 deplibs_check_method=$lt_cv_deplibs_check_method
   11920 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 if test -n "$ac_tool_prefix"; then
   11944   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11945 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11947 $as_echo_n "checking for $ac_word... " >&6; }
   11948 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11949   $as_echo_n "(cached) " >&6
   11950 else
   11951   if test -n "$DLLTOOL"; then
   11952   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11953 else
   11954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11955 for as_dir in $PATH
   11956 do
   11957   IFS=$as_save_IFS
   11958   test -z "$as_dir" && as_dir=.
   11959     for ac_exec_ext in '' $ac_executable_extensions; do
   11960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11961     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11963     break 2
   11964   fi
   11965 done
   11966   done
   11967 IFS=$as_save_IFS
   11968 
   11969 fi
   11970 fi
   11971 DLLTOOL=$ac_cv_prog_DLLTOOL
   11972 if test -n "$DLLTOOL"; then
   11973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11974 $as_echo "$DLLTOOL" >&6; }
   11975 else
   11976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11977 $as_echo "no" >&6; }
   11978 fi
   11979 
   11980 
   11981 fi
   11982 if test -z "$ac_cv_prog_DLLTOOL"; then
   11983   ac_ct_DLLTOOL=$DLLTOOL
   11984   # Extract the first word of "dlltool", so it can be a program name with args.
   11985 set dummy dlltool; ac_word=$2
   11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11987 $as_echo_n "checking for $ac_word... " >&6; }
   11988 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11989   $as_echo_n "(cached) " >&6
   11990 else
   11991   if test -n "$ac_ct_DLLTOOL"; then
   11992   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11993 else
   11994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11995 for as_dir in $PATH
   11996 do
   11997   IFS=$as_save_IFS
   11998   test -z "$as_dir" && as_dir=.
   11999     for ac_exec_ext in '' $ac_executable_extensions; do
   12000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12001     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12003     break 2
   12004   fi
   12005 done
   12006   done
   12007 IFS=$as_save_IFS
   12008 
   12009 fi
   12010 fi
   12011 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12012 if test -n "$ac_ct_DLLTOOL"; then
   12013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12014 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12015 else
   12016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12017 $as_echo "no" >&6; }
   12018 fi
   12019 
   12020   if test "x$ac_ct_DLLTOOL" = x; then
   12021     DLLTOOL="false"
   12022   else
   12023     case $cross_compiling:$ac_tool_warned in
   12024 yes:)
   12025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12027 ac_tool_warned=yes ;;
   12028 esac
   12029     DLLTOOL=$ac_ct_DLLTOOL
   12030   fi
   12031 else
   12032   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12033 fi
   12034 
   12035 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12047 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12048 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12049   $as_echo_n "(cached) " >&6
   12050 else
   12051   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12052 
   12053 case $host_os in
   12054 cygwin* | mingw* | pw32* | cegcc*)
   12055   # two different shell functions defined in ltmain.sh
   12056   # decide which to use based on capabilities of $DLLTOOL
   12057   case `$DLLTOOL --help 2>&1` in
   12058   *--identify-strict*)
   12059     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12060     ;;
   12061   *)
   12062     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12063     ;;
   12064   esac
   12065   ;;
   12066 *)
   12067   # fallback: assume linklib IS sharedlib
   12068   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12069   ;;
   12070 esac
   12071 
   12072 fi
   12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12074 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12075 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12076 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 if test -n "$ac_tool_prefix"; then
   12085   for ac_prog in ar
   12086   do
   12087     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12088 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12090 $as_echo_n "checking for $ac_word... " >&6; }
   12091 if ${ac_cv_prog_AR+:} false; then :
   12092   $as_echo_n "(cached) " >&6
   12093 else
   12094   if test -n "$AR"; then
   12095   ac_cv_prog_AR="$AR" # Let the user override the test.
   12096 else
   12097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12098 for as_dir in $PATH
   12099 do
   12100   IFS=$as_save_IFS
   12101   test -z "$as_dir" && as_dir=.
   12102     for ac_exec_ext in '' $ac_executable_extensions; do
   12103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12104     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12106     break 2
   12107   fi
   12108 done
   12109   done
   12110 IFS=$as_save_IFS
   12111 
   12112 fi
   12113 fi
   12114 AR=$ac_cv_prog_AR
   12115 if test -n "$AR"; then
   12116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12117 $as_echo "$AR" >&6; }
   12118 else
   12119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12120 $as_echo "no" >&6; }
   12121 fi
   12122 
   12123 
   12124     test -n "$AR" && break
   12125   done
   12126 fi
   12127 if test -z "$AR"; then
   12128   ac_ct_AR=$AR
   12129   for ac_prog in ar
   12130 do
   12131   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12132 set dummy $ac_prog; ac_word=$2
   12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12134 $as_echo_n "checking for $ac_word... " >&6; }
   12135 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12136   $as_echo_n "(cached) " >&6
   12137 else
   12138   if test -n "$ac_ct_AR"; then
   12139   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12140 else
   12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12142 for as_dir in $PATH
   12143 do
   12144   IFS=$as_save_IFS
   12145   test -z "$as_dir" && as_dir=.
   12146     for ac_exec_ext in '' $ac_executable_extensions; do
   12147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12148     ac_cv_prog_ac_ct_AR="$ac_prog"
   12149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12150     break 2
   12151   fi
   12152 done
   12153   done
   12154 IFS=$as_save_IFS
   12155 
   12156 fi
   12157 fi
   12158 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12159 if test -n "$ac_ct_AR"; then
   12160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12161 $as_echo "$ac_ct_AR" >&6; }
   12162 else
   12163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12164 $as_echo "no" >&6; }
   12165 fi
   12166 
   12167 
   12168   test -n "$ac_ct_AR" && break
   12169 done
   12170 
   12171   if test "x$ac_ct_AR" = x; then
   12172     AR="false"
   12173   else
   12174     case $cross_compiling:$ac_tool_warned in
   12175 yes:)
   12176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12178 ac_tool_warned=yes ;;
   12179 esac
   12180     AR=$ac_ct_AR
   12181   fi
   12182 fi
   12183 
   12184 : ${AR=ar}
   12185 : ${AR_FLAGS=cru}
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12198 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12199 if ${lt_cv_ar_at_file+:} false; then :
   12200   $as_echo_n "(cached) " >&6
   12201 else
   12202   lt_cv_ar_at_file=no
   12203    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12204 /* end confdefs.h.  */
   12205 
   12206 int
   12207 main ()
   12208 {
   12209 
   12210   ;
   12211   return 0;
   12212 }
   12213 _ACEOF
   12214 if ac_fn_c_try_compile "$LINENO"; then :
   12215   echo conftest.$ac_objext > conftest.lst
   12216       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12217       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12218   (eval $lt_ar_try) 2>&5
   12219   ac_status=$?
   12220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12221   test $ac_status = 0; }
   12222       if test "$ac_status" -eq 0; then
   12223 	# Ensure the archiver fails upon bogus file names.
   12224 	rm -f conftest.$ac_objext libconftest.a
   12225 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12226   (eval $lt_ar_try) 2>&5
   12227   ac_status=$?
   12228   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12229   test $ac_status = 0; }
   12230 	if test "$ac_status" -ne 0; then
   12231           lt_cv_ar_at_file=@
   12232         fi
   12233       fi
   12234       rm -f conftest.* libconftest.a
   12235 
   12236 fi
   12237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12238 
   12239 fi
   12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12241 $as_echo "$lt_cv_ar_at_file" >&6; }
   12242 
   12243 if test "x$lt_cv_ar_at_file" = xno; then
   12244   archiver_list_spec=
   12245 else
   12246   archiver_list_spec=$lt_cv_ar_at_file
   12247 fi
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 if test -n "$ac_tool_prefix"; then
   12256   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12257 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12259 $as_echo_n "checking for $ac_word... " >&6; }
   12260 if ${ac_cv_prog_STRIP+:} false; then :
   12261   $as_echo_n "(cached) " >&6
   12262 else
   12263   if test -n "$STRIP"; then
   12264   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12265 else
   12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12267 for as_dir in $PATH
   12268 do
   12269   IFS=$as_save_IFS
   12270   test -z "$as_dir" && as_dir=.
   12271     for ac_exec_ext in '' $ac_executable_extensions; do
   12272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12273     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12275     break 2
   12276   fi
   12277 done
   12278   done
   12279 IFS=$as_save_IFS
   12280 
   12281 fi
   12282 fi
   12283 STRIP=$ac_cv_prog_STRIP
   12284 if test -n "$STRIP"; then
   12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12286 $as_echo "$STRIP" >&6; }
   12287 else
   12288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12289 $as_echo "no" >&6; }
   12290 fi
   12291 
   12292 
   12293 fi
   12294 if test -z "$ac_cv_prog_STRIP"; then
   12295   ac_ct_STRIP=$STRIP
   12296   # Extract the first word of "strip", so it can be a program name with args.
   12297 set dummy strip; ac_word=$2
   12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12299 $as_echo_n "checking for $ac_word... " >&6; }
   12300 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12301   $as_echo_n "(cached) " >&6
   12302 else
   12303   if test -n "$ac_ct_STRIP"; then
   12304   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12305 else
   12306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12307 for as_dir in $PATH
   12308 do
   12309   IFS=$as_save_IFS
   12310   test -z "$as_dir" && as_dir=.
   12311     for ac_exec_ext in '' $ac_executable_extensions; do
   12312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12313     ac_cv_prog_ac_ct_STRIP="strip"
   12314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12315     break 2
   12316   fi
   12317 done
   12318   done
   12319 IFS=$as_save_IFS
   12320 
   12321 fi
   12322 fi
   12323 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12324 if test -n "$ac_ct_STRIP"; then
   12325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12326 $as_echo "$ac_ct_STRIP" >&6; }
   12327 else
   12328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12329 $as_echo "no" >&6; }
   12330 fi
   12331 
   12332   if test "x$ac_ct_STRIP" = x; then
   12333     STRIP=":"
   12334   else
   12335     case $cross_compiling:$ac_tool_warned in
   12336 yes:)
   12337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12339 ac_tool_warned=yes ;;
   12340 esac
   12341     STRIP=$ac_ct_STRIP
   12342   fi
   12343 else
   12344   STRIP="$ac_cv_prog_STRIP"
   12345 fi
   12346 
   12347 test -z "$STRIP" && STRIP=:
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 if test -n "$ac_tool_prefix"; then
   12355   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12356 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12358 $as_echo_n "checking for $ac_word... " >&6; }
   12359 if ${ac_cv_prog_RANLIB+:} false; then :
   12360   $as_echo_n "(cached) " >&6
   12361 else
   12362   if test -n "$RANLIB"; then
   12363   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12364 else
   12365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12366 for as_dir in $PATH
   12367 do
   12368   IFS=$as_save_IFS
   12369   test -z "$as_dir" && as_dir=.
   12370     for ac_exec_ext in '' $ac_executable_extensions; do
   12371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12372     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12374     break 2
   12375   fi
   12376 done
   12377   done
   12378 IFS=$as_save_IFS
   12379 
   12380 fi
   12381 fi
   12382 RANLIB=$ac_cv_prog_RANLIB
   12383 if test -n "$RANLIB"; then
   12384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12385 $as_echo "$RANLIB" >&6; }
   12386 else
   12387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12388 $as_echo "no" >&6; }
   12389 fi
   12390 
   12391 
   12392 fi
   12393 if test -z "$ac_cv_prog_RANLIB"; then
   12394   ac_ct_RANLIB=$RANLIB
   12395   # Extract the first word of "ranlib", so it can be a program name with args.
   12396 set dummy ranlib; ac_word=$2
   12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12398 $as_echo_n "checking for $ac_word... " >&6; }
   12399 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12400   $as_echo_n "(cached) " >&6
   12401 else
   12402   if test -n "$ac_ct_RANLIB"; then
   12403   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12404 else
   12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12406 for as_dir in $PATH
   12407 do
   12408   IFS=$as_save_IFS
   12409   test -z "$as_dir" && as_dir=.
   12410     for ac_exec_ext in '' $ac_executable_extensions; do
   12411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12412     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12414     break 2
   12415   fi
   12416 done
   12417   done
   12418 IFS=$as_save_IFS
   12419 
   12420 fi
   12421 fi
   12422 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12423 if test -n "$ac_ct_RANLIB"; then
   12424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12425 $as_echo "$ac_ct_RANLIB" >&6; }
   12426 else
   12427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12428 $as_echo "no" >&6; }
   12429 fi
   12430 
   12431   if test "x$ac_ct_RANLIB" = x; then
   12432     RANLIB=":"
   12433   else
   12434     case $cross_compiling:$ac_tool_warned in
   12435 yes:)
   12436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12438 ac_tool_warned=yes ;;
   12439 esac
   12440     RANLIB=$ac_ct_RANLIB
   12441   fi
   12442 else
   12443   RANLIB="$ac_cv_prog_RANLIB"
   12444 fi
   12445 
   12446 test -z "$RANLIB" && RANLIB=:
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 # Determine commands to create old-style static archives.
   12454 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12455 old_postinstall_cmds='chmod 644 $oldlib'
   12456 old_postuninstall_cmds=
   12457 
   12458 if test -n "$RANLIB"; then
   12459   case $host_os in
   12460   openbsd*)
   12461     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12462     ;;
   12463   *)
   12464     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12465     ;;
   12466   esac
   12467   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12468 fi
   12469 
   12470 case $host_os in
   12471   darwin*)
   12472     lock_old_archive_extraction=yes ;;
   12473   *)
   12474     lock_old_archive_extraction=no ;;
   12475 esac
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 # If no C compiler was specified, use CC.
   12516 LTCC=${LTCC-"$CC"}
   12517 
   12518 # If no C compiler flags were specified, use CFLAGS.
   12519 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12520 
   12521 # Allow CC to be a program name with arguments.
   12522 compiler=$CC
   12523 
   12524 
   12525 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12527 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12528 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12529   $as_echo_n "(cached) " >&6
   12530 else
   12531 
   12532 # These are sane defaults that work on at least a few old systems.
   12533 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12534 
   12535 # Character class describing NM global symbol codes.
   12536 symcode='[BCDEGRST]'
   12537 
   12538 # Regexp to match symbols that can be accessed directly from C.
   12539 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12540 
   12541 # Define system-specific variables.
   12542 case $host_os in
   12543 aix*)
   12544   symcode='[BCDT]'
   12545   ;;
   12546 cygwin* | mingw* | pw32* | cegcc*)
   12547   symcode='[ABCDGISTW]'
   12548   ;;
   12549 hpux*)
   12550   if test "$host_cpu" = ia64; then
   12551     symcode='[ABCDEGRST]'
   12552   fi
   12553   ;;
   12554 irix* | nonstopux*)
   12555   symcode='[BCDEGRST]'
   12556   ;;
   12557 osf*)
   12558   symcode='[BCDEGQRST]'
   12559   ;;
   12560 solaris*)
   12561   symcode='[BDRT]'
   12562   ;;
   12563 sco3.2v5*)
   12564   symcode='[DT]'
   12565   ;;
   12566 sysv4.2uw2*)
   12567   symcode='[DT]'
   12568   ;;
   12569 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12570   symcode='[ABDT]'
   12571   ;;
   12572 sysv4)
   12573   symcode='[DFNSTU]'
   12574   ;;
   12575 esac
   12576 
   12577 # If we're using GNU nm, then use its standard symbol codes.
   12578 case `$NM -V 2>&1` in
   12579 *GNU* | *'with BFD'*)
   12580   symcode='[ABCDGIRSTW]' ;;
   12581 esac
   12582 
   12583 # Transform an extracted symbol line into a proper C declaration.
   12584 # Some systems (esp. on ia64) link data and code symbols differently,
   12585 # so use this general approach.
   12586 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12587 
   12588 # Transform an extracted symbol line into symbol name and symbol address
   12589 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12590 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'"
   12591 
   12592 # Handle CRLF in mingw tool chain
   12593 opt_cr=
   12594 case $build_os in
   12595 mingw*)
   12596   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12597   ;;
   12598 esac
   12599 
   12600 # Try without a prefix underscore, then with it.
   12601 for ac_symprfx in "" "_"; do
   12602 
   12603   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12604   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12605 
   12606   # Write the raw and C identifiers.
   12607   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12608     # Fake it for dumpbin and say T for any non-static function
   12609     # and D for any global variable.
   12610     # Also find C++ and __fastcall symbols from MSVC++,
   12611     # which start with @ or ?.
   12612     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12613 "     {last_section=section; section=\$ 3};"\
   12614 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12615 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12616 "     \$ 0!~/External *\|/{next};"\
   12617 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12618 "     {if(hide[section]) next};"\
   12619 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12620 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12621 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12622 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12623 "     ' prfx=^$ac_symprfx"
   12624   else
   12625     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12626   fi
   12627   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12628 
   12629   # Check to see that the pipe works correctly.
   12630   pipe_works=no
   12631 
   12632   rm -f conftest*
   12633   cat > conftest.$ac_ext <<_LT_EOF
   12634 #ifdef __cplusplus
   12635 extern "C" {
   12636 #endif
   12637 char nm_test_var;
   12638 void nm_test_func(void);
   12639 void nm_test_func(void){}
   12640 #ifdef __cplusplus
   12641 }
   12642 #endif
   12643 int main(){nm_test_var='a';nm_test_func();return(0);}
   12644 _LT_EOF
   12645 
   12646   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12647   (eval $ac_compile) 2>&5
   12648   ac_status=$?
   12649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12650   test $ac_status = 0; }; then
   12651     # Now try to grab the symbols.
   12652     nlist=conftest.nm
   12653     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12654   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12655   ac_status=$?
   12656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12657   test $ac_status = 0; } && test -s "$nlist"; then
   12658       # Try sorting and uniquifying the output.
   12659       if sort "$nlist" | uniq > "$nlist"T; then
   12660 	mv -f "$nlist"T "$nlist"
   12661       else
   12662 	rm -f "$nlist"T
   12663       fi
   12664 
   12665       # Make sure that we snagged all the symbols we need.
   12666       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12667 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12668 	  cat <<_LT_EOF > conftest.$ac_ext
   12669 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12670 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12671 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12672    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12673 # define LT_DLSYM_CONST
   12674 #elif defined(__osf__)
   12675 /* This system does not cope well with relocations in const data.  */
   12676 # define LT_DLSYM_CONST
   12677 #else
   12678 # define LT_DLSYM_CONST const
   12679 #endif
   12680 
   12681 #ifdef __cplusplus
   12682 extern "C" {
   12683 #endif
   12684 
   12685 _LT_EOF
   12686 	  # Now generate the symbol file.
   12687 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12688 
   12689 	  cat <<_LT_EOF >> conftest.$ac_ext
   12690 
   12691 /* The mapping between symbol names and symbols.  */
   12692 LT_DLSYM_CONST struct {
   12693   const char *name;
   12694   void       *address;
   12695 }
   12696 lt__PROGRAM__LTX_preloaded_symbols[] =
   12697 {
   12698   { "@PROGRAM@", (void *) 0 },
   12699 _LT_EOF
   12700 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12701 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12702   {0, (void *) 0}
   12703 };
   12704 
   12705 /* This works around a problem in FreeBSD linker */
   12706 #ifdef FREEBSD_WORKAROUND
   12707 static const void *lt_preloaded_setup() {
   12708   return lt__PROGRAM__LTX_preloaded_symbols;
   12709 }
   12710 #endif
   12711 
   12712 #ifdef __cplusplus
   12713 }
   12714 #endif
   12715 _LT_EOF
   12716 	  # Now try linking the two files.
   12717 	  mv conftest.$ac_objext conftstm.$ac_objext
   12718 	  lt_globsym_save_LIBS=$LIBS
   12719 	  lt_globsym_save_CFLAGS=$CFLAGS
   12720 	  LIBS="conftstm.$ac_objext"
   12721 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12722 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12723   (eval $ac_link) 2>&5
   12724   ac_status=$?
   12725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12726   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12727 	    pipe_works=yes
   12728 	  fi
   12729 	  LIBS=$lt_globsym_save_LIBS
   12730 	  CFLAGS=$lt_globsym_save_CFLAGS
   12731 	else
   12732 	  echo "cannot find nm_test_func in $nlist" >&5
   12733 	fi
   12734       else
   12735 	echo "cannot find nm_test_var in $nlist" >&5
   12736       fi
   12737     else
   12738       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12739     fi
   12740   else
   12741     echo "$progname: failed program was:" >&5
   12742     cat conftest.$ac_ext >&5
   12743   fi
   12744   rm -rf conftest* conftst*
   12745 
   12746   # Do not use the global_symbol_pipe unless it works.
   12747   if test "$pipe_works" = yes; then
   12748     break
   12749   else
   12750     lt_cv_sys_global_symbol_pipe=
   12751   fi
   12752 done
   12753 
   12754 fi
   12755 
   12756 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12757   lt_cv_sys_global_symbol_to_cdecl=
   12758 fi
   12759 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12761 $as_echo "failed" >&6; }
   12762 else
   12763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12764 $as_echo "ok" >&6; }
   12765 fi
   12766 
   12767 # Response file support.
   12768 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12769   nm_file_list_spec='@'
   12770 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12771   nm_file_list_spec='@'
   12772 fi
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12801 $as_echo_n "checking for sysroot... " >&6; }
   12802 
   12803 # Check whether --with-sysroot was given.
   12804 if test "${with_sysroot+set}" = set; then :
   12805   withval=$with_sysroot;
   12806 else
   12807   with_sysroot=no
   12808 fi
   12809 
   12810 
   12811 lt_sysroot=
   12812 case ${with_sysroot} in #(
   12813  yes)
   12814    if test "$GCC" = yes; then
   12815      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12816    fi
   12817    ;; #(
   12818  /*)
   12819    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12820    ;; #(
   12821  no|'')
   12822    ;; #(
   12823  *)
   12824    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12825 $as_echo "${with_sysroot}" >&6; }
   12826    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12827    ;;
   12828 esac
   12829 
   12830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12831 $as_echo "${lt_sysroot:-no}" >&6; }
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 # Check whether --enable-libtool-lock was given.
   12838 if test "${enable_libtool_lock+set}" = set; then :
   12839   enableval=$enable_libtool_lock;
   12840 fi
   12841 
   12842 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12843 
   12844 # Some flags need to be propagated to the compiler or linker for good
   12845 # libtool support.
   12846 case $host in
   12847 ia64-*-hpux*)
   12848   # Find out which ABI we are using.
   12849   echo 'int i;' > conftest.$ac_ext
   12850   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12851   (eval $ac_compile) 2>&5
   12852   ac_status=$?
   12853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12854   test $ac_status = 0; }; then
   12855     case `/usr/bin/file conftest.$ac_objext` in
   12856       *ELF-32*)
   12857 	HPUX_IA64_MODE="32"
   12858 	;;
   12859       *ELF-64*)
   12860 	HPUX_IA64_MODE="64"
   12861 	;;
   12862     esac
   12863   fi
   12864   rm -rf conftest*
   12865   ;;
   12866 *-*-irix6*)
   12867   # Find out which ABI we are using.
   12868   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12869   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12870   (eval $ac_compile) 2>&5
   12871   ac_status=$?
   12872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12873   test $ac_status = 0; }; then
   12874     if test "$lt_cv_prog_gnu_ld" = yes; then
   12875       case `/usr/bin/file conftest.$ac_objext` in
   12876 	*32-bit*)
   12877 	  LD="${LD-ld} -melf32bsmip"
   12878 	  ;;
   12879 	*N32*)
   12880 	  LD="${LD-ld} -melf32bmipn32"
   12881 	  ;;
   12882 	*64-bit*)
   12883 	  LD="${LD-ld} -melf64bmip"
   12884 	;;
   12885       esac
   12886     else
   12887       case `/usr/bin/file conftest.$ac_objext` in
   12888 	*32-bit*)
   12889 	  LD="${LD-ld} -32"
   12890 	  ;;
   12891 	*N32*)
   12892 	  LD="${LD-ld} -n32"
   12893 	  ;;
   12894 	*64-bit*)
   12895 	  LD="${LD-ld} -64"
   12896 	  ;;
   12897       esac
   12898     fi
   12899   fi
   12900   rm -rf conftest*
   12901   ;;
   12902 
   12903 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12904 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12905   # Find out which ABI we are using.
   12906   echo 'int i;' > conftest.$ac_ext
   12907   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12908   (eval $ac_compile) 2>&5
   12909   ac_status=$?
   12910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12911   test $ac_status = 0; }; then
   12912     case `/usr/bin/file conftest.o` in
   12913       *32-bit*)
   12914 	case $host in
   12915 	  x86_64-*kfreebsd*-gnu)
   12916 	    LD="${LD-ld} -m elf_i386_fbsd"
   12917 	    ;;
   12918 	  x86_64-*linux*)
   12919 	    LD="${LD-ld} -m elf_i386"
   12920 	    ;;
   12921 	  ppc64-*linux*|powerpc64-*linux*)
   12922 	    LD="${LD-ld} -m elf32ppclinux"
   12923 	    ;;
   12924 	  s390x-*linux*)
   12925 	    LD="${LD-ld} -m elf_s390"
   12926 	    ;;
   12927 	  sparc64-*linux*)
   12928 	    LD="${LD-ld} -m elf32_sparc"
   12929 	    ;;
   12930 	esac
   12931 	;;
   12932       *64-bit*)
   12933 	case $host in
   12934 	  x86_64-*kfreebsd*-gnu)
   12935 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12936 	    ;;
   12937 	  x86_64-*linux*)
   12938 	    LD="${LD-ld} -m elf_x86_64"
   12939 	    ;;
   12940 	  ppc*-*linux*|powerpc*-*linux*)
   12941 	    LD="${LD-ld} -m elf64ppc"
   12942 	    ;;
   12943 	  s390*-*linux*|s390*-*tpf*)
   12944 	    LD="${LD-ld} -m elf64_s390"
   12945 	    ;;
   12946 	  sparc*-*linux*)
   12947 	    LD="${LD-ld} -m elf64_sparc"
   12948 	    ;;
   12949 	esac
   12950 	;;
   12951     esac
   12952   fi
   12953   rm -rf conftest*
   12954   ;;
   12955 
   12956 *-*-sco3.2v5*)
   12957   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12958   SAVE_CFLAGS="$CFLAGS"
   12959   CFLAGS="$CFLAGS -belf"
   12960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12961 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12962 if ${lt_cv_cc_needs_belf+:} false; then :
   12963   $as_echo_n "(cached) " >&6
   12964 else
   12965   ac_ext=c
   12966 ac_cpp='$CPP $CPPFLAGS'
   12967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12970 
   12971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12972 /* end confdefs.h.  */
   12973 
   12974 int
   12975 main ()
   12976 {
   12977 
   12978   ;
   12979   return 0;
   12980 }
   12981 _ACEOF
   12982 if ac_fn_c_try_link "$LINENO"; then :
   12983   lt_cv_cc_needs_belf=yes
   12984 else
   12985   lt_cv_cc_needs_belf=no
   12986 fi
   12987 rm -f core conftest.err conftest.$ac_objext \
   12988     conftest$ac_exeext conftest.$ac_ext
   12989      ac_ext=c
   12990 ac_cpp='$CPP $CPPFLAGS'
   12991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12994 
   12995 fi
   12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   12997 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   12998   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   12999     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13000     CFLAGS="$SAVE_CFLAGS"
   13001   fi
   13002   ;;
   13003 *-*solaris*)
   13004   # Find out which ABI we are using.
   13005   echo 'int i;' > conftest.$ac_ext
   13006   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13007   (eval $ac_compile) 2>&5
   13008   ac_status=$?
   13009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13010   test $ac_status = 0; }; then
   13011     case `/usr/bin/file conftest.o` in
   13012     *64-bit*)
   13013       case $lt_cv_prog_gnu_ld in
   13014       yes*)
   13015         case $host in
   13016         i?86-*-solaris*)
   13017           LD="${LD-ld} -m elf_x86_64"
   13018           ;;
   13019         sparc*-*-solaris*)
   13020           LD="${LD-ld} -m elf64_sparc"
   13021           ;;
   13022         esac
   13023         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13024         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13025           LD="${LD-ld}_sol2"
   13026         fi
   13027         ;;
   13028       *)
   13029 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13030 	  LD="${LD-ld} -64"
   13031 	fi
   13032 	;;
   13033       esac
   13034       ;;
   13035     esac
   13036   fi
   13037   rm -rf conftest*
   13038   ;;
   13039 esac
   13040 
   13041 need_locks="$enable_libtool_lock"
   13042 
   13043 if test -n "$ac_tool_prefix"; then
   13044   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13045 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13047 $as_echo_n "checking for $ac_word... " >&6; }
   13048 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13049   $as_echo_n "(cached) " >&6
   13050 else
   13051   if test -n "$MANIFEST_TOOL"; then
   13052   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13053 else
   13054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13055 for as_dir in $PATH
   13056 do
   13057   IFS=$as_save_IFS
   13058   test -z "$as_dir" && as_dir=.
   13059     for ac_exec_ext in '' $ac_executable_extensions; do
   13060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13061     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13063     break 2
   13064   fi
   13065 done
   13066   done
   13067 IFS=$as_save_IFS
   13068 
   13069 fi
   13070 fi
   13071 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13072 if test -n "$MANIFEST_TOOL"; then
   13073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13074 $as_echo "$MANIFEST_TOOL" >&6; }
   13075 else
   13076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13077 $as_echo "no" >&6; }
   13078 fi
   13079 
   13080 
   13081 fi
   13082 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13083   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13084   # Extract the first word of "mt", so it can be a program name with args.
   13085 set dummy mt; ac_word=$2
   13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13087 $as_echo_n "checking for $ac_word... " >&6; }
   13088 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13089   $as_echo_n "(cached) " >&6
   13090 else
   13091   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13092   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13093 else
   13094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13095 for as_dir in $PATH
   13096 do
   13097   IFS=$as_save_IFS
   13098   test -z "$as_dir" && as_dir=.
   13099     for ac_exec_ext in '' $ac_executable_extensions; do
   13100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13101     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13103     break 2
   13104   fi
   13105 done
   13106   done
   13107 IFS=$as_save_IFS
   13108 
   13109 fi
   13110 fi
   13111 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13112 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13114 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13115 else
   13116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13117 $as_echo "no" >&6; }
   13118 fi
   13119 
   13120   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13121     MANIFEST_TOOL=":"
   13122   else
   13123     case $cross_compiling:$ac_tool_warned in
   13124 yes:)
   13125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13127 ac_tool_warned=yes ;;
   13128 esac
   13129     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13130   fi
   13131 else
   13132   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13133 fi
   13134 
   13135 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13137 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13138 if ${lt_cv_path_mainfest_tool+:} false; then :
   13139   $as_echo_n "(cached) " >&6
   13140 else
   13141   lt_cv_path_mainfest_tool=no
   13142   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13143   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13144   cat conftest.err >&5
   13145   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13146     lt_cv_path_mainfest_tool=yes
   13147   fi
   13148   rm -f conftest*
   13149 fi
   13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13151 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13152 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13153   MANIFEST_TOOL=:
   13154 fi
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161   case $host_os in
   13162     rhapsody* | darwin*)
   13163     if test -n "$ac_tool_prefix"; then
   13164   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13165 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13167 $as_echo_n "checking for $ac_word... " >&6; }
   13168 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13169   $as_echo_n "(cached) " >&6
   13170 else
   13171   if test -n "$DSYMUTIL"; then
   13172   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13173 else
   13174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13175 for as_dir in $PATH
   13176 do
   13177   IFS=$as_save_IFS
   13178   test -z "$as_dir" && as_dir=.
   13179     for ac_exec_ext in '' $ac_executable_extensions; do
   13180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13181     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13183     break 2
   13184   fi
   13185 done
   13186   done
   13187 IFS=$as_save_IFS
   13188 
   13189 fi
   13190 fi
   13191 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13192 if test -n "$DSYMUTIL"; then
   13193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13194 $as_echo "$DSYMUTIL" >&6; }
   13195 else
   13196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13197 $as_echo "no" >&6; }
   13198 fi
   13199 
   13200 
   13201 fi
   13202 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13203   ac_ct_DSYMUTIL=$DSYMUTIL
   13204   # Extract the first word of "dsymutil", so it can be a program name with args.
   13205 set dummy dsymutil; ac_word=$2
   13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13207 $as_echo_n "checking for $ac_word... " >&6; }
   13208 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13209   $as_echo_n "(cached) " >&6
   13210 else
   13211   if test -n "$ac_ct_DSYMUTIL"; then
   13212   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13213 else
   13214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13215 for as_dir in $PATH
   13216 do
   13217   IFS=$as_save_IFS
   13218   test -z "$as_dir" && as_dir=.
   13219     for ac_exec_ext in '' $ac_executable_extensions; do
   13220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13221     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13223     break 2
   13224   fi
   13225 done
   13226   done
   13227 IFS=$as_save_IFS
   13228 
   13229 fi
   13230 fi
   13231 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13232 if test -n "$ac_ct_DSYMUTIL"; then
   13233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13234 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13235 else
   13236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13237 $as_echo "no" >&6; }
   13238 fi
   13239 
   13240   if test "x$ac_ct_DSYMUTIL" = x; then
   13241     DSYMUTIL=":"
   13242   else
   13243     case $cross_compiling:$ac_tool_warned in
   13244 yes:)
   13245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13247 ac_tool_warned=yes ;;
   13248 esac
   13249     DSYMUTIL=$ac_ct_DSYMUTIL
   13250   fi
   13251 else
   13252   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13253 fi
   13254 
   13255     if test -n "$ac_tool_prefix"; then
   13256   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13257 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13259 $as_echo_n "checking for $ac_word... " >&6; }
   13260 if ${ac_cv_prog_NMEDIT+:} false; then :
   13261   $as_echo_n "(cached) " >&6
   13262 else
   13263   if test -n "$NMEDIT"; then
   13264   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13265 else
   13266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13267 for as_dir in $PATH
   13268 do
   13269   IFS=$as_save_IFS
   13270   test -z "$as_dir" && as_dir=.
   13271     for ac_exec_ext in '' $ac_executable_extensions; do
   13272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13273     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13275     break 2
   13276   fi
   13277 done
   13278   done
   13279 IFS=$as_save_IFS
   13280 
   13281 fi
   13282 fi
   13283 NMEDIT=$ac_cv_prog_NMEDIT
   13284 if test -n "$NMEDIT"; then
   13285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13286 $as_echo "$NMEDIT" >&6; }
   13287 else
   13288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13289 $as_echo "no" >&6; }
   13290 fi
   13291 
   13292 
   13293 fi
   13294 if test -z "$ac_cv_prog_NMEDIT"; then
   13295   ac_ct_NMEDIT=$NMEDIT
   13296   # Extract the first word of "nmedit", so it can be a program name with args.
   13297 set dummy nmedit; ac_word=$2
   13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13299 $as_echo_n "checking for $ac_word... " >&6; }
   13300 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13301   $as_echo_n "(cached) " >&6
   13302 else
   13303   if test -n "$ac_ct_NMEDIT"; then
   13304   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13305 else
   13306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13307 for as_dir in $PATH
   13308 do
   13309   IFS=$as_save_IFS
   13310   test -z "$as_dir" && as_dir=.
   13311     for ac_exec_ext in '' $ac_executable_extensions; do
   13312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13313     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13315     break 2
   13316   fi
   13317 done
   13318   done
   13319 IFS=$as_save_IFS
   13320 
   13321 fi
   13322 fi
   13323 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13324 if test -n "$ac_ct_NMEDIT"; then
   13325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13326 $as_echo "$ac_ct_NMEDIT" >&6; }
   13327 else
   13328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13329 $as_echo "no" >&6; }
   13330 fi
   13331 
   13332   if test "x$ac_ct_NMEDIT" = x; then
   13333     NMEDIT=":"
   13334   else
   13335     case $cross_compiling:$ac_tool_warned in
   13336 yes:)
   13337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13339 ac_tool_warned=yes ;;
   13340 esac
   13341     NMEDIT=$ac_ct_NMEDIT
   13342   fi
   13343 else
   13344   NMEDIT="$ac_cv_prog_NMEDIT"
   13345 fi
   13346 
   13347     if test -n "$ac_tool_prefix"; then
   13348   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13349 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13351 $as_echo_n "checking for $ac_word... " >&6; }
   13352 if ${ac_cv_prog_LIPO+:} false; then :
   13353   $as_echo_n "(cached) " >&6
   13354 else
   13355   if test -n "$LIPO"; then
   13356   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13357 else
   13358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13359 for as_dir in $PATH
   13360 do
   13361   IFS=$as_save_IFS
   13362   test -z "$as_dir" && as_dir=.
   13363     for ac_exec_ext in '' $ac_executable_extensions; do
   13364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13365     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13367     break 2
   13368   fi
   13369 done
   13370   done
   13371 IFS=$as_save_IFS
   13372 
   13373 fi
   13374 fi
   13375 LIPO=$ac_cv_prog_LIPO
   13376 if test -n "$LIPO"; then
   13377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13378 $as_echo "$LIPO" >&6; }
   13379 else
   13380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13381 $as_echo "no" >&6; }
   13382 fi
   13383 
   13384 
   13385 fi
   13386 if test -z "$ac_cv_prog_LIPO"; then
   13387   ac_ct_LIPO=$LIPO
   13388   # Extract the first word of "lipo", so it can be a program name with args.
   13389 set dummy lipo; ac_word=$2
   13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13391 $as_echo_n "checking for $ac_word... " >&6; }
   13392 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13393   $as_echo_n "(cached) " >&6
   13394 else
   13395   if test -n "$ac_ct_LIPO"; then
   13396   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13397 else
   13398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13399 for as_dir in $PATH
   13400 do
   13401   IFS=$as_save_IFS
   13402   test -z "$as_dir" && as_dir=.
   13403     for ac_exec_ext in '' $ac_executable_extensions; do
   13404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13405     ac_cv_prog_ac_ct_LIPO="lipo"
   13406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13407     break 2
   13408   fi
   13409 done
   13410   done
   13411 IFS=$as_save_IFS
   13412 
   13413 fi
   13414 fi
   13415 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13416 if test -n "$ac_ct_LIPO"; then
   13417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13418 $as_echo "$ac_ct_LIPO" >&6; }
   13419 else
   13420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13421 $as_echo "no" >&6; }
   13422 fi
   13423 
   13424   if test "x$ac_ct_LIPO" = x; then
   13425     LIPO=":"
   13426   else
   13427     case $cross_compiling:$ac_tool_warned in
   13428 yes:)
   13429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13431 ac_tool_warned=yes ;;
   13432 esac
   13433     LIPO=$ac_ct_LIPO
   13434   fi
   13435 else
   13436   LIPO="$ac_cv_prog_LIPO"
   13437 fi
   13438 
   13439     if test -n "$ac_tool_prefix"; then
   13440   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13441 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13443 $as_echo_n "checking for $ac_word... " >&6; }
   13444 if ${ac_cv_prog_OTOOL+:} false; then :
   13445   $as_echo_n "(cached) " >&6
   13446 else
   13447   if test -n "$OTOOL"; then
   13448   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13449 else
   13450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13451 for as_dir in $PATH
   13452 do
   13453   IFS=$as_save_IFS
   13454   test -z "$as_dir" && as_dir=.
   13455     for ac_exec_ext in '' $ac_executable_extensions; do
   13456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13457     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13459     break 2
   13460   fi
   13461 done
   13462   done
   13463 IFS=$as_save_IFS
   13464 
   13465 fi
   13466 fi
   13467 OTOOL=$ac_cv_prog_OTOOL
   13468 if test -n "$OTOOL"; then
   13469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13470 $as_echo "$OTOOL" >&6; }
   13471 else
   13472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13473 $as_echo "no" >&6; }
   13474 fi
   13475 
   13476 
   13477 fi
   13478 if test -z "$ac_cv_prog_OTOOL"; then
   13479   ac_ct_OTOOL=$OTOOL
   13480   # Extract the first word of "otool", so it can be a program name with args.
   13481 set dummy otool; ac_word=$2
   13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13483 $as_echo_n "checking for $ac_word... " >&6; }
   13484 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13485   $as_echo_n "(cached) " >&6
   13486 else
   13487   if test -n "$ac_ct_OTOOL"; then
   13488   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13489 else
   13490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13491 for as_dir in $PATH
   13492 do
   13493   IFS=$as_save_IFS
   13494   test -z "$as_dir" && as_dir=.
   13495     for ac_exec_ext in '' $ac_executable_extensions; do
   13496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13497     ac_cv_prog_ac_ct_OTOOL="otool"
   13498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13499     break 2
   13500   fi
   13501 done
   13502   done
   13503 IFS=$as_save_IFS
   13504 
   13505 fi
   13506 fi
   13507 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13508 if test -n "$ac_ct_OTOOL"; then
   13509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13510 $as_echo "$ac_ct_OTOOL" >&6; }
   13511 else
   13512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13513 $as_echo "no" >&6; }
   13514 fi
   13515 
   13516   if test "x$ac_ct_OTOOL" = x; then
   13517     OTOOL=":"
   13518   else
   13519     case $cross_compiling:$ac_tool_warned in
   13520 yes:)
   13521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13523 ac_tool_warned=yes ;;
   13524 esac
   13525     OTOOL=$ac_ct_OTOOL
   13526   fi
   13527 else
   13528   OTOOL="$ac_cv_prog_OTOOL"
   13529 fi
   13530 
   13531     if test -n "$ac_tool_prefix"; then
   13532   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13533 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13535 $as_echo_n "checking for $ac_word... " >&6; }
   13536 if ${ac_cv_prog_OTOOL64+:} false; then :
   13537   $as_echo_n "(cached) " >&6
   13538 else
   13539   if test -n "$OTOOL64"; then
   13540   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13541 else
   13542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13543 for as_dir in $PATH
   13544 do
   13545   IFS=$as_save_IFS
   13546   test -z "$as_dir" && as_dir=.
   13547     for ac_exec_ext in '' $ac_executable_extensions; do
   13548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13549     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13551     break 2
   13552   fi
   13553 done
   13554   done
   13555 IFS=$as_save_IFS
   13556 
   13557 fi
   13558 fi
   13559 OTOOL64=$ac_cv_prog_OTOOL64
   13560 if test -n "$OTOOL64"; then
   13561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13562 $as_echo "$OTOOL64" >&6; }
   13563 else
   13564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13565 $as_echo "no" >&6; }
   13566 fi
   13567 
   13568 
   13569 fi
   13570 if test -z "$ac_cv_prog_OTOOL64"; then
   13571   ac_ct_OTOOL64=$OTOOL64
   13572   # Extract the first word of "otool64", so it can be a program name with args.
   13573 set dummy otool64; ac_word=$2
   13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13575 $as_echo_n "checking for $ac_word... " >&6; }
   13576 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13577   $as_echo_n "(cached) " >&6
   13578 else
   13579   if test -n "$ac_ct_OTOOL64"; then
   13580   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13581 else
   13582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13583 for as_dir in $PATH
   13584 do
   13585   IFS=$as_save_IFS
   13586   test -z "$as_dir" && as_dir=.
   13587     for ac_exec_ext in '' $ac_executable_extensions; do
   13588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13589     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13591     break 2
   13592   fi
   13593 done
   13594   done
   13595 IFS=$as_save_IFS
   13596 
   13597 fi
   13598 fi
   13599 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13600 if test -n "$ac_ct_OTOOL64"; then
   13601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13602 $as_echo "$ac_ct_OTOOL64" >&6; }
   13603 else
   13604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13605 $as_echo "no" >&6; }
   13606 fi
   13607 
   13608   if test "x$ac_ct_OTOOL64" = x; then
   13609     OTOOL64=":"
   13610   else
   13611     case $cross_compiling:$ac_tool_warned in
   13612 yes:)
   13613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13615 ac_tool_warned=yes ;;
   13616 esac
   13617     OTOOL64=$ac_ct_OTOOL64
   13618   fi
   13619 else
   13620   OTOOL64="$ac_cv_prog_OTOOL64"
   13621 fi
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13650 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13651 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13652   $as_echo_n "(cached) " >&6
   13653 else
   13654   lt_cv_apple_cc_single_mod=no
   13655       if test -z "${LT_MULTI_MODULE}"; then
   13656 	# By default we will add the -single_module flag. You can override
   13657 	# by either setting the environment variable LT_MULTI_MODULE
   13658 	# non-empty at configure time, or by adding -multi_module to the
   13659 	# link flags.
   13660 	rm -rf libconftest.dylib*
   13661 	echo "int foo(void){return 1;}" > conftest.c
   13662 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13663 -dynamiclib -Wl,-single_module conftest.c" >&5
   13664 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13665 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13666         _lt_result=$?
   13667 	# If there is a non-empty error log, and "single_module"
   13668 	# appears in it, assume the flag caused a linker warning
   13669         if test -s conftest.err && $GREP single_module conftest.err; then
   13670 	  cat conftest.err >&5
   13671 	# Otherwise, if the output was created with a 0 exit code from
   13672 	# the compiler, it worked.
   13673 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13674 	  lt_cv_apple_cc_single_mod=yes
   13675 	else
   13676 	  cat conftest.err >&5
   13677 	fi
   13678 	rm -rf libconftest.dylib*
   13679 	rm -f conftest.*
   13680       fi
   13681 fi
   13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13683 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13684 
   13685     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13686 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13687 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13688   $as_echo_n "(cached) " >&6
   13689 else
   13690   lt_cv_ld_exported_symbols_list=no
   13691       save_LDFLAGS=$LDFLAGS
   13692       echo "_main" > conftest.sym
   13693       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13695 /* end confdefs.h.  */
   13696 
   13697 int
   13698 main ()
   13699 {
   13700 
   13701   ;
   13702   return 0;
   13703 }
   13704 _ACEOF
   13705 if ac_fn_c_try_link "$LINENO"; then :
   13706   lt_cv_ld_exported_symbols_list=yes
   13707 else
   13708   lt_cv_ld_exported_symbols_list=no
   13709 fi
   13710 rm -f core conftest.err conftest.$ac_objext \
   13711     conftest$ac_exeext conftest.$ac_ext
   13712 	LDFLAGS="$save_LDFLAGS"
   13713 
   13714 fi
   13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13716 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13717 
   13718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13719 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13720 if ${lt_cv_ld_force_load+:} false; then :
   13721   $as_echo_n "(cached) " >&6
   13722 else
   13723   lt_cv_ld_force_load=no
   13724       cat > conftest.c << _LT_EOF
   13725 int forced_loaded() { return 2;}
   13726 _LT_EOF
   13727       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13728       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13729       echo "$AR cru libconftest.a conftest.o" >&5
   13730       $AR cru libconftest.a conftest.o 2>&5
   13731       echo "$RANLIB libconftest.a" >&5
   13732       $RANLIB libconftest.a 2>&5
   13733       cat > conftest.c << _LT_EOF
   13734 int main() { return 0;}
   13735 _LT_EOF
   13736       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13737       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13738       _lt_result=$?
   13739       if test -s conftest.err && $GREP force_load conftest.err; then
   13740 	cat conftest.err >&5
   13741       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13742 	lt_cv_ld_force_load=yes
   13743       else
   13744 	cat conftest.err >&5
   13745       fi
   13746         rm -f conftest.err libconftest.a conftest conftest.c
   13747         rm -rf conftest.dSYM
   13748 
   13749 fi
   13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13751 $as_echo "$lt_cv_ld_force_load" >&6; }
   13752     case $host_os in
   13753     rhapsody* | darwin1.[012])
   13754       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13755     darwin1.*)
   13756       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13757     darwin*) # darwin 5.x on
   13758       # if running on 10.5 or later, the deployment target defaults
   13759       # to the OS version, if on x86, and 10.4, the deployment
   13760       # target defaults to 10.4. Don't you love it?
   13761       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13762 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13763 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13764 	10.[012]*)
   13765 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13766 	10.*)
   13767 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13768       esac
   13769     ;;
   13770   esac
   13771     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13772       _lt_dar_single_mod='$single_module'
   13773     fi
   13774     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13775       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13776     else
   13777       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13778     fi
   13779     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13780       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13781     else
   13782       _lt_dsymutil=
   13783     fi
   13784     ;;
   13785   esac
   13786 
   13787 for ac_header in dlfcn.h
   13788 do :
   13789   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13790 "
   13791 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13792   cat >>confdefs.h <<_ACEOF
   13793 #define HAVE_DLFCN_H 1
   13794 _ACEOF
   13795 
   13796 fi
   13797 
   13798 done
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 # Set options
   13805 
   13806 
   13807 
   13808         enable_dlopen=no
   13809 
   13810 
   13811   enable_win32_dll=no
   13812 
   13813 
   13814             # Check whether --enable-shared was given.
   13815 if test "${enable_shared+set}" = set; then :
   13816   enableval=$enable_shared; p=${PACKAGE-default}
   13817     case $enableval in
   13818     yes) enable_shared=yes ;;
   13819     no) enable_shared=no ;;
   13820     *)
   13821       enable_shared=no
   13822       # Look at the argument we got.  We use all the common list separators.
   13823       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13824       for pkg in $enableval; do
   13825 	IFS="$lt_save_ifs"
   13826 	if test "X$pkg" = "X$p"; then
   13827 	  enable_shared=yes
   13828 	fi
   13829       done
   13830       IFS="$lt_save_ifs"
   13831       ;;
   13832     esac
   13833 else
   13834   enable_shared=yes
   13835 fi
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 # Check whether --with-pic was given.
   13848 if test "${with_pic+set}" = set; then :
   13849   withval=$with_pic; lt_p=${PACKAGE-default}
   13850     case $withval in
   13851     yes|no) pic_mode=$withval ;;
   13852     *)
   13853       pic_mode=default
   13854       # Look at the argument we got.  We use all the common list separators.
   13855       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13856       for lt_pkg in $withval; do
   13857 	IFS="$lt_save_ifs"
   13858 	if test "X$lt_pkg" = "X$lt_p"; then
   13859 	  pic_mode=yes
   13860 	fi
   13861       done
   13862       IFS="$lt_save_ifs"
   13863       ;;
   13864     esac
   13865 else
   13866   pic_mode=default
   13867 fi
   13868 
   13869 
   13870 test -z "$pic_mode" && pic_mode=default
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878   # Check whether --enable-fast-install was given.
   13879 if test "${enable_fast_install+set}" = set; then :
   13880   enableval=$enable_fast_install; p=${PACKAGE-default}
   13881     case $enableval in
   13882     yes) enable_fast_install=yes ;;
   13883     no) enable_fast_install=no ;;
   13884     *)
   13885       enable_fast_install=no
   13886       # Look at the argument we got.  We use all the common list separators.
   13887       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13888       for pkg in $enableval; do
   13889 	IFS="$lt_save_ifs"
   13890 	if test "X$pkg" = "X$p"; then
   13891 	  enable_fast_install=yes
   13892 	fi
   13893       done
   13894       IFS="$lt_save_ifs"
   13895       ;;
   13896     esac
   13897 else
   13898   enable_fast_install=yes
   13899 fi
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 # This can be used to rebuild libtool when needed
   13912 LIBTOOL_DEPS="$ltmain"
   13913 
   13914 # Always use our own libtool.
   13915 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 test -z "$LN_S" && LN_S="ln -s"
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 if test -n "${ZSH_VERSION+set}" ; then
   13962    setopt NO_GLOB_SUBST
   13963 fi
   13964 
   13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13966 $as_echo_n "checking for objdir... " >&6; }
   13967 if ${lt_cv_objdir+:} false; then :
   13968   $as_echo_n "(cached) " >&6
   13969 else
   13970   rm -f .libs 2>/dev/null
   13971 mkdir .libs 2>/dev/null
   13972 if test -d .libs; then
   13973   lt_cv_objdir=.libs
   13974 else
   13975   # MS-DOS does not allow filenames that begin with a dot.
   13976   lt_cv_objdir=_libs
   13977 fi
   13978 rmdir .libs 2>/dev/null
   13979 fi
   13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13981 $as_echo "$lt_cv_objdir" >&6; }
   13982 objdir=$lt_cv_objdir
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 cat >>confdefs.h <<_ACEOF
   13989 #define LT_OBJDIR "$lt_cv_objdir/"
   13990 _ACEOF
   13991 
   13992 
   13993 
   13994 
   13995 case $host_os in
   13996 aix3*)
   13997   # AIX sometimes has problems with the GCC collect2 program.  For some
   13998   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13999   # vanish in a puff of smoke.
   14000   if test "X${COLLECT_NAMES+set}" != Xset; then
   14001     COLLECT_NAMES=
   14002     export COLLECT_NAMES
   14003   fi
   14004   ;;
   14005 esac
   14006 
   14007 # Global variables:
   14008 ofile=libtool
   14009 can_build_shared=yes
   14010 
   14011 # All known linkers require a `.a' archive for static linking (except MSVC,
   14012 # which needs '.lib').
   14013 libext=a
   14014 
   14015 with_gnu_ld="$lt_cv_prog_gnu_ld"
   14016 
   14017 old_CC="$CC"
   14018 old_CFLAGS="$CFLAGS"
   14019 
   14020 # Set sane defaults for various variables
   14021 test -z "$CC" && CC=cc
   14022 test -z "$LTCC" && LTCC=$CC
   14023 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14024 test -z "$LD" && LD=ld
   14025 test -z "$ac_objext" && ac_objext=o
   14026 
   14027 for cc_temp in $compiler""; do
   14028   case $cc_temp in
   14029     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14030     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14031     \-*) ;;
   14032     *) break;;
   14033   esac
   14034 done
   14035 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14036 
   14037 
   14038 # Only perform the check for file, if the check method requires it
   14039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14040 case $deplibs_check_method in
   14041 file_magic*)
   14042   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14044 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14046   $as_echo_n "(cached) " >&6
   14047 else
   14048   case $MAGIC_CMD in
   14049 [\\/*] |  ?:[\\/]*)
   14050   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14051   ;;
   14052 *)
   14053   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14054   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14055   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14056   for ac_dir in $ac_dummy; do
   14057     IFS="$lt_save_ifs"
   14058     test -z "$ac_dir" && ac_dir=.
   14059     if test -f $ac_dir/${ac_tool_prefix}file; then
   14060       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14061       if test -n "$file_magic_test_file"; then
   14062 	case $deplibs_check_method in
   14063 	"file_magic "*)
   14064 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14065 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14066 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14067 	    $EGREP "$file_magic_regex" > /dev/null; then
   14068 	    :
   14069 	  else
   14070 	    cat <<_LT_EOF 1>&2
   14071 
   14072 *** Warning: the command libtool uses to detect shared libraries,
   14073 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14074 *** The result is that libtool may fail to recognize shared libraries
   14075 *** as such.  This will affect the creation of libtool libraries that
   14076 *** depend on shared libraries, but programs linked with such libtool
   14077 *** libraries will work regardless of this problem.  Nevertheless, you
   14078 *** may want to report the problem to your system manager and/or to
   14079 *** bug-libtool@gnu.org
   14080 
   14081 _LT_EOF
   14082 	  fi ;;
   14083 	esac
   14084       fi
   14085       break
   14086     fi
   14087   done
   14088   IFS="$lt_save_ifs"
   14089   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14090   ;;
   14091 esac
   14092 fi
   14093 
   14094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14095 if test -n "$MAGIC_CMD"; then
   14096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14097 $as_echo "$MAGIC_CMD" >&6; }
   14098 else
   14099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14100 $as_echo "no" >&6; }
   14101 fi
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14108   if test -n "$ac_tool_prefix"; then
   14109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14110 $as_echo_n "checking for file... " >&6; }
   14111 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14112   $as_echo_n "(cached) " >&6
   14113 else
   14114   case $MAGIC_CMD in
   14115 [\\/*] |  ?:[\\/]*)
   14116   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14117   ;;
   14118 *)
   14119   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14120   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14121   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14122   for ac_dir in $ac_dummy; do
   14123     IFS="$lt_save_ifs"
   14124     test -z "$ac_dir" && ac_dir=.
   14125     if test -f $ac_dir/file; then
   14126       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14127       if test -n "$file_magic_test_file"; then
   14128 	case $deplibs_check_method in
   14129 	"file_magic "*)
   14130 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14131 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14132 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14133 	    $EGREP "$file_magic_regex" > /dev/null; then
   14134 	    :
   14135 	  else
   14136 	    cat <<_LT_EOF 1>&2
   14137 
   14138 *** Warning: the command libtool uses to detect shared libraries,
   14139 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14140 *** The result is that libtool may fail to recognize shared libraries
   14141 *** as such.  This will affect the creation of libtool libraries that
   14142 *** depend on shared libraries, but programs linked with such libtool
   14143 *** libraries will work regardless of this problem.  Nevertheless, you
   14144 *** may want to report the problem to your system manager and/or to
   14145 *** bug-libtool@gnu.org
   14146 
   14147 _LT_EOF
   14148 	  fi ;;
   14149 	esac
   14150       fi
   14151       break
   14152     fi
   14153   done
   14154   IFS="$lt_save_ifs"
   14155   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14156   ;;
   14157 esac
   14158 fi
   14159 
   14160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14161 if test -n "$MAGIC_CMD"; then
   14162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14163 $as_echo "$MAGIC_CMD" >&6; }
   14164 else
   14165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14166 $as_echo "no" >&6; }
   14167 fi
   14168 
   14169 
   14170   else
   14171     MAGIC_CMD=:
   14172   fi
   14173 fi
   14174 
   14175   fi
   14176   ;;
   14177 esac
   14178 
   14179 # Use C for the default configuration in the libtool script
   14180 
   14181 lt_save_CC="$CC"
   14182 ac_ext=c
   14183 ac_cpp='$CPP $CPPFLAGS'
   14184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14187 
   14188 
   14189 # Source file extension for C test sources.
   14190 ac_ext=c
   14191 
   14192 # Object file extension for compiled C test sources.
   14193 objext=o
   14194 objext=$objext
   14195 
   14196 # Code to be used in simple compile tests
   14197 lt_simple_compile_test_code="int some_variable = 0;"
   14198 
   14199 # Code to be used in simple link tests
   14200 lt_simple_link_test_code='int main(){return(0);}'
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 # If no C compiler was specified, use CC.
   14209 LTCC=${LTCC-"$CC"}
   14210 
   14211 # If no C compiler flags were specified, use CFLAGS.
   14212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14213 
   14214 # Allow CC to be a program name with arguments.
   14215 compiler=$CC
   14216 
   14217 # Save the default compiler, since it gets overwritten when the other
   14218 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14219 compiler_DEFAULT=$CC
   14220 
   14221 # save warnings/boilerplate of simple test code
   14222 ac_outfile=conftest.$ac_objext
   14223 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14224 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14225 _lt_compiler_boilerplate=`cat conftest.err`
   14226 $RM conftest*
   14227 
   14228 ac_outfile=conftest.$ac_objext
   14229 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14230 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14231 _lt_linker_boilerplate=`cat conftest.err`
   14232 $RM -r conftest*
   14233 
   14234 
   14235 if test -n "$compiler"; then
   14236 
   14237 lt_prog_compiler_no_builtin_flag=
   14238 
   14239 if test "$GCC" = yes; then
   14240   case $cc_basename in
   14241   nvcc*)
   14242     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14243   *)
   14244     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14245   esac
   14246 
   14247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14248 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14249 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14250   $as_echo_n "(cached) " >&6
   14251 else
   14252   lt_cv_prog_compiler_rtti_exceptions=no
   14253    ac_outfile=conftest.$ac_objext
   14254    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14255    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14256    # Insert the option either (1) after the last *FLAGS variable, or
   14257    # (2) before a word containing "conftest.", or (3) at the end.
   14258    # Note that $ac_compile itself does not contain backslashes and begins
   14259    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14260    # The option is referenced via a variable to avoid confusing sed.
   14261    lt_compile=`echo "$ac_compile" | $SED \
   14262    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14263    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14264    -e 's:$: $lt_compiler_flag:'`
   14265    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14266    (eval "$lt_compile" 2>conftest.err)
   14267    ac_status=$?
   14268    cat conftest.err >&5
   14269    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14270    if (exit $ac_status) && test -s "$ac_outfile"; then
   14271      # The compiler can only warn and ignore the option if not recognized
   14272      # So say no if there are warnings other than the usual output.
   14273      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14274      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14275      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14276        lt_cv_prog_compiler_rtti_exceptions=yes
   14277      fi
   14278    fi
   14279    $RM conftest*
   14280 
   14281 fi
   14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14283 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14284 
   14285 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14286     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14287 else
   14288     :
   14289 fi
   14290 
   14291 fi
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298   lt_prog_compiler_wl=
   14299 lt_prog_compiler_pic=
   14300 lt_prog_compiler_static=
   14301 
   14302 
   14303   if test "$GCC" = yes; then
   14304     lt_prog_compiler_wl='-Wl,'
   14305     lt_prog_compiler_static='-static'
   14306 
   14307     case $host_os in
   14308       aix*)
   14309       # All AIX code is PIC.
   14310       if test "$host_cpu" = ia64; then
   14311 	# AIX 5 now supports IA64 processor
   14312 	lt_prog_compiler_static='-Bstatic'
   14313       fi
   14314       ;;
   14315 
   14316     amigaos*)
   14317       case $host_cpu in
   14318       powerpc)
   14319             # see comment about AmigaOS4 .so support
   14320             lt_prog_compiler_pic='-fPIC'
   14321         ;;
   14322       m68k)
   14323             # FIXME: we need at least 68020 code to build shared libraries, but
   14324             # adding the `-m68020' flag to GCC prevents building anything better,
   14325             # like `-m68040'.
   14326             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14327         ;;
   14328       esac
   14329       ;;
   14330 
   14331     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14332       # PIC is the default for these OSes.
   14333       ;;
   14334 
   14335     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14336       # This hack is so that the source file can tell whether it is being
   14337       # built for inclusion in a dll (and should export symbols for example).
   14338       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14339       # (--disable-auto-import) libraries
   14340       lt_prog_compiler_pic='-DDLL_EXPORT'
   14341       ;;
   14342 
   14343     darwin* | rhapsody*)
   14344       # PIC is the default on this platform
   14345       # Common symbols not allowed in MH_DYLIB files
   14346       lt_prog_compiler_pic='-fno-common'
   14347       ;;
   14348 
   14349     haiku*)
   14350       # PIC is the default for Haiku.
   14351       # The "-static" flag exists, but is broken.
   14352       lt_prog_compiler_static=
   14353       ;;
   14354 
   14355     hpux*)
   14356       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14357       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14358       # sets the default TLS model and affects inlining.
   14359       case $host_cpu in
   14360       hppa*64*)
   14361 	# +Z the default
   14362 	;;
   14363       *)
   14364 	lt_prog_compiler_pic='-fPIC'
   14365 	;;
   14366       esac
   14367       ;;
   14368 
   14369     interix[3-9]*)
   14370       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14371       # Instead, we relocate shared libraries at runtime.
   14372       ;;
   14373 
   14374     msdosdjgpp*)
   14375       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14376       # on systems that don't support them.
   14377       lt_prog_compiler_can_build_shared=no
   14378       enable_shared=no
   14379       ;;
   14380 
   14381     *nto* | *qnx*)
   14382       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14383       # it will coredump.
   14384       lt_prog_compiler_pic='-fPIC -shared'
   14385       ;;
   14386 
   14387     sysv4*MP*)
   14388       if test -d /usr/nec; then
   14389 	lt_prog_compiler_pic=-Kconform_pic
   14390       fi
   14391       ;;
   14392 
   14393     *)
   14394       lt_prog_compiler_pic='-fPIC'
   14395       ;;
   14396     esac
   14397 
   14398     case $cc_basename in
   14399     nvcc*) # Cuda Compiler Driver 2.2
   14400       lt_prog_compiler_wl='-Xlinker '
   14401       if test -n "$lt_prog_compiler_pic"; then
   14402         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14403       fi
   14404       ;;
   14405     esac
   14406   else
   14407     # PORTME Check for flag to pass linker flags through the system compiler.
   14408     case $host_os in
   14409     aix*)
   14410       lt_prog_compiler_wl='-Wl,'
   14411       if test "$host_cpu" = ia64; then
   14412 	# AIX 5 now supports IA64 processor
   14413 	lt_prog_compiler_static='-Bstatic'
   14414       else
   14415 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14416       fi
   14417       ;;
   14418 
   14419     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14420       # This hack is so that the source file can tell whether it is being
   14421       # built for inclusion in a dll (and should export symbols for example).
   14422       lt_prog_compiler_pic='-DDLL_EXPORT'
   14423       ;;
   14424 
   14425     hpux9* | hpux10* | hpux11*)
   14426       lt_prog_compiler_wl='-Wl,'
   14427       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14428       # not for PA HP-UX.
   14429       case $host_cpu in
   14430       hppa*64*|ia64*)
   14431 	# +Z the default
   14432 	;;
   14433       *)
   14434 	lt_prog_compiler_pic='+Z'
   14435 	;;
   14436       esac
   14437       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14438       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14439       ;;
   14440 
   14441     irix5* | irix6* | nonstopux*)
   14442       lt_prog_compiler_wl='-Wl,'
   14443       # PIC (with -KPIC) is the default.
   14444       lt_prog_compiler_static='-non_shared'
   14445       ;;
   14446 
   14447     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14448       case $cc_basename in
   14449       # old Intel for x86_64 which still supported -KPIC.
   14450       ecc*)
   14451 	lt_prog_compiler_wl='-Wl,'
   14452 	lt_prog_compiler_pic='-KPIC'
   14453 	lt_prog_compiler_static='-static'
   14454         ;;
   14455       # icc used to be incompatible with GCC.
   14456       # ICC 10 doesn't accept -KPIC any more.
   14457       icc* | ifort*)
   14458 	lt_prog_compiler_wl='-Wl,'
   14459 	lt_prog_compiler_pic='-fPIC'
   14460 	lt_prog_compiler_static='-static'
   14461         ;;
   14462       # Lahey Fortran 8.1.
   14463       lf95*)
   14464 	lt_prog_compiler_wl='-Wl,'
   14465 	lt_prog_compiler_pic='--shared'
   14466 	lt_prog_compiler_static='--static'
   14467 	;;
   14468       nagfor*)
   14469 	# NAG Fortran compiler
   14470 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14471 	lt_prog_compiler_pic='-PIC'
   14472 	lt_prog_compiler_static='-Bstatic'
   14473 	;;
   14474       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14475         # Portland Group compilers (*not* the Pentium gcc compiler,
   14476 	# which looks to be a dead project)
   14477 	lt_prog_compiler_wl='-Wl,'
   14478 	lt_prog_compiler_pic='-fpic'
   14479 	lt_prog_compiler_static='-Bstatic'
   14480         ;;
   14481       ccc*)
   14482         lt_prog_compiler_wl='-Wl,'
   14483         # All Alpha code is PIC.
   14484         lt_prog_compiler_static='-non_shared'
   14485         ;;
   14486       xl* | bgxl* | bgf* | mpixl*)
   14487 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14488 	lt_prog_compiler_wl='-Wl,'
   14489 	lt_prog_compiler_pic='-qpic'
   14490 	lt_prog_compiler_static='-qstaticlink'
   14491 	;;
   14492       *)
   14493 	case `$CC -V 2>&1 | sed 5q` in
   14494 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14495 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14496 	  lt_prog_compiler_pic='-KPIC'
   14497 	  lt_prog_compiler_static='-Bstatic'
   14498 	  lt_prog_compiler_wl=''
   14499 	  ;;
   14500 	*Sun\ F* | *Sun*Fortran*)
   14501 	  lt_prog_compiler_pic='-KPIC'
   14502 	  lt_prog_compiler_static='-Bstatic'
   14503 	  lt_prog_compiler_wl='-Qoption ld '
   14504 	  ;;
   14505 	*Sun\ C*)
   14506 	  # Sun C 5.9
   14507 	  lt_prog_compiler_pic='-KPIC'
   14508 	  lt_prog_compiler_static='-Bstatic'
   14509 	  lt_prog_compiler_wl='-Wl,'
   14510 	  ;;
   14511         *Intel*\ [CF]*Compiler*)
   14512 	  lt_prog_compiler_wl='-Wl,'
   14513 	  lt_prog_compiler_pic='-fPIC'
   14514 	  lt_prog_compiler_static='-static'
   14515 	  ;;
   14516 	*Portland\ Group*)
   14517 	  lt_prog_compiler_wl='-Wl,'
   14518 	  lt_prog_compiler_pic='-fpic'
   14519 	  lt_prog_compiler_static='-Bstatic'
   14520 	  ;;
   14521 	esac
   14522 	;;
   14523       esac
   14524       ;;
   14525 
   14526     newsos6)
   14527       lt_prog_compiler_pic='-KPIC'
   14528       lt_prog_compiler_static='-Bstatic'
   14529       ;;
   14530 
   14531     *nto* | *qnx*)
   14532       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14533       # it will coredump.
   14534       lt_prog_compiler_pic='-fPIC -shared'
   14535       ;;
   14536 
   14537     osf3* | osf4* | osf5*)
   14538       lt_prog_compiler_wl='-Wl,'
   14539       # All OSF/1 code is PIC.
   14540       lt_prog_compiler_static='-non_shared'
   14541       ;;
   14542 
   14543     rdos*)
   14544       lt_prog_compiler_static='-non_shared'
   14545       ;;
   14546 
   14547     solaris*)
   14548       lt_prog_compiler_pic='-KPIC'
   14549       lt_prog_compiler_static='-Bstatic'
   14550       case $cc_basename in
   14551       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14552 	lt_prog_compiler_wl='-Qoption ld ';;
   14553       *)
   14554 	lt_prog_compiler_wl='-Wl,';;
   14555       esac
   14556       ;;
   14557 
   14558     sunos4*)
   14559       lt_prog_compiler_wl='-Qoption ld '
   14560       lt_prog_compiler_pic='-PIC'
   14561       lt_prog_compiler_static='-Bstatic'
   14562       ;;
   14563 
   14564     sysv4 | sysv4.2uw2* | sysv4.3*)
   14565       lt_prog_compiler_wl='-Wl,'
   14566       lt_prog_compiler_pic='-KPIC'
   14567       lt_prog_compiler_static='-Bstatic'
   14568       ;;
   14569 
   14570     sysv4*MP*)
   14571       if test -d /usr/nec ;then
   14572 	lt_prog_compiler_pic='-Kconform_pic'
   14573 	lt_prog_compiler_static='-Bstatic'
   14574       fi
   14575       ;;
   14576 
   14577     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14578       lt_prog_compiler_wl='-Wl,'
   14579       lt_prog_compiler_pic='-KPIC'
   14580       lt_prog_compiler_static='-Bstatic'
   14581       ;;
   14582 
   14583     unicos*)
   14584       lt_prog_compiler_wl='-Wl,'
   14585       lt_prog_compiler_can_build_shared=no
   14586       ;;
   14587 
   14588     uts4*)
   14589       lt_prog_compiler_pic='-pic'
   14590       lt_prog_compiler_static='-Bstatic'
   14591       ;;
   14592 
   14593     *)
   14594       lt_prog_compiler_can_build_shared=no
   14595       ;;
   14596     esac
   14597   fi
   14598 
   14599 case $host_os in
   14600   # For platforms which do not support PIC, -DPIC is meaningless:
   14601   *djgpp*)
   14602     lt_prog_compiler_pic=
   14603     ;;
   14604   *)
   14605     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14606     ;;
   14607 esac
   14608 
   14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14611 if ${lt_cv_prog_compiler_pic+:} false; then :
   14612   $as_echo_n "(cached) " >&6
   14613 else
   14614   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14615 fi
   14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14617 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14618 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14619 
   14620 #
   14621 # Check to make sure the PIC flag actually works.
   14622 #
   14623 if test -n "$lt_prog_compiler_pic"; then
   14624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14625 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14626 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14627   $as_echo_n "(cached) " >&6
   14628 else
   14629   lt_cv_prog_compiler_pic_works=no
   14630    ac_outfile=conftest.$ac_objext
   14631    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14632    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14633    # Insert the option either (1) after the last *FLAGS variable, or
   14634    # (2) before a word containing "conftest.", or (3) at the end.
   14635    # Note that $ac_compile itself does not contain backslashes and begins
   14636    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14637    # The option is referenced via a variable to avoid confusing sed.
   14638    lt_compile=`echo "$ac_compile" | $SED \
   14639    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14640    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14641    -e 's:$: $lt_compiler_flag:'`
   14642    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14643    (eval "$lt_compile" 2>conftest.err)
   14644    ac_status=$?
   14645    cat conftest.err >&5
   14646    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14647    if (exit $ac_status) && test -s "$ac_outfile"; then
   14648      # The compiler can only warn and ignore the option if not recognized
   14649      # So say no if there are warnings other than the usual output.
   14650      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14651      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14652      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14653        lt_cv_prog_compiler_pic_works=yes
   14654      fi
   14655    fi
   14656    $RM conftest*
   14657 
   14658 fi
   14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14660 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14661 
   14662 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14663     case $lt_prog_compiler_pic in
   14664      "" | " "*) ;;
   14665      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14666      esac
   14667 else
   14668     lt_prog_compiler_pic=
   14669      lt_prog_compiler_can_build_shared=no
   14670 fi
   14671 
   14672 fi
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 #
   14685 # Check to make sure the static flag actually works.
   14686 #
   14687 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14689 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14690 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14691   $as_echo_n "(cached) " >&6
   14692 else
   14693   lt_cv_prog_compiler_static_works=no
   14694    save_LDFLAGS="$LDFLAGS"
   14695    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14696    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14697    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14698      # The linker can only warn and ignore the option if not recognized
   14699      # So say no if there are warnings
   14700      if test -s conftest.err; then
   14701        # Append any errors to the config.log.
   14702        cat conftest.err 1>&5
   14703        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14704        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14705        if diff conftest.exp conftest.er2 >/dev/null; then
   14706          lt_cv_prog_compiler_static_works=yes
   14707        fi
   14708      else
   14709        lt_cv_prog_compiler_static_works=yes
   14710      fi
   14711    fi
   14712    $RM -r conftest*
   14713    LDFLAGS="$save_LDFLAGS"
   14714 
   14715 fi
   14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14717 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14718 
   14719 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14720     :
   14721 else
   14722     lt_prog_compiler_static=
   14723 fi
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14733 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14734   $as_echo_n "(cached) " >&6
   14735 else
   14736   lt_cv_prog_compiler_c_o=no
   14737    $RM -r conftest 2>/dev/null
   14738    mkdir conftest
   14739    cd conftest
   14740    mkdir out
   14741    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14742 
   14743    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14744    # Insert the option either (1) after the last *FLAGS variable, or
   14745    # (2) before a word containing "conftest.", or (3) at the end.
   14746    # Note that $ac_compile itself does not contain backslashes and begins
   14747    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14748    lt_compile=`echo "$ac_compile" | $SED \
   14749    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14750    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14751    -e 's:$: $lt_compiler_flag:'`
   14752    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14753    (eval "$lt_compile" 2>out/conftest.err)
   14754    ac_status=$?
   14755    cat out/conftest.err >&5
   14756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14757    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14758    then
   14759      # The compiler can only warn and ignore the option if not recognized
   14760      # So say no if there are warnings
   14761      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14762      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14763      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14764        lt_cv_prog_compiler_c_o=yes
   14765      fi
   14766    fi
   14767    chmod u+w . 2>&5
   14768    $RM conftest*
   14769    # SGI C++ compiler will create directory out/ii_files/ for
   14770    # template instantiation
   14771    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14772    $RM out/* && rmdir out
   14773    cd ..
   14774    $RM -r conftest
   14775    $RM conftest*
   14776 
   14777 fi
   14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14779 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14787 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14788 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14789   $as_echo_n "(cached) " >&6
   14790 else
   14791   lt_cv_prog_compiler_c_o=no
   14792    $RM -r conftest 2>/dev/null
   14793    mkdir conftest
   14794    cd conftest
   14795    mkdir out
   14796    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14797 
   14798    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14799    # Insert the option either (1) after the last *FLAGS variable, or
   14800    # (2) before a word containing "conftest.", or (3) at the end.
   14801    # Note that $ac_compile itself does not contain backslashes and begins
   14802    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14803    lt_compile=`echo "$ac_compile" | $SED \
   14804    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14805    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14806    -e 's:$: $lt_compiler_flag:'`
   14807    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14808    (eval "$lt_compile" 2>out/conftest.err)
   14809    ac_status=$?
   14810    cat out/conftest.err >&5
   14811    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14812    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14813    then
   14814      # The compiler can only warn and ignore the option if not recognized
   14815      # So say no if there are warnings
   14816      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14817      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14818      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14819        lt_cv_prog_compiler_c_o=yes
   14820      fi
   14821    fi
   14822    chmod u+w . 2>&5
   14823    $RM conftest*
   14824    # SGI C++ compiler will create directory out/ii_files/ for
   14825    # template instantiation
   14826    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14827    $RM out/* && rmdir out
   14828    cd ..
   14829    $RM -r conftest
   14830    $RM conftest*
   14831 
   14832 fi
   14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14834 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14835 
   14836 
   14837 
   14838 
   14839 hard_links="nottested"
   14840 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14841   # do not overwrite the value of need_locks provided by the user
   14842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14843 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14844   hard_links=yes
   14845   $RM conftest*
   14846   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14847   touch conftest.a
   14848   ln conftest.a conftest.b 2>&5 || hard_links=no
   14849   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14851 $as_echo "$hard_links" >&6; }
   14852   if test "$hard_links" = no; then
   14853     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14854 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14855     need_locks=warn
   14856   fi
   14857 else
   14858   need_locks=no
   14859 fi
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14867 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14868 
   14869   runpath_var=
   14870   allow_undefined_flag=
   14871   always_export_symbols=no
   14872   archive_cmds=
   14873   archive_expsym_cmds=
   14874   compiler_needs_object=no
   14875   enable_shared_with_static_runtimes=no
   14876   export_dynamic_flag_spec=
   14877   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14878   hardcode_automatic=no
   14879   hardcode_direct=no
   14880   hardcode_direct_absolute=no
   14881   hardcode_libdir_flag_spec=
   14882   hardcode_libdir_separator=
   14883   hardcode_minus_L=no
   14884   hardcode_shlibpath_var=unsupported
   14885   inherit_rpath=no
   14886   link_all_deplibs=unknown
   14887   module_cmds=
   14888   module_expsym_cmds=
   14889   old_archive_from_new_cmds=
   14890   old_archive_from_expsyms_cmds=
   14891   thread_safe_flag_spec=
   14892   whole_archive_flag_spec=
   14893   # include_expsyms should be a list of space-separated symbols to be *always*
   14894   # included in the symbol list
   14895   include_expsyms=
   14896   # exclude_expsyms can be an extended regexp of symbols to exclude
   14897   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14898   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14899   # as well as any symbol that contains `d'.
   14900   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14901   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14902   # platforms (ab)use it in PIC code, but their linkers get confused if
   14903   # the symbol is explicitly referenced.  Since portable code cannot
   14904   # rely on this symbol name, it's probably fine to never include it in
   14905   # preloaded symbol tables.
   14906   # Exclude shared library initialization/finalization symbols.
   14907   extract_expsyms_cmds=
   14908 
   14909   case $host_os in
   14910   cygwin* | mingw* | pw32* | cegcc*)
   14911     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14912     # When not using gcc, we currently assume that we are using
   14913     # Microsoft Visual C++.
   14914     if test "$GCC" != yes; then
   14915       with_gnu_ld=no
   14916     fi
   14917     ;;
   14918   interix*)
   14919     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14920     with_gnu_ld=yes
   14921     ;;
   14922   openbsd*)
   14923     with_gnu_ld=no
   14924     ;;
   14925   esac
   14926 
   14927   ld_shlibs=yes
   14928 
   14929   # On some targets, GNU ld is compatible enough with the native linker
   14930   # that we're better off using the native interface for both.
   14931   lt_use_gnu_ld_interface=no
   14932   if test "$with_gnu_ld" = yes; then
   14933     case $host_os in
   14934       aix*)
   14935 	# The AIX port of GNU ld has always aspired to compatibility
   14936 	# with the native linker.  However, as the warning in the GNU ld
   14937 	# block says, versions before 2.19.5* couldn't really create working
   14938 	# shared libraries, regardless of the interface used.
   14939 	case `$LD -v 2>&1` in
   14940 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14941 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14942 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14943 	  *)
   14944 	    lt_use_gnu_ld_interface=yes
   14945 	    ;;
   14946 	esac
   14947 	;;
   14948       *)
   14949 	lt_use_gnu_ld_interface=yes
   14950 	;;
   14951     esac
   14952   fi
   14953 
   14954   if test "$lt_use_gnu_ld_interface" = yes; then
   14955     # If archive_cmds runs LD, not CC, wlarc should be empty
   14956     wlarc='${wl}'
   14957 
   14958     # Set some defaults for GNU ld with shared library support. These
   14959     # are reset later if shared libraries are not supported. Putting them
   14960     # here allows them to be overridden if necessary.
   14961     runpath_var=LD_RUN_PATH
   14962     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14963     export_dynamic_flag_spec='${wl}--export-dynamic'
   14964     # ancient GNU ld didn't support --whole-archive et. al.
   14965     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14966       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14967     else
   14968       whole_archive_flag_spec=
   14969     fi
   14970     supports_anon_versioning=no
   14971     case `$LD -v 2>&1` in
   14972       *GNU\ gold*) supports_anon_versioning=yes ;;
   14973       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14974       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14975       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14976       *\ 2.11.*) ;; # other 2.11 versions
   14977       *) supports_anon_versioning=yes ;;
   14978     esac
   14979 
   14980     # See if GNU ld supports shared libraries.
   14981     case $host_os in
   14982     aix[3-9]*)
   14983       # On AIX/PPC, the GNU linker is very broken
   14984       if test "$host_cpu" != ia64; then
   14985 	ld_shlibs=no
   14986 	cat <<_LT_EOF 1>&2
   14987 
   14988 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14989 *** to be unable to reliably create shared libraries on AIX.
   14990 *** Therefore, libtool is disabling shared libraries support.  If you
   14991 *** really care for shared libraries, you may want to install binutils
   14992 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14993 *** You will then need to restart the configuration process.
   14994 
   14995 _LT_EOF
   14996       fi
   14997       ;;
   14998 
   14999     amigaos*)
   15000       case $host_cpu in
   15001       powerpc)
   15002             # see comment about AmigaOS4 .so support
   15003             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15004             archive_expsym_cmds=''
   15005         ;;
   15006       m68k)
   15007             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)'
   15008             hardcode_libdir_flag_spec='-L$libdir'
   15009             hardcode_minus_L=yes
   15010         ;;
   15011       esac
   15012       ;;
   15013 
   15014     beos*)
   15015       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15016 	allow_undefined_flag=unsupported
   15017 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15018 	# support --undefined.  This deserves some investigation.  FIXME
   15019 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15020       else
   15021 	ld_shlibs=no
   15022       fi
   15023       ;;
   15024 
   15025     cygwin* | mingw* | pw32* | cegcc*)
   15026       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15027       # as there is no search path for DLLs.
   15028       hardcode_libdir_flag_spec='-L$libdir'
   15029       export_dynamic_flag_spec='${wl}--export-all-symbols'
   15030       allow_undefined_flag=unsupported
   15031       always_export_symbols=no
   15032       enable_shared_with_static_runtimes=yes
   15033       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'
   15034       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15035 
   15036       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15037         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15038 	# If the export-symbols file already is a .def file (1st line
   15039 	# is EXPORTS), use it as is; otherwise, prepend...
   15040 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15041 	  cp $export_symbols $output_objdir/$soname.def;
   15042 	else
   15043 	  echo EXPORTS > $output_objdir/$soname.def;
   15044 	  cat $export_symbols >> $output_objdir/$soname.def;
   15045 	fi~
   15046 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15047       else
   15048 	ld_shlibs=no
   15049       fi
   15050       ;;
   15051 
   15052     haiku*)
   15053       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15054       link_all_deplibs=yes
   15055       ;;
   15056 
   15057     interix[3-9]*)
   15058       hardcode_direct=no
   15059       hardcode_shlibpath_var=no
   15060       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15061       export_dynamic_flag_spec='${wl}-E'
   15062       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15063       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15064       # default) and relocated if they conflict, which is a slow very memory
   15065       # consuming and fragmenting process.  To avoid this, we pick a random,
   15066       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15067       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15068       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15069       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'
   15070       ;;
   15071 
   15072     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15073       tmp_diet=no
   15074       if test "$host_os" = linux-dietlibc; then
   15075 	case $cc_basename in
   15076 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15077 	esac
   15078       fi
   15079       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15080 	 && test "$tmp_diet" = no
   15081       then
   15082 	tmp_addflag=' $pic_flag'
   15083 	tmp_sharedflag='-shared'
   15084 	case $cc_basename,$host_cpu in
   15085         pgcc*)				# Portland Group C compiler
   15086 	  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'
   15087 	  tmp_addflag=' $pic_flag'
   15088 	  ;;
   15089 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15090 					# Portland Group f77 and f90 compilers
   15091 	  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'
   15092 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15093 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15094 	  tmp_addflag=' -i_dynamic' ;;
   15095 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15096 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15097 	ifc* | ifort*)			# Intel Fortran compiler
   15098 	  tmp_addflag=' -nofor_main' ;;
   15099 	lf95*)				# Lahey Fortran 8.1
   15100 	  whole_archive_flag_spec=
   15101 	  tmp_sharedflag='--shared' ;;
   15102 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15103 	  tmp_sharedflag='-qmkshrobj'
   15104 	  tmp_addflag= ;;
   15105 	nvcc*)	# Cuda Compiler Driver 2.2
   15106 	  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'
   15107 	  compiler_needs_object=yes
   15108 	  ;;
   15109 	esac
   15110 	case `$CC -V 2>&1 | sed 5q` in
   15111 	*Sun\ C*)			# Sun C 5.9
   15112 	  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'
   15113 	  compiler_needs_object=yes
   15114 	  tmp_sharedflag='-G' ;;
   15115 	*Sun\ F*)			# Sun Fortran 8.3
   15116 	  tmp_sharedflag='-G' ;;
   15117 	esac
   15118 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15119 
   15120         if test "x$supports_anon_versioning" = xyes; then
   15121           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15122 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15123 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15124 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15125         fi
   15126 
   15127 	case $cc_basename in
   15128 	xlf* | bgf* | bgxlf* | mpixlf*)
   15129 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15130 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15131 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15132 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15133 	  if test "x$supports_anon_versioning" = xyes; then
   15134 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15135 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15136 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15137 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15138 	  fi
   15139 	  ;;
   15140 	esac
   15141       else
   15142         ld_shlibs=no
   15143       fi
   15144       ;;
   15145 
   15146     netbsd*)
   15147       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15148 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15149 	wlarc=
   15150       else
   15151 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15152 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15153       fi
   15154       ;;
   15155 
   15156     solaris*)
   15157       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15158 	ld_shlibs=no
   15159 	cat <<_LT_EOF 1>&2
   15160 
   15161 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15162 *** create shared libraries on Solaris systems.  Therefore, libtool
   15163 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15164 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15165 *** your PATH or compiler configuration so that the native linker is
   15166 *** used, and then restart.
   15167 
   15168 _LT_EOF
   15169       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15170 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15171 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15172       else
   15173 	ld_shlibs=no
   15174       fi
   15175       ;;
   15176 
   15177     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15178       case `$LD -v 2>&1` in
   15179         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15180 	ld_shlibs=no
   15181 	cat <<_LT_EOF 1>&2
   15182 
   15183 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15184 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15185 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15186 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15187 *** your PATH or compiler configuration so that the native linker is
   15188 *** used, and then restart.
   15189 
   15190 _LT_EOF
   15191 	;;
   15192 	*)
   15193 	  # For security reasons, it is highly recommended that you always
   15194 	  # use absolute paths for naming shared libraries, and exclude the
   15195 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15196 	  # requires that you compile everything twice, which is a pain.
   15197 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15198 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15199 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15200 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15201 	  else
   15202 	    ld_shlibs=no
   15203 	  fi
   15204 	;;
   15205       esac
   15206       ;;
   15207 
   15208     sunos4*)
   15209       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15210       wlarc=
   15211       hardcode_direct=yes
   15212       hardcode_shlibpath_var=no
   15213       ;;
   15214 
   15215     *)
   15216       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15217 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15218 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15219       else
   15220 	ld_shlibs=no
   15221       fi
   15222       ;;
   15223     esac
   15224 
   15225     if test "$ld_shlibs" = no; then
   15226       runpath_var=
   15227       hardcode_libdir_flag_spec=
   15228       export_dynamic_flag_spec=
   15229       whole_archive_flag_spec=
   15230     fi
   15231   else
   15232     # PORTME fill in a description of your system's linker (not GNU ld)
   15233     case $host_os in
   15234     aix3*)
   15235       allow_undefined_flag=unsupported
   15236       always_export_symbols=yes
   15237       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'
   15238       # Note: this linker hardcodes the directories in LIBPATH if there
   15239       # are no directories specified by -L.
   15240       hardcode_minus_L=yes
   15241       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15242 	# Neither direct hardcoding nor static linking is supported with a
   15243 	# broken collect2.
   15244 	hardcode_direct=unsupported
   15245       fi
   15246       ;;
   15247 
   15248     aix[4-9]*)
   15249       if test "$host_cpu" = ia64; then
   15250 	# On IA64, the linker does run time linking by default, so we don't
   15251 	# have to do anything special.
   15252 	aix_use_runtimelinking=no
   15253 	exp_sym_flag='-Bexport'
   15254 	no_entry_flag=""
   15255       else
   15256 	# If we're using GNU nm, then we don't want the "-C" option.
   15257 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15258 	# Also, AIX nm treats weak defined symbols like other global
   15259 	# defined symbols, whereas GNU nm marks them as "W".
   15260 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15261 	  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'
   15262 	else
   15263 	  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'
   15264 	fi
   15265 	aix_use_runtimelinking=no
   15266 
   15267 	# Test if we are trying to use run time linking or normal
   15268 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15269 	# need to do runtime linking.
   15270 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15271 	  for ld_flag in $LDFLAGS; do
   15272 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15273 	    aix_use_runtimelinking=yes
   15274 	    break
   15275 	  fi
   15276 	  done
   15277 	  ;;
   15278 	esac
   15279 
   15280 	exp_sym_flag='-bexport'
   15281 	no_entry_flag='-bnoentry'
   15282       fi
   15283 
   15284       # When large executables or shared objects are built, AIX ld can
   15285       # have problems creating the table of contents.  If linking a library
   15286       # or program results in "error TOC overflow" add -mminimal-toc to
   15287       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15288       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15289 
   15290       archive_cmds=''
   15291       hardcode_direct=yes
   15292       hardcode_direct_absolute=yes
   15293       hardcode_libdir_separator=':'
   15294       link_all_deplibs=yes
   15295       file_list_spec='${wl}-f,'
   15296 
   15297       if test "$GCC" = yes; then
   15298 	case $host_os in aix4.[012]|aix4.[012].*)
   15299 	# We only want to do this on AIX 4.2 and lower, the check
   15300 	# below for broken collect2 doesn't work under 4.3+
   15301 	  collect2name=`${CC} -print-prog-name=collect2`
   15302 	  if test -f "$collect2name" &&
   15303 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15304 	  then
   15305 	  # We have reworked collect2
   15306 	  :
   15307 	  else
   15308 	  # We have old collect2
   15309 	  hardcode_direct=unsupported
   15310 	  # It fails to find uninstalled libraries when the uninstalled
   15311 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15312 	  # to unsupported forces relinking
   15313 	  hardcode_minus_L=yes
   15314 	  hardcode_libdir_flag_spec='-L$libdir'
   15315 	  hardcode_libdir_separator=
   15316 	  fi
   15317 	  ;;
   15318 	esac
   15319 	shared_flag='-shared'
   15320 	if test "$aix_use_runtimelinking" = yes; then
   15321 	  shared_flag="$shared_flag "'${wl}-G'
   15322 	fi
   15323       else
   15324 	# not using gcc
   15325 	if test "$host_cpu" = ia64; then
   15326 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15327 	# chokes on -Wl,-G. The following line is correct:
   15328 	  shared_flag='-G'
   15329 	else
   15330 	  if test "$aix_use_runtimelinking" = yes; then
   15331 	    shared_flag='${wl}-G'
   15332 	  else
   15333 	    shared_flag='${wl}-bM:SRE'
   15334 	  fi
   15335 	fi
   15336       fi
   15337 
   15338       export_dynamic_flag_spec='${wl}-bexpall'
   15339       # It seems that -bexpall does not export symbols beginning with
   15340       # underscore (_), so it is better to generate a list of symbols to export.
   15341       always_export_symbols=yes
   15342       if test "$aix_use_runtimelinking" = yes; then
   15343 	# Warning - without using the other runtime loading flags (-brtl),
   15344 	# -berok will link without error, but may produce a broken library.
   15345 	allow_undefined_flag='-berok'
   15346         # Determine the default libpath from the value encoded in an
   15347         # empty executable.
   15348         if test "${lt_cv_aix_libpath+set}" = set; then
   15349   aix_libpath=$lt_cv_aix_libpath
   15350 else
   15351   if ${lt_cv_aix_libpath_+:} false; then :
   15352   $as_echo_n "(cached) " >&6
   15353 else
   15354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15355 /* end confdefs.h.  */
   15356 
   15357 int
   15358 main ()
   15359 {
   15360 
   15361   ;
   15362   return 0;
   15363 }
   15364 _ACEOF
   15365 if ac_fn_c_try_link "$LINENO"; then :
   15366 
   15367   lt_aix_libpath_sed='
   15368       /Import File Strings/,/^$/ {
   15369 	  /^0/ {
   15370 	      s/^0  *\([^ ]*\) *$/\1/
   15371 	      p
   15372 	  }
   15373       }'
   15374   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15375   # Check for a 64-bit object if we didn't find anything.
   15376   if test -z "$lt_cv_aix_libpath_"; then
   15377     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15378   fi
   15379 fi
   15380 rm -f core conftest.err conftest.$ac_objext \
   15381     conftest$ac_exeext conftest.$ac_ext
   15382   if test -z "$lt_cv_aix_libpath_"; then
   15383     lt_cv_aix_libpath_="/usr/lib:/lib"
   15384   fi
   15385 
   15386 fi
   15387 
   15388   aix_libpath=$lt_cv_aix_libpath_
   15389 fi
   15390 
   15391         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15392         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"
   15393       else
   15394 	if test "$host_cpu" = ia64; then
   15395 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15396 	  allow_undefined_flag="-z nodefs"
   15397 	  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"
   15398 	else
   15399 	 # Determine the default libpath from the value encoded in an
   15400 	 # empty executable.
   15401 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15402   aix_libpath=$lt_cv_aix_libpath
   15403 else
   15404   if ${lt_cv_aix_libpath_+:} false; then :
   15405   $as_echo_n "(cached) " >&6
   15406 else
   15407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15408 /* end confdefs.h.  */
   15409 
   15410 int
   15411 main ()
   15412 {
   15413 
   15414   ;
   15415   return 0;
   15416 }
   15417 _ACEOF
   15418 if ac_fn_c_try_link "$LINENO"; then :
   15419 
   15420   lt_aix_libpath_sed='
   15421       /Import File Strings/,/^$/ {
   15422 	  /^0/ {
   15423 	      s/^0  *\([^ ]*\) *$/\1/
   15424 	      p
   15425 	  }
   15426       }'
   15427   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15428   # Check for a 64-bit object if we didn't find anything.
   15429   if test -z "$lt_cv_aix_libpath_"; then
   15430     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15431   fi
   15432 fi
   15433 rm -f core conftest.err conftest.$ac_objext \
   15434     conftest$ac_exeext conftest.$ac_ext
   15435   if test -z "$lt_cv_aix_libpath_"; then
   15436     lt_cv_aix_libpath_="/usr/lib:/lib"
   15437   fi
   15438 
   15439 fi
   15440 
   15441   aix_libpath=$lt_cv_aix_libpath_
   15442 fi
   15443 
   15444 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15445 	  # Warning - without using the other run time loading flags,
   15446 	  # -berok will link without error, but may produce a broken library.
   15447 	  no_undefined_flag=' ${wl}-bernotok'
   15448 	  allow_undefined_flag=' ${wl}-berok'
   15449 	  if test "$with_gnu_ld" = yes; then
   15450 	    # We only use this code for GNU lds that support --whole-archive.
   15451 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15452 	  else
   15453 	    # Exported symbols can be pulled into shared objects from archives
   15454 	    whole_archive_flag_spec='$convenience'
   15455 	  fi
   15456 	  archive_cmds_need_lc=yes
   15457 	  # This is similar to how AIX traditionally builds its shared libraries.
   15458 	  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'
   15459 	fi
   15460       fi
   15461       ;;
   15462 
   15463     amigaos*)
   15464       case $host_cpu in
   15465       powerpc)
   15466             # see comment about AmigaOS4 .so support
   15467             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15468             archive_expsym_cmds=''
   15469         ;;
   15470       m68k)
   15471             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)'
   15472             hardcode_libdir_flag_spec='-L$libdir'
   15473             hardcode_minus_L=yes
   15474         ;;
   15475       esac
   15476       ;;
   15477 
   15478     bsdi[45]*)
   15479       export_dynamic_flag_spec=-rdynamic
   15480       ;;
   15481 
   15482     cygwin* | mingw* | pw32* | cegcc*)
   15483       # When not using gcc, we currently assume that we are using
   15484       # Microsoft Visual C++.
   15485       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15486       # no search path for DLLs.
   15487       case $cc_basename in
   15488       cl*)
   15489 	# Native MSVC
   15490 	hardcode_libdir_flag_spec=' '
   15491 	allow_undefined_flag=unsupported
   15492 	always_export_symbols=yes
   15493 	file_list_spec='@'
   15494 	# Tell ltmain to make .lib files, not .a files.
   15495 	libext=lib
   15496 	# Tell ltmain to make .dll files, not .so files.
   15497 	shrext_cmds=".dll"
   15498 	# FIXME: Setting linknames here is a bad hack.
   15499 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15500 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15501 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15502 	  else
   15503 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15504 	  fi~
   15505 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15506 	  linknames='
   15507 	# The linker will not automatically build a static lib if we build a DLL.
   15508 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15509 	enable_shared_with_static_runtimes=yes
   15510 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15511 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15512 	# Don't use ranlib
   15513 	old_postinstall_cmds='chmod 644 $oldlib'
   15514 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15515 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15516 	  case $lt_outputfile in
   15517 	    *.exe|*.EXE) ;;
   15518 	    *)
   15519 	      lt_outputfile="$lt_outputfile.exe"
   15520 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15521 	      ;;
   15522 	  esac~
   15523 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15524 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15525 	    $RM "$lt_outputfile.manifest";
   15526 	  fi'
   15527 	;;
   15528       *)
   15529 	# Assume MSVC wrapper
   15530 	hardcode_libdir_flag_spec=' '
   15531 	allow_undefined_flag=unsupported
   15532 	# Tell ltmain to make .lib files, not .a files.
   15533 	libext=lib
   15534 	# Tell ltmain to make .dll files, not .so files.
   15535 	shrext_cmds=".dll"
   15536 	# FIXME: Setting linknames here is a bad hack.
   15537 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15538 	# The linker will automatically build a .lib file if we build a DLL.
   15539 	old_archive_from_new_cmds='true'
   15540 	# FIXME: Should let the user specify the lib program.
   15541 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15542 	enable_shared_with_static_runtimes=yes
   15543 	;;
   15544       esac
   15545       ;;
   15546 
   15547     darwin* | rhapsody*)
   15548 
   15549 
   15550   archive_cmds_need_lc=no
   15551   hardcode_direct=no
   15552   hardcode_automatic=yes
   15553   hardcode_shlibpath_var=unsupported
   15554   if test "$lt_cv_ld_force_load" = "yes"; then
   15555     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\"`'
   15556 
   15557   else
   15558     whole_archive_flag_spec=''
   15559   fi
   15560   link_all_deplibs=yes
   15561   allow_undefined_flag="$_lt_dar_allow_undefined"
   15562   case $cc_basename in
   15563      ifort*) _lt_dar_can_shared=yes ;;
   15564      *) _lt_dar_can_shared=$GCC ;;
   15565   esac
   15566   if test "$_lt_dar_can_shared" = "yes"; then
   15567     output_verbose_link_cmd=func_echo_all
   15568     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15569     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15570     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}"
   15571     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}"
   15572 
   15573   else
   15574   ld_shlibs=no
   15575   fi
   15576 
   15577       ;;
   15578 
   15579     dgux*)
   15580       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15581       hardcode_libdir_flag_spec='-L$libdir'
   15582       hardcode_shlibpath_var=no
   15583       ;;
   15584 
   15585     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15586     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15587     # does not break anything, and helps significantly (at the cost of a little
   15588     # extra space).
   15589     freebsd2.2*)
   15590       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15591       hardcode_libdir_flag_spec='-R$libdir'
   15592       hardcode_direct=yes
   15593       hardcode_shlibpath_var=no
   15594       ;;
   15595 
   15596     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15597     freebsd2.*)
   15598       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15599       hardcode_direct=yes
   15600       hardcode_minus_L=yes
   15601       hardcode_shlibpath_var=no
   15602       ;;
   15603 
   15604     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15605     freebsd* | dragonfly*)
   15606       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15607       hardcode_libdir_flag_spec='-R$libdir'
   15608       hardcode_direct=yes
   15609       hardcode_shlibpath_var=no
   15610       ;;
   15611 
   15612     hpux9*)
   15613       if test "$GCC" = yes; then
   15614 	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'
   15615       else
   15616 	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'
   15617       fi
   15618       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15619       hardcode_libdir_separator=:
   15620       hardcode_direct=yes
   15621 
   15622       # hardcode_minus_L: Not really in the search PATH,
   15623       # but as the default location of the library.
   15624       hardcode_minus_L=yes
   15625       export_dynamic_flag_spec='${wl}-E'
   15626       ;;
   15627 
   15628     hpux10*)
   15629       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15630 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15631       else
   15632 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15633       fi
   15634       if test "$with_gnu_ld" = no; then
   15635 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15636 	hardcode_libdir_separator=:
   15637 	hardcode_direct=yes
   15638 	hardcode_direct_absolute=yes
   15639 	export_dynamic_flag_spec='${wl}-E'
   15640 	# hardcode_minus_L: Not really in the search PATH,
   15641 	# but as the default location of the library.
   15642 	hardcode_minus_L=yes
   15643       fi
   15644       ;;
   15645 
   15646     hpux11*)
   15647       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15648 	case $host_cpu in
   15649 	hppa*64*)
   15650 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15651 	  ;;
   15652 	ia64*)
   15653 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15654 	  ;;
   15655 	*)
   15656 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15657 	  ;;
   15658 	esac
   15659       else
   15660 	case $host_cpu in
   15661 	hppa*64*)
   15662 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15663 	  ;;
   15664 	ia64*)
   15665 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15666 	  ;;
   15667 	*)
   15668 
   15669 	  # Older versions of the 11.00 compiler do not understand -b yet
   15670 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15671 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15672 $as_echo_n "checking if $CC understands -b... " >&6; }
   15673 if ${lt_cv_prog_compiler__b+:} false; then :
   15674   $as_echo_n "(cached) " >&6
   15675 else
   15676   lt_cv_prog_compiler__b=no
   15677    save_LDFLAGS="$LDFLAGS"
   15678    LDFLAGS="$LDFLAGS -b"
   15679    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15680    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15681      # The linker can only warn and ignore the option if not recognized
   15682      # So say no if there are warnings
   15683      if test -s conftest.err; then
   15684        # Append any errors to the config.log.
   15685        cat conftest.err 1>&5
   15686        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15687        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15688        if diff conftest.exp conftest.er2 >/dev/null; then
   15689          lt_cv_prog_compiler__b=yes
   15690        fi
   15691      else
   15692        lt_cv_prog_compiler__b=yes
   15693      fi
   15694    fi
   15695    $RM -r conftest*
   15696    LDFLAGS="$save_LDFLAGS"
   15697 
   15698 fi
   15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15700 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15701 
   15702 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15703     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15704 else
   15705     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15706 fi
   15707 
   15708 	  ;;
   15709 	esac
   15710       fi
   15711       if test "$with_gnu_ld" = no; then
   15712 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15713 	hardcode_libdir_separator=:
   15714 
   15715 	case $host_cpu in
   15716 	hppa*64*|ia64*)
   15717 	  hardcode_direct=no
   15718 	  hardcode_shlibpath_var=no
   15719 	  ;;
   15720 	*)
   15721 	  hardcode_direct=yes
   15722 	  hardcode_direct_absolute=yes
   15723 	  export_dynamic_flag_spec='${wl}-E'
   15724 
   15725 	  # hardcode_minus_L: Not really in the search PATH,
   15726 	  # but as the default location of the library.
   15727 	  hardcode_minus_L=yes
   15728 	  ;;
   15729 	esac
   15730       fi
   15731       ;;
   15732 
   15733     irix5* | irix6* | nonstopux*)
   15734       if test "$GCC" = yes; then
   15735 	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'
   15736 	# Try to use the -exported_symbol ld option, if it does not
   15737 	# work, assume that -exports_file does not work either and
   15738 	# implicitly export all symbols.
   15739 	# This should be the same for all languages, so no per-tag cache variable.
   15740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15741 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15742 if ${lt_cv_irix_exported_symbol+:} false; then :
   15743   $as_echo_n "(cached) " >&6
   15744 else
   15745   save_LDFLAGS="$LDFLAGS"
   15746 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15747 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15748 /* end confdefs.h.  */
   15749 int foo (void) { return 0; }
   15750 _ACEOF
   15751 if ac_fn_c_try_link "$LINENO"; then :
   15752   lt_cv_irix_exported_symbol=yes
   15753 else
   15754   lt_cv_irix_exported_symbol=no
   15755 fi
   15756 rm -f core conftest.err conftest.$ac_objext \
   15757     conftest$ac_exeext conftest.$ac_ext
   15758            LDFLAGS="$save_LDFLAGS"
   15759 fi
   15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15761 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15762 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15763           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'
   15764 	fi
   15765       else
   15766 	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'
   15767 	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'
   15768       fi
   15769       archive_cmds_need_lc='no'
   15770       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15771       hardcode_libdir_separator=:
   15772       inherit_rpath=yes
   15773       link_all_deplibs=yes
   15774       ;;
   15775 
   15776     netbsd*)
   15777       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15778 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15779       else
   15780 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15781       fi
   15782       hardcode_libdir_flag_spec='-R$libdir'
   15783       hardcode_direct=yes
   15784       hardcode_shlibpath_var=no
   15785       ;;
   15786 
   15787     newsos6)
   15788       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15789       hardcode_direct=yes
   15790       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15791       hardcode_libdir_separator=:
   15792       hardcode_shlibpath_var=no
   15793       ;;
   15794 
   15795     *nto* | *qnx*)
   15796       ;;
   15797 
   15798     openbsd*)
   15799       if test -f /usr/libexec/ld.so; then
   15800 	hardcode_direct=yes
   15801 	hardcode_shlibpath_var=no
   15802 	hardcode_direct_absolute=yes
   15803 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15804 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15805 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15806 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15807 	  export_dynamic_flag_spec='${wl}-E'
   15808 	else
   15809 	  case $host_os in
   15810 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15811 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15812 	     hardcode_libdir_flag_spec='-R$libdir'
   15813 	     ;;
   15814 	   *)
   15815 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15816 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15817 	     ;;
   15818 	  esac
   15819 	fi
   15820       else
   15821 	ld_shlibs=no
   15822       fi
   15823       ;;
   15824 
   15825     os2*)
   15826       hardcode_libdir_flag_spec='-L$libdir'
   15827       hardcode_minus_L=yes
   15828       allow_undefined_flag=unsupported
   15829       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'
   15830       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15831       ;;
   15832 
   15833     osf3*)
   15834       if test "$GCC" = yes; then
   15835 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15836 	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'
   15837       else
   15838 	allow_undefined_flag=' -expect_unresolved \*'
   15839 	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'
   15840       fi
   15841       archive_cmds_need_lc='no'
   15842       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15843       hardcode_libdir_separator=:
   15844       ;;
   15845 
   15846     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15847       if test "$GCC" = yes; then
   15848 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15849 	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'
   15850 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15851       else
   15852 	allow_undefined_flag=' -expect_unresolved \*'
   15853 	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'
   15854 	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~
   15855 	$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'
   15856 
   15857 	# Both c and cxx compiler support -rpath directly
   15858 	hardcode_libdir_flag_spec='-rpath $libdir'
   15859       fi
   15860       archive_cmds_need_lc='no'
   15861       hardcode_libdir_separator=:
   15862       ;;
   15863 
   15864     solaris*)
   15865       no_undefined_flag=' -z defs'
   15866       if test "$GCC" = yes; then
   15867 	wlarc='${wl}'
   15868 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15869 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15870 	  $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'
   15871       else
   15872 	case `$CC -V 2>&1` in
   15873 	*"Compilers 5.0"*)
   15874 	  wlarc=''
   15875 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15876 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15877 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15878 	  ;;
   15879 	*)
   15880 	  wlarc='${wl}'
   15881 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15882 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15883 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15884 	  ;;
   15885 	esac
   15886       fi
   15887       hardcode_libdir_flag_spec='-R$libdir'
   15888       hardcode_shlibpath_var=no
   15889       case $host_os in
   15890       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15891       *)
   15892 	# The compiler driver will combine and reorder linker options,
   15893 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15894 	# but is careful enough not to reorder.
   15895 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15896 	if test "$GCC" = yes; then
   15897 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15898 	else
   15899 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15900 	fi
   15901 	;;
   15902       esac
   15903       link_all_deplibs=yes
   15904       ;;
   15905 
   15906     sunos4*)
   15907       if test "x$host_vendor" = xsequent; then
   15908 	# Use $CC to link under sequent, because it throws in some extra .o
   15909 	# files that make .init and .fini sections work.
   15910 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15911       else
   15912 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15913       fi
   15914       hardcode_libdir_flag_spec='-L$libdir'
   15915       hardcode_direct=yes
   15916       hardcode_minus_L=yes
   15917       hardcode_shlibpath_var=no
   15918       ;;
   15919 
   15920     sysv4)
   15921       case $host_vendor in
   15922 	sni)
   15923 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15924 	  hardcode_direct=yes # is this really true???
   15925 	;;
   15926 	siemens)
   15927 	  ## LD is ld it makes a PLAMLIB
   15928 	  ## CC just makes a GrossModule.
   15929 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15930 	  reload_cmds='$CC -r -o $output$reload_objs'
   15931 	  hardcode_direct=no
   15932         ;;
   15933 	motorola)
   15934 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15935 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15936 	;;
   15937       esac
   15938       runpath_var='LD_RUN_PATH'
   15939       hardcode_shlibpath_var=no
   15940       ;;
   15941 
   15942     sysv4.3*)
   15943       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15944       hardcode_shlibpath_var=no
   15945       export_dynamic_flag_spec='-Bexport'
   15946       ;;
   15947 
   15948     sysv4*MP*)
   15949       if test -d /usr/nec; then
   15950 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15951 	hardcode_shlibpath_var=no
   15952 	runpath_var=LD_RUN_PATH
   15953 	hardcode_runpath_var=yes
   15954 	ld_shlibs=yes
   15955       fi
   15956       ;;
   15957 
   15958     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15959       no_undefined_flag='${wl}-z,text'
   15960       archive_cmds_need_lc=no
   15961       hardcode_shlibpath_var=no
   15962       runpath_var='LD_RUN_PATH'
   15963 
   15964       if test "$GCC" = yes; then
   15965 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15966 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15967       else
   15968 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15969 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15970       fi
   15971       ;;
   15972 
   15973     sysv5* | sco3.2v5* | sco5v6*)
   15974       # Note: We can NOT use -z defs as we might desire, because we do not
   15975       # link with -lc, and that would cause any symbols used from libc to
   15976       # always be unresolved, which means just about no library would
   15977       # ever link correctly.  If we're not using GNU ld we use -z text
   15978       # though, which does catch some bad symbols but isn't as heavy-handed
   15979       # as -z defs.
   15980       no_undefined_flag='${wl}-z,text'
   15981       allow_undefined_flag='${wl}-z,nodefs'
   15982       archive_cmds_need_lc=no
   15983       hardcode_shlibpath_var=no
   15984       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15985       hardcode_libdir_separator=':'
   15986       link_all_deplibs=yes
   15987       export_dynamic_flag_spec='${wl}-Bexport'
   15988       runpath_var='LD_RUN_PATH'
   15989 
   15990       if test "$GCC" = yes; then
   15991 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15992 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15993       else
   15994 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15995 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15996       fi
   15997       ;;
   15998 
   15999     uts4*)
   16000       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16001       hardcode_libdir_flag_spec='-L$libdir'
   16002       hardcode_shlibpath_var=no
   16003       ;;
   16004 
   16005     *)
   16006       ld_shlibs=no
   16007       ;;
   16008     esac
   16009 
   16010     if test x$host_vendor = xsni; then
   16011       case $host in
   16012       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16013 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   16014 	;;
   16015       esac
   16016     fi
   16017   fi
   16018 
   16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16020 $as_echo "$ld_shlibs" >&6; }
   16021 test "$ld_shlibs" = no && can_build_shared=no
   16022 
   16023 with_gnu_ld=$with_gnu_ld
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 #
   16040 # Do we need to explicitly link libc?
   16041 #
   16042 case "x$archive_cmds_need_lc" in
   16043 x|xyes)
   16044   # Assume -lc should be added
   16045   archive_cmds_need_lc=yes
   16046 
   16047   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16048     case $archive_cmds in
   16049     *'~'*)
   16050       # FIXME: we may have to deal with multi-command sequences.
   16051       ;;
   16052     '$CC '*)
   16053       # Test whether the compiler implicitly links with -lc since on some
   16054       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16055       # to ld, don't add -lc before -lgcc.
   16056       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16057 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16058 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16059   $as_echo_n "(cached) " >&6
   16060 else
   16061   $RM conftest*
   16062 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16063 
   16064 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16065   (eval $ac_compile) 2>&5
   16066   ac_status=$?
   16067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16068   test $ac_status = 0; } 2>conftest.err; then
   16069 	  soname=conftest
   16070 	  lib=conftest
   16071 	  libobjs=conftest.$ac_objext
   16072 	  deplibs=
   16073 	  wl=$lt_prog_compiler_wl
   16074 	  pic_flag=$lt_prog_compiler_pic
   16075 	  compiler_flags=-v
   16076 	  linker_flags=-v
   16077 	  verstring=
   16078 	  output_objdir=.
   16079 	  libname=conftest
   16080 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16081 	  allow_undefined_flag=
   16082 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16083   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16084   ac_status=$?
   16085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16086   test $ac_status = 0; }
   16087 	  then
   16088 	    lt_cv_archive_cmds_need_lc=no
   16089 	  else
   16090 	    lt_cv_archive_cmds_need_lc=yes
   16091 	  fi
   16092 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16093 	else
   16094 	  cat conftest.err 1>&5
   16095 	fi
   16096 	$RM conftest*
   16097 
   16098 fi
   16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16100 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16101       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16102       ;;
   16103     esac
   16104   fi
   16105   ;;
   16106 esac
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16260 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16261 
   16262 if test "$GCC" = yes; then
   16263   case $host_os in
   16264     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16265     *) lt_awk_arg="/^libraries:/" ;;
   16266   esac
   16267   case $host_os in
   16268     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16269     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16270   esac
   16271   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16272   case $lt_search_path_spec in
   16273   *\;*)
   16274     # if the path contains ";" then we assume it to be the separator
   16275     # otherwise default to the standard path separator (i.e. ":") - it is
   16276     # assumed that no part of a normal pathname contains ";" but that should
   16277     # okay in the real world where ";" in dirpaths is itself problematic.
   16278     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16279     ;;
   16280   *)
   16281     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16282     ;;
   16283   esac
   16284   # Ok, now we have the path, separated by spaces, we can step through it
   16285   # and add multilib dir if necessary.
   16286   lt_tmp_lt_search_path_spec=
   16287   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16288   for lt_sys_path in $lt_search_path_spec; do
   16289     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16290       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16291     else
   16292       test -d "$lt_sys_path" && \
   16293 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16294     fi
   16295   done
   16296   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16297 BEGIN {RS=" "; FS="/|\n";} {
   16298   lt_foo="";
   16299   lt_count=0;
   16300   for (lt_i = NF; lt_i > 0; lt_i--) {
   16301     if ($lt_i != "" && $lt_i != ".") {
   16302       if ($lt_i == "..") {
   16303         lt_count++;
   16304       } else {
   16305         if (lt_count == 0) {
   16306           lt_foo="/" $lt_i lt_foo;
   16307         } else {
   16308           lt_count--;
   16309         }
   16310       }
   16311     }
   16312   }
   16313   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16314   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16315 }'`
   16316   # AWK program above erroneously prepends '/' to C:/dos/paths
   16317   # for these hosts.
   16318   case $host_os in
   16319     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16320       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16321   esac
   16322   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16323 else
   16324   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16325 fi
   16326 library_names_spec=
   16327 libname_spec='lib$name'
   16328 soname_spec=
   16329 shrext_cmds=".so"
   16330 postinstall_cmds=
   16331 postuninstall_cmds=
   16332 finish_cmds=
   16333 finish_eval=
   16334 shlibpath_var=
   16335 shlibpath_overrides_runpath=unknown
   16336 version_type=none
   16337 dynamic_linker="$host_os ld.so"
   16338 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16339 need_lib_prefix=unknown
   16340 hardcode_into_libs=no
   16341 
   16342 # when you set need_version to no, make sure it does not cause -set_version
   16343 # flags to be left without arguments
   16344 need_version=unknown
   16345 
   16346 case $host_os in
   16347 aix3*)
   16348   version_type=linux # correct to gnu/linux during the next big refactor
   16349   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16350   shlibpath_var=LIBPATH
   16351 
   16352   # AIX 3 has no versioning support, so we append a major version to the name.
   16353   soname_spec='${libname}${release}${shared_ext}$major'
   16354   ;;
   16355 
   16356 aix[4-9]*)
   16357   version_type=linux # correct to gnu/linux during the next big refactor
   16358   need_lib_prefix=no
   16359   need_version=no
   16360   hardcode_into_libs=yes
   16361   if test "$host_cpu" = ia64; then
   16362     # AIX 5 supports IA64
   16363     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16364     shlibpath_var=LD_LIBRARY_PATH
   16365   else
   16366     # With GCC up to 2.95.x, collect2 would create an import file
   16367     # for dependence libraries.  The import file would start with
   16368     # the line `#! .'.  This would cause the generated library to
   16369     # depend on `.', always an invalid library.  This was fixed in
   16370     # development snapshots of GCC prior to 3.0.
   16371     case $host_os in
   16372       aix4 | aix4.[01] | aix4.[01].*)
   16373       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16374 	   echo ' yes '
   16375 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16376 	:
   16377       else
   16378 	can_build_shared=no
   16379       fi
   16380       ;;
   16381     esac
   16382     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16383     # soname into executable. Probably we can add versioning support to
   16384     # collect2, so additional links can be useful in future.
   16385     if test "$aix_use_runtimelinking" = yes; then
   16386       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16387       # instead of lib<name>.a to let people know that these are not
   16388       # typical AIX shared libraries.
   16389       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16390     else
   16391       # We preserve .a as extension for shared libraries through AIX4.2
   16392       # and later when we are not doing run time linking.
   16393       library_names_spec='${libname}${release}.a $libname.a'
   16394       soname_spec='${libname}${release}${shared_ext}$major'
   16395     fi
   16396     shlibpath_var=LIBPATH
   16397   fi
   16398   ;;
   16399 
   16400 amigaos*)
   16401   case $host_cpu in
   16402   powerpc)
   16403     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16404     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16405     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16406     ;;
   16407   m68k)
   16408     library_names_spec='$libname.ixlibrary $libname.a'
   16409     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16410     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'
   16411     ;;
   16412   esac
   16413   ;;
   16414 
   16415 beos*)
   16416   library_names_spec='${libname}${shared_ext}'
   16417   dynamic_linker="$host_os ld.so"
   16418   shlibpath_var=LIBRARY_PATH
   16419   ;;
   16420 
   16421 bsdi[45]*)
   16422   version_type=linux # correct to gnu/linux during the next big refactor
   16423   need_version=no
   16424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16425   soname_spec='${libname}${release}${shared_ext}$major'
   16426   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16427   shlibpath_var=LD_LIBRARY_PATH
   16428   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16429   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16430   # the default ld.so.conf also contains /usr/contrib/lib and
   16431   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16432   # libtool to hard-code these into programs
   16433   ;;
   16434 
   16435 cygwin* | mingw* | pw32* | cegcc*)
   16436   version_type=windows
   16437   shrext_cmds=".dll"
   16438   need_version=no
   16439   need_lib_prefix=no
   16440 
   16441   case $GCC,$cc_basename in
   16442   yes,*)
   16443     # gcc
   16444     library_names_spec='$libname.dll.a'
   16445     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16446     postinstall_cmds='base_file=`basename \${file}`~
   16447       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16448       dldir=$destdir/`dirname \$dlpath`~
   16449       test -d \$dldir || mkdir -p \$dldir~
   16450       $install_prog $dir/$dlname \$dldir/$dlname~
   16451       chmod a+x \$dldir/$dlname~
   16452       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16453         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16454       fi'
   16455     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16456       dlpath=$dir/\$dldll~
   16457        $RM \$dlpath'
   16458     shlibpath_overrides_runpath=yes
   16459 
   16460     case $host_os in
   16461     cygwin*)
   16462       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16463       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16464 
   16465       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16466       ;;
   16467     mingw* | cegcc*)
   16468       # MinGW DLLs use traditional 'lib' prefix
   16469       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16470       ;;
   16471     pw32*)
   16472       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16473       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16474       ;;
   16475     esac
   16476     dynamic_linker='Win32 ld.exe'
   16477     ;;
   16478 
   16479   *,cl*)
   16480     # Native MSVC
   16481     libname_spec='$name'
   16482     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16483     library_names_spec='${libname}.dll.lib'
   16484 
   16485     case $build_os in
   16486     mingw*)
   16487       sys_lib_search_path_spec=
   16488       lt_save_ifs=$IFS
   16489       IFS=';'
   16490       for lt_path in $LIB
   16491       do
   16492         IFS=$lt_save_ifs
   16493         # Let DOS variable expansion print the short 8.3 style file name.
   16494         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16495         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16496       done
   16497       IFS=$lt_save_ifs
   16498       # Convert to MSYS style.
   16499       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16500       ;;
   16501     cygwin*)
   16502       # Convert to unix form, then to dos form, then back to unix form
   16503       # but this time dos style (no spaces!) so that the unix form looks
   16504       # like /cygdrive/c/PROGRA~1:/cygdr...
   16505       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16506       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16507       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16508       ;;
   16509     *)
   16510       sys_lib_search_path_spec="$LIB"
   16511       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16512         # It is most probably a Windows format PATH.
   16513         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16514       else
   16515         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16516       fi
   16517       # FIXME: find the short name or the path components, as spaces are
   16518       # common. (e.g. "Program Files" -> "PROGRA~1")
   16519       ;;
   16520     esac
   16521 
   16522     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16523     postinstall_cmds='base_file=`basename \${file}`~
   16524       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16525       dldir=$destdir/`dirname \$dlpath`~
   16526       test -d \$dldir || mkdir -p \$dldir~
   16527       $install_prog $dir/$dlname \$dldir/$dlname'
   16528     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16529       dlpath=$dir/\$dldll~
   16530        $RM \$dlpath'
   16531     shlibpath_overrides_runpath=yes
   16532     dynamic_linker='Win32 link.exe'
   16533     ;;
   16534 
   16535   *)
   16536     # Assume MSVC wrapper
   16537     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16538     dynamic_linker='Win32 ld.exe'
   16539     ;;
   16540   esac
   16541   # FIXME: first we should search . and the directory the executable is in
   16542   shlibpath_var=PATH
   16543   ;;
   16544 
   16545 darwin* | rhapsody*)
   16546   dynamic_linker="$host_os dyld"
   16547   version_type=darwin
   16548   need_lib_prefix=no
   16549   need_version=no
   16550   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16551   soname_spec='${libname}${release}${major}$shared_ext'
   16552   shlibpath_overrides_runpath=yes
   16553   shlibpath_var=DYLD_LIBRARY_PATH
   16554   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16555 
   16556   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16557   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16558   ;;
   16559 
   16560 dgux*)
   16561   version_type=linux # correct to gnu/linux during the next big refactor
   16562   need_lib_prefix=no
   16563   need_version=no
   16564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16565   soname_spec='${libname}${release}${shared_ext}$major'
   16566   shlibpath_var=LD_LIBRARY_PATH
   16567   ;;
   16568 
   16569 freebsd* | dragonfly*)
   16570   # DragonFly does not have aout.  When/if they implement a new
   16571   # versioning mechanism, adjust this.
   16572   if test -x /usr/bin/objformat; then
   16573     objformat=`/usr/bin/objformat`
   16574   else
   16575     case $host_os in
   16576     freebsd[23].*) objformat=aout ;;
   16577     *) objformat=elf ;;
   16578     esac
   16579   fi
   16580   version_type=freebsd-$objformat
   16581   case $version_type in
   16582     freebsd-elf*)
   16583       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16584       need_version=no
   16585       need_lib_prefix=no
   16586       ;;
   16587     freebsd-*)
   16588       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16589       need_version=yes
   16590       ;;
   16591   esac
   16592   shlibpath_var=LD_LIBRARY_PATH
   16593   case $host_os in
   16594   freebsd2.*)
   16595     shlibpath_overrides_runpath=yes
   16596     ;;
   16597   freebsd3.[01]* | freebsdelf3.[01]*)
   16598     shlibpath_overrides_runpath=yes
   16599     hardcode_into_libs=yes
   16600     ;;
   16601   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16602   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16603     shlibpath_overrides_runpath=no
   16604     hardcode_into_libs=yes
   16605     ;;
   16606   *) # from 4.6 on, and DragonFly
   16607     shlibpath_overrides_runpath=yes
   16608     hardcode_into_libs=yes
   16609     ;;
   16610   esac
   16611   ;;
   16612 
   16613 gnu*)
   16614   version_type=linux # correct to gnu/linux during the next big refactor
   16615   need_lib_prefix=no
   16616   need_version=no
   16617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16618   soname_spec='${libname}${release}${shared_ext}$major'
   16619   shlibpath_var=LD_LIBRARY_PATH
   16620   shlibpath_overrides_runpath=no
   16621   hardcode_into_libs=yes
   16622   ;;
   16623 
   16624 haiku*)
   16625   version_type=linux # correct to gnu/linux during the next big refactor
   16626   need_lib_prefix=no
   16627   need_version=no
   16628   dynamic_linker="$host_os runtime_loader"
   16629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16630   soname_spec='${libname}${release}${shared_ext}$major'
   16631   shlibpath_var=LIBRARY_PATH
   16632   shlibpath_overrides_runpath=yes
   16633   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16634   hardcode_into_libs=yes
   16635   ;;
   16636 
   16637 hpux9* | hpux10* | hpux11*)
   16638   # Give a soname corresponding to the major version so that dld.sl refuses to
   16639   # link against other versions.
   16640   version_type=sunos
   16641   need_lib_prefix=no
   16642   need_version=no
   16643   case $host_cpu in
   16644   ia64*)
   16645     shrext_cmds='.so'
   16646     hardcode_into_libs=yes
   16647     dynamic_linker="$host_os dld.so"
   16648     shlibpath_var=LD_LIBRARY_PATH
   16649     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16650     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16651     soname_spec='${libname}${release}${shared_ext}$major'
   16652     if test "X$HPUX_IA64_MODE" = X32; then
   16653       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16654     else
   16655       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16656     fi
   16657     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16658     ;;
   16659   hppa*64*)
   16660     shrext_cmds='.sl'
   16661     hardcode_into_libs=yes
   16662     dynamic_linker="$host_os dld.sl"
   16663     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16664     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16665     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16666     soname_spec='${libname}${release}${shared_ext}$major'
   16667     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16668     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16669     ;;
   16670   *)
   16671     shrext_cmds='.sl'
   16672     dynamic_linker="$host_os dld.sl"
   16673     shlibpath_var=SHLIB_PATH
   16674     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16675     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16676     soname_spec='${libname}${release}${shared_ext}$major'
   16677     ;;
   16678   esac
   16679   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16680   postinstall_cmds='chmod 555 $lib'
   16681   # or fails outright, so override atomically:
   16682   install_override_mode=555
   16683   ;;
   16684 
   16685 interix[3-9]*)
   16686   version_type=linux # correct to gnu/linux during the next big refactor
   16687   need_lib_prefix=no
   16688   need_version=no
   16689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16690   soname_spec='${libname}${release}${shared_ext}$major'
   16691   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16692   shlibpath_var=LD_LIBRARY_PATH
   16693   shlibpath_overrides_runpath=no
   16694   hardcode_into_libs=yes
   16695   ;;
   16696 
   16697 irix5* | irix6* | nonstopux*)
   16698   case $host_os in
   16699     nonstopux*) version_type=nonstopux ;;
   16700     *)
   16701 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16702 		version_type=linux # correct to gnu/linux during the next big refactor
   16703 	else
   16704 		version_type=irix
   16705 	fi ;;
   16706   esac
   16707   need_lib_prefix=no
   16708   need_version=no
   16709   soname_spec='${libname}${release}${shared_ext}$major'
   16710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16711   case $host_os in
   16712   irix5* | nonstopux*)
   16713     libsuff= shlibsuff=
   16714     ;;
   16715   *)
   16716     case $LD in # libtool.m4 will add one of these switches to LD
   16717     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16718       libsuff= shlibsuff= libmagic=32-bit;;
   16719     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16720       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16721     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16722       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16723     *) libsuff= shlibsuff= libmagic=never-match;;
   16724     esac
   16725     ;;
   16726   esac
   16727   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16728   shlibpath_overrides_runpath=no
   16729   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16730   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16731   hardcode_into_libs=yes
   16732   ;;
   16733 
   16734 # No shared lib support for Linux oldld, aout, or coff.
   16735 linux*oldld* | linux*aout* | linux*coff*)
   16736   dynamic_linker=no
   16737   ;;
   16738 
   16739 # This must be glibc/ELF.
   16740 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   16741   version_type=linux # correct to gnu/linux during the next big refactor
   16742   need_lib_prefix=no
   16743   need_version=no
   16744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16745   soname_spec='${libname}${release}${shared_ext}$major'
   16746   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16747   shlibpath_var=LD_LIBRARY_PATH
   16748   shlibpath_overrides_runpath=no
   16749 
   16750   # Some binutils ld are patched to set DT_RUNPATH
   16751   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16752   $as_echo_n "(cached) " >&6
   16753 else
   16754   lt_cv_shlibpath_overrides_runpath=no
   16755     save_LDFLAGS=$LDFLAGS
   16756     save_libdir=$libdir
   16757     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16758 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16759     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16760 /* end confdefs.h.  */
   16761 
   16762 int
   16763 main ()
   16764 {
   16765 
   16766   ;
   16767   return 0;
   16768 }
   16769 _ACEOF
   16770 if ac_fn_c_try_link "$LINENO"; then :
   16771   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16772   lt_cv_shlibpath_overrides_runpath=yes
   16773 fi
   16774 fi
   16775 rm -f core conftest.err conftest.$ac_objext \
   16776     conftest$ac_exeext conftest.$ac_ext
   16777     LDFLAGS=$save_LDFLAGS
   16778     libdir=$save_libdir
   16779 
   16780 fi
   16781 
   16782   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16783 
   16784   # This implies no fast_install, which is unacceptable.
   16785   # Some rework will be needed to allow for fast_install
   16786   # before this can be enabled.
   16787   hardcode_into_libs=yes
   16788 
   16789   # Add ABI-specific directories to the system library path.
   16790   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   16791 
   16792   # Append ld.so.conf contents to the search path
   16793   if test -f /etc/ld.so.conf; then
   16794     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' ' '`
   16795     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16796 
   16797   fi
   16798 
   16799   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16800   # powerpc, because MkLinux only supported shared libraries with the
   16801   # GNU dynamic linker.  Since this was broken with cross compilers,
   16802   # most powerpc-linux boxes support dynamic linking these days and
   16803   # people can always --disable-shared, the test was removed, and we
   16804   # assume the GNU/Linux dynamic linker is in use.
   16805   dynamic_linker='GNU/Linux ld.so'
   16806   ;;
   16807 
   16808 netbsd*)
   16809   version_type=sunos
   16810   need_lib_prefix=no
   16811   need_version=no
   16812   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16814     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16815     dynamic_linker='NetBSD (a.out) ld.so'
   16816   else
   16817     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16818     soname_spec='${libname}${release}${shared_ext}$major'
   16819     dynamic_linker='NetBSD ld.elf_so'
   16820   fi
   16821   shlibpath_var=LD_LIBRARY_PATH
   16822   shlibpath_overrides_runpath=yes
   16823   hardcode_into_libs=yes
   16824   ;;
   16825 
   16826 newsos6)
   16827   version_type=linux # correct to gnu/linux during the next big refactor
   16828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16829   shlibpath_var=LD_LIBRARY_PATH
   16830   shlibpath_overrides_runpath=yes
   16831   ;;
   16832 
   16833 *nto* | *qnx*)
   16834   version_type=qnx
   16835   need_lib_prefix=no
   16836   need_version=no
   16837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16838   soname_spec='${libname}${release}${shared_ext}$major'
   16839   shlibpath_var=LD_LIBRARY_PATH
   16840   shlibpath_overrides_runpath=no
   16841   hardcode_into_libs=yes
   16842   dynamic_linker='ldqnx.so'
   16843   ;;
   16844 
   16845 openbsd*)
   16846   version_type=sunos
   16847   sys_lib_dlsearch_path_spec="/usr/lib"
   16848   need_lib_prefix=no
   16849   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16850   case $host_os in
   16851     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16852     *)				need_version=no  ;;
   16853   esac
   16854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16855   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16856   shlibpath_var=LD_LIBRARY_PATH
   16857   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16858     case $host_os in
   16859       openbsd2.[89] | openbsd2.[89].*)
   16860 	shlibpath_overrides_runpath=no
   16861 	;;
   16862       *)
   16863 	shlibpath_overrides_runpath=yes
   16864 	;;
   16865       esac
   16866   else
   16867     shlibpath_overrides_runpath=yes
   16868   fi
   16869   ;;
   16870 
   16871 os2*)
   16872   libname_spec='$name'
   16873   shrext_cmds=".dll"
   16874   need_lib_prefix=no
   16875   library_names_spec='$libname${shared_ext} $libname.a'
   16876   dynamic_linker='OS/2 ld.exe'
   16877   shlibpath_var=LIBPATH
   16878   ;;
   16879 
   16880 osf3* | osf4* | osf5*)
   16881   version_type=osf
   16882   need_lib_prefix=no
   16883   need_version=no
   16884   soname_spec='${libname}${release}${shared_ext}$major'
   16885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16886   shlibpath_var=LD_LIBRARY_PATH
   16887   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16888   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16889   ;;
   16890 
   16891 rdos*)
   16892   dynamic_linker=no
   16893   ;;
   16894 
   16895 solaris*)
   16896   version_type=linux # correct to gnu/linux during the next big refactor
   16897   need_lib_prefix=no
   16898   need_version=no
   16899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16900   soname_spec='${libname}${release}${shared_ext}$major'
   16901   shlibpath_var=LD_LIBRARY_PATH
   16902   shlibpath_overrides_runpath=yes
   16903   hardcode_into_libs=yes
   16904   # ldd complains unless libraries are executable
   16905   postinstall_cmds='chmod +x $lib'
   16906   ;;
   16907 
   16908 sunos4*)
   16909   version_type=sunos
   16910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16911   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16912   shlibpath_var=LD_LIBRARY_PATH
   16913   shlibpath_overrides_runpath=yes
   16914   if test "$with_gnu_ld" = yes; then
   16915     need_lib_prefix=no
   16916   fi
   16917   need_version=yes
   16918   ;;
   16919 
   16920 sysv4 | sysv4.3*)
   16921   version_type=linux # correct to gnu/linux during the next big refactor
   16922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16923   soname_spec='${libname}${release}${shared_ext}$major'
   16924   shlibpath_var=LD_LIBRARY_PATH
   16925   case $host_vendor in
   16926     sni)
   16927       shlibpath_overrides_runpath=no
   16928       need_lib_prefix=no
   16929       runpath_var=LD_RUN_PATH
   16930       ;;
   16931     siemens)
   16932       need_lib_prefix=no
   16933       ;;
   16934     motorola)
   16935       need_lib_prefix=no
   16936       need_version=no
   16937       shlibpath_overrides_runpath=no
   16938       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16939       ;;
   16940   esac
   16941   ;;
   16942 
   16943 sysv4*MP*)
   16944   if test -d /usr/nec ;then
   16945     version_type=linux # correct to gnu/linux during the next big refactor
   16946     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16947     soname_spec='$libname${shared_ext}.$major'
   16948     shlibpath_var=LD_LIBRARY_PATH
   16949   fi
   16950   ;;
   16951 
   16952 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16953   version_type=freebsd-elf
   16954   need_lib_prefix=no
   16955   need_version=no
   16956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16957   soname_spec='${libname}${release}${shared_ext}$major'
   16958   shlibpath_var=LD_LIBRARY_PATH
   16959   shlibpath_overrides_runpath=yes
   16960   hardcode_into_libs=yes
   16961   if test "$with_gnu_ld" = yes; then
   16962     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16963   else
   16964     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16965     case $host_os in
   16966       sco3.2v5*)
   16967         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16968 	;;
   16969     esac
   16970   fi
   16971   sys_lib_dlsearch_path_spec='/usr/lib'
   16972   ;;
   16973 
   16974 tpf*)
   16975   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16976   version_type=linux # correct to gnu/linux during the next big refactor
   16977   need_lib_prefix=no
   16978   need_version=no
   16979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16980   shlibpath_var=LD_LIBRARY_PATH
   16981   shlibpath_overrides_runpath=no
   16982   hardcode_into_libs=yes
   16983   ;;
   16984 
   16985 uts4*)
   16986   version_type=linux # correct to gnu/linux during the next big refactor
   16987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16988   soname_spec='${libname}${release}${shared_ext}$major'
   16989   shlibpath_var=LD_LIBRARY_PATH
   16990   ;;
   16991 
   16992 *)
   16993   dynamic_linker=no
   16994   ;;
   16995 esac
   16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16997 $as_echo "$dynamic_linker" >&6; }
   16998 test "$dynamic_linker" = no && can_build_shared=no
   16999 
   17000 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17001 if test "$GCC" = yes; then
   17002   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17003 fi
   17004 
   17005 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   17006   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   17007 fi
   17008 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   17009   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   17010 fi
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17104 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17105 hardcode_action=
   17106 if test -n "$hardcode_libdir_flag_spec" ||
   17107    test -n "$runpath_var" ||
   17108    test "X$hardcode_automatic" = "Xyes" ; then
   17109 
   17110   # We can hardcode non-existent directories.
   17111   if test "$hardcode_direct" != no &&
   17112      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17113      # have to relink, otherwise we might link with an installed library
   17114      # when we should be linking with a yet-to-be-installed one
   17115      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17116      test "$hardcode_minus_L" != no; then
   17117     # Linking always hardcodes the temporary library directory.
   17118     hardcode_action=relink
   17119   else
   17120     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17121     hardcode_action=immediate
   17122   fi
   17123 else
   17124   # We cannot hardcode anything, or else we can only hardcode existing
   17125   # directories.
   17126   hardcode_action=unsupported
   17127 fi
   17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17129 $as_echo "$hardcode_action" >&6; }
   17130 
   17131 if test "$hardcode_action" = relink ||
   17132    test "$inherit_rpath" = yes; then
   17133   # Fast installation is not supported
   17134   enable_fast_install=no
   17135 elif test "$shlibpath_overrides_runpath" = yes ||
   17136      test "$enable_shared" = no; then
   17137   # Fast installation is not necessary
   17138   enable_fast_install=needless
   17139 fi
   17140 
   17141 
   17142 
   17143 
   17144 
   17145 
   17146   if test "x$enable_dlopen" != xyes; then
   17147   enable_dlopen=unknown
   17148   enable_dlopen_self=unknown
   17149   enable_dlopen_self_static=unknown
   17150 else
   17151   lt_cv_dlopen=no
   17152   lt_cv_dlopen_libs=
   17153 
   17154   case $host_os in
   17155   beos*)
   17156     lt_cv_dlopen="load_add_on"
   17157     lt_cv_dlopen_libs=
   17158     lt_cv_dlopen_self=yes
   17159     ;;
   17160 
   17161   mingw* | pw32* | cegcc*)
   17162     lt_cv_dlopen="LoadLibrary"
   17163     lt_cv_dlopen_libs=
   17164     ;;
   17165 
   17166   cygwin*)
   17167     lt_cv_dlopen="dlopen"
   17168     lt_cv_dlopen_libs=
   17169     ;;
   17170 
   17171   darwin*)
   17172   # if libdl is installed we need to link against it
   17173     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17174 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17175 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17176   $as_echo_n "(cached) " >&6
   17177 else
   17178   ac_check_lib_save_LIBS=$LIBS
   17179 LIBS="-ldl  $LIBS"
   17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17181 /* end confdefs.h.  */
   17182 
   17183 /* Override any GCC internal prototype to avoid an error.
   17184    Use char because int might match the return type of a GCC
   17185    builtin and then its argument prototype would still apply.  */
   17186 #ifdef __cplusplus
   17187 extern "C"
   17188 #endif
   17189 char dlopen ();
   17190 int
   17191 main ()
   17192 {
   17193 return dlopen ();
   17194   ;
   17195   return 0;
   17196 }
   17197 _ACEOF
   17198 if ac_fn_c_try_link "$LINENO"; then :
   17199   ac_cv_lib_dl_dlopen=yes
   17200 else
   17201   ac_cv_lib_dl_dlopen=no
   17202 fi
   17203 rm -f core conftest.err conftest.$ac_objext \
   17204     conftest$ac_exeext conftest.$ac_ext
   17205 LIBS=$ac_check_lib_save_LIBS
   17206 fi
   17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17208 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17209 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17210   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17211 else
   17212 
   17213     lt_cv_dlopen="dyld"
   17214     lt_cv_dlopen_libs=
   17215     lt_cv_dlopen_self=yes
   17216 
   17217 fi
   17218 
   17219     ;;
   17220 
   17221   *)
   17222     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17223 if test "x$ac_cv_func_shl_load" = xyes; then :
   17224   lt_cv_dlopen="shl_load"
   17225 else
   17226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17227 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17228 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17229   $as_echo_n "(cached) " >&6
   17230 else
   17231   ac_check_lib_save_LIBS=$LIBS
   17232 LIBS="-ldld  $LIBS"
   17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17234 /* end confdefs.h.  */
   17235 
   17236 /* Override any GCC internal prototype to avoid an error.
   17237    Use char because int might match the return type of a GCC
   17238    builtin and then its argument prototype would still apply.  */
   17239 #ifdef __cplusplus
   17240 extern "C"
   17241 #endif
   17242 char shl_load ();
   17243 int
   17244 main ()
   17245 {
   17246 return shl_load ();
   17247   ;
   17248   return 0;
   17249 }
   17250 _ACEOF
   17251 if ac_fn_c_try_link "$LINENO"; then :
   17252   ac_cv_lib_dld_shl_load=yes
   17253 else
   17254   ac_cv_lib_dld_shl_load=no
   17255 fi
   17256 rm -f core conftest.err conftest.$ac_objext \
   17257     conftest$ac_exeext conftest.$ac_ext
   17258 LIBS=$ac_check_lib_save_LIBS
   17259 fi
   17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17261 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17262 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17263   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17264 else
   17265   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17266 if test "x$ac_cv_func_dlopen" = xyes; then :
   17267   lt_cv_dlopen="dlopen"
   17268 else
   17269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17270 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17271 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17272   $as_echo_n "(cached) " >&6
   17273 else
   17274   ac_check_lib_save_LIBS=$LIBS
   17275 LIBS="-ldl  $LIBS"
   17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17277 /* end confdefs.h.  */
   17278 
   17279 /* Override any GCC internal prototype to avoid an error.
   17280    Use char because int might match the return type of a GCC
   17281    builtin and then its argument prototype would still apply.  */
   17282 #ifdef __cplusplus
   17283 extern "C"
   17284 #endif
   17285 char dlopen ();
   17286 int
   17287 main ()
   17288 {
   17289 return dlopen ();
   17290   ;
   17291   return 0;
   17292 }
   17293 _ACEOF
   17294 if ac_fn_c_try_link "$LINENO"; then :
   17295   ac_cv_lib_dl_dlopen=yes
   17296 else
   17297   ac_cv_lib_dl_dlopen=no
   17298 fi
   17299 rm -f core conftest.err conftest.$ac_objext \
   17300     conftest$ac_exeext conftest.$ac_ext
   17301 LIBS=$ac_check_lib_save_LIBS
   17302 fi
   17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17304 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17305 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17306   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17307 else
   17308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17309 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17310 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17311   $as_echo_n "(cached) " >&6
   17312 else
   17313   ac_check_lib_save_LIBS=$LIBS
   17314 LIBS="-lsvld  $LIBS"
   17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17316 /* end confdefs.h.  */
   17317 
   17318 /* Override any GCC internal prototype to avoid an error.
   17319    Use char because int might match the return type of a GCC
   17320    builtin and then its argument prototype would still apply.  */
   17321 #ifdef __cplusplus
   17322 extern "C"
   17323 #endif
   17324 char dlopen ();
   17325 int
   17326 main ()
   17327 {
   17328 return dlopen ();
   17329   ;
   17330   return 0;
   17331 }
   17332 _ACEOF
   17333 if ac_fn_c_try_link "$LINENO"; then :
   17334   ac_cv_lib_svld_dlopen=yes
   17335 else
   17336   ac_cv_lib_svld_dlopen=no
   17337 fi
   17338 rm -f core conftest.err conftest.$ac_objext \
   17339     conftest$ac_exeext conftest.$ac_ext
   17340 LIBS=$ac_check_lib_save_LIBS
   17341 fi
   17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17343 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17344 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17345   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17346 else
   17347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17348 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17349 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17350   $as_echo_n "(cached) " >&6
   17351 else
   17352   ac_check_lib_save_LIBS=$LIBS
   17353 LIBS="-ldld  $LIBS"
   17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17355 /* end confdefs.h.  */
   17356 
   17357 /* Override any GCC internal prototype to avoid an error.
   17358    Use char because int might match the return type of a GCC
   17359    builtin and then its argument prototype would still apply.  */
   17360 #ifdef __cplusplus
   17361 extern "C"
   17362 #endif
   17363 char dld_link ();
   17364 int
   17365 main ()
   17366 {
   17367 return dld_link ();
   17368   ;
   17369   return 0;
   17370 }
   17371 _ACEOF
   17372 if ac_fn_c_try_link "$LINENO"; then :
   17373   ac_cv_lib_dld_dld_link=yes
   17374 else
   17375   ac_cv_lib_dld_dld_link=no
   17376 fi
   17377 rm -f core conftest.err conftest.$ac_objext \
   17378     conftest$ac_exeext conftest.$ac_ext
   17379 LIBS=$ac_check_lib_save_LIBS
   17380 fi
   17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17382 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17383 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17384   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17385 fi
   17386 
   17387 
   17388 fi
   17389 
   17390 
   17391 fi
   17392 
   17393 
   17394 fi
   17395 
   17396 
   17397 fi
   17398 
   17399 
   17400 fi
   17401 
   17402     ;;
   17403   esac
   17404 
   17405   if test "x$lt_cv_dlopen" != xno; then
   17406     enable_dlopen=yes
   17407   else
   17408     enable_dlopen=no
   17409   fi
   17410 
   17411   case $lt_cv_dlopen in
   17412   dlopen)
   17413     save_CPPFLAGS="$CPPFLAGS"
   17414     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17415 
   17416     save_LDFLAGS="$LDFLAGS"
   17417     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17418 
   17419     save_LIBS="$LIBS"
   17420     LIBS="$lt_cv_dlopen_libs $LIBS"
   17421 
   17422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17423 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17424 if ${lt_cv_dlopen_self+:} false; then :
   17425   $as_echo_n "(cached) " >&6
   17426 else
   17427   	  if test "$cross_compiling" = yes; then :
   17428   lt_cv_dlopen_self=cross
   17429 else
   17430   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17431   lt_status=$lt_dlunknown
   17432   cat > conftest.$ac_ext <<_LT_EOF
   17433 #line $LINENO "configure"
   17434 #include "confdefs.h"
   17435 
   17436 #if HAVE_DLFCN_H
   17437 #include <dlfcn.h>
   17438 #endif
   17439 
   17440 #include <stdio.h>
   17441 
   17442 #ifdef RTLD_GLOBAL
   17443 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17444 #else
   17445 #  ifdef DL_GLOBAL
   17446 #    define LT_DLGLOBAL		DL_GLOBAL
   17447 #  else
   17448 #    define LT_DLGLOBAL		0
   17449 #  endif
   17450 #endif
   17451 
   17452 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17453    find out it does not work in some platform. */
   17454 #ifndef LT_DLLAZY_OR_NOW
   17455 #  ifdef RTLD_LAZY
   17456 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17457 #  else
   17458 #    ifdef DL_LAZY
   17459 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17460 #    else
   17461 #      ifdef RTLD_NOW
   17462 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17463 #      else
   17464 #        ifdef DL_NOW
   17465 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17466 #        else
   17467 #          define LT_DLLAZY_OR_NOW	0
   17468 #        endif
   17469 #      endif
   17470 #    endif
   17471 #  endif
   17472 #endif
   17473 
   17474 /* When -fvisbility=hidden is used, assume the code has been annotated
   17475    correspondingly for the symbols needed.  */
   17476 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17477 int fnord () __attribute__((visibility("default")));
   17478 #endif
   17479 
   17480 int fnord () { return 42; }
   17481 int main ()
   17482 {
   17483   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17484   int status = $lt_dlunknown;
   17485 
   17486   if (self)
   17487     {
   17488       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17489       else
   17490         {
   17491 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17492           else puts (dlerror ());
   17493 	}
   17494       /* dlclose (self); */
   17495     }
   17496   else
   17497     puts (dlerror ());
   17498 
   17499   return status;
   17500 }
   17501 _LT_EOF
   17502   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17503   (eval $ac_link) 2>&5
   17504   ac_status=$?
   17505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17506   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17507     (./conftest; exit; ) >&5 2>/dev/null
   17508     lt_status=$?
   17509     case x$lt_status in
   17510       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17511       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17512       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17513     esac
   17514   else :
   17515     # compilation failed
   17516     lt_cv_dlopen_self=no
   17517   fi
   17518 fi
   17519 rm -fr conftest*
   17520 
   17521 
   17522 fi
   17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17524 $as_echo "$lt_cv_dlopen_self" >&6; }
   17525 
   17526     if test "x$lt_cv_dlopen_self" = xyes; then
   17527       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17528       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17529 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17530 if ${lt_cv_dlopen_self_static+:} false; then :
   17531   $as_echo_n "(cached) " >&6
   17532 else
   17533   	  if test "$cross_compiling" = yes; then :
   17534   lt_cv_dlopen_self_static=cross
   17535 else
   17536   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17537   lt_status=$lt_dlunknown
   17538   cat > conftest.$ac_ext <<_LT_EOF
   17539 #line $LINENO "configure"
   17540 #include "confdefs.h"
   17541 
   17542 #if HAVE_DLFCN_H
   17543 #include <dlfcn.h>
   17544 #endif
   17545 
   17546 #include <stdio.h>
   17547 
   17548 #ifdef RTLD_GLOBAL
   17549 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17550 #else
   17551 #  ifdef DL_GLOBAL
   17552 #    define LT_DLGLOBAL		DL_GLOBAL
   17553 #  else
   17554 #    define LT_DLGLOBAL		0
   17555 #  endif
   17556 #endif
   17557 
   17558 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17559    find out it does not work in some platform. */
   17560 #ifndef LT_DLLAZY_OR_NOW
   17561 #  ifdef RTLD_LAZY
   17562 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17563 #  else
   17564 #    ifdef DL_LAZY
   17565 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17566 #    else
   17567 #      ifdef RTLD_NOW
   17568 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17569 #      else
   17570 #        ifdef DL_NOW
   17571 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17572 #        else
   17573 #          define LT_DLLAZY_OR_NOW	0
   17574 #        endif
   17575 #      endif
   17576 #    endif
   17577 #  endif
   17578 #endif
   17579 
   17580 /* When -fvisbility=hidden is used, assume the code has been annotated
   17581    correspondingly for the symbols needed.  */
   17582 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17583 int fnord () __attribute__((visibility("default")));
   17584 #endif
   17585 
   17586 int fnord () { return 42; }
   17587 int main ()
   17588 {
   17589   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17590   int status = $lt_dlunknown;
   17591 
   17592   if (self)
   17593     {
   17594       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17595       else
   17596         {
   17597 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17598           else puts (dlerror ());
   17599 	}
   17600       /* dlclose (self); */
   17601     }
   17602   else
   17603     puts (dlerror ());
   17604 
   17605   return status;
   17606 }
   17607 _LT_EOF
   17608   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17609   (eval $ac_link) 2>&5
   17610   ac_status=$?
   17611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17612   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17613     (./conftest; exit; ) >&5 2>/dev/null
   17614     lt_status=$?
   17615     case x$lt_status in
   17616       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17617       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17618       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17619     esac
   17620   else :
   17621     # compilation failed
   17622     lt_cv_dlopen_self_static=no
   17623   fi
   17624 fi
   17625 rm -fr conftest*
   17626 
   17627 
   17628 fi
   17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17630 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17631     fi
   17632 
   17633     CPPFLAGS="$save_CPPFLAGS"
   17634     LDFLAGS="$save_LDFLAGS"
   17635     LIBS="$save_LIBS"
   17636     ;;
   17637   esac
   17638 
   17639   case $lt_cv_dlopen_self in
   17640   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17641   *) enable_dlopen_self=unknown ;;
   17642   esac
   17643 
   17644   case $lt_cv_dlopen_self_static in
   17645   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17646   *) enable_dlopen_self_static=unknown ;;
   17647   esac
   17648 fi
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 striplib=
   17667 old_striplib=
   17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17669 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17670 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17671   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17672   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17674 $as_echo "yes" >&6; }
   17675 else
   17676 # FIXME - insert some real tests, host_os isn't really good enough
   17677   case $host_os in
   17678   darwin*)
   17679     if test -n "$STRIP" ; then
   17680       striplib="$STRIP -x"
   17681       old_striplib="$STRIP -S"
   17682       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17683 $as_echo "yes" >&6; }
   17684     else
   17685       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17686 $as_echo "no" >&6; }
   17687     fi
   17688     ;;
   17689   *)
   17690     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17691 $as_echo "no" >&6; }
   17692     ;;
   17693   esac
   17694 fi
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707   # Report which library types will actually be built
   17708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17709 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17711 $as_echo "$can_build_shared" >&6; }
   17712 
   17713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17714 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17715   test "$can_build_shared" = "no" && enable_shared=no
   17716 
   17717   # On AIX, shared libraries and static libraries use the same namespace, and
   17718   # are all built from PIC.
   17719   case $host_os in
   17720   aix3*)
   17721     test "$enable_shared" = yes && enable_static=no
   17722     if test -n "$RANLIB"; then
   17723       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17724       postinstall_cmds='$RANLIB $lib'
   17725     fi
   17726     ;;
   17727 
   17728   aix[4-9]*)
   17729     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17730       test "$enable_shared" = yes && enable_static=no
   17731     fi
   17732     ;;
   17733   esac
   17734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17735 $as_echo "$enable_shared" >&6; }
   17736 
   17737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17738 $as_echo_n "checking whether to build static libraries... " >&6; }
   17739   # Make sure either enable_shared or enable_static is yes.
   17740   test "$enable_shared" = yes || enable_static=yes
   17741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17742 $as_echo "$enable_static" >&6; }
   17743 
   17744 
   17745 
   17746 
   17747 fi
   17748 ac_ext=c
   17749 ac_cpp='$CPP $CPPFLAGS'
   17750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17753 
   17754 CC="$lt_save_CC"
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770         ac_config_commands="$ac_config_commands libtool"
   17771 
   17772 
   17773 
   17774 
   17775 # Only expand once:
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 # Options
   17782 # Define a configure option for an alternate module directory
   17783 
   17784 # Check whether --with-xorg-module-dir was given.
   17785 if test "${with_xorg_module_dir+set}" = set; then :
   17786   withval=$with_xorg_module_dir; moduledir="$withval"
   17787 else
   17788   moduledir="$libdir/xorg/modules"
   17789 fi
   17790 
   17791 
   17792 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17793 
   17794 
   17795 	SAVE_CFLAGS="$CFLAGS"
   17796 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17797 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17798 /* end confdefs.h.  */
   17799 
   17800 #include "xorg-server.h"
   17801 #if !defined RANDR
   17802 #error RANDR not defined
   17803 #endif
   17804 
   17805 int
   17806 main ()
   17807 {
   17808 
   17809   ;
   17810   return 0;
   17811 }
   17812 _ACEOF
   17813 if ac_fn_c_try_compile "$LINENO"; then :
   17814   _EXT_CHECK=yes
   17815 else
   17816   _EXT_CHECK=no
   17817 fi
   17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17819 	CFLAGS="$SAVE_CFLAGS"
   17820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17821 $as_echo_n "checking if RANDR is defined... " >&6; }
   17822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17823 $as_echo "$_EXT_CHECK" >&6; }
   17824 	if test "$_EXT_CHECK" != no; then
   17825 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17826 	fi
   17827 
   17828 
   17829 
   17830 	SAVE_CFLAGS="$CFLAGS"
   17831 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17832 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17833 /* end confdefs.h.  */
   17834 
   17835 #include "xorg-server.h"
   17836 #if !defined RENDER
   17837 #error RENDER not defined
   17838 #endif
   17839 
   17840 int
   17841 main ()
   17842 {
   17843 
   17844   ;
   17845   return 0;
   17846 }
   17847 _ACEOF
   17848 if ac_fn_c_try_compile "$LINENO"; then :
   17849   _EXT_CHECK=yes
   17850 else
   17851   _EXT_CHECK=no
   17852 fi
   17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17854 	CFLAGS="$SAVE_CFLAGS"
   17855 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17856 $as_echo_n "checking if RENDER is defined... " >&6; }
   17857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17858 $as_echo "$_EXT_CHECK" >&6; }
   17859 	if test "$_EXT_CHECK" != no; then
   17860 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17861 	fi
   17862 
   17863 
   17864 
   17865 	SAVE_CFLAGS="$CFLAGS"
   17866 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17867 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17868 /* end confdefs.h.  */
   17869 
   17870 #include "xorg-server.h"
   17871 #if !defined XV
   17872 #error XV not defined
   17873 #endif
   17874 
   17875 int
   17876 main ()
   17877 {
   17878 
   17879   ;
   17880   return 0;
   17881 }
   17882 _ACEOF
   17883 if ac_fn_c_try_compile "$LINENO"; then :
   17884   _EXT_CHECK=yes
   17885 else
   17886   _EXT_CHECK=no
   17887 fi
   17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17889 	CFLAGS="$SAVE_CFLAGS"
   17890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   17891 $as_echo_n "checking if XV is defined... " >&6; }
   17892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17893 $as_echo "$_EXT_CHECK" >&6; }
   17894 	if test "$_EXT_CHECK" != no; then
   17895 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   17896 	fi
   17897 
   17898 
   17899 
   17900 	SAVE_CFLAGS="$CFLAGS"
   17901 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17902 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17903 /* end confdefs.h.  */
   17904 
   17905 #include "xorg-server.h"
   17906 #if !defined DPMSExtension
   17907 #error DPMSExtension not defined
   17908 #endif
   17909 
   17910 int
   17911 main ()
   17912 {
   17913 
   17914   ;
   17915   return 0;
   17916 }
   17917 _ACEOF
   17918 if ac_fn_c_try_compile "$LINENO"; then :
   17919   _EXT_CHECK=yes
   17920 else
   17921   _EXT_CHECK=no
   17922 fi
   17923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17924 	CFLAGS="$SAVE_CFLAGS"
   17925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17926 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17928 $as_echo "$_EXT_CHECK" >&6; }
   17929 	if test "$_EXT_CHECK" != no; then
   17930 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17931 	fi
   17932 
   17933 
   17934 # Obtain compiler/linker options for the driver dependencies
   17935 
   17936 pkg_failed=no
   17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17938 $as_echo_n "checking for XORG... " >&6; }
   17939 
   17940 if test -n "$XORG_CFLAGS"; then
   17941     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17942  elif test -n "$PKG_CONFIG"; then
   17943     if test -n "$PKG_CONFIG" && \
   17944     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17945   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17946   ac_status=$?
   17947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17948   test $ac_status = 0; }; then
   17949   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17950 else
   17951   pkg_failed=yes
   17952 fi
   17953  else
   17954     pkg_failed=untried
   17955 fi
   17956 if test -n "$XORG_LIBS"; then
   17957     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17958  elif test -n "$PKG_CONFIG"; then
   17959     if test -n "$PKG_CONFIG" && \
   17960     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17961   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17962   ac_status=$?
   17963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17964   test $ac_status = 0; }; then
   17965   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17966 else
   17967   pkg_failed=yes
   17968 fi
   17969  else
   17970     pkg_failed=untried
   17971 fi
   17972 
   17973 
   17974 
   17975 if test $pkg_failed = yes; then
   17976    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17977 $as_echo "no" >&6; }
   17978 
   17979 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17980         _pkg_short_errors_supported=yes
   17981 else
   17982         _pkg_short_errors_supported=no
   17983 fi
   17984         if test $_pkg_short_errors_supported = yes; then
   17985 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17986         else
   17987 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17988         fi
   17989 	# Put the nasty error message in config.log where it belongs
   17990 	echo "$XORG_PKG_ERRORS" >&5
   17991 
   17992 	as_fn_error $? "Package requirements (xorg-server >= 1.3 xproto fontsproto $REQUIRED_MODULES) were not met:
   17993 
   17994 $XORG_PKG_ERRORS
   17995 
   17996 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17997 installed software in a non-standard prefix.
   17998 
   17999 Alternatively, you may set the environment variables XORG_CFLAGS
   18000 and XORG_LIBS to avoid the need to call pkg-config.
   18001 See the pkg-config man page for more details." "$LINENO" 5
   18002 
   18003 elif test $pkg_failed = untried; then
   18004      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18005 $as_echo "no" >&6; }
   18006 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18008 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18009 is in your PATH or set the PKG_CONFIG environment variable to the full
   18010 path to pkg-config.
   18011 
   18012 Alternatively, you may set the environment variables XORG_CFLAGS
   18013 and XORG_LIBS to avoid the need to call pkg-config.
   18014 See the pkg-config man page for more details.
   18015 
   18016 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18017 See \`config.log' for more details" "$LINENO" 5; }
   18018 
   18019 else
   18020 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18021 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18023 $as_echo "yes" >&6; }
   18024 
   18025 fi
   18026 
   18027 pkg_failed=no
   18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18029 $as_echo_n "checking for XEXT... " >&6; }
   18030 
   18031 if test -n "$XEXT_CFLAGS"; then
   18032     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18033  elif test -n "$PKG_CONFIG"; then
   18034     if test -n "$PKG_CONFIG" && \
   18035     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18036   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18037   ac_status=$?
   18038   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18039   test $ac_status = 0; }; then
   18040   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18041 else
   18042   pkg_failed=yes
   18043 fi
   18044  else
   18045     pkg_failed=untried
   18046 fi
   18047 if test -n "$XEXT_LIBS"; then
   18048     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18049  elif test -n "$PKG_CONFIG"; then
   18050     if test -n "$PKG_CONFIG" && \
   18051     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18052   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18053   ac_status=$?
   18054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18055   test $ac_status = 0; }; then
   18056   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18057 else
   18058   pkg_failed=yes
   18059 fi
   18060  else
   18061     pkg_failed=untried
   18062 fi
   18063 
   18064 
   18065 
   18066 if test $pkg_failed = yes; then
   18067    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18068 $as_echo "no" >&6; }
   18069 
   18070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18071         _pkg_short_errors_supported=yes
   18072 else
   18073         _pkg_short_errors_supported=no
   18074 fi
   18075         if test $_pkg_short_errors_supported = yes; then
   18076 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   18077         else
   18078 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   18079         fi
   18080 	# Put the nasty error message in config.log where it belongs
   18081 	echo "$XEXT_PKG_ERRORS" >&5
   18082 
   18083 	HAVE_XEXTPROTO_71="no"
   18084 elif test $pkg_failed = untried; then
   18085      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18086 $as_echo "no" >&6; }
   18087 	HAVE_XEXTPROTO_71="no"
   18088 else
   18089 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18090 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18091         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18092 $as_echo "yes" >&6; }
   18093 	HAVE_XEXTPROTO_71="yes";
   18094 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18095 
   18096 fi
   18097  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18098   HAVE_XEXTPROTO_71_TRUE=
   18099   HAVE_XEXTPROTO_71_FALSE='#'
   18100 else
   18101   HAVE_XEXTPROTO_71_TRUE='#'
   18102   HAVE_XEXTPROTO_71_FALSE=
   18103 fi
   18104 
   18105 
   18106 # Checks for libraries.
   18107 
   18108 
   18109 save_CFLAGS="$CFLAGS"
   18110 CFLAGS="$XORG_CFLAGS"
   18111 
   18112 # PCI rework
   18113 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18114 "
   18115 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18116   XSERVER_LIBPCIACCESS=yes
   18117 else
   18118   XSERVER_LIBPCIACCESS=no
   18119 fi
   18120 
   18121 if test "x$XSERVER_LIBPCIACCESS" = "xyes"; then
   18122 
   18123 pkg_failed=no
   18124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18125 $as_echo_n "checking for PCIACCESS... " >&6; }
   18126 
   18127 if test -n "$PCIACCESS_CFLAGS"; then
   18128     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18129  elif test -n "$PKG_CONFIG"; then
   18130     if test -n "$PKG_CONFIG" && \
   18131     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10.7\""; } >&5
   18132   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10.7") 2>&5
   18133   ac_status=$?
   18134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18135   test $ac_status = 0; }; then
   18136   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10.7" 2>/dev/null`
   18137 else
   18138   pkg_failed=yes
   18139 fi
   18140  else
   18141     pkg_failed=untried
   18142 fi
   18143 if test -n "$PCIACCESS_LIBS"; then
   18144     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18145  elif test -n "$PKG_CONFIG"; then
   18146     if test -n "$PKG_CONFIG" && \
   18147     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10.7\""; } >&5
   18148   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10.7") 2>&5
   18149   ac_status=$?
   18150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18151   test $ac_status = 0; }; then
   18152   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10.7" 2>/dev/null`
   18153 else
   18154   pkg_failed=yes
   18155 fi
   18156  else
   18157     pkg_failed=untried
   18158 fi
   18159 
   18160 
   18161 
   18162 if test $pkg_failed = yes; then
   18163    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18164 $as_echo "no" >&6; }
   18165 
   18166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18167         _pkg_short_errors_supported=yes
   18168 else
   18169         _pkg_short_errors_supported=no
   18170 fi
   18171         if test $_pkg_short_errors_supported = yes; then
   18172 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10.7" 2>&1`
   18173         else
   18174 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10.7" 2>&1`
   18175         fi
   18176 	# Put the nasty error message in config.log where it belongs
   18177 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18178 
   18179 	as_fn_error $? "Package requirements (pciaccess >= 0.10.7) were not met:
   18180 
   18181 $PCIACCESS_PKG_ERRORS
   18182 
   18183 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18184 installed software in a non-standard prefix.
   18185 
   18186 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18187 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18188 See the pkg-config man page for more details." "$LINENO" 5
   18189 
   18190 elif test $pkg_failed = untried; then
   18191      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18192 $as_echo "no" >&6; }
   18193 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18195 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18196 is in your PATH or set the PKG_CONFIG environment variable to the full
   18197 path to pkg-config.
   18198 
   18199 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18200 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18201 See the pkg-config man page for more details.
   18202 
   18203 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18204 See \`config.log' for more details" "$LINENO" 5; }
   18205 
   18206 else
   18207 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18208 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18210 $as_echo "yes" >&6; }
   18211 
   18212 fi
   18213 fi
   18214 
   18215 CFLAGS="$save_CFLAGS"
   18216 
   18217 # Check whether --enable-xaa was given.
   18218 if test "${enable_xaa+set}" = set; then :
   18219   enableval=$enable_xaa; XAA="$enableval"
   18220 else
   18221   XAA=auto
   18222 fi
   18223 
   18224 if test "x$XAA" != xno; then
   18225         save_CFLAGS=$CFLAGS
   18226         save_CPPFLAGS=$CPPFLAGS
   18227         CFLAGS=$XORG_CFLAGS
   18228         CPPFLAGS="$XORG_CFLAGS"
   18229         for ac_header in xaa.h
   18230 do :
   18231   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18232 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18233   cat >>confdefs.h <<_ACEOF
   18234 #define HAVE_XAA_H 1
   18235 _ACEOF
   18236  XAA=yes
   18237 else
   18238   XAA=no
   18239 fi
   18240 
   18241 done
   18242 
   18243         CFLAGS=$save_CFLAGS
   18244         CPPFLAGS=$save_CPPFLAGS
   18245 fi
   18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18247 $as_echo_n "checking whether to include XAA support... " >&6; }
   18248  if test "x$XAA" = xyes; then
   18249   XAA_TRUE=
   18250   XAA_FALSE='#'
   18251 else
   18252   XAA_TRUE='#'
   18253   XAA_FALSE=
   18254 fi
   18255 
   18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18257 $as_echo "$XAA" >&6; }
   18258 
   18259 # Substitutions
   18260 
   18261 
   18262 DRIVER_NAME=nv
   18263 
   18264 
   18265 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18266 
   18267 cat >confcache <<\_ACEOF
   18268 # This file is a shell script that caches the results of configure
   18269 # tests run on this system so they can be shared between configure
   18270 # scripts and configure runs, see configure's option --config-cache.
   18271 # It is not useful on other systems.  If it contains results you don't
   18272 # want to keep, you may remove or edit it.
   18273 #
   18274 # config.status only pays attention to the cache file if you give it
   18275 # the --recheck option to rerun configure.
   18276 #
   18277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18279 # following values.
   18280 
   18281 _ACEOF
   18282 
   18283 # The following way of writing the cache mishandles newlines in values,
   18284 # but we know of no workaround that is simple, portable, and efficient.
   18285 # So, we kill variables containing newlines.
   18286 # Ultrix sh set writes to stderr and can't be redirected directly,
   18287 # and sets the high bit in the cache file unless we assign to the vars.
   18288 (
   18289   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18290     eval ac_val=\$$ac_var
   18291     case $ac_val in #(
   18292     *${as_nl}*)
   18293       case $ac_var in #(
   18294       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18296       esac
   18297       case $ac_var in #(
   18298       _ | IFS | as_nl) ;; #(
   18299       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18300       *) { eval $ac_var=; unset $ac_var;} ;;
   18301       esac ;;
   18302     esac
   18303   done
   18304 
   18305   (set) 2>&1 |
   18306     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18307     *${as_nl}ac_space=\ *)
   18308       # `set' does not quote correctly, so add quotes: double-quote
   18309       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18310       sed -n \
   18311 	"s/'/'\\\\''/g;
   18312 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18313       ;; #(
   18314     *)
   18315       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18316       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18317       ;;
   18318     esac |
   18319     sort
   18320 ) |
   18321   sed '
   18322      /^ac_cv_env_/b end
   18323      t clear
   18324      :clear
   18325      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18326      t end
   18327      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18328      :end' >>confcache
   18329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18330   if test -w "$cache_file"; then
   18331     if test "x$cache_file" != "x/dev/null"; then
   18332       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18333 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18334       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18335 	cat confcache >"$cache_file"
   18336       else
   18337         case $cache_file in #(
   18338         */* | ?:*)
   18339 	  mv -f confcache "$cache_file"$$ &&
   18340 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18341         *)
   18342 	  mv -f confcache "$cache_file" ;;
   18343 	esac
   18344       fi
   18345     fi
   18346   else
   18347     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18348 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18349   fi
   18350 fi
   18351 rm -f confcache
   18352 
   18353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18354 # Let make expand exec_prefix.
   18355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18356 
   18357 DEFS=-DHAVE_CONFIG_H
   18358 
   18359 ac_libobjs=
   18360 ac_ltlibobjs=
   18361 U=
   18362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18363   # 1. Remove the extension, and $U if already installed.
   18364   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18365   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18366   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18367   #    will be set to the directory where LIBOBJS objects are built.
   18368   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18369   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18370 done
   18371 LIBOBJS=$ac_libobjs
   18372 
   18373 LTLIBOBJS=$ac_ltlibobjs
   18374 
   18375 
   18376 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18377   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18379 fi
   18380 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18381   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18383 fi
   18384  if test -n "$EXEEXT"; then
   18385   am__EXEEXT_TRUE=
   18386   am__EXEEXT_FALSE='#'
   18387 else
   18388   am__EXEEXT_TRUE='#'
   18389   am__EXEEXT_FALSE=
   18390 fi
   18391 
   18392 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18393   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18395 fi
   18396 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   18397   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   18398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18399 fi
   18400 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18401   as_fn_error $? "conditional \"XAA\" was never defined.
   18402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18403 fi
   18404 
   18405 : "${CONFIG_STATUS=./config.status}"
   18406 ac_write_fail=0
   18407 ac_clean_files_save=$ac_clean_files
   18408 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18409 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18410 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18411 as_write_fail=0
   18412 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18413 #! $SHELL
   18414 # Generated by $as_me.
   18415 # Run this file to recreate the current configuration.
   18416 # Compiler output produced by configure, useful for debugging
   18417 # configure, is in config.log if it exists.
   18418 
   18419 debug=false
   18420 ac_cs_recheck=false
   18421 ac_cs_silent=false
   18422 
   18423 SHELL=\${CONFIG_SHELL-$SHELL}
   18424 export SHELL
   18425 _ASEOF
   18426 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18427 ## -------------------- ##
   18428 ## M4sh Initialization. ##
   18429 ## -------------------- ##
   18430 
   18431 # Be more Bourne compatible
   18432 DUALCASE=1; export DUALCASE # for MKS sh
   18433 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18434   emulate sh
   18435   NULLCMD=:
   18436   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18437   # is contrary to our usage.  Disable this feature.
   18438   alias -g '${1+"$@"}'='"$@"'
   18439   setopt NO_GLOB_SUBST
   18440 else
   18441   case `(set -o) 2>/dev/null` in #(
   18442   *posix*) :
   18443     set -o posix ;; #(
   18444   *) :
   18445      ;;
   18446 esac
   18447 fi
   18448 
   18449 
   18450 as_nl='
   18451 '
   18452 export as_nl
   18453 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18454 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18456 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18457 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18458 # but without wasting forks for bash or zsh.
   18459 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18460     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18461   as_echo='print -r --'
   18462   as_echo_n='print -rn --'
   18463 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18464   as_echo='printf %s\n'
   18465   as_echo_n='printf %s'
   18466 else
   18467   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18468     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18469     as_echo_n='/usr/ucb/echo -n'
   18470   else
   18471     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18472     as_echo_n_body='eval
   18473       arg=$1;
   18474       case $arg in #(
   18475       *"$as_nl"*)
   18476 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18477 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18478       esac;
   18479       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18480     '
   18481     export as_echo_n_body
   18482     as_echo_n='sh -c $as_echo_n_body as_echo'
   18483   fi
   18484   export as_echo_body
   18485   as_echo='sh -c $as_echo_body as_echo'
   18486 fi
   18487 
   18488 # The user is always right.
   18489 if test "${PATH_SEPARATOR+set}" != set; then
   18490   PATH_SEPARATOR=:
   18491   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18492     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18493       PATH_SEPARATOR=';'
   18494   }
   18495 fi
   18496 
   18497 
   18498 # IFS
   18499 # We need space, tab and new line, in precisely that order.  Quoting is
   18500 # there to prevent editors from complaining about space-tab.
   18501 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18502 # splitting by setting IFS to empty value.)
   18503 IFS=" ""	$as_nl"
   18504 
   18505 # Find who we are.  Look in the path if we contain no directory separator.
   18506 as_myself=
   18507 case $0 in #((
   18508   *[\\/]* ) as_myself=$0 ;;
   18509   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18510 for as_dir in $PATH
   18511 do
   18512   IFS=$as_save_IFS
   18513   test -z "$as_dir" && as_dir=.
   18514     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18515   done
   18516 IFS=$as_save_IFS
   18517 
   18518      ;;
   18519 esac
   18520 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18521 # in which case we are not to be found in the path.
   18522 if test "x$as_myself" = x; then
   18523   as_myself=$0
   18524 fi
   18525 if test ! -f "$as_myself"; then
   18526   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18527   exit 1
   18528 fi
   18529 
   18530 # Unset variables that we do not need and which cause bugs (e.g. in
   18531 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18532 # suppresses any "Segmentation fault" message there.  '((' could
   18533 # trigger a bug in pdksh 5.2.14.
   18534 for as_var in BASH_ENV ENV MAIL MAILPATH
   18535 do eval test x\${$as_var+set} = xset \
   18536   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18537 done
   18538 PS1='$ '
   18539 PS2='> '
   18540 PS4='+ '
   18541 
   18542 # NLS nuisances.
   18543 LC_ALL=C
   18544 export LC_ALL
   18545 LANGUAGE=C
   18546 export LANGUAGE
   18547 
   18548 # CDPATH.
   18549 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18550 
   18551 
   18552 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18553 # ----------------------------------------
   18554 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18555 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18556 # script with STATUS, using 1 if that was 0.
   18557 as_fn_error ()
   18558 {
   18559   as_status=$1; test $as_status -eq 0 && as_status=1
   18560   if test "$4"; then
   18561     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18562     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18563   fi
   18564   $as_echo "$as_me: error: $2" >&2
   18565   as_fn_exit $as_status
   18566 } # as_fn_error
   18567 
   18568 
   18569 # as_fn_set_status STATUS
   18570 # -----------------------
   18571 # Set $? to STATUS, without forking.
   18572 as_fn_set_status ()
   18573 {
   18574   return $1
   18575 } # as_fn_set_status
   18576 
   18577 # as_fn_exit STATUS
   18578 # -----------------
   18579 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18580 as_fn_exit ()
   18581 {
   18582   set +e
   18583   as_fn_set_status $1
   18584   exit $1
   18585 } # as_fn_exit
   18586 
   18587 # as_fn_unset VAR
   18588 # ---------------
   18589 # Portably unset VAR.
   18590 as_fn_unset ()
   18591 {
   18592   { eval $1=; unset $1;}
   18593 }
   18594 as_unset=as_fn_unset
   18595 # as_fn_append VAR VALUE
   18596 # ----------------------
   18597 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18598 # advantage of any shell optimizations that allow amortized linear growth over
   18599 # repeated appends, instead of the typical quadratic growth present in naive
   18600 # implementations.
   18601 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18602   eval 'as_fn_append ()
   18603   {
   18604     eval $1+=\$2
   18605   }'
   18606 else
   18607   as_fn_append ()
   18608   {
   18609     eval $1=\$$1\$2
   18610   }
   18611 fi # as_fn_append
   18612 
   18613 # as_fn_arith ARG...
   18614 # ------------------
   18615 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18616 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18617 # must be portable across $(()) and expr.
   18618 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18619   eval 'as_fn_arith ()
   18620   {
   18621     as_val=$(( $* ))
   18622   }'
   18623 else
   18624   as_fn_arith ()
   18625   {
   18626     as_val=`expr "$@" || test $? -eq 1`
   18627   }
   18628 fi # as_fn_arith
   18629 
   18630 
   18631 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18632    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18633   as_expr=expr
   18634 else
   18635   as_expr=false
   18636 fi
   18637 
   18638 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18639   as_basename=basename
   18640 else
   18641   as_basename=false
   18642 fi
   18643 
   18644 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18645   as_dirname=dirname
   18646 else
   18647   as_dirname=false
   18648 fi
   18649 
   18650 as_me=`$as_basename -- "$0" ||
   18651 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18652 	 X"$0" : 'X\(//\)$' \| \
   18653 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18654 $as_echo X/"$0" |
   18655     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18656 	    s//\1/
   18657 	    q
   18658 	  }
   18659 	  /^X\/\(\/\/\)$/{
   18660 	    s//\1/
   18661 	    q
   18662 	  }
   18663 	  /^X\/\(\/\).*/{
   18664 	    s//\1/
   18665 	    q
   18666 	  }
   18667 	  s/.*/./; q'`
   18668 
   18669 # Avoid depending upon Character Ranges.
   18670 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18671 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18672 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18673 as_cr_digits='0123456789'
   18674 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18675 
   18676 ECHO_C= ECHO_N= ECHO_T=
   18677 case `echo -n x` in #(((((
   18678 -n*)
   18679   case `echo 'xy\c'` in
   18680   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18681   xy)  ECHO_C='\c';;
   18682   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18683        ECHO_T='	';;
   18684   esac;;
   18685 *)
   18686   ECHO_N='-n';;
   18687 esac
   18688 
   18689 rm -f conf$$ conf$$.exe conf$$.file
   18690 if test -d conf$$.dir; then
   18691   rm -f conf$$.dir/conf$$.file
   18692 else
   18693   rm -f conf$$.dir
   18694   mkdir conf$$.dir 2>/dev/null
   18695 fi
   18696 if (echo >conf$$.file) 2>/dev/null; then
   18697   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18698     as_ln_s='ln -s'
   18699     # ... but there are two gotchas:
   18700     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18701     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18702     # In both cases, we have to default to `cp -p'.
   18703     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18704       as_ln_s='cp -p'
   18705   elif ln conf$$.file conf$$ 2>/dev/null; then
   18706     as_ln_s=ln
   18707   else
   18708     as_ln_s='cp -p'
   18709   fi
   18710 else
   18711   as_ln_s='cp -p'
   18712 fi
   18713 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18714 rmdir conf$$.dir 2>/dev/null
   18715 
   18716 
   18717 # as_fn_mkdir_p
   18718 # -------------
   18719 # Create "$as_dir" as a directory, including parents if necessary.
   18720 as_fn_mkdir_p ()
   18721 {
   18722 
   18723   case $as_dir in #(
   18724   -*) as_dir=./$as_dir;;
   18725   esac
   18726   test -d "$as_dir" || eval $as_mkdir_p || {
   18727     as_dirs=
   18728     while :; do
   18729       case $as_dir in #(
   18730       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18731       *) as_qdir=$as_dir;;
   18732       esac
   18733       as_dirs="'$as_qdir' $as_dirs"
   18734       as_dir=`$as_dirname -- "$as_dir" ||
   18735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18736 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18737 	 X"$as_dir" : 'X\(//\)$' \| \
   18738 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18739 $as_echo X"$as_dir" |
   18740     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18741 	    s//\1/
   18742 	    q
   18743 	  }
   18744 	  /^X\(\/\/\)[^/].*/{
   18745 	    s//\1/
   18746 	    q
   18747 	  }
   18748 	  /^X\(\/\/\)$/{
   18749 	    s//\1/
   18750 	    q
   18751 	  }
   18752 	  /^X\(\/\).*/{
   18753 	    s//\1/
   18754 	    q
   18755 	  }
   18756 	  s/.*/./; q'`
   18757       test -d "$as_dir" && break
   18758     done
   18759     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18760   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18761 
   18762 
   18763 } # as_fn_mkdir_p
   18764 if mkdir -p . 2>/dev/null; then
   18765   as_mkdir_p='mkdir -p "$as_dir"'
   18766 else
   18767   test -d ./-p && rmdir ./-p
   18768   as_mkdir_p=false
   18769 fi
   18770 
   18771 if test -x / >/dev/null 2>&1; then
   18772   as_test_x='test -x'
   18773 else
   18774   if ls -dL / >/dev/null 2>&1; then
   18775     as_ls_L_option=L
   18776   else
   18777     as_ls_L_option=
   18778   fi
   18779   as_test_x='
   18780     eval sh -c '\''
   18781       if test -d "$1"; then
   18782 	test -d "$1/.";
   18783       else
   18784 	case $1 in #(
   18785 	-*)set "./$1";;
   18786 	esac;
   18787 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18788 	???[sx]*):;;*)false;;esac;fi
   18789     '\'' sh
   18790   '
   18791 fi
   18792 as_executable_p=$as_test_x
   18793 
   18794 # Sed expression to map a string onto a valid CPP name.
   18795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18796 
   18797 # Sed expression to map a string onto a valid variable name.
   18798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18799 
   18800 
   18801 exec 6>&1
   18802 ## ----------------------------------- ##
   18803 ## Main body of $CONFIG_STATUS script. ##
   18804 ## ----------------------------------- ##
   18805 _ASEOF
   18806 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18807 
   18808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18809 # Save the log message, to keep $0 and so on meaningful, and to
   18810 # report actual input values of CONFIG_FILES etc. instead of their
   18811 # values after options handling.
   18812 ac_log="
   18813 This file was extended by xf86-video-nv $as_me 2.1.20, which was
   18814 generated by GNU Autoconf 2.68.  Invocation command line was
   18815 
   18816   CONFIG_FILES    = $CONFIG_FILES
   18817   CONFIG_HEADERS  = $CONFIG_HEADERS
   18818   CONFIG_LINKS    = $CONFIG_LINKS
   18819   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18820   $ $0 $@
   18821 
   18822 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18823 "
   18824 
   18825 _ACEOF
   18826 
   18827 case $ac_config_files in *"
   18828 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18829 esac
   18830 
   18831 case $ac_config_headers in *"
   18832 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18833 esac
   18834 
   18835 
   18836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18837 # Files that config.status was made for.
   18838 config_files="$ac_config_files"
   18839 config_headers="$ac_config_headers"
   18840 config_commands="$ac_config_commands"
   18841 
   18842 _ACEOF
   18843 
   18844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18845 ac_cs_usage="\
   18846 \`$as_me' instantiates files and other configuration actions
   18847 from templates according to the current configuration.  Unless the files
   18848 and actions are specified as TAGs, all are instantiated by default.
   18849 
   18850 Usage: $0 [OPTION]... [TAG]...
   18851 
   18852   -h, --help       print this help, then exit
   18853   -V, --version    print version number and configuration settings, then exit
   18854       --config     print configuration, then exit
   18855   -q, --quiet, --silent
   18856                    do not print progress messages
   18857   -d, --debug      don't remove temporary files
   18858       --recheck    update $as_me by reconfiguring in the same conditions
   18859       --file=FILE[:TEMPLATE]
   18860                    instantiate the configuration file FILE
   18861       --header=FILE[:TEMPLATE]
   18862                    instantiate the configuration header FILE
   18863 
   18864 Configuration files:
   18865 $config_files
   18866 
   18867 Configuration headers:
   18868 $config_headers
   18869 
   18870 Configuration commands:
   18871 $config_commands
   18872 
   18873 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18874 
   18875 _ACEOF
   18876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18878 ac_cs_version="\\
   18879 xf86-video-nv config.status 2.1.20
   18880 configured by $0, generated by GNU Autoconf 2.68,
   18881   with options \\"\$ac_cs_config\\"
   18882 
   18883 Copyright (C) 2010 Free Software Foundation, Inc.
   18884 This config.status script is free software; the Free Software Foundation
   18885 gives unlimited permission to copy, distribute and modify it."
   18886 
   18887 ac_pwd='$ac_pwd'
   18888 srcdir='$srcdir'
   18889 INSTALL='$INSTALL'
   18890 MKDIR_P='$MKDIR_P'
   18891 AWK='$AWK'
   18892 test -n "\$AWK" || AWK=awk
   18893 _ACEOF
   18894 
   18895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18896 # The default lists apply if the user does not specify any file.
   18897 ac_need_defaults=:
   18898 while test $# != 0
   18899 do
   18900   case $1 in
   18901   --*=?*)
   18902     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18903     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18904     ac_shift=:
   18905     ;;
   18906   --*=)
   18907     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18908     ac_optarg=
   18909     ac_shift=:
   18910     ;;
   18911   *)
   18912     ac_option=$1
   18913     ac_optarg=$2
   18914     ac_shift=shift
   18915     ;;
   18916   esac
   18917 
   18918   case $ac_option in
   18919   # Handling of the options.
   18920   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18921     ac_cs_recheck=: ;;
   18922   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18923     $as_echo "$ac_cs_version"; exit ;;
   18924   --config | --confi | --conf | --con | --co | --c )
   18925     $as_echo "$ac_cs_config"; exit ;;
   18926   --debug | --debu | --deb | --de | --d | -d )
   18927     debug=: ;;
   18928   --file | --fil | --fi | --f )
   18929     $ac_shift
   18930     case $ac_optarg in
   18931     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18932     '') as_fn_error $? "missing file argument" ;;
   18933     esac
   18934     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18935     ac_need_defaults=false;;
   18936   --header | --heade | --head | --hea )
   18937     $ac_shift
   18938     case $ac_optarg in
   18939     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18940     esac
   18941     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18942     ac_need_defaults=false;;
   18943   --he | --h)
   18944     # Conflict between --help and --header
   18945     as_fn_error $? "ambiguous option: \`$1'
   18946 Try \`$0 --help' for more information.";;
   18947   --help | --hel | -h )
   18948     $as_echo "$ac_cs_usage"; exit ;;
   18949   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18950   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18951     ac_cs_silent=: ;;
   18952 
   18953   # This is an error.
   18954   -*) as_fn_error $? "unrecognized option: \`$1'
   18955 Try \`$0 --help' for more information." ;;
   18956 
   18957   *) as_fn_append ac_config_targets " $1"
   18958      ac_need_defaults=false ;;
   18959 
   18960   esac
   18961   shift
   18962 done
   18963 
   18964 ac_configure_extra_args=
   18965 
   18966 if $ac_cs_silent; then
   18967   exec 6>/dev/null
   18968   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18969 fi
   18970 
   18971 _ACEOF
   18972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18973 if \$ac_cs_recheck; then
   18974   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18975   shift
   18976   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18977   CONFIG_SHELL='$SHELL'
   18978   export CONFIG_SHELL
   18979   exec "\$@"
   18980 fi
   18981 
   18982 _ACEOF
   18983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18984 exec 5>>config.log
   18985 {
   18986   echo
   18987   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18988 ## Running $as_me. ##
   18989 _ASBOX
   18990   $as_echo "$ac_log"
   18991 } >&5
   18992 
   18993 _ACEOF
   18994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18995 #
   18996 # INIT-COMMANDS
   18997 #
   18998 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18999 
   19000 
   19001 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19002 # if CDPATH is set.
   19003 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19004 
   19005 sed_quote_subst='$sed_quote_subst'
   19006 double_quote_subst='$double_quote_subst'
   19007 delay_variable_subst='$delay_variable_subst'
   19008 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19009 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19010 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19011 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19012 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19013 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19014 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19015 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19016 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19017 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19018 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19019 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19020 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19021 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19022 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19023 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19024 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19025 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19026 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19027 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19028 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19029 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19030 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19031 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19032 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19033 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19034 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19035 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19036 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19037 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19038 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19039 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19040 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19041 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19042 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19043 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19044 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19045 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19046 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19047 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19048 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19049 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19050 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19051 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19052 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19053 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19054 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19055 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19056 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19057 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19058 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19059 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19060 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19061 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19062 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19063 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19064 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"`'
   19065 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19066 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19067 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19068 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19069 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19070 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19071 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19072 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19073 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19074 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19075 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19076 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19077 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19078 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19079 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19080 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19081 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19082 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19083 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19084 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19085 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19086 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19087 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19088 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19089 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19090 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19091 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19092 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19093 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19094 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19095 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19096 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19097 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19098 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19099 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19100 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19101 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19102 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19103 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19104 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19105 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19106 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19107 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19108 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19109 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19110 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19111 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19112 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19113 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19114 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19115 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19116 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19117 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19118 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19119 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19120 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19121 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19122 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19123 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19124 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19125 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19126 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19127 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19128 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19129 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19130 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19131 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19132 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19133 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19134 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19135 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19136 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19137 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19138 
   19139 LTCC='$LTCC'
   19140 LTCFLAGS='$LTCFLAGS'
   19141 compiler='$compiler_DEFAULT'
   19142 
   19143 # A function that is used when there is no print builtin or printf.
   19144 func_fallback_echo ()
   19145 {
   19146   eval 'cat <<_LTECHO_EOF
   19147 \$1
   19148 _LTECHO_EOF'
   19149 }
   19150 
   19151 # Quote evaled strings.
   19152 for var in SHELL \
   19153 ECHO \
   19154 PATH_SEPARATOR \
   19155 SED \
   19156 GREP \
   19157 EGREP \
   19158 FGREP \
   19159 LD \
   19160 NM \
   19161 LN_S \
   19162 lt_SP2NL \
   19163 lt_NL2SP \
   19164 reload_flag \
   19165 OBJDUMP \
   19166 deplibs_check_method \
   19167 file_magic_cmd \
   19168 file_magic_glob \
   19169 want_nocaseglob \
   19170 DLLTOOL \
   19171 sharedlib_from_linklib_cmd \
   19172 AR \
   19173 AR_FLAGS \
   19174 archiver_list_spec \
   19175 STRIP \
   19176 RANLIB \
   19177 CC \
   19178 CFLAGS \
   19179 compiler \
   19180 lt_cv_sys_global_symbol_pipe \
   19181 lt_cv_sys_global_symbol_to_cdecl \
   19182 lt_cv_sys_global_symbol_to_c_name_address \
   19183 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19184 nm_file_list_spec \
   19185 lt_prog_compiler_no_builtin_flag \
   19186 lt_prog_compiler_pic \
   19187 lt_prog_compiler_wl \
   19188 lt_prog_compiler_static \
   19189 lt_cv_prog_compiler_c_o \
   19190 need_locks \
   19191 MANIFEST_TOOL \
   19192 DSYMUTIL \
   19193 NMEDIT \
   19194 LIPO \
   19195 OTOOL \
   19196 OTOOL64 \
   19197 shrext_cmds \
   19198 export_dynamic_flag_spec \
   19199 whole_archive_flag_spec \
   19200 compiler_needs_object \
   19201 with_gnu_ld \
   19202 allow_undefined_flag \
   19203 no_undefined_flag \
   19204 hardcode_libdir_flag_spec \
   19205 hardcode_libdir_separator \
   19206 exclude_expsyms \
   19207 include_expsyms \
   19208 file_list_spec \
   19209 variables_saved_for_relink \
   19210 libname_spec \
   19211 library_names_spec \
   19212 soname_spec \
   19213 install_override_mode \
   19214 finish_eval \
   19215 old_striplib \
   19216 striplib; do
   19217     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19218     *[\\\\\\\`\\"\\\$]*)
   19219       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19220       ;;
   19221     *)
   19222       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19223       ;;
   19224     esac
   19225 done
   19226 
   19227 # Double-quote double-evaled strings.
   19228 for var in reload_cmds \
   19229 old_postinstall_cmds \
   19230 old_postuninstall_cmds \
   19231 old_archive_cmds \
   19232 extract_expsyms_cmds \
   19233 old_archive_from_new_cmds \
   19234 old_archive_from_expsyms_cmds \
   19235 archive_cmds \
   19236 archive_expsym_cmds \
   19237 module_cmds \
   19238 module_expsym_cmds \
   19239 export_symbols_cmds \
   19240 prelink_cmds \
   19241 postlink_cmds \
   19242 postinstall_cmds \
   19243 postuninstall_cmds \
   19244 finish_cmds \
   19245 sys_lib_search_path_spec \
   19246 sys_lib_dlsearch_path_spec; do
   19247     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19248     *[\\\\\\\`\\"\\\$]*)
   19249       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19250       ;;
   19251     *)
   19252       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19253       ;;
   19254     esac
   19255 done
   19256 
   19257 ac_aux_dir='$ac_aux_dir'
   19258 xsi_shell='$xsi_shell'
   19259 lt_shell_append='$lt_shell_append'
   19260 
   19261 # See if we are running on zsh, and set the options which allow our
   19262 # commands through without removal of \ escapes INIT.
   19263 if test -n "\${ZSH_VERSION+set}" ; then
   19264    setopt NO_GLOB_SUBST
   19265 fi
   19266 
   19267 
   19268     PACKAGE='$PACKAGE'
   19269     VERSION='$VERSION'
   19270     TIMESTAMP='$TIMESTAMP'
   19271     RM='$RM'
   19272     ofile='$ofile'
   19273 
   19274 
   19275 
   19276 
   19277 _ACEOF
   19278 
   19279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19280 
   19281 # Handling of arguments.
   19282 for ac_config_target in $ac_config_targets
   19283 do
   19284   case $ac_config_target in
   19285     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19286     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19287     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19288     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19289     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19290     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19291 
   19292   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19293   esac
   19294 done
   19295 
   19296 
   19297 # If the user did not use the arguments to specify the items to instantiate,
   19298 # then the envvar interface is used.  Set only those that are not.
   19299 # We use the long form for the default assignment because of an extremely
   19300 # bizarre bug on SunOS 4.1.3.
   19301 if $ac_need_defaults; then
   19302   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19303   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19304   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19305 fi
   19306 
   19307 # Have a temporary directory for convenience.  Make it in the build tree
   19308 # simply because there is no reason against having it here, and in addition,
   19309 # creating and moving files from /tmp can sometimes cause problems.
   19310 # Hook for its removal unless debugging.
   19311 # Note that there is a small window in which the directory will not be cleaned:
   19312 # after its creation but before its name has been assigned to `$tmp'.
   19313 $debug ||
   19314 {
   19315   tmp= ac_tmp=
   19316   trap 'exit_status=$?
   19317   : "${ac_tmp:=$tmp}"
   19318   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19319 ' 0
   19320   trap 'as_fn_exit 1' 1 2 13 15
   19321 }
   19322 # Create a (secure) tmp directory for tmp files.
   19323 
   19324 {
   19325   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19326   test -d "$tmp"
   19327 }  ||
   19328 {
   19329   tmp=./conf$$-$RANDOM
   19330   (umask 077 && mkdir "$tmp")
   19331 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19332 ac_tmp=$tmp
   19333 
   19334 # Set up the scripts for CONFIG_FILES section.
   19335 # No need to generate them if there are no CONFIG_FILES.
   19336 # This happens for instance with `./config.status config.h'.
   19337 if test -n "$CONFIG_FILES"; then
   19338 
   19339 
   19340 ac_cr=`echo X | tr X '\015'`
   19341 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19342 # But we know of no other shell where ac_cr would be empty at this
   19343 # point, so we can use a bashism as a fallback.
   19344 if test "x$ac_cr" = x; then
   19345   eval ac_cr=\$\'\\r\'
   19346 fi
   19347 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19348 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19349   ac_cs_awk_cr='\\r'
   19350 else
   19351   ac_cs_awk_cr=$ac_cr
   19352 fi
   19353 
   19354 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19355 _ACEOF
   19356 
   19357 
   19358 {
   19359   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19360   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19361   echo "_ACEOF"
   19362 } >conf$$subs.sh ||
   19363   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19364 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19365 ac_delim='%!_!# '
   19366 for ac_last_try in false false false false false :; do
   19367   . ./conf$$subs.sh ||
   19368     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19369 
   19370   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19371   if test $ac_delim_n = $ac_delim_num; then
   19372     break
   19373   elif $ac_last_try; then
   19374     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19375   else
   19376     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19377   fi
   19378 done
   19379 rm -f conf$$subs.sh
   19380 
   19381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19382 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19383 _ACEOF
   19384 sed -n '
   19385 h
   19386 s/^/S["/; s/!.*/"]=/
   19387 p
   19388 g
   19389 s/^[^!]*!//
   19390 :repl
   19391 t repl
   19392 s/'"$ac_delim"'$//
   19393 t delim
   19394 :nl
   19395 h
   19396 s/\(.\{148\}\)..*/\1/
   19397 t more1
   19398 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19399 p
   19400 n
   19401 b repl
   19402 :more1
   19403 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19404 p
   19405 g
   19406 s/.\{148\}//
   19407 t nl
   19408 :delim
   19409 h
   19410 s/\(.\{148\}\)..*/\1/
   19411 t more2
   19412 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19413 p
   19414 b
   19415 :more2
   19416 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19417 p
   19418 g
   19419 s/.\{148\}//
   19420 t delim
   19421 ' <conf$$subs.awk | sed '
   19422 /^[^""]/{
   19423   N
   19424   s/\n//
   19425 }
   19426 ' >>$CONFIG_STATUS || ac_write_fail=1
   19427 rm -f conf$$subs.awk
   19428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19429 _ACAWK
   19430 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19431   for (key in S) S_is_set[key] = 1
   19432   FS = ""
   19433 
   19434 }
   19435 {
   19436   line = $ 0
   19437   nfields = split(line, field, "@")
   19438   substed = 0
   19439   len = length(field[1])
   19440   for (i = 2; i < nfields; i++) {
   19441     key = field[i]
   19442     keylen = length(key)
   19443     if (S_is_set[key]) {
   19444       value = S[key]
   19445       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19446       len += length(value) + length(field[++i])
   19447       substed = 1
   19448     } else
   19449       len += 1 + keylen
   19450   }
   19451 
   19452   print line
   19453 }
   19454 
   19455 _ACAWK
   19456 _ACEOF
   19457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19458 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19459   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19460 else
   19461   cat
   19462 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19463   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19464 _ACEOF
   19465 
   19466 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19467 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19468 # trailing colons and then remove the whole line if VPATH becomes empty
   19469 # (actually we leave an empty line to preserve line numbers).
   19470 if test "x$srcdir" = x.; then
   19471   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19472 h
   19473 s///
   19474 s/^/:/
   19475 s/[	 ]*$/:/
   19476 s/:\$(srcdir):/:/g
   19477 s/:\${srcdir}:/:/g
   19478 s/:@srcdir@:/:/g
   19479 s/^:*//
   19480 s/:*$//
   19481 x
   19482 s/\(=[	 ]*\).*/\1/
   19483 G
   19484 s/\n//
   19485 s/^[^=]*=[	 ]*$//
   19486 }'
   19487 fi
   19488 
   19489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19490 fi # test -n "$CONFIG_FILES"
   19491 
   19492 # Set up the scripts for CONFIG_HEADERS section.
   19493 # No need to generate them if there are no CONFIG_HEADERS.
   19494 # This happens for instance with `./config.status Makefile'.
   19495 if test -n "$CONFIG_HEADERS"; then
   19496 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19497 BEGIN {
   19498 _ACEOF
   19499 
   19500 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19501 # here-document in config.status, that substitutes the proper values into
   19502 # config.h.in to produce config.h.
   19503 
   19504 # Create a delimiter string that does not exist in confdefs.h, to ease
   19505 # handling of long lines.
   19506 ac_delim='%!_!# '
   19507 for ac_last_try in false false :; do
   19508   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19509   if test -z "$ac_tt"; then
   19510     break
   19511   elif $ac_last_try; then
   19512     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19513   else
   19514     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19515   fi
   19516 done
   19517 
   19518 # For the awk script, D is an array of macro values keyed by name,
   19519 # likewise P contains macro parameters if any.  Preserve backslash
   19520 # newline sequences.
   19521 
   19522 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19523 sed -n '
   19524 s/.\{148\}/&'"$ac_delim"'/g
   19525 t rset
   19526 :rset
   19527 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19528 t def
   19529 d
   19530 :def
   19531 s/\\$//
   19532 t bsnl
   19533 s/["\\]/\\&/g
   19534 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19535 D["\1"]=" \3"/p
   19536 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19537 d
   19538 :bsnl
   19539 s/["\\]/\\&/g
   19540 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19541 D["\1"]=" \3\\\\\\n"\\/p
   19542 t cont
   19543 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19544 t cont
   19545 d
   19546 :cont
   19547 n
   19548 s/.\{148\}/&'"$ac_delim"'/g
   19549 t clear
   19550 :clear
   19551 s/\\$//
   19552 t bsnlc
   19553 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19554 d
   19555 :bsnlc
   19556 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19557 b cont
   19558 ' <confdefs.h | sed '
   19559 s/'"$ac_delim"'/"\\\
   19560 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19561 
   19562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19563   for (key in D) D_is_set[key] = 1
   19564   FS = ""
   19565 }
   19566 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19567   line = \$ 0
   19568   split(line, arg, " ")
   19569   if (arg[1] == "#") {
   19570     defundef = arg[2]
   19571     mac1 = arg[3]
   19572   } else {
   19573     defundef = substr(arg[1], 2)
   19574     mac1 = arg[2]
   19575   }
   19576   split(mac1, mac2, "(") #)
   19577   macro = mac2[1]
   19578   prefix = substr(line, 1, index(line, defundef) - 1)
   19579   if (D_is_set[macro]) {
   19580     # Preserve the white space surrounding the "#".
   19581     print prefix "define", macro P[macro] D[macro]
   19582     next
   19583   } else {
   19584     # Replace #undef with comments.  This is necessary, for example,
   19585     # in the case of _POSIX_SOURCE, which is predefined and required
   19586     # on some systems where configure will not decide to define it.
   19587     if (defundef == "undef") {
   19588       print "/*", prefix defundef, macro, "*/"
   19589       next
   19590     }
   19591   }
   19592 }
   19593 { print }
   19594 _ACAWK
   19595 _ACEOF
   19596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19597   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19598 fi # test -n "$CONFIG_HEADERS"
   19599 
   19600 
   19601 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19602 shift
   19603 for ac_tag
   19604 do
   19605   case $ac_tag in
   19606   :[FHLC]) ac_mode=$ac_tag; continue;;
   19607   esac
   19608   case $ac_mode$ac_tag in
   19609   :[FHL]*:*);;
   19610   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19611   :[FH]-) ac_tag=-:-;;
   19612   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19613   esac
   19614   ac_save_IFS=$IFS
   19615   IFS=:
   19616   set x $ac_tag
   19617   IFS=$ac_save_IFS
   19618   shift
   19619   ac_file=$1
   19620   shift
   19621 
   19622   case $ac_mode in
   19623   :L) ac_source=$1;;
   19624   :[FH])
   19625     ac_file_inputs=
   19626     for ac_f
   19627     do
   19628       case $ac_f in
   19629       -) ac_f="$ac_tmp/stdin";;
   19630       *) # Look for the file first in the build tree, then in the source tree
   19631 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19632 	 # because $ac_f cannot contain `:'.
   19633 	 test -f "$ac_f" ||
   19634 	   case $ac_f in
   19635 	   [\\/$]*) false;;
   19636 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19637 	   esac ||
   19638 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19639       esac
   19640       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19641       as_fn_append ac_file_inputs " '$ac_f'"
   19642     done
   19643 
   19644     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19645     # use $as_me), people would be surprised to read:
   19646     #    /* config.h.  Generated by config.status.  */
   19647     configure_input='Generated from '`
   19648 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19649 	`' by configure.'
   19650     if test x"$ac_file" != x-; then
   19651       configure_input="$ac_file.  $configure_input"
   19652       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19653 $as_echo "$as_me: creating $ac_file" >&6;}
   19654     fi
   19655     # Neutralize special characters interpreted by sed in replacement strings.
   19656     case $configure_input in #(
   19657     *\&* | *\|* | *\\* )
   19658        ac_sed_conf_input=`$as_echo "$configure_input" |
   19659        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19660     *) ac_sed_conf_input=$configure_input;;
   19661     esac
   19662 
   19663     case $ac_tag in
   19664     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19665       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19666     esac
   19667     ;;
   19668   esac
   19669 
   19670   ac_dir=`$as_dirname -- "$ac_file" ||
   19671 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19672 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19673 	 X"$ac_file" : 'X\(//\)$' \| \
   19674 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19675 $as_echo X"$ac_file" |
   19676     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19677 	    s//\1/
   19678 	    q
   19679 	  }
   19680 	  /^X\(\/\/\)[^/].*/{
   19681 	    s//\1/
   19682 	    q
   19683 	  }
   19684 	  /^X\(\/\/\)$/{
   19685 	    s//\1/
   19686 	    q
   19687 	  }
   19688 	  /^X\(\/\).*/{
   19689 	    s//\1/
   19690 	    q
   19691 	  }
   19692 	  s/.*/./; q'`
   19693   as_dir="$ac_dir"; as_fn_mkdir_p
   19694   ac_builddir=.
   19695 
   19696 case "$ac_dir" in
   19697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19698 *)
   19699   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19700   # A ".." for each directory in $ac_dir_suffix.
   19701   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19702   case $ac_top_builddir_sub in
   19703   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19704   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19705   esac ;;
   19706 esac
   19707 ac_abs_top_builddir=$ac_pwd
   19708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19709 # for backward compatibility:
   19710 ac_top_builddir=$ac_top_build_prefix
   19711 
   19712 case $srcdir in
   19713   .)  # We are building in place.
   19714     ac_srcdir=.
   19715     ac_top_srcdir=$ac_top_builddir_sub
   19716     ac_abs_top_srcdir=$ac_pwd ;;
   19717   [\\/]* | ?:[\\/]* )  # Absolute name.
   19718     ac_srcdir=$srcdir$ac_dir_suffix;
   19719     ac_top_srcdir=$srcdir
   19720     ac_abs_top_srcdir=$srcdir ;;
   19721   *) # Relative name.
   19722     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19723     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19724     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19725 esac
   19726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19727 
   19728 
   19729   case $ac_mode in
   19730   :F)
   19731   #
   19732   # CONFIG_FILE
   19733   #
   19734 
   19735   case $INSTALL in
   19736   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19737   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19738   esac
   19739   ac_MKDIR_P=$MKDIR_P
   19740   case $MKDIR_P in
   19741   [\\/$]* | ?:[\\/]* ) ;;
   19742   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19743   esac
   19744 _ACEOF
   19745 
   19746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19747 # If the template does not know about datarootdir, expand it.
   19748 # FIXME: This hack should be removed a few years after 2.60.
   19749 ac_datarootdir_hack=; ac_datarootdir_seen=
   19750 ac_sed_dataroot='
   19751 /datarootdir/ {
   19752   p
   19753   q
   19754 }
   19755 /@datadir@/p
   19756 /@docdir@/p
   19757 /@infodir@/p
   19758 /@localedir@/p
   19759 /@mandir@/p'
   19760 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19761 *datarootdir*) ac_datarootdir_seen=yes;;
   19762 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19763   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19764 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19765 _ACEOF
   19766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19767   ac_datarootdir_hack='
   19768   s&@datadir@&$datadir&g
   19769   s&@docdir@&$docdir&g
   19770   s&@infodir@&$infodir&g
   19771   s&@localedir@&$localedir&g
   19772   s&@mandir@&$mandir&g
   19773   s&\\\${datarootdir}&$datarootdir&g' ;;
   19774 esac
   19775 _ACEOF
   19776 
   19777 # Neutralize VPATH when `$srcdir' = `.'.
   19778 # Shell code in configure.ac might set extrasub.
   19779 # FIXME: do we really want to maintain this feature?
   19780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19781 ac_sed_extra="$ac_vpsub
   19782 $extrasub
   19783 _ACEOF
   19784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19785 :t
   19786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19787 s|@configure_input@|$ac_sed_conf_input|;t t
   19788 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19789 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19790 s&@srcdir@&$ac_srcdir&;t t
   19791 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19792 s&@top_srcdir@&$ac_top_srcdir&;t t
   19793 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19794 s&@builddir@&$ac_builddir&;t t
   19795 s&@abs_builddir@&$ac_abs_builddir&;t t
   19796 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19797 s&@INSTALL@&$ac_INSTALL&;t t
   19798 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19799 $ac_datarootdir_hack
   19800 "
   19801 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19802   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19803 
   19804 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19805   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19806   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19807       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19808   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19809 which seems to be undefined.  Please make sure it is defined" >&5
   19810 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19811 which seems to be undefined.  Please make sure it is defined" >&2;}
   19812 
   19813   rm -f "$ac_tmp/stdin"
   19814   case $ac_file in
   19815   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19816   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19817   esac \
   19818   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19819  ;;
   19820   :H)
   19821   #
   19822   # CONFIG_HEADER
   19823   #
   19824   if test x"$ac_file" != x-; then
   19825     {
   19826       $as_echo "/* $configure_input  */" \
   19827       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19828     } >"$ac_tmp/config.h" \
   19829       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19830     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19831       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19832 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19833     else
   19834       rm -f "$ac_file"
   19835       mv "$ac_tmp/config.h" "$ac_file" \
   19836 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19837     fi
   19838   else
   19839     $as_echo "/* $configure_input  */" \
   19840       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19841       || as_fn_error $? "could not create -" "$LINENO" 5
   19842   fi
   19843 # Compute "$ac_file"'s index in $config_headers.
   19844 _am_arg="$ac_file"
   19845 _am_stamp_count=1
   19846 for _am_header in $config_headers :; do
   19847   case $_am_header in
   19848     $_am_arg | $_am_arg:* )
   19849       break ;;
   19850     * )
   19851       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19852   esac
   19853 done
   19854 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19855 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19856 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19857 	 X"$_am_arg" : 'X\(//\)$' \| \
   19858 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19859 $as_echo X"$_am_arg" |
   19860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19861 	    s//\1/
   19862 	    q
   19863 	  }
   19864 	  /^X\(\/\/\)[^/].*/{
   19865 	    s//\1/
   19866 	    q
   19867 	  }
   19868 	  /^X\(\/\/\)$/{
   19869 	    s//\1/
   19870 	    q
   19871 	  }
   19872 	  /^X\(\/\).*/{
   19873 	    s//\1/
   19874 	    q
   19875 	  }
   19876 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19877  ;;
   19878 
   19879   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19880 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19881  ;;
   19882   esac
   19883 
   19884 
   19885   case $ac_file$ac_mode in
   19886     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19887   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19888   # are listed without --file.  Let's play safe and only enable the eval
   19889   # if we detect the quoting.
   19890   case $CONFIG_FILES in
   19891   *\'*) eval set x "$CONFIG_FILES" ;;
   19892   *)   set x $CONFIG_FILES ;;
   19893   esac
   19894   shift
   19895   for mf
   19896   do
   19897     # Strip MF so we end up with the name of the file.
   19898     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19899     # Check whether this is an Automake generated Makefile or not.
   19900     # We used to match only the files named `Makefile.in', but
   19901     # some people rename them; so instead we look at the file content.
   19902     # Grep'ing the first line is not enough: some people post-process
   19903     # each Makefile.in and add a new line on top of each file to say so.
   19904     # Grep'ing the whole file is not good either: AIX grep has a line
   19905     # limit of 2048, but all sed's we know have understand at least 4000.
   19906     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19907       dirpart=`$as_dirname -- "$mf" ||
   19908 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19909 	 X"$mf" : 'X\(//\)[^/]' \| \
   19910 	 X"$mf" : 'X\(//\)$' \| \
   19911 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19912 $as_echo X"$mf" |
   19913     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19914 	    s//\1/
   19915 	    q
   19916 	  }
   19917 	  /^X\(\/\/\)[^/].*/{
   19918 	    s//\1/
   19919 	    q
   19920 	  }
   19921 	  /^X\(\/\/\)$/{
   19922 	    s//\1/
   19923 	    q
   19924 	  }
   19925 	  /^X\(\/\).*/{
   19926 	    s//\1/
   19927 	    q
   19928 	  }
   19929 	  s/.*/./; q'`
   19930     else
   19931       continue
   19932     fi
   19933     # Extract the definition of DEPDIR, am__include, and am__quote
   19934     # from the Makefile without running `make'.
   19935     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19936     test -z "$DEPDIR" && continue
   19937     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19938     test -z "am__include" && continue
   19939     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19940     # When using ansi2knr, U may be empty or an underscore; expand it
   19941     U=`sed -n 's/^U = //p' < "$mf"`
   19942     # Find all dependency output files, they are included files with
   19943     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19944     # simplest approach to changing $(DEPDIR) to its actual value in the
   19945     # expansion.
   19946     for file in `sed -n "
   19947       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19948 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19949       # Make sure the directory exists.
   19950       test -f "$dirpart/$file" && continue
   19951       fdir=`$as_dirname -- "$file" ||
   19952 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19953 	 X"$file" : 'X\(//\)[^/]' \| \
   19954 	 X"$file" : 'X\(//\)$' \| \
   19955 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19956 $as_echo X"$file" |
   19957     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19958 	    s//\1/
   19959 	    q
   19960 	  }
   19961 	  /^X\(\/\/\)[^/].*/{
   19962 	    s//\1/
   19963 	    q
   19964 	  }
   19965 	  /^X\(\/\/\)$/{
   19966 	    s//\1/
   19967 	    q
   19968 	  }
   19969 	  /^X\(\/\).*/{
   19970 	    s//\1/
   19971 	    q
   19972 	  }
   19973 	  s/.*/./; q'`
   19974       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19975       # echo "creating $dirpart/$file"
   19976       echo '# dummy' > "$dirpart/$file"
   19977     done
   19978   done
   19979 }
   19980  ;;
   19981     "libtool":C)
   19982 
   19983     # See if we are running on zsh, and set the options which allow our
   19984     # commands through without removal of \ escapes.
   19985     if test -n "${ZSH_VERSION+set}" ; then
   19986       setopt NO_GLOB_SUBST
   19987     fi
   19988 
   19989     cfgfile="${ofile}T"
   19990     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19991     $RM "$cfgfile"
   19992 
   19993     cat <<_LT_EOF >> "$cfgfile"
   19994 #! $SHELL
   19995 
   19996 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19997 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19998 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19999 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20000 #
   20001 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20002 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20003 #                 Foundation, Inc.
   20004 #   Written by Gordon Matzigkeit, 1996
   20005 #
   20006 #   This file is part of GNU Libtool.
   20007 #
   20008 # GNU Libtool is free software; you can redistribute it and/or
   20009 # modify it under the terms of the GNU General Public License as
   20010 # published by the Free Software Foundation; either version 2 of
   20011 # the License, or (at your option) any later version.
   20012 #
   20013 # As a special exception to the GNU General Public License,
   20014 # if you distribute this file as part of a program or library that
   20015 # is built using GNU Libtool, you may include this file under the
   20016 # same distribution terms that you use for the rest of that program.
   20017 #
   20018 # GNU Libtool is distributed in the hope that it will be useful,
   20019 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20020 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20021 # GNU General Public License for more details.
   20022 #
   20023 # You should have received a copy of the GNU General Public License
   20024 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20025 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20026 # obtained by writing to the Free Software Foundation, Inc.,
   20027 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20028 
   20029 
   20030 # The names of the tagged configurations supported by this script.
   20031 available_tags=""
   20032 
   20033 # ### BEGIN LIBTOOL CONFIG
   20034 
   20035 # Whether or not to build static libraries.
   20036 build_old_libs=$enable_static
   20037 
   20038 # Which release of libtool.m4 was used?
   20039 macro_version=$macro_version
   20040 macro_revision=$macro_revision
   20041 
   20042 # Whether or not to build shared libraries.
   20043 build_libtool_libs=$enable_shared
   20044 
   20045 # What type of objects to build.
   20046 pic_mode=$pic_mode
   20047 
   20048 # Whether or not to optimize for fast installation.
   20049 fast_install=$enable_fast_install
   20050 
   20051 # Shell to use when invoking shell scripts.
   20052 SHELL=$lt_SHELL
   20053 
   20054 # An echo program that protects backslashes.
   20055 ECHO=$lt_ECHO
   20056 
   20057 # The PATH separator for the build system.
   20058 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20059 
   20060 # The host system.
   20061 host_alias=$host_alias
   20062 host=$host
   20063 host_os=$host_os
   20064 
   20065 # The build system.
   20066 build_alias=$build_alias
   20067 build=$build
   20068 build_os=$build_os
   20069 
   20070 # A sed program that does not truncate output.
   20071 SED=$lt_SED
   20072 
   20073 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20074 Xsed="\$SED -e 1s/^X//"
   20075 
   20076 # A grep program that handles long lines.
   20077 GREP=$lt_GREP
   20078 
   20079 # An ERE matcher.
   20080 EGREP=$lt_EGREP
   20081 
   20082 # A literal string matcher.
   20083 FGREP=$lt_FGREP
   20084 
   20085 # A BSD- or MS-compatible name lister.
   20086 NM=$lt_NM
   20087 
   20088 # Whether we need soft or hard links.
   20089 LN_S=$lt_LN_S
   20090 
   20091 # What is the maximum length of a command?
   20092 max_cmd_len=$max_cmd_len
   20093 
   20094 # Object file suffix (normally "o").
   20095 objext=$ac_objext
   20096 
   20097 # Executable file suffix (normally "").
   20098 exeext=$exeext
   20099 
   20100 # whether the shell understands "unset".
   20101 lt_unset=$lt_unset
   20102 
   20103 # turn spaces into newlines.
   20104 SP2NL=$lt_lt_SP2NL
   20105 
   20106 # turn newlines into spaces.
   20107 NL2SP=$lt_lt_NL2SP
   20108 
   20109 # convert \$build file names to \$host format.
   20110 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20111 
   20112 # convert \$build files to toolchain format.
   20113 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20114 
   20115 # An object symbol dumper.
   20116 OBJDUMP=$lt_OBJDUMP
   20117 
   20118 # Method to check whether dependent libraries are shared objects.
   20119 deplibs_check_method=$lt_deplibs_check_method
   20120 
   20121 # Command to use when deplibs_check_method = "file_magic".
   20122 file_magic_cmd=$lt_file_magic_cmd
   20123 
   20124 # How to find potential files when deplibs_check_method = "file_magic".
   20125 file_magic_glob=$lt_file_magic_glob
   20126 
   20127 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20128 want_nocaseglob=$lt_want_nocaseglob
   20129 
   20130 # DLL creation program.
   20131 DLLTOOL=$lt_DLLTOOL
   20132 
   20133 # Command to associate shared and link libraries.
   20134 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20135 
   20136 # The archiver.
   20137 AR=$lt_AR
   20138 
   20139 # Flags to create an archive.
   20140 AR_FLAGS=$lt_AR_FLAGS
   20141 
   20142 # How to feed a file listing to the archiver.
   20143 archiver_list_spec=$lt_archiver_list_spec
   20144 
   20145 # A symbol stripping program.
   20146 STRIP=$lt_STRIP
   20147 
   20148 # Commands used to install an old-style archive.
   20149 RANLIB=$lt_RANLIB
   20150 old_postinstall_cmds=$lt_old_postinstall_cmds
   20151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20152 
   20153 # Whether to use a lock for old archive extraction.
   20154 lock_old_archive_extraction=$lock_old_archive_extraction
   20155 
   20156 # A C compiler.
   20157 LTCC=$lt_CC
   20158 
   20159 # LTCC compiler flags.
   20160 LTCFLAGS=$lt_CFLAGS
   20161 
   20162 # Take the output of nm and produce a listing of raw symbols and C names.
   20163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20164 
   20165 # Transform the output of nm in a proper C declaration.
   20166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20167 
   20168 # Transform the output of nm in a C name address pair.
   20169 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20170 
   20171 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20172 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20173 
   20174 # Specify filename containing input files for \$NM.
   20175 nm_file_list_spec=$lt_nm_file_list_spec
   20176 
   20177 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20178 lt_sysroot=$lt_sysroot
   20179 
   20180 # The name of the directory that contains temporary libtool files.
   20181 objdir=$objdir
   20182 
   20183 # Used to examine libraries when file_magic_cmd begins with "file".
   20184 MAGIC_CMD=$MAGIC_CMD
   20185 
   20186 # Must we lock files when doing compilation?
   20187 need_locks=$lt_need_locks
   20188 
   20189 # Manifest tool.
   20190 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20191 
   20192 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20193 DSYMUTIL=$lt_DSYMUTIL
   20194 
   20195 # Tool to change global to local symbols on Mac OS X.
   20196 NMEDIT=$lt_NMEDIT
   20197 
   20198 # Tool to manipulate fat objects and archives on Mac OS X.
   20199 LIPO=$lt_LIPO
   20200 
   20201 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20202 OTOOL=$lt_OTOOL
   20203 
   20204 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20205 OTOOL64=$lt_OTOOL64
   20206 
   20207 # Old archive suffix (normally "a").
   20208 libext=$libext
   20209 
   20210 # Shared library suffix (normally ".so").
   20211 shrext_cmds=$lt_shrext_cmds
   20212 
   20213 # The commands to extract the exported symbol list from a shared archive.
   20214 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20215 
   20216 # Variables whose values should be saved in libtool wrapper scripts and
   20217 # restored at link time.
   20218 variables_saved_for_relink=$lt_variables_saved_for_relink
   20219 
   20220 # Do we need the "lib" prefix for modules?
   20221 need_lib_prefix=$need_lib_prefix
   20222 
   20223 # Do we need a version for libraries?
   20224 need_version=$need_version
   20225 
   20226 # Library versioning type.
   20227 version_type=$version_type
   20228 
   20229 # Shared library runtime path variable.
   20230 runpath_var=$runpath_var
   20231 
   20232 # Shared library path variable.
   20233 shlibpath_var=$shlibpath_var
   20234 
   20235 # Is shlibpath searched before the hard-coded library search path?
   20236 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20237 
   20238 # Format of library name prefix.
   20239 libname_spec=$lt_libname_spec
   20240 
   20241 # List of archive names.  First name is the real one, the rest are links.
   20242 # The last name is the one that the linker finds with -lNAME
   20243 library_names_spec=$lt_library_names_spec
   20244 
   20245 # The coded name of the library, if different from the real name.
   20246 soname_spec=$lt_soname_spec
   20247 
   20248 # Permission mode override for installation of shared libraries.
   20249 install_override_mode=$lt_install_override_mode
   20250 
   20251 # Command to use after installation of a shared archive.
   20252 postinstall_cmds=$lt_postinstall_cmds
   20253 
   20254 # Command to use after uninstallation of a shared archive.
   20255 postuninstall_cmds=$lt_postuninstall_cmds
   20256 
   20257 # Commands used to finish a libtool library installation in a directory.
   20258 finish_cmds=$lt_finish_cmds
   20259 
   20260 # As "finish_cmds", except a single script fragment to be evaled but
   20261 # not shown.
   20262 finish_eval=$lt_finish_eval
   20263 
   20264 # Whether we should hardcode library paths into libraries.
   20265 hardcode_into_libs=$hardcode_into_libs
   20266 
   20267 # Compile-time system search path for libraries.
   20268 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20269 
   20270 # Run-time system search path for libraries.
   20271 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20272 
   20273 # Whether dlopen is supported.
   20274 dlopen_support=$enable_dlopen
   20275 
   20276 # Whether dlopen of programs is supported.
   20277 dlopen_self=$enable_dlopen_self
   20278 
   20279 # Whether dlopen of statically linked programs is supported.
   20280 dlopen_self_static=$enable_dlopen_self_static
   20281 
   20282 # Commands to strip libraries.
   20283 old_striplib=$lt_old_striplib
   20284 striplib=$lt_striplib
   20285 
   20286 
   20287 # The linker used to build libraries.
   20288 LD=$lt_LD
   20289 
   20290 # How to create reloadable object files.
   20291 reload_flag=$lt_reload_flag
   20292 reload_cmds=$lt_reload_cmds
   20293 
   20294 # Commands used to build an old-style archive.
   20295 old_archive_cmds=$lt_old_archive_cmds
   20296 
   20297 # A language specific compiler.
   20298 CC=$lt_compiler
   20299 
   20300 # Is the compiler the GNU compiler?
   20301 with_gcc=$GCC
   20302 
   20303 # Compiler flag to turn off builtin functions.
   20304 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20305 
   20306 # Additional compiler flags for building library objects.
   20307 pic_flag=$lt_lt_prog_compiler_pic
   20308 
   20309 # How to pass a linker flag through the compiler.
   20310 wl=$lt_lt_prog_compiler_wl
   20311 
   20312 # Compiler flag to prevent dynamic linking.
   20313 link_static_flag=$lt_lt_prog_compiler_static
   20314 
   20315 # Does compiler simultaneously support -c and -o options?
   20316 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20317 
   20318 # Whether or not to add -lc for building shared libraries.
   20319 build_libtool_need_lc=$archive_cmds_need_lc
   20320 
   20321 # Whether or not to disallow shared libs when runtime libs are static.
   20322 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20323 
   20324 # Compiler flag to allow reflexive dlopens.
   20325 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20326 
   20327 # Compiler flag to generate shared objects directly from archives.
   20328 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20329 
   20330 # Whether the compiler copes with passing no objects directly.
   20331 compiler_needs_object=$lt_compiler_needs_object
   20332 
   20333 # Create an old-style archive from a shared archive.
   20334 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20335 
   20336 # Create a temporary old-style archive to link instead of a shared archive.
   20337 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20338 
   20339 # Commands used to build a shared archive.
   20340 archive_cmds=$lt_archive_cmds
   20341 archive_expsym_cmds=$lt_archive_expsym_cmds
   20342 
   20343 # Commands used to build a loadable module if different from building
   20344 # a shared archive.
   20345 module_cmds=$lt_module_cmds
   20346 module_expsym_cmds=$lt_module_expsym_cmds
   20347 
   20348 # Whether we are building with GNU ld or not.
   20349 with_gnu_ld=$lt_with_gnu_ld
   20350 
   20351 # Flag that allows shared libraries with undefined symbols to be built.
   20352 allow_undefined_flag=$lt_allow_undefined_flag
   20353 
   20354 # Flag that enforces no undefined symbols.
   20355 no_undefined_flag=$lt_no_undefined_flag
   20356 
   20357 # Flag to hardcode \$libdir into a binary during linking.
   20358 # This must work even if \$libdir does not exist
   20359 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20360 
   20361 # Whether we need a single "-rpath" flag with a separated argument.
   20362 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20363 
   20364 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20365 # DIR into the resulting binary.
   20366 hardcode_direct=$hardcode_direct
   20367 
   20368 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20369 # DIR into the resulting binary and the resulting library dependency is
   20370 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20371 # library is relocated.
   20372 hardcode_direct_absolute=$hardcode_direct_absolute
   20373 
   20374 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20375 # into the resulting binary.
   20376 hardcode_minus_L=$hardcode_minus_L
   20377 
   20378 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20379 # into the resulting binary.
   20380 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20381 
   20382 # Set to "yes" if building a shared library automatically hardcodes DIR
   20383 # into the library and all subsequent libraries and executables linked
   20384 # against it.
   20385 hardcode_automatic=$hardcode_automatic
   20386 
   20387 # Set to yes if linker adds runtime paths of dependent libraries
   20388 # to runtime path list.
   20389 inherit_rpath=$inherit_rpath
   20390 
   20391 # Whether libtool must link a program against all its dependency libraries.
   20392 link_all_deplibs=$link_all_deplibs
   20393 
   20394 # Set to "yes" if exported symbols are required.
   20395 always_export_symbols=$always_export_symbols
   20396 
   20397 # The commands to list exported symbols.
   20398 export_symbols_cmds=$lt_export_symbols_cmds
   20399 
   20400 # Symbols that should not be listed in the preloaded symbols.
   20401 exclude_expsyms=$lt_exclude_expsyms
   20402 
   20403 # Symbols that must always be exported.
   20404 include_expsyms=$lt_include_expsyms
   20405 
   20406 # Commands necessary for linking programs (against libraries) with templates.
   20407 prelink_cmds=$lt_prelink_cmds
   20408 
   20409 # Commands necessary for finishing linking programs.
   20410 postlink_cmds=$lt_postlink_cmds
   20411 
   20412 # Specify filename containing input files.
   20413 file_list_spec=$lt_file_list_spec
   20414 
   20415 # How to hardcode a shared library path into an executable.
   20416 hardcode_action=$hardcode_action
   20417 
   20418 # ### END LIBTOOL CONFIG
   20419 
   20420 _LT_EOF
   20421 
   20422   case $host_os in
   20423   aix3*)
   20424     cat <<\_LT_EOF >> "$cfgfile"
   20425 # AIX sometimes has problems with the GCC collect2 program.  For some
   20426 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20427 # vanish in a puff of smoke.
   20428 if test "X${COLLECT_NAMES+set}" != Xset; then
   20429   COLLECT_NAMES=
   20430   export COLLECT_NAMES
   20431 fi
   20432 _LT_EOF
   20433     ;;
   20434   esac
   20435 
   20436 
   20437 ltmain="$ac_aux_dir/ltmain.sh"
   20438 
   20439 
   20440   # We use sed instead of cat because bash on DJGPP gets confused if
   20441   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20442   # text mode, it properly converts lines to CR/LF.  This bash problem
   20443   # is reportedly fixed, but why not run on old versions too?
   20444   sed '$q' "$ltmain" >> "$cfgfile" \
   20445      || (rm -f "$cfgfile"; exit 1)
   20446 
   20447   if test x"$xsi_shell" = xyes; then
   20448   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20449 func_dirname ()\
   20450 {\
   20451 \    case ${1} in\
   20452 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20453 \      *  ) func_dirname_result="${3}" ;;\
   20454 \    esac\
   20455 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20456   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20457     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20458 test 0 -eq $? || _lt_function_replace_fail=:
   20459 
   20460 
   20461   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20462 func_basename ()\
   20463 {\
   20464 \    func_basename_result="${1##*/}"\
   20465 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20466   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20467     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20468 test 0 -eq $? || _lt_function_replace_fail=:
   20469 
   20470 
   20471   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20472 func_dirname_and_basename ()\
   20473 {\
   20474 \    case ${1} in\
   20475 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20476 \      *  ) func_dirname_result="${3}" ;;\
   20477 \    esac\
   20478 \    func_basename_result="${1##*/}"\
   20479 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20480   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20481     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20482 test 0 -eq $? || _lt_function_replace_fail=:
   20483 
   20484 
   20485   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20486 func_stripname ()\
   20487 {\
   20488 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20489 \    # positional parameters, so assign one to ordinary parameter first.\
   20490 \    func_stripname_result=${3}\
   20491 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20492 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20493 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20494   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20495     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20496 test 0 -eq $? || _lt_function_replace_fail=:
   20497 
   20498 
   20499   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20500 func_split_long_opt ()\
   20501 {\
   20502 \    func_split_long_opt_name=${1%%=*}\
   20503 \    func_split_long_opt_arg=${1#*=}\
   20504 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20505   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20506     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20507 test 0 -eq $? || _lt_function_replace_fail=:
   20508 
   20509 
   20510   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20511 func_split_short_opt ()\
   20512 {\
   20513 \    func_split_short_opt_arg=${1#??}\
   20514 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20515 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20516   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20517     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20518 test 0 -eq $? || _lt_function_replace_fail=:
   20519 
   20520 
   20521   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20522 func_lo2o ()\
   20523 {\
   20524 \    case ${1} in\
   20525 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20526 \      *)    func_lo2o_result=${1} ;;\
   20527 \    esac\
   20528 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20529   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20530     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20531 test 0 -eq $? || _lt_function_replace_fail=:
   20532 
   20533 
   20534   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20535 func_xform ()\
   20536 {\
   20537     func_xform_result=${1%.*}.lo\
   20538 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20539   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20540     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20541 test 0 -eq $? || _lt_function_replace_fail=:
   20542 
   20543 
   20544   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20545 func_arith ()\
   20546 {\
   20547     func_arith_result=$(( $* ))\
   20548 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20549   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20550     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20551 test 0 -eq $? || _lt_function_replace_fail=:
   20552 
   20553 
   20554   sed -e '/^func_len ()$/,/^} # func_len /c\
   20555 func_len ()\
   20556 {\
   20557     func_len_result=${#1}\
   20558 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20559   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20560     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20561 test 0 -eq $? || _lt_function_replace_fail=:
   20562 
   20563 fi
   20564 
   20565 if test x"$lt_shell_append" = xyes; then
   20566   sed -e '/^func_append ()$/,/^} # func_append /c\
   20567 func_append ()\
   20568 {\
   20569     eval "${1}+=\\${2}"\
   20570 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20571   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20572     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20573 test 0 -eq $? || _lt_function_replace_fail=:
   20574 
   20575 
   20576   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20577 func_append_quoted ()\
   20578 {\
   20579 \    func_quote_for_eval "${2}"\
   20580 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20581 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20582   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20583     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20584 test 0 -eq $? || _lt_function_replace_fail=:
   20585 
   20586 
   20587   # Save a `func_append' function call where possible by direct use of '+='
   20588   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20589     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20590       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20591   test 0 -eq $? || _lt_function_replace_fail=:
   20592 else
   20593   # Save a `func_append' function call even when '+=' is not available
   20594   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20595     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20596       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20597   test 0 -eq $? || _lt_function_replace_fail=:
   20598 fi
   20599 
   20600 if test x"$_lt_function_replace_fail" = x":"; then
   20601   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20602 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20603 fi
   20604 
   20605 
   20606    mv -f "$cfgfile" "$ofile" ||
   20607     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20608   chmod +x "$ofile"
   20609 
   20610  ;;
   20611 
   20612   esac
   20613 done # for ac_tag
   20614 
   20615 
   20616 as_fn_exit 0
   20617 _ACEOF
   20618 ac_clean_files=$ac_clean_files_save
   20619 
   20620 test $ac_write_fail = 0 ||
   20621   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20622 
   20623 
   20624 # configure is writing to config.log, and then calls config.status.
   20625 # config.status does its own redirection, appending to config.log.
   20626 # Unfortunately, on DOS this fails, as config.log is still kept open
   20627 # by configure, so config.status won't be able to write to it; its
   20628 # output is simply discarded.  So we exec the FD to /dev/null,
   20629 # effectively closing config.log, so it can be properly (re)opened and
   20630 # appended to by config.status.  When coming back to configure, we
   20631 # need to make the FD available again.
   20632 if test "$no_create" != yes; then
   20633   ac_cs_success=:
   20634   ac_config_status_args=
   20635   test "$silent" = yes &&
   20636     ac_config_status_args="$ac_config_status_args --quiet"
   20637   exec 5>/dev/null
   20638   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20639   exec 5>>config.log
   20640   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20641   # would make configure fail if this is the last instruction.
   20642   $ac_cs_success || as_fn_exit 1
   20643 fi
   20644 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20645   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20646 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20647 fi
   20648 
   20649