Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXvMC 1.0.8.
      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 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || 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='libXvMC'
    573 PACKAGE_TARNAME='libXvMC'
    574 PACKAGE_VERSION='1.0.8'
    575 PACKAGE_STRING='libXvMC 1.0.8'
    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 LINT_FALSE
    621 LINT_TRUE
    622 LINT_FLAGS
    623 LINT
    624 XVMC_LIBS
    625 XVMC_CFLAGS
    626 XTMALLOC_ZERO_CFLAGS
    627 XMALLOC_ZERO_CFLAGS
    628 MALLOC_ZERO_CFLAGS
    629 MAN_SUBSTS
    630 XORG_MAN_PAGE
    631 ADMIN_MAN_DIR
    632 DRIVER_MAN_DIR
    633 MISC_MAN_DIR
    634 FILE_MAN_DIR
    635 LIB_MAN_DIR
    636 APP_MAN_DIR
    637 ADMIN_MAN_SUFFIX
    638 DRIVER_MAN_SUFFIX
    639 MISC_MAN_SUFFIX
    640 FILE_MAN_SUFFIX
    641 LIB_MAN_SUFFIX
    642 APP_MAN_SUFFIX
    643 INSTALL_CMD
    644 PKG_CONFIG
    645 CHANGELOG_CMD
    646 STRICT_CFLAGS
    647 CWARNFLAGS
    648 BASE_CFLAGS
    649 CPP
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 MANIFEST_TOOL
    656 RANLIB
    657 ac_ct_AR
    658 AR
    659 DLLTOOL
    660 OBJDUMP
    661 LN_S
    662 NM
    663 ac_ct_DUMPBIN
    664 DUMPBIN
    665 LD
    666 FGREP
    667 EGREP
    668 GREP
    669 SED
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 OBJEXT
    681 EXEEXT
    682 ac_ct_CC
    683 CPPFLAGS
    684 LDFLAGS
    685 CFLAGS
    686 CC
    687 host_os
    688 host_vendor
    689 host_cpu
    690 host
    691 build_os
    692 build_vendor
    693 build_cpu
    694 build
    695 LIBTOOL
    696 AM_BACKSLASH
    697 AM_DEFAULT_VERBOSITY
    698 AM_DEFAULT_V
    699 AM_V
    700 am__untar
    701 am__tar
    702 AMTAR
    703 am__leading_dot
    704 SET_MAKE
    705 AWK
    706 mkdir_p
    707 MKDIR_P
    708 INSTALL_STRIP_PROGRAM
    709 STRIP
    710 install_sh
    711 MAKEINFO
    712 AUTOHEADER
    713 AUTOMAKE
    714 AUTOCONF
    715 ACLOCAL
    716 VERSION
    717 PACKAGE
    718 CYGPATH_W
    719 am__isrc
    720 INSTALL_DATA
    721 INSTALL_SCRIPT
    722 INSTALL_PROGRAM
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 ECHO_T
    728 ECHO_N
    729 ECHO_C
    730 DEFS
    731 mandir
    732 localedir
    733 libdir
    734 psdir
    735 pdfdir
    736 dvidir
    737 htmldir
    738 infodir
    739 docdir
    740 oldincludedir
    741 includedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 PACKAGE_URL
    754 PACKAGE_BUGREPORT
    755 PACKAGE_STRING
    756 PACKAGE_VERSION
    757 PACKAGE_TARNAME
    758 PACKAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL'
    761 ac_subst_files=''
    762 ac_user_opts='
    763 enable_option_checking
    764 enable_silent_rules
    765 enable_shared
    766 enable_static
    767 with_pic
    768 enable_fast_install
    769 enable_dependency_tracking
    770 with_gnu_ld
    771 with_sysroot
    772 enable_libtool_lock
    773 enable_selective_werror
    774 enable_strict_compilation
    775 enable_malloc0returnsnull
    776 with_lint
    777 '
    778       ac_precious_vars='build_alias
    779 host_alias
    780 target_alias
    781 CC
    782 CFLAGS
    783 LDFLAGS
    784 LIBS
    785 CPPFLAGS
    786 CPP
    787 PKG_CONFIG
    788 XVMC_CFLAGS
    789 XVMC_LIBS
    790 LINT
    791 LINT_FLAGS'
    792 
    793 
    794 # Initialize some variables set by options.
    795 ac_init_help=
    796 ac_init_version=false
    797 ac_unrecognized_opts=
    798 ac_unrecognized_sep=
    799 # The variables have the same names as the options, with
    800 # dashes changed to underlines.
    801 cache_file=/dev/null
    802 exec_prefix=NONE
    803 no_create=
    804 no_recursion=
    805 prefix=NONE
    806 program_prefix=NONE
    807 program_suffix=NONE
    808 program_transform_name=s,x,x,
    809 silent=
    810 site=
    811 srcdir=
    812 verbose=
    813 x_includes=NONE
    814 x_libraries=NONE
    815 
    816 # Installation directory options.
    817 # These are left unexpanded so users can "make install exec_prefix=/foo"
    818 # and all the variables that are supposed to be based on exec_prefix
    819 # by default will actually change.
    820 # Use braces instead of parens because sh, perl, etc. also accept them.
    821 # (The list follows the same order as the GNU Coding Standards.)
    822 bindir='${exec_prefix}/bin'
    823 sbindir='${exec_prefix}/sbin'
    824 libexecdir='${exec_prefix}/libexec'
    825 datarootdir='${prefix}/share'
    826 datadir='${datarootdir}'
    827 sysconfdir='${prefix}/etc'
    828 sharedstatedir='${prefix}/com'
    829 localstatedir='${prefix}/var'
    830 includedir='${prefix}/include'
    831 oldincludedir='/usr/include'
    832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    833 infodir='${datarootdir}/info'
    834 htmldir='${docdir}'
    835 dvidir='${docdir}'
    836 pdfdir='${docdir}'
    837 psdir='${docdir}'
    838 libdir='${exec_prefix}/lib'
    839 localedir='${datarootdir}/locale'
    840 mandir='${datarootdir}/man'
    841 
    842 ac_prev=
    843 ac_dashdash=
    844 for ac_option
    845 do
    846   # If the previous option needs an argument, assign it.
    847   if test -n "$ac_prev"; then
    848     eval $ac_prev=\$ac_option
    849     ac_prev=
    850     continue
    851   fi
    852 
    853   case $ac_option in
    854   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    855   *=)   ac_optarg= ;;
    856   *)    ac_optarg=yes ;;
    857   esac
    858 
    859   # Accept the important Cygnus configure options, so we can diagnose typos.
    860 
    861   case $ac_dashdash$ac_option in
    862   --)
    863     ac_dashdash=yes ;;
    864 
    865   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    866     ac_prev=bindir ;;
    867   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    868     bindir=$ac_optarg ;;
    869 
    870   -build | --build | --buil | --bui | --bu)
    871     ac_prev=build_alias ;;
    872   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    873     build_alias=$ac_optarg ;;
    874 
    875   -cache-file | --cache-file | --cache-fil | --cache-fi \
    876   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    877     ac_prev=cache_file ;;
    878   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    879   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    880     cache_file=$ac_optarg ;;
    881 
    882   --config-cache | -C)
    883     cache_file=config.cache ;;
    884 
    885   -datadir | --datadir | --datadi | --datad)
    886     ac_prev=datadir ;;
    887   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    888     datadir=$ac_optarg ;;
    889 
    890   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    891   | --dataroo | --dataro | --datar)
    892     ac_prev=datarootdir ;;
    893   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    894   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    895     datarootdir=$ac_optarg ;;
    896 
    897   -disable-* | --disable-*)
    898     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    899     # Reject names that are not valid shell variable names.
    900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    901       as_fn_error $? "invalid feature name: $ac_useropt"
    902     ac_useropt_orig=$ac_useropt
    903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    904     case $ac_user_opts in
    905       *"
    906 "enable_$ac_useropt"
    907 "*) ;;
    908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    909 	 ac_unrecognized_sep=', ';;
    910     esac
    911     eval enable_$ac_useropt=no ;;
    912 
    913   -docdir | --docdir | --docdi | --doc | --do)
    914     ac_prev=docdir ;;
    915   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    916     docdir=$ac_optarg ;;
    917 
    918   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    919     ac_prev=dvidir ;;
    920   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    921     dvidir=$ac_optarg ;;
    922 
    923   -enable-* | --enable-*)
    924     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    925     # Reject names that are not valid shell variable names.
    926     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    927       as_fn_error $? "invalid feature name: $ac_useropt"
    928     ac_useropt_orig=$ac_useropt
    929     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    930     case $ac_user_opts in
    931       *"
    932 "enable_$ac_useropt"
    933 "*) ;;
    934       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    935 	 ac_unrecognized_sep=', ';;
    936     esac
    937     eval enable_$ac_useropt=\$ac_optarg ;;
    938 
    939   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    940   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    941   | --exec | --exe | --ex)
    942     ac_prev=exec_prefix ;;
    943   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    944   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    945   | --exec=* | --exe=* | --ex=*)
    946     exec_prefix=$ac_optarg ;;
    947 
    948   -gas | --gas | --ga | --g)
    949     # Obsolete; use --with-gas.
    950     with_gas=yes ;;
    951 
    952   -help | --help | --hel | --he | -h)
    953     ac_init_help=long ;;
    954   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    955     ac_init_help=recursive ;;
    956   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    957     ac_init_help=short ;;
    958 
    959   -host | --host | --hos | --ho)
    960     ac_prev=host_alias ;;
    961   -host=* | --host=* | --hos=* | --ho=*)
    962     host_alias=$ac_optarg ;;
    963 
    964   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    965     ac_prev=htmldir ;;
    966   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    967   | --ht=*)
    968     htmldir=$ac_optarg ;;
    969 
    970   -includedir | --includedir | --includedi | --included | --include \
    971   | --includ | --inclu | --incl | --inc)
    972     ac_prev=includedir ;;
    973   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    974   | --includ=* | --inclu=* | --incl=* | --inc=*)
    975     includedir=$ac_optarg ;;
    976 
    977   -infodir | --infodir | --infodi | --infod | --info | --inf)
    978     ac_prev=infodir ;;
    979   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    980     infodir=$ac_optarg ;;
    981 
    982   -libdir | --libdir | --libdi | --libd)
    983     ac_prev=libdir ;;
    984   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    985     libdir=$ac_optarg ;;
    986 
    987   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    988   | --libexe | --libex | --libe)
    989     ac_prev=libexecdir ;;
    990   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    991   | --libexe=* | --libex=* | --libe=*)
    992     libexecdir=$ac_optarg ;;
    993 
    994   -localedir | --localedir | --localedi | --localed | --locale)
    995     ac_prev=localedir ;;
    996   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    997     localedir=$ac_optarg ;;
    998 
    999   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1000   | --localstate | --localstat | --localsta | --localst | --locals)
   1001     ac_prev=localstatedir ;;
   1002   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1003   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1004     localstatedir=$ac_optarg ;;
   1005 
   1006   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1007     ac_prev=mandir ;;
   1008   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1009     mandir=$ac_optarg ;;
   1010 
   1011   -nfp | --nfp | --nf)
   1012     # Obsolete; use --without-fp.
   1013     with_fp=no ;;
   1014 
   1015   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1016   | --no-cr | --no-c | -n)
   1017     no_create=yes ;;
   1018 
   1019   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1020   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1021     no_recursion=yes ;;
   1022 
   1023   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1024   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1025   | --oldin | --oldi | --old | --ol | --o)
   1026     ac_prev=oldincludedir ;;
   1027   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1028   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1029   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1030     oldincludedir=$ac_optarg ;;
   1031 
   1032   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1033     ac_prev=prefix ;;
   1034   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1035     prefix=$ac_optarg ;;
   1036 
   1037   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1038   | --program-pre | --program-pr | --program-p)
   1039     ac_prev=program_prefix ;;
   1040   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1041   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1042     program_prefix=$ac_optarg ;;
   1043 
   1044   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1045   | --program-suf | --program-su | --program-s)
   1046     ac_prev=program_suffix ;;
   1047   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1048   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1049     program_suffix=$ac_optarg ;;
   1050 
   1051   -program-transform-name | --program-transform-name \
   1052   | --program-transform-nam | --program-transform-na \
   1053   | --program-transform-n | --program-transform- \
   1054   | --program-transform | --program-transfor \
   1055   | --program-transfo | --program-transf \
   1056   | --program-trans | --program-tran \
   1057   | --progr-tra | --program-tr | --program-t)
   1058     ac_prev=program_transform_name ;;
   1059   -program-transform-name=* | --program-transform-name=* \
   1060   | --program-transform-nam=* | --program-transform-na=* \
   1061   | --program-transform-n=* | --program-transform-=* \
   1062   | --program-transform=* | --program-transfor=* \
   1063   | --program-transfo=* | --program-transf=* \
   1064   | --program-trans=* | --program-tran=* \
   1065   | --progr-tra=* | --program-tr=* | --program-t=*)
   1066     program_transform_name=$ac_optarg ;;
   1067 
   1068   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1069     ac_prev=pdfdir ;;
   1070   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1071     pdfdir=$ac_optarg ;;
   1072 
   1073   -psdir | --psdir | --psdi | --psd | --ps)
   1074     ac_prev=psdir ;;
   1075   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1076     psdir=$ac_optarg ;;
   1077 
   1078   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1079   | -silent | --silent | --silen | --sile | --sil)
   1080     silent=yes ;;
   1081 
   1082   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1083     ac_prev=sbindir ;;
   1084   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1085   | --sbi=* | --sb=*)
   1086     sbindir=$ac_optarg ;;
   1087 
   1088   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1089   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1090   | --sharedst | --shareds | --shared | --share | --shar \
   1091   | --sha | --sh)
   1092     ac_prev=sharedstatedir ;;
   1093   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1094   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1095   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1096   | --sha=* | --sh=*)
   1097     sharedstatedir=$ac_optarg ;;
   1098 
   1099   -site | --site | --sit)
   1100     ac_prev=site ;;
   1101   -site=* | --site=* | --sit=*)
   1102     site=$ac_optarg ;;
   1103 
   1104   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1105     ac_prev=srcdir ;;
   1106   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1107     srcdir=$ac_optarg ;;
   1108 
   1109   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1110   | --syscon | --sysco | --sysc | --sys | --sy)
   1111     ac_prev=sysconfdir ;;
   1112   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1113   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1114     sysconfdir=$ac_optarg ;;
   1115 
   1116   -target | --target | --targe | --targ | --tar | --ta | --t)
   1117     ac_prev=target_alias ;;
   1118   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1119     target_alias=$ac_optarg ;;
   1120 
   1121   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1122     verbose=yes ;;
   1123 
   1124   -version | --version | --versio | --versi | --vers | -V)
   1125     ac_init_version=: ;;
   1126 
   1127   -with-* | --with-*)
   1128     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1129     # Reject names that are not valid shell variable names.
   1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1131       as_fn_error $? "invalid package name: $ac_useropt"
   1132     ac_useropt_orig=$ac_useropt
   1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1134     case $ac_user_opts in
   1135       *"
   1136 "with_$ac_useropt"
   1137 "*) ;;
   1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1139 	 ac_unrecognized_sep=', ';;
   1140     esac
   1141     eval with_$ac_useropt=\$ac_optarg ;;
   1142 
   1143   -without-* | --without-*)
   1144     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1145     # Reject names that are not valid shell variable names.
   1146     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1147       as_fn_error $? "invalid package name: $ac_useropt"
   1148     ac_useropt_orig=$ac_useropt
   1149     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1150     case $ac_user_opts in
   1151       *"
   1152 "with_$ac_useropt"
   1153 "*) ;;
   1154       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1155 	 ac_unrecognized_sep=', ';;
   1156     esac
   1157     eval with_$ac_useropt=no ;;
   1158 
   1159   --x)
   1160     # Obsolete; use --with-x.
   1161     with_x=yes ;;
   1162 
   1163   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1164   | --x-incl | --x-inc | --x-in | --x-i)
   1165     ac_prev=x_includes ;;
   1166   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1167   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1168     x_includes=$ac_optarg ;;
   1169 
   1170   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1171   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1172     ac_prev=x_libraries ;;
   1173   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1174   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1175     x_libraries=$ac_optarg ;;
   1176 
   1177   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1178 Try \`$0 --help' for more information"
   1179     ;;
   1180 
   1181   *=*)
   1182     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1183     # Reject names that are not valid shell variable names.
   1184     case $ac_envvar in #(
   1185       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1186       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1187     esac
   1188     eval $ac_envvar=\$ac_optarg
   1189     export $ac_envvar ;;
   1190 
   1191   *)
   1192     # FIXME: should be removed in autoconf 3.0.
   1193     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1194     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1195       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1196     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1197     ;;
   1198 
   1199   esac
   1200 done
   1201 
   1202 if test -n "$ac_prev"; then
   1203   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1204   as_fn_error $? "missing argument to $ac_option"
   1205 fi
   1206 
   1207 if test -n "$ac_unrecognized_opts"; then
   1208   case $enable_option_checking in
   1209     no) ;;
   1210     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1211     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1212   esac
   1213 fi
   1214 
   1215 # Check all directory arguments for consistency.
   1216 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1217 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1218 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1219 		libdir localedir mandir
   1220 do
   1221   eval ac_val=\$$ac_var
   1222   # Remove trailing slashes.
   1223   case $ac_val in
   1224     */ )
   1225       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1226       eval $ac_var=\$ac_val;;
   1227   esac
   1228   # Be sure to have absolute directory names.
   1229   case $ac_val in
   1230     [\\/$]* | ?:[\\/]* )  continue;;
   1231     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1232   esac
   1233   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1234 done
   1235 
   1236 # There might be people who depend on the old broken behavior: `$host'
   1237 # used to hold the argument of --host etc.
   1238 # FIXME: To remove some day.
   1239 build=$build_alias
   1240 host=$host_alias
   1241 target=$target_alias
   1242 
   1243 # FIXME: To remove some day.
   1244 if test "x$host_alias" != x; then
   1245   if test "x$build_alias" = x; then
   1246     cross_compiling=maybe
   1247     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1248     If a cross compiler is detected then cross compile mode will be used" >&2
   1249   elif test "x$build_alias" != "x$host_alias"; then
   1250     cross_compiling=yes
   1251   fi
   1252 fi
   1253 
   1254 ac_tool_prefix=
   1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1256 
   1257 test "$silent" = yes && exec 6>/dev/null
   1258 
   1259 
   1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1261 ac_ls_di=`ls -di .` &&
   1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1263   as_fn_error $? "working directory cannot be determined"
   1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1265   as_fn_error $? "pwd does not report name of working directory"
   1266 
   1267 
   1268 # Find the source files, if location was not specified.
   1269 if test -z "$srcdir"; then
   1270   ac_srcdir_defaulted=yes
   1271   # Try the directory containing this script, then the parent directory.
   1272   ac_confdir=`$as_dirname -- "$as_myself" ||
   1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1274 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1275 	 X"$as_myself" : 'X\(//\)$' \| \
   1276 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1277 $as_echo X"$as_myself" |
   1278     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)[^/].*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\).*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  s/.*/./; q'`
   1295   srcdir=$ac_confdir
   1296   if test ! -r "$srcdir/$ac_unique_file"; then
   1297     srcdir=..
   1298   fi
   1299 else
   1300   ac_srcdir_defaulted=no
   1301 fi
   1302 if test ! -r "$srcdir/$ac_unique_file"; then
   1303   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1304   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1305 fi
   1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1307 ac_abs_confdir=`(
   1308 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1309 	pwd)`
   1310 # When building in place, set srcdir=.
   1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1312   srcdir=.
   1313 fi
   1314 # Remove unnecessary trailing slashes from srcdir.
   1315 # Double slashes in file names in object file debugging info
   1316 # mess up M-x gdb in Emacs.
   1317 case $srcdir in
   1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1319 esac
   1320 for ac_var in $ac_precious_vars; do
   1321   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_env_${ac_var}_value=\$${ac_var}
   1323   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1325 done
   1326 
   1327 #
   1328 # Report the --help message.
   1329 #
   1330 if test "$ac_init_help" = "long"; then
   1331   # Omit some internal or obsolete options to make the list less imposing.
   1332   # This message is too long to be a string in the A/UX 3.1 sh.
   1333   cat <<_ACEOF
   1334 \`configure' configures libXvMC 1.0.8 to adapt to many kinds of systems.
   1335 
   1336 Usage: $0 [OPTION]... [VAR=VALUE]...
   1337 
   1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1339 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1340 
   1341 Defaults for the options are specified in brackets.
   1342 
   1343 Configuration:
   1344   -h, --help              display this help and exit
   1345       --help=short        display options specific to this package
   1346       --help=recursive    display the short help of all the included packages
   1347   -V, --version           display version information and exit
   1348   -q, --quiet, --silent   do not print \`checking ...' messages
   1349       --cache-file=FILE   cache test results in FILE [disabled]
   1350   -C, --config-cache      alias for \`--cache-file=config.cache'
   1351   -n, --no-create         do not create output files
   1352       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1353 
   1354 Installation directories:
   1355   --prefix=PREFIX         install architecture-independent files in PREFIX
   1356                           [$ac_default_prefix]
   1357   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1358                           [PREFIX]
   1359 
   1360 By default, \`make install' will install all the files in
   1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1363 for instance \`--prefix=\$HOME'.
   1364 
   1365 For better control, use the options below.
   1366 
   1367 Fine tuning of the installation directories:
   1368   --bindir=DIR            user executables [EPREFIX/bin]
   1369   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1370   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1371   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1372   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1373   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1374   --libdir=DIR            object code libraries [EPREFIX/lib]
   1375   --includedir=DIR        C header files [PREFIX/include]
   1376   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1377   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1378   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1379   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1380   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1381   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1382   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXvMC]
   1383   --htmldir=DIR           html documentation [DOCDIR]
   1384   --dvidir=DIR            dvi documentation [DOCDIR]
   1385   --pdfdir=DIR            pdf documentation [DOCDIR]
   1386   --psdir=DIR             ps documentation [DOCDIR]
   1387 _ACEOF
   1388 
   1389   cat <<\_ACEOF
   1390 
   1391 Program names:
   1392   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1393   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1394   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1395 
   1396 System types:
   1397   --build=BUILD     configure for building on BUILD [guessed]
   1398   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1399 _ACEOF
   1400 fi
   1401 
   1402 if test -n "$ac_init_help"; then
   1403   case $ac_init_help in
   1404      short | recursive ) echo "Configuration of libXvMC 1.0.8:";;
   1405    esac
   1406   cat <<\_ACEOF
   1407 
   1408 Optional Features:
   1409   --disable-option-checking  ignore unrecognized --enable/--with options
   1410   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1411   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1412   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1413   --disable-silent-rules  verbose build output (undo: "make V=0")
   1414   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1415   --enable-static[=PKGS]  build static libraries [default=yes]
   1416   --enable-fast-install[=PKGS]
   1417                           optimize for fast installation [default=yes]
   1418   --enable-dependency-tracking
   1419                           do not reject slow dependency extractors
   1420   --disable-dependency-tracking
   1421                           speeds up one-time build
   1422   --disable-libtool-lock  avoid locking (might break parallel builds)
   1423   --disable-selective-werror
   1424                           Turn off selective compiler errors. (default:
   1425                           enabled)
   1426   --enable-strict-compilation
   1427                           Enable all warnings from compiler and make them
   1428                           errors (default: disabled)
   1429   --enable-malloc0returnsnull
   1430                           malloc(0) returns NULL (default: auto)
   1431 
   1432 Optional Packages:
   1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1435   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1436                           both]
   1437   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1438   --with-sysroot=DIR Search for dependent libraries within DIR
   1439                         (or the compiler's sysroot if not specified).
   1440   --with-lint             Use a lint-style source code checker (default:
   1441                           disabled)
   1442 
   1443 Some influential environment variables:
   1444   CC          C compiler command
   1445   CFLAGS      C compiler flags
   1446   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1447               nonstandard directory <lib dir>
   1448   LIBS        libraries to pass to the linker, e.g. -l<library>
   1449   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1450               you have headers in a nonstandard directory <include dir>
   1451   CPP         C preprocessor
   1452   PKG_CONFIG  path to pkg-config utility
   1453   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1454   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1455   LINT        Path to a lint-style command
   1456   LINT_FLAGS  Flags for the lint-style command
   1457 
   1458 Use these variables to override the choices made by `configure' or to help
   1459 it to find libraries and programs with nonstandard names/locations.
   1460 
   1461 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1462 _ACEOF
   1463 ac_status=$?
   1464 fi
   1465 
   1466 if test "$ac_init_help" = "recursive"; then
   1467   # If there are subdirs, report their specific --help.
   1468   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1469     test -d "$ac_dir" ||
   1470       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1471       continue
   1472     ac_builddir=.
   1473 
   1474 case "$ac_dir" in
   1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476 *)
   1477   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1478   # A ".." for each directory in $ac_dir_suffix.
   1479   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1480   case $ac_top_builddir_sub in
   1481   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1482   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1483   esac ;;
   1484 esac
   1485 ac_abs_top_builddir=$ac_pwd
   1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1487 # for backward compatibility:
   1488 ac_top_builddir=$ac_top_build_prefix
   1489 
   1490 case $srcdir in
   1491   .)  # We are building in place.
   1492     ac_srcdir=.
   1493     ac_top_srcdir=$ac_top_builddir_sub
   1494     ac_abs_top_srcdir=$ac_pwd ;;
   1495   [\\/]* | ?:[\\/]* )  # Absolute name.
   1496     ac_srcdir=$srcdir$ac_dir_suffix;
   1497     ac_top_srcdir=$srcdir
   1498     ac_abs_top_srcdir=$srcdir ;;
   1499   *) # Relative name.
   1500     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1501     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1502     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1503 esac
   1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1505 
   1506     cd "$ac_dir" || { ac_status=$?; continue; }
   1507     # Check for guested configure.
   1508     if test -f "$ac_srcdir/configure.gnu"; then
   1509       echo &&
   1510       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1511     elif test -f "$ac_srcdir/configure"; then
   1512       echo &&
   1513       $SHELL "$ac_srcdir/configure" --help=recursive
   1514     else
   1515       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1516     fi || ac_status=$?
   1517     cd "$ac_pwd" || { ac_status=$?; break; }
   1518   done
   1519 fi
   1520 
   1521 test -n "$ac_init_help" && exit $ac_status
   1522 if $ac_init_version; then
   1523   cat <<\_ACEOF
   1524 libXvMC configure 1.0.8
   1525 generated by GNU Autoconf 2.68
   1526 
   1527 Copyright (C) 2010 Free Software Foundation, Inc.
   1528 This configure script is free software; the Free Software Foundation
   1529 gives unlimited permission to copy, distribute and modify it.
   1530 _ACEOF
   1531   exit
   1532 fi
   1533 
   1534 ## ------------------------ ##
   1535 ## Autoconf initialization. ##
   1536 ## ------------------------ ##
   1537 
   1538 # ac_fn_c_try_compile LINENO
   1539 # --------------------------
   1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1541 ac_fn_c_try_compile ()
   1542 {
   1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1544   rm -f conftest.$ac_objext
   1545   if { { ac_try="$ac_compile"
   1546 case "(($ac_try" in
   1547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1548   *) ac_try_echo=$ac_try;;
   1549 esac
   1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1551 $as_echo "$ac_try_echo"; } >&5
   1552   (eval "$ac_compile") 2>conftest.err
   1553   ac_status=$?
   1554   if test -s conftest.err; then
   1555     grep -v '^ *+' conftest.err >conftest.er1
   1556     cat conftest.er1 >&5
   1557     mv -f conftest.er1 conftest.err
   1558   fi
   1559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1560   test $ac_status = 0; } && {
   1561 	 test -z "$ac_c_werror_flag" ||
   1562 	 test ! -s conftest.err
   1563        } && test -s conftest.$ac_objext; then :
   1564   ac_retval=0
   1565 else
   1566   $as_echo "$as_me: failed program was:" >&5
   1567 sed 's/^/| /' conftest.$ac_ext >&5
   1568 
   1569 	ac_retval=1
   1570 fi
   1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1572   as_fn_set_status $ac_retval
   1573 
   1574 } # ac_fn_c_try_compile
   1575 
   1576 # ac_fn_c_try_link LINENO
   1577 # -----------------------
   1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1579 ac_fn_c_try_link ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   rm -f conftest.$ac_objext conftest$ac_exeext
   1583   if { { ac_try="$ac_link"
   1584 case "(($ac_try" in
   1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1586   *) ac_try_echo=$ac_try;;
   1587 esac
   1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1589 $as_echo "$ac_try_echo"; } >&5
   1590   (eval "$ac_link") 2>conftest.err
   1591   ac_status=$?
   1592   if test -s conftest.err; then
   1593     grep -v '^ *+' conftest.err >conftest.er1
   1594     cat conftest.er1 >&5
   1595     mv -f conftest.er1 conftest.err
   1596   fi
   1597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1598   test $ac_status = 0; } && {
   1599 	 test -z "$ac_c_werror_flag" ||
   1600 	 test ! -s conftest.err
   1601        } && test -s conftest$ac_exeext && {
   1602 	 test "$cross_compiling" = yes ||
   1603 	 $as_test_x conftest$ac_exeext
   1604        }; then :
   1605   ac_retval=0
   1606 else
   1607   $as_echo "$as_me: failed program was:" >&5
   1608 sed 's/^/| /' conftest.$ac_ext >&5
   1609 
   1610 	ac_retval=1
   1611 fi
   1612   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1613   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1614   # interfere with the next link command; also delete a directory that is
   1615   # left behind by Apple's compiler.  We do this before executing the actions.
   1616   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1618   as_fn_set_status $ac_retval
   1619 
   1620 } # ac_fn_c_try_link
   1621 
   1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1623 # -------------------------------------------------------
   1624 # Tests whether HEADER exists and can be compiled using the include files in
   1625 # INCLUDES, setting the cache variable VAR accordingly.
   1626 ac_fn_c_check_header_compile ()
   1627 {
   1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1630 $as_echo_n "checking for $2... " >&6; }
   1631 if eval \${$3+:} false; then :
   1632   $as_echo_n "(cached) " >&6
   1633 else
   1634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1635 /* end confdefs.h.  */
   1636 $4
   1637 #include <$2>
   1638 _ACEOF
   1639 if ac_fn_c_try_compile "$LINENO"; then :
   1640   eval "$3=yes"
   1641 else
   1642   eval "$3=no"
   1643 fi
   1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1645 fi
   1646 eval ac_res=\$$3
   1647 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1648 $as_echo "$ac_res" >&6; }
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650 
   1651 } # ac_fn_c_check_header_compile
   1652 
   1653 # ac_fn_c_try_cpp LINENO
   1654 # ----------------------
   1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1656 ac_fn_c_try_cpp ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1660 case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1667   ac_status=$?
   1668   if test -s conftest.err; then
   1669     grep -v '^ *+' conftest.err >conftest.er1
   1670     cat conftest.er1 >&5
   1671     mv -f conftest.er1 conftest.err
   1672   fi
   1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1674   test $ac_status = 0; } > conftest.i && {
   1675 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1676 	 test ! -s conftest.err
   1677        }; then :
   1678   ac_retval=0
   1679 else
   1680   $as_echo "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683     ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_cpp
   1689 
   1690 # ac_fn_c_try_run LINENO
   1691 # ----------------------
   1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1693 # that executables *can* be run.
   1694 ac_fn_c_try_run ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   if { { ac_try="$ac_link"
   1698 case "(($ac_try" in
   1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1700   *) ac_try_echo=$ac_try;;
   1701 esac
   1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1703 $as_echo "$ac_try_echo"; } >&5
   1704   (eval "$ac_link") 2>&5
   1705   ac_status=$?
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1708   { { case "(($ac_try" in
   1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1710   *) ac_try_echo=$ac_try;;
   1711 esac
   1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1713 $as_echo "$ac_try_echo"; } >&5
   1714   (eval "$ac_try") 2>&5
   1715   ac_status=$?
   1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1717   test $ac_status = 0; }; }; then :
   1718   ac_retval=0
   1719 else
   1720   $as_echo "$as_me: program exited with status $ac_status" >&5
   1721        $as_echo "$as_me: failed program was:" >&5
   1722 sed 's/^/| /' conftest.$ac_ext >&5
   1723 
   1724        ac_retval=$ac_status
   1725 fi
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_run
   1731 
   1732 # ac_fn_c_check_func LINENO FUNC VAR
   1733 # ----------------------------------
   1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1735 ac_fn_c_check_func ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 $as_echo_n "checking for $2... " >&6; }
   1740 if eval \${$3+:} false; then :
   1741   $as_echo_n "(cached) " >&6
   1742 else
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1747 #define $2 innocuous_$2
   1748 
   1749 /* System header to define __stub macros and hopefully few prototypes,
   1750     which can conflict with char $2 (); below.
   1751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1752     <limits.h> exists even on freestanding compilers.  */
   1753 
   1754 #ifdef __STDC__
   1755 # include <limits.h>
   1756 #else
   1757 # include <assert.h>
   1758 #endif
   1759 
   1760 #undef $2
   1761 
   1762 /* Override any GCC internal prototype to avoid an error.
   1763    Use char because int might match the return type of a GCC
   1764    builtin and then its argument prototype would still apply.  */
   1765 #ifdef __cplusplus
   1766 extern "C"
   1767 #endif
   1768 char $2 ();
   1769 /* The GNU C library defines this for functions which it implements
   1770     to always fail with ENOSYS.  Some functions are actually named
   1771     something starting with __ and the normal name is an alias.  */
   1772 #if defined __stub_$2 || defined __stub___$2
   1773 choke me
   1774 #endif
   1775 
   1776 int
   1777 main ()
   1778 {
   1779 return $2 ();
   1780   ;
   1781   return 0;
   1782 }
   1783 _ACEOF
   1784 if ac_fn_c_try_link "$LINENO"; then :
   1785   eval "$3=yes"
   1786 else
   1787   eval "$3=no"
   1788 fi
   1789 rm -f core conftest.err conftest.$ac_objext \
   1790     conftest$ac_exeext conftest.$ac_ext
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_func
   1798 
   1799 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1800 # ---------------------------------------------
   1801 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1802 # accordingly.
   1803 ac_fn_c_check_decl ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1807   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1809 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1810 if eval \${$3+:} false; then :
   1811   $as_echo_n "(cached) " >&6
   1812 else
   1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1814 /* end confdefs.h.  */
   1815 $4
   1816 int
   1817 main ()
   1818 {
   1819 #ifndef $as_decl_name
   1820 #ifdef __cplusplus
   1821   (void) $as_decl_use;
   1822 #else
   1823   (void) $as_decl_name;
   1824 #endif
   1825 #endif
   1826 
   1827   ;
   1828   return 0;
   1829 }
   1830 _ACEOF
   1831 if ac_fn_c_try_compile "$LINENO"; then :
   1832   eval "$3=yes"
   1833 else
   1834   eval "$3=no"
   1835 fi
   1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1837 fi
   1838 eval ac_res=\$$3
   1839 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1840 $as_echo "$ac_res" >&6; }
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842 
   1843 } # ac_fn_c_check_decl
   1844 cat >config.log <<_ACEOF
   1845 This file contains any messages produced by compilers while
   1846 running configure, to aid debugging if configure makes a mistake.
   1847 
   1848 It was created by libXvMC $as_me 1.0.8, which was
   1849 generated by GNU Autoconf 2.68.  Invocation command line was
   1850 
   1851   $ $0 $@
   1852 
   1853 _ACEOF
   1854 exec 5>>config.log
   1855 {
   1856 cat <<_ASUNAME
   1857 ## --------- ##
   1858 ## Platform. ##
   1859 ## --------- ##
   1860 
   1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1866 
   1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1868 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1869 
   1870 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1871 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1873 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1874 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1875 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1876 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1877 
   1878 _ASUNAME
   1879 
   1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1881 for as_dir in $PATH
   1882 do
   1883   IFS=$as_save_IFS
   1884   test -z "$as_dir" && as_dir=.
   1885     $as_echo "PATH: $as_dir"
   1886   done
   1887 IFS=$as_save_IFS
   1888 
   1889 } >&5
   1890 
   1891 cat >&5 <<_ACEOF
   1892 
   1893 
   1894 ## ----------- ##
   1895 ## Core tests. ##
   1896 ## ----------- ##
   1897 
   1898 _ACEOF
   1899 
   1900 
   1901 # Keep a trace of the command line.
   1902 # Strip out --no-create and --no-recursion so they do not pile up.
   1903 # Strip out --silent because we don't want to record it for future runs.
   1904 # Also quote any args containing shell meta-characters.
   1905 # Make two passes to allow for proper duplicate-argument suppression.
   1906 ac_configure_args=
   1907 ac_configure_args0=
   1908 ac_configure_args1=
   1909 ac_must_keep_next=false
   1910 for ac_pass in 1 2
   1911 do
   1912   for ac_arg
   1913   do
   1914     case $ac_arg in
   1915     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1916     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1917     | -silent | --silent | --silen | --sile | --sil)
   1918       continue ;;
   1919     *\'*)
   1920       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1921     esac
   1922     case $ac_pass in
   1923     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1924     2)
   1925       as_fn_append ac_configure_args1 " '$ac_arg'"
   1926       if test $ac_must_keep_next = true; then
   1927 	ac_must_keep_next=false # Got value, back to normal.
   1928       else
   1929 	case $ac_arg in
   1930 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1931 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1932 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1933 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1934 	    case "$ac_configure_args0 " in
   1935 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1936 	    esac
   1937 	    ;;
   1938 	  -* ) ac_must_keep_next=true ;;
   1939 	esac
   1940       fi
   1941       as_fn_append ac_configure_args " '$ac_arg'"
   1942       ;;
   1943     esac
   1944   done
   1945 done
   1946 { ac_configure_args0=; unset ac_configure_args0;}
   1947 { ac_configure_args1=; unset ac_configure_args1;}
   1948 
   1949 # When interrupted or exit'd, cleanup temporary files, and complete
   1950 # config.log.  We remove comments because anyway the quotes in there
   1951 # would cause problems or look ugly.
   1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1954 trap 'exit_status=$?
   1955   # Save into config.log some information that might help in debugging.
   1956   {
   1957     echo
   1958 
   1959     $as_echo "## ---------------- ##
   1960 ## Cache variables. ##
   1961 ## ---------------- ##"
   1962     echo
   1963     # The following way of writing the cache mishandles newlines in values,
   1964 (
   1965   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1966     eval ac_val=\$$ac_var
   1967     case $ac_val in #(
   1968     *${as_nl}*)
   1969       case $ac_var in #(
   1970       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1972       esac
   1973       case $ac_var in #(
   1974       _ | IFS | as_nl) ;; #(
   1975       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1976       *) { eval $ac_var=; unset $ac_var;} ;;
   1977       esac ;;
   1978     esac
   1979   done
   1980   (set) 2>&1 |
   1981     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1982     *${as_nl}ac_space=\ *)
   1983       sed -n \
   1984 	"s/'\''/'\''\\\\'\'''\''/g;
   1985 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1986       ;; #(
   1987     *)
   1988       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1989       ;;
   1990     esac |
   1991     sort
   1992 )
   1993     echo
   1994 
   1995     $as_echo "## ----------------- ##
   1996 ## Output variables. ##
   1997 ## ----------------- ##"
   1998     echo
   1999     for ac_var in $ac_subst_vars
   2000     do
   2001       eval ac_val=\$$ac_var
   2002       case $ac_val in
   2003       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2004       esac
   2005       $as_echo "$ac_var='\''$ac_val'\''"
   2006     done | sort
   2007     echo
   2008 
   2009     if test -n "$ac_subst_files"; then
   2010       $as_echo "## ------------------- ##
   2011 ## File substitutions. ##
   2012 ## ------------------- ##"
   2013       echo
   2014       for ac_var in $ac_subst_files
   2015       do
   2016 	eval ac_val=\$$ac_var
   2017 	case $ac_val in
   2018 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2019 	esac
   2020 	$as_echo "$ac_var='\''$ac_val'\''"
   2021       done | sort
   2022       echo
   2023     fi
   2024 
   2025     if test -s confdefs.h; then
   2026       $as_echo "## ----------- ##
   2027 ## confdefs.h. ##
   2028 ## ----------- ##"
   2029       echo
   2030       cat confdefs.h
   2031       echo
   2032     fi
   2033     test "$ac_signal" != 0 &&
   2034       $as_echo "$as_me: caught signal $ac_signal"
   2035     $as_echo "$as_me: exit $exit_status"
   2036   } >&5
   2037   rm -f core *.core core.conftest.* &&
   2038     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2039     exit $exit_status
   2040 ' 0
   2041 for ac_signal in 1 2 13 15; do
   2042   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2043 done
   2044 ac_signal=0
   2045 
   2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2047 rm -f -r conftest* confdefs.h
   2048 
   2049 $as_echo "/* confdefs.h */" > confdefs.h
   2050 
   2051 # Predefined preprocessor variables.
   2052 
   2053 cat >>confdefs.h <<_ACEOF
   2054 #define PACKAGE_NAME "$PACKAGE_NAME"
   2055 _ACEOF
   2056 
   2057 cat >>confdefs.h <<_ACEOF
   2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2059 _ACEOF
   2060 
   2061 cat >>confdefs.h <<_ACEOF
   2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2063 _ACEOF
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_STRING "$PACKAGE_STRING"
   2067 _ACEOF
   2068 
   2069 cat >>confdefs.h <<_ACEOF
   2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2071 _ACEOF
   2072 
   2073 cat >>confdefs.h <<_ACEOF
   2074 #define PACKAGE_URL "$PACKAGE_URL"
   2075 _ACEOF
   2076 
   2077 
   2078 # Let the site file select an alternate cache file if it wants to.
   2079 # Prefer an explicitly selected file to automatically selected ones.
   2080 ac_site_file1=NONE
   2081 ac_site_file2=NONE
   2082 if test -n "$CONFIG_SITE"; then
   2083   # We do not want a PATH search for config.site.
   2084   case $CONFIG_SITE in #((
   2085     -*)  ac_site_file1=./$CONFIG_SITE;;
   2086     */*) ac_site_file1=$CONFIG_SITE;;
   2087     *)   ac_site_file1=./$CONFIG_SITE;;
   2088   esac
   2089 elif test "x$prefix" != xNONE; then
   2090   ac_site_file1=$prefix/share/config.site
   2091   ac_site_file2=$prefix/etc/config.site
   2092 else
   2093   ac_site_file1=$ac_default_prefix/share/config.site
   2094   ac_site_file2=$ac_default_prefix/etc/config.site
   2095 fi
   2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2097 do
   2098   test "x$ac_site_file" = xNONE && continue
   2099   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2100     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2102     sed 's/^/| /' "$ac_site_file" >&5
   2103     . "$ac_site_file" \
   2104       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2106 as_fn_error $? "failed to load site script $ac_site_file
   2107 See \`config.log' for more details" "$LINENO" 5; }
   2108   fi
   2109 done
   2110 
   2111 if test -r "$cache_file"; then
   2112   # Some versions of bash will fail to source /dev/null (special files
   2113   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2114   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2115     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2117     case $cache_file in
   2118       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2119       *)                      . "./$cache_file";;
   2120     esac
   2121   fi
   2122 else
   2123   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2125   >$cache_file
   2126 fi
   2127 
   2128 # Check that the precious variables saved in the cache have kept the same
   2129 # value.
   2130 ac_cache_corrupted=false
   2131 for ac_var in $ac_precious_vars; do
   2132   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2133   eval ac_new_set=\$ac_env_${ac_var}_set
   2134   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2135   eval ac_new_val=\$ac_env_${ac_var}_value
   2136   case $ac_old_set,$ac_new_set in
   2137     set,)
   2138       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2140       ac_cache_corrupted=: ;;
   2141     ,set)
   2142       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2144       ac_cache_corrupted=: ;;
   2145     ,);;
   2146     *)
   2147       if test "x$ac_old_val" != "x$ac_new_val"; then
   2148 	# differences in whitespace do not lead to failure.
   2149 	ac_old_val_w=`echo x $ac_old_val`
   2150 	ac_new_val_w=`echo x $ac_new_val`
   2151 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2152 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2154 	  ac_cache_corrupted=:
   2155 	else
   2156 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2158 	  eval $ac_var=\$ac_old_val
   2159 	fi
   2160 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2161 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2162 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2163 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2164       fi;;
   2165   esac
   2166   # Pass precious variables to config.status.
   2167   if test "$ac_new_set" = set; then
   2168     case $ac_new_val in
   2169     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2170     *) ac_arg=$ac_var=$ac_new_val ;;
   2171     esac
   2172     case " $ac_configure_args " in
   2173       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2174       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2175     esac
   2176   fi
   2177 done
   2178 if $ac_cache_corrupted; then
   2179   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2183   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2184 fi
   2185 ## -------------------- ##
   2186 ## Main body of script. ##
   2187 ## -------------------- ##
   2188 
   2189 ac_ext=c
   2190 ac_cpp='$CPP $CPPFLAGS'
   2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2194 
   2195 
   2196 
   2197 ac_config_headers="$ac_config_headers config.h"
   2198 
   2199 
   2200 # Initialize Automake
   2201 am__api_version='1.13'
   2202 
   2203 ac_aux_dir=
   2204 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2205   if test -f "$ac_dir/install-sh"; then
   2206     ac_aux_dir=$ac_dir
   2207     ac_install_sh="$ac_aux_dir/install-sh -c"
   2208     break
   2209   elif test -f "$ac_dir/install.sh"; then
   2210     ac_aux_dir=$ac_dir
   2211     ac_install_sh="$ac_aux_dir/install.sh -c"
   2212     break
   2213   elif test -f "$ac_dir/shtool"; then
   2214     ac_aux_dir=$ac_dir
   2215     ac_install_sh="$ac_aux_dir/shtool install -c"
   2216     break
   2217   fi
   2218 done
   2219 if test -z "$ac_aux_dir"; then
   2220   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2221 fi
   2222 
   2223 # These three variables are undocumented and unsupported,
   2224 # and are intended to be withdrawn in a future Autoconf release.
   2225 # They can cause serious problems if a builder's source tree is in a directory
   2226 # whose full name contains unusual characters.
   2227 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2228 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2229 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2230 
   2231 
   2232 # Find a good install program.  We prefer a C program (faster),
   2233 # so one script is as good as another.  But avoid the broken or
   2234 # incompatible versions:
   2235 # SysV /etc/install, /usr/sbin/install
   2236 # SunOS /usr/etc/install
   2237 # IRIX /sbin/install
   2238 # AIX /bin/install
   2239 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2240 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2241 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2242 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2243 # OS/2's system install, which has a completely different semantic
   2244 # ./install, which can be erroneously created by make from ./install.sh.
   2245 # Reject install programs that cannot install multiple files.
   2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2247 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2248 if test -z "$INSTALL"; then
   2249 if ${ac_cv_path_install+:} false; then :
   2250   $as_echo_n "(cached) " >&6
   2251 else
   2252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2253 for as_dir in $PATH
   2254 do
   2255   IFS=$as_save_IFS
   2256   test -z "$as_dir" && as_dir=.
   2257     # Account for people who put trailing slashes in PATH elements.
   2258 case $as_dir/ in #((
   2259   ./ | .// | /[cC]/* | \
   2260   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2261   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2262   /usr/ucb/* ) ;;
   2263   *)
   2264     # OSF1 and SCO ODT 3.0 have their own names for install.
   2265     # Don't use installbsd from OSF since it installs stuff as root
   2266     # by default.
   2267     for ac_prog in ginstall scoinst install; do
   2268       for ac_exec_ext in '' $ac_executable_extensions; do
   2269 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2270 	  if test $ac_prog = install &&
   2271 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2272 	    # AIX install.  It has an incompatible calling convention.
   2273 	    :
   2274 	  elif test $ac_prog = install &&
   2275 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2276 	    # program-specific install script used by HP pwplus--don't use.
   2277 	    :
   2278 	  else
   2279 	    rm -rf conftest.one conftest.two conftest.dir
   2280 	    echo one > conftest.one
   2281 	    echo two > conftest.two
   2282 	    mkdir conftest.dir
   2283 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2284 	      test -s conftest.one && test -s conftest.two &&
   2285 	      test -s conftest.dir/conftest.one &&
   2286 	      test -s conftest.dir/conftest.two
   2287 	    then
   2288 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2289 	      break 3
   2290 	    fi
   2291 	  fi
   2292 	fi
   2293       done
   2294     done
   2295     ;;
   2296 esac
   2297 
   2298   done
   2299 IFS=$as_save_IFS
   2300 
   2301 rm -rf conftest.one conftest.two conftest.dir
   2302 
   2303 fi
   2304   if test "${ac_cv_path_install+set}" = set; then
   2305     INSTALL=$ac_cv_path_install
   2306   else
   2307     # As a last resort, use the slow shell script.  Don't cache a
   2308     # value for INSTALL within a source directory, because that will
   2309     # break other packages using the cache if that directory is
   2310     # removed, or if the value is a relative name.
   2311     INSTALL=$ac_install_sh
   2312   fi
   2313 fi
   2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2315 $as_echo "$INSTALL" >&6; }
   2316 
   2317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2318 # It thinks the first close brace ends the variable substitution.
   2319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2320 
   2321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2322 
   2323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2324 
   2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2326 $as_echo_n "checking whether build environment is sane... " >&6; }
   2327 # Reject unsafe characters in $srcdir or the absolute working directory
   2328 # name.  Accept space and tab only in the latter.
   2329 am_lf='
   2330 '
   2331 case `pwd` in
   2332   *[\\\"\#\$\&\'\`$am_lf]*)
   2333     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2334 esac
   2335 case $srcdir in
   2336   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2337     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2338 esac
   2339 
   2340 # Do 'set' in a subshell so we don't clobber the current shell's
   2341 # arguments.  Must try -L first in case configure is actually a
   2342 # symlink; some systems play weird games with the mod time of symlinks
   2343 # (eg FreeBSD returns the mod time of the symlink's containing
   2344 # directory).
   2345 if (
   2346    am_has_slept=no
   2347    for am_try in 1 2; do
   2348      echo "timestamp, slept: $am_has_slept" > conftest.file
   2349      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2350      if test "$*" = "X"; then
   2351 	# -L didn't work.
   2352 	set X `ls -t "$srcdir/configure" conftest.file`
   2353      fi
   2354      if test "$*" != "X $srcdir/configure conftest.file" \
   2355 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2356 
   2357 	# If neither matched, then we have a broken ls.  This can happen
   2358 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2359 	# broken ls alias from the environment.  This has actually
   2360 	# happened.  Such a system could not be considered "sane".
   2361 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2362   alias in your environment" "$LINENO" 5
   2363      fi
   2364      if test "$2" = conftest.file || test $am_try -eq 2; then
   2365        break
   2366      fi
   2367      # Just in case.
   2368      sleep 1
   2369      am_has_slept=yes
   2370    done
   2371    test "$2" = conftest.file
   2372    )
   2373 then
   2374    # Ok.
   2375    :
   2376 else
   2377    as_fn_error $? "newly created file is older than distributed files!
   2378 Check your system clock" "$LINENO" 5
   2379 fi
   2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2381 $as_echo "yes" >&6; }
   2382 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2383 # generated files are strictly newer.
   2384 am_sleep_pid=
   2385 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2386   ( sleep 1 ) &
   2387   am_sleep_pid=$!
   2388 fi
   2389 
   2390 rm -f conftest.file
   2391 
   2392 test "$program_prefix" != NONE &&
   2393   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2394 # Use a double $ so make ignores it.
   2395 test "$program_suffix" != NONE &&
   2396   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2397 # Double any \ or $.
   2398 # By default was `s,x,x', remove it if useless.
   2399 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2400 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2401 
   2402 # expand $ac_aux_dir to an absolute path
   2403 am_aux_dir=`cd $ac_aux_dir && pwd`
   2404 
   2405 if test x"${MISSING+set}" != xset; then
   2406   case $am_aux_dir in
   2407   *\ * | *\	*)
   2408     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2409   *)
   2410     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2411   esac
   2412 fi
   2413 # Use eval to expand $SHELL
   2414 if eval "$MISSING --is-lightweight"; then
   2415   am_missing_run="$MISSING "
   2416 else
   2417   am_missing_run=
   2418   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2419 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2420 fi
   2421 
   2422 if test x"${install_sh}" != xset; then
   2423   case $am_aux_dir in
   2424   *\ * | *\	*)
   2425     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2426   *)
   2427     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2428   esac
   2429 fi
   2430 
   2431 # Installed binaries are usually stripped using 'strip' when the user
   2432 # run "make install-strip".  However 'strip' might not be the right
   2433 # tool to use in cross-compilation environments, therefore Automake
   2434 # will honor the 'STRIP' environment variable to overrule this program.
   2435 if test "$cross_compiling" != no; then
   2436   if test -n "$ac_tool_prefix"; then
   2437   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2438 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2440 $as_echo_n "checking for $ac_word... " >&6; }
   2441 if ${ac_cv_prog_STRIP+:} false; then :
   2442   $as_echo_n "(cached) " >&6
   2443 else
   2444   if test -n "$STRIP"; then
   2445   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2446 else
   2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2448 for as_dir in $PATH
   2449 do
   2450   IFS=$as_save_IFS
   2451   test -z "$as_dir" && as_dir=.
   2452     for ac_exec_ext in '' $ac_executable_extensions; do
   2453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2454     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2456     break 2
   2457   fi
   2458 done
   2459   done
   2460 IFS=$as_save_IFS
   2461 
   2462 fi
   2463 fi
   2464 STRIP=$ac_cv_prog_STRIP
   2465 if test -n "$STRIP"; then
   2466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2467 $as_echo "$STRIP" >&6; }
   2468 else
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2470 $as_echo "no" >&6; }
   2471 fi
   2472 
   2473 
   2474 fi
   2475 if test -z "$ac_cv_prog_STRIP"; then
   2476   ac_ct_STRIP=$STRIP
   2477   # Extract the first word of "strip", so it can be a program name with args.
   2478 set dummy strip; ac_word=$2
   2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2480 $as_echo_n "checking for $ac_word... " >&6; }
   2481 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2482   $as_echo_n "(cached) " >&6
   2483 else
   2484   if test -n "$ac_ct_STRIP"; then
   2485   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2486 else
   2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2488 for as_dir in $PATH
   2489 do
   2490   IFS=$as_save_IFS
   2491   test -z "$as_dir" && as_dir=.
   2492     for ac_exec_ext in '' $ac_executable_extensions; do
   2493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2494     ac_cv_prog_ac_ct_STRIP="strip"
   2495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2496     break 2
   2497   fi
   2498 done
   2499   done
   2500 IFS=$as_save_IFS
   2501 
   2502 fi
   2503 fi
   2504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2505 if test -n "$ac_ct_STRIP"; then
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2507 $as_echo "$ac_ct_STRIP" >&6; }
   2508 else
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2510 $as_echo "no" >&6; }
   2511 fi
   2512 
   2513   if test "x$ac_ct_STRIP" = x; then
   2514     STRIP=":"
   2515   else
   2516     case $cross_compiling:$ac_tool_warned in
   2517 yes:)
   2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2520 ac_tool_warned=yes ;;
   2521 esac
   2522     STRIP=$ac_ct_STRIP
   2523   fi
   2524 else
   2525   STRIP="$ac_cv_prog_STRIP"
   2526 fi
   2527 
   2528 fi
   2529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2530 
   2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2532 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2533 if test -z "$MKDIR_P"; then
   2534   if ${ac_cv_path_mkdir+:} false; then :
   2535   $as_echo_n "(cached) " >&6
   2536 else
   2537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2538 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2539 do
   2540   IFS=$as_save_IFS
   2541   test -z "$as_dir" && as_dir=.
   2542     for ac_prog in mkdir gmkdir; do
   2543 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2544 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2545 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2546 	     'mkdir (GNU coreutils) '* | \
   2547 	     'mkdir (coreutils) '* | \
   2548 	     'mkdir (fileutils) '4.1*)
   2549 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2550 	       break 3;;
   2551 	   esac
   2552 	 done
   2553        done
   2554   done
   2555 IFS=$as_save_IFS
   2556 
   2557 fi
   2558 
   2559   test -d ./--version && rmdir ./--version
   2560   if test "${ac_cv_path_mkdir+set}" = set; then
   2561     MKDIR_P="$ac_cv_path_mkdir -p"
   2562   else
   2563     # As a last resort, use the slow shell script.  Don't cache a
   2564     # value for MKDIR_P within a source directory, because that will
   2565     # break other packages using the cache if that directory is
   2566     # removed, or if the value is a relative name.
   2567     MKDIR_P="$ac_install_sh -d"
   2568   fi
   2569 fi
   2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2571 $as_echo "$MKDIR_P" >&6; }
   2572 
   2573 for ac_prog in gawk mawk nawk awk
   2574 do
   2575   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2576 set dummy $ac_prog; ac_word=$2
   2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2578 $as_echo_n "checking for $ac_word... " >&6; }
   2579 if ${ac_cv_prog_AWK+:} false; then :
   2580   $as_echo_n "(cached) " >&6
   2581 else
   2582   if test -n "$AWK"; then
   2583   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2584 else
   2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2586 for as_dir in $PATH
   2587 do
   2588   IFS=$as_save_IFS
   2589   test -z "$as_dir" && as_dir=.
   2590     for ac_exec_ext in '' $ac_executable_extensions; do
   2591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2592     ac_cv_prog_AWK="$ac_prog"
   2593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2594     break 2
   2595   fi
   2596 done
   2597   done
   2598 IFS=$as_save_IFS
   2599 
   2600 fi
   2601 fi
   2602 AWK=$ac_cv_prog_AWK
   2603 if test -n "$AWK"; then
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2605 $as_echo "$AWK" >&6; }
   2606 else
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2608 $as_echo "no" >&6; }
   2609 fi
   2610 
   2611 
   2612   test -n "$AWK" && break
   2613 done
   2614 
   2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2616 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2617 set x ${MAKE-make}
   2618 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2619 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2620   $as_echo_n "(cached) " >&6
   2621 else
   2622   cat >conftest.make <<\_ACEOF
   2623 SHELL = /bin/sh
   2624 all:
   2625 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2626 _ACEOF
   2627 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2628 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2629   *@@@%%%=?*=@@@%%%*)
   2630     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2631   *)
   2632     eval ac_cv_prog_make_${ac_make}_set=no;;
   2633 esac
   2634 rm -f conftest.make
   2635 fi
   2636 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2638 $as_echo "yes" >&6; }
   2639   SET_MAKE=
   2640 else
   2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2642 $as_echo "no" >&6; }
   2643   SET_MAKE="MAKE=${MAKE-make}"
   2644 fi
   2645 
   2646 rm -rf .tst 2>/dev/null
   2647 mkdir .tst 2>/dev/null
   2648 if test -d .tst; then
   2649   am__leading_dot=.
   2650 else
   2651   am__leading_dot=_
   2652 fi
   2653 rmdir .tst 2>/dev/null
   2654 
   2655 # Check whether --enable-silent-rules was given.
   2656 if test "${enable_silent_rules+set}" = set; then :
   2657   enableval=$enable_silent_rules;
   2658 fi
   2659 
   2660 case $enable_silent_rules in # (((
   2661   yes) AM_DEFAULT_VERBOSITY=0;;
   2662    no) AM_DEFAULT_VERBOSITY=1;;
   2663     *) AM_DEFAULT_VERBOSITY=1;;
   2664 esac
   2665 am_make=${MAKE-make}
   2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2667 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2668 if ${am_cv_make_support_nested_variables+:} false; then :
   2669   $as_echo_n "(cached) " >&6
   2670 else
   2671   if $as_echo 'TRUE=$(BAR$(V))
   2672 BAR0=false
   2673 BAR1=true
   2674 V=1
   2675 am__doit:
   2676 	@$(TRUE)
   2677 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2678   am_cv_make_support_nested_variables=yes
   2679 else
   2680   am_cv_make_support_nested_variables=no
   2681 fi
   2682 fi
   2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2684 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2685 if test $am_cv_make_support_nested_variables = yes; then
   2686     AM_V='$(V)'
   2687   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2688 else
   2689   AM_V=$AM_DEFAULT_VERBOSITY
   2690   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2691 fi
   2692 AM_BACKSLASH='\'
   2693 
   2694 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2695   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2696   # is not polluted with repeated "-I."
   2697   am__isrc=' -I$(srcdir)'
   2698   # test to see if srcdir already configured
   2699   if test -f $srcdir/config.status; then
   2700     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2701   fi
   2702 fi
   2703 
   2704 # test whether we have cygpath
   2705 if test -z "$CYGPATH_W"; then
   2706   if (cygpath --version) >/dev/null 2>/dev/null; then
   2707     CYGPATH_W='cygpath -w'
   2708   else
   2709     CYGPATH_W=echo
   2710   fi
   2711 fi
   2712 
   2713 
   2714 # Define the identity of the package.
   2715  PACKAGE='libXvMC'
   2716  VERSION='1.0.8'
   2717 
   2718 
   2719 cat >>confdefs.h <<_ACEOF
   2720 #define PACKAGE "$PACKAGE"
   2721 _ACEOF
   2722 
   2723 
   2724 cat >>confdefs.h <<_ACEOF
   2725 #define VERSION "$VERSION"
   2726 _ACEOF
   2727 
   2728 # Some tools Automake needs.
   2729 
   2730 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2731 
   2732 
   2733 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2734 
   2735 
   2736 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2737 
   2738 
   2739 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2740 
   2741 
   2742 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2743 
   2744 # For better backward compatibility.  To be removed once Automake 1.9.x
   2745 # dies out for good.  For more background, see:
   2746 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2748 mkdir_p='$(MKDIR_P)'
   2749 
   2750 # We need awk for the "check" target.  The system "awk" is bad on
   2751 # some platforms.
   2752 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2753 # in the wild :-(  We should find a proper way to deprecate it ...
   2754 AMTAR='$${TAR-tar}'
   2755 
   2756 
   2757 # We'll loop over all known methods to create a tar archive until one works.
   2758 _am_tools='gnutar  pax cpio none'
   2759 
   2760 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2761 
   2762 
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 # Initialize libtool
   2769 case `pwd` in
   2770   *\ * | *\	*)
   2771     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2772 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2773 esac
   2774 
   2775 
   2776 
   2777 macro_version='2.4.2'
   2778 macro_revision='1.3337'
   2779 
   2780 
   2781 
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 ltmain="$ac_aux_dir/ltmain.sh"
   2793 
   2794 # Make sure we can run config.sub.
   2795 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2796   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2797 
   2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2799 $as_echo_n "checking build system type... " >&6; }
   2800 if ${ac_cv_build+:} false; then :
   2801   $as_echo_n "(cached) " >&6
   2802 else
   2803   ac_build_alias=$build_alias
   2804 test "x$ac_build_alias" = x &&
   2805   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2806 test "x$ac_build_alias" = x &&
   2807   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2808 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2809   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2810 
   2811 fi
   2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2813 $as_echo "$ac_cv_build" >&6; }
   2814 case $ac_cv_build in
   2815 *-*-*) ;;
   2816 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2817 esac
   2818 build=$ac_cv_build
   2819 ac_save_IFS=$IFS; IFS='-'
   2820 set x $ac_cv_build
   2821 shift
   2822 build_cpu=$1
   2823 build_vendor=$2
   2824 shift; shift
   2825 # Remember, the first character of IFS is used to create $*,
   2826 # except with old shells:
   2827 build_os=$*
   2828 IFS=$ac_save_IFS
   2829 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2830 
   2831 
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2833 $as_echo_n "checking host system type... " >&6; }
   2834 if ${ac_cv_host+:} false; then :
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   if test "x$host_alias" = x; then
   2838   ac_cv_host=$ac_cv_build
   2839 else
   2840   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2841     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2842 fi
   2843 
   2844 fi
   2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2846 $as_echo "$ac_cv_host" >&6; }
   2847 case $ac_cv_host in
   2848 *-*-*) ;;
   2849 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2850 esac
   2851 host=$ac_cv_host
   2852 ac_save_IFS=$IFS; IFS='-'
   2853 set x $ac_cv_host
   2854 shift
   2855 host_cpu=$1
   2856 host_vendor=$2
   2857 shift; shift
   2858 # Remember, the first character of IFS is used to create $*,
   2859 # except with old shells:
   2860 host_os=$*
   2861 IFS=$ac_save_IFS
   2862 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2863 
   2864 
   2865 # Backslashify metacharacters that are still active within
   2866 # double-quoted strings.
   2867 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2868 
   2869 # Same as above, but do not quote variable references.
   2870 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2871 
   2872 # Sed substitution to delay expansion of an escaped shell variable in a
   2873 # double_quote_subst'ed string.
   2874 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2875 
   2876 # Sed substitution to delay expansion of an escaped single quote.
   2877 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2878 
   2879 # Sed substitution to avoid accidental globbing in evaled expressions
   2880 no_glob_subst='s/\*/\\\*/g'
   2881 
   2882 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2883 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2884 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2885 
   2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2887 $as_echo_n "checking how to print strings... " >&6; }
   2888 # Test print first, because it will be a builtin if present.
   2889 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2890    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2891   ECHO='print -r --'
   2892 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2893   ECHO='printf %s\n'
   2894 else
   2895   # Use this function as a fallback that always works.
   2896   func_fallback_echo ()
   2897   {
   2898     eval 'cat <<_LTECHO_EOF
   2899 $1
   2900 _LTECHO_EOF'
   2901   }
   2902   ECHO='func_fallback_echo'
   2903 fi
   2904 
   2905 # func_echo_all arg...
   2906 # Invoke $ECHO with all args, space-separated.
   2907 func_echo_all ()
   2908 {
   2909     $ECHO ""
   2910 }
   2911 
   2912 case "$ECHO" in
   2913   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2914 $as_echo "printf" >&6; } ;;
   2915   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2916 $as_echo "print -r" >&6; } ;;
   2917   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2918 $as_echo "cat" >&6; } ;;
   2919 esac
   2920 
   2921 
   2922 
   2923 
   2924 
   2925 
   2926 
   2927 
   2928 
   2929 
   2930 
   2931 
   2932 
   2933 
   2934 DEPDIR="${am__leading_dot}deps"
   2935 
   2936 ac_config_commands="$ac_config_commands depfiles"
   2937 
   2938 
   2939 am_make=${MAKE-make}
   2940 cat > confinc << 'END'
   2941 am__doit:
   2942 	@echo this is the am__doit target
   2943 .PHONY: am__doit
   2944 END
   2945 # If we don't find an include directive, just comment out the code.
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2947 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2948 am__include="#"
   2949 am__quote=
   2950 _am_result=none
   2951 # First try GNU make style include.
   2952 echo "include confinc" > confmf
   2953 # Ignore all kinds of additional output from 'make'.
   2954 case `$am_make -s -f confmf 2> /dev/null` in #(
   2955 *the\ am__doit\ target*)
   2956   am__include=include
   2957   am__quote=
   2958   _am_result=GNU
   2959   ;;
   2960 esac
   2961 # Now try BSD make style include.
   2962 if test "$am__include" = "#"; then
   2963    echo '.include "confinc"' > confmf
   2964    case `$am_make -s -f confmf 2> /dev/null` in #(
   2965    *the\ am__doit\ target*)
   2966      am__include=.include
   2967      am__quote="\""
   2968      _am_result=BSD
   2969      ;;
   2970    esac
   2971 fi
   2972 
   2973 
   2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2975 $as_echo "$_am_result" >&6; }
   2976 rm -f confinc confmf
   2977 
   2978 # Check whether --enable-dependency-tracking was given.
   2979 if test "${enable_dependency_tracking+set}" = set; then :
   2980   enableval=$enable_dependency_tracking;
   2981 fi
   2982 
   2983 if test "x$enable_dependency_tracking" != xno; then
   2984   am_depcomp="$ac_aux_dir/depcomp"
   2985   AMDEPBACKSLASH='\'
   2986   am__nodep='_no'
   2987 fi
   2988  if test "x$enable_dependency_tracking" != xno; then
   2989   AMDEP_TRUE=
   2990   AMDEP_FALSE='#'
   2991 else
   2992   AMDEP_TRUE='#'
   2993   AMDEP_FALSE=
   2994 fi
   2995 
   2996 
   2997 ac_ext=c
   2998 ac_cpp='$CPP $CPPFLAGS'
   2999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3002 if test -n "$ac_tool_prefix"; then
   3003   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3004 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3006 $as_echo_n "checking for $ac_word... " >&6; }
   3007 if ${ac_cv_prog_CC+:} false; then :
   3008   $as_echo_n "(cached) " >&6
   3009 else
   3010   if test -n "$CC"; then
   3011   ac_cv_prog_CC="$CC" # Let the user override the test.
   3012 else
   3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3014 for as_dir in $PATH
   3015 do
   3016   IFS=$as_save_IFS
   3017   test -z "$as_dir" && as_dir=.
   3018     for ac_exec_ext in '' $ac_executable_extensions; do
   3019   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3020     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3022     break 2
   3023   fi
   3024 done
   3025   done
   3026 IFS=$as_save_IFS
   3027 
   3028 fi
   3029 fi
   3030 CC=$ac_cv_prog_CC
   3031 if test -n "$CC"; then
   3032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3033 $as_echo "$CC" >&6; }
   3034 else
   3035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3036 $as_echo "no" >&6; }
   3037 fi
   3038 
   3039 
   3040 fi
   3041 if test -z "$ac_cv_prog_CC"; then
   3042   ac_ct_CC=$CC
   3043   # Extract the first word of "gcc", so it can be a program name with args.
   3044 set dummy gcc; ac_word=$2
   3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3046 $as_echo_n "checking for $ac_word... " >&6; }
   3047 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3048   $as_echo_n "(cached) " >&6
   3049 else
   3050   if test -n "$ac_ct_CC"; then
   3051   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3052 else
   3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3054 for as_dir in $PATH
   3055 do
   3056   IFS=$as_save_IFS
   3057   test -z "$as_dir" && as_dir=.
   3058     for ac_exec_ext in '' $ac_executable_extensions; do
   3059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3060     ac_cv_prog_ac_ct_CC="gcc"
   3061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3062     break 2
   3063   fi
   3064 done
   3065   done
   3066 IFS=$as_save_IFS
   3067 
   3068 fi
   3069 fi
   3070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3071 if test -n "$ac_ct_CC"; then
   3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3073 $as_echo "$ac_ct_CC" >&6; }
   3074 else
   3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3076 $as_echo "no" >&6; }
   3077 fi
   3078 
   3079   if test "x$ac_ct_CC" = x; then
   3080     CC=""
   3081   else
   3082     case $cross_compiling:$ac_tool_warned in
   3083 yes:)
   3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3086 ac_tool_warned=yes ;;
   3087 esac
   3088     CC=$ac_ct_CC
   3089   fi
   3090 else
   3091   CC="$ac_cv_prog_CC"
   3092 fi
   3093 
   3094 if test -z "$CC"; then
   3095           if test -n "$ac_tool_prefix"; then
   3096     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3097 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3099 $as_echo_n "checking for $ac_word... " >&6; }
   3100 if ${ac_cv_prog_CC+:} false; then :
   3101   $as_echo_n "(cached) " >&6
   3102 else
   3103   if test -n "$CC"; then
   3104   ac_cv_prog_CC="$CC" # Let the user override the test.
   3105 else
   3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3107 for as_dir in $PATH
   3108 do
   3109   IFS=$as_save_IFS
   3110   test -z "$as_dir" && as_dir=.
   3111     for ac_exec_ext in '' $ac_executable_extensions; do
   3112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3113     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3115     break 2
   3116   fi
   3117 done
   3118   done
   3119 IFS=$as_save_IFS
   3120 
   3121 fi
   3122 fi
   3123 CC=$ac_cv_prog_CC
   3124 if test -n "$CC"; then
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3126 $as_echo "$CC" >&6; }
   3127 else
   3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3129 $as_echo "no" >&6; }
   3130 fi
   3131 
   3132 
   3133   fi
   3134 fi
   3135 if test -z "$CC"; then
   3136   # Extract the first word of "cc", so it can be a program name with args.
   3137 set dummy cc; ac_word=$2
   3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3139 $as_echo_n "checking for $ac_word... " >&6; }
   3140 if ${ac_cv_prog_CC+:} false; then :
   3141   $as_echo_n "(cached) " >&6
   3142 else
   3143   if test -n "$CC"; then
   3144   ac_cv_prog_CC="$CC" # Let the user override the test.
   3145 else
   3146   ac_prog_rejected=no
   3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3148 for as_dir in $PATH
   3149 do
   3150   IFS=$as_save_IFS
   3151   test -z "$as_dir" && as_dir=.
   3152     for ac_exec_ext in '' $ac_executable_extensions; do
   3153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3154     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3155        ac_prog_rejected=yes
   3156        continue
   3157      fi
   3158     ac_cv_prog_CC="cc"
   3159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3160     break 2
   3161   fi
   3162 done
   3163   done
   3164 IFS=$as_save_IFS
   3165 
   3166 if test $ac_prog_rejected = yes; then
   3167   # We found a bogon in the path, so make sure we never use it.
   3168   set dummy $ac_cv_prog_CC
   3169   shift
   3170   if test $# != 0; then
   3171     # We chose a different compiler from the bogus one.
   3172     # However, it has the same basename, so the bogon will be chosen
   3173     # first if we set CC to just the basename; use the full file name.
   3174     shift
   3175     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3176   fi
   3177 fi
   3178 fi
   3179 fi
   3180 CC=$ac_cv_prog_CC
   3181 if test -n "$CC"; then
   3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3183 $as_echo "$CC" >&6; }
   3184 else
   3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3186 $as_echo "no" >&6; }
   3187 fi
   3188 
   3189 
   3190 fi
   3191 if test -z "$CC"; then
   3192   if test -n "$ac_tool_prefix"; then
   3193   for ac_prog in cl.exe
   3194   do
   3195     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3198 $as_echo_n "checking for $ac_word... " >&6; }
   3199 if ${ac_cv_prog_CC+:} false; then :
   3200   $as_echo_n "(cached) " >&6
   3201 else
   3202   if test -n "$CC"; then
   3203   ac_cv_prog_CC="$CC" # Let the user override the test.
   3204 else
   3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3206 for as_dir in $PATH
   3207 do
   3208   IFS=$as_save_IFS
   3209   test -z "$as_dir" && as_dir=.
   3210     for ac_exec_ext in '' $ac_executable_extensions; do
   3211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3212     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3214     break 2
   3215   fi
   3216 done
   3217   done
   3218 IFS=$as_save_IFS
   3219 
   3220 fi
   3221 fi
   3222 CC=$ac_cv_prog_CC
   3223 if test -n "$CC"; then
   3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3225 $as_echo "$CC" >&6; }
   3226 else
   3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3228 $as_echo "no" >&6; }
   3229 fi
   3230 
   3231 
   3232     test -n "$CC" && break
   3233   done
   3234 fi
   3235 if test -z "$CC"; then
   3236   ac_ct_CC=$CC
   3237   for ac_prog in cl.exe
   3238 do
   3239   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3240 set dummy $ac_prog; ac_word=$2
   3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3242 $as_echo_n "checking for $ac_word... " >&6; }
   3243 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3244   $as_echo_n "(cached) " >&6
   3245 else
   3246   if test -n "$ac_ct_CC"; then
   3247   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3248 else
   3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3250 for as_dir in $PATH
   3251 do
   3252   IFS=$as_save_IFS
   3253   test -z "$as_dir" && as_dir=.
   3254     for ac_exec_ext in '' $ac_executable_extensions; do
   3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3256     ac_cv_prog_ac_ct_CC="$ac_prog"
   3257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3258     break 2
   3259   fi
   3260 done
   3261   done
   3262 IFS=$as_save_IFS
   3263 
   3264 fi
   3265 fi
   3266 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3267 if test -n "$ac_ct_CC"; then
   3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3269 $as_echo "$ac_ct_CC" >&6; }
   3270 else
   3271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3272 $as_echo "no" >&6; }
   3273 fi
   3274 
   3275 
   3276   test -n "$ac_ct_CC" && break
   3277 done
   3278 
   3279   if test "x$ac_ct_CC" = x; then
   3280     CC=""
   3281   else
   3282     case $cross_compiling:$ac_tool_warned in
   3283 yes:)
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3286 ac_tool_warned=yes ;;
   3287 esac
   3288     CC=$ac_ct_CC
   3289   fi
   3290 fi
   3291 
   3292 fi
   3293 
   3294 
   3295 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3297 as_fn_error $? "no acceptable C compiler found in \$PATH
   3298 See \`config.log' for more details" "$LINENO" 5; }
   3299 
   3300 # Provide some information about the compiler.
   3301 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3302 set X $ac_compile
   3303 ac_compiler=$2
   3304 for ac_option in --version -v -V -qversion; do
   3305   { { ac_try="$ac_compiler $ac_option >&5"
   3306 case "(($ac_try" in
   3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3308   *) ac_try_echo=$ac_try;;
   3309 esac
   3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3311 $as_echo "$ac_try_echo"; } >&5
   3312   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3313   ac_status=$?
   3314   if test -s conftest.err; then
   3315     sed '10a\
   3316 ... rest of stderr output deleted ...
   3317          10q' conftest.err >conftest.er1
   3318     cat conftest.er1 >&5
   3319   fi
   3320   rm -f conftest.er1 conftest.err
   3321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3322   test $ac_status = 0; }
   3323 done
   3324 
   3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 
   3332   ;
   3333   return 0;
   3334 }
   3335 _ACEOF
   3336 ac_clean_files_save=$ac_clean_files
   3337 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3338 # Try to create an executable without -o first, disregard a.out.
   3339 # It will help us diagnose broken compilers, and finding out an intuition
   3340 # of exeext.
   3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3342 $as_echo_n "checking whether the C compiler works... " >&6; }
   3343 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3344 
   3345 # The possible output files:
   3346 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3347 
   3348 ac_rmfiles=
   3349 for ac_file in $ac_files
   3350 do
   3351   case $ac_file in
   3352     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3353     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3354   esac
   3355 done
   3356 rm -f $ac_rmfiles
   3357 
   3358 if { { ac_try="$ac_link_default"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo"; } >&5
   3365   (eval "$ac_link_default") 2>&5
   3366   ac_status=$?
   3367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3368   test $ac_status = 0; }; then :
   3369   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3370 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3371 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3372 # so that the user can short-circuit this test for compilers unknown to
   3373 # Autoconf.
   3374 for ac_file in $ac_files ''
   3375 do
   3376   test -f "$ac_file" || continue
   3377   case $ac_file in
   3378     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3379 	;;
   3380     [ab].out )
   3381 	# We found the default executable, but exeext='' is most
   3382 	# certainly right.
   3383 	break;;
   3384     *.* )
   3385 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3386 	then :; else
   3387 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3388 	fi
   3389 	# We set ac_cv_exeext here because the later test for it is not
   3390 	# safe: cross compilers may not add the suffix if given an `-o'
   3391 	# argument, so we may need to know it at that point already.
   3392 	# Even if this section looks crufty: it has the advantage of
   3393 	# actually working.
   3394 	break;;
   3395     * )
   3396 	break;;
   3397   esac
   3398 done
   3399 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3400 
   3401 else
   3402   ac_file=''
   3403 fi
   3404 if test -z "$ac_file"; then :
   3405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3406 $as_echo "no" >&6; }
   3407 $as_echo "$as_me: failed program was:" >&5
   3408 sed 's/^/| /' conftest.$ac_ext >&5
   3409 
   3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3412 as_fn_error 77 "C compiler cannot create executables
   3413 See \`config.log' for more details" "$LINENO" 5; }
   3414 else
   3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3416 $as_echo "yes" >&6; }
   3417 fi
   3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3419 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3421 $as_echo "$ac_file" >&6; }
   3422 ac_exeext=$ac_cv_exeext
   3423 
   3424 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3425 ac_clean_files=$ac_clean_files_save
   3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3427 $as_echo_n "checking for suffix of executables... " >&6; }
   3428 if { { ac_try="$ac_link"
   3429 case "(($ac_try" in
   3430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3431   *) ac_try_echo=$ac_try;;
   3432 esac
   3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3434 $as_echo "$ac_try_echo"; } >&5
   3435   (eval "$ac_link") 2>&5
   3436   ac_status=$?
   3437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3438   test $ac_status = 0; }; then :
   3439   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3440 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3441 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3442 # `rm'.
   3443 for ac_file in conftest.exe conftest conftest.*; do
   3444   test -f "$ac_file" || continue
   3445   case $ac_file in
   3446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3447     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3448 	  break;;
   3449     * ) break;;
   3450   esac
   3451 done
   3452 else
   3453   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3455 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3456 See \`config.log' for more details" "$LINENO" 5; }
   3457 fi
   3458 rm -f conftest conftest$ac_cv_exeext
   3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3460 $as_echo "$ac_cv_exeext" >&6; }
   3461 
   3462 rm -f conftest.$ac_ext
   3463 EXEEXT=$ac_cv_exeext
   3464 ac_exeext=$EXEEXT
   3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3466 /* end confdefs.h.  */
   3467 #include <stdio.h>
   3468 int
   3469 main ()
   3470 {
   3471 FILE *f = fopen ("conftest.out", "w");
   3472  return ferror (f) || fclose (f) != 0;
   3473 
   3474   ;
   3475   return 0;
   3476 }
   3477 _ACEOF
   3478 ac_clean_files="$ac_clean_files conftest.out"
   3479 # Check that the compiler produces executables we can run.  If not, either
   3480 # the compiler is broken, or we cross compile.
   3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3482 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3483 if test "$cross_compiling" != yes; then
   3484   { { ac_try="$ac_link"
   3485 case "(($ac_try" in
   3486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3487   *) ac_try_echo=$ac_try;;
   3488 esac
   3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3490 $as_echo "$ac_try_echo"; } >&5
   3491   (eval "$ac_link") 2>&5
   3492   ac_status=$?
   3493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3494   test $ac_status = 0; }
   3495   if { ac_try='./conftest$ac_cv_exeext'
   3496   { { case "(($ac_try" in
   3497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3498   *) ac_try_echo=$ac_try;;
   3499 esac
   3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3501 $as_echo "$ac_try_echo"; } >&5
   3502   (eval "$ac_try") 2>&5
   3503   ac_status=$?
   3504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3505   test $ac_status = 0; }; }; then
   3506     cross_compiling=no
   3507   else
   3508     if test "$cross_compiling" = maybe; then
   3509 	cross_compiling=yes
   3510     else
   3511 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3513 as_fn_error $? "cannot run C compiled programs.
   3514 If you meant to cross compile, use \`--host'.
   3515 See \`config.log' for more details" "$LINENO" 5; }
   3516     fi
   3517   fi
   3518 fi
   3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3520 $as_echo "$cross_compiling" >&6; }
   3521 
   3522 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3523 ac_clean_files=$ac_clean_files_save
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3525 $as_echo_n "checking for suffix of object files... " >&6; }
   3526 if ${ac_cv_objext+:} false; then :
   3527   $as_echo_n "(cached) " >&6
   3528 else
   3529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3530 /* end confdefs.h.  */
   3531 
   3532 int
   3533 main ()
   3534 {
   3535 
   3536   ;
   3537   return 0;
   3538 }
   3539 _ACEOF
   3540 rm -f conftest.o conftest.obj
   3541 if { { ac_try="$ac_compile"
   3542 case "(($ac_try" in
   3543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3544   *) ac_try_echo=$ac_try;;
   3545 esac
   3546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3547 $as_echo "$ac_try_echo"; } >&5
   3548   (eval "$ac_compile") 2>&5
   3549   ac_status=$?
   3550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3551   test $ac_status = 0; }; then :
   3552   for ac_file in conftest.o conftest.obj conftest.*; do
   3553   test -f "$ac_file" || continue;
   3554   case $ac_file in
   3555     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3556     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3557        break;;
   3558   esac
   3559 done
   3560 else
   3561   $as_echo "$as_me: failed program was:" >&5
   3562 sed 's/^/| /' conftest.$ac_ext >&5
   3563 
   3564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3566 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3567 See \`config.log' for more details" "$LINENO" 5; }
   3568 fi
   3569 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3570 fi
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3572 $as_echo "$ac_cv_objext" >&6; }
   3573 OBJEXT=$ac_cv_objext
   3574 ac_objext=$OBJEXT
   3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3576 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3577 if ${ac_cv_c_compiler_gnu+:} false; then :
   3578   $as_echo_n "(cached) " >&6
   3579 else
   3580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3581 /* end confdefs.h.  */
   3582 
   3583 int
   3584 main ()
   3585 {
   3586 #ifndef __GNUC__
   3587        choke me
   3588 #endif
   3589 
   3590   ;
   3591   return 0;
   3592 }
   3593 _ACEOF
   3594 if ac_fn_c_try_compile "$LINENO"; then :
   3595   ac_compiler_gnu=yes
   3596 else
   3597   ac_compiler_gnu=no
   3598 fi
   3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3600 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3601 
   3602 fi
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3604 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3605 if test $ac_compiler_gnu = yes; then
   3606   GCC=yes
   3607 else
   3608   GCC=
   3609 fi
   3610 ac_test_CFLAGS=${CFLAGS+set}
   3611 ac_save_CFLAGS=$CFLAGS
   3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3613 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3614 if ${ac_cv_prog_cc_g+:} false; then :
   3615   $as_echo_n "(cached) " >&6
   3616 else
   3617   ac_save_c_werror_flag=$ac_c_werror_flag
   3618    ac_c_werror_flag=yes
   3619    ac_cv_prog_cc_g=no
   3620    CFLAGS="-g"
   3621    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3622 /* end confdefs.h.  */
   3623 
   3624 int
   3625 main ()
   3626 {
   3627 
   3628   ;
   3629   return 0;
   3630 }
   3631 _ACEOF
   3632 if ac_fn_c_try_compile "$LINENO"; then :
   3633   ac_cv_prog_cc_g=yes
   3634 else
   3635   CFLAGS=""
   3636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3637 /* end confdefs.h.  */
   3638 
   3639 int
   3640 main ()
   3641 {
   3642 
   3643   ;
   3644   return 0;
   3645 }
   3646 _ACEOF
   3647 if ac_fn_c_try_compile "$LINENO"; then :
   3648 
   3649 else
   3650   ac_c_werror_flag=$ac_save_c_werror_flag
   3651 	 CFLAGS="-g"
   3652 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3653 /* end confdefs.h.  */
   3654 
   3655 int
   3656 main ()
   3657 {
   3658 
   3659   ;
   3660   return 0;
   3661 }
   3662 _ACEOF
   3663 if ac_fn_c_try_compile "$LINENO"; then :
   3664   ac_cv_prog_cc_g=yes
   3665 fi
   3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3667 fi
   3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3669 fi
   3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3671    ac_c_werror_flag=$ac_save_c_werror_flag
   3672 fi
   3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3674 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3675 if test "$ac_test_CFLAGS" = set; then
   3676   CFLAGS=$ac_save_CFLAGS
   3677 elif test $ac_cv_prog_cc_g = yes; then
   3678   if test "$GCC" = yes; then
   3679     CFLAGS="-g -O2"
   3680   else
   3681     CFLAGS="-g"
   3682   fi
   3683 else
   3684   if test "$GCC" = yes; then
   3685     CFLAGS="-O2"
   3686   else
   3687     CFLAGS=
   3688   fi
   3689 fi
   3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3691 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3692 if ${ac_cv_prog_cc_c89+:} false; then :
   3693   $as_echo_n "(cached) " >&6
   3694 else
   3695   ac_cv_prog_cc_c89=no
   3696 ac_save_CC=$CC
   3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3698 /* end confdefs.h.  */
   3699 #include <stdarg.h>
   3700 #include <stdio.h>
   3701 #include <sys/types.h>
   3702 #include <sys/stat.h>
   3703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3704 struct buf { int x; };
   3705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3706 static char *e (p, i)
   3707      char **p;
   3708      int i;
   3709 {
   3710   return p[i];
   3711 }
   3712 static char *f (char * (*g) (char **, int), char **p, ...)
   3713 {
   3714   char *s;
   3715   va_list v;
   3716   va_start (v,p);
   3717   s = g (p, va_arg (v,int));
   3718   va_end (v);
   3719   return s;
   3720 }
   3721 
   3722 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3723    function prototypes and stuff, but not '\xHH' hex character constants.
   3724    These don't provoke an error unfortunately, instead are silently treated
   3725    as 'x'.  The following induces an error, until -std is added to get
   3726    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3727    array size at least.  It's necessary to write '\x00'==0 to get something
   3728    that's true only with -std.  */
   3729 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3730 
   3731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3732    inside strings and character constants.  */
   3733 #define FOO(x) 'x'
   3734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3735 
   3736 int test (int i, double x);
   3737 struct s1 {int (*f) (int a);};
   3738 struct s2 {int (*f) (double a);};
   3739 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3740 int argc;
   3741 char **argv;
   3742 int
   3743 main ()
   3744 {
   3745 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3746   ;
   3747   return 0;
   3748 }
   3749 _ACEOF
   3750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3751 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3752 do
   3753   CC="$ac_save_CC $ac_arg"
   3754   if ac_fn_c_try_compile "$LINENO"; then :
   3755   ac_cv_prog_cc_c89=$ac_arg
   3756 fi
   3757 rm -f core conftest.err conftest.$ac_objext
   3758   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3759 done
   3760 rm -f conftest.$ac_ext
   3761 CC=$ac_save_CC
   3762 
   3763 fi
   3764 # AC_CACHE_VAL
   3765 case "x$ac_cv_prog_cc_c89" in
   3766   x)
   3767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3768 $as_echo "none needed" >&6; } ;;
   3769   xno)
   3770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3771 $as_echo "unsupported" >&6; } ;;
   3772   *)
   3773     CC="$CC $ac_cv_prog_cc_c89"
   3774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3775 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3776 esac
   3777 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3778 
   3779 fi
   3780 
   3781 ac_ext=c
   3782 ac_cpp='$CPP $CPPFLAGS'
   3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3786 
   3787 depcc="$CC"   am_compiler_list=
   3788 
   3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3790 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3791 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3792   $as_echo_n "(cached) " >&6
   3793 else
   3794   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3795   # We make a subdir and do the tests there.  Otherwise we can end up
   3796   # making bogus files that we don't know about and never remove.  For
   3797   # instance it was reported that on HP-UX the gcc test will end up
   3798   # making a dummy file named 'D' -- because '-MD' means "put the output
   3799   # in D".
   3800   rm -rf conftest.dir
   3801   mkdir conftest.dir
   3802   # Copy depcomp to subdir because otherwise we won't find it if we're
   3803   # using a relative directory.
   3804   cp "$am_depcomp" conftest.dir
   3805   cd conftest.dir
   3806   # We will build objects and dependencies in a subdirectory because
   3807   # it helps to detect inapplicable dependency modes.  For instance
   3808   # both Tru64's cc and ICC support -MD to output dependencies as a
   3809   # side effect of compilation, but ICC will put the dependencies in
   3810   # the current directory while Tru64 will put them in the object
   3811   # directory.
   3812   mkdir sub
   3813 
   3814   am_cv_CC_dependencies_compiler_type=none
   3815   if test "$am_compiler_list" = ""; then
   3816      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3817   fi
   3818   am__universal=false
   3819   case " $depcc " in #(
   3820      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3821      esac
   3822 
   3823   for depmode in $am_compiler_list; do
   3824     # Setup a source with many dependencies, because some compilers
   3825     # like to wrap large dependency lists on column 80 (with \), and
   3826     # we should not choose a depcomp mode which is confused by this.
   3827     #
   3828     # We need to recreate these files for each test, as the compiler may
   3829     # overwrite some of them when testing with obscure command lines.
   3830     # This happens at least with the AIX C compiler.
   3831     : > sub/conftest.c
   3832     for i in 1 2 3 4 5 6; do
   3833       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3834       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3835       # Solaris 10 /bin/sh.
   3836       echo '/* dummy */' > sub/conftst$i.h
   3837     done
   3838     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3839 
   3840     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3841     # mode.  It turns out that the SunPro C++ compiler does not properly
   3842     # handle '-M -o', and we need to detect this.  Also, some Intel
   3843     # versions had trouble with output in subdirs.
   3844     am__obj=sub/conftest.${OBJEXT-o}
   3845     am__minus_obj="-o $am__obj"
   3846     case $depmode in
   3847     gcc)
   3848       # This depmode causes a compiler race in universal mode.
   3849       test "$am__universal" = false || continue
   3850       ;;
   3851     nosideeffect)
   3852       # After this tag, mechanisms are not by side-effect, so they'll
   3853       # only be used when explicitly requested.
   3854       if test "x$enable_dependency_tracking" = xyes; then
   3855 	continue
   3856       else
   3857 	break
   3858       fi
   3859       ;;
   3860     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3861       # This compiler won't grok '-c -o', but also, the minuso test has
   3862       # not run yet.  These depmodes are late enough in the game, and
   3863       # so weak that their functioning should not be impacted.
   3864       am__obj=conftest.${OBJEXT-o}
   3865       am__minus_obj=
   3866       ;;
   3867     none) break ;;
   3868     esac
   3869     if depmode=$depmode \
   3870        source=sub/conftest.c object=$am__obj \
   3871        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3872        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3873          >/dev/null 2>conftest.err &&
   3874        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3875        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3876        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3877        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3878       # icc doesn't choke on unknown options, it will just issue warnings
   3879       # or remarks (even with -Werror).  So we grep stderr for any message
   3880       # that says an option was ignored or not supported.
   3881       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3882       #   icc: Command line warning: ignoring option '-M'; no argument required
   3883       # The diagnosis changed in icc 8.0:
   3884       #   icc: Command line remark: option '-MP' not supported
   3885       if (grep 'ignoring option' conftest.err ||
   3886           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3887         am_cv_CC_dependencies_compiler_type=$depmode
   3888         break
   3889       fi
   3890     fi
   3891   done
   3892 
   3893   cd ..
   3894   rm -rf conftest.dir
   3895 else
   3896   am_cv_CC_dependencies_compiler_type=none
   3897 fi
   3898 
   3899 fi
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3901 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3902 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3903 
   3904  if
   3905   test "x$enable_dependency_tracking" != xno \
   3906   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3907   am__fastdepCC_TRUE=
   3908   am__fastdepCC_FALSE='#'
   3909 else
   3910   am__fastdepCC_TRUE='#'
   3911   am__fastdepCC_FALSE=
   3912 fi
   3913 
   3914 
   3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3916 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3917 if ${ac_cv_path_SED+:} false; then :
   3918   $as_echo_n "(cached) " >&6
   3919 else
   3920             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3921      for ac_i in 1 2 3 4 5 6 7; do
   3922        ac_script="$ac_script$as_nl$ac_script"
   3923      done
   3924      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3925      { ac_script=; unset ac_script;}
   3926      if test -z "$SED"; then
   3927   ac_path_SED_found=false
   3928   # Loop through the user's path and test for each of PROGNAME-LIST
   3929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3930 for as_dir in $PATH
   3931 do
   3932   IFS=$as_save_IFS
   3933   test -z "$as_dir" && as_dir=.
   3934     for ac_prog in sed gsed; do
   3935     for ac_exec_ext in '' $ac_executable_extensions; do
   3936       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3937       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3938 # Check for GNU ac_path_SED and select it if it is found.
   3939   # Check for GNU $ac_path_SED
   3940 case `"$ac_path_SED" --version 2>&1` in
   3941 *GNU*)
   3942   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3943 *)
   3944   ac_count=0
   3945   $as_echo_n 0123456789 >"conftest.in"
   3946   while :
   3947   do
   3948     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3949     mv "conftest.tmp" "conftest.in"
   3950     cp "conftest.in" "conftest.nl"
   3951     $as_echo '' >> "conftest.nl"
   3952     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3953     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3954     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3955     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3956       # Best one so far, save it but keep looking for a better one
   3957       ac_cv_path_SED="$ac_path_SED"
   3958       ac_path_SED_max=$ac_count
   3959     fi
   3960     # 10*(2^10) chars as input seems more than enough
   3961     test $ac_count -gt 10 && break
   3962   done
   3963   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3964 esac
   3965 
   3966       $ac_path_SED_found && break 3
   3967     done
   3968   done
   3969   done
   3970 IFS=$as_save_IFS
   3971   if test -z "$ac_cv_path_SED"; then
   3972     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3973   fi
   3974 else
   3975   ac_cv_path_SED=$SED
   3976 fi
   3977 
   3978 fi
   3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3980 $as_echo "$ac_cv_path_SED" >&6; }
   3981  SED="$ac_cv_path_SED"
   3982   rm -f conftest.sed
   3983 
   3984 test -z "$SED" && SED=sed
   3985 Xsed="$SED -e 1s/^X//"
   3986 
   3987 
   3988 
   3989 
   3990 
   3991 
   3992 
   3993 
   3994 
   3995 
   3996 
   3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3998 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3999 if ${ac_cv_path_GREP+:} false; then :
   4000   $as_echo_n "(cached) " >&6
   4001 else
   4002   if test -z "$GREP"; then
   4003   ac_path_GREP_found=false
   4004   # Loop through the user's path and test for each of PROGNAME-LIST
   4005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4006 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4007 do
   4008   IFS=$as_save_IFS
   4009   test -z "$as_dir" && as_dir=.
   4010     for ac_prog in grep ggrep; do
   4011     for ac_exec_ext in '' $ac_executable_extensions; do
   4012       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4013       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4014 # Check for GNU ac_path_GREP and select it if it is found.
   4015   # Check for GNU $ac_path_GREP
   4016 case `"$ac_path_GREP" --version 2>&1` in
   4017 *GNU*)
   4018   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4019 *)
   4020   ac_count=0
   4021   $as_echo_n 0123456789 >"conftest.in"
   4022   while :
   4023   do
   4024     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4025     mv "conftest.tmp" "conftest.in"
   4026     cp "conftest.in" "conftest.nl"
   4027     $as_echo 'GREP' >> "conftest.nl"
   4028     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4029     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4030     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4031     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4032       # Best one so far, save it but keep looking for a better one
   4033       ac_cv_path_GREP="$ac_path_GREP"
   4034       ac_path_GREP_max=$ac_count
   4035     fi
   4036     # 10*(2^10) chars as input seems more than enough
   4037     test $ac_count -gt 10 && break
   4038   done
   4039   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4040 esac
   4041 
   4042       $ac_path_GREP_found && break 3
   4043     done
   4044   done
   4045   done
   4046 IFS=$as_save_IFS
   4047   if test -z "$ac_cv_path_GREP"; then
   4048     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4049   fi
   4050 else
   4051   ac_cv_path_GREP=$GREP
   4052 fi
   4053 
   4054 fi
   4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4056 $as_echo "$ac_cv_path_GREP" >&6; }
   4057  GREP="$ac_cv_path_GREP"
   4058 
   4059 
   4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4061 $as_echo_n "checking for egrep... " >&6; }
   4062 if ${ac_cv_path_EGREP+:} false; then :
   4063   $as_echo_n "(cached) " >&6
   4064 else
   4065   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4066    then ac_cv_path_EGREP="$GREP -E"
   4067    else
   4068      if test -z "$EGREP"; then
   4069   ac_path_EGREP_found=false
   4070   # Loop through the user's path and test for each of PROGNAME-LIST
   4071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4073 do
   4074   IFS=$as_save_IFS
   4075   test -z "$as_dir" && as_dir=.
   4076     for ac_prog in egrep; do
   4077     for ac_exec_ext in '' $ac_executable_extensions; do
   4078       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4079       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4080 # Check for GNU ac_path_EGREP and select it if it is found.
   4081   # Check for GNU $ac_path_EGREP
   4082 case `"$ac_path_EGREP" --version 2>&1` in
   4083 *GNU*)
   4084   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4085 *)
   4086   ac_count=0
   4087   $as_echo_n 0123456789 >"conftest.in"
   4088   while :
   4089   do
   4090     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4091     mv "conftest.tmp" "conftest.in"
   4092     cp "conftest.in" "conftest.nl"
   4093     $as_echo 'EGREP' >> "conftest.nl"
   4094     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4095     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4096     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4097     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4098       # Best one so far, save it but keep looking for a better one
   4099       ac_cv_path_EGREP="$ac_path_EGREP"
   4100       ac_path_EGREP_max=$ac_count
   4101     fi
   4102     # 10*(2^10) chars as input seems more than enough
   4103     test $ac_count -gt 10 && break
   4104   done
   4105   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4106 esac
   4107 
   4108       $ac_path_EGREP_found && break 3
   4109     done
   4110   done
   4111   done
   4112 IFS=$as_save_IFS
   4113   if test -z "$ac_cv_path_EGREP"; then
   4114     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4115   fi
   4116 else
   4117   ac_cv_path_EGREP=$EGREP
   4118 fi
   4119 
   4120    fi
   4121 fi
   4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4123 $as_echo "$ac_cv_path_EGREP" >&6; }
   4124  EGREP="$ac_cv_path_EGREP"
   4125 
   4126 
   4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4128 $as_echo_n "checking for fgrep... " >&6; }
   4129 if ${ac_cv_path_FGREP+:} false; then :
   4130   $as_echo_n "(cached) " >&6
   4131 else
   4132   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4133    then ac_cv_path_FGREP="$GREP -F"
   4134    else
   4135      if test -z "$FGREP"; then
   4136   ac_path_FGREP_found=false
   4137   # Loop through the user's path and test for each of PROGNAME-LIST
   4138   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4140 do
   4141   IFS=$as_save_IFS
   4142   test -z "$as_dir" && as_dir=.
   4143     for ac_prog in fgrep; do
   4144     for ac_exec_ext in '' $ac_executable_extensions; do
   4145       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4146       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4147 # Check for GNU ac_path_FGREP and select it if it is found.
   4148   # Check for GNU $ac_path_FGREP
   4149 case `"$ac_path_FGREP" --version 2>&1` in
   4150 *GNU*)
   4151   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4152 *)
   4153   ac_count=0
   4154   $as_echo_n 0123456789 >"conftest.in"
   4155   while :
   4156   do
   4157     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4158     mv "conftest.tmp" "conftest.in"
   4159     cp "conftest.in" "conftest.nl"
   4160     $as_echo 'FGREP' >> "conftest.nl"
   4161     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4162     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4163     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4164     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4165       # Best one so far, save it but keep looking for a better one
   4166       ac_cv_path_FGREP="$ac_path_FGREP"
   4167       ac_path_FGREP_max=$ac_count
   4168     fi
   4169     # 10*(2^10) chars as input seems more than enough
   4170     test $ac_count -gt 10 && break
   4171   done
   4172   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4173 esac
   4174 
   4175       $ac_path_FGREP_found && break 3
   4176     done
   4177   done
   4178   done
   4179 IFS=$as_save_IFS
   4180   if test -z "$ac_cv_path_FGREP"; then
   4181     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4182   fi
   4183 else
   4184   ac_cv_path_FGREP=$FGREP
   4185 fi
   4186 
   4187    fi
   4188 fi
   4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4190 $as_echo "$ac_cv_path_FGREP" >&6; }
   4191  FGREP="$ac_cv_path_FGREP"
   4192 
   4193 
   4194 test -z "$GREP" && GREP=grep
   4195 
   4196 
   4197 
   4198 
   4199 
   4200 
   4201 
   4202 
   4203 
   4204 
   4205 
   4206 
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 
   4213 
   4214 # Check whether --with-gnu-ld was given.
   4215 if test "${with_gnu_ld+set}" = set; then :
   4216   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4217 else
   4218   with_gnu_ld=no
   4219 fi
   4220 
   4221 ac_prog=ld
   4222 if test "$GCC" = yes; then
   4223   # Check if gcc -print-prog-name=ld gives a path.
   4224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4225 $as_echo_n "checking for ld used by $CC... " >&6; }
   4226   case $host in
   4227   *-*-mingw*)
   4228     # gcc leaves a trailing carriage return which upsets mingw
   4229     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4230   *)
   4231     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4232   esac
   4233   case $ac_prog in
   4234     # Accept absolute paths.
   4235     [\\/]* | ?:[\\/]*)
   4236       re_direlt='/[^/][^/]*/\.\./'
   4237       # Canonicalize the pathname of ld
   4238       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4239       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4240 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4241       done
   4242       test -z "$LD" && LD="$ac_prog"
   4243       ;;
   4244   "")
   4245     # If it fails, then pretend we aren't using GCC.
   4246     ac_prog=ld
   4247     ;;
   4248   *)
   4249     # If it is relative, then search for the first ld in PATH.
   4250     with_gnu_ld=unknown
   4251     ;;
   4252   esac
   4253 elif test "$with_gnu_ld" = yes; then
   4254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4255 $as_echo_n "checking for GNU ld... " >&6; }
   4256 else
   4257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4258 $as_echo_n "checking for non-GNU ld... " >&6; }
   4259 fi
   4260 if ${lt_cv_path_LD+:} false; then :
   4261   $as_echo_n "(cached) " >&6
   4262 else
   4263   if test -z "$LD"; then
   4264   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4265   for ac_dir in $PATH; do
   4266     IFS="$lt_save_ifs"
   4267     test -z "$ac_dir" && ac_dir=.
   4268     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4269       lt_cv_path_LD="$ac_dir/$ac_prog"
   4270       # Check to see if the program is GNU ld.  I'd rather use --version,
   4271       # but apparently some variants of GNU ld only accept -v.
   4272       # Break only if it was the GNU/non-GNU ld that we prefer.
   4273       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4274       *GNU* | *'with BFD'*)
   4275 	test "$with_gnu_ld" != no && break
   4276 	;;
   4277       *)
   4278 	test "$with_gnu_ld" != yes && break
   4279 	;;
   4280       esac
   4281     fi
   4282   done
   4283   IFS="$lt_save_ifs"
   4284 else
   4285   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4286 fi
   4287 fi
   4288 
   4289 LD="$lt_cv_path_LD"
   4290 if test -n "$LD"; then
   4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4292 $as_echo "$LD" >&6; }
   4293 else
   4294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4295 $as_echo "no" >&6; }
   4296 fi
   4297 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4300 if ${lt_cv_prog_gnu_ld+:} false; then :
   4301   $as_echo_n "(cached) " >&6
   4302 else
   4303   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4304 case `$LD -v 2>&1 </dev/null` in
   4305 *GNU* | *'with BFD'*)
   4306   lt_cv_prog_gnu_ld=yes
   4307   ;;
   4308 *)
   4309   lt_cv_prog_gnu_ld=no
   4310   ;;
   4311 esac
   4312 fi
   4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4314 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4315 with_gnu_ld=$lt_cv_prog_gnu_ld
   4316 
   4317 
   4318 
   4319 
   4320 
   4321 
   4322 
   4323 
   4324 
   4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4326 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4327 if ${lt_cv_path_NM+:} false; then :
   4328   $as_echo_n "(cached) " >&6
   4329 else
   4330   if test -n "$NM"; then
   4331   # Let the user override the test.
   4332   lt_cv_path_NM="$NM"
   4333 else
   4334   lt_nm_to_check="${ac_tool_prefix}nm"
   4335   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4336     lt_nm_to_check="$lt_nm_to_check nm"
   4337   fi
   4338   for lt_tmp_nm in $lt_nm_to_check; do
   4339     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4340     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4341       IFS="$lt_save_ifs"
   4342       test -z "$ac_dir" && ac_dir=.
   4343       tmp_nm="$ac_dir/$lt_tmp_nm"
   4344       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4345 	# Check to see if the nm accepts a BSD-compat flag.
   4346 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4347 	#   nm: unknown option "B" ignored
   4348 	# Tru64's nm complains that /dev/null is an invalid object file
   4349 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4350 	*/dev/null* | *'Invalid file or object type'*)
   4351 	  lt_cv_path_NM="$tmp_nm -B"
   4352 	  break
   4353 	  ;;
   4354 	*)
   4355 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4356 	  */dev/null*)
   4357 	    lt_cv_path_NM="$tmp_nm -p"
   4358 	    break
   4359 	    ;;
   4360 	  *)
   4361 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4362 	    continue # so that we can try to find one that supports BSD flags
   4363 	    ;;
   4364 	  esac
   4365 	  ;;
   4366 	esac
   4367       fi
   4368     done
   4369     IFS="$lt_save_ifs"
   4370   done
   4371   : ${lt_cv_path_NM=no}
   4372 fi
   4373 fi
   4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4375 $as_echo "$lt_cv_path_NM" >&6; }
   4376 if test "$lt_cv_path_NM" != "no"; then
   4377   NM="$lt_cv_path_NM"
   4378 else
   4379   # Didn't find any BSD compatible name lister, look for dumpbin.
   4380   if test -n "$DUMPBIN"; then :
   4381     # Let the user override the test.
   4382   else
   4383     if test -n "$ac_tool_prefix"; then
   4384   for ac_prog in dumpbin "link -dump"
   4385   do
   4386     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4389 $as_echo_n "checking for $ac_word... " >&6; }
   4390 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4391   $as_echo_n "(cached) " >&6
   4392 else
   4393   if test -n "$DUMPBIN"; then
   4394   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4395 else
   4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4397 for as_dir in $PATH
   4398 do
   4399   IFS=$as_save_IFS
   4400   test -z "$as_dir" && as_dir=.
   4401     for ac_exec_ext in '' $ac_executable_extensions; do
   4402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4403     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4405     break 2
   4406   fi
   4407 done
   4408   done
   4409 IFS=$as_save_IFS
   4410 
   4411 fi
   4412 fi
   4413 DUMPBIN=$ac_cv_prog_DUMPBIN
   4414 if test -n "$DUMPBIN"; then
   4415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4416 $as_echo "$DUMPBIN" >&6; }
   4417 else
   4418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4419 $as_echo "no" >&6; }
   4420 fi
   4421 
   4422 
   4423     test -n "$DUMPBIN" && break
   4424   done
   4425 fi
   4426 if test -z "$DUMPBIN"; then
   4427   ac_ct_DUMPBIN=$DUMPBIN
   4428   for ac_prog in dumpbin "link -dump"
   4429 do
   4430   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4431 set dummy $ac_prog; ac_word=$2
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4433 $as_echo_n "checking for $ac_word... " >&6; }
   4434 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4435   $as_echo_n "(cached) " >&6
   4436 else
   4437   if test -n "$ac_ct_DUMPBIN"; then
   4438   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4439 else
   4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4441 for as_dir in $PATH
   4442 do
   4443   IFS=$as_save_IFS
   4444   test -z "$as_dir" && as_dir=.
   4445     for ac_exec_ext in '' $ac_executable_extensions; do
   4446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4447     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4449     break 2
   4450   fi
   4451 done
   4452   done
   4453 IFS=$as_save_IFS
   4454 
   4455 fi
   4456 fi
   4457 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4458 if test -n "$ac_ct_DUMPBIN"; then
   4459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4460 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4461 else
   4462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4463 $as_echo "no" >&6; }
   4464 fi
   4465 
   4466 
   4467   test -n "$ac_ct_DUMPBIN" && break
   4468 done
   4469 
   4470   if test "x$ac_ct_DUMPBIN" = x; then
   4471     DUMPBIN=":"
   4472   else
   4473     case $cross_compiling:$ac_tool_warned in
   4474 yes:)
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4477 ac_tool_warned=yes ;;
   4478 esac
   4479     DUMPBIN=$ac_ct_DUMPBIN
   4480   fi
   4481 fi
   4482 
   4483     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4484     *COFF*)
   4485       DUMPBIN="$DUMPBIN -symbols"
   4486       ;;
   4487     *)
   4488       DUMPBIN=:
   4489       ;;
   4490     esac
   4491   fi
   4492 
   4493   if test "$DUMPBIN" != ":"; then
   4494     NM="$DUMPBIN"
   4495   fi
   4496 fi
   4497 test -z "$NM" && NM=nm
   4498 
   4499 
   4500 
   4501 
   4502 
   4503 
   4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4505 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4506 if ${lt_cv_nm_interface+:} false; then :
   4507   $as_echo_n "(cached) " >&6
   4508 else
   4509   lt_cv_nm_interface="BSD nm"
   4510   echo "int some_variable = 0;" > conftest.$ac_ext
   4511   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4512   (eval "$ac_compile" 2>conftest.err)
   4513   cat conftest.err >&5
   4514   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4515   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4516   cat conftest.err >&5
   4517   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4518   cat conftest.out >&5
   4519   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4520     lt_cv_nm_interface="MS dumpbin"
   4521   fi
   4522   rm -f conftest*
   4523 fi
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4525 $as_echo "$lt_cv_nm_interface" >&6; }
   4526 
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4528 $as_echo_n "checking whether ln -s works... " >&6; }
   4529 LN_S=$as_ln_s
   4530 if test "$LN_S" = "ln -s"; then
   4531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4532 $as_echo "yes" >&6; }
   4533 else
   4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4535 $as_echo "no, using $LN_S" >&6; }
   4536 fi
   4537 
   4538 # find the maximum length of command line arguments
   4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4540 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4541 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4542   $as_echo_n "(cached) " >&6
   4543 else
   4544     i=0
   4545   teststring="ABCD"
   4546 
   4547   case $build_os in
   4548   msdosdjgpp*)
   4549     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4550     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4551     # during glob expansion).  Even if it were fixed, the result of this
   4552     # check would be larger than it should be.
   4553     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4554     ;;
   4555 
   4556   gnu*)
   4557     # Under GNU Hurd, this test is not required because there is
   4558     # no limit to the length of command line arguments.
   4559     # Libtool will interpret -1 as no limit whatsoever
   4560     lt_cv_sys_max_cmd_len=-1;
   4561     ;;
   4562 
   4563   cygwin* | mingw* | cegcc*)
   4564     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4565     # about 5 minutes as the teststring grows exponentially.
   4566     # Worse, since 9x/ME are not pre-emptively multitasking,
   4567     # you end up with a "frozen" computer, even though with patience
   4568     # the test eventually succeeds (with a max line length of 256k).
   4569     # Instead, let's just punt: use the minimum linelength reported by
   4570     # all of the supported platforms: 8192 (on NT/2K/XP).
   4571     lt_cv_sys_max_cmd_len=8192;
   4572     ;;
   4573 
   4574   mint*)
   4575     # On MiNT this can take a long time and run out of memory.
   4576     lt_cv_sys_max_cmd_len=8192;
   4577     ;;
   4578 
   4579   amigaos*)
   4580     # On AmigaOS with pdksh, this test takes hours, literally.
   4581     # So we just punt and use a minimum line length of 8192.
   4582     lt_cv_sys_max_cmd_len=8192;
   4583     ;;
   4584 
   4585   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4586     # This has been around since 386BSD, at least.  Likely further.
   4587     if test -x /sbin/sysctl; then
   4588       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4589     elif test -x /usr/sbin/sysctl; then
   4590       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4591     else
   4592       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4593     fi
   4594     # And add a safety zone
   4595     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4596     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4597     ;;
   4598 
   4599   interix*)
   4600     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4601     lt_cv_sys_max_cmd_len=196608
   4602     ;;
   4603 
   4604   os2*)
   4605     # The test takes a long time on OS/2.
   4606     lt_cv_sys_max_cmd_len=8192
   4607     ;;
   4608 
   4609   osf*)
   4610     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4611     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4612     # nice to cause kernel panics so lets avoid the loop below.
   4613     # First set a reasonable default.
   4614     lt_cv_sys_max_cmd_len=16384
   4615     #
   4616     if test -x /sbin/sysconfig; then
   4617       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4618         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4619       esac
   4620     fi
   4621     ;;
   4622   sco3.2v5*)
   4623     lt_cv_sys_max_cmd_len=102400
   4624     ;;
   4625   sysv5* | sco5v6* | sysv4.2uw2*)
   4626     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4627     if test -n "$kargmax"; then
   4628       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4629     else
   4630       lt_cv_sys_max_cmd_len=32768
   4631     fi
   4632     ;;
   4633   *)
   4634     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4635     if test -n "$lt_cv_sys_max_cmd_len"; then
   4636       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4637       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4638     else
   4639       # Make teststring a little bigger before we do anything with it.
   4640       # a 1K string should be a reasonable start.
   4641       for i in 1 2 3 4 5 6 7 8 ; do
   4642         teststring=$teststring$teststring
   4643       done
   4644       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4645       # If test is not a shell built-in, we'll probably end up computing a
   4646       # maximum length that is only half of the actual maximum length, but
   4647       # we can't tell.
   4648       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4649 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4650 	      test $i != 17 # 1/2 MB should be enough
   4651       do
   4652         i=`expr $i + 1`
   4653         teststring=$teststring$teststring
   4654       done
   4655       # Only check the string length outside the loop.
   4656       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4657       teststring=
   4658       # Add a significant safety factor because C++ compilers can tack on
   4659       # massive amounts of additional arguments before passing them to the
   4660       # linker.  It appears as though 1/2 is a usable value.
   4661       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4662     fi
   4663     ;;
   4664   esac
   4665 
   4666 fi
   4667 
   4668 if test -n $lt_cv_sys_max_cmd_len ; then
   4669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4670 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4671 else
   4672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4673 $as_echo "none" >&6; }
   4674 fi
   4675 max_cmd_len=$lt_cv_sys_max_cmd_len
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 : ${CP="cp -f"}
   4683 : ${MV="mv -f"}
   4684 : ${RM="rm -f"}
   4685 
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4687 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4688 # Try some XSI features
   4689 xsi_shell=no
   4690 ( _lt_dummy="a/b/c"
   4691   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4692       = c,a/b,b/c, \
   4693     && eval 'test $(( 1 + 1 )) -eq 2 \
   4694     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4695   && xsi_shell=yes
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4697 $as_echo "$xsi_shell" >&6; }
   4698 
   4699 
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4701 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4702 lt_shell_append=no
   4703 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4704     >/dev/null 2>&1 \
   4705   && lt_shell_append=yes
   4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4707 $as_echo "$lt_shell_append" >&6; }
   4708 
   4709 
   4710 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4711   lt_unset=unset
   4712 else
   4713   lt_unset=false
   4714 fi
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 # test EBCDIC or ASCII
   4721 case `echo X|tr X '\101'` in
   4722  A) # ASCII based system
   4723     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4724   lt_SP2NL='tr \040 \012'
   4725   lt_NL2SP='tr \015\012 \040\040'
   4726   ;;
   4727  *) # EBCDIC based system
   4728   lt_SP2NL='tr \100 \n'
   4729   lt_NL2SP='tr \r\n \100\100'
   4730   ;;
   4731 esac
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4742 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4743 if ${lt_cv_to_host_file_cmd+:} false; then :
   4744   $as_echo_n "(cached) " >&6
   4745 else
   4746   case $host in
   4747   *-*-mingw* )
   4748     case $build in
   4749       *-*-mingw* ) # actually msys
   4750         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4751         ;;
   4752       *-*-cygwin* )
   4753         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4754         ;;
   4755       * ) # otherwise, assume *nix
   4756         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4757         ;;
   4758     esac
   4759     ;;
   4760   *-*-cygwin* )
   4761     case $build in
   4762       *-*-mingw* ) # actually msys
   4763         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4764         ;;
   4765       *-*-cygwin* )
   4766         lt_cv_to_host_file_cmd=func_convert_file_noop
   4767         ;;
   4768       * ) # otherwise, assume *nix
   4769         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4770         ;;
   4771     esac
   4772     ;;
   4773   * ) # unhandled hosts (and "normal" native builds)
   4774     lt_cv_to_host_file_cmd=func_convert_file_noop
   4775     ;;
   4776 esac
   4777 
   4778 fi
   4779 
   4780 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4782 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4789 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4790 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4791   $as_echo_n "(cached) " >&6
   4792 else
   4793   #assume ordinary cross tools, or native build.
   4794 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4795 case $host in
   4796   *-*-mingw* )
   4797     case $build in
   4798       *-*-mingw* ) # actually msys
   4799         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4800         ;;
   4801     esac
   4802     ;;
   4803 esac
   4804 
   4805 fi
   4806 
   4807 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4809 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4816 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4817 if ${lt_cv_ld_reload_flag+:} false; then :
   4818   $as_echo_n "(cached) " >&6
   4819 else
   4820   lt_cv_ld_reload_flag='-r'
   4821 fi
   4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4823 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4824 reload_flag=$lt_cv_ld_reload_flag
   4825 case $reload_flag in
   4826 "" | " "*) ;;
   4827 *) reload_flag=" $reload_flag" ;;
   4828 esac
   4829 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4830 case $host_os in
   4831   cygwin* | mingw* | pw32* | cegcc*)
   4832     if test "$GCC" != yes; then
   4833       reload_cmds=false
   4834     fi
   4835     ;;
   4836   darwin*)
   4837     if test "$GCC" = yes; then
   4838       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4839     else
   4840       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4841     fi
   4842     ;;
   4843 esac
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 if test -n "$ac_tool_prefix"; then
   4854   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4855 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4857 $as_echo_n "checking for $ac_word... " >&6; }
   4858 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4859   $as_echo_n "(cached) " >&6
   4860 else
   4861   if test -n "$OBJDUMP"; then
   4862   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4863 else
   4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4865 for as_dir in $PATH
   4866 do
   4867   IFS=$as_save_IFS
   4868   test -z "$as_dir" && as_dir=.
   4869     for ac_exec_ext in '' $ac_executable_extensions; do
   4870   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4871     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4873     break 2
   4874   fi
   4875 done
   4876   done
   4877 IFS=$as_save_IFS
   4878 
   4879 fi
   4880 fi
   4881 OBJDUMP=$ac_cv_prog_OBJDUMP
   4882 if test -n "$OBJDUMP"; then
   4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4884 $as_echo "$OBJDUMP" >&6; }
   4885 else
   4886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4887 $as_echo "no" >&6; }
   4888 fi
   4889 
   4890 
   4891 fi
   4892 if test -z "$ac_cv_prog_OBJDUMP"; then
   4893   ac_ct_OBJDUMP=$OBJDUMP
   4894   # Extract the first word of "objdump", so it can be a program name with args.
   4895 set dummy objdump; ac_word=$2
   4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4897 $as_echo_n "checking for $ac_word... " >&6; }
   4898 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   if test -n "$ac_ct_OBJDUMP"; then
   4902   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4903 else
   4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4905 for as_dir in $PATH
   4906 do
   4907   IFS=$as_save_IFS
   4908   test -z "$as_dir" && as_dir=.
   4909     for ac_exec_ext in '' $ac_executable_extensions; do
   4910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4911     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4913     break 2
   4914   fi
   4915 done
   4916   done
   4917 IFS=$as_save_IFS
   4918 
   4919 fi
   4920 fi
   4921 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4922 if test -n "$ac_ct_OBJDUMP"; then
   4923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4924 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4925 else
   4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4927 $as_echo "no" >&6; }
   4928 fi
   4929 
   4930   if test "x$ac_ct_OBJDUMP" = x; then
   4931     OBJDUMP="false"
   4932   else
   4933     case $cross_compiling:$ac_tool_warned in
   4934 yes:)
   4935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4937 ac_tool_warned=yes ;;
   4938 esac
   4939     OBJDUMP=$ac_ct_OBJDUMP
   4940   fi
   4941 else
   4942   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4943 fi
   4944 
   4945 test -z "$OBJDUMP" && OBJDUMP=objdump
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4956 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4957 if ${lt_cv_deplibs_check_method+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4961 lt_cv_file_magic_test_file=
   4962 lt_cv_deplibs_check_method='unknown'
   4963 # Need to set the preceding variable on all platforms that support
   4964 # interlibrary dependencies.
   4965 # 'none' -- dependencies not supported.
   4966 # `unknown' -- same as none, but documents that we really don't know.
   4967 # 'pass_all' -- all dependencies passed with no checks.
   4968 # 'test_compile' -- check by making test program.
   4969 # 'file_magic [[regex]]' -- check by looking for files in library path
   4970 # which responds to the $file_magic_cmd with a given extended regex.
   4971 # If you have `file' or equivalent on your system and you're not sure
   4972 # whether `pass_all' will *always* work, you probably want this one.
   4973 
   4974 case $host_os in
   4975 aix[4-9]*)
   4976   lt_cv_deplibs_check_method=pass_all
   4977   ;;
   4978 
   4979 beos*)
   4980   lt_cv_deplibs_check_method=pass_all
   4981   ;;
   4982 
   4983 bsdi[45]*)
   4984   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4985   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4986   lt_cv_file_magic_test_file=/shlib/libc.so
   4987   ;;
   4988 
   4989 cygwin*)
   4990   # func_win32_libid is a shell function defined in ltmain.sh
   4991   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4992   lt_cv_file_magic_cmd='func_win32_libid'
   4993   ;;
   4994 
   4995 mingw* | pw32*)
   4996   # Base MSYS/MinGW do not provide the 'file' command needed by
   4997   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4998   # unless we find 'file', for example because we are cross-compiling.
   4999   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5000   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5001     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5002     lt_cv_file_magic_cmd='func_win32_libid'
   5003   else
   5004     # Keep this pattern in sync with the one in func_win32_libid.
   5005     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5006     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5007   fi
   5008   ;;
   5009 
   5010 cegcc*)
   5011   # use the weaker test based on 'objdump'. See mingw*.
   5012   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5013   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5014   ;;
   5015 
   5016 darwin* | rhapsody*)
   5017   lt_cv_deplibs_check_method=pass_all
   5018   ;;
   5019 
   5020 freebsd* | dragonfly*)
   5021   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5022     case $host_cpu in
   5023     i*86 )
   5024       # Not sure whether the presence of OpenBSD here was a mistake.
   5025       # Let's accept both of them until this is cleared up.
   5026       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5027       lt_cv_file_magic_cmd=/usr/bin/file
   5028       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5029       ;;
   5030     esac
   5031   else
   5032     lt_cv_deplibs_check_method=pass_all
   5033   fi
   5034   ;;
   5035 
   5036 gnu*)
   5037   lt_cv_deplibs_check_method=pass_all
   5038   ;;
   5039 
   5040 haiku*)
   5041   lt_cv_deplibs_check_method=pass_all
   5042   ;;
   5043 
   5044 hpux10.20* | hpux11*)
   5045   lt_cv_file_magic_cmd=/usr/bin/file
   5046   case $host_cpu in
   5047   ia64*)
   5048     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5049     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5050     ;;
   5051   hppa*64*)
   5052     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]'
   5053     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5054     ;;
   5055   *)
   5056     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5057     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5058     ;;
   5059   esac
   5060   ;;
   5061 
   5062 interix[3-9]*)
   5063   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5064   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5065   ;;
   5066 
   5067 irix5* | irix6* | nonstopux*)
   5068   case $LD in
   5069   *-32|*"-32 ") libmagic=32-bit;;
   5070   *-n32|*"-n32 ") libmagic=N32;;
   5071   *-64|*"-64 ") libmagic=64-bit;;
   5072   *) libmagic=never-match;;
   5073   esac
   5074   lt_cv_deplibs_check_method=pass_all
   5075   ;;
   5076 
   5077 # This must be glibc/ELF.
   5078 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5079   lt_cv_deplibs_check_method=pass_all
   5080   ;;
   5081 
   5082 netbsd*)
   5083   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5084     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5085   else
   5086     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5087   fi
   5088   ;;
   5089 
   5090 newos6*)
   5091   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5092   lt_cv_file_magic_cmd=/usr/bin/file
   5093   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5094   ;;
   5095 
   5096 *nto* | *qnx*)
   5097   lt_cv_deplibs_check_method=pass_all
   5098   ;;
   5099 
   5100 openbsd*)
   5101   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5102     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5103   else
   5104     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5105   fi
   5106   ;;
   5107 
   5108 osf3* | osf4* | osf5*)
   5109   lt_cv_deplibs_check_method=pass_all
   5110   ;;
   5111 
   5112 rdos*)
   5113   lt_cv_deplibs_check_method=pass_all
   5114   ;;
   5115 
   5116 solaris*)
   5117   lt_cv_deplibs_check_method=pass_all
   5118   ;;
   5119 
   5120 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5121   lt_cv_deplibs_check_method=pass_all
   5122   ;;
   5123 
   5124 sysv4 | sysv4.3*)
   5125   case $host_vendor in
   5126   motorola)
   5127     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]'
   5128     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5129     ;;
   5130   ncr)
   5131     lt_cv_deplibs_check_method=pass_all
   5132     ;;
   5133   sequent)
   5134     lt_cv_file_magic_cmd='/bin/file'
   5135     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5136     ;;
   5137   sni)
   5138     lt_cv_file_magic_cmd='/bin/file'
   5139     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5140     lt_cv_file_magic_test_file=/lib/libc.so
   5141     ;;
   5142   siemens)
   5143     lt_cv_deplibs_check_method=pass_all
   5144     ;;
   5145   pc)
   5146     lt_cv_deplibs_check_method=pass_all
   5147     ;;
   5148   esac
   5149   ;;
   5150 
   5151 tpf*)
   5152   lt_cv_deplibs_check_method=pass_all
   5153   ;;
   5154 esac
   5155 
   5156 fi
   5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5158 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5159 
   5160 file_magic_glob=
   5161 want_nocaseglob=no
   5162 if test "$build" = "$host"; then
   5163   case $host_os in
   5164   mingw* | pw32*)
   5165     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5166       want_nocaseglob=yes
   5167     else
   5168       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5169     fi
   5170     ;;
   5171   esac
   5172 fi
   5173 
   5174 file_magic_cmd=$lt_cv_file_magic_cmd
   5175 deplibs_check_method=$lt_cv_deplibs_check_method
   5176 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 if test -n "$ac_tool_prefix"; then
   5200   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5201 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5203 $as_echo_n "checking for $ac_word... " >&6; }
   5204 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5205   $as_echo_n "(cached) " >&6
   5206 else
   5207   if test -n "$DLLTOOL"; then
   5208   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5209 else
   5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5211 for as_dir in $PATH
   5212 do
   5213   IFS=$as_save_IFS
   5214   test -z "$as_dir" && as_dir=.
   5215     for ac_exec_ext in '' $ac_executable_extensions; do
   5216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5217     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5219     break 2
   5220   fi
   5221 done
   5222   done
   5223 IFS=$as_save_IFS
   5224 
   5225 fi
   5226 fi
   5227 DLLTOOL=$ac_cv_prog_DLLTOOL
   5228 if test -n "$DLLTOOL"; then
   5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5230 $as_echo "$DLLTOOL" >&6; }
   5231 else
   5232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5233 $as_echo "no" >&6; }
   5234 fi
   5235 
   5236 
   5237 fi
   5238 if test -z "$ac_cv_prog_DLLTOOL"; then
   5239   ac_ct_DLLTOOL=$DLLTOOL
   5240   # Extract the first word of "dlltool", so it can be a program name with args.
   5241 set dummy dlltool; ac_word=$2
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5243 $as_echo_n "checking for $ac_word... " >&6; }
   5244 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247   if test -n "$ac_ct_DLLTOOL"; then
   5248   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5249 else
   5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5251 for as_dir in $PATH
   5252 do
   5253   IFS=$as_save_IFS
   5254   test -z "$as_dir" && as_dir=.
   5255     for ac_exec_ext in '' $ac_executable_extensions; do
   5256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5257     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5259     break 2
   5260   fi
   5261 done
   5262   done
   5263 IFS=$as_save_IFS
   5264 
   5265 fi
   5266 fi
   5267 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5268 if test -n "$ac_ct_DLLTOOL"; then
   5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5270 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5271 else
   5272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5273 $as_echo "no" >&6; }
   5274 fi
   5275 
   5276   if test "x$ac_ct_DLLTOOL" = x; then
   5277     DLLTOOL="false"
   5278   else
   5279     case $cross_compiling:$ac_tool_warned in
   5280 yes:)
   5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5283 ac_tool_warned=yes ;;
   5284 esac
   5285     DLLTOOL=$ac_ct_DLLTOOL
   5286   fi
   5287 else
   5288   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5289 fi
   5290 
   5291 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5303 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5304 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5308 
   5309 case $host_os in
   5310 cygwin* | mingw* | pw32* | cegcc*)
   5311   # two different shell functions defined in ltmain.sh
   5312   # decide which to use based on capabilities of $DLLTOOL
   5313   case `$DLLTOOL --help 2>&1` in
   5314   *--identify-strict*)
   5315     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5316     ;;
   5317   *)
   5318     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5319     ;;
   5320   esac
   5321   ;;
   5322 *)
   5323   # fallback: assume linklib IS sharedlib
   5324   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5325   ;;
   5326 esac
   5327 
   5328 fi
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5330 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5331 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5332 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 if test -n "$ac_tool_prefix"; then
   5342   for ac_prog in ar
   5343   do
   5344     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5347 $as_echo_n "checking for $ac_word... " >&6; }
   5348 if ${ac_cv_prog_AR+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   if test -n "$AR"; then
   5352   ac_cv_prog_AR="$AR" # Let the user override the test.
   5353 else
   5354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5355 for as_dir in $PATH
   5356 do
   5357   IFS=$as_save_IFS
   5358   test -z "$as_dir" && as_dir=.
   5359     for ac_exec_ext in '' $ac_executable_extensions; do
   5360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5361     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5363     break 2
   5364   fi
   5365 done
   5366   done
   5367 IFS=$as_save_IFS
   5368 
   5369 fi
   5370 fi
   5371 AR=$ac_cv_prog_AR
   5372 if test -n "$AR"; then
   5373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5374 $as_echo "$AR" >&6; }
   5375 else
   5376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5377 $as_echo "no" >&6; }
   5378 fi
   5379 
   5380 
   5381     test -n "$AR" && break
   5382   done
   5383 fi
   5384 if test -z "$AR"; then
   5385   ac_ct_AR=$AR
   5386   for ac_prog in ar
   5387 do
   5388   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5389 set dummy $ac_prog; ac_word=$2
   5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5391 $as_echo_n "checking for $ac_word... " >&6; }
   5392 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5393   $as_echo_n "(cached) " >&6
   5394 else
   5395   if test -n "$ac_ct_AR"; then
   5396   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5397 else
   5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5399 for as_dir in $PATH
   5400 do
   5401   IFS=$as_save_IFS
   5402   test -z "$as_dir" && as_dir=.
   5403     for ac_exec_ext in '' $ac_executable_extensions; do
   5404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5405     ac_cv_prog_ac_ct_AR="$ac_prog"
   5406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5407     break 2
   5408   fi
   5409 done
   5410   done
   5411 IFS=$as_save_IFS
   5412 
   5413 fi
   5414 fi
   5415 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5416 if test -n "$ac_ct_AR"; then
   5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5418 $as_echo "$ac_ct_AR" >&6; }
   5419 else
   5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5421 $as_echo "no" >&6; }
   5422 fi
   5423 
   5424 
   5425   test -n "$ac_ct_AR" && break
   5426 done
   5427 
   5428   if test "x$ac_ct_AR" = x; then
   5429     AR="false"
   5430   else
   5431     case $cross_compiling:$ac_tool_warned in
   5432 yes:)
   5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5435 ac_tool_warned=yes ;;
   5436 esac
   5437     AR=$ac_ct_AR
   5438   fi
   5439 fi
   5440 
   5441 : ${AR=ar}
   5442 : ${AR_FLAGS=cru}
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5455 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5456 if ${lt_cv_ar_at_file+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   lt_cv_ar_at_file=no
   5460    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 
   5463 int
   5464 main ()
   5465 {
   5466 
   5467   ;
   5468   return 0;
   5469 }
   5470 _ACEOF
   5471 if ac_fn_c_try_compile "$LINENO"; then :
   5472   echo conftest.$ac_objext > conftest.lst
   5473       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5474       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5475   (eval $lt_ar_try) 2>&5
   5476   ac_status=$?
   5477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5478   test $ac_status = 0; }
   5479       if test "$ac_status" -eq 0; then
   5480 	# Ensure the archiver fails upon bogus file names.
   5481 	rm -f conftest.$ac_objext libconftest.a
   5482 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5483   (eval $lt_ar_try) 2>&5
   5484   ac_status=$?
   5485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5486   test $ac_status = 0; }
   5487 	if test "$ac_status" -ne 0; then
   5488           lt_cv_ar_at_file=@
   5489         fi
   5490       fi
   5491       rm -f conftest.* libconftest.a
   5492 
   5493 fi
   5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5495 
   5496 fi
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5498 $as_echo "$lt_cv_ar_at_file" >&6; }
   5499 
   5500 if test "x$lt_cv_ar_at_file" = xno; then
   5501   archiver_list_spec=
   5502 else
   5503   archiver_list_spec=$lt_cv_ar_at_file
   5504 fi
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 if test -n "$ac_tool_prefix"; then
   5513   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5514 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5516 $as_echo_n "checking for $ac_word... " >&6; }
   5517 if ${ac_cv_prog_STRIP+:} false; then :
   5518   $as_echo_n "(cached) " >&6
   5519 else
   5520   if test -n "$STRIP"; then
   5521   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5522 else
   5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5524 for as_dir in $PATH
   5525 do
   5526   IFS=$as_save_IFS
   5527   test -z "$as_dir" && as_dir=.
   5528     for ac_exec_ext in '' $ac_executable_extensions; do
   5529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5530     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5532     break 2
   5533   fi
   5534 done
   5535   done
   5536 IFS=$as_save_IFS
   5537 
   5538 fi
   5539 fi
   5540 STRIP=$ac_cv_prog_STRIP
   5541 if test -n "$STRIP"; then
   5542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5543 $as_echo "$STRIP" >&6; }
   5544 else
   5545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5546 $as_echo "no" >&6; }
   5547 fi
   5548 
   5549 
   5550 fi
   5551 if test -z "$ac_cv_prog_STRIP"; then
   5552   ac_ct_STRIP=$STRIP
   5553   # Extract the first word of "strip", so it can be a program name with args.
   5554 set dummy strip; ac_word=$2
   5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5556 $as_echo_n "checking for $ac_word... " >&6; }
   5557 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   if test -n "$ac_ct_STRIP"; then
   5561   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5562 else
   5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5564 for as_dir in $PATH
   5565 do
   5566   IFS=$as_save_IFS
   5567   test -z "$as_dir" && as_dir=.
   5568     for ac_exec_ext in '' $ac_executable_extensions; do
   5569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5570     ac_cv_prog_ac_ct_STRIP="strip"
   5571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5572     break 2
   5573   fi
   5574 done
   5575   done
   5576 IFS=$as_save_IFS
   5577 
   5578 fi
   5579 fi
   5580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5581 if test -n "$ac_ct_STRIP"; then
   5582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5583 $as_echo "$ac_ct_STRIP" >&6; }
   5584 else
   5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5586 $as_echo "no" >&6; }
   5587 fi
   5588 
   5589   if test "x$ac_ct_STRIP" = x; then
   5590     STRIP=":"
   5591   else
   5592     case $cross_compiling:$ac_tool_warned in
   5593 yes:)
   5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5596 ac_tool_warned=yes ;;
   5597 esac
   5598     STRIP=$ac_ct_STRIP
   5599   fi
   5600 else
   5601   STRIP="$ac_cv_prog_STRIP"
   5602 fi
   5603 
   5604 test -z "$STRIP" && STRIP=:
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 if test -n "$ac_tool_prefix"; then
   5612   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5615 $as_echo_n "checking for $ac_word... " >&6; }
   5616 if ${ac_cv_prog_RANLIB+:} false; then :
   5617   $as_echo_n "(cached) " >&6
   5618 else
   5619   if test -n "$RANLIB"; then
   5620   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5621 else
   5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5623 for as_dir in $PATH
   5624 do
   5625   IFS=$as_save_IFS
   5626   test -z "$as_dir" && as_dir=.
   5627     for ac_exec_ext in '' $ac_executable_extensions; do
   5628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5629     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5631     break 2
   5632   fi
   5633 done
   5634   done
   5635 IFS=$as_save_IFS
   5636 
   5637 fi
   5638 fi
   5639 RANLIB=$ac_cv_prog_RANLIB
   5640 if test -n "$RANLIB"; then
   5641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5642 $as_echo "$RANLIB" >&6; }
   5643 else
   5644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5645 $as_echo "no" >&6; }
   5646 fi
   5647 
   5648 
   5649 fi
   5650 if test -z "$ac_cv_prog_RANLIB"; then
   5651   ac_ct_RANLIB=$RANLIB
   5652   # Extract the first word of "ranlib", so it can be a program name with args.
   5653 set dummy ranlib; ac_word=$2
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5655 $as_echo_n "checking for $ac_word... " >&6; }
   5656 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   if test -n "$ac_ct_RANLIB"; then
   5660   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5661 else
   5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5663 for as_dir in $PATH
   5664 do
   5665   IFS=$as_save_IFS
   5666   test -z "$as_dir" && as_dir=.
   5667     for ac_exec_ext in '' $ac_executable_extensions; do
   5668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5669     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5671     break 2
   5672   fi
   5673 done
   5674   done
   5675 IFS=$as_save_IFS
   5676 
   5677 fi
   5678 fi
   5679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5680 if test -n "$ac_ct_RANLIB"; then
   5681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5682 $as_echo "$ac_ct_RANLIB" >&6; }
   5683 else
   5684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5685 $as_echo "no" >&6; }
   5686 fi
   5687 
   5688   if test "x$ac_ct_RANLIB" = x; then
   5689     RANLIB=":"
   5690   else
   5691     case $cross_compiling:$ac_tool_warned in
   5692 yes:)
   5693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5695 ac_tool_warned=yes ;;
   5696 esac
   5697     RANLIB=$ac_ct_RANLIB
   5698   fi
   5699 else
   5700   RANLIB="$ac_cv_prog_RANLIB"
   5701 fi
   5702 
   5703 test -z "$RANLIB" && RANLIB=:
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 # Determine commands to create old-style static archives.
   5711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5712 old_postinstall_cmds='chmod 644 $oldlib'
   5713 old_postuninstall_cmds=
   5714 
   5715 if test -n "$RANLIB"; then
   5716   case $host_os in
   5717   openbsd*)
   5718     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5719     ;;
   5720   *)
   5721     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5722     ;;
   5723   esac
   5724   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5725 fi
   5726 
   5727 case $host_os in
   5728   darwin*)
   5729     lock_old_archive_extraction=yes ;;
   5730   *)
   5731     lock_old_archive_extraction=no ;;
   5732 esac
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 # If no C compiler was specified, use CC.
   5773 LTCC=${LTCC-"$CC"}
   5774 
   5775 # If no C compiler flags were specified, use CFLAGS.
   5776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5777 
   5778 # Allow CC to be a program name with arguments.
   5779 compiler=$CC
   5780 
   5781 
   5782 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5785 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5786   $as_echo_n "(cached) " >&6
   5787 else
   5788 
   5789 # These are sane defaults that work on at least a few old systems.
   5790 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5791 
   5792 # Character class describing NM global symbol codes.
   5793 symcode='[BCDEGRST]'
   5794 
   5795 # Regexp to match symbols that can be accessed directly from C.
   5796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5797 
   5798 # Define system-specific variables.
   5799 case $host_os in
   5800 aix*)
   5801   symcode='[BCDT]'
   5802   ;;
   5803 cygwin* | mingw* | pw32* | cegcc*)
   5804   symcode='[ABCDGISTW]'
   5805   ;;
   5806 hpux*)
   5807   if test "$host_cpu" = ia64; then
   5808     symcode='[ABCDEGRST]'
   5809   fi
   5810   ;;
   5811 irix* | nonstopux*)
   5812   symcode='[BCDEGRST]'
   5813   ;;
   5814 osf*)
   5815   symcode='[BCDEGQRST]'
   5816   ;;
   5817 solaris*)
   5818   symcode='[BDRT]'
   5819   ;;
   5820 sco3.2v5*)
   5821   symcode='[DT]'
   5822   ;;
   5823 sysv4.2uw2*)
   5824   symcode='[DT]'
   5825   ;;
   5826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5827   symcode='[ABDT]'
   5828   ;;
   5829 sysv4)
   5830   symcode='[DFNSTU]'
   5831   ;;
   5832 esac
   5833 
   5834 # If we're using GNU nm, then use its standard symbol codes.
   5835 case `$NM -V 2>&1` in
   5836 *GNU* | *'with BFD'*)
   5837   symcode='[ABCDGIRSTW]' ;;
   5838 esac
   5839 
   5840 # Transform an extracted symbol line into a proper C declaration.
   5841 # Some systems (esp. on ia64) link data and code symbols differently,
   5842 # so use this general approach.
   5843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5844 
   5845 # Transform an extracted symbol line into symbol name and symbol address
   5846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5847 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'"
   5848 
   5849 # Handle CRLF in mingw tool chain
   5850 opt_cr=
   5851 case $build_os in
   5852 mingw*)
   5853   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5854   ;;
   5855 esac
   5856 
   5857 # Try without a prefix underscore, then with it.
   5858 for ac_symprfx in "" "_"; do
   5859 
   5860   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5861   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5862 
   5863   # Write the raw and C identifiers.
   5864   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5865     # Fake it for dumpbin and say T for any non-static function
   5866     # and D for any global variable.
   5867     # Also find C++ and __fastcall symbols from MSVC++,
   5868     # which start with @ or ?.
   5869     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5870 "     {last_section=section; section=\$ 3};"\
   5871 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5872 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5873 "     \$ 0!~/External *\|/{next};"\
   5874 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5875 "     {if(hide[section]) next};"\
   5876 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5877 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5878 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5879 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5880 "     ' prfx=^$ac_symprfx"
   5881   else
   5882     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5883   fi
   5884   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5885 
   5886   # Check to see that the pipe works correctly.
   5887   pipe_works=no
   5888 
   5889   rm -f conftest*
   5890   cat > conftest.$ac_ext <<_LT_EOF
   5891 #ifdef __cplusplus
   5892 extern "C" {
   5893 #endif
   5894 char nm_test_var;
   5895 void nm_test_func(void);
   5896 void nm_test_func(void){}
   5897 #ifdef __cplusplus
   5898 }
   5899 #endif
   5900 int main(){nm_test_var='a';nm_test_func();return(0);}
   5901 _LT_EOF
   5902 
   5903   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5904   (eval $ac_compile) 2>&5
   5905   ac_status=$?
   5906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5907   test $ac_status = 0; }; then
   5908     # Now try to grab the symbols.
   5909     nlist=conftest.nm
   5910     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5911   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5912   ac_status=$?
   5913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5914   test $ac_status = 0; } && test -s "$nlist"; then
   5915       # Try sorting and uniquifying the output.
   5916       if sort "$nlist" | uniq > "$nlist"T; then
   5917 	mv -f "$nlist"T "$nlist"
   5918       else
   5919 	rm -f "$nlist"T
   5920       fi
   5921 
   5922       # Make sure that we snagged all the symbols we need.
   5923       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5924 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5925 	  cat <<_LT_EOF > conftest.$ac_ext
   5926 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5927 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5928 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5929    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5930 # define LT_DLSYM_CONST
   5931 #elif defined(__osf__)
   5932 /* This system does not cope well with relocations in const data.  */
   5933 # define LT_DLSYM_CONST
   5934 #else
   5935 # define LT_DLSYM_CONST const
   5936 #endif
   5937 
   5938 #ifdef __cplusplus
   5939 extern "C" {
   5940 #endif
   5941 
   5942 _LT_EOF
   5943 	  # Now generate the symbol file.
   5944 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5945 
   5946 	  cat <<_LT_EOF >> conftest.$ac_ext
   5947 
   5948 /* The mapping between symbol names and symbols.  */
   5949 LT_DLSYM_CONST struct {
   5950   const char *name;
   5951   void       *address;
   5952 }
   5953 lt__PROGRAM__LTX_preloaded_symbols[] =
   5954 {
   5955   { "@PROGRAM@", (void *) 0 },
   5956 _LT_EOF
   5957 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5958 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5959   {0, (void *) 0}
   5960 };
   5961 
   5962 /* This works around a problem in FreeBSD linker */
   5963 #ifdef FREEBSD_WORKAROUND
   5964 static const void *lt_preloaded_setup() {
   5965   return lt__PROGRAM__LTX_preloaded_symbols;
   5966 }
   5967 #endif
   5968 
   5969 #ifdef __cplusplus
   5970 }
   5971 #endif
   5972 _LT_EOF
   5973 	  # Now try linking the two files.
   5974 	  mv conftest.$ac_objext conftstm.$ac_objext
   5975 	  lt_globsym_save_LIBS=$LIBS
   5976 	  lt_globsym_save_CFLAGS=$CFLAGS
   5977 	  LIBS="conftstm.$ac_objext"
   5978 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5979 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5980   (eval $ac_link) 2>&5
   5981   ac_status=$?
   5982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5983   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5984 	    pipe_works=yes
   5985 	  fi
   5986 	  LIBS=$lt_globsym_save_LIBS
   5987 	  CFLAGS=$lt_globsym_save_CFLAGS
   5988 	else
   5989 	  echo "cannot find nm_test_func in $nlist" >&5
   5990 	fi
   5991       else
   5992 	echo "cannot find nm_test_var in $nlist" >&5
   5993       fi
   5994     else
   5995       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5996     fi
   5997   else
   5998     echo "$progname: failed program was:" >&5
   5999     cat conftest.$ac_ext >&5
   6000   fi
   6001   rm -rf conftest* conftst*
   6002 
   6003   # Do not use the global_symbol_pipe unless it works.
   6004   if test "$pipe_works" = yes; then
   6005     break
   6006   else
   6007     lt_cv_sys_global_symbol_pipe=
   6008   fi
   6009 done
   6010 
   6011 fi
   6012 
   6013 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6014   lt_cv_sys_global_symbol_to_cdecl=
   6015 fi
   6016 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6018 $as_echo "failed" >&6; }
   6019 else
   6020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6021 $as_echo "ok" >&6; }
   6022 fi
   6023 
   6024 # Response file support.
   6025 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6026   nm_file_list_spec='@'
   6027 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6028   nm_file_list_spec='@'
   6029 fi
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6058 $as_echo_n "checking for sysroot... " >&6; }
   6059 
   6060 # Check whether --with-sysroot was given.
   6061 if test "${with_sysroot+set}" = set; then :
   6062   withval=$with_sysroot;
   6063 else
   6064   with_sysroot=no
   6065 fi
   6066 
   6067 
   6068 lt_sysroot=
   6069 case ${with_sysroot} in #(
   6070  yes)
   6071    if test "$GCC" = yes; then
   6072      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6073    fi
   6074    ;; #(
   6075  /*)
   6076    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6077    ;; #(
   6078  no|'')
   6079    ;; #(
   6080  *)
   6081    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6082 $as_echo "${with_sysroot}" >&6; }
   6083    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6084    ;;
   6085 esac
   6086 
   6087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6088 $as_echo "${lt_sysroot:-no}" >&6; }
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 # Check whether --enable-libtool-lock was given.
   6095 if test "${enable_libtool_lock+set}" = set; then :
   6096   enableval=$enable_libtool_lock;
   6097 fi
   6098 
   6099 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6100 
   6101 # Some flags need to be propagated to the compiler or linker for good
   6102 # libtool support.
   6103 case $host in
   6104 ia64-*-hpux*)
   6105   # Find out which ABI we are using.
   6106   echo 'int i;' > conftest.$ac_ext
   6107   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6108   (eval $ac_compile) 2>&5
   6109   ac_status=$?
   6110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6111   test $ac_status = 0; }; then
   6112     case `/usr/bin/file conftest.$ac_objext` in
   6113       *ELF-32*)
   6114 	HPUX_IA64_MODE="32"
   6115 	;;
   6116       *ELF-64*)
   6117 	HPUX_IA64_MODE="64"
   6118 	;;
   6119     esac
   6120   fi
   6121   rm -rf conftest*
   6122   ;;
   6123 *-*-irix6*)
   6124   # Find out which ABI we are using.
   6125   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6126   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6127   (eval $ac_compile) 2>&5
   6128   ac_status=$?
   6129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6130   test $ac_status = 0; }; then
   6131     if test "$lt_cv_prog_gnu_ld" = yes; then
   6132       case `/usr/bin/file conftest.$ac_objext` in
   6133 	*32-bit*)
   6134 	  LD="${LD-ld} -melf32bsmip"
   6135 	  ;;
   6136 	*N32*)
   6137 	  LD="${LD-ld} -melf32bmipn32"
   6138 	  ;;
   6139 	*64-bit*)
   6140 	  LD="${LD-ld} -melf64bmip"
   6141 	;;
   6142       esac
   6143     else
   6144       case `/usr/bin/file conftest.$ac_objext` in
   6145 	*32-bit*)
   6146 	  LD="${LD-ld} -32"
   6147 	  ;;
   6148 	*N32*)
   6149 	  LD="${LD-ld} -n32"
   6150 	  ;;
   6151 	*64-bit*)
   6152 	  LD="${LD-ld} -64"
   6153 	  ;;
   6154       esac
   6155     fi
   6156   fi
   6157   rm -rf conftest*
   6158   ;;
   6159 
   6160 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6161 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6162   # Find out which ABI we are using.
   6163   echo 'int i;' > conftest.$ac_ext
   6164   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6165   (eval $ac_compile) 2>&5
   6166   ac_status=$?
   6167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6168   test $ac_status = 0; }; then
   6169     case `/usr/bin/file conftest.o` in
   6170       *32-bit*)
   6171 	case $host in
   6172 	  x86_64-*kfreebsd*-gnu)
   6173 	    LD="${LD-ld} -m elf_i386_fbsd"
   6174 	    ;;
   6175 	  x86_64-*linux*)
   6176 	    LD="${LD-ld} -m elf_i386"
   6177 	    ;;
   6178 	  ppc64-*linux*|powerpc64-*linux*)
   6179 	    LD="${LD-ld} -m elf32ppclinux"
   6180 	    ;;
   6181 	  s390x-*linux*)
   6182 	    LD="${LD-ld} -m elf_s390"
   6183 	    ;;
   6184 	  sparc64-*linux*)
   6185 	    LD="${LD-ld} -m elf32_sparc"
   6186 	    ;;
   6187 	esac
   6188 	;;
   6189       *64-bit*)
   6190 	case $host in
   6191 	  x86_64-*kfreebsd*-gnu)
   6192 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6193 	    ;;
   6194 	  x86_64-*linux*)
   6195 	    LD="${LD-ld} -m elf_x86_64"
   6196 	    ;;
   6197 	  ppc*-*linux*|powerpc*-*linux*)
   6198 	    LD="${LD-ld} -m elf64ppc"
   6199 	    ;;
   6200 	  s390*-*linux*|s390*-*tpf*)
   6201 	    LD="${LD-ld} -m elf64_s390"
   6202 	    ;;
   6203 	  sparc*-*linux*)
   6204 	    LD="${LD-ld} -m elf64_sparc"
   6205 	    ;;
   6206 	esac
   6207 	;;
   6208     esac
   6209   fi
   6210   rm -rf conftest*
   6211   ;;
   6212 
   6213 *-*-sco3.2v5*)
   6214   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6215   SAVE_CFLAGS="$CFLAGS"
   6216   CFLAGS="$CFLAGS -belf"
   6217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6218 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6219 if ${lt_cv_cc_needs_belf+:} false; then :
   6220   $as_echo_n "(cached) " >&6
   6221 else
   6222   ac_ext=c
   6223 ac_cpp='$CPP $CPPFLAGS'
   6224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6227 
   6228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 
   6231 int
   6232 main ()
   6233 {
   6234 
   6235   ;
   6236   return 0;
   6237 }
   6238 _ACEOF
   6239 if ac_fn_c_try_link "$LINENO"; then :
   6240   lt_cv_cc_needs_belf=yes
   6241 else
   6242   lt_cv_cc_needs_belf=no
   6243 fi
   6244 rm -f core conftest.err conftest.$ac_objext \
   6245     conftest$ac_exeext conftest.$ac_ext
   6246      ac_ext=c
   6247 ac_cpp='$CPP $CPPFLAGS'
   6248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6251 
   6252 fi
   6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6254 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6255   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6256     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6257     CFLAGS="$SAVE_CFLAGS"
   6258   fi
   6259   ;;
   6260 *-*solaris*)
   6261   # Find out which ABI we are using.
   6262   echo 'int i;' > conftest.$ac_ext
   6263   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6264   (eval $ac_compile) 2>&5
   6265   ac_status=$?
   6266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6267   test $ac_status = 0; }; then
   6268     case `/usr/bin/file conftest.o` in
   6269     *64-bit*)
   6270       case $lt_cv_prog_gnu_ld in
   6271       yes*)
   6272         case $host in
   6273         i?86-*-solaris*)
   6274           LD="${LD-ld} -m elf_x86_64"
   6275           ;;
   6276         sparc*-*-solaris*)
   6277           LD="${LD-ld} -m elf64_sparc"
   6278           ;;
   6279         esac
   6280         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6281         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6282           LD="${LD-ld}_sol2"
   6283         fi
   6284         ;;
   6285       *)
   6286 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6287 	  LD="${LD-ld} -64"
   6288 	fi
   6289 	;;
   6290       esac
   6291       ;;
   6292     esac
   6293   fi
   6294   rm -rf conftest*
   6295   ;;
   6296 esac
   6297 
   6298 need_locks="$enable_libtool_lock"
   6299 
   6300 if test -n "$ac_tool_prefix"; then
   6301   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6302 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6304 $as_echo_n "checking for $ac_word... " >&6; }
   6305 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6306   $as_echo_n "(cached) " >&6
   6307 else
   6308   if test -n "$MANIFEST_TOOL"; then
   6309   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6310 else
   6311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6312 for as_dir in $PATH
   6313 do
   6314   IFS=$as_save_IFS
   6315   test -z "$as_dir" && as_dir=.
   6316     for ac_exec_ext in '' $ac_executable_extensions; do
   6317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6318     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6320     break 2
   6321   fi
   6322 done
   6323   done
   6324 IFS=$as_save_IFS
   6325 
   6326 fi
   6327 fi
   6328 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6329 if test -n "$MANIFEST_TOOL"; then
   6330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6331 $as_echo "$MANIFEST_TOOL" >&6; }
   6332 else
   6333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6334 $as_echo "no" >&6; }
   6335 fi
   6336 
   6337 
   6338 fi
   6339 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6340   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6341   # Extract the first word of "mt", so it can be a program name with args.
   6342 set dummy mt; ac_word=$2
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6344 $as_echo_n "checking for $ac_word... " >&6; }
   6345 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6346   $as_echo_n "(cached) " >&6
   6347 else
   6348   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6349   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6350 else
   6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6352 for as_dir in $PATH
   6353 do
   6354   IFS=$as_save_IFS
   6355   test -z "$as_dir" && as_dir=.
   6356     for ac_exec_ext in '' $ac_executable_extensions; do
   6357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6358     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6360     break 2
   6361   fi
   6362 done
   6363   done
   6364 IFS=$as_save_IFS
   6365 
   6366 fi
   6367 fi
   6368 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6369 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6371 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6372 else
   6373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6374 $as_echo "no" >&6; }
   6375 fi
   6376 
   6377   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6378     MANIFEST_TOOL=":"
   6379   else
   6380     case $cross_compiling:$ac_tool_warned in
   6381 yes:)
   6382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6384 ac_tool_warned=yes ;;
   6385 esac
   6386     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6387   fi
   6388 else
   6389   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6390 fi
   6391 
   6392 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6394 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6395 if ${lt_cv_path_mainfest_tool+:} false; then :
   6396   $as_echo_n "(cached) " >&6
   6397 else
   6398   lt_cv_path_mainfest_tool=no
   6399   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6400   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6401   cat conftest.err >&5
   6402   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6403     lt_cv_path_mainfest_tool=yes
   6404   fi
   6405   rm -f conftest*
   6406 fi
   6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6408 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6409 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6410   MANIFEST_TOOL=:
   6411 fi
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418   case $host_os in
   6419     rhapsody* | darwin*)
   6420     if test -n "$ac_tool_prefix"; then
   6421   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6422 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6424 $as_echo_n "checking for $ac_word... " >&6; }
   6425 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6426   $as_echo_n "(cached) " >&6
   6427 else
   6428   if test -n "$DSYMUTIL"; then
   6429   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6430 else
   6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6432 for as_dir in $PATH
   6433 do
   6434   IFS=$as_save_IFS
   6435   test -z "$as_dir" && as_dir=.
   6436     for ac_exec_ext in '' $ac_executable_extensions; do
   6437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6438     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6440     break 2
   6441   fi
   6442 done
   6443   done
   6444 IFS=$as_save_IFS
   6445 
   6446 fi
   6447 fi
   6448 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6449 if test -n "$DSYMUTIL"; then
   6450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6451 $as_echo "$DSYMUTIL" >&6; }
   6452 else
   6453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6454 $as_echo "no" >&6; }
   6455 fi
   6456 
   6457 
   6458 fi
   6459 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6460   ac_ct_DSYMUTIL=$DSYMUTIL
   6461   # Extract the first word of "dsymutil", so it can be a program name with args.
   6462 set dummy dsymutil; ac_word=$2
   6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6464 $as_echo_n "checking for $ac_word... " >&6; }
   6465 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6466   $as_echo_n "(cached) " >&6
   6467 else
   6468   if test -n "$ac_ct_DSYMUTIL"; then
   6469   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6470 else
   6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6472 for as_dir in $PATH
   6473 do
   6474   IFS=$as_save_IFS
   6475   test -z "$as_dir" && as_dir=.
   6476     for ac_exec_ext in '' $ac_executable_extensions; do
   6477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6478     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6480     break 2
   6481   fi
   6482 done
   6483   done
   6484 IFS=$as_save_IFS
   6485 
   6486 fi
   6487 fi
   6488 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6489 if test -n "$ac_ct_DSYMUTIL"; then
   6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6491 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6492 else
   6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6494 $as_echo "no" >&6; }
   6495 fi
   6496 
   6497   if test "x$ac_ct_DSYMUTIL" = x; then
   6498     DSYMUTIL=":"
   6499   else
   6500     case $cross_compiling:$ac_tool_warned in
   6501 yes:)
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6504 ac_tool_warned=yes ;;
   6505 esac
   6506     DSYMUTIL=$ac_ct_DSYMUTIL
   6507   fi
   6508 else
   6509   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6510 fi
   6511 
   6512     if test -n "$ac_tool_prefix"; then
   6513   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6514 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6516 $as_echo_n "checking for $ac_word... " >&6; }
   6517 if ${ac_cv_prog_NMEDIT+:} false; then :
   6518   $as_echo_n "(cached) " >&6
   6519 else
   6520   if test -n "$NMEDIT"; then
   6521   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6522 else
   6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6524 for as_dir in $PATH
   6525 do
   6526   IFS=$as_save_IFS
   6527   test -z "$as_dir" && as_dir=.
   6528     for ac_exec_ext in '' $ac_executable_extensions; do
   6529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6530     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6532     break 2
   6533   fi
   6534 done
   6535   done
   6536 IFS=$as_save_IFS
   6537 
   6538 fi
   6539 fi
   6540 NMEDIT=$ac_cv_prog_NMEDIT
   6541 if test -n "$NMEDIT"; then
   6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6543 $as_echo "$NMEDIT" >&6; }
   6544 else
   6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6546 $as_echo "no" >&6; }
   6547 fi
   6548 
   6549 
   6550 fi
   6551 if test -z "$ac_cv_prog_NMEDIT"; then
   6552   ac_ct_NMEDIT=$NMEDIT
   6553   # Extract the first word of "nmedit", so it can be a program name with args.
   6554 set dummy nmedit; ac_word=$2
   6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6556 $as_echo_n "checking for $ac_word... " >&6; }
   6557 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6558   $as_echo_n "(cached) " >&6
   6559 else
   6560   if test -n "$ac_ct_NMEDIT"; then
   6561   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6562 else
   6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6564 for as_dir in $PATH
   6565 do
   6566   IFS=$as_save_IFS
   6567   test -z "$as_dir" && as_dir=.
   6568     for ac_exec_ext in '' $ac_executable_extensions; do
   6569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6570     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6572     break 2
   6573   fi
   6574 done
   6575   done
   6576 IFS=$as_save_IFS
   6577 
   6578 fi
   6579 fi
   6580 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6581 if test -n "$ac_ct_NMEDIT"; then
   6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6583 $as_echo "$ac_ct_NMEDIT" >&6; }
   6584 else
   6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6586 $as_echo "no" >&6; }
   6587 fi
   6588 
   6589   if test "x$ac_ct_NMEDIT" = x; then
   6590     NMEDIT=":"
   6591   else
   6592     case $cross_compiling:$ac_tool_warned in
   6593 yes:)
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6596 ac_tool_warned=yes ;;
   6597 esac
   6598     NMEDIT=$ac_ct_NMEDIT
   6599   fi
   6600 else
   6601   NMEDIT="$ac_cv_prog_NMEDIT"
   6602 fi
   6603 
   6604     if test -n "$ac_tool_prefix"; then
   6605   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6606 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6608 $as_echo_n "checking for $ac_word... " >&6; }
   6609 if ${ac_cv_prog_LIPO+:} false; then :
   6610   $as_echo_n "(cached) " >&6
   6611 else
   6612   if test -n "$LIPO"; then
   6613   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6614 else
   6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6616 for as_dir in $PATH
   6617 do
   6618   IFS=$as_save_IFS
   6619   test -z "$as_dir" && as_dir=.
   6620     for ac_exec_ext in '' $ac_executable_extensions; do
   6621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6622     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6624     break 2
   6625   fi
   6626 done
   6627   done
   6628 IFS=$as_save_IFS
   6629 
   6630 fi
   6631 fi
   6632 LIPO=$ac_cv_prog_LIPO
   6633 if test -n "$LIPO"; then
   6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6635 $as_echo "$LIPO" >&6; }
   6636 else
   6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6638 $as_echo "no" >&6; }
   6639 fi
   6640 
   6641 
   6642 fi
   6643 if test -z "$ac_cv_prog_LIPO"; then
   6644   ac_ct_LIPO=$LIPO
   6645   # Extract the first word of "lipo", so it can be a program name with args.
   6646 set dummy lipo; ac_word=$2
   6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6648 $as_echo_n "checking for $ac_word... " >&6; }
   6649 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6650   $as_echo_n "(cached) " >&6
   6651 else
   6652   if test -n "$ac_ct_LIPO"; then
   6653   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6654 else
   6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6656 for as_dir in $PATH
   6657 do
   6658   IFS=$as_save_IFS
   6659   test -z "$as_dir" && as_dir=.
   6660     for ac_exec_ext in '' $ac_executable_extensions; do
   6661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6662     ac_cv_prog_ac_ct_LIPO="lipo"
   6663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6664     break 2
   6665   fi
   6666 done
   6667   done
   6668 IFS=$as_save_IFS
   6669 
   6670 fi
   6671 fi
   6672 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6673 if test -n "$ac_ct_LIPO"; then
   6674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6675 $as_echo "$ac_ct_LIPO" >&6; }
   6676 else
   6677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6678 $as_echo "no" >&6; }
   6679 fi
   6680 
   6681   if test "x$ac_ct_LIPO" = x; then
   6682     LIPO=":"
   6683   else
   6684     case $cross_compiling:$ac_tool_warned in
   6685 yes:)
   6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6688 ac_tool_warned=yes ;;
   6689 esac
   6690     LIPO=$ac_ct_LIPO
   6691   fi
   6692 else
   6693   LIPO="$ac_cv_prog_LIPO"
   6694 fi
   6695 
   6696     if test -n "$ac_tool_prefix"; then
   6697   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6698 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6700 $as_echo_n "checking for $ac_word... " >&6; }
   6701 if ${ac_cv_prog_OTOOL+:} false; then :
   6702   $as_echo_n "(cached) " >&6
   6703 else
   6704   if test -n "$OTOOL"; then
   6705   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6706 else
   6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6708 for as_dir in $PATH
   6709 do
   6710   IFS=$as_save_IFS
   6711   test -z "$as_dir" && as_dir=.
   6712     for ac_exec_ext in '' $ac_executable_extensions; do
   6713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6714     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6716     break 2
   6717   fi
   6718 done
   6719   done
   6720 IFS=$as_save_IFS
   6721 
   6722 fi
   6723 fi
   6724 OTOOL=$ac_cv_prog_OTOOL
   6725 if test -n "$OTOOL"; then
   6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6727 $as_echo "$OTOOL" >&6; }
   6728 else
   6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6730 $as_echo "no" >&6; }
   6731 fi
   6732 
   6733 
   6734 fi
   6735 if test -z "$ac_cv_prog_OTOOL"; then
   6736   ac_ct_OTOOL=$OTOOL
   6737   # Extract the first word of "otool", so it can be a program name with args.
   6738 set dummy otool; ac_word=$2
   6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6740 $as_echo_n "checking for $ac_word... " >&6; }
   6741 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6742   $as_echo_n "(cached) " >&6
   6743 else
   6744   if test -n "$ac_ct_OTOOL"; then
   6745   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6746 else
   6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6748 for as_dir in $PATH
   6749 do
   6750   IFS=$as_save_IFS
   6751   test -z "$as_dir" && as_dir=.
   6752     for ac_exec_ext in '' $ac_executable_extensions; do
   6753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6754     ac_cv_prog_ac_ct_OTOOL="otool"
   6755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6756     break 2
   6757   fi
   6758 done
   6759   done
   6760 IFS=$as_save_IFS
   6761 
   6762 fi
   6763 fi
   6764 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6765 if test -n "$ac_ct_OTOOL"; then
   6766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6767 $as_echo "$ac_ct_OTOOL" >&6; }
   6768 else
   6769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6770 $as_echo "no" >&6; }
   6771 fi
   6772 
   6773   if test "x$ac_ct_OTOOL" = x; then
   6774     OTOOL=":"
   6775   else
   6776     case $cross_compiling:$ac_tool_warned in
   6777 yes:)
   6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6780 ac_tool_warned=yes ;;
   6781 esac
   6782     OTOOL=$ac_ct_OTOOL
   6783   fi
   6784 else
   6785   OTOOL="$ac_cv_prog_OTOOL"
   6786 fi
   6787 
   6788     if test -n "$ac_tool_prefix"; then
   6789   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6790 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6792 $as_echo_n "checking for $ac_word... " >&6; }
   6793 if ${ac_cv_prog_OTOOL64+:} false; then :
   6794   $as_echo_n "(cached) " >&6
   6795 else
   6796   if test -n "$OTOOL64"; then
   6797   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6798 else
   6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6800 for as_dir in $PATH
   6801 do
   6802   IFS=$as_save_IFS
   6803   test -z "$as_dir" && as_dir=.
   6804     for ac_exec_ext in '' $ac_executable_extensions; do
   6805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6806     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6808     break 2
   6809   fi
   6810 done
   6811   done
   6812 IFS=$as_save_IFS
   6813 
   6814 fi
   6815 fi
   6816 OTOOL64=$ac_cv_prog_OTOOL64
   6817 if test -n "$OTOOL64"; then
   6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6819 $as_echo "$OTOOL64" >&6; }
   6820 else
   6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6822 $as_echo "no" >&6; }
   6823 fi
   6824 
   6825 
   6826 fi
   6827 if test -z "$ac_cv_prog_OTOOL64"; then
   6828   ac_ct_OTOOL64=$OTOOL64
   6829   # Extract the first word of "otool64", so it can be a program name with args.
   6830 set dummy otool64; ac_word=$2
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6832 $as_echo_n "checking for $ac_word... " >&6; }
   6833 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   if test -n "$ac_ct_OTOOL64"; then
   6837   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6838 else
   6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6840 for as_dir in $PATH
   6841 do
   6842   IFS=$as_save_IFS
   6843   test -z "$as_dir" && as_dir=.
   6844     for ac_exec_ext in '' $ac_executable_extensions; do
   6845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6846     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6848     break 2
   6849   fi
   6850 done
   6851   done
   6852 IFS=$as_save_IFS
   6853 
   6854 fi
   6855 fi
   6856 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6857 if test -n "$ac_ct_OTOOL64"; then
   6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6859 $as_echo "$ac_ct_OTOOL64" >&6; }
   6860 else
   6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6862 $as_echo "no" >&6; }
   6863 fi
   6864 
   6865   if test "x$ac_ct_OTOOL64" = x; then
   6866     OTOOL64=":"
   6867   else
   6868     case $cross_compiling:$ac_tool_warned in
   6869 yes:)
   6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6872 ac_tool_warned=yes ;;
   6873 esac
   6874     OTOOL64=$ac_ct_OTOOL64
   6875   fi
   6876 else
   6877   OTOOL64="$ac_cv_prog_OTOOL64"
   6878 fi
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6907 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6908 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6909   $as_echo_n "(cached) " >&6
   6910 else
   6911   lt_cv_apple_cc_single_mod=no
   6912       if test -z "${LT_MULTI_MODULE}"; then
   6913 	# By default we will add the -single_module flag. You can override
   6914 	# by either setting the environment variable LT_MULTI_MODULE
   6915 	# non-empty at configure time, or by adding -multi_module to the
   6916 	# link flags.
   6917 	rm -rf libconftest.dylib*
   6918 	echo "int foo(void){return 1;}" > conftest.c
   6919 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6920 -dynamiclib -Wl,-single_module conftest.c" >&5
   6921 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6922 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6923         _lt_result=$?
   6924 	# If there is a non-empty error log, and "single_module"
   6925 	# appears in it, assume the flag caused a linker warning
   6926         if test -s conftest.err && $GREP single_module conftest.err; then
   6927 	  cat conftest.err >&5
   6928 	# Otherwise, if the output was created with a 0 exit code from
   6929 	# the compiler, it worked.
   6930 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6931 	  lt_cv_apple_cc_single_mod=yes
   6932 	else
   6933 	  cat conftest.err >&5
   6934 	fi
   6935 	rm -rf libconftest.dylib*
   6936 	rm -f conftest.*
   6937       fi
   6938 fi
   6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6940 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6941 
   6942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6943 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6944 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6945   $as_echo_n "(cached) " >&6
   6946 else
   6947   lt_cv_ld_exported_symbols_list=no
   6948       save_LDFLAGS=$LDFLAGS
   6949       echo "_main" > conftest.sym
   6950       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6952 /* end confdefs.h.  */
   6953 
   6954 int
   6955 main ()
   6956 {
   6957 
   6958   ;
   6959   return 0;
   6960 }
   6961 _ACEOF
   6962 if ac_fn_c_try_link "$LINENO"; then :
   6963   lt_cv_ld_exported_symbols_list=yes
   6964 else
   6965   lt_cv_ld_exported_symbols_list=no
   6966 fi
   6967 rm -f core conftest.err conftest.$ac_objext \
   6968     conftest$ac_exeext conftest.$ac_ext
   6969 	LDFLAGS="$save_LDFLAGS"
   6970 
   6971 fi
   6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6973 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6974 
   6975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6976 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6977 if ${lt_cv_ld_force_load+:} false; then :
   6978   $as_echo_n "(cached) " >&6
   6979 else
   6980   lt_cv_ld_force_load=no
   6981       cat > conftest.c << _LT_EOF
   6982 int forced_loaded() { return 2;}
   6983 _LT_EOF
   6984       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6985       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6986       echo "$AR cru libconftest.a conftest.o" >&5
   6987       $AR cru libconftest.a conftest.o 2>&5
   6988       echo "$RANLIB libconftest.a" >&5
   6989       $RANLIB libconftest.a 2>&5
   6990       cat > conftest.c << _LT_EOF
   6991 int main() { return 0;}
   6992 _LT_EOF
   6993       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6994       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6995       _lt_result=$?
   6996       if test -s conftest.err && $GREP force_load conftest.err; then
   6997 	cat conftest.err >&5
   6998       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   6999 	lt_cv_ld_force_load=yes
   7000       else
   7001 	cat conftest.err >&5
   7002       fi
   7003         rm -f conftest.err libconftest.a conftest conftest.c
   7004         rm -rf conftest.dSYM
   7005 
   7006 fi
   7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7008 $as_echo "$lt_cv_ld_force_load" >&6; }
   7009     case $host_os in
   7010     rhapsody* | darwin1.[012])
   7011       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7012     darwin1.*)
   7013       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7014     darwin*) # darwin 5.x on
   7015       # if running on 10.5 or later, the deployment target defaults
   7016       # to the OS version, if on x86, and 10.4, the deployment
   7017       # target defaults to 10.4. Don't you love it?
   7018       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7019 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7020 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7021 	10.[012]*)
   7022 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7023 	10.*)
   7024 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7025       esac
   7026     ;;
   7027   esac
   7028     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7029       _lt_dar_single_mod='$single_module'
   7030     fi
   7031     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7032       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7033     else
   7034       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7035     fi
   7036     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7037       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7038     else
   7039       _lt_dsymutil=
   7040     fi
   7041     ;;
   7042   esac
   7043 
   7044 ac_ext=c
   7045 ac_cpp='$CPP $CPPFLAGS'
   7046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7050 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7051 # On Suns, sometimes $CPP names a directory.
   7052 if test -n "$CPP" && test -d "$CPP"; then
   7053   CPP=
   7054 fi
   7055 if test -z "$CPP"; then
   7056   if ${ac_cv_prog_CPP+:} false; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059       # Double quotes because CPP needs to be expanded
   7060     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7061     do
   7062       ac_preproc_ok=false
   7063 for ac_c_preproc_warn_flag in '' yes
   7064 do
   7065   # Use a header file that comes with gcc, so configuring glibc
   7066   # with a fresh cross-compiler works.
   7067   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7068   # <limits.h> exists even on freestanding compilers.
   7069   # On the NeXT, cc -E runs the code through the compiler's parser,
   7070   # not just through cpp. "Syntax error" is here to catch this case.
   7071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7072 /* end confdefs.h.  */
   7073 #ifdef __STDC__
   7074 # include <limits.h>
   7075 #else
   7076 # include <assert.h>
   7077 #endif
   7078 		     Syntax error
   7079 _ACEOF
   7080 if ac_fn_c_try_cpp "$LINENO"; then :
   7081 
   7082 else
   7083   # Broken: fails on valid input.
   7084 continue
   7085 fi
   7086 rm -f conftest.err conftest.i conftest.$ac_ext
   7087 
   7088   # OK, works on sane cases.  Now check whether nonexistent headers
   7089   # can be detected and how.
   7090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 #include <ac_nonexistent.h>
   7093 _ACEOF
   7094 if ac_fn_c_try_cpp "$LINENO"; then :
   7095   # Broken: success on invalid input.
   7096 continue
   7097 else
   7098   # Passes both tests.
   7099 ac_preproc_ok=:
   7100 break
   7101 fi
   7102 rm -f conftest.err conftest.i conftest.$ac_ext
   7103 
   7104 done
   7105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7106 rm -f conftest.i conftest.err conftest.$ac_ext
   7107 if $ac_preproc_ok; then :
   7108   break
   7109 fi
   7110 
   7111     done
   7112     ac_cv_prog_CPP=$CPP
   7113 
   7114 fi
   7115   CPP=$ac_cv_prog_CPP
   7116 else
   7117   ac_cv_prog_CPP=$CPP
   7118 fi
   7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7120 $as_echo "$CPP" >&6; }
   7121 ac_preproc_ok=false
   7122 for ac_c_preproc_warn_flag in '' yes
   7123 do
   7124   # Use a header file that comes with gcc, so configuring glibc
   7125   # with a fresh cross-compiler works.
   7126   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7127   # <limits.h> exists even on freestanding compilers.
   7128   # On the NeXT, cc -E runs the code through the compiler's parser,
   7129   # not just through cpp. "Syntax error" is here to catch this case.
   7130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7131 /* end confdefs.h.  */
   7132 #ifdef __STDC__
   7133 # include <limits.h>
   7134 #else
   7135 # include <assert.h>
   7136 #endif
   7137 		     Syntax error
   7138 _ACEOF
   7139 if ac_fn_c_try_cpp "$LINENO"; then :
   7140 
   7141 else
   7142   # Broken: fails on valid input.
   7143 continue
   7144 fi
   7145 rm -f conftest.err conftest.i conftest.$ac_ext
   7146 
   7147   # OK, works on sane cases.  Now check whether nonexistent headers
   7148   # can be detected and how.
   7149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7150 /* end confdefs.h.  */
   7151 #include <ac_nonexistent.h>
   7152 _ACEOF
   7153 if ac_fn_c_try_cpp "$LINENO"; then :
   7154   # Broken: success on invalid input.
   7155 continue
   7156 else
   7157   # Passes both tests.
   7158 ac_preproc_ok=:
   7159 break
   7160 fi
   7161 rm -f conftest.err conftest.i conftest.$ac_ext
   7162 
   7163 done
   7164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7165 rm -f conftest.i conftest.err conftest.$ac_ext
   7166 if $ac_preproc_ok; then :
   7167 
   7168 else
   7169   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7171 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7172 See \`config.log' for more details" "$LINENO" 5; }
   7173 fi
   7174 
   7175 ac_ext=c
   7176 ac_cpp='$CPP $CPPFLAGS'
   7177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7180 
   7181 
   7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7183 $as_echo_n "checking for ANSI C header files... " >&6; }
   7184 if ${ac_cv_header_stdc+:} false; then :
   7185   $as_echo_n "(cached) " >&6
   7186 else
   7187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7188 /* end confdefs.h.  */
   7189 #include <stdlib.h>
   7190 #include <stdarg.h>
   7191 #include <string.h>
   7192 #include <float.h>
   7193 
   7194 int
   7195 main ()
   7196 {
   7197 
   7198   ;
   7199   return 0;
   7200 }
   7201 _ACEOF
   7202 if ac_fn_c_try_compile "$LINENO"; then :
   7203   ac_cv_header_stdc=yes
   7204 else
   7205   ac_cv_header_stdc=no
   7206 fi
   7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7208 
   7209 if test $ac_cv_header_stdc = yes; then
   7210   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7212 /* end confdefs.h.  */
   7213 #include <string.h>
   7214 
   7215 _ACEOF
   7216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7217   $EGREP "memchr" >/dev/null 2>&1; then :
   7218 
   7219 else
   7220   ac_cv_header_stdc=no
   7221 fi
   7222 rm -f conftest*
   7223 
   7224 fi
   7225 
   7226 if test $ac_cv_header_stdc = yes; then
   7227   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7229 /* end confdefs.h.  */
   7230 #include <stdlib.h>
   7231 
   7232 _ACEOF
   7233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7234   $EGREP "free" >/dev/null 2>&1; then :
   7235 
   7236 else
   7237   ac_cv_header_stdc=no
   7238 fi
   7239 rm -f conftest*
   7240 
   7241 fi
   7242 
   7243 if test $ac_cv_header_stdc = yes; then
   7244   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7245   if test "$cross_compiling" = yes; then :
   7246   :
   7247 else
   7248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7249 /* end confdefs.h.  */
   7250 #include <ctype.h>
   7251 #include <stdlib.h>
   7252 #if ((' ' & 0x0FF) == 0x020)
   7253 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7254 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7255 #else
   7256 # define ISLOWER(c) \
   7257 		   (('a' <= (c) && (c) <= 'i') \
   7258 		     || ('j' <= (c) && (c) <= 'r') \
   7259 		     || ('s' <= (c) && (c) <= 'z'))
   7260 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7261 #endif
   7262 
   7263 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7264 int
   7265 main ()
   7266 {
   7267   int i;
   7268   for (i = 0; i < 256; i++)
   7269     if (XOR (islower (i), ISLOWER (i))
   7270 	|| toupper (i) != TOUPPER (i))
   7271       return 2;
   7272   return 0;
   7273 }
   7274 _ACEOF
   7275 if ac_fn_c_try_run "$LINENO"; then :
   7276 
   7277 else
   7278   ac_cv_header_stdc=no
   7279 fi
   7280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7281   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7282 fi
   7283 
   7284 fi
   7285 fi
   7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7287 $as_echo "$ac_cv_header_stdc" >&6; }
   7288 if test $ac_cv_header_stdc = yes; then
   7289 
   7290 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7291 
   7292 fi
   7293 
   7294 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7295 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7296 		  inttypes.h stdint.h unistd.h
   7297 do :
   7298   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7299 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7300 "
   7301 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7302   cat >>confdefs.h <<_ACEOF
   7303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7304 _ACEOF
   7305 
   7306 fi
   7307 
   7308 done
   7309 
   7310 
   7311 for ac_header in dlfcn.h
   7312 do :
   7313   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7314 "
   7315 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7316   cat >>confdefs.h <<_ACEOF
   7317 #define HAVE_DLFCN_H 1
   7318 _ACEOF
   7319 
   7320 fi
   7321 
   7322 done
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 # Set options
   7329 
   7330 
   7331 
   7332         enable_dlopen=no
   7333 
   7334 
   7335   enable_win32_dll=no
   7336 
   7337 
   7338             # Check whether --enable-shared was given.
   7339 if test "${enable_shared+set}" = set; then :
   7340   enableval=$enable_shared; p=${PACKAGE-default}
   7341     case $enableval in
   7342     yes) enable_shared=yes ;;
   7343     no) enable_shared=no ;;
   7344     *)
   7345       enable_shared=no
   7346       # Look at the argument we got.  We use all the common list separators.
   7347       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7348       for pkg in $enableval; do
   7349 	IFS="$lt_save_ifs"
   7350 	if test "X$pkg" = "X$p"; then
   7351 	  enable_shared=yes
   7352 	fi
   7353       done
   7354       IFS="$lt_save_ifs"
   7355       ;;
   7356     esac
   7357 else
   7358   enable_shared=yes
   7359 fi
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369   # Check whether --enable-static was given.
   7370 if test "${enable_static+set}" = set; then :
   7371   enableval=$enable_static; p=${PACKAGE-default}
   7372     case $enableval in
   7373     yes) enable_static=yes ;;
   7374     no) enable_static=no ;;
   7375     *)
   7376      enable_static=no
   7377       # Look at the argument we got.  We use all the common list separators.
   7378       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7379       for pkg in $enableval; do
   7380 	IFS="$lt_save_ifs"
   7381 	if test "X$pkg" = "X$p"; then
   7382 	  enable_static=yes
   7383 	fi
   7384       done
   7385       IFS="$lt_save_ifs"
   7386       ;;
   7387     esac
   7388 else
   7389   enable_static=yes
   7390 fi
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 # Check whether --with-pic was given.
   7402 if test "${with_pic+set}" = set; then :
   7403   withval=$with_pic; lt_p=${PACKAGE-default}
   7404     case $withval in
   7405     yes|no) pic_mode=$withval ;;
   7406     *)
   7407       pic_mode=default
   7408       # Look at the argument we got.  We use all the common list separators.
   7409       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7410       for lt_pkg in $withval; do
   7411 	IFS="$lt_save_ifs"
   7412 	if test "X$lt_pkg" = "X$lt_p"; then
   7413 	  pic_mode=yes
   7414 	fi
   7415       done
   7416       IFS="$lt_save_ifs"
   7417       ;;
   7418     esac
   7419 else
   7420   pic_mode=default
   7421 fi
   7422 
   7423 
   7424 test -z "$pic_mode" && pic_mode=default
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432   # Check whether --enable-fast-install was given.
   7433 if test "${enable_fast_install+set}" = set; then :
   7434   enableval=$enable_fast_install; p=${PACKAGE-default}
   7435     case $enableval in
   7436     yes) enable_fast_install=yes ;;
   7437     no) enable_fast_install=no ;;
   7438     *)
   7439       enable_fast_install=no
   7440       # Look at the argument we got.  We use all the common list separators.
   7441       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7442       for pkg in $enableval; do
   7443 	IFS="$lt_save_ifs"
   7444 	if test "X$pkg" = "X$p"; then
   7445 	  enable_fast_install=yes
   7446 	fi
   7447       done
   7448       IFS="$lt_save_ifs"
   7449       ;;
   7450     esac
   7451 else
   7452   enable_fast_install=yes
   7453 fi
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 # This can be used to rebuild libtool when needed
   7466 LIBTOOL_DEPS="$ltmain"
   7467 
   7468 # Always use our own libtool.
   7469 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 test -z "$LN_S" && LN_S="ln -s"
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 if test -n "${ZSH_VERSION+set}" ; then
   7516    setopt NO_GLOB_SUBST
   7517 fi
   7518 
   7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7520 $as_echo_n "checking for objdir... " >&6; }
   7521 if ${lt_cv_objdir+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   rm -f .libs 2>/dev/null
   7525 mkdir .libs 2>/dev/null
   7526 if test -d .libs; then
   7527   lt_cv_objdir=.libs
   7528 else
   7529   # MS-DOS does not allow filenames that begin with a dot.
   7530   lt_cv_objdir=_libs
   7531 fi
   7532 rmdir .libs 2>/dev/null
   7533 fi
   7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7535 $as_echo "$lt_cv_objdir" >&6; }
   7536 objdir=$lt_cv_objdir
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 cat >>confdefs.h <<_ACEOF
   7543 #define LT_OBJDIR "$lt_cv_objdir/"
   7544 _ACEOF
   7545 
   7546 
   7547 
   7548 
   7549 case $host_os in
   7550 aix3*)
   7551   # AIX sometimes has problems with the GCC collect2 program.  For some
   7552   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7553   # vanish in a puff of smoke.
   7554   if test "X${COLLECT_NAMES+set}" != Xset; then
   7555     COLLECT_NAMES=
   7556     export COLLECT_NAMES
   7557   fi
   7558   ;;
   7559 esac
   7560 
   7561 # Global variables:
   7562 ofile=libtool
   7563 can_build_shared=yes
   7564 
   7565 # All known linkers require a `.a' archive for static linking (except MSVC,
   7566 # which needs '.lib').
   7567 libext=a
   7568 
   7569 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7570 
   7571 old_CC="$CC"
   7572 old_CFLAGS="$CFLAGS"
   7573 
   7574 # Set sane defaults for various variables
   7575 test -z "$CC" && CC=cc
   7576 test -z "$LTCC" && LTCC=$CC
   7577 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7578 test -z "$LD" && LD=ld
   7579 test -z "$ac_objext" && ac_objext=o
   7580 
   7581 for cc_temp in $compiler""; do
   7582   case $cc_temp in
   7583     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7584     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7585     \-*) ;;
   7586     *) break;;
   7587   esac
   7588 done
   7589 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7590 
   7591 
   7592 # Only perform the check for file, if the check method requires it
   7593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7594 case $deplibs_check_method in
   7595 file_magic*)
   7596   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7598 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7599 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7600   $as_echo_n "(cached) " >&6
   7601 else
   7602   case $MAGIC_CMD in
   7603 [\\/*] |  ?:[\\/]*)
   7604   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7605   ;;
   7606 *)
   7607   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7608   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7609   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7610   for ac_dir in $ac_dummy; do
   7611     IFS="$lt_save_ifs"
   7612     test -z "$ac_dir" && ac_dir=.
   7613     if test -f $ac_dir/${ac_tool_prefix}file; then
   7614       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7615       if test -n "$file_magic_test_file"; then
   7616 	case $deplibs_check_method in
   7617 	"file_magic "*)
   7618 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7619 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7620 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7621 	    $EGREP "$file_magic_regex" > /dev/null; then
   7622 	    :
   7623 	  else
   7624 	    cat <<_LT_EOF 1>&2
   7625 
   7626 *** Warning: the command libtool uses to detect shared libraries,
   7627 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7628 *** The result is that libtool may fail to recognize shared libraries
   7629 *** as such.  This will affect the creation of libtool libraries that
   7630 *** depend on shared libraries, but programs linked with such libtool
   7631 *** libraries will work regardless of this problem.  Nevertheless, you
   7632 *** may want to report the problem to your system manager and/or to
   7633 *** bug-libtool@gnu.org
   7634 
   7635 _LT_EOF
   7636 	  fi ;;
   7637 	esac
   7638       fi
   7639       break
   7640     fi
   7641   done
   7642   IFS="$lt_save_ifs"
   7643   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7644   ;;
   7645 esac
   7646 fi
   7647 
   7648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7649 if test -n "$MAGIC_CMD"; then
   7650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7651 $as_echo "$MAGIC_CMD" >&6; }
   7652 else
   7653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7654 $as_echo "no" >&6; }
   7655 fi
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7662   if test -n "$ac_tool_prefix"; then
   7663     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7664 $as_echo_n "checking for file... " >&6; }
   7665 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7666   $as_echo_n "(cached) " >&6
   7667 else
   7668   case $MAGIC_CMD in
   7669 [\\/*] |  ?:[\\/]*)
   7670   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7671   ;;
   7672 *)
   7673   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7674   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7675   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7676   for ac_dir in $ac_dummy; do
   7677     IFS="$lt_save_ifs"
   7678     test -z "$ac_dir" && ac_dir=.
   7679     if test -f $ac_dir/file; then
   7680       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7681       if test -n "$file_magic_test_file"; then
   7682 	case $deplibs_check_method in
   7683 	"file_magic "*)
   7684 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7685 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7686 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7687 	    $EGREP "$file_magic_regex" > /dev/null; then
   7688 	    :
   7689 	  else
   7690 	    cat <<_LT_EOF 1>&2
   7691 
   7692 *** Warning: the command libtool uses to detect shared libraries,
   7693 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7694 *** The result is that libtool may fail to recognize shared libraries
   7695 *** as such.  This will affect the creation of libtool libraries that
   7696 *** depend on shared libraries, but programs linked with such libtool
   7697 *** libraries will work regardless of this problem.  Nevertheless, you
   7698 *** may want to report the problem to your system manager and/or to
   7699 *** bug-libtool@gnu.org
   7700 
   7701 _LT_EOF
   7702 	  fi ;;
   7703 	esac
   7704       fi
   7705       break
   7706     fi
   7707   done
   7708   IFS="$lt_save_ifs"
   7709   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7710   ;;
   7711 esac
   7712 fi
   7713 
   7714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7715 if test -n "$MAGIC_CMD"; then
   7716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7717 $as_echo "$MAGIC_CMD" >&6; }
   7718 else
   7719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7720 $as_echo "no" >&6; }
   7721 fi
   7722 
   7723 
   7724   else
   7725     MAGIC_CMD=:
   7726   fi
   7727 fi
   7728 
   7729   fi
   7730   ;;
   7731 esac
   7732 
   7733 # Use C for the default configuration in the libtool script
   7734 
   7735 lt_save_CC="$CC"
   7736 ac_ext=c
   7737 ac_cpp='$CPP $CPPFLAGS'
   7738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7741 
   7742 
   7743 # Source file extension for C test sources.
   7744 ac_ext=c
   7745 
   7746 # Object file extension for compiled C test sources.
   7747 objext=o
   7748 objext=$objext
   7749 
   7750 # Code to be used in simple compile tests
   7751 lt_simple_compile_test_code="int some_variable = 0;"
   7752 
   7753 # Code to be used in simple link tests
   7754 lt_simple_link_test_code='int main(){return(0);}'
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 # If no C compiler was specified, use CC.
   7763 LTCC=${LTCC-"$CC"}
   7764 
   7765 # If no C compiler flags were specified, use CFLAGS.
   7766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7767 
   7768 # Allow CC to be a program name with arguments.
   7769 compiler=$CC
   7770 
   7771 # Save the default compiler, since it gets overwritten when the other
   7772 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7773 compiler_DEFAULT=$CC
   7774 
   7775 # save warnings/boilerplate of simple test code
   7776 ac_outfile=conftest.$ac_objext
   7777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7779 _lt_compiler_boilerplate=`cat conftest.err`
   7780 $RM conftest*
   7781 
   7782 ac_outfile=conftest.$ac_objext
   7783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7785 _lt_linker_boilerplate=`cat conftest.err`
   7786 $RM -r conftest*
   7787 
   7788 
   7789 if test -n "$compiler"; then
   7790 
   7791 lt_prog_compiler_no_builtin_flag=
   7792 
   7793 if test "$GCC" = yes; then
   7794   case $cc_basename in
   7795   nvcc*)
   7796     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7797   *)
   7798     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7799   esac
   7800 
   7801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7802 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7803 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7804   $as_echo_n "(cached) " >&6
   7805 else
   7806   lt_cv_prog_compiler_rtti_exceptions=no
   7807    ac_outfile=conftest.$ac_objext
   7808    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7809    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7810    # Insert the option either (1) after the last *FLAGS variable, or
   7811    # (2) before a word containing "conftest.", or (3) at the end.
   7812    # Note that $ac_compile itself does not contain backslashes and begins
   7813    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7814    # The option is referenced via a variable to avoid confusing sed.
   7815    lt_compile=`echo "$ac_compile" | $SED \
   7816    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7817    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7818    -e 's:$: $lt_compiler_flag:'`
   7819    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7820    (eval "$lt_compile" 2>conftest.err)
   7821    ac_status=$?
   7822    cat conftest.err >&5
   7823    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7824    if (exit $ac_status) && test -s "$ac_outfile"; then
   7825      # The compiler can only warn and ignore the option if not recognized
   7826      # So say no if there are warnings other than the usual output.
   7827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7828      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7829      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7830        lt_cv_prog_compiler_rtti_exceptions=yes
   7831      fi
   7832    fi
   7833    $RM conftest*
   7834 
   7835 fi
   7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7837 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7838 
   7839 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7840     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7841 else
   7842     :
   7843 fi
   7844 
   7845 fi
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852   lt_prog_compiler_wl=
   7853 lt_prog_compiler_pic=
   7854 lt_prog_compiler_static=
   7855 
   7856 
   7857   if test "$GCC" = yes; then
   7858     lt_prog_compiler_wl='-Wl,'
   7859     lt_prog_compiler_static='-static'
   7860 
   7861     case $host_os in
   7862       aix*)
   7863       # All AIX code is PIC.
   7864       if test "$host_cpu" = ia64; then
   7865 	# AIX 5 now supports IA64 processor
   7866 	lt_prog_compiler_static='-Bstatic'
   7867       fi
   7868       ;;
   7869 
   7870     amigaos*)
   7871       case $host_cpu in
   7872       powerpc)
   7873             # see comment about AmigaOS4 .so support
   7874             lt_prog_compiler_pic='-fPIC'
   7875         ;;
   7876       m68k)
   7877             # FIXME: we need at least 68020 code to build shared libraries, but
   7878             # adding the `-m68020' flag to GCC prevents building anything better,
   7879             # like `-m68040'.
   7880             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7881         ;;
   7882       esac
   7883       ;;
   7884 
   7885     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7886       # PIC is the default for these OSes.
   7887       ;;
   7888 
   7889     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7890       # This hack is so that the source file can tell whether it is being
   7891       # built for inclusion in a dll (and should export symbols for example).
   7892       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7893       # (--disable-auto-import) libraries
   7894       lt_prog_compiler_pic='-DDLL_EXPORT'
   7895       ;;
   7896 
   7897     darwin* | rhapsody*)
   7898       # PIC is the default on this platform
   7899       # Common symbols not allowed in MH_DYLIB files
   7900       lt_prog_compiler_pic='-fno-common'
   7901       ;;
   7902 
   7903     haiku*)
   7904       # PIC is the default for Haiku.
   7905       # The "-static" flag exists, but is broken.
   7906       lt_prog_compiler_static=
   7907       ;;
   7908 
   7909     hpux*)
   7910       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7911       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7912       # sets the default TLS model and affects inlining.
   7913       case $host_cpu in
   7914       hppa*64*)
   7915 	# +Z the default
   7916 	;;
   7917       *)
   7918 	lt_prog_compiler_pic='-fPIC'
   7919 	;;
   7920       esac
   7921       ;;
   7922 
   7923     interix[3-9]*)
   7924       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7925       # Instead, we relocate shared libraries at runtime.
   7926       ;;
   7927 
   7928     msdosdjgpp*)
   7929       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7930       # on systems that don't support them.
   7931       lt_prog_compiler_can_build_shared=no
   7932       enable_shared=no
   7933       ;;
   7934 
   7935     *nto* | *qnx*)
   7936       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7937       # it will coredump.
   7938       lt_prog_compiler_pic='-fPIC -shared'
   7939       ;;
   7940 
   7941     sysv4*MP*)
   7942       if test -d /usr/nec; then
   7943 	lt_prog_compiler_pic=-Kconform_pic
   7944       fi
   7945       ;;
   7946 
   7947     *)
   7948       lt_prog_compiler_pic='-fPIC'
   7949       ;;
   7950     esac
   7951 
   7952     case $cc_basename in
   7953     nvcc*) # Cuda Compiler Driver 2.2
   7954       lt_prog_compiler_wl='-Xlinker '
   7955       if test -n "$lt_prog_compiler_pic"; then
   7956         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7957       fi
   7958       ;;
   7959     esac
   7960   else
   7961     # PORTME Check for flag to pass linker flags through the system compiler.
   7962     case $host_os in
   7963     aix*)
   7964       lt_prog_compiler_wl='-Wl,'
   7965       if test "$host_cpu" = ia64; then
   7966 	# AIX 5 now supports IA64 processor
   7967 	lt_prog_compiler_static='-Bstatic'
   7968       else
   7969 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7970       fi
   7971       ;;
   7972 
   7973     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7974       # This hack is so that the source file can tell whether it is being
   7975       # built for inclusion in a dll (and should export symbols for example).
   7976       lt_prog_compiler_pic='-DDLL_EXPORT'
   7977       ;;
   7978 
   7979     hpux9* | hpux10* | hpux11*)
   7980       lt_prog_compiler_wl='-Wl,'
   7981       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7982       # not for PA HP-UX.
   7983       case $host_cpu in
   7984       hppa*64*|ia64*)
   7985 	# +Z the default
   7986 	;;
   7987       *)
   7988 	lt_prog_compiler_pic='+Z'
   7989 	;;
   7990       esac
   7991       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7992       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7993       ;;
   7994 
   7995     irix5* | irix6* | nonstopux*)
   7996       lt_prog_compiler_wl='-Wl,'
   7997       # PIC (with -KPIC) is the default.
   7998       lt_prog_compiler_static='-non_shared'
   7999       ;;
   8000 
   8001     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8002       case $cc_basename in
   8003       # old Intel for x86_64 which still supported -KPIC.
   8004       ecc*)
   8005 	lt_prog_compiler_wl='-Wl,'
   8006 	lt_prog_compiler_pic='-KPIC'
   8007 	lt_prog_compiler_static='-static'
   8008         ;;
   8009       # icc used to be incompatible with GCC.
   8010       # ICC 10 doesn't accept -KPIC any more.
   8011       icc* | ifort*)
   8012 	lt_prog_compiler_wl='-Wl,'
   8013 	lt_prog_compiler_pic='-fPIC'
   8014 	lt_prog_compiler_static='-static'
   8015         ;;
   8016       # Lahey Fortran 8.1.
   8017       lf95*)
   8018 	lt_prog_compiler_wl='-Wl,'
   8019 	lt_prog_compiler_pic='--shared'
   8020 	lt_prog_compiler_static='--static'
   8021 	;;
   8022       nagfor*)
   8023 	# NAG Fortran compiler
   8024 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8025 	lt_prog_compiler_pic='-PIC'
   8026 	lt_prog_compiler_static='-Bstatic'
   8027 	;;
   8028       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8029         # Portland Group compilers (*not* the Pentium gcc compiler,
   8030 	# which looks to be a dead project)
   8031 	lt_prog_compiler_wl='-Wl,'
   8032 	lt_prog_compiler_pic='-fpic'
   8033 	lt_prog_compiler_static='-Bstatic'
   8034         ;;
   8035       ccc*)
   8036         lt_prog_compiler_wl='-Wl,'
   8037         # All Alpha code is PIC.
   8038         lt_prog_compiler_static='-non_shared'
   8039         ;;
   8040       xl* | bgxl* | bgf* | mpixl*)
   8041 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8042 	lt_prog_compiler_wl='-Wl,'
   8043 	lt_prog_compiler_pic='-qpic'
   8044 	lt_prog_compiler_static='-qstaticlink'
   8045 	;;
   8046       *)
   8047 	case `$CC -V 2>&1 | sed 5q` in
   8048 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8049 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8050 	  lt_prog_compiler_pic='-KPIC'
   8051 	  lt_prog_compiler_static='-Bstatic'
   8052 	  lt_prog_compiler_wl=''
   8053 	  ;;
   8054 	*Sun\ F* | *Sun*Fortran*)
   8055 	  lt_prog_compiler_pic='-KPIC'
   8056 	  lt_prog_compiler_static='-Bstatic'
   8057 	  lt_prog_compiler_wl='-Qoption ld '
   8058 	  ;;
   8059 	*Sun\ C*)
   8060 	  # Sun C 5.9
   8061 	  lt_prog_compiler_pic='-KPIC'
   8062 	  lt_prog_compiler_static='-Bstatic'
   8063 	  lt_prog_compiler_wl='-Wl,'
   8064 	  ;;
   8065         *Intel*\ [CF]*Compiler*)
   8066 	  lt_prog_compiler_wl='-Wl,'
   8067 	  lt_prog_compiler_pic='-fPIC'
   8068 	  lt_prog_compiler_static='-static'
   8069 	  ;;
   8070 	*Portland\ Group*)
   8071 	  lt_prog_compiler_wl='-Wl,'
   8072 	  lt_prog_compiler_pic='-fpic'
   8073 	  lt_prog_compiler_static='-Bstatic'
   8074 	  ;;
   8075 	esac
   8076 	;;
   8077       esac
   8078       ;;
   8079 
   8080     newsos6)
   8081       lt_prog_compiler_pic='-KPIC'
   8082       lt_prog_compiler_static='-Bstatic'
   8083       ;;
   8084 
   8085     *nto* | *qnx*)
   8086       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8087       # it will coredump.
   8088       lt_prog_compiler_pic='-fPIC -shared'
   8089       ;;
   8090 
   8091     osf3* | osf4* | osf5*)
   8092       lt_prog_compiler_wl='-Wl,'
   8093       # All OSF/1 code is PIC.
   8094       lt_prog_compiler_static='-non_shared'
   8095       ;;
   8096 
   8097     rdos*)
   8098       lt_prog_compiler_static='-non_shared'
   8099       ;;
   8100 
   8101     solaris*)
   8102       lt_prog_compiler_pic='-KPIC'
   8103       lt_prog_compiler_static='-Bstatic'
   8104       case $cc_basename in
   8105       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8106 	lt_prog_compiler_wl='-Qoption ld ';;
   8107       *)
   8108 	lt_prog_compiler_wl='-Wl,';;
   8109       esac
   8110       ;;
   8111 
   8112     sunos4*)
   8113       lt_prog_compiler_wl='-Qoption ld '
   8114       lt_prog_compiler_pic='-PIC'
   8115       lt_prog_compiler_static='-Bstatic'
   8116       ;;
   8117 
   8118     sysv4 | sysv4.2uw2* | sysv4.3*)
   8119       lt_prog_compiler_wl='-Wl,'
   8120       lt_prog_compiler_pic='-KPIC'
   8121       lt_prog_compiler_static='-Bstatic'
   8122       ;;
   8123 
   8124     sysv4*MP*)
   8125       if test -d /usr/nec ;then
   8126 	lt_prog_compiler_pic='-Kconform_pic'
   8127 	lt_prog_compiler_static='-Bstatic'
   8128       fi
   8129       ;;
   8130 
   8131     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8132       lt_prog_compiler_wl='-Wl,'
   8133       lt_prog_compiler_pic='-KPIC'
   8134       lt_prog_compiler_static='-Bstatic'
   8135       ;;
   8136 
   8137     unicos*)
   8138       lt_prog_compiler_wl='-Wl,'
   8139       lt_prog_compiler_can_build_shared=no
   8140       ;;
   8141 
   8142     uts4*)
   8143       lt_prog_compiler_pic='-pic'
   8144       lt_prog_compiler_static='-Bstatic'
   8145       ;;
   8146 
   8147     *)
   8148       lt_prog_compiler_can_build_shared=no
   8149       ;;
   8150     esac
   8151   fi
   8152 
   8153 case $host_os in
   8154   # For platforms which do not support PIC, -DPIC is meaningless:
   8155   *djgpp*)
   8156     lt_prog_compiler_pic=
   8157     ;;
   8158   *)
   8159     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8160     ;;
   8161 esac
   8162 
   8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8165 if ${lt_cv_prog_compiler_pic+:} false; then :
   8166   $as_echo_n "(cached) " >&6
   8167 else
   8168   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8169 fi
   8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8171 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8172 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8173 
   8174 #
   8175 # Check to make sure the PIC flag actually works.
   8176 #
   8177 if test -n "$lt_prog_compiler_pic"; then
   8178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8179 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8180 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8181   $as_echo_n "(cached) " >&6
   8182 else
   8183   lt_cv_prog_compiler_pic_works=no
   8184    ac_outfile=conftest.$ac_objext
   8185    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8186    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8187    # Insert the option either (1) after the last *FLAGS variable, or
   8188    # (2) before a word containing "conftest.", or (3) at the end.
   8189    # Note that $ac_compile itself does not contain backslashes and begins
   8190    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8191    # The option is referenced via a variable to avoid confusing sed.
   8192    lt_compile=`echo "$ac_compile" | $SED \
   8193    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8194    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8195    -e 's:$: $lt_compiler_flag:'`
   8196    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8197    (eval "$lt_compile" 2>conftest.err)
   8198    ac_status=$?
   8199    cat conftest.err >&5
   8200    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8201    if (exit $ac_status) && test -s "$ac_outfile"; then
   8202      # The compiler can only warn and ignore the option if not recognized
   8203      # So say no if there are warnings other than the usual output.
   8204      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8205      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8206      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8207        lt_cv_prog_compiler_pic_works=yes
   8208      fi
   8209    fi
   8210    $RM conftest*
   8211 
   8212 fi
   8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8214 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8215 
   8216 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8217     case $lt_prog_compiler_pic in
   8218      "" | " "*) ;;
   8219      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8220      esac
   8221 else
   8222     lt_prog_compiler_pic=
   8223      lt_prog_compiler_can_build_shared=no
   8224 fi
   8225 
   8226 fi
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 #
   8239 # Check to make sure the static flag actually works.
   8240 #
   8241 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8243 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8244 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8245   $as_echo_n "(cached) " >&6
   8246 else
   8247   lt_cv_prog_compiler_static_works=no
   8248    save_LDFLAGS="$LDFLAGS"
   8249    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8250    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8251    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8252      # The linker can only warn and ignore the option if not recognized
   8253      # So say no if there are warnings
   8254      if test -s conftest.err; then
   8255        # Append any errors to the config.log.
   8256        cat conftest.err 1>&5
   8257        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8258        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8259        if diff conftest.exp conftest.er2 >/dev/null; then
   8260          lt_cv_prog_compiler_static_works=yes
   8261        fi
   8262      else
   8263        lt_cv_prog_compiler_static_works=yes
   8264      fi
   8265    fi
   8266    $RM -r conftest*
   8267    LDFLAGS="$save_LDFLAGS"
   8268 
   8269 fi
   8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8271 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8272 
   8273 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8274     :
   8275 else
   8276     lt_prog_compiler_static=
   8277 fi
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8286 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8287 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8288   $as_echo_n "(cached) " >&6
   8289 else
   8290   lt_cv_prog_compiler_c_o=no
   8291    $RM -r conftest 2>/dev/null
   8292    mkdir conftest
   8293    cd conftest
   8294    mkdir out
   8295    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8296 
   8297    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8298    # Insert the option either (1) after the last *FLAGS variable, or
   8299    # (2) before a word containing "conftest.", or (3) at the end.
   8300    # Note that $ac_compile itself does not contain backslashes and begins
   8301    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8302    lt_compile=`echo "$ac_compile" | $SED \
   8303    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8304    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8305    -e 's:$: $lt_compiler_flag:'`
   8306    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8307    (eval "$lt_compile" 2>out/conftest.err)
   8308    ac_status=$?
   8309    cat out/conftest.err >&5
   8310    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8311    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8312    then
   8313      # The compiler can only warn and ignore the option if not recognized
   8314      # So say no if there are warnings
   8315      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8316      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8317      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8318        lt_cv_prog_compiler_c_o=yes
   8319      fi
   8320    fi
   8321    chmod u+w . 2>&5
   8322    $RM conftest*
   8323    # SGI C++ compiler will create directory out/ii_files/ for
   8324    # template instantiation
   8325    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8326    $RM out/* && rmdir out
   8327    cd ..
   8328    $RM -r conftest
   8329    $RM conftest*
   8330 
   8331 fi
   8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8333 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8341 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8342 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   lt_cv_prog_compiler_c_o=no
   8346    $RM -r conftest 2>/dev/null
   8347    mkdir conftest
   8348    cd conftest
   8349    mkdir out
   8350    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8351 
   8352    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8353    # Insert the option either (1) after the last *FLAGS variable, or
   8354    # (2) before a word containing "conftest.", or (3) at the end.
   8355    # Note that $ac_compile itself does not contain backslashes and begins
   8356    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8357    lt_compile=`echo "$ac_compile" | $SED \
   8358    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8359    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8360    -e 's:$: $lt_compiler_flag:'`
   8361    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8362    (eval "$lt_compile" 2>out/conftest.err)
   8363    ac_status=$?
   8364    cat out/conftest.err >&5
   8365    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8366    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8367    then
   8368      # The compiler can only warn and ignore the option if not recognized
   8369      # So say no if there are warnings
   8370      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8371      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8372      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8373        lt_cv_prog_compiler_c_o=yes
   8374      fi
   8375    fi
   8376    chmod u+w . 2>&5
   8377    $RM conftest*
   8378    # SGI C++ compiler will create directory out/ii_files/ for
   8379    # template instantiation
   8380    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8381    $RM out/* && rmdir out
   8382    cd ..
   8383    $RM -r conftest
   8384    $RM conftest*
   8385 
   8386 fi
   8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8388 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8389 
   8390 
   8391 
   8392 
   8393 hard_links="nottested"
   8394 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8395   # do not overwrite the value of need_locks provided by the user
   8396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8397 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8398   hard_links=yes
   8399   $RM conftest*
   8400   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8401   touch conftest.a
   8402   ln conftest.a conftest.b 2>&5 || hard_links=no
   8403   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8405 $as_echo "$hard_links" >&6; }
   8406   if test "$hard_links" = no; then
   8407     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8408 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8409     need_locks=warn
   8410   fi
   8411 else
   8412   need_locks=no
   8413 fi
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8421 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8422 
   8423   runpath_var=
   8424   allow_undefined_flag=
   8425   always_export_symbols=no
   8426   archive_cmds=
   8427   archive_expsym_cmds=
   8428   compiler_needs_object=no
   8429   enable_shared_with_static_runtimes=no
   8430   export_dynamic_flag_spec=
   8431   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8432   hardcode_automatic=no
   8433   hardcode_direct=no
   8434   hardcode_direct_absolute=no
   8435   hardcode_libdir_flag_spec=
   8436   hardcode_libdir_separator=
   8437   hardcode_minus_L=no
   8438   hardcode_shlibpath_var=unsupported
   8439   inherit_rpath=no
   8440   link_all_deplibs=unknown
   8441   module_cmds=
   8442   module_expsym_cmds=
   8443   old_archive_from_new_cmds=
   8444   old_archive_from_expsyms_cmds=
   8445   thread_safe_flag_spec=
   8446   whole_archive_flag_spec=
   8447   # include_expsyms should be a list of space-separated symbols to be *always*
   8448   # included in the symbol list
   8449   include_expsyms=
   8450   # exclude_expsyms can be an extended regexp of symbols to exclude
   8451   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8452   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8453   # as well as any symbol that contains `d'.
   8454   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8455   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8456   # platforms (ab)use it in PIC code, but their linkers get confused if
   8457   # the symbol is explicitly referenced.  Since portable code cannot
   8458   # rely on this symbol name, it's probably fine to never include it in
   8459   # preloaded symbol tables.
   8460   # Exclude shared library initialization/finalization symbols.
   8461   extract_expsyms_cmds=
   8462 
   8463   case $host_os in
   8464   cygwin* | mingw* | pw32* | cegcc*)
   8465     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8466     # When not using gcc, we currently assume that we are using
   8467     # Microsoft Visual C++.
   8468     if test "$GCC" != yes; then
   8469       with_gnu_ld=no
   8470     fi
   8471     ;;
   8472   interix*)
   8473     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8474     with_gnu_ld=yes
   8475     ;;
   8476   openbsd*)
   8477     with_gnu_ld=no
   8478     ;;
   8479   esac
   8480 
   8481   ld_shlibs=yes
   8482 
   8483   # On some targets, GNU ld is compatible enough with the native linker
   8484   # that we're better off using the native interface for both.
   8485   lt_use_gnu_ld_interface=no
   8486   if test "$with_gnu_ld" = yes; then
   8487     case $host_os in
   8488       aix*)
   8489 	# The AIX port of GNU ld has always aspired to compatibility
   8490 	# with the native linker.  However, as the warning in the GNU ld
   8491 	# block says, versions before 2.19.5* couldn't really create working
   8492 	# shared libraries, regardless of the interface used.
   8493 	case `$LD -v 2>&1` in
   8494 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8495 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8496 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8497 	  *)
   8498 	    lt_use_gnu_ld_interface=yes
   8499 	    ;;
   8500 	esac
   8501 	;;
   8502       *)
   8503 	lt_use_gnu_ld_interface=yes
   8504 	;;
   8505     esac
   8506   fi
   8507 
   8508   if test "$lt_use_gnu_ld_interface" = yes; then
   8509     # If archive_cmds runs LD, not CC, wlarc should be empty
   8510     wlarc='${wl}'
   8511 
   8512     # Set some defaults for GNU ld with shared library support. These
   8513     # are reset later if shared libraries are not supported. Putting them
   8514     # here allows them to be overridden if necessary.
   8515     runpath_var=LD_RUN_PATH
   8516     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8517     export_dynamic_flag_spec='${wl}--export-dynamic'
   8518     # ancient GNU ld didn't support --whole-archive et. al.
   8519     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8520       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8521     else
   8522       whole_archive_flag_spec=
   8523     fi
   8524     supports_anon_versioning=no
   8525     case `$LD -v 2>&1` in
   8526       *GNU\ gold*) supports_anon_versioning=yes ;;
   8527       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8528       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8529       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8530       *\ 2.11.*) ;; # other 2.11 versions
   8531       *) supports_anon_versioning=yes ;;
   8532     esac
   8533 
   8534     # See if GNU ld supports shared libraries.
   8535     case $host_os in
   8536     aix[3-9]*)
   8537       # On AIX/PPC, the GNU linker is very broken
   8538       if test "$host_cpu" != ia64; then
   8539 	ld_shlibs=no
   8540 	cat <<_LT_EOF 1>&2
   8541 
   8542 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8543 *** to be unable to reliably create shared libraries on AIX.
   8544 *** Therefore, libtool is disabling shared libraries support.  If you
   8545 *** really care for shared libraries, you may want to install binutils
   8546 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8547 *** You will then need to restart the configuration process.
   8548 
   8549 _LT_EOF
   8550       fi
   8551       ;;
   8552 
   8553     amigaos*)
   8554       case $host_cpu in
   8555       powerpc)
   8556             # see comment about AmigaOS4 .so support
   8557             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8558             archive_expsym_cmds=''
   8559         ;;
   8560       m68k)
   8561             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)'
   8562             hardcode_libdir_flag_spec='-L$libdir'
   8563             hardcode_minus_L=yes
   8564         ;;
   8565       esac
   8566       ;;
   8567 
   8568     beos*)
   8569       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8570 	allow_undefined_flag=unsupported
   8571 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8572 	# support --undefined.  This deserves some investigation.  FIXME
   8573 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8574       else
   8575 	ld_shlibs=no
   8576       fi
   8577       ;;
   8578 
   8579     cygwin* | mingw* | pw32* | cegcc*)
   8580       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8581       # as there is no search path for DLLs.
   8582       hardcode_libdir_flag_spec='-L$libdir'
   8583       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8584       allow_undefined_flag=unsupported
   8585       always_export_symbols=no
   8586       enable_shared_with_static_runtimes=yes
   8587       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'
   8588       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8589 
   8590       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8591         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8592 	# If the export-symbols file already is a .def file (1st line
   8593 	# is EXPORTS), use it as is; otherwise, prepend...
   8594 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8595 	  cp $export_symbols $output_objdir/$soname.def;
   8596 	else
   8597 	  echo EXPORTS > $output_objdir/$soname.def;
   8598 	  cat $export_symbols >> $output_objdir/$soname.def;
   8599 	fi~
   8600 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8601       else
   8602 	ld_shlibs=no
   8603       fi
   8604       ;;
   8605 
   8606     haiku*)
   8607       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8608       link_all_deplibs=yes
   8609       ;;
   8610 
   8611     interix[3-9]*)
   8612       hardcode_direct=no
   8613       hardcode_shlibpath_var=no
   8614       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8615       export_dynamic_flag_spec='${wl}-E'
   8616       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8617       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8618       # default) and relocated if they conflict, which is a slow very memory
   8619       # consuming and fragmenting process.  To avoid this, we pick a random,
   8620       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8621       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8622       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8623       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'
   8624       ;;
   8625 
   8626     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8627       tmp_diet=no
   8628       if test "$host_os" = linux-dietlibc; then
   8629 	case $cc_basename in
   8630 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8631 	esac
   8632       fi
   8633       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8634 	 && test "$tmp_diet" = no
   8635       then
   8636 	tmp_addflag=' $pic_flag'
   8637 	tmp_sharedflag='-shared'
   8638 	case $cc_basename,$host_cpu in
   8639         pgcc*)				# Portland Group C compiler
   8640 	  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'
   8641 	  tmp_addflag=' $pic_flag'
   8642 	  ;;
   8643 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8644 					# Portland Group f77 and f90 compilers
   8645 	  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'
   8646 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8647 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8648 	  tmp_addflag=' -i_dynamic' ;;
   8649 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8650 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8651 	ifc* | ifort*)			# Intel Fortran compiler
   8652 	  tmp_addflag=' -nofor_main' ;;
   8653 	lf95*)				# Lahey Fortran 8.1
   8654 	  whole_archive_flag_spec=
   8655 	  tmp_sharedflag='--shared' ;;
   8656 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8657 	  tmp_sharedflag='-qmkshrobj'
   8658 	  tmp_addflag= ;;
   8659 	nvcc*)	# Cuda Compiler Driver 2.2
   8660 	  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'
   8661 	  compiler_needs_object=yes
   8662 	  ;;
   8663 	esac
   8664 	case `$CC -V 2>&1 | sed 5q` in
   8665 	*Sun\ C*)			# Sun C 5.9
   8666 	  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'
   8667 	  compiler_needs_object=yes
   8668 	  tmp_sharedflag='-G' ;;
   8669 	*Sun\ F*)			# Sun Fortran 8.3
   8670 	  tmp_sharedflag='-G' ;;
   8671 	esac
   8672 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8673 
   8674         if test "x$supports_anon_versioning" = xyes; then
   8675           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8676 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8677 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8678 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8679         fi
   8680 
   8681 	case $cc_basename in
   8682 	xlf* | bgf* | bgxlf* | mpixlf*)
   8683 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8684 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8685 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8686 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8687 	  if test "x$supports_anon_versioning" = xyes; then
   8688 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8689 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8690 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8691 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8692 	  fi
   8693 	  ;;
   8694 	esac
   8695       else
   8696         ld_shlibs=no
   8697       fi
   8698       ;;
   8699 
   8700     netbsd*)
   8701       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8702 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8703 	wlarc=
   8704       else
   8705 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8706 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8707       fi
   8708       ;;
   8709 
   8710     solaris*)
   8711       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8712 	ld_shlibs=no
   8713 	cat <<_LT_EOF 1>&2
   8714 
   8715 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8716 *** create shared libraries on Solaris systems.  Therefore, libtool
   8717 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8718 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8719 *** your PATH or compiler configuration so that the native linker is
   8720 *** used, and then restart.
   8721 
   8722 _LT_EOF
   8723       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8724 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8725 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8726       else
   8727 	ld_shlibs=no
   8728       fi
   8729       ;;
   8730 
   8731     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8732       case `$LD -v 2>&1` in
   8733         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8734 	ld_shlibs=no
   8735 	cat <<_LT_EOF 1>&2
   8736 
   8737 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8738 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8739 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8740 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8741 *** your PATH or compiler configuration so that the native linker is
   8742 *** used, and then restart.
   8743 
   8744 _LT_EOF
   8745 	;;
   8746 	*)
   8747 	  # For security reasons, it is highly recommended that you always
   8748 	  # use absolute paths for naming shared libraries, and exclude the
   8749 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8750 	  # requires that you compile everything twice, which is a pain.
   8751 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8752 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8753 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8754 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8755 	  else
   8756 	    ld_shlibs=no
   8757 	  fi
   8758 	;;
   8759       esac
   8760       ;;
   8761 
   8762     sunos4*)
   8763       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8764       wlarc=
   8765       hardcode_direct=yes
   8766       hardcode_shlibpath_var=no
   8767       ;;
   8768 
   8769     *)
   8770       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8771 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8772 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8773       else
   8774 	ld_shlibs=no
   8775       fi
   8776       ;;
   8777     esac
   8778 
   8779     if test "$ld_shlibs" = no; then
   8780       runpath_var=
   8781       hardcode_libdir_flag_spec=
   8782       export_dynamic_flag_spec=
   8783       whole_archive_flag_spec=
   8784     fi
   8785   else
   8786     # PORTME fill in a description of your system's linker (not GNU ld)
   8787     case $host_os in
   8788     aix3*)
   8789       allow_undefined_flag=unsupported
   8790       always_export_symbols=yes
   8791       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'
   8792       # Note: this linker hardcodes the directories in LIBPATH if there
   8793       # are no directories specified by -L.
   8794       hardcode_minus_L=yes
   8795       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8796 	# Neither direct hardcoding nor static linking is supported with a
   8797 	# broken collect2.
   8798 	hardcode_direct=unsupported
   8799       fi
   8800       ;;
   8801 
   8802     aix[4-9]*)
   8803       if test "$host_cpu" = ia64; then
   8804 	# On IA64, the linker does run time linking by default, so we don't
   8805 	# have to do anything special.
   8806 	aix_use_runtimelinking=no
   8807 	exp_sym_flag='-Bexport'
   8808 	no_entry_flag=""
   8809       else
   8810 	# If we're using GNU nm, then we don't want the "-C" option.
   8811 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8812 	# Also, AIX nm treats weak defined symbols like other global
   8813 	# defined symbols, whereas GNU nm marks them as "W".
   8814 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8815 	  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'
   8816 	else
   8817 	  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'
   8818 	fi
   8819 	aix_use_runtimelinking=no
   8820 
   8821 	# Test if we are trying to use run time linking or normal
   8822 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8823 	# need to do runtime linking.
   8824 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8825 	  for ld_flag in $LDFLAGS; do
   8826 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8827 	    aix_use_runtimelinking=yes
   8828 	    break
   8829 	  fi
   8830 	  done
   8831 	  ;;
   8832 	esac
   8833 
   8834 	exp_sym_flag='-bexport'
   8835 	no_entry_flag='-bnoentry'
   8836       fi
   8837 
   8838       # When large executables or shared objects are built, AIX ld can
   8839       # have problems creating the table of contents.  If linking a library
   8840       # or program results in "error TOC overflow" add -mminimal-toc to
   8841       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8842       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8843 
   8844       archive_cmds=''
   8845       hardcode_direct=yes
   8846       hardcode_direct_absolute=yes
   8847       hardcode_libdir_separator=':'
   8848       link_all_deplibs=yes
   8849       file_list_spec='${wl}-f,'
   8850 
   8851       if test "$GCC" = yes; then
   8852 	case $host_os in aix4.[012]|aix4.[012].*)
   8853 	# We only want to do this on AIX 4.2 and lower, the check
   8854 	# below for broken collect2 doesn't work under 4.3+
   8855 	  collect2name=`${CC} -print-prog-name=collect2`
   8856 	  if test -f "$collect2name" &&
   8857 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8858 	  then
   8859 	  # We have reworked collect2
   8860 	  :
   8861 	  else
   8862 	  # We have old collect2
   8863 	  hardcode_direct=unsupported
   8864 	  # It fails to find uninstalled libraries when the uninstalled
   8865 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8866 	  # to unsupported forces relinking
   8867 	  hardcode_minus_L=yes
   8868 	  hardcode_libdir_flag_spec='-L$libdir'
   8869 	  hardcode_libdir_separator=
   8870 	  fi
   8871 	  ;;
   8872 	esac
   8873 	shared_flag='-shared'
   8874 	if test "$aix_use_runtimelinking" = yes; then
   8875 	  shared_flag="$shared_flag "'${wl}-G'
   8876 	fi
   8877       else
   8878 	# not using gcc
   8879 	if test "$host_cpu" = ia64; then
   8880 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8881 	# chokes on -Wl,-G. The following line is correct:
   8882 	  shared_flag='-G'
   8883 	else
   8884 	  if test "$aix_use_runtimelinking" = yes; then
   8885 	    shared_flag='${wl}-G'
   8886 	  else
   8887 	    shared_flag='${wl}-bM:SRE'
   8888 	  fi
   8889 	fi
   8890       fi
   8891 
   8892       export_dynamic_flag_spec='${wl}-bexpall'
   8893       # It seems that -bexpall does not export symbols beginning with
   8894       # underscore (_), so it is better to generate a list of symbols to export.
   8895       always_export_symbols=yes
   8896       if test "$aix_use_runtimelinking" = yes; then
   8897 	# Warning - without using the other runtime loading flags (-brtl),
   8898 	# -berok will link without error, but may produce a broken library.
   8899 	allow_undefined_flag='-berok'
   8900         # Determine the default libpath from the value encoded in an
   8901         # empty executable.
   8902         if test "${lt_cv_aix_libpath+set}" = set; then
   8903   aix_libpath=$lt_cv_aix_libpath
   8904 else
   8905   if ${lt_cv_aix_libpath_+:} false; then :
   8906   $as_echo_n "(cached) " >&6
   8907 else
   8908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8909 /* end confdefs.h.  */
   8910 
   8911 int
   8912 main ()
   8913 {
   8914 
   8915   ;
   8916   return 0;
   8917 }
   8918 _ACEOF
   8919 if ac_fn_c_try_link "$LINENO"; then :
   8920 
   8921   lt_aix_libpath_sed='
   8922       /Import File Strings/,/^$/ {
   8923 	  /^0/ {
   8924 	      s/^0  *\([^ ]*\) *$/\1/
   8925 	      p
   8926 	  }
   8927       }'
   8928   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8929   # Check for a 64-bit object if we didn't find anything.
   8930   if test -z "$lt_cv_aix_libpath_"; then
   8931     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8932   fi
   8933 fi
   8934 rm -f core conftest.err conftest.$ac_objext \
   8935     conftest$ac_exeext conftest.$ac_ext
   8936   if test -z "$lt_cv_aix_libpath_"; then
   8937     lt_cv_aix_libpath_="/usr/lib:/lib"
   8938   fi
   8939 
   8940 fi
   8941 
   8942   aix_libpath=$lt_cv_aix_libpath_
   8943 fi
   8944 
   8945         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8946         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"
   8947       else
   8948 	if test "$host_cpu" = ia64; then
   8949 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8950 	  allow_undefined_flag="-z nodefs"
   8951 	  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"
   8952 	else
   8953 	 # Determine the default libpath from the value encoded in an
   8954 	 # empty executable.
   8955 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8956   aix_libpath=$lt_cv_aix_libpath
   8957 else
   8958   if ${lt_cv_aix_libpath_+:} false; then :
   8959   $as_echo_n "(cached) " >&6
   8960 else
   8961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8962 /* end confdefs.h.  */
   8963 
   8964 int
   8965 main ()
   8966 {
   8967 
   8968   ;
   8969   return 0;
   8970 }
   8971 _ACEOF
   8972 if ac_fn_c_try_link "$LINENO"; then :
   8973 
   8974   lt_aix_libpath_sed='
   8975       /Import File Strings/,/^$/ {
   8976 	  /^0/ {
   8977 	      s/^0  *\([^ ]*\) *$/\1/
   8978 	      p
   8979 	  }
   8980       }'
   8981   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8982   # Check for a 64-bit object if we didn't find anything.
   8983   if test -z "$lt_cv_aix_libpath_"; then
   8984     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8985   fi
   8986 fi
   8987 rm -f core conftest.err conftest.$ac_objext \
   8988     conftest$ac_exeext conftest.$ac_ext
   8989   if test -z "$lt_cv_aix_libpath_"; then
   8990     lt_cv_aix_libpath_="/usr/lib:/lib"
   8991   fi
   8992 
   8993 fi
   8994 
   8995   aix_libpath=$lt_cv_aix_libpath_
   8996 fi
   8997 
   8998 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8999 	  # Warning - without using the other run time loading flags,
   9000 	  # -berok will link without error, but may produce a broken library.
   9001 	  no_undefined_flag=' ${wl}-bernotok'
   9002 	  allow_undefined_flag=' ${wl}-berok'
   9003 	  if test "$with_gnu_ld" = yes; then
   9004 	    # We only use this code for GNU lds that support --whole-archive.
   9005 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9006 	  else
   9007 	    # Exported symbols can be pulled into shared objects from archives
   9008 	    whole_archive_flag_spec='$convenience'
   9009 	  fi
   9010 	  archive_cmds_need_lc=yes
   9011 	  # This is similar to how AIX traditionally builds its shared libraries.
   9012 	  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'
   9013 	fi
   9014       fi
   9015       ;;
   9016 
   9017     amigaos*)
   9018       case $host_cpu in
   9019       powerpc)
   9020             # see comment about AmigaOS4 .so support
   9021             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9022             archive_expsym_cmds=''
   9023         ;;
   9024       m68k)
   9025             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)'
   9026             hardcode_libdir_flag_spec='-L$libdir'
   9027             hardcode_minus_L=yes
   9028         ;;
   9029       esac
   9030       ;;
   9031 
   9032     bsdi[45]*)
   9033       export_dynamic_flag_spec=-rdynamic
   9034       ;;
   9035 
   9036     cygwin* | mingw* | pw32* | cegcc*)
   9037       # When not using gcc, we currently assume that we are using
   9038       # Microsoft Visual C++.
   9039       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9040       # no search path for DLLs.
   9041       case $cc_basename in
   9042       cl*)
   9043 	# Native MSVC
   9044 	hardcode_libdir_flag_spec=' '
   9045 	allow_undefined_flag=unsupported
   9046 	always_export_symbols=yes
   9047 	file_list_spec='@'
   9048 	# Tell ltmain to make .lib files, not .a files.
   9049 	libext=lib
   9050 	# Tell ltmain to make .dll files, not .so files.
   9051 	shrext_cmds=".dll"
   9052 	# FIXME: Setting linknames here is a bad hack.
   9053 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9054 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9055 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9056 	  else
   9057 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9058 	  fi~
   9059 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9060 	  linknames='
   9061 	# The linker will not automatically build a static lib if we build a DLL.
   9062 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9063 	enable_shared_with_static_runtimes=yes
   9064 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9065 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9066 	# Don't use ranlib
   9067 	old_postinstall_cmds='chmod 644 $oldlib'
   9068 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9069 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9070 	  case $lt_outputfile in
   9071 	    *.exe|*.EXE) ;;
   9072 	    *)
   9073 	      lt_outputfile="$lt_outputfile.exe"
   9074 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9075 	      ;;
   9076 	  esac~
   9077 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9078 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9079 	    $RM "$lt_outputfile.manifest";
   9080 	  fi'
   9081 	;;
   9082       *)
   9083 	# Assume MSVC wrapper
   9084 	hardcode_libdir_flag_spec=' '
   9085 	allow_undefined_flag=unsupported
   9086 	# Tell ltmain to make .lib files, not .a files.
   9087 	libext=lib
   9088 	# Tell ltmain to make .dll files, not .so files.
   9089 	shrext_cmds=".dll"
   9090 	# FIXME: Setting linknames here is a bad hack.
   9091 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9092 	# The linker will automatically build a .lib file if we build a DLL.
   9093 	old_archive_from_new_cmds='true'
   9094 	# FIXME: Should let the user specify the lib program.
   9095 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9096 	enable_shared_with_static_runtimes=yes
   9097 	;;
   9098       esac
   9099       ;;
   9100 
   9101     darwin* | rhapsody*)
   9102 
   9103 
   9104   archive_cmds_need_lc=no
   9105   hardcode_direct=no
   9106   hardcode_automatic=yes
   9107   hardcode_shlibpath_var=unsupported
   9108   if test "$lt_cv_ld_force_load" = "yes"; then
   9109     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\"`'
   9110 
   9111   else
   9112     whole_archive_flag_spec=''
   9113   fi
   9114   link_all_deplibs=yes
   9115   allow_undefined_flag="$_lt_dar_allow_undefined"
   9116   case $cc_basename in
   9117      ifort*) _lt_dar_can_shared=yes ;;
   9118      *) _lt_dar_can_shared=$GCC ;;
   9119   esac
   9120   if test "$_lt_dar_can_shared" = "yes"; then
   9121     output_verbose_link_cmd=func_echo_all
   9122     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9123     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9124     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}"
   9125     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}"
   9126 
   9127   else
   9128   ld_shlibs=no
   9129   fi
   9130 
   9131       ;;
   9132 
   9133     dgux*)
   9134       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9135       hardcode_libdir_flag_spec='-L$libdir'
   9136       hardcode_shlibpath_var=no
   9137       ;;
   9138 
   9139     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9140     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9141     # does not break anything, and helps significantly (at the cost of a little
   9142     # extra space).
   9143     freebsd2.2*)
   9144       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9145       hardcode_libdir_flag_spec='-R$libdir'
   9146       hardcode_direct=yes
   9147       hardcode_shlibpath_var=no
   9148       ;;
   9149 
   9150     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9151     freebsd2.*)
   9152       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9153       hardcode_direct=yes
   9154       hardcode_minus_L=yes
   9155       hardcode_shlibpath_var=no
   9156       ;;
   9157 
   9158     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9159     freebsd* | dragonfly*)
   9160       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9161       hardcode_libdir_flag_spec='-R$libdir'
   9162       hardcode_direct=yes
   9163       hardcode_shlibpath_var=no
   9164       ;;
   9165 
   9166     hpux9*)
   9167       if test "$GCC" = yes; then
   9168 	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'
   9169       else
   9170 	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'
   9171       fi
   9172       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9173       hardcode_libdir_separator=:
   9174       hardcode_direct=yes
   9175 
   9176       # hardcode_minus_L: Not really in the search PATH,
   9177       # but as the default location of the library.
   9178       hardcode_minus_L=yes
   9179       export_dynamic_flag_spec='${wl}-E'
   9180       ;;
   9181 
   9182     hpux10*)
   9183       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9184 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9185       else
   9186 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9187       fi
   9188       if test "$with_gnu_ld" = no; then
   9189 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9190 	hardcode_libdir_separator=:
   9191 	hardcode_direct=yes
   9192 	hardcode_direct_absolute=yes
   9193 	export_dynamic_flag_spec='${wl}-E'
   9194 	# hardcode_minus_L: Not really in the search PATH,
   9195 	# but as the default location of the library.
   9196 	hardcode_minus_L=yes
   9197       fi
   9198       ;;
   9199 
   9200     hpux11*)
   9201       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9202 	case $host_cpu in
   9203 	hppa*64*)
   9204 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9205 	  ;;
   9206 	ia64*)
   9207 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9208 	  ;;
   9209 	*)
   9210 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9211 	  ;;
   9212 	esac
   9213       else
   9214 	case $host_cpu in
   9215 	hppa*64*)
   9216 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9217 	  ;;
   9218 	ia64*)
   9219 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9220 	  ;;
   9221 	*)
   9222 
   9223 	  # Older versions of the 11.00 compiler do not understand -b yet
   9224 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9225 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9226 $as_echo_n "checking if $CC understands -b... " >&6; }
   9227 if ${lt_cv_prog_compiler__b+:} false; then :
   9228   $as_echo_n "(cached) " >&6
   9229 else
   9230   lt_cv_prog_compiler__b=no
   9231    save_LDFLAGS="$LDFLAGS"
   9232    LDFLAGS="$LDFLAGS -b"
   9233    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9234    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9235      # The linker can only warn and ignore the option if not recognized
   9236      # So say no if there are warnings
   9237      if test -s conftest.err; then
   9238        # Append any errors to the config.log.
   9239        cat conftest.err 1>&5
   9240        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9241        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9242        if diff conftest.exp conftest.er2 >/dev/null; then
   9243          lt_cv_prog_compiler__b=yes
   9244        fi
   9245      else
   9246        lt_cv_prog_compiler__b=yes
   9247      fi
   9248    fi
   9249    $RM -r conftest*
   9250    LDFLAGS="$save_LDFLAGS"
   9251 
   9252 fi
   9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9254 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9255 
   9256 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9257     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9258 else
   9259     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9260 fi
   9261 
   9262 	  ;;
   9263 	esac
   9264       fi
   9265       if test "$with_gnu_ld" = no; then
   9266 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9267 	hardcode_libdir_separator=:
   9268 
   9269 	case $host_cpu in
   9270 	hppa*64*|ia64*)
   9271 	  hardcode_direct=no
   9272 	  hardcode_shlibpath_var=no
   9273 	  ;;
   9274 	*)
   9275 	  hardcode_direct=yes
   9276 	  hardcode_direct_absolute=yes
   9277 	  export_dynamic_flag_spec='${wl}-E'
   9278 
   9279 	  # hardcode_minus_L: Not really in the search PATH,
   9280 	  # but as the default location of the library.
   9281 	  hardcode_minus_L=yes
   9282 	  ;;
   9283 	esac
   9284       fi
   9285       ;;
   9286 
   9287     irix5* | irix6* | nonstopux*)
   9288       if test "$GCC" = yes; then
   9289 	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'
   9290 	# Try to use the -exported_symbol ld option, if it does not
   9291 	# work, assume that -exports_file does not work either and
   9292 	# implicitly export all symbols.
   9293 	# This should be the same for all languages, so no per-tag cache variable.
   9294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9295 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9296 if ${lt_cv_irix_exported_symbol+:} false; then :
   9297   $as_echo_n "(cached) " >&6
   9298 else
   9299   save_LDFLAGS="$LDFLAGS"
   9300 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9301 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9302 /* end confdefs.h.  */
   9303 int foo (void) { return 0; }
   9304 _ACEOF
   9305 if ac_fn_c_try_link "$LINENO"; then :
   9306   lt_cv_irix_exported_symbol=yes
   9307 else
   9308   lt_cv_irix_exported_symbol=no
   9309 fi
   9310 rm -f core conftest.err conftest.$ac_objext \
   9311     conftest$ac_exeext conftest.$ac_ext
   9312            LDFLAGS="$save_LDFLAGS"
   9313 fi
   9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9315 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9316 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9317           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'
   9318 	fi
   9319       else
   9320 	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'
   9321 	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'
   9322       fi
   9323       archive_cmds_need_lc='no'
   9324       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9325       hardcode_libdir_separator=:
   9326       inherit_rpath=yes
   9327       link_all_deplibs=yes
   9328       ;;
   9329 
   9330     netbsd*)
   9331       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9332 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9333       else
   9334 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9335       fi
   9336       hardcode_libdir_flag_spec='-R$libdir'
   9337       hardcode_direct=yes
   9338       hardcode_shlibpath_var=no
   9339       ;;
   9340 
   9341     newsos6)
   9342       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9343       hardcode_direct=yes
   9344       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9345       hardcode_libdir_separator=:
   9346       hardcode_shlibpath_var=no
   9347       ;;
   9348 
   9349     *nto* | *qnx*)
   9350       ;;
   9351 
   9352     openbsd*)
   9353       if test -f /usr/libexec/ld.so; then
   9354 	hardcode_direct=yes
   9355 	hardcode_shlibpath_var=no
   9356 	hardcode_direct_absolute=yes
   9357 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9358 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9359 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9360 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9361 	  export_dynamic_flag_spec='${wl}-E'
   9362 	else
   9363 	  case $host_os in
   9364 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9365 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9366 	     hardcode_libdir_flag_spec='-R$libdir'
   9367 	     ;;
   9368 	   *)
   9369 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9370 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9371 	     ;;
   9372 	  esac
   9373 	fi
   9374       else
   9375 	ld_shlibs=no
   9376       fi
   9377       ;;
   9378 
   9379     os2*)
   9380       hardcode_libdir_flag_spec='-L$libdir'
   9381       hardcode_minus_L=yes
   9382       allow_undefined_flag=unsupported
   9383       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'
   9384       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9385       ;;
   9386 
   9387     osf3*)
   9388       if test "$GCC" = yes; then
   9389 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9390 	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'
   9391       else
   9392 	allow_undefined_flag=' -expect_unresolved \*'
   9393 	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'
   9394       fi
   9395       archive_cmds_need_lc='no'
   9396       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9397       hardcode_libdir_separator=:
   9398       ;;
   9399 
   9400     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9401       if test "$GCC" = yes; then
   9402 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9403 	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'
   9404 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9405       else
   9406 	allow_undefined_flag=' -expect_unresolved \*'
   9407 	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'
   9408 	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~
   9409 	$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'
   9410 
   9411 	# Both c and cxx compiler support -rpath directly
   9412 	hardcode_libdir_flag_spec='-rpath $libdir'
   9413       fi
   9414       archive_cmds_need_lc='no'
   9415       hardcode_libdir_separator=:
   9416       ;;
   9417 
   9418     solaris*)
   9419       no_undefined_flag=' -z defs'
   9420       if test "$GCC" = yes; then
   9421 	wlarc='${wl}'
   9422 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9423 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9424 	  $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'
   9425       else
   9426 	case `$CC -V 2>&1` in
   9427 	*"Compilers 5.0"*)
   9428 	  wlarc=''
   9429 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9430 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9431 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9432 	  ;;
   9433 	*)
   9434 	  wlarc='${wl}'
   9435 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9436 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9437 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9438 	  ;;
   9439 	esac
   9440       fi
   9441       hardcode_libdir_flag_spec='-R$libdir'
   9442       hardcode_shlibpath_var=no
   9443       case $host_os in
   9444       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9445       *)
   9446 	# The compiler driver will combine and reorder linker options,
   9447 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9448 	# but is careful enough not to reorder.
   9449 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9450 	if test "$GCC" = yes; then
   9451 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9452 	else
   9453 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9454 	fi
   9455 	;;
   9456       esac
   9457       link_all_deplibs=yes
   9458       ;;
   9459 
   9460     sunos4*)
   9461       if test "x$host_vendor" = xsequent; then
   9462 	# Use $CC to link under sequent, because it throws in some extra .o
   9463 	# files that make .init and .fini sections work.
   9464 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9465       else
   9466 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9467       fi
   9468       hardcode_libdir_flag_spec='-L$libdir'
   9469       hardcode_direct=yes
   9470       hardcode_minus_L=yes
   9471       hardcode_shlibpath_var=no
   9472       ;;
   9473 
   9474     sysv4)
   9475       case $host_vendor in
   9476 	sni)
   9477 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9478 	  hardcode_direct=yes # is this really true???
   9479 	;;
   9480 	siemens)
   9481 	  ## LD is ld it makes a PLAMLIB
   9482 	  ## CC just makes a GrossModule.
   9483 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9484 	  reload_cmds='$CC -r -o $output$reload_objs'
   9485 	  hardcode_direct=no
   9486         ;;
   9487 	motorola)
   9488 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9489 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9490 	;;
   9491       esac
   9492       runpath_var='LD_RUN_PATH'
   9493       hardcode_shlibpath_var=no
   9494       ;;
   9495 
   9496     sysv4.3*)
   9497       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9498       hardcode_shlibpath_var=no
   9499       export_dynamic_flag_spec='-Bexport'
   9500       ;;
   9501 
   9502     sysv4*MP*)
   9503       if test -d /usr/nec; then
   9504 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9505 	hardcode_shlibpath_var=no
   9506 	runpath_var=LD_RUN_PATH
   9507 	hardcode_runpath_var=yes
   9508 	ld_shlibs=yes
   9509       fi
   9510       ;;
   9511 
   9512     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9513       no_undefined_flag='${wl}-z,text'
   9514       archive_cmds_need_lc=no
   9515       hardcode_shlibpath_var=no
   9516       runpath_var='LD_RUN_PATH'
   9517 
   9518       if test "$GCC" = yes; then
   9519 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9520 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9521       else
   9522 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9523 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9524       fi
   9525       ;;
   9526 
   9527     sysv5* | sco3.2v5* | sco5v6*)
   9528       # Note: We can NOT use -z defs as we might desire, because we do not
   9529       # link with -lc, and that would cause any symbols used from libc to
   9530       # always be unresolved, which means just about no library would
   9531       # ever link correctly.  If we're not using GNU ld we use -z text
   9532       # though, which does catch some bad symbols but isn't as heavy-handed
   9533       # as -z defs.
   9534       no_undefined_flag='${wl}-z,text'
   9535       allow_undefined_flag='${wl}-z,nodefs'
   9536       archive_cmds_need_lc=no
   9537       hardcode_shlibpath_var=no
   9538       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9539       hardcode_libdir_separator=':'
   9540       link_all_deplibs=yes
   9541       export_dynamic_flag_spec='${wl}-Bexport'
   9542       runpath_var='LD_RUN_PATH'
   9543 
   9544       if test "$GCC" = yes; then
   9545 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9546 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9547       else
   9548 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9549 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9550       fi
   9551       ;;
   9552 
   9553     uts4*)
   9554       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9555       hardcode_libdir_flag_spec='-L$libdir'
   9556       hardcode_shlibpath_var=no
   9557       ;;
   9558 
   9559     *)
   9560       ld_shlibs=no
   9561       ;;
   9562     esac
   9563 
   9564     if test x$host_vendor = xsni; then
   9565       case $host in
   9566       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9567 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9568 	;;
   9569       esac
   9570     fi
   9571   fi
   9572 
   9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9574 $as_echo "$ld_shlibs" >&6; }
   9575 test "$ld_shlibs" = no && can_build_shared=no
   9576 
   9577 with_gnu_ld=$with_gnu_ld
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 #
   9594 # Do we need to explicitly link libc?
   9595 #
   9596 case "x$archive_cmds_need_lc" in
   9597 x|xyes)
   9598   # Assume -lc should be added
   9599   archive_cmds_need_lc=yes
   9600 
   9601   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9602     case $archive_cmds in
   9603     *'~'*)
   9604       # FIXME: we may have to deal with multi-command sequences.
   9605       ;;
   9606     '$CC '*)
   9607       # Test whether the compiler implicitly links with -lc since on some
   9608       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9609       # to ld, don't add -lc before -lgcc.
   9610       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9611 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9612 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9613   $as_echo_n "(cached) " >&6
   9614 else
   9615   $RM conftest*
   9616 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9617 
   9618 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9619   (eval $ac_compile) 2>&5
   9620   ac_status=$?
   9621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9622   test $ac_status = 0; } 2>conftest.err; then
   9623 	  soname=conftest
   9624 	  lib=conftest
   9625 	  libobjs=conftest.$ac_objext
   9626 	  deplibs=
   9627 	  wl=$lt_prog_compiler_wl
   9628 	  pic_flag=$lt_prog_compiler_pic
   9629 	  compiler_flags=-v
   9630 	  linker_flags=-v
   9631 	  verstring=
   9632 	  output_objdir=.
   9633 	  libname=conftest
   9634 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9635 	  allow_undefined_flag=
   9636 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9637   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9638   ac_status=$?
   9639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9640   test $ac_status = 0; }
   9641 	  then
   9642 	    lt_cv_archive_cmds_need_lc=no
   9643 	  else
   9644 	    lt_cv_archive_cmds_need_lc=yes
   9645 	  fi
   9646 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9647 	else
   9648 	  cat conftest.err 1>&5
   9649 	fi
   9650 	$RM conftest*
   9651 
   9652 fi
   9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9654 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9655       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9656       ;;
   9657     esac
   9658   fi
   9659   ;;
   9660 esac
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9815 
   9816 if test "$GCC" = yes; then
   9817   case $host_os in
   9818     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9819     *) lt_awk_arg="/^libraries:/" ;;
   9820   esac
   9821   case $host_os in
   9822     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9823     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9824   esac
   9825   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9826   case $lt_search_path_spec in
   9827   *\;*)
   9828     # if the path contains ";" then we assume it to be the separator
   9829     # otherwise default to the standard path separator (i.e. ":") - it is
   9830     # assumed that no part of a normal pathname contains ";" but that should
   9831     # okay in the real world where ";" in dirpaths is itself problematic.
   9832     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9833     ;;
   9834   *)
   9835     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9836     ;;
   9837   esac
   9838   # Ok, now we have the path, separated by spaces, we can step through it
   9839   # and add multilib dir if necessary.
   9840   lt_tmp_lt_search_path_spec=
   9841   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9842   for lt_sys_path in $lt_search_path_spec; do
   9843     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9844       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9845     else
   9846       test -d "$lt_sys_path" && \
   9847 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9848     fi
   9849   done
   9850   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9851 BEGIN {RS=" "; FS="/|\n";} {
   9852   lt_foo="";
   9853   lt_count=0;
   9854   for (lt_i = NF; lt_i > 0; lt_i--) {
   9855     if ($lt_i != "" && $lt_i != ".") {
   9856       if ($lt_i == "..") {
   9857         lt_count++;
   9858       } else {
   9859         if (lt_count == 0) {
   9860           lt_foo="/" $lt_i lt_foo;
   9861         } else {
   9862           lt_count--;
   9863         }
   9864       }
   9865     }
   9866   }
   9867   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9868   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9869 }'`
   9870   # AWK program above erroneously prepends '/' to C:/dos/paths
   9871   # for these hosts.
   9872   case $host_os in
   9873     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9874       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9875   esac
   9876   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9877 else
   9878   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9879 fi
   9880 library_names_spec=
   9881 libname_spec='lib$name'
   9882 soname_spec=
   9883 shrext_cmds=".so"
   9884 postinstall_cmds=
   9885 postuninstall_cmds=
   9886 finish_cmds=
   9887 finish_eval=
   9888 shlibpath_var=
   9889 shlibpath_overrides_runpath=unknown
   9890 version_type=none
   9891 dynamic_linker="$host_os ld.so"
   9892 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9893 need_lib_prefix=unknown
   9894 hardcode_into_libs=no
   9895 
   9896 # when you set need_version to no, make sure it does not cause -set_version
   9897 # flags to be left without arguments
   9898 need_version=unknown
   9899 
   9900 case $host_os in
   9901 aix3*)
   9902   version_type=linux # correct to gnu/linux during the next big refactor
   9903   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9904   shlibpath_var=LIBPATH
   9905 
   9906   # AIX 3 has no versioning support, so we append a major version to the name.
   9907   soname_spec='${libname}${release}${shared_ext}$major'
   9908   ;;
   9909 
   9910 aix[4-9]*)
   9911   version_type=linux # correct to gnu/linux during the next big refactor
   9912   need_lib_prefix=no
   9913   need_version=no
   9914   hardcode_into_libs=yes
   9915   if test "$host_cpu" = ia64; then
   9916     # AIX 5 supports IA64
   9917     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9918     shlibpath_var=LD_LIBRARY_PATH
   9919   else
   9920     # With GCC up to 2.95.x, collect2 would create an import file
   9921     # for dependence libraries.  The import file would start with
   9922     # the line `#! .'.  This would cause the generated library to
   9923     # depend on `.', always an invalid library.  This was fixed in
   9924     # development snapshots of GCC prior to 3.0.
   9925     case $host_os in
   9926       aix4 | aix4.[01] | aix4.[01].*)
   9927       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9928 	   echo ' yes '
   9929 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9930 	:
   9931       else
   9932 	can_build_shared=no
   9933       fi
   9934       ;;
   9935     esac
   9936     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9937     # soname into executable. Probably we can add versioning support to
   9938     # collect2, so additional links can be useful in future.
   9939     if test "$aix_use_runtimelinking" = yes; then
   9940       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9941       # instead of lib<name>.a to let people know that these are not
   9942       # typical AIX shared libraries.
   9943       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9944     else
   9945       # We preserve .a as extension for shared libraries through AIX4.2
   9946       # and later when we are not doing run time linking.
   9947       library_names_spec='${libname}${release}.a $libname.a'
   9948       soname_spec='${libname}${release}${shared_ext}$major'
   9949     fi
   9950     shlibpath_var=LIBPATH
   9951   fi
   9952   ;;
   9953 
   9954 amigaos*)
   9955   case $host_cpu in
   9956   powerpc)
   9957     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9958     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9959     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9960     ;;
   9961   m68k)
   9962     library_names_spec='$libname.ixlibrary $libname.a'
   9963     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9964     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'
   9965     ;;
   9966   esac
   9967   ;;
   9968 
   9969 beos*)
   9970   library_names_spec='${libname}${shared_ext}'
   9971   dynamic_linker="$host_os ld.so"
   9972   shlibpath_var=LIBRARY_PATH
   9973   ;;
   9974 
   9975 bsdi[45]*)
   9976   version_type=linux # correct to gnu/linux during the next big refactor
   9977   need_version=no
   9978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9979   soname_spec='${libname}${release}${shared_ext}$major'
   9980   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9981   shlibpath_var=LD_LIBRARY_PATH
   9982   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9983   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9984   # the default ld.so.conf also contains /usr/contrib/lib and
   9985   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9986   # libtool to hard-code these into programs
   9987   ;;
   9988 
   9989 cygwin* | mingw* | pw32* | cegcc*)
   9990   version_type=windows
   9991   shrext_cmds=".dll"
   9992   need_version=no
   9993   need_lib_prefix=no
   9994 
   9995   case $GCC,$cc_basename in
   9996   yes,*)
   9997     # gcc
   9998     library_names_spec='$libname.dll.a'
   9999     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10000     postinstall_cmds='base_file=`basename \${file}`~
   10001       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10002       dldir=$destdir/`dirname \$dlpath`~
   10003       test -d \$dldir || mkdir -p \$dldir~
   10004       $install_prog $dir/$dlname \$dldir/$dlname~
   10005       chmod a+x \$dldir/$dlname~
   10006       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10007         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10008       fi'
   10009     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10010       dlpath=$dir/\$dldll~
   10011        $RM \$dlpath'
   10012     shlibpath_overrides_runpath=yes
   10013 
   10014     case $host_os in
   10015     cygwin*)
   10016       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10017       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10018 
   10019       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10020       ;;
   10021     mingw* | cegcc*)
   10022       # MinGW DLLs use traditional 'lib' prefix
   10023       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10024       ;;
   10025     pw32*)
   10026       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10027       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10028       ;;
   10029     esac
   10030     dynamic_linker='Win32 ld.exe'
   10031     ;;
   10032 
   10033   *,cl*)
   10034     # Native MSVC
   10035     libname_spec='$name'
   10036     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10037     library_names_spec='${libname}.dll.lib'
   10038 
   10039     case $build_os in
   10040     mingw*)
   10041       sys_lib_search_path_spec=
   10042       lt_save_ifs=$IFS
   10043       IFS=';'
   10044       for lt_path in $LIB
   10045       do
   10046         IFS=$lt_save_ifs
   10047         # Let DOS variable expansion print the short 8.3 style file name.
   10048         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10049         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10050       done
   10051       IFS=$lt_save_ifs
   10052       # Convert to MSYS style.
   10053       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10054       ;;
   10055     cygwin*)
   10056       # Convert to unix form, then to dos form, then back to unix form
   10057       # but this time dos style (no spaces!) so that the unix form looks
   10058       # like /cygdrive/c/PROGRA~1:/cygdr...
   10059       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10060       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10061       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10062       ;;
   10063     *)
   10064       sys_lib_search_path_spec="$LIB"
   10065       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10066         # It is most probably a Windows format PATH.
   10067         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10068       else
   10069         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10070       fi
   10071       # FIXME: find the short name or the path components, as spaces are
   10072       # common. (e.g. "Program Files" -> "PROGRA~1")
   10073       ;;
   10074     esac
   10075 
   10076     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10077     postinstall_cmds='base_file=`basename \${file}`~
   10078       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10079       dldir=$destdir/`dirname \$dlpath`~
   10080       test -d \$dldir || mkdir -p \$dldir~
   10081       $install_prog $dir/$dlname \$dldir/$dlname'
   10082     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10083       dlpath=$dir/\$dldll~
   10084        $RM \$dlpath'
   10085     shlibpath_overrides_runpath=yes
   10086     dynamic_linker='Win32 link.exe'
   10087     ;;
   10088 
   10089   *)
   10090     # Assume MSVC wrapper
   10091     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10092     dynamic_linker='Win32 ld.exe'
   10093     ;;
   10094   esac
   10095   # FIXME: first we should search . and the directory the executable is in
   10096   shlibpath_var=PATH
   10097   ;;
   10098 
   10099 darwin* | rhapsody*)
   10100   dynamic_linker="$host_os dyld"
   10101   version_type=darwin
   10102   need_lib_prefix=no
   10103   need_version=no
   10104   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10105   soname_spec='${libname}${release}${major}$shared_ext'
   10106   shlibpath_overrides_runpath=yes
   10107   shlibpath_var=DYLD_LIBRARY_PATH
   10108   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10109 
   10110   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10111   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10112   ;;
   10113 
   10114 dgux*)
   10115   version_type=linux # correct to gnu/linux during the next big refactor
   10116   need_lib_prefix=no
   10117   need_version=no
   10118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10119   soname_spec='${libname}${release}${shared_ext}$major'
   10120   shlibpath_var=LD_LIBRARY_PATH
   10121   ;;
   10122 
   10123 freebsd* | dragonfly*)
   10124   # DragonFly does not have aout.  When/if they implement a new
   10125   # versioning mechanism, adjust this.
   10126   if test -x /usr/bin/objformat; then
   10127     objformat=`/usr/bin/objformat`
   10128   else
   10129     case $host_os in
   10130     freebsd[23].*) objformat=aout ;;
   10131     *) objformat=elf ;;
   10132     esac
   10133   fi
   10134   version_type=freebsd-$objformat
   10135   case $version_type in
   10136     freebsd-elf*)
   10137       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10138       need_version=no
   10139       need_lib_prefix=no
   10140       ;;
   10141     freebsd-*)
   10142       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10143       need_version=yes
   10144       ;;
   10145   esac
   10146   shlibpath_var=LD_LIBRARY_PATH
   10147   case $host_os in
   10148   freebsd2.*)
   10149     shlibpath_overrides_runpath=yes
   10150     ;;
   10151   freebsd3.[01]* | freebsdelf3.[01]*)
   10152     shlibpath_overrides_runpath=yes
   10153     hardcode_into_libs=yes
   10154     ;;
   10155   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10156   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10157     shlibpath_overrides_runpath=no
   10158     hardcode_into_libs=yes
   10159     ;;
   10160   *) # from 4.6 on, and DragonFly
   10161     shlibpath_overrides_runpath=yes
   10162     hardcode_into_libs=yes
   10163     ;;
   10164   esac
   10165   ;;
   10166 
   10167 gnu*)
   10168   version_type=linux # correct to gnu/linux during the next big refactor
   10169   need_lib_prefix=no
   10170   need_version=no
   10171   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10172   soname_spec='${libname}${release}${shared_ext}$major'
   10173   shlibpath_var=LD_LIBRARY_PATH
   10174   shlibpath_overrides_runpath=no
   10175   hardcode_into_libs=yes
   10176   ;;
   10177 
   10178 haiku*)
   10179   version_type=linux # correct to gnu/linux during the next big refactor
   10180   need_lib_prefix=no
   10181   need_version=no
   10182   dynamic_linker="$host_os runtime_loader"
   10183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10184   soname_spec='${libname}${release}${shared_ext}$major'
   10185   shlibpath_var=LIBRARY_PATH
   10186   shlibpath_overrides_runpath=yes
   10187   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10188   hardcode_into_libs=yes
   10189   ;;
   10190 
   10191 hpux9* | hpux10* | hpux11*)
   10192   # Give a soname corresponding to the major version so that dld.sl refuses to
   10193   # link against other versions.
   10194   version_type=sunos
   10195   need_lib_prefix=no
   10196   need_version=no
   10197   case $host_cpu in
   10198   ia64*)
   10199     shrext_cmds='.so'
   10200     hardcode_into_libs=yes
   10201     dynamic_linker="$host_os dld.so"
   10202     shlibpath_var=LD_LIBRARY_PATH
   10203     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10204     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10205     soname_spec='${libname}${release}${shared_ext}$major'
   10206     if test "X$HPUX_IA64_MODE" = X32; then
   10207       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10208     else
   10209       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10210     fi
   10211     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10212     ;;
   10213   hppa*64*)
   10214     shrext_cmds='.sl'
   10215     hardcode_into_libs=yes
   10216     dynamic_linker="$host_os dld.sl"
   10217     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10218     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10219     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10220     soname_spec='${libname}${release}${shared_ext}$major'
   10221     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10222     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10223     ;;
   10224   *)
   10225     shrext_cmds='.sl'
   10226     dynamic_linker="$host_os dld.sl"
   10227     shlibpath_var=SHLIB_PATH
   10228     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10229     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10230     soname_spec='${libname}${release}${shared_ext}$major'
   10231     ;;
   10232   esac
   10233   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10234   postinstall_cmds='chmod 555 $lib'
   10235   # or fails outright, so override atomically:
   10236   install_override_mode=555
   10237   ;;
   10238 
   10239 interix[3-9]*)
   10240   version_type=linux # correct to gnu/linux during the next big refactor
   10241   need_lib_prefix=no
   10242   need_version=no
   10243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10244   soname_spec='${libname}${release}${shared_ext}$major'
   10245   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10246   shlibpath_var=LD_LIBRARY_PATH
   10247   shlibpath_overrides_runpath=no
   10248   hardcode_into_libs=yes
   10249   ;;
   10250 
   10251 irix5* | irix6* | nonstopux*)
   10252   case $host_os in
   10253     nonstopux*) version_type=nonstopux ;;
   10254     *)
   10255 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10256 		version_type=linux # correct to gnu/linux during the next big refactor
   10257 	else
   10258 		version_type=irix
   10259 	fi ;;
   10260   esac
   10261   need_lib_prefix=no
   10262   need_version=no
   10263   soname_spec='${libname}${release}${shared_ext}$major'
   10264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10265   case $host_os in
   10266   irix5* | nonstopux*)
   10267     libsuff= shlibsuff=
   10268     ;;
   10269   *)
   10270     case $LD in # libtool.m4 will add one of these switches to LD
   10271     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10272       libsuff= shlibsuff= libmagic=32-bit;;
   10273     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10274       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10275     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10276       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10277     *) libsuff= shlibsuff= libmagic=never-match;;
   10278     esac
   10279     ;;
   10280   esac
   10281   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10282   shlibpath_overrides_runpath=no
   10283   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10284   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10285   hardcode_into_libs=yes
   10286   ;;
   10287 
   10288 # No shared lib support for Linux oldld, aout, or coff.
   10289 linux*oldld* | linux*aout* | linux*coff*)
   10290   dynamic_linker=no
   10291   ;;
   10292 
   10293 # This must be glibc/ELF.
   10294 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10295   version_type=linux # correct to gnu/linux during the next big refactor
   10296   need_lib_prefix=no
   10297   need_version=no
   10298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10299   soname_spec='${libname}${release}${shared_ext}$major'
   10300   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10301   shlibpath_var=LD_LIBRARY_PATH
   10302   shlibpath_overrides_runpath=no
   10303 
   10304   # Some binutils ld are patched to set DT_RUNPATH
   10305   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10306   $as_echo_n "(cached) " >&6
   10307 else
   10308   lt_cv_shlibpath_overrides_runpath=no
   10309     save_LDFLAGS=$LDFLAGS
   10310     save_libdir=$libdir
   10311     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10312 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10313     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10314 /* end confdefs.h.  */
   10315 
   10316 int
   10317 main ()
   10318 {
   10319 
   10320   ;
   10321   return 0;
   10322 }
   10323 _ACEOF
   10324 if ac_fn_c_try_link "$LINENO"; then :
   10325   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10326   lt_cv_shlibpath_overrides_runpath=yes
   10327 fi
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext \
   10330     conftest$ac_exeext conftest.$ac_ext
   10331     LDFLAGS=$save_LDFLAGS
   10332     libdir=$save_libdir
   10333 
   10334 fi
   10335 
   10336   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10337 
   10338   # This implies no fast_install, which is unacceptable.
   10339   # Some rework will be needed to allow for fast_install
   10340   # before this can be enabled.
   10341   hardcode_into_libs=yes
   10342 
   10343   # Append ld.so.conf contents to the search path
   10344   if test -f /etc/ld.so.conf; then
   10345     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' ' '`
   10346     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10347   fi
   10348 
   10349   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10350   # powerpc, because MkLinux only supported shared libraries with the
   10351   # GNU dynamic linker.  Since this was broken with cross compilers,
   10352   # most powerpc-linux boxes support dynamic linking these days and
   10353   # people can always --disable-shared, the test was removed, and we
   10354   # assume the GNU/Linux dynamic linker is in use.
   10355   dynamic_linker='GNU/Linux ld.so'
   10356   ;;
   10357 
   10358 netbsd*)
   10359   version_type=sunos
   10360   need_lib_prefix=no
   10361   need_version=no
   10362   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10363     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10364     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10365     dynamic_linker='NetBSD (a.out) ld.so'
   10366   else
   10367     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10368     soname_spec='${libname}${release}${shared_ext}$major'
   10369     dynamic_linker='NetBSD ld.elf_so'
   10370   fi
   10371   shlibpath_var=LD_LIBRARY_PATH
   10372   shlibpath_overrides_runpath=yes
   10373   hardcode_into_libs=yes
   10374   ;;
   10375 
   10376 newsos6)
   10377   version_type=linux # correct to gnu/linux during the next big refactor
   10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10379   shlibpath_var=LD_LIBRARY_PATH
   10380   shlibpath_overrides_runpath=yes
   10381   ;;
   10382 
   10383 *nto* | *qnx*)
   10384   version_type=qnx
   10385   need_lib_prefix=no
   10386   need_version=no
   10387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10388   soname_spec='${libname}${release}${shared_ext}$major'
   10389   shlibpath_var=LD_LIBRARY_PATH
   10390   shlibpath_overrides_runpath=no
   10391   hardcode_into_libs=yes
   10392   dynamic_linker='ldqnx.so'
   10393   ;;
   10394 
   10395 openbsd*)
   10396   version_type=sunos
   10397   sys_lib_dlsearch_path_spec="/usr/lib"
   10398   need_lib_prefix=no
   10399   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10400   case $host_os in
   10401     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10402     *)				need_version=no  ;;
   10403   esac
   10404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10405   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10406   shlibpath_var=LD_LIBRARY_PATH
   10407   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10408     case $host_os in
   10409       openbsd2.[89] | openbsd2.[89].*)
   10410 	shlibpath_overrides_runpath=no
   10411 	;;
   10412       *)
   10413 	shlibpath_overrides_runpath=yes
   10414 	;;
   10415       esac
   10416   else
   10417     shlibpath_overrides_runpath=yes
   10418   fi
   10419   ;;
   10420 
   10421 os2*)
   10422   libname_spec='$name'
   10423   shrext_cmds=".dll"
   10424   need_lib_prefix=no
   10425   library_names_spec='$libname${shared_ext} $libname.a'
   10426   dynamic_linker='OS/2 ld.exe'
   10427   shlibpath_var=LIBPATH
   10428   ;;
   10429 
   10430 osf3* | osf4* | osf5*)
   10431   version_type=osf
   10432   need_lib_prefix=no
   10433   need_version=no
   10434   soname_spec='${libname}${release}${shared_ext}$major'
   10435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10436   shlibpath_var=LD_LIBRARY_PATH
   10437   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10438   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10439   ;;
   10440 
   10441 rdos*)
   10442   dynamic_linker=no
   10443   ;;
   10444 
   10445 solaris*)
   10446   version_type=linux # correct to gnu/linux during the next big refactor
   10447   need_lib_prefix=no
   10448   need_version=no
   10449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10450   soname_spec='${libname}${release}${shared_ext}$major'
   10451   shlibpath_var=LD_LIBRARY_PATH
   10452   shlibpath_overrides_runpath=yes
   10453   hardcode_into_libs=yes
   10454   # ldd complains unless libraries are executable
   10455   postinstall_cmds='chmod +x $lib'
   10456   ;;
   10457 
   10458 sunos4*)
   10459   version_type=sunos
   10460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10461   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10462   shlibpath_var=LD_LIBRARY_PATH
   10463   shlibpath_overrides_runpath=yes
   10464   if test "$with_gnu_ld" = yes; then
   10465     need_lib_prefix=no
   10466   fi
   10467   need_version=yes
   10468   ;;
   10469 
   10470 sysv4 | sysv4.3*)
   10471   version_type=linux # correct to gnu/linux during the next big refactor
   10472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10473   soname_spec='${libname}${release}${shared_ext}$major'
   10474   shlibpath_var=LD_LIBRARY_PATH
   10475   case $host_vendor in
   10476     sni)
   10477       shlibpath_overrides_runpath=no
   10478       need_lib_prefix=no
   10479       runpath_var=LD_RUN_PATH
   10480       ;;
   10481     siemens)
   10482       need_lib_prefix=no
   10483       ;;
   10484     motorola)
   10485       need_lib_prefix=no
   10486       need_version=no
   10487       shlibpath_overrides_runpath=no
   10488       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10489       ;;
   10490   esac
   10491   ;;
   10492 
   10493 sysv4*MP*)
   10494   if test -d /usr/nec ;then
   10495     version_type=linux # correct to gnu/linux during the next big refactor
   10496     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10497     soname_spec='$libname${shared_ext}.$major'
   10498     shlibpath_var=LD_LIBRARY_PATH
   10499   fi
   10500   ;;
   10501 
   10502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10503   version_type=freebsd-elf
   10504   need_lib_prefix=no
   10505   need_version=no
   10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10507   soname_spec='${libname}${release}${shared_ext}$major'
   10508   shlibpath_var=LD_LIBRARY_PATH
   10509   shlibpath_overrides_runpath=yes
   10510   hardcode_into_libs=yes
   10511   if test "$with_gnu_ld" = yes; then
   10512     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10513   else
   10514     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10515     case $host_os in
   10516       sco3.2v5*)
   10517         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10518 	;;
   10519     esac
   10520   fi
   10521   sys_lib_dlsearch_path_spec='/usr/lib'
   10522   ;;
   10523 
   10524 tpf*)
   10525   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10526   version_type=linux # correct to gnu/linux during the next big refactor
   10527   need_lib_prefix=no
   10528   need_version=no
   10529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10530   shlibpath_var=LD_LIBRARY_PATH
   10531   shlibpath_overrides_runpath=no
   10532   hardcode_into_libs=yes
   10533   ;;
   10534 
   10535 uts4*)
   10536   version_type=linux # correct to gnu/linux during the next big refactor
   10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10538   soname_spec='${libname}${release}${shared_ext}$major'
   10539   shlibpath_var=LD_LIBRARY_PATH
   10540   ;;
   10541 
   10542 *)
   10543   dynamic_linker=no
   10544   ;;
   10545 esac
   10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10547 $as_echo "$dynamic_linker" >&6; }
   10548 test "$dynamic_linker" = no && can_build_shared=no
   10549 
   10550 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10551 if test "$GCC" = yes; then
   10552   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10553 fi
   10554 
   10555 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10556   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10557 fi
   10558 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10559   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10560 fi
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10654 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10655 hardcode_action=
   10656 if test -n "$hardcode_libdir_flag_spec" ||
   10657    test -n "$runpath_var" ||
   10658    test "X$hardcode_automatic" = "Xyes" ; then
   10659 
   10660   # We can hardcode non-existent directories.
   10661   if test "$hardcode_direct" != no &&
   10662      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10663      # have to relink, otherwise we might link with an installed library
   10664      # when we should be linking with a yet-to-be-installed one
   10665      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10666      test "$hardcode_minus_L" != no; then
   10667     # Linking always hardcodes the temporary library directory.
   10668     hardcode_action=relink
   10669   else
   10670     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10671     hardcode_action=immediate
   10672   fi
   10673 else
   10674   # We cannot hardcode anything, or else we can only hardcode existing
   10675   # directories.
   10676   hardcode_action=unsupported
   10677 fi
   10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10679 $as_echo "$hardcode_action" >&6; }
   10680 
   10681 if test "$hardcode_action" = relink ||
   10682    test "$inherit_rpath" = yes; then
   10683   # Fast installation is not supported
   10684   enable_fast_install=no
   10685 elif test "$shlibpath_overrides_runpath" = yes ||
   10686      test "$enable_shared" = no; then
   10687   # Fast installation is not necessary
   10688   enable_fast_install=needless
   10689 fi
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696   if test "x$enable_dlopen" != xyes; then
   10697   enable_dlopen=unknown
   10698   enable_dlopen_self=unknown
   10699   enable_dlopen_self_static=unknown
   10700 else
   10701   lt_cv_dlopen=no
   10702   lt_cv_dlopen_libs=
   10703 
   10704   case $host_os in
   10705   beos*)
   10706     lt_cv_dlopen="load_add_on"
   10707     lt_cv_dlopen_libs=
   10708     lt_cv_dlopen_self=yes
   10709     ;;
   10710 
   10711   mingw* | pw32* | cegcc*)
   10712     lt_cv_dlopen="LoadLibrary"
   10713     lt_cv_dlopen_libs=
   10714     ;;
   10715 
   10716   cygwin*)
   10717     lt_cv_dlopen="dlopen"
   10718     lt_cv_dlopen_libs=
   10719     ;;
   10720 
   10721   darwin*)
   10722   # if libdl is installed we need to link against it
   10723     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10724 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10725 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10726   $as_echo_n "(cached) " >&6
   10727 else
   10728   ac_check_lib_save_LIBS=$LIBS
   10729 LIBS="-ldl  $LIBS"
   10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10731 /* end confdefs.h.  */
   10732 
   10733 /* Override any GCC internal prototype to avoid an error.
   10734    Use char because int might match the return type of a GCC
   10735    builtin and then its argument prototype would still apply.  */
   10736 #ifdef __cplusplus
   10737 extern "C"
   10738 #endif
   10739 char dlopen ();
   10740 int
   10741 main ()
   10742 {
   10743 return dlopen ();
   10744   ;
   10745   return 0;
   10746 }
   10747 _ACEOF
   10748 if ac_fn_c_try_link "$LINENO"; then :
   10749   ac_cv_lib_dl_dlopen=yes
   10750 else
   10751   ac_cv_lib_dl_dlopen=no
   10752 fi
   10753 rm -f core conftest.err conftest.$ac_objext \
   10754     conftest$ac_exeext conftest.$ac_ext
   10755 LIBS=$ac_check_lib_save_LIBS
   10756 fi
   10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10758 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10759 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10760   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10761 else
   10762 
   10763     lt_cv_dlopen="dyld"
   10764     lt_cv_dlopen_libs=
   10765     lt_cv_dlopen_self=yes
   10766 
   10767 fi
   10768 
   10769     ;;
   10770 
   10771   *)
   10772     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10773 if test "x$ac_cv_func_shl_load" = xyes; then :
   10774   lt_cv_dlopen="shl_load"
   10775 else
   10776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10777 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10778 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10779   $as_echo_n "(cached) " >&6
   10780 else
   10781   ac_check_lib_save_LIBS=$LIBS
   10782 LIBS="-ldld  $LIBS"
   10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10784 /* end confdefs.h.  */
   10785 
   10786 /* Override any GCC internal prototype to avoid an error.
   10787    Use char because int might match the return type of a GCC
   10788    builtin and then its argument prototype would still apply.  */
   10789 #ifdef __cplusplus
   10790 extern "C"
   10791 #endif
   10792 char shl_load ();
   10793 int
   10794 main ()
   10795 {
   10796 return shl_load ();
   10797   ;
   10798   return 0;
   10799 }
   10800 _ACEOF
   10801 if ac_fn_c_try_link "$LINENO"; then :
   10802   ac_cv_lib_dld_shl_load=yes
   10803 else
   10804   ac_cv_lib_dld_shl_load=no
   10805 fi
   10806 rm -f core conftest.err conftest.$ac_objext \
   10807     conftest$ac_exeext conftest.$ac_ext
   10808 LIBS=$ac_check_lib_save_LIBS
   10809 fi
   10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10811 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10812 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10813   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10814 else
   10815   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10816 if test "x$ac_cv_func_dlopen" = xyes; then :
   10817   lt_cv_dlopen="dlopen"
   10818 else
   10819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10820 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10821 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10822   $as_echo_n "(cached) " >&6
   10823 else
   10824   ac_check_lib_save_LIBS=$LIBS
   10825 LIBS="-ldl  $LIBS"
   10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10827 /* end confdefs.h.  */
   10828 
   10829 /* Override any GCC internal prototype to avoid an error.
   10830    Use char because int might match the return type of a GCC
   10831    builtin and then its argument prototype would still apply.  */
   10832 #ifdef __cplusplus
   10833 extern "C"
   10834 #endif
   10835 char dlopen ();
   10836 int
   10837 main ()
   10838 {
   10839 return dlopen ();
   10840   ;
   10841   return 0;
   10842 }
   10843 _ACEOF
   10844 if ac_fn_c_try_link "$LINENO"; then :
   10845   ac_cv_lib_dl_dlopen=yes
   10846 else
   10847   ac_cv_lib_dl_dlopen=no
   10848 fi
   10849 rm -f core conftest.err conftest.$ac_objext \
   10850     conftest$ac_exeext conftest.$ac_ext
   10851 LIBS=$ac_check_lib_save_LIBS
   10852 fi
   10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10854 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10855 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10856   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10857 else
   10858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10859 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10860 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10861   $as_echo_n "(cached) " >&6
   10862 else
   10863   ac_check_lib_save_LIBS=$LIBS
   10864 LIBS="-lsvld  $LIBS"
   10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10866 /* end confdefs.h.  */
   10867 
   10868 /* Override any GCC internal prototype to avoid an error.
   10869    Use char because int might match the return type of a GCC
   10870    builtin and then its argument prototype would still apply.  */
   10871 #ifdef __cplusplus
   10872 extern "C"
   10873 #endif
   10874 char dlopen ();
   10875 int
   10876 main ()
   10877 {
   10878 return dlopen ();
   10879   ;
   10880   return 0;
   10881 }
   10882 _ACEOF
   10883 if ac_fn_c_try_link "$LINENO"; then :
   10884   ac_cv_lib_svld_dlopen=yes
   10885 else
   10886   ac_cv_lib_svld_dlopen=no
   10887 fi
   10888 rm -f core conftest.err conftest.$ac_objext \
   10889     conftest$ac_exeext conftest.$ac_ext
   10890 LIBS=$ac_check_lib_save_LIBS
   10891 fi
   10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10893 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10894 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10895   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10896 else
   10897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10898 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10899 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10900   $as_echo_n "(cached) " >&6
   10901 else
   10902   ac_check_lib_save_LIBS=$LIBS
   10903 LIBS="-ldld  $LIBS"
   10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10905 /* end confdefs.h.  */
   10906 
   10907 /* Override any GCC internal prototype to avoid an error.
   10908    Use char because int might match the return type of a GCC
   10909    builtin and then its argument prototype would still apply.  */
   10910 #ifdef __cplusplus
   10911 extern "C"
   10912 #endif
   10913 char dld_link ();
   10914 int
   10915 main ()
   10916 {
   10917 return dld_link ();
   10918   ;
   10919   return 0;
   10920 }
   10921 _ACEOF
   10922 if ac_fn_c_try_link "$LINENO"; then :
   10923   ac_cv_lib_dld_dld_link=yes
   10924 else
   10925   ac_cv_lib_dld_dld_link=no
   10926 fi
   10927 rm -f core conftest.err conftest.$ac_objext \
   10928     conftest$ac_exeext conftest.$ac_ext
   10929 LIBS=$ac_check_lib_save_LIBS
   10930 fi
   10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10932 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10933 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10934   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10935 fi
   10936 
   10937 
   10938 fi
   10939 
   10940 
   10941 fi
   10942 
   10943 
   10944 fi
   10945 
   10946 
   10947 fi
   10948 
   10949 
   10950 fi
   10951 
   10952     ;;
   10953   esac
   10954 
   10955   if test "x$lt_cv_dlopen" != xno; then
   10956     enable_dlopen=yes
   10957   else
   10958     enable_dlopen=no
   10959   fi
   10960 
   10961   case $lt_cv_dlopen in
   10962   dlopen)
   10963     save_CPPFLAGS="$CPPFLAGS"
   10964     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10965 
   10966     save_LDFLAGS="$LDFLAGS"
   10967     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10968 
   10969     save_LIBS="$LIBS"
   10970     LIBS="$lt_cv_dlopen_libs $LIBS"
   10971 
   10972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10973 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10974 if ${lt_cv_dlopen_self+:} false; then :
   10975   $as_echo_n "(cached) " >&6
   10976 else
   10977   	  if test "$cross_compiling" = yes; then :
   10978   lt_cv_dlopen_self=cross
   10979 else
   10980   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10981   lt_status=$lt_dlunknown
   10982   cat > conftest.$ac_ext <<_LT_EOF
   10983 #line $LINENO "configure"
   10984 #include "confdefs.h"
   10985 
   10986 #if HAVE_DLFCN_H
   10987 #include <dlfcn.h>
   10988 #endif
   10989 
   10990 #include <stdio.h>
   10991 
   10992 #ifdef RTLD_GLOBAL
   10993 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10994 #else
   10995 #  ifdef DL_GLOBAL
   10996 #    define LT_DLGLOBAL		DL_GLOBAL
   10997 #  else
   10998 #    define LT_DLGLOBAL		0
   10999 #  endif
   11000 #endif
   11001 
   11002 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11003    find out it does not work in some platform. */
   11004 #ifndef LT_DLLAZY_OR_NOW
   11005 #  ifdef RTLD_LAZY
   11006 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11007 #  else
   11008 #    ifdef DL_LAZY
   11009 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11010 #    else
   11011 #      ifdef RTLD_NOW
   11012 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11013 #      else
   11014 #        ifdef DL_NOW
   11015 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11016 #        else
   11017 #          define LT_DLLAZY_OR_NOW	0
   11018 #        endif
   11019 #      endif
   11020 #    endif
   11021 #  endif
   11022 #endif
   11023 
   11024 /* When -fvisbility=hidden is used, assume the code has been annotated
   11025    correspondingly for the symbols needed.  */
   11026 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11027 int fnord () __attribute__((visibility("default")));
   11028 #endif
   11029 
   11030 int fnord () { return 42; }
   11031 int main ()
   11032 {
   11033   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11034   int status = $lt_dlunknown;
   11035 
   11036   if (self)
   11037     {
   11038       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11039       else
   11040         {
   11041 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11042           else puts (dlerror ());
   11043 	}
   11044       /* dlclose (self); */
   11045     }
   11046   else
   11047     puts (dlerror ());
   11048 
   11049   return status;
   11050 }
   11051 _LT_EOF
   11052   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11053   (eval $ac_link) 2>&5
   11054   ac_status=$?
   11055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11056   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11057     (./conftest; exit; ) >&5 2>/dev/null
   11058     lt_status=$?
   11059     case x$lt_status in
   11060       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11061       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11062       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11063     esac
   11064   else :
   11065     # compilation failed
   11066     lt_cv_dlopen_self=no
   11067   fi
   11068 fi
   11069 rm -fr conftest*
   11070 
   11071 
   11072 fi
   11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11074 $as_echo "$lt_cv_dlopen_self" >&6; }
   11075 
   11076     if test "x$lt_cv_dlopen_self" = xyes; then
   11077       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11078       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11079 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11080 if ${lt_cv_dlopen_self_static+:} false; then :
   11081   $as_echo_n "(cached) " >&6
   11082 else
   11083   	  if test "$cross_compiling" = yes; then :
   11084   lt_cv_dlopen_self_static=cross
   11085 else
   11086   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11087   lt_status=$lt_dlunknown
   11088   cat > conftest.$ac_ext <<_LT_EOF
   11089 #line $LINENO "configure"
   11090 #include "confdefs.h"
   11091 
   11092 #if HAVE_DLFCN_H
   11093 #include <dlfcn.h>
   11094 #endif
   11095 
   11096 #include <stdio.h>
   11097 
   11098 #ifdef RTLD_GLOBAL
   11099 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11100 #else
   11101 #  ifdef DL_GLOBAL
   11102 #    define LT_DLGLOBAL		DL_GLOBAL
   11103 #  else
   11104 #    define LT_DLGLOBAL		0
   11105 #  endif
   11106 #endif
   11107 
   11108 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11109    find out it does not work in some platform. */
   11110 #ifndef LT_DLLAZY_OR_NOW
   11111 #  ifdef RTLD_LAZY
   11112 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11113 #  else
   11114 #    ifdef DL_LAZY
   11115 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11116 #    else
   11117 #      ifdef RTLD_NOW
   11118 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11119 #      else
   11120 #        ifdef DL_NOW
   11121 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11122 #        else
   11123 #          define LT_DLLAZY_OR_NOW	0
   11124 #        endif
   11125 #      endif
   11126 #    endif
   11127 #  endif
   11128 #endif
   11129 
   11130 /* When -fvisbility=hidden is used, assume the code has been annotated
   11131    correspondingly for the symbols needed.  */
   11132 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11133 int fnord () __attribute__((visibility("default")));
   11134 #endif
   11135 
   11136 int fnord () { return 42; }
   11137 int main ()
   11138 {
   11139   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11140   int status = $lt_dlunknown;
   11141 
   11142   if (self)
   11143     {
   11144       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11145       else
   11146         {
   11147 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11148           else puts (dlerror ());
   11149 	}
   11150       /* dlclose (self); */
   11151     }
   11152   else
   11153     puts (dlerror ());
   11154 
   11155   return status;
   11156 }
   11157 _LT_EOF
   11158   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11159   (eval $ac_link) 2>&5
   11160   ac_status=$?
   11161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11162   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11163     (./conftest; exit; ) >&5 2>/dev/null
   11164     lt_status=$?
   11165     case x$lt_status in
   11166       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11167       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11168       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11169     esac
   11170   else :
   11171     # compilation failed
   11172     lt_cv_dlopen_self_static=no
   11173   fi
   11174 fi
   11175 rm -fr conftest*
   11176 
   11177 
   11178 fi
   11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11180 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11181     fi
   11182 
   11183     CPPFLAGS="$save_CPPFLAGS"
   11184     LDFLAGS="$save_LDFLAGS"
   11185     LIBS="$save_LIBS"
   11186     ;;
   11187   esac
   11188 
   11189   case $lt_cv_dlopen_self in
   11190   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11191   *) enable_dlopen_self=unknown ;;
   11192   esac
   11193 
   11194   case $lt_cv_dlopen_self_static in
   11195   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11196   *) enable_dlopen_self_static=unknown ;;
   11197   esac
   11198 fi
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 striplib=
   11217 old_striplib=
   11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11219 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11220 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11221   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11222   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11224 $as_echo "yes" >&6; }
   11225 else
   11226 # FIXME - insert some real tests, host_os isn't really good enough
   11227   case $host_os in
   11228   darwin*)
   11229     if test -n "$STRIP" ; then
   11230       striplib="$STRIP -x"
   11231       old_striplib="$STRIP -S"
   11232       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11233 $as_echo "yes" >&6; }
   11234     else
   11235       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11236 $as_echo "no" >&6; }
   11237     fi
   11238     ;;
   11239   *)
   11240     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11241 $as_echo "no" >&6; }
   11242     ;;
   11243   esac
   11244 fi
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257   # Report which library types will actually be built
   11258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11259 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11261 $as_echo "$can_build_shared" >&6; }
   11262 
   11263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11264 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11265   test "$can_build_shared" = "no" && enable_shared=no
   11266 
   11267   # On AIX, shared libraries and static libraries use the same namespace, and
   11268   # are all built from PIC.
   11269   case $host_os in
   11270   aix3*)
   11271     test "$enable_shared" = yes && enable_static=no
   11272     if test -n "$RANLIB"; then
   11273       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11274       postinstall_cmds='$RANLIB $lib'
   11275     fi
   11276     ;;
   11277 
   11278   aix[4-9]*)
   11279     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11280       test "$enable_shared" = yes && enable_static=no
   11281     fi
   11282     ;;
   11283   esac
   11284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11285 $as_echo "$enable_shared" >&6; }
   11286 
   11287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11288 $as_echo_n "checking whether to build static libraries... " >&6; }
   11289   # Make sure either enable_shared or enable_static is yes.
   11290   test "$enable_shared" = yes || enable_static=yes
   11291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11292 $as_echo "$enable_static" >&6; }
   11293 
   11294 
   11295 
   11296 
   11297 fi
   11298 ac_ext=c
   11299 ac_cpp='$CPP $CPPFLAGS'
   11300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11303 
   11304 CC="$lt_save_CC"
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320         ac_config_commands="$ac_config_commands libtool"
   11321 
   11322 
   11323 
   11324 
   11325 # Only expand once:
   11326 
   11327 
   11328 
   11329 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11342 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11343 if ${ac_cv_prog_cc_c99+:} false; then :
   11344   $as_echo_n "(cached) " >&6
   11345 else
   11346   ac_cv_prog_cc_c99=no
   11347 ac_save_CC=$CC
   11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11349 /* end confdefs.h.  */
   11350 #include <stdarg.h>
   11351 #include <stdbool.h>
   11352 #include <stdlib.h>
   11353 #include <wchar.h>
   11354 #include <stdio.h>
   11355 
   11356 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11357 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11358 #define showlist(...) puts (#__VA_ARGS__)
   11359 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11360 static void
   11361 test_varargs_macros (void)
   11362 {
   11363   int x = 1234;
   11364   int y = 5678;
   11365   debug ("Flag");
   11366   debug ("X = %d\n", x);
   11367   showlist (The first, second, and third items.);
   11368   report (x>y, "x is %d but y is %d", x, y);
   11369 }
   11370 
   11371 // Check long long types.
   11372 #define BIG64 18446744073709551615ull
   11373 #define BIG32 4294967295ul
   11374 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11375 #if !BIG_OK
   11376   your preprocessor is broken;
   11377 #endif
   11378 #if BIG_OK
   11379 #else
   11380   your preprocessor is broken;
   11381 #endif
   11382 static long long int bignum = -9223372036854775807LL;
   11383 static unsigned long long int ubignum = BIG64;
   11384 
   11385 struct incomplete_array
   11386 {
   11387   int datasize;
   11388   double data[];
   11389 };
   11390 
   11391 struct named_init {
   11392   int number;
   11393   const wchar_t *name;
   11394   double average;
   11395 };
   11396 
   11397 typedef const char *ccp;
   11398 
   11399 static inline int
   11400 test_restrict (ccp restrict text)
   11401 {
   11402   // See if C++-style comments work.
   11403   // Iterate through items via the restricted pointer.
   11404   // Also check for declarations in for loops.
   11405   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11406     continue;
   11407   return 0;
   11408 }
   11409 
   11410 // Check varargs and va_copy.
   11411 static void
   11412 test_varargs (const char *format, ...)
   11413 {
   11414   va_list args;
   11415   va_start (args, format);
   11416   va_list args_copy;
   11417   va_copy (args_copy, args);
   11418 
   11419   const char *str;
   11420   int number;
   11421   float fnumber;
   11422 
   11423   while (*format)
   11424     {
   11425       switch (*format++)
   11426 	{
   11427 	case 's': // string
   11428 	  str = va_arg (args_copy, const char *);
   11429 	  break;
   11430 	case 'd': // int
   11431 	  number = va_arg (args_copy, int);
   11432 	  break;
   11433 	case 'f': // float
   11434 	  fnumber = va_arg (args_copy, double);
   11435 	  break;
   11436 	default:
   11437 	  break;
   11438 	}
   11439     }
   11440   va_end (args_copy);
   11441   va_end (args);
   11442 }
   11443 
   11444 int
   11445 main ()
   11446 {
   11447 
   11448   // Check bool.
   11449   _Bool success = false;
   11450 
   11451   // Check restrict.
   11452   if (test_restrict ("String literal") == 0)
   11453     success = true;
   11454   char *restrict newvar = "Another string";
   11455 
   11456   // Check varargs.
   11457   test_varargs ("s, d' f .", "string", 65, 34.234);
   11458   test_varargs_macros ();
   11459 
   11460   // Check flexible array members.
   11461   struct incomplete_array *ia =
   11462     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11463   ia->datasize = 10;
   11464   for (int i = 0; i < ia->datasize; ++i)
   11465     ia->data[i] = i * 1.234;
   11466 
   11467   // Check named initializers.
   11468   struct named_init ni = {
   11469     .number = 34,
   11470     .name = L"Test wide string",
   11471     .average = 543.34343,
   11472   };
   11473 
   11474   ni.number = 58;
   11475 
   11476   int dynamic_array[ni.number];
   11477   dynamic_array[ni.number - 1] = 543;
   11478 
   11479   // work around unused variable warnings
   11480   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11481 	  || dynamic_array[ni.number - 1] != 543);
   11482 
   11483   ;
   11484   return 0;
   11485 }
   11486 _ACEOF
   11487 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11488 do
   11489   CC="$ac_save_CC $ac_arg"
   11490   if ac_fn_c_try_compile "$LINENO"; then :
   11491   ac_cv_prog_cc_c99=$ac_arg
   11492 fi
   11493 rm -f core conftest.err conftest.$ac_objext
   11494   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11495 done
   11496 rm -f conftest.$ac_ext
   11497 CC=$ac_save_CC
   11498 
   11499 fi
   11500 # AC_CACHE_VAL
   11501 case "x$ac_cv_prog_cc_c99" in
   11502   x)
   11503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11504 $as_echo "none needed" >&6; } ;;
   11505   xno)
   11506     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11507 $as_echo "unsupported" >&6; } ;;
   11508   *)
   11509     CC="$CC $ac_cv_prog_cc_c99"
   11510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11511 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11512 esac
   11513 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11514 
   11515 fi
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11523 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11524   CLANGCC="yes"
   11525 else
   11526   CLANGCC="no"
   11527 fi
   11528 
   11529 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11530 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11531   INTELCC="yes"
   11532 else
   11533   INTELCC="no"
   11534 fi
   11535 
   11536 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11537 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11538   SUNCC="yes"
   11539 else
   11540   SUNCC="no"
   11541 fi
   11542 
   11543 
   11544 
   11545 
   11546 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11547 	if test -n "$ac_tool_prefix"; then
   11548   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11549 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11551 $as_echo_n "checking for $ac_word... " >&6; }
   11552 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11553   $as_echo_n "(cached) " >&6
   11554 else
   11555   case $PKG_CONFIG in
   11556   [\\/]* | ?:[\\/]*)
   11557   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11558   ;;
   11559   *)
   11560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11561 for as_dir in $PATH
   11562 do
   11563   IFS=$as_save_IFS
   11564   test -z "$as_dir" && as_dir=.
   11565     for ac_exec_ext in '' $ac_executable_extensions; do
   11566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11567     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11569     break 2
   11570   fi
   11571 done
   11572   done
   11573 IFS=$as_save_IFS
   11574 
   11575   ;;
   11576 esac
   11577 fi
   11578 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11579 if test -n "$PKG_CONFIG"; then
   11580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11581 $as_echo "$PKG_CONFIG" >&6; }
   11582 else
   11583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11584 $as_echo "no" >&6; }
   11585 fi
   11586 
   11587 
   11588 fi
   11589 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11590   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11591   # Extract the first word of "pkg-config", so it can be a program name with args.
   11592 set dummy pkg-config; ac_word=$2
   11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11594 $as_echo_n "checking for $ac_word... " >&6; }
   11595 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11596   $as_echo_n "(cached) " >&6
   11597 else
   11598   case $ac_pt_PKG_CONFIG in
   11599   [\\/]* | ?:[\\/]*)
   11600   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11601   ;;
   11602   *)
   11603   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11604 for as_dir in $PATH
   11605 do
   11606   IFS=$as_save_IFS
   11607   test -z "$as_dir" && as_dir=.
   11608     for ac_exec_ext in '' $ac_executable_extensions; do
   11609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11610     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11612     break 2
   11613   fi
   11614 done
   11615   done
   11616 IFS=$as_save_IFS
   11617 
   11618   ;;
   11619 esac
   11620 fi
   11621 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11622 if test -n "$ac_pt_PKG_CONFIG"; then
   11623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11624 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11625 else
   11626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11627 $as_echo "no" >&6; }
   11628 fi
   11629 
   11630   if test "x$ac_pt_PKG_CONFIG" = x; then
   11631     PKG_CONFIG=""
   11632   else
   11633     case $cross_compiling:$ac_tool_warned in
   11634 yes:)
   11635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11637 ac_tool_warned=yes ;;
   11638 esac
   11639     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11640   fi
   11641 else
   11642   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11643 fi
   11644 
   11645 fi
   11646 if test -n "$PKG_CONFIG"; then
   11647 	_pkg_min_version=0.9.0
   11648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11649 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11650 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11652 $as_echo "yes" >&6; }
   11653 	else
   11654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11655 $as_echo "no" >&6; }
   11656 		PKG_CONFIG=""
   11657 	fi
   11658 
   11659 fi
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 # Check whether --enable-selective-werror was given.
   11666 if test "${enable_selective_werror+set}" = set; then :
   11667   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11668 else
   11669   SELECTIVE_WERROR=yes
   11670 fi
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11677 if test "x$SUNCC" = "xyes"; then
   11678     BASE_CFLAGS="-v"
   11679 else
   11680     BASE_CFLAGS=""
   11681 fi
   11682 
   11683 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 xorg_testset_save_CFLAGS="$CFLAGS"
   11698 
   11699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11702 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11703 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11704   $as_echo_n "(cached) " >&6
   11705 else
   11706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11707 /* end confdefs.h.  */
   11708 int i;
   11709 _ACEOF
   11710 if ac_fn_c_try_compile "$LINENO"; then :
   11711   xorg_cv_cc_flag_unknown_warning_option=yes
   11712 else
   11713   xorg_cv_cc_flag_unknown_warning_option=no
   11714 fi
   11715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11716 fi
   11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11718 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11720 	CFLAGS="$xorg_testset_save_CFLAGS"
   11721 fi
   11722 
   11723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11726 	fi
   11727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11729 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11730 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11731   $as_echo_n "(cached) " >&6
   11732 else
   11733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11734 /* end confdefs.h.  */
   11735 int i;
   11736 _ACEOF
   11737 if ac_fn_c_try_compile "$LINENO"; then :
   11738   xorg_cv_cc_flag_unused_command_line_argument=yes
   11739 else
   11740   xorg_cv_cc_flag_unused_command_line_argument=no
   11741 fi
   11742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11743 fi
   11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11745 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11747 	CFLAGS="$xorg_testset_save_CFLAGS"
   11748 fi
   11749 
   11750 found="no"
   11751 
   11752 	if test $found = "no" ; then
   11753 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11755 		fi
   11756 
   11757 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11759 		fi
   11760 
   11761 		CFLAGS="$CFLAGS -Wall"
   11762 
   11763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11764 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11765 		cacheid=xorg_cv_cc_flag__Wall
   11766 		if eval \${$cacheid+:} false; then :
   11767   $as_echo_n "(cached) " >&6
   11768 else
   11769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11770 /* end confdefs.h.  */
   11771 int i;
   11772 int
   11773 main ()
   11774 {
   11775 
   11776   ;
   11777   return 0;
   11778 }
   11779 _ACEOF
   11780 if ac_fn_c_try_link "$LINENO"; then :
   11781   eval $cacheid=yes
   11782 else
   11783   eval $cacheid=no
   11784 fi
   11785 rm -f core conftest.err conftest.$ac_objext \
   11786     conftest$ac_exeext conftest.$ac_ext
   11787 fi
   11788 
   11789 
   11790 		CFLAGS="$xorg_testset_save_CFLAGS"
   11791 
   11792 		eval supported=\$$cacheid
   11793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11794 $as_echo "$supported" >&6; }
   11795 		if test "$supported" = "yes" ; then
   11796 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11797 			found="yes"
   11798 		fi
   11799 	fi
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 xorg_testset_save_CFLAGS="$CFLAGS"
   11816 
   11817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11820 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11821 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11822   $as_echo_n "(cached) " >&6
   11823 else
   11824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11825 /* end confdefs.h.  */
   11826 int i;
   11827 _ACEOF
   11828 if ac_fn_c_try_compile "$LINENO"; then :
   11829   xorg_cv_cc_flag_unknown_warning_option=yes
   11830 else
   11831   xorg_cv_cc_flag_unknown_warning_option=no
   11832 fi
   11833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11834 fi
   11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11836 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11838 	CFLAGS="$xorg_testset_save_CFLAGS"
   11839 fi
   11840 
   11841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11844 	fi
   11845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11847 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11848 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11849   $as_echo_n "(cached) " >&6
   11850 else
   11851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11852 /* end confdefs.h.  */
   11853 int i;
   11854 _ACEOF
   11855 if ac_fn_c_try_compile "$LINENO"; then :
   11856   xorg_cv_cc_flag_unused_command_line_argument=yes
   11857 else
   11858   xorg_cv_cc_flag_unused_command_line_argument=no
   11859 fi
   11860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11861 fi
   11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11863 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11865 	CFLAGS="$xorg_testset_save_CFLAGS"
   11866 fi
   11867 
   11868 found="no"
   11869 
   11870 	if test $found = "no" ; then
   11871 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11873 		fi
   11874 
   11875 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11877 		fi
   11878 
   11879 		CFLAGS="$CFLAGS -Wpointer-arith"
   11880 
   11881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11882 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11883 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11884 		if eval \${$cacheid+:} false; then :
   11885   $as_echo_n "(cached) " >&6
   11886 else
   11887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11888 /* end confdefs.h.  */
   11889 int i;
   11890 int
   11891 main ()
   11892 {
   11893 
   11894   ;
   11895   return 0;
   11896 }
   11897 _ACEOF
   11898 if ac_fn_c_try_link "$LINENO"; then :
   11899   eval $cacheid=yes
   11900 else
   11901   eval $cacheid=no
   11902 fi
   11903 rm -f core conftest.err conftest.$ac_objext \
   11904     conftest$ac_exeext conftest.$ac_ext
   11905 fi
   11906 
   11907 
   11908 		CFLAGS="$xorg_testset_save_CFLAGS"
   11909 
   11910 		eval supported=\$$cacheid
   11911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11912 $as_echo "$supported" >&6; }
   11913 		if test "$supported" = "yes" ; then
   11914 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11915 			found="yes"
   11916 		fi
   11917 	fi
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 xorg_testset_save_CFLAGS="$CFLAGS"
   11934 
   11935 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11938 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11939 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11940   $as_echo_n "(cached) " >&6
   11941 else
   11942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11943 /* end confdefs.h.  */
   11944 int i;
   11945 _ACEOF
   11946 if ac_fn_c_try_compile "$LINENO"; then :
   11947   xorg_cv_cc_flag_unknown_warning_option=yes
   11948 else
   11949   xorg_cv_cc_flag_unknown_warning_option=no
   11950 fi
   11951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11952 fi
   11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11954 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11955 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11956 	CFLAGS="$xorg_testset_save_CFLAGS"
   11957 fi
   11958 
   11959 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11960 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11961 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11962 	fi
   11963 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11965 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11966 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11967   $as_echo_n "(cached) " >&6
   11968 else
   11969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11970 /* end confdefs.h.  */
   11971 int i;
   11972 _ACEOF
   11973 if ac_fn_c_try_compile "$LINENO"; then :
   11974   xorg_cv_cc_flag_unused_command_line_argument=yes
   11975 else
   11976   xorg_cv_cc_flag_unused_command_line_argument=no
   11977 fi
   11978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11979 fi
   11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11981 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11982 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11983 	CFLAGS="$xorg_testset_save_CFLAGS"
   11984 fi
   11985 
   11986 found="no"
   11987 
   11988 	if test $found = "no" ; then
   11989 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11991 		fi
   11992 
   11993 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11995 		fi
   11996 
   11997 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11998 
   11999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12000 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12001 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12002 		if eval \${$cacheid+:} false; then :
   12003   $as_echo_n "(cached) " >&6
   12004 else
   12005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12006 /* end confdefs.h.  */
   12007 int i;
   12008 int
   12009 main ()
   12010 {
   12011 
   12012   ;
   12013   return 0;
   12014 }
   12015 _ACEOF
   12016 if ac_fn_c_try_link "$LINENO"; then :
   12017   eval $cacheid=yes
   12018 else
   12019   eval $cacheid=no
   12020 fi
   12021 rm -f core conftest.err conftest.$ac_objext \
   12022     conftest$ac_exeext conftest.$ac_ext
   12023 fi
   12024 
   12025 
   12026 		CFLAGS="$xorg_testset_save_CFLAGS"
   12027 
   12028 		eval supported=\$$cacheid
   12029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12030 $as_echo "$supported" >&6; }
   12031 		if test "$supported" = "yes" ; then
   12032 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12033 			found="yes"
   12034 		fi
   12035 	fi
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 xorg_testset_save_CFLAGS="$CFLAGS"
   12052 
   12053 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12056 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12057 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12058   $as_echo_n "(cached) " >&6
   12059 else
   12060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12061 /* end confdefs.h.  */
   12062 int i;
   12063 _ACEOF
   12064 if ac_fn_c_try_compile "$LINENO"; then :
   12065   xorg_cv_cc_flag_unknown_warning_option=yes
   12066 else
   12067   xorg_cv_cc_flag_unknown_warning_option=no
   12068 fi
   12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12070 fi
   12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12072 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12074 	CFLAGS="$xorg_testset_save_CFLAGS"
   12075 fi
   12076 
   12077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12080 	fi
   12081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12083 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12084 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12085   $as_echo_n "(cached) " >&6
   12086 else
   12087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12088 /* end confdefs.h.  */
   12089 int i;
   12090 _ACEOF
   12091 if ac_fn_c_try_compile "$LINENO"; then :
   12092   xorg_cv_cc_flag_unused_command_line_argument=yes
   12093 else
   12094   xorg_cv_cc_flag_unused_command_line_argument=no
   12095 fi
   12096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12097 fi
   12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12099 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12101 	CFLAGS="$xorg_testset_save_CFLAGS"
   12102 fi
   12103 
   12104 found="no"
   12105 
   12106 	if test $found = "no" ; then
   12107 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12109 		fi
   12110 
   12111 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12113 		fi
   12114 
   12115 		CFLAGS="$CFLAGS -Wformat=2"
   12116 
   12117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12118 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12119 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12120 		if eval \${$cacheid+:} false; then :
   12121   $as_echo_n "(cached) " >&6
   12122 else
   12123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12124 /* end confdefs.h.  */
   12125 int i;
   12126 int
   12127 main ()
   12128 {
   12129 
   12130   ;
   12131   return 0;
   12132 }
   12133 _ACEOF
   12134 if ac_fn_c_try_link "$LINENO"; then :
   12135   eval $cacheid=yes
   12136 else
   12137   eval $cacheid=no
   12138 fi
   12139 rm -f core conftest.err conftest.$ac_objext \
   12140     conftest$ac_exeext conftest.$ac_ext
   12141 fi
   12142 
   12143 
   12144 		CFLAGS="$xorg_testset_save_CFLAGS"
   12145 
   12146 		eval supported=\$$cacheid
   12147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12148 $as_echo "$supported" >&6; }
   12149 		if test "$supported" = "yes" ; then
   12150 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12151 			found="yes"
   12152 		fi
   12153 	fi
   12154 
   12155 	if test $found = "no" ; then
   12156 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12158 		fi
   12159 
   12160 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12162 		fi
   12163 
   12164 		CFLAGS="$CFLAGS -Wformat"
   12165 
   12166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12167 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12168 		cacheid=xorg_cv_cc_flag__Wformat
   12169 		if eval \${$cacheid+:} false; then :
   12170   $as_echo_n "(cached) " >&6
   12171 else
   12172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12173 /* end confdefs.h.  */
   12174 int i;
   12175 int
   12176 main ()
   12177 {
   12178 
   12179   ;
   12180   return 0;
   12181 }
   12182 _ACEOF
   12183 if ac_fn_c_try_link "$LINENO"; then :
   12184   eval $cacheid=yes
   12185 else
   12186   eval $cacheid=no
   12187 fi
   12188 rm -f core conftest.err conftest.$ac_objext \
   12189     conftest$ac_exeext conftest.$ac_ext
   12190 fi
   12191 
   12192 
   12193 		CFLAGS="$xorg_testset_save_CFLAGS"
   12194 
   12195 		eval supported=\$$cacheid
   12196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12197 $as_echo "$supported" >&6; }
   12198 		if test "$supported" = "yes" ; then
   12199 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12200 			found="yes"
   12201 		fi
   12202 	fi
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 xorg_testset_save_CFLAGS="$CFLAGS"
   12221 
   12222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12225 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12226 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12227   $as_echo_n "(cached) " >&6
   12228 else
   12229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12230 /* end confdefs.h.  */
   12231 int i;
   12232 _ACEOF
   12233 if ac_fn_c_try_compile "$LINENO"; then :
   12234   xorg_cv_cc_flag_unknown_warning_option=yes
   12235 else
   12236   xorg_cv_cc_flag_unknown_warning_option=no
   12237 fi
   12238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12239 fi
   12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12241 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12243 	CFLAGS="$xorg_testset_save_CFLAGS"
   12244 fi
   12245 
   12246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12249 	fi
   12250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12252 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12253 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12254   $as_echo_n "(cached) " >&6
   12255 else
   12256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12257 /* end confdefs.h.  */
   12258 int i;
   12259 _ACEOF
   12260 if ac_fn_c_try_compile "$LINENO"; then :
   12261   xorg_cv_cc_flag_unused_command_line_argument=yes
   12262 else
   12263   xorg_cv_cc_flag_unused_command_line_argument=no
   12264 fi
   12265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12266 fi
   12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12268 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12270 	CFLAGS="$xorg_testset_save_CFLAGS"
   12271 fi
   12272 
   12273 found="no"
   12274 
   12275 	if test $found = "no" ; then
   12276 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12278 		fi
   12279 
   12280 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12282 		fi
   12283 
   12284 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12285 
   12286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12287 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12288 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12289 		if eval \${$cacheid+:} false; then :
   12290   $as_echo_n "(cached) " >&6
   12291 else
   12292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12293 /* end confdefs.h.  */
   12294 int i;
   12295 int
   12296 main ()
   12297 {
   12298 
   12299   ;
   12300   return 0;
   12301 }
   12302 _ACEOF
   12303 if ac_fn_c_try_link "$LINENO"; then :
   12304   eval $cacheid=yes
   12305 else
   12306   eval $cacheid=no
   12307 fi
   12308 rm -f core conftest.err conftest.$ac_objext \
   12309     conftest$ac_exeext conftest.$ac_ext
   12310 fi
   12311 
   12312 
   12313 		CFLAGS="$xorg_testset_save_CFLAGS"
   12314 
   12315 		eval supported=\$$cacheid
   12316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12317 $as_echo "$supported" >&6; }
   12318 		if test "$supported" = "yes" ; then
   12319 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12320 			found="yes"
   12321 		fi
   12322 	fi
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 xorg_testset_save_CFLAGS="$CFLAGS"
   12339 
   12340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12343 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12344 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12345   $as_echo_n "(cached) " >&6
   12346 else
   12347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12348 /* end confdefs.h.  */
   12349 int i;
   12350 _ACEOF
   12351 if ac_fn_c_try_compile "$LINENO"; then :
   12352   xorg_cv_cc_flag_unknown_warning_option=yes
   12353 else
   12354   xorg_cv_cc_flag_unknown_warning_option=no
   12355 fi
   12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12357 fi
   12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12359 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12360 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12361 	CFLAGS="$xorg_testset_save_CFLAGS"
   12362 fi
   12363 
   12364 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12365 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12366 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12367 	fi
   12368 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12370 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12371 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12372   $as_echo_n "(cached) " >&6
   12373 else
   12374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12375 /* end confdefs.h.  */
   12376 int i;
   12377 _ACEOF
   12378 if ac_fn_c_try_compile "$LINENO"; then :
   12379   xorg_cv_cc_flag_unused_command_line_argument=yes
   12380 else
   12381   xorg_cv_cc_flag_unused_command_line_argument=no
   12382 fi
   12383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12384 fi
   12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12386 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12388 	CFLAGS="$xorg_testset_save_CFLAGS"
   12389 fi
   12390 
   12391 found="no"
   12392 
   12393 	if test $found = "no" ; then
   12394 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12396 		fi
   12397 
   12398 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12400 		fi
   12401 
   12402 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12403 
   12404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12405 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12406 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12407 		if eval \${$cacheid+:} false; then :
   12408   $as_echo_n "(cached) " >&6
   12409 else
   12410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12411 /* end confdefs.h.  */
   12412 int i;
   12413 int
   12414 main ()
   12415 {
   12416 
   12417   ;
   12418   return 0;
   12419 }
   12420 _ACEOF
   12421 if ac_fn_c_try_link "$LINENO"; then :
   12422   eval $cacheid=yes
   12423 else
   12424   eval $cacheid=no
   12425 fi
   12426 rm -f core conftest.err conftest.$ac_objext \
   12427     conftest$ac_exeext conftest.$ac_ext
   12428 fi
   12429 
   12430 
   12431 		CFLAGS="$xorg_testset_save_CFLAGS"
   12432 
   12433 		eval supported=\$$cacheid
   12434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12435 $as_echo "$supported" >&6; }
   12436 		if test "$supported" = "yes" ; then
   12437 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12438 			found="yes"
   12439 		fi
   12440 	fi
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 xorg_testset_save_CFLAGS="$CFLAGS"
   12457 
   12458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12463   $as_echo_n "(cached) " >&6
   12464 else
   12465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12466 /* end confdefs.h.  */
   12467 int i;
   12468 _ACEOF
   12469 if ac_fn_c_try_compile "$LINENO"; then :
   12470   xorg_cv_cc_flag_unknown_warning_option=yes
   12471 else
   12472   xorg_cv_cc_flag_unknown_warning_option=no
   12473 fi
   12474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12475 fi
   12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12479 	CFLAGS="$xorg_testset_save_CFLAGS"
   12480 fi
   12481 
   12482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12485 	fi
   12486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12490   $as_echo_n "(cached) " >&6
   12491 else
   12492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12493 /* end confdefs.h.  */
   12494 int i;
   12495 _ACEOF
   12496 if ac_fn_c_try_compile "$LINENO"; then :
   12497   xorg_cv_cc_flag_unused_command_line_argument=yes
   12498 else
   12499   xorg_cv_cc_flag_unused_command_line_argument=no
   12500 fi
   12501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12502 fi
   12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12506 	CFLAGS="$xorg_testset_save_CFLAGS"
   12507 fi
   12508 
   12509 found="no"
   12510 
   12511 	if test $found = "no" ; then
   12512 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12514 		fi
   12515 
   12516 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12518 		fi
   12519 
   12520 		CFLAGS="$CFLAGS -Wnested-externs"
   12521 
   12522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12523 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12524 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12525 		if eval \${$cacheid+:} false; then :
   12526   $as_echo_n "(cached) " >&6
   12527 else
   12528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12529 /* end confdefs.h.  */
   12530 int i;
   12531 int
   12532 main ()
   12533 {
   12534 
   12535   ;
   12536   return 0;
   12537 }
   12538 _ACEOF
   12539 if ac_fn_c_try_link "$LINENO"; then :
   12540   eval $cacheid=yes
   12541 else
   12542   eval $cacheid=no
   12543 fi
   12544 rm -f core conftest.err conftest.$ac_objext \
   12545     conftest$ac_exeext conftest.$ac_ext
   12546 fi
   12547 
   12548 
   12549 		CFLAGS="$xorg_testset_save_CFLAGS"
   12550 
   12551 		eval supported=\$$cacheid
   12552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12553 $as_echo "$supported" >&6; }
   12554 		if test "$supported" = "yes" ; then
   12555 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12556 			found="yes"
   12557 		fi
   12558 	fi
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 xorg_testset_save_CFLAGS="$CFLAGS"
   12575 
   12576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12581   $as_echo_n "(cached) " >&6
   12582 else
   12583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12584 /* end confdefs.h.  */
   12585 int i;
   12586 _ACEOF
   12587 if ac_fn_c_try_compile "$LINENO"; then :
   12588   xorg_cv_cc_flag_unknown_warning_option=yes
   12589 else
   12590   xorg_cv_cc_flag_unknown_warning_option=no
   12591 fi
   12592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12593 fi
   12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12597 	CFLAGS="$xorg_testset_save_CFLAGS"
   12598 fi
   12599 
   12600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12603 	fi
   12604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12608   $as_echo_n "(cached) " >&6
   12609 else
   12610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12611 /* end confdefs.h.  */
   12612 int i;
   12613 _ACEOF
   12614 if ac_fn_c_try_compile "$LINENO"; then :
   12615   xorg_cv_cc_flag_unused_command_line_argument=yes
   12616 else
   12617   xorg_cv_cc_flag_unused_command_line_argument=no
   12618 fi
   12619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12620 fi
   12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12624 	CFLAGS="$xorg_testset_save_CFLAGS"
   12625 fi
   12626 
   12627 found="no"
   12628 
   12629 	if test $found = "no" ; then
   12630 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12632 		fi
   12633 
   12634 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12636 		fi
   12637 
   12638 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12639 
   12640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12641 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12642 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12643 		if eval \${$cacheid+:} false; then :
   12644   $as_echo_n "(cached) " >&6
   12645 else
   12646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12647 /* end confdefs.h.  */
   12648 int i;
   12649 int
   12650 main ()
   12651 {
   12652 
   12653   ;
   12654   return 0;
   12655 }
   12656 _ACEOF
   12657 if ac_fn_c_try_link "$LINENO"; then :
   12658   eval $cacheid=yes
   12659 else
   12660   eval $cacheid=no
   12661 fi
   12662 rm -f core conftest.err conftest.$ac_objext \
   12663     conftest$ac_exeext conftest.$ac_ext
   12664 fi
   12665 
   12666 
   12667 		CFLAGS="$xorg_testset_save_CFLAGS"
   12668 
   12669 		eval supported=\$$cacheid
   12670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12671 $as_echo "$supported" >&6; }
   12672 		if test "$supported" = "yes" ; then
   12673 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12674 			found="yes"
   12675 		fi
   12676 	fi
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 xorg_testset_save_CFLAGS="$CFLAGS"
   12693 
   12694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12699   $as_echo_n "(cached) " >&6
   12700 else
   12701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12702 /* end confdefs.h.  */
   12703 int i;
   12704 _ACEOF
   12705 if ac_fn_c_try_compile "$LINENO"; then :
   12706   xorg_cv_cc_flag_unknown_warning_option=yes
   12707 else
   12708   xorg_cv_cc_flag_unknown_warning_option=no
   12709 fi
   12710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12711 fi
   12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12715 	CFLAGS="$xorg_testset_save_CFLAGS"
   12716 fi
   12717 
   12718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12721 	fi
   12722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12726   $as_echo_n "(cached) " >&6
   12727 else
   12728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12729 /* end confdefs.h.  */
   12730 int i;
   12731 _ACEOF
   12732 if ac_fn_c_try_compile "$LINENO"; then :
   12733   xorg_cv_cc_flag_unused_command_line_argument=yes
   12734 else
   12735   xorg_cv_cc_flag_unused_command_line_argument=no
   12736 fi
   12737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12738 fi
   12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12742 	CFLAGS="$xorg_testset_save_CFLAGS"
   12743 fi
   12744 
   12745 found="no"
   12746 
   12747 	if test $found = "no" ; then
   12748 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12750 		fi
   12751 
   12752 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12754 		fi
   12755 
   12756 		CFLAGS="$CFLAGS -Wold-style-definition"
   12757 
   12758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12759 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12760 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12761 		if eval \${$cacheid+:} false; then :
   12762   $as_echo_n "(cached) " >&6
   12763 else
   12764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12765 /* end confdefs.h.  */
   12766 int i;
   12767 int
   12768 main ()
   12769 {
   12770 
   12771   ;
   12772   return 0;
   12773 }
   12774 _ACEOF
   12775 if ac_fn_c_try_link "$LINENO"; then :
   12776   eval $cacheid=yes
   12777 else
   12778   eval $cacheid=no
   12779 fi
   12780 rm -f core conftest.err conftest.$ac_objext \
   12781     conftest$ac_exeext conftest.$ac_ext
   12782 fi
   12783 
   12784 
   12785 		CFLAGS="$xorg_testset_save_CFLAGS"
   12786 
   12787 		eval supported=\$$cacheid
   12788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12789 $as_echo "$supported" >&6; }
   12790 		if test "$supported" = "yes" ; then
   12791 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12792 			found="yes"
   12793 		fi
   12794 	fi
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 xorg_testset_save_CFLAGS="$CFLAGS"
   12811 
   12812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12817   $as_echo_n "(cached) " >&6
   12818 else
   12819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12820 /* end confdefs.h.  */
   12821 int i;
   12822 _ACEOF
   12823 if ac_fn_c_try_compile "$LINENO"; then :
   12824   xorg_cv_cc_flag_unknown_warning_option=yes
   12825 else
   12826   xorg_cv_cc_flag_unknown_warning_option=no
   12827 fi
   12828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12829 fi
   12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12833 	CFLAGS="$xorg_testset_save_CFLAGS"
   12834 fi
   12835 
   12836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12839 	fi
   12840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12844   $as_echo_n "(cached) " >&6
   12845 else
   12846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12847 /* end confdefs.h.  */
   12848 int i;
   12849 _ACEOF
   12850 if ac_fn_c_try_compile "$LINENO"; then :
   12851   xorg_cv_cc_flag_unused_command_line_argument=yes
   12852 else
   12853   xorg_cv_cc_flag_unused_command_line_argument=no
   12854 fi
   12855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12856 fi
   12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12860 	CFLAGS="$xorg_testset_save_CFLAGS"
   12861 fi
   12862 
   12863 found="no"
   12864 
   12865 	if test $found = "no" ; then
   12866 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12868 		fi
   12869 
   12870 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12872 		fi
   12873 
   12874 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12875 
   12876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12877 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12878 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12879 		if eval \${$cacheid+:} false; then :
   12880   $as_echo_n "(cached) " >&6
   12881 else
   12882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12883 /* end confdefs.h.  */
   12884 int i;
   12885 int
   12886 main ()
   12887 {
   12888 
   12889   ;
   12890   return 0;
   12891 }
   12892 _ACEOF
   12893 if ac_fn_c_try_link "$LINENO"; then :
   12894   eval $cacheid=yes
   12895 else
   12896   eval $cacheid=no
   12897 fi
   12898 rm -f core conftest.err conftest.$ac_objext \
   12899     conftest$ac_exeext conftest.$ac_ext
   12900 fi
   12901 
   12902 
   12903 		CFLAGS="$xorg_testset_save_CFLAGS"
   12904 
   12905 		eval supported=\$$cacheid
   12906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12907 $as_echo "$supported" >&6; }
   12908 		if test "$supported" = "yes" ; then
   12909 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12910 			found="yes"
   12911 		fi
   12912 	fi
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 # This chunk adds additional warnings that could catch undesired effects.
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 xorg_testset_save_CFLAGS="$CFLAGS"
   12933 
   12934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12939   $as_echo_n "(cached) " >&6
   12940 else
   12941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12942 /* end confdefs.h.  */
   12943 int i;
   12944 _ACEOF
   12945 if ac_fn_c_try_compile "$LINENO"; then :
   12946   xorg_cv_cc_flag_unknown_warning_option=yes
   12947 else
   12948   xorg_cv_cc_flag_unknown_warning_option=no
   12949 fi
   12950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12951 fi
   12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12955 	CFLAGS="$xorg_testset_save_CFLAGS"
   12956 fi
   12957 
   12958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12961 	fi
   12962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12966   $as_echo_n "(cached) " >&6
   12967 else
   12968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12969 /* end confdefs.h.  */
   12970 int i;
   12971 _ACEOF
   12972 if ac_fn_c_try_compile "$LINENO"; then :
   12973   xorg_cv_cc_flag_unused_command_line_argument=yes
   12974 else
   12975   xorg_cv_cc_flag_unused_command_line_argument=no
   12976 fi
   12977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12978 fi
   12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12982 	CFLAGS="$xorg_testset_save_CFLAGS"
   12983 fi
   12984 
   12985 found="no"
   12986 
   12987 	if test $found = "no" ; then
   12988 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12990 		fi
   12991 
   12992 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12994 		fi
   12995 
   12996 		CFLAGS="$CFLAGS -Wunused"
   12997 
   12998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12999 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13000 		cacheid=xorg_cv_cc_flag__Wunused
   13001 		if eval \${$cacheid+:} false; then :
   13002   $as_echo_n "(cached) " >&6
   13003 else
   13004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13005 /* end confdefs.h.  */
   13006 int i;
   13007 int
   13008 main ()
   13009 {
   13010 
   13011   ;
   13012   return 0;
   13013 }
   13014 _ACEOF
   13015 if ac_fn_c_try_link "$LINENO"; then :
   13016   eval $cacheid=yes
   13017 else
   13018   eval $cacheid=no
   13019 fi
   13020 rm -f core conftest.err conftest.$ac_objext \
   13021     conftest$ac_exeext conftest.$ac_ext
   13022 fi
   13023 
   13024 
   13025 		CFLAGS="$xorg_testset_save_CFLAGS"
   13026 
   13027 		eval supported=\$$cacheid
   13028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13029 $as_echo "$supported" >&6; }
   13030 		if test "$supported" = "yes" ; then
   13031 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13032 			found="yes"
   13033 		fi
   13034 	fi
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 xorg_testset_save_CFLAGS="$CFLAGS"
   13051 
   13052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13057   $as_echo_n "(cached) " >&6
   13058 else
   13059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13060 /* end confdefs.h.  */
   13061 int i;
   13062 _ACEOF
   13063 if ac_fn_c_try_compile "$LINENO"; then :
   13064   xorg_cv_cc_flag_unknown_warning_option=yes
   13065 else
   13066   xorg_cv_cc_flag_unknown_warning_option=no
   13067 fi
   13068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13069 fi
   13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13073 	CFLAGS="$xorg_testset_save_CFLAGS"
   13074 fi
   13075 
   13076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13079 	fi
   13080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13084   $as_echo_n "(cached) " >&6
   13085 else
   13086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13087 /* end confdefs.h.  */
   13088 int i;
   13089 _ACEOF
   13090 if ac_fn_c_try_compile "$LINENO"; then :
   13091   xorg_cv_cc_flag_unused_command_line_argument=yes
   13092 else
   13093   xorg_cv_cc_flag_unused_command_line_argument=no
   13094 fi
   13095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13096 fi
   13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13100 	CFLAGS="$xorg_testset_save_CFLAGS"
   13101 fi
   13102 
   13103 found="no"
   13104 
   13105 	if test $found = "no" ; then
   13106 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13108 		fi
   13109 
   13110 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13112 		fi
   13113 
   13114 		CFLAGS="$CFLAGS -Wuninitialized"
   13115 
   13116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13117 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13118 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13119 		if eval \${$cacheid+:} false; then :
   13120   $as_echo_n "(cached) " >&6
   13121 else
   13122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13123 /* end confdefs.h.  */
   13124 int i;
   13125 int
   13126 main ()
   13127 {
   13128 
   13129   ;
   13130   return 0;
   13131 }
   13132 _ACEOF
   13133 if ac_fn_c_try_link "$LINENO"; then :
   13134   eval $cacheid=yes
   13135 else
   13136   eval $cacheid=no
   13137 fi
   13138 rm -f core conftest.err conftest.$ac_objext \
   13139     conftest$ac_exeext conftest.$ac_ext
   13140 fi
   13141 
   13142 
   13143 		CFLAGS="$xorg_testset_save_CFLAGS"
   13144 
   13145 		eval supported=\$$cacheid
   13146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13147 $as_echo "$supported" >&6; }
   13148 		if test "$supported" = "yes" ; then
   13149 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13150 			found="yes"
   13151 		fi
   13152 	fi
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 xorg_testset_save_CFLAGS="$CFLAGS"
   13169 
   13170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13175   $as_echo_n "(cached) " >&6
   13176 else
   13177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13178 /* end confdefs.h.  */
   13179 int i;
   13180 _ACEOF
   13181 if ac_fn_c_try_compile "$LINENO"; then :
   13182   xorg_cv_cc_flag_unknown_warning_option=yes
   13183 else
   13184   xorg_cv_cc_flag_unknown_warning_option=no
   13185 fi
   13186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13187 fi
   13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13191 	CFLAGS="$xorg_testset_save_CFLAGS"
   13192 fi
   13193 
   13194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13197 	fi
   13198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13202   $as_echo_n "(cached) " >&6
   13203 else
   13204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13205 /* end confdefs.h.  */
   13206 int i;
   13207 _ACEOF
   13208 if ac_fn_c_try_compile "$LINENO"; then :
   13209   xorg_cv_cc_flag_unused_command_line_argument=yes
   13210 else
   13211   xorg_cv_cc_flag_unused_command_line_argument=no
   13212 fi
   13213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13214 fi
   13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13218 	CFLAGS="$xorg_testset_save_CFLAGS"
   13219 fi
   13220 
   13221 found="no"
   13222 
   13223 	if test $found = "no" ; then
   13224 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13226 		fi
   13227 
   13228 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13230 		fi
   13231 
   13232 		CFLAGS="$CFLAGS -Wshadow"
   13233 
   13234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13235 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13236 		cacheid=xorg_cv_cc_flag__Wshadow
   13237 		if eval \${$cacheid+:} false; then :
   13238   $as_echo_n "(cached) " >&6
   13239 else
   13240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13241 /* end confdefs.h.  */
   13242 int i;
   13243 int
   13244 main ()
   13245 {
   13246 
   13247   ;
   13248   return 0;
   13249 }
   13250 _ACEOF
   13251 if ac_fn_c_try_link "$LINENO"; then :
   13252   eval $cacheid=yes
   13253 else
   13254   eval $cacheid=no
   13255 fi
   13256 rm -f core conftest.err conftest.$ac_objext \
   13257     conftest$ac_exeext conftest.$ac_ext
   13258 fi
   13259 
   13260 
   13261 		CFLAGS="$xorg_testset_save_CFLAGS"
   13262 
   13263 		eval supported=\$$cacheid
   13264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13265 $as_echo "$supported" >&6; }
   13266 		if test "$supported" = "yes" ; then
   13267 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13268 			found="yes"
   13269 		fi
   13270 	fi
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 xorg_testset_save_CFLAGS="$CFLAGS"
   13287 
   13288 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13289 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13291 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13292 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13293   $as_echo_n "(cached) " >&6
   13294 else
   13295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13296 /* end confdefs.h.  */
   13297 int i;
   13298 _ACEOF
   13299 if ac_fn_c_try_compile "$LINENO"; then :
   13300   xorg_cv_cc_flag_unknown_warning_option=yes
   13301 else
   13302   xorg_cv_cc_flag_unknown_warning_option=no
   13303 fi
   13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13305 fi
   13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13307 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13309 	CFLAGS="$xorg_testset_save_CFLAGS"
   13310 fi
   13311 
   13312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13315 	fi
   13316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13318 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13319 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13320   $as_echo_n "(cached) " >&6
   13321 else
   13322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13323 /* end confdefs.h.  */
   13324 int i;
   13325 _ACEOF
   13326 if ac_fn_c_try_compile "$LINENO"; then :
   13327   xorg_cv_cc_flag_unused_command_line_argument=yes
   13328 else
   13329   xorg_cv_cc_flag_unused_command_line_argument=no
   13330 fi
   13331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13332 fi
   13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13334 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13336 	CFLAGS="$xorg_testset_save_CFLAGS"
   13337 fi
   13338 
   13339 found="no"
   13340 
   13341 	if test $found = "no" ; then
   13342 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13344 		fi
   13345 
   13346 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13348 		fi
   13349 
   13350 		CFLAGS="$CFLAGS -Wcast-qual"
   13351 
   13352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13353 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13354 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13355 		if eval \${$cacheid+:} false; then :
   13356   $as_echo_n "(cached) " >&6
   13357 else
   13358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13359 /* end confdefs.h.  */
   13360 int i;
   13361 int
   13362 main ()
   13363 {
   13364 
   13365   ;
   13366   return 0;
   13367 }
   13368 _ACEOF
   13369 if ac_fn_c_try_link "$LINENO"; then :
   13370   eval $cacheid=yes
   13371 else
   13372   eval $cacheid=no
   13373 fi
   13374 rm -f core conftest.err conftest.$ac_objext \
   13375     conftest$ac_exeext conftest.$ac_ext
   13376 fi
   13377 
   13378 
   13379 		CFLAGS="$xorg_testset_save_CFLAGS"
   13380 
   13381 		eval supported=\$$cacheid
   13382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13383 $as_echo "$supported" >&6; }
   13384 		if test "$supported" = "yes" ; then
   13385 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13386 			found="yes"
   13387 		fi
   13388 	fi
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 xorg_testset_save_CFLAGS="$CFLAGS"
   13405 
   13406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13411   $as_echo_n "(cached) " >&6
   13412 else
   13413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13414 /* end confdefs.h.  */
   13415 int i;
   13416 _ACEOF
   13417 if ac_fn_c_try_compile "$LINENO"; then :
   13418   xorg_cv_cc_flag_unknown_warning_option=yes
   13419 else
   13420   xorg_cv_cc_flag_unknown_warning_option=no
   13421 fi
   13422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13423 fi
   13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13427 	CFLAGS="$xorg_testset_save_CFLAGS"
   13428 fi
   13429 
   13430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13433 	fi
   13434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13438   $as_echo_n "(cached) " >&6
   13439 else
   13440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13441 /* end confdefs.h.  */
   13442 int i;
   13443 _ACEOF
   13444 if ac_fn_c_try_compile "$LINENO"; then :
   13445   xorg_cv_cc_flag_unused_command_line_argument=yes
   13446 else
   13447   xorg_cv_cc_flag_unused_command_line_argument=no
   13448 fi
   13449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13450 fi
   13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13454 	CFLAGS="$xorg_testset_save_CFLAGS"
   13455 fi
   13456 
   13457 found="no"
   13458 
   13459 	if test $found = "no" ; then
   13460 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13462 		fi
   13463 
   13464 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13466 		fi
   13467 
   13468 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13469 
   13470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13471 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13472 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13473 		if eval \${$cacheid+:} false; then :
   13474   $as_echo_n "(cached) " >&6
   13475 else
   13476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13477 /* end confdefs.h.  */
   13478 int i;
   13479 int
   13480 main ()
   13481 {
   13482 
   13483   ;
   13484   return 0;
   13485 }
   13486 _ACEOF
   13487 if ac_fn_c_try_link "$LINENO"; then :
   13488   eval $cacheid=yes
   13489 else
   13490   eval $cacheid=no
   13491 fi
   13492 rm -f core conftest.err conftest.$ac_objext \
   13493     conftest$ac_exeext conftest.$ac_ext
   13494 fi
   13495 
   13496 
   13497 		CFLAGS="$xorg_testset_save_CFLAGS"
   13498 
   13499 		eval supported=\$$cacheid
   13500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13501 $as_echo "$supported" >&6; }
   13502 		if test "$supported" = "yes" ; then
   13503 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13504 			found="yes"
   13505 		fi
   13506 	fi
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 xorg_testset_save_CFLAGS="$CFLAGS"
   13523 
   13524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13529   $as_echo_n "(cached) " >&6
   13530 else
   13531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13532 /* end confdefs.h.  */
   13533 int i;
   13534 _ACEOF
   13535 if ac_fn_c_try_compile "$LINENO"; then :
   13536   xorg_cv_cc_flag_unknown_warning_option=yes
   13537 else
   13538   xorg_cv_cc_flag_unknown_warning_option=no
   13539 fi
   13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13541 fi
   13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13545 	CFLAGS="$xorg_testset_save_CFLAGS"
   13546 fi
   13547 
   13548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13551 	fi
   13552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13556   $as_echo_n "(cached) " >&6
   13557 else
   13558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13559 /* end confdefs.h.  */
   13560 int i;
   13561 _ACEOF
   13562 if ac_fn_c_try_compile "$LINENO"; then :
   13563   xorg_cv_cc_flag_unused_command_line_argument=yes
   13564 else
   13565   xorg_cv_cc_flag_unused_command_line_argument=no
   13566 fi
   13567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13568 fi
   13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13572 	CFLAGS="$xorg_testset_save_CFLAGS"
   13573 fi
   13574 
   13575 found="no"
   13576 
   13577 	if test $found = "no" ; then
   13578 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13580 		fi
   13581 
   13582 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13584 		fi
   13585 
   13586 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13587 
   13588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13589 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13590 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13591 		if eval \${$cacheid+:} false; then :
   13592   $as_echo_n "(cached) " >&6
   13593 else
   13594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13595 /* end confdefs.h.  */
   13596 int i;
   13597 int
   13598 main ()
   13599 {
   13600 
   13601   ;
   13602   return 0;
   13603 }
   13604 _ACEOF
   13605 if ac_fn_c_try_link "$LINENO"; then :
   13606   eval $cacheid=yes
   13607 else
   13608   eval $cacheid=no
   13609 fi
   13610 rm -f core conftest.err conftest.$ac_objext \
   13611     conftest$ac_exeext conftest.$ac_ext
   13612 fi
   13613 
   13614 
   13615 		CFLAGS="$xorg_testset_save_CFLAGS"
   13616 
   13617 		eval supported=\$$cacheid
   13618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13619 $as_echo "$supported" >&6; }
   13620 		if test "$supported" = "yes" ; then
   13621 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13622 			found="yes"
   13623 		fi
   13624 	fi
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 xorg_testset_save_CFLAGS="$CFLAGS"
   13641 
   13642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13646 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13647   $as_echo_n "(cached) " >&6
   13648 else
   13649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13650 /* end confdefs.h.  */
   13651 int i;
   13652 _ACEOF
   13653 if ac_fn_c_try_compile "$LINENO"; then :
   13654   xorg_cv_cc_flag_unknown_warning_option=yes
   13655 else
   13656   xorg_cv_cc_flag_unknown_warning_option=no
   13657 fi
   13658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13659 fi
   13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13661 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13662 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13663 	CFLAGS="$xorg_testset_save_CFLAGS"
   13664 fi
   13665 
   13666 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13667 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13668 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13669 	fi
   13670 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13672 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13673 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13674   $as_echo_n "(cached) " >&6
   13675 else
   13676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13677 /* end confdefs.h.  */
   13678 int i;
   13679 _ACEOF
   13680 if ac_fn_c_try_compile "$LINENO"; then :
   13681   xorg_cv_cc_flag_unused_command_line_argument=yes
   13682 else
   13683   xorg_cv_cc_flag_unused_command_line_argument=no
   13684 fi
   13685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13686 fi
   13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13688 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13690 	CFLAGS="$xorg_testset_save_CFLAGS"
   13691 fi
   13692 
   13693 found="no"
   13694 
   13695 	if test $found = "no" ; then
   13696 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13698 		fi
   13699 
   13700 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13702 		fi
   13703 
   13704 		CFLAGS="$CFLAGS -Wredundant-decls"
   13705 
   13706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13707 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13708 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13709 		if eval \${$cacheid+:} false; then :
   13710   $as_echo_n "(cached) " >&6
   13711 else
   13712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13713 /* end confdefs.h.  */
   13714 int i;
   13715 int
   13716 main ()
   13717 {
   13718 
   13719   ;
   13720   return 0;
   13721 }
   13722 _ACEOF
   13723 if ac_fn_c_try_link "$LINENO"; then :
   13724   eval $cacheid=yes
   13725 else
   13726   eval $cacheid=no
   13727 fi
   13728 rm -f core conftest.err conftest.$ac_objext \
   13729     conftest$ac_exeext conftest.$ac_ext
   13730 fi
   13731 
   13732 
   13733 		CFLAGS="$xorg_testset_save_CFLAGS"
   13734 
   13735 		eval supported=\$$cacheid
   13736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13737 $as_echo "$supported" >&6; }
   13738 		if test "$supported" = "yes" ; then
   13739 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13740 			found="yes"
   13741 		fi
   13742 	fi
   13743 
   13744 
   13745 
   13746 # These are currently disabled because they are noisy.  They will be enabled
   13747 # in the future once the codebase is sufficiently modernized to silence
   13748 # them.  For now, I don't want them to drown out the other warnings.
   13749 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13750 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13751 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13752 
   13753 # Turn some warnings into errors, so we don't accidently get successful builds
   13754 # when there are problems that should be fixed.
   13755 
   13756 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 xorg_testset_save_CFLAGS="$CFLAGS"
   13771 
   13772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13775 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13776 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13777   $as_echo_n "(cached) " >&6
   13778 else
   13779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13780 /* end confdefs.h.  */
   13781 int i;
   13782 _ACEOF
   13783 if ac_fn_c_try_compile "$LINENO"; then :
   13784   xorg_cv_cc_flag_unknown_warning_option=yes
   13785 else
   13786   xorg_cv_cc_flag_unknown_warning_option=no
   13787 fi
   13788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13789 fi
   13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13791 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13792 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13793 	CFLAGS="$xorg_testset_save_CFLAGS"
   13794 fi
   13795 
   13796 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13797 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13798 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13799 	fi
   13800 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13802 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13803 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13804   $as_echo_n "(cached) " >&6
   13805 else
   13806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13807 /* end confdefs.h.  */
   13808 int i;
   13809 _ACEOF
   13810 if ac_fn_c_try_compile "$LINENO"; then :
   13811   xorg_cv_cc_flag_unused_command_line_argument=yes
   13812 else
   13813   xorg_cv_cc_flag_unused_command_line_argument=no
   13814 fi
   13815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13816 fi
   13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13818 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13820 	CFLAGS="$xorg_testset_save_CFLAGS"
   13821 fi
   13822 
   13823 found="no"
   13824 
   13825 	if test $found = "no" ; then
   13826 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13828 		fi
   13829 
   13830 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13832 		fi
   13833 
   13834 		CFLAGS="$CFLAGS -Werror=implicit"
   13835 
   13836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13837 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13838 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13839 		if eval \${$cacheid+:} false; then :
   13840   $as_echo_n "(cached) " >&6
   13841 else
   13842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13843 /* end confdefs.h.  */
   13844 int i;
   13845 int
   13846 main ()
   13847 {
   13848 
   13849   ;
   13850   return 0;
   13851 }
   13852 _ACEOF
   13853 if ac_fn_c_try_link "$LINENO"; then :
   13854   eval $cacheid=yes
   13855 else
   13856   eval $cacheid=no
   13857 fi
   13858 rm -f core conftest.err conftest.$ac_objext \
   13859     conftest$ac_exeext conftest.$ac_ext
   13860 fi
   13861 
   13862 
   13863 		CFLAGS="$xorg_testset_save_CFLAGS"
   13864 
   13865 		eval supported=\$$cacheid
   13866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13867 $as_echo "$supported" >&6; }
   13868 		if test "$supported" = "yes" ; then
   13869 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13870 			found="yes"
   13871 		fi
   13872 	fi
   13873 
   13874 	if test $found = "no" ; then
   13875 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13877 		fi
   13878 
   13879 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13881 		fi
   13882 
   13883 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13884 
   13885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13886 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13887 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13888 		if eval \${$cacheid+:} false; then :
   13889   $as_echo_n "(cached) " >&6
   13890 else
   13891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13892 /* end confdefs.h.  */
   13893 int i;
   13894 int
   13895 main ()
   13896 {
   13897 
   13898   ;
   13899   return 0;
   13900 }
   13901 _ACEOF
   13902 if ac_fn_c_try_link "$LINENO"; then :
   13903   eval $cacheid=yes
   13904 else
   13905   eval $cacheid=no
   13906 fi
   13907 rm -f core conftest.err conftest.$ac_objext \
   13908     conftest$ac_exeext conftest.$ac_ext
   13909 fi
   13910 
   13911 
   13912 		CFLAGS="$xorg_testset_save_CFLAGS"
   13913 
   13914 		eval supported=\$$cacheid
   13915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13916 $as_echo "$supported" >&6; }
   13917 		if test "$supported" = "yes" ; then
   13918 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13919 			found="yes"
   13920 		fi
   13921 	fi
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 xorg_testset_save_CFLAGS="$CFLAGS"
   13938 
   13939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13942 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13943 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13944   $as_echo_n "(cached) " >&6
   13945 else
   13946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13947 /* end confdefs.h.  */
   13948 int i;
   13949 _ACEOF
   13950 if ac_fn_c_try_compile "$LINENO"; then :
   13951   xorg_cv_cc_flag_unknown_warning_option=yes
   13952 else
   13953   xorg_cv_cc_flag_unknown_warning_option=no
   13954 fi
   13955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13956 fi
   13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13958 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13960 	CFLAGS="$xorg_testset_save_CFLAGS"
   13961 fi
   13962 
   13963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13966 	fi
   13967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13969 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13970 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13971   $as_echo_n "(cached) " >&6
   13972 else
   13973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13974 /* end confdefs.h.  */
   13975 int i;
   13976 _ACEOF
   13977 if ac_fn_c_try_compile "$LINENO"; then :
   13978   xorg_cv_cc_flag_unused_command_line_argument=yes
   13979 else
   13980   xorg_cv_cc_flag_unused_command_line_argument=no
   13981 fi
   13982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13983 fi
   13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13985 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13987 	CFLAGS="$xorg_testset_save_CFLAGS"
   13988 fi
   13989 
   13990 found="no"
   13991 
   13992 	if test $found = "no" ; then
   13993 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13995 		fi
   13996 
   13997 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13999 		fi
   14000 
   14001 		CFLAGS="$CFLAGS -Werror=nonnull"
   14002 
   14003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14004 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14005 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14006 		if eval \${$cacheid+:} false; then :
   14007   $as_echo_n "(cached) " >&6
   14008 else
   14009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14010 /* end confdefs.h.  */
   14011 int i;
   14012 int
   14013 main ()
   14014 {
   14015 
   14016   ;
   14017   return 0;
   14018 }
   14019 _ACEOF
   14020 if ac_fn_c_try_link "$LINENO"; then :
   14021   eval $cacheid=yes
   14022 else
   14023   eval $cacheid=no
   14024 fi
   14025 rm -f core conftest.err conftest.$ac_objext \
   14026     conftest$ac_exeext conftest.$ac_ext
   14027 fi
   14028 
   14029 
   14030 		CFLAGS="$xorg_testset_save_CFLAGS"
   14031 
   14032 		eval supported=\$$cacheid
   14033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14034 $as_echo "$supported" >&6; }
   14035 		if test "$supported" = "yes" ; then
   14036 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14037 			found="yes"
   14038 		fi
   14039 	fi
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 xorg_testset_save_CFLAGS="$CFLAGS"
   14056 
   14057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14060 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14061 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14062   $as_echo_n "(cached) " >&6
   14063 else
   14064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14065 /* end confdefs.h.  */
   14066 int i;
   14067 _ACEOF
   14068 if ac_fn_c_try_compile "$LINENO"; then :
   14069   xorg_cv_cc_flag_unknown_warning_option=yes
   14070 else
   14071   xorg_cv_cc_flag_unknown_warning_option=no
   14072 fi
   14073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14074 fi
   14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14076 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14078 	CFLAGS="$xorg_testset_save_CFLAGS"
   14079 fi
   14080 
   14081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14084 	fi
   14085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14087 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14088 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14089   $as_echo_n "(cached) " >&6
   14090 else
   14091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14092 /* end confdefs.h.  */
   14093 int i;
   14094 _ACEOF
   14095 if ac_fn_c_try_compile "$LINENO"; then :
   14096   xorg_cv_cc_flag_unused_command_line_argument=yes
   14097 else
   14098   xorg_cv_cc_flag_unused_command_line_argument=no
   14099 fi
   14100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14101 fi
   14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14103 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14105 	CFLAGS="$xorg_testset_save_CFLAGS"
   14106 fi
   14107 
   14108 found="no"
   14109 
   14110 	if test $found = "no" ; then
   14111 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14113 		fi
   14114 
   14115 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14117 		fi
   14118 
   14119 		CFLAGS="$CFLAGS -Werror=init-self"
   14120 
   14121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14122 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14123 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14124 		if eval \${$cacheid+:} false; then :
   14125   $as_echo_n "(cached) " >&6
   14126 else
   14127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14128 /* end confdefs.h.  */
   14129 int i;
   14130 int
   14131 main ()
   14132 {
   14133 
   14134   ;
   14135   return 0;
   14136 }
   14137 _ACEOF
   14138 if ac_fn_c_try_link "$LINENO"; then :
   14139   eval $cacheid=yes
   14140 else
   14141   eval $cacheid=no
   14142 fi
   14143 rm -f core conftest.err conftest.$ac_objext \
   14144     conftest$ac_exeext conftest.$ac_ext
   14145 fi
   14146 
   14147 
   14148 		CFLAGS="$xorg_testset_save_CFLAGS"
   14149 
   14150 		eval supported=\$$cacheid
   14151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14152 $as_echo "$supported" >&6; }
   14153 		if test "$supported" = "yes" ; then
   14154 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14155 			found="yes"
   14156 		fi
   14157 	fi
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 xorg_testset_save_CFLAGS="$CFLAGS"
   14174 
   14175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14180   $as_echo_n "(cached) " >&6
   14181 else
   14182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14183 /* end confdefs.h.  */
   14184 int i;
   14185 _ACEOF
   14186 if ac_fn_c_try_compile "$LINENO"; then :
   14187   xorg_cv_cc_flag_unknown_warning_option=yes
   14188 else
   14189   xorg_cv_cc_flag_unknown_warning_option=no
   14190 fi
   14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14192 fi
   14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14196 	CFLAGS="$xorg_testset_save_CFLAGS"
   14197 fi
   14198 
   14199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14202 	fi
   14203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14207   $as_echo_n "(cached) " >&6
   14208 else
   14209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14210 /* end confdefs.h.  */
   14211 int i;
   14212 _ACEOF
   14213 if ac_fn_c_try_compile "$LINENO"; then :
   14214   xorg_cv_cc_flag_unused_command_line_argument=yes
   14215 else
   14216   xorg_cv_cc_flag_unused_command_line_argument=no
   14217 fi
   14218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14219 fi
   14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14223 	CFLAGS="$xorg_testset_save_CFLAGS"
   14224 fi
   14225 
   14226 found="no"
   14227 
   14228 	if test $found = "no" ; then
   14229 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14231 		fi
   14232 
   14233 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14235 		fi
   14236 
   14237 		CFLAGS="$CFLAGS -Werror=main"
   14238 
   14239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14240 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14241 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14242 		if eval \${$cacheid+:} false; then :
   14243   $as_echo_n "(cached) " >&6
   14244 else
   14245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14246 /* end confdefs.h.  */
   14247 int i;
   14248 int
   14249 main ()
   14250 {
   14251 
   14252   ;
   14253   return 0;
   14254 }
   14255 _ACEOF
   14256 if ac_fn_c_try_link "$LINENO"; then :
   14257   eval $cacheid=yes
   14258 else
   14259   eval $cacheid=no
   14260 fi
   14261 rm -f core conftest.err conftest.$ac_objext \
   14262     conftest$ac_exeext conftest.$ac_ext
   14263 fi
   14264 
   14265 
   14266 		CFLAGS="$xorg_testset_save_CFLAGS"
   14267 
   14268 		eval supported=\$$cacheid
   14269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14270 $as_echo "$supported" >&6; }
   14271 		if test "$supported" = "yes" ; then
   14272 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14273 			found="yes"
   14274 		fi
   14275 	fi
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 xorg_testset_save_CFLAGS="$CFLAGS"
   14292 
   14293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14296 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14297 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14298   $as_echo_n "(cached) " >&6
   14299 else
   14300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14301 /* end confdefs.h.  */
   14302 int i;
   14303 _ACEOF
   14304 if ac_fn_c_try_compile "$LINENO"; then :
   14305   xorg_cv_cc_flag_unknown_warning_option=yes
   14306 else
   14307   xorg_cv_cc_flag_unknown_warning_option=no
   14308 fi
   14309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14310 fi
   14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14312 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14314 	CFLAGS="$xorg_testset_save_CFLAGS"
   14315 fi
   14316 
   14317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14320 	fi
   14321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14323 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14324 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14325   $as_echo_n "(cached) " >&6
   14326 else
   14327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14328 /* end confdefs.h.  */
   14329 int i;
   14330 _ACEOF
   14331 if ac_fn_c_try_compile "$LINENO"; then :
   14332   xorg_cv_cc_flag_unused_command_line_argument=yes
   14333 else
   14334   xorg_cv_cc_flag_unused_command_line_argument=no
   14335 fi
   14336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14337 fi
   14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14339 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14341 	CFLAGS="$xorg_testset_save_CFLAGS"
   14342 fi
   14343 
   14344 found="no"
   14345 
   14346 	if test $found = "no" ; then
   14347 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14349 		fi
   14350 
   14351 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14353 		fi
   14354 
   14355 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14356 
   14357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14358 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14359 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14360 		if eval \${$cacheid+:} false; then :
   14361   $as_echo_n "(cached) " >&6
   14362 else
   14363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14364 /* end confdefs.h.  */
   14365 int i;
   14366 int
   14367 main ()
   14368 {
   14369 
   14370   ;
   14371   return 0;
   14372 }
   14373 _ACEOF
   14374 if ac_fn_c_try_link "$LINENO"; then :
   14375   eval $cacheid=yes
   14376 else
   14377   eval $cacheid=no
   14378 fi
   14379 rm -f core conftest.err conftest.$ac_objext \
   14380     conftest$ac_exeext conftest.$ac_ext
   14381 fi
   14382 
   14383 
   14384 		CFLAGS="$xorg_testset_save_CFLAGS"
   14385 
   14386 		eval supported=\$$cacheid
   14387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14388 $as_echo "$supported" >&6; }
   14389 		if test "$supported" = "yes" ; then
   14390 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14391 			found="yes"
   14392 		fi
   14393 	fi
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 xorg_testset_save_CFLAGS="$CFLAGS"
   14410 
   14411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14416   $as_echo_n "(cached) " >&6
   14417 else
   14418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14419 /* end confdefs.h.  */
   14420 int i;
   14421 _ACEOF
   14422 if ac_fn_c_try_compile "$LINENO"; then :
   14423   xorg_cv_cc_flag_unknown_warning_option=yes
   14424 else
   14425   xorg_cv_cc_flag_unknown_warning_option=no
   14426 fi
   14427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14428 fi
   14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14432 	CFLAGS="$xorg_testset_save_CFLAGS"
   14433 fi
   14434 
   14435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14438 	fi
   14439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14443   $as_echo_n "(cached) " >&6
   14444 else
   14445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14446 /* end confdefs.h.  */
   14447 int i;
   14448 _ACEOF
   14449 if ac_fn_c_try_compile "$LINENO"; then :
   14450   xorg_cv_cc_flag_unused_command_line_argument=yes
   14451 else
   14452   xorg_cv_cc_flag_unused_command_line_argument=no
   14453 fi
   14454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14455 fi
   14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14459 	CFLAGS="$xorg_testset_save_CFLAGS"
   14460 fi
   14461 
   14462 found="no"
   14463 
   14464 	if test $found = "no" ; then
   14465 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14467 		fi
   14468 
   14469 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14471 		fi
   14472 
   14473 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14474 
   14475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14476 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14477 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14478 		if eval \${$cacheid+:} false; then :
   14479   $as_echo_n "(cached) " >&6
   14480 else
   14481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14482 /* end confdefs.h.  */
   14483 int i;
   14484 int
   14485 main ()
   14486 {
   14487 
   14488   ;
   14489   return 0;
   14490 }
   14491 _ACEOF
   14492 if ac_fn_c_try_link "$LINENO"; then :
   14493   eval $cacheid=yes
   14494 else
   14495   eval $cacheid=no
   14496 fi
   14497 rm -f core conftest.err conftest.$ac_objext \
   14498     conftest$ac_exeext conftest.$ac_ext
   14499 fi
   14500 
   14501 
   14502 		CFLAGS="$xorg_testset_save_CFLAGS"
   14503 
   14504 		eval supported=\$$cacheid
   14505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14506 $as_echo "$supported" >&6; }
   14507 		if test "$supported" = "yes" ; then
   14508 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14509 			found="yes"
   14510 		fi
   14511 	fi
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 xorg_testset_save_CFLAGS="$CFLAGS"
   14528 
   14529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14534   $as_echo_n "(cached) " >&6
   14535 else
   14536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14537 /* end confdefs.h.  */
   14538 int i;
   14539 _ACEOF
   14540 if ac_fn_c_try_compile "$LINENO"; then :
   14541   xorg_cv_cc_flag_unknown_warning_option=yes
   14542 else
   14543   xorg_cv_cc_flag_unknown_warning_option=no
   14544 fi
   14545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14546 fi
   14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14550 	CFLAGS="$xorg_testset_save_CFLAGS"
   14551 fi
   14552 
   14553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14556 	fi
   14557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14561   $as_echo_n "(cached) " >&6
   14562 else
   14563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14564 /* end confdefs.h.  */
   14565 int i;
   14566 _ACEOF
   14567 if ac_fn_c_try_compile "$LINENO"; then :
   14568   xorg_cv_cc_flag_unused_command_line_argument=yes
   14569 else
   14570   xorg_cv_cc_flag_unused_command_line_argument=no
   14571 fi
   14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14573 fi
   14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14577 	CFLAGS="$xorg_testset_save_CFLAGS"
   14578 fi
   14579 
   14580 found="no"
   14581 
   14582 	if test $found = "no" ; then
   14583 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14585 		fi
   14586 
   14587 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14589 		fi
   14590 
   14591 		CFLAGS="$CFLAGS -Werror=return-type"
   14592 
   14593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14594 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14595 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14596 		if eval \${$cacheid+:} false; then :
   14597   $as_echo_n "(cached) " >&6
   14598 else
   14599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14600 /* end confdefs.h.  */
   14601 int i;
   14602 int
   14603 main ()
   14604 {
   14605 
   14606   ;
   14607   return 0;
   14608 }
   14609 _ACEOF
   14610 if ac_fn_c_try_link "$LINENO"; then :
   14611   eval $cacheid=yes
   14612 else
   14613   eval $cacheid=no
   14614 fi
   14615 rm -f core conftest.err conftest.$ac_objext \
   14616     conftest$ac_exeext conftest.$ac_ext
   14617 fi
   14618 
   14619 
   14620 		CFLAGS="$xorg_testset_save_CFLAGS"
   14621 
   14622 		eval supported=\$$cacheid
   14623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14624 $as_echo "$supported" >&6; }
   14625 		if test "$supported" = "yes" ; then
   14626 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14627 			found="yes"
   14628 		fi
   14629 	fi
   14630 
   14631 	if test $found = "no" ; then
   14632 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14634 		fi
   14635 
   14636 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14638 		fi
   14639 
   14640 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14641 
   14642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14643 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14644 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14645 		if eval \${$cacheid+:} false; then :
   14646   $as_echo_n "(cached) " >&6
   14647 else
   14648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14649 /* end confdefs.h.  */
   14650 int i;
   14651 int
   14652 main ()
   14653 {
   14654 
   14655   ;
   14656   return 0;
   14657 }
   14658 _ACEOF
   14659 if ac_fn_c_try_link "$LINENO"; then :
   14660   eval $cacheid=yes
   14661 else
   14662   eval $cacheid=no
   14663 fi
   14664 rm -f core conftest.err conftest.$ac_objext \
   14665     conftest$ac_exeext conftest.$ac_ext
   14666 fi
   14667 
   14668 
   14669 		CFLAGS="$xorg_testset_save_CFLAGS"
   14670 
   14671 		eval supported=\$$cacheid
   14672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14673 $as_echo "$supported" >&6; }
   14674 		if test "$supported" = "yes" ; then
   14675 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14676 			found="yes"
   14677 		fi
   14678 	fi
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 xorg_testset_save_CFLAGS="$CFLAGS"
   14695 
   14696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14699 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14700 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14701   $as_echo_n "(cached) " >&6
   14702 else
   14703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14704 /* end confdefs.h.  */
   14705 int i;
   14706 _ACEOF
   14707 if ac_fn_c_try_compile "$LINENO"; then :
   14708   xorg_cv_cc_flag_unknown_warning_option=yes
   14709 else
   14710   xorg_cv_cc_flag_unknown_warning_option=no
   14711 fi
   14712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14713 fi
   14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14715 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14717 	CFLAGS="$xorg_testset_save_CFLAGS"
   14718 fi
   14719 
   14720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14723 	fi
   14724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14726 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14727 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14728   $as_echo_n "(cached) " >&6
   14729 else
   14730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14731 /* end confdefs.h.  */
   14732 int i;
   14733 _ACEOF
   14734 if ac_fn_c_try_compile "$LINENO"; then :
   14735   xorg_cv_cc_flag_unused_command_line_argument=yes
   14736 else
   14737   xorg_cv_cc_flag_unused_command_line_argument=no
   14738 fi
   14739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14740 fi
   14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14742 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14744 	CFLAGS="$xorg_testset_save_CFLAGS"
   14745 fi
   14746 
   14747 found="no"
   14748 
   14749 	if test $found = "no" ; then
   14750 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14752 		fi
   14753 
   14754 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14756 		fi
   14757 
   14758 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14759 
   14760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14761 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14762 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14763 		if eval \${$cacheid+:} false; then :
   14764   $as_echo_n "(cached) " >&6
   14765 else
   14766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14767 /* end confdefs.h.  */
   14768 int i;
   14769 int
   14770 main ()
   14771 {
   14772 
   14773   ;
   14774   return 0;
   14775 }
   14776 _ACEOF
   14777 if ac_fn_c_try_link "$LINENO"; then :
   14778   eval $cacheid=yes
   14779 else
   14780   eval $cacheid=no
   14781 fi
   14782 rm -f core conftest.err conftest.$ac_objext \
   14783     conftest$ac_exeext conftest.$ac_ext
   14784 fi
   14785 
   14786 
   14787 		CFLAGS="$xorg_testset_save_CFLAGS"
   14788 
   14789 		eval supported=\$$cacheid
   14790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14791 $as_echo "$supported" >&6; }
   14792 		if test "$supported" = "yes" ; then
   14793 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14794 			found="yes"
   14795 		fi
   14796 	fi
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 xorg_testset_save_CFLAGS="$CFLAGS"
   14813 
   14814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14819   $as_echo_n "(cached) " >&6
   14820 else
   14821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14822 /* end confdefs.h.  */
   14823 int i;
   14824 _ACEOF
   14825 if ac_fn_c_try_compile "$LINENO"; then :
   14826   xorg_cv_cc_flag_unknown_warning_option=yes
   14827 else
   14828   xorg_cv_cc_flag_unknown_warning_option=no
   14829 fi
   14830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14831 fi
   14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14835 	CFLAGS="$xorg_testset_save_CFLAGS"
   14836 fi
   14837 
   14838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14841 	fi
   14842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14846   $as_echo_n "(cached) " >&6
   14847 else
   14848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14849 /* end confdefs.h.  */
   14850 int i;
   14851 _ACEOF
   14852 if ac_fn_c_try_compile "$LINENO"; then :
   14853   xorg_cv_cc_flag_unused_command_line_argument=yes
   14854 else
   14855   xorg_cv_cc_flag_unused_command_line_argument=no
   14856 fi
   14857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14858 fi
   14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14862 	CFLAGS="$xorg_testset_save_CFLAGS"
   14863 fi
   14864 
   14865 found="no"
   14866 
   14867 	if test $found = "no" ; then
   14868 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14870 		fi
   14871 
   14872 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14874 		fi
   14875 
   14876 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14877 
   14878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14879 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14880 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14881 		if eval \${$cacheid+:} false; then :
   14882   $as_echo_n "(cached) " >&6
   14883 else
   14884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14885 /* end confdefs.h.  */
   14886 int i;
   14887 int
   14888 main ()
   14889 {
   14890 
   14891   ;
   14892   return 0;
   14893 }
   14894 _ACEOF
   14895 if ac_fn_c_try_link "$LINENO"; then :
   14896   eval $cacheid=yes
   14897 else
   14898   eval $cacheid=no
   14899 fi
   14900 rm -f core conftest.err conftest.$ac_objext \
   14901     conftest$ac_exeext conftest.$ac_ext
   14902 fi
   14903 
   14904 
   14905 		CFLAGS="$xorg_testset_save_CFLAGS"
   14906 
   14907 		eval supported=\$$cacheid
   14908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14909 $as_echo "$supported" >&6; }
   14910 		if test "$supported" = "yes" ; then
   14911 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14912 			found="yes"
   14913 		fi
   14914 	fi
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 xorg_testset_save_CFLAGS="$CFLAGS"
   14931 
   14932 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14933 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14935 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14936 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14937   $as_echo_n "(cached) " >&6
   14938 else
   14939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14940 /* end confdefs.h.  */
   14941 int i;
   14942 _ACEOF
   14943 if ac_fn_c_try_compile "$LINENO"; then :
   14944   xorg_cv_cc_flag_unknown_warning_option=yes
   14945 else
   14946   xorg_cv_cc_flag_unknown_warning_option=no
   14947 fi
   14948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14949 fi
   14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14951 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14952 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14953 	CFLAGS="$xorg_testset_save_CFLAGS"
   14954 fi
   14955 
   14956 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14957 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14958 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14959 	fi
   14960 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14962 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14963 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14964   $as_echo_n "(cached) " >&6
   14965 else
   14966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14967 /* end confdefs.h.  */
   14968 int i;
   14969 _ACEOF
   14970 if ac_fn_c_try_compile "$LINENO"; then :
   14971   xorg_cv_cc_flag_unused_command_line_argument=yes
   14972 else
   14973   xorg_cv_cc_flag_unused_command_line_argument=no
   14974 fi
   14975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14976 fi
   14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14978 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14980 	CFLAGS="$xorg_testset_save_CFLAGS"
   14981 fi
   14982 
   14983 found="no"
   14984 
   14985 	if test $found = "no" ; then
   14986 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14988 		fi
   14989 
   14990 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14992 		fi
   14993 
   14994 		CFLAGS="$CFLAGS -Werror=write-strings"
   14995 
   14996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14997 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14998 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   14999 		if eval \${$cacheid+:} false; then :
   15000   $as_echo_n "(cached) " >&6
   15001 else
   15002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15003 /* end confdefs.h.  */
   15004 int i;
   15005 int
   15006 main ()
   15007 {
   15008 
   15009   ;
   15010   return 0;
   15011 }
   15012 _ACEOF
   15013 if ac_fn_c_try_link "$LINENO"; then :
   15014   eval $cacheid=yes
   15015 else
   15016   eval $cacheid=no
   15017 fi
   15018 rm -f core conftest.err conftest.$ac_objext \
   15019     conftest$ac_exeext conftest.$ac_ext
   15020 fi
   15021 
   15022 
   15023 		CFLAGS="$xorg_testset_save_CFLAGS"
   15024 
   15025 		eval supported=\$$cacheid
   15026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15027 $as_echo "$supported" >&6; }
   15028 		if test "$supported" = "yes" ; then
   15029 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15030 			found="yes"
   15031 		fi
   15032 	fi
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 xorg_testset_save_CFLAGS="$CFLAGS"
   15049 
   15050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15053 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15054 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15055   $as_echo_n "(cached) " >&6
   15056 else
   15057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15058 /* end confdefs.h.  */
   15059 int i;
   15060 _ACEOF
   15061 if ac_fn_c_try_compile "$LINENO"; then :
   15062   xorg_cv_cc_flag_unknown_warning_option=yes
   15063 else
   15064   xorg_cv_cc_flag_unknown_warning_option=no
   15065 fi
   15066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15067 fi
   15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15069 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15071 	CFLAGS="$xorg_testset_save_CFLAGS"
   15072 fi
   15073 
   15074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15077 	fi
   15078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15080 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15081 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15082   $as_echo_n "(cached) " >&6
   15083 else
   15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 _ACEOF
   15088 if ac_fn_c_try_compile "$LINENO"; then :
   15089   xorg_cv_cc_flag_unused_command_line_argument=yes
   15090 else
   15091   xorg_cv_cc_flag_unused_command_line_argument=no
   15092 fi
   15093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15094 fi
   15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15096 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15098 	CFLAGS="$xorg_testset_save_CFLAGS"
   15099 fi
   15100 
   15101 found="no"
   15102 
   15103 	if test $found = "no" ; then
   15104 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15106 		fi
   15107 
   15108 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15110 		fi
   15111 
   15112 		CFLAGS="$CFLAGS -Werror=address"
   15113 
   15114 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15115 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15116 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15117 		if eval \${$cacheid+:} false; then :
   15118   $as_echo_n "(cached) " >&6
   15119 else
   15120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15121 /* end confdefs.h.  */
   15122 int i;
   15123 int
   15124 main ()
   15125 {
   15126 
   15127   ;
   15128   return 0;
   15129 }
   15130 _ACEOF
   15131 if ac_fn_c_try_link "$LINENO"; then :
   15132   eval $cacheid=yes
   15133 else
   15134   eval $cacheid=no
   15135 fi
   15136 rm -f core conftest.err conftest.$ac_objext \
   15137     conftest$ac_exeext conftest.$ac_ext
   15138 fi
   15139 
   15140 
   15141 		CFLAGS="$xorg_testset_save_CFLAGS"
   15142 
   15143 		eval supported=\$$cacheid
   15144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15145 $as_echo "$supported" >&6; }
   15146 		if test "$supported" = "yes" ; then
   15147 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15148 			found="yes"
   15149 		fi
   15150 	fi
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 xorg_testset_save_CFLAGS="$CFLAGS"
   15167 
   15168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15171 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15172 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15173   $as_echo_n "(cached) " >&6
   15174 else
   15175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15176 /* end confdefs.h.  */
   15177 int i;
   15178 _ACEOF
   15179 if ac_fn_c_try_compile "$LINENO"; then :
   15180   xorg_cv_cc_flag_unknown_warning_option=yes
   15181 else
   15182   xorg_cv_cc_flag_unknown_warning_option=no
   15183 fi
   15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15185 fi
   15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15187 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15189 	CFLAGS="$xorg_testset_save_CFLAGS"
   15190 fi
   15191 
   15192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15195 	fi
   15196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15198 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15199 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15200   $as_echo_n "(cached) " >&6
   15201 else
   15202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15203 /* end confdefs.h.  */
   15204 int i;
   15205 _ACEOF
   15206 if ac_fn_c_try_compile "$LINENO"; then :
   15207   xorg_cv_cc_flag_unused_command_line_argument=yes
   15208 else
   15209   xorg_cv_cc_flag_unused_command_line_argument=no
   15210 fi
   15211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15212 fi
   15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15214 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15215 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15216 	CFLAGS="$xorg_testset_save_CFLAGS"
   15217 fi
   15218 
   15219 found="no"
   15220 
   15221 	if test $found = "no" ; then
   15222 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15223 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15224 		fi
   15225 
   15226 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15227 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15228 		fi
   15229 
   15230 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15231 
   15232 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15233 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15234 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15235 		if eval \${$cacheid+:} false; then :
   15236   $as_echo_n "(cached) " >&6
   15237 else
   15238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15239 /* end confdefs.h.  */
   15240 int i;
   15241 int
   15242 main ()
   15243 {
   15244 
   15245   ;
   15246   return 0;
   15247 }
   15248 _ACEOF
   15249 if ac_fn_c_try_link "$LINENO"; then :
   15250   eval $cacheid=yes
   15251 else
   15252   eval $cacheid=no
   15253 fi
   15254 rm -f core conftest.err conftest.$ac_objext \
   15255     conftest$ac_exeext conftest.$ac_ext
   15256 fi
   15257 
   15258 
   15259 		CFLAGS="$xorg_testset_save_CFLAGS"
   15260 
   15261 		eval supported=\$$cacheid
   15262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15263 $as_echo "$supported" >&6; }
   15264 		if test "$supported" = "yes" ; then
   15265 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15266 			found="yes"
   15267 		fi
   15268 	fi
   15269 
   15270 	if test $found = "no" ; then
   15271 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15273 		fi
   15274 
   15275 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15277 		fi
   15278 
   15279 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15280 
   15281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15282 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15283 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15284 		if eval \${$cacheid+:} false; then :
   15285   $as_echo_n "(cached) " >&6
   15286 else
   15287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15288 /* end confdefs.h.  */
   15289 int i;
   15290 int
   15291 main ()
   15292 {
   15293 
   15294   ;
   15295   return 0;
   15296 }
   15297 _ACEOF
   15298 if ac_fn_c_try_link "$LINENO"; then :
   15299   eval $cacheid=yes
   15300 else
   15301   eval $cacheid=no
   15302 fi
   15303 rm -f core conftest.err conftest.$ac_objext \
   15304     conftest$ac_exeext conftest.$ac_ext
   15305 fi
   15306 
   15307 
   15308 		CFLAGS="$xorg_testset_save_CFLAGS"
   15309 
   15310 		eval supported=\$$cacheid
   15311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15312 $as_echo "$supported" >&6; }
   15313 		if test "$supported" = "yes" ; then
   15314 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15315 			found="yes"
   15316 		fi
   15317 	fi
   15318 
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 xorg_testset_save_CFLAGS="$CFLAGS"
   15334 
   15335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15338 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15339 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15340   $as_echo_n "(cached) " >&6
   15341 else
   15342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15343 /* end confdefs.h.  */
   15344 int i;
   15345 _ACEOF
   15346 if ac_fn_c_try_compile "$LINENO"; then :
   15347   xorg_cv_cc_flag_unknown_warning_option=yes
   15348 else
   15349   xorg_cv_cc_flag_unknown_warning_option=no
   15350 fi
   15351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15352 fi
   15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15354 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15356 	CFLAGS="$xorg_testset_save_CFLAGS"
   15357 fi
   15358 
   15359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15362 	fi
   15363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15365 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15366 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15367   $as_echo_n "(cached) " >&6
   15368 else
   15369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15370 /* end confdefs.h.  */
   15371 int i;
   15372 _ACEOF
   15373 if ac_fn_c_try_compile "$LINENO"; then :
   15374   xorg_cv_cc_flag_unused_command_line_argument=yes
   15375 else
   15376   xorg_cv_cc_flag_unused_command_line_argument=no
   15377 fi
   15378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15379 fi
   15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15381 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15383 	CFLAGS="$xorg_testset_save_CFLAGS"
   15384 fi
   15385 
   15386 found="no"
   15387 
   15388 	if test $found = "no" ; then
   15389 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15391 		fi
   15392 
   15393 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15395 		fi
   15396 
   15397 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15398 
   15399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15400 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15401 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15402 		if eval \${$cacheid+:} false; then :
   15403   $as_echo_n "(cached) " >&6
   15404 else
   15405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15406 /* end confdefs.h.  */
   15407 int i;
   15408 int
   15409 main ()
   15410 {
   15411 
   15412   ;
   15413   return 0;
   15414 }
   15415 _ACEOF
   15416 if ac_fn_c_try_link "$LINENO"; then :
   15417   eval $cacheid=yes
   15418 else
   15419   eval $cacheid=no
   15420 fi
   15421 rm -f core conftest.err conftest.$ac_objext \
   15422     conftest$ac_exeext conftest.$ac_ext
   15423 fi
   15424 
   15425 
   15426 		CFLAGS="$xorg_testset_save_CFLAGS"
   15427 
   15428 		eval supported=\$$cacheid
   15429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15430 $as_echo "$supported" >&6; }
   15431 		if test "$supported" = "yes" ; then
   15432 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15433 			found="yes"
   15434 		fi
   15435 	fi
   15436 
   15437  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15438 else
   15439 { $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
   15440 $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;}
   15441 
   15442 
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 xorg_testset_save_CFLAGS="$CFLAGS"
   15455 
   15456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15461   $as_echo_n "(cached) " >&6
   15462 else
   15463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15464 /* end confdefs.h.  */
   15465 int i;
   15466 _ACEOF
   15467 if ac_fn_c_try_compile "$LINENO"; then :
   15468   xorg_cv_cc_flag_unknown_warning_option=yes
   15469 else
   15470   xorg_cv_cc_flag_unknown_warning_option=no
   15471 fi
   15472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15473 fi
   15474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15477 	CFLAGS="$xorg_testset_save_CFLAGS"
   15478 fi
   15479 
   15480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15483 	fi
   15484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15488   $as_echo_n "(cached) " >&6
   15489 else
   15490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15491 /* end confdefs.h.  */
   15492 int i;
   15493 _ACEOF
   15494 if ac_fn_c_try_compile "$LINENO"; then :
   15495   xorg_cv_cc_flag_unused_command_line_argument=yes
   15496 else
   15497   xorg_cv_cc_flag_unused_command_line_argument=no
   15498 fi
   15499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15500 fi
   15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15504 	CFLAGS="$xorg_testset_save_CFLAGS"
   15505 fi
   15506 
   15507 found="no"
   15508 
   15509 	if test $found = "no" ; then
   15510 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15512 		fi
   15513 
   15514 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15516 		fi
   15517 
   15518 		CFLAGS="$CFLAGS -Wimplicit"
   15519 
   15520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15521 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15522 		cacheid=xorg_cv_cc_flag__Wimplicit
   15523 		if eval \${$cacheid+:} false; then :
   15524   $as_echo_n "(cached) " >&6
   15525 else
   15526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15527 /* end confdefs.h.  */
   15528 int i;
   15529 int
   15530 main ()
   15531 {
   15532 
   15533   ;
   15534   return 0;
   15535 }
   15536 _ACEOF
   15537 if ac_fn_c_try_link "$LINENO"; then :
   15538   eval $cacheid=yes
   15539 else
   15540   eval $cacheid=no
   15541 fi
   15542 rm -f core conftest.err conftest.$ac_objext \
   15543     conftest$ac_exeext conftest.$ac_ext
   15544 fi
   15545 
   15546 
   15547 		CFLAGS="$xorg_testset_save_CFLAGS"
   15548 
   15549 		eval supported=\$$cacheid
   15550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15551 $as_echo "$supported" >&6; }
   15552 		if test "$supported" = "yes" ; then
   15553 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15554 			found="yes"
   15555 		fi
   15556 	fi
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 xorg_testset_save_CFLAGS="$CFLAGS"
   15573 
   15574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15579   $as_echo_n "(cached) " >&6
   15580 else
   15581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15582 /* end confdefs.h.  */
   15583 int i;
   15584 _ACEOF
   15585 if ac_fn_c_try_compile "$LINENO"; then :
   15586   xorg_cv_cc_flag_unknown_warning_option=yes
   15587 else
   15588   xorg_cv_cc_flag_unknown_warning_option=no
   15589 fi
   15590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15591 fi
   15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15595 	CFLAGS="$xorg_testset_save_CFLAGS"
   15596 fi
   15597 
   15598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15601 	fi
   15602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15606   $as_echo_n "(cached) " >&6
   15607 else
   15608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15609 /* end confdefs.h.  */
   15610 int i;
   15611 _ACEOF
   15612 if ac_fn_c_try_compile "$LINENO"; then :
   15613   xorg_cv_cc_flag_unused_command_line_argument=yes
   15614 else
   15615   xorg_cv_cc_flag_unused_command_line_argument=no
   15616 fi
   15617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15618 fi
   15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15622 	CFLAGS="$xorg_testset_save_CFLAGS"
   15623 fi
   15624 
   15625 found="no"
   15626 
   15627 	if test $found = "no" ; then
   15628 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15630 		fi
   15631 
   15632 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15634 		fi
   15635 
   15636 		CFLAGS="$CFLAGS -Wnonnull"
   15637 
   15638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15639 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15640 		cacheid=xorg_cv_cc_flag__Wnonnull
   15641 		if eval \${$cacheid+:} false; then :
   15642   $as_echo_n "(cached) " >&6
   15643 else
   15644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15645 /* end confdefs.h.  */
   15646 int i;
   15647 int
   15648 main ()
   15649 {
   15650 
   15651   ;
   15652   return 0;
   15653 }
   15654 _ACEOF
   15655 if ac_fn_c_try_link "$LINENO"; then :
   15656   eval $cacheid=yes
   15657 else
   15658   eval $cacheid=no
   15659 fi
   15660 rm -f core conftest.err conftest.$ac_objext \
   15661     conftest$ac_exeext conftest.$ac_ext
   15662 fi
   15663 
   15664 
   15665 		CFLAGS="$xorg_testset_save_CFLAGS"
   15666 
   15667 		eval supported=\$$cacheid
   15668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15669 $as_echo "$supported" >&6; }
   15670 		if test "$supported" = "yes" ; then
   15671 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15672 			found="yes"
   15673 		fi
   15674 	fi
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 xorg_testset_save_CFLAGS="$CFLAGS"
   15691 
   15692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15697   $as_echo_n "(cached) " >&6
   15698 else
   15699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15700 /* end confdefs.h.  */
   15701 int i;
   15702 _ACEOF
   15703 if ac_fn_c_try_compile "$LINENO"; then :
   15704   xorg_cv_cc_flag_unknown_warning_option=yes
   15705 else
   15706   xorg_cv_cc_flag_unknown_warning_option=no
   15707 fi
   15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15709 fi
   15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15713 	CFLAGS="$xorg_testset_save_CFLAGS"
   15714 fi
   15715 
   15716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15719 	fi
   15720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15724   $as_echo_n "(cached) " >&6
   15725 else
   15726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15727 /* end confdefs.h.  */
   15728 int i;
   15729 _ACEOF
   15730 if ac_fn_c_try_compile "$LINENO"; then :
   15731   xorg_cv_cc_flag_unused_command_line_argument=yes
   15732 else
   15733   xorg_cv_cc_flag_unused_command_line_argument=no
   15734 fi
   15735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15736 fi
   15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15740 	CFLAGS="$xorg_testset_save_CFLAGS"
   15741 fi
   15742 
   15743 found="no"
   15744 
   15745 	if test $found = "no" ; then
   15746 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15748 		fi
   15749 
   15750 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15752 		fi
   15753 
   15754 		CFLAGS="$CFLAGS -Winit-self"
   15755 
   15756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15757 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15758 		cacheid=xorg_cv_cc_flag__Winit_self
   15759 		if eval \${$cacheid+:} false; then :
   15760   $as_echo_n "(cached) " >&6
   15761 else
   15762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15763 /* end confdefs.h.  */
   15764 int i;
   15765 int
   15766 main ()
   15767 {
   15768 
   15769   ;
   15770   return 0;
   15771 }
   15772 _ACEOF
   15773 if ac_fn_c_try_link "$LINENO"; then :
   15774   eval $cacheid=yes
   15775 else
   15776   eval $cacheid=no
   15777 fi
   15778 rm -f core conftest.err conftest.$ac_objext \
   15779     conftest$ac_exeext conftest.$ac_ext
   15780 fi
   15781 
   15782 
   15783 		CFLAGS="$xorg_testset_save_CFLAGS"
   15784 
   15785 		eval supported=\$$cacheid
   15786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15787 $as_echo "$supported" >&6; }
   15788 		if test "$supported" = "yes" ; then
   15789 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15790 			found="yes"
   15791 		fi
   15792 	fi
   15793 
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 xorg_testset_save_CFLAGS="$CFLAGS"
   15809 
   15810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15815   $as_echo_n "(cached) " >&6
   15816 else
   15817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15818 /* end confdefs.h.  */
   15819 int i;
   15820 _ACEOF
   15821 if ac_fn_c_try_compile "$LINENO"; then :
   15822   xorg_cv_cc_flag_unknown_warning_option=yes
   15823 else
   15824   xorg_cv_cc_flag_unknown_warning_option=no
   15825 fi
   15826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15827 fi
   15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15831 	CFLAGS="$xorg_testset_save_CFLAGS"
   15832 fi
   15833 
   15834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15837 	fi
   15838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15842   $as_echo_n "(cached) " >&6
   15843 else
   15844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15845 /* end confdefs.h.  */
   15846 int i;
   15847 _ACEOF
   15848 if ac_fn_c_try_compile "$LINENO"; then :
   15849   xorg_cv_cc_flag_unused_command_line_argument=yes
   15850 else
   15851   xorg_cv_cc_flag_unused_command_line_argument=no
   15852 fi
   15853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15854 fi
   15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15858 	CFLAGS="$xorg_testset_save_CFLAGS"
   15859 fi
   15860 
   15861 found="no"
   15862 
   15863 	if test $found = "no" ; then
   15864 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15866 		fi
   15867 
   15868 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15870 		fi
   15871 
   15872 		CFLAGS="$CFLAGS -Wmain"
   15873 
   15874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15875 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15876 		cacheid=xorg_cv_cc_flag__Wmain
   15877 		if eval \${$cacheid+:} false; then :
   15878   $as_echo_n "(cached) " >&6
   15879 else
   15880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15881 /* end confdefs.h.  */
   15882 int i;
   15883 int
   15884 main ()
   15885 {
   15886 
   15887   ;
   15888   return 0;
   15889 }
   15890 _ACEOF
   15891 if ac_fn_c_try_link "$LINENO"; then :
   15892   eval $cacheid=yes
   15893 else
   15894   eval $cacheid=no
   15895 fi
   15896 rm -f core conftest.err conftest.$ac_objext \
   15897     conftest$ac_exeext conftest.$ac_ext
   15898 fi
   15899 
   15900 
   15901 		CFLAGS="$xorg_testset_save_CFLAGS"
   15902 
   15903 		eval supported=\$$cacheid
   15904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15905 $as_echo "$supported" >&6; }
   15906 		if test "$supported" = "yes" ; then
   15907 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15908 			found="yes"
   15909 		fi
   15910 	fi
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 xorg_testset_save_CFLAGS="$CFLAGS"
   15927 
   15928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15932 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15933   $as_echo_n "(cached) " >&6
   15934 else
   15935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 int i;
   15938 _ACEOF
   15939 if ac_fn_c_try_compile "$LINENO"; then :
   15940   xorg_cv_cc_flag_unknown_warning_option=yes
   15941 else
   15942   xorg_cv_cc_flag_unknown_warning_option=no
   15943 fi
   15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15945 fi
   15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15947 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15948 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15949 	CFLAGS="$xorg_testset_save_CFLAGS"
   15950 fi
   15951 
   15952 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15953 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15954 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15955 	fi
   15956 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15958 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15959 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15960   $as_echo_n "(cached) " >&6
   15961 else
   15962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15963 /* end confdefs.h.  */
   15964 int i;
   15965 _ACEOF
   15966 if ac_fn_c_try_compile "$LINENO"; then :
   15967   xorg_cv_cc_flag_unused_command_line_argument=yes
   15968 else
   15969   xorg_cv_cc_flag_unused_command_line_argument=no
   15970 fi
   15971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15972 fi
   15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15974 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15976 	CFLAGS="$xorg_testset_save_CFLAGS"
   15977 fi
   15978 
   15979 found="no"
   15980 
   15981 	if test $found = "no" ; then
   15982 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15984 		fi
   15985 
   15986 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15988 		fi
   15989 
   15990 		CFLAGS="$CFLAGS -Wmissing-braces"
   15991 
   15992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15993 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15994 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   15995 		if eval \${$cacheid+:} false; then :
   15996   $as_echo_n "(cached) " >&6
   15997 else
   15998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15999 /* end confdefs.h.  */
   16000 int i;
   16001 int
   16002 main ()
   16003 {
   16004 
   16005   ;
   16006   return 0;
   16007 }
   16008 _ACEOF
   16009 if ac_fn_c_try_link "$LINENO"; then :
   16010   eval $cacheid=yes
   16011 else
   16012   eval $cacheid=no
   16013 fi
   16014 rm -f core conftest.err conftest.$ac_objext \
   16015     conftest$ac_exeext conftest.$ac_ext
   16016 fi
   16017 
   16018 
   16019 		CFLAGS="$xorg_testset_save_CFLAGS"
   16020 
   16021 		eval supported=\$$cacheid
   16022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16023 $as_echo "$supported" >&6; }
   16024 		if test "$supported" = "yes" ; then
   16025 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16026 			found="yes"
   16027 		fi
   16028 	fi
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 xorg_testset_save_CFLAGS="$CFLAGS"
   16045 
   16046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16049 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16050 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16051   $as_echo_n "(cached) " >&6
   16052 else
   16053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16054 /* end confdefs.h.  */
   16055 int i;
   16056 _ACEOF
   16057 if ac_fn_c_try_compile "$LINENO"; then :
   16058   xorg_cv_cc_flag_unknown_warning_option=yes
   16059 else
   16060   xorg_cv_cc_flag_unknown_warning_option=no
   16061 fi
   16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16063 fi
   16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16065 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16067 	CFLAGS="$xorg_testset_save_CFLAGS"
   16068 fi
   16069 
   16070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16073 	fi
   16074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16076 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16077 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16078   $as_echo_n "(cached) " >&6
   16079 else
   16080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16081 /* end confdefs.h.  */
   16082 int i;
   16083 _ACEOF
   16084 if ac_fn_c_try_compile "$LINENO"; then :
   16085   xorg_cv_cc_flag_unused_command_line_argument=yes
   16086 else
   16087   xorg_cv_cc_flag_unused_command_line_argument=no
   16088 fi
   16089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16090 fi
   16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16092 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16093 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16094 	CFLAGS="$xorg_testset_save_CFLAGS"
   16095 fi
   16096 
   16097 found="no"
   16098 
   16099 	if test $found = "no" ; then
   16100 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16102 		fi
   16103 
   16104 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16106 		fi
   16107 
   16108 		CFLAGS="$CFLAGS -Wsequence-point"
   16109 
   16110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16111 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16112 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16113 		if eval \${$cacheid+:} false; then :
   16114   $as_echo_n "(cached) " >&6
   16115 else
   16116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16117 /* end confdefs.h.  */
   16118 int i;
   16119 int
   16120 main ()
   16121 {
   16122 
   16123   ;
   16124   return 0;
   16125 }
   16126 _ACEOF
   16127 if ac_fn_c_try_link "$LINENO"; then :
   16128   eval $cacheid=yes
   16129 else
   16130   eval $cacheid=no
   16131 fi
   16132 rm -f core conftest.err conftest.$ac_objext \
   16133     conftest$ac_exeext conftest.$ac_ext
   16134 fi
   16135 
   16136 
   16137 		CFLAGS="$xorg_testset_save_CFLAGS"
   16138 
   16139 		eval supported=\$$cacheid
   16140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16141 $as_echo "$supported" >&6; }
   16142 		if test "$supported" = "yes" ; then
   16143 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16144 			found="yes"
   16145 		fi
   16146 	fi
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 xorg_testset_save_CFLAGS="$CFLAGS"
   16163 
   16164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16169   $as_echo_n "(cached) " >&6
   16170 else
   16171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16172 /* end confdefs.h.  */
   16173 int i;
   16174 _ACEOF
   16175 if ac_fn_c_try_compile "$LINENO"; then :
   16176   xorg_cv_cc_flag_unknown_warning_option=yes
   16177 else
   16178   xorg_cv_cc_flag_unknown_warning_option=no
   16179 fi
   16180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16181 fi
   16182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16185 	CFLAGS="$xorg_testset_save_CFLAGS"
   16186 fi
   16187 
   16188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16191 	fi
   16192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16196   $as_echo_n "(cached) " >&6
   16197 else
   16198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16199 /* end confdefs.h.  */
   16200 int i;
   16201 _ACEOF
   16202 if ac_fn_c_try_compile "$LINENO"; then :
   16203   xorg_cv_cc_flag_unused_command_line_argument=yes
   16204 else
   16205   xorg_cv_cc_flag_unused_command_line_argument=no
   16206 fi
   16207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16208 fi
   16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16212 	CFLAGS="$xorg_testset_save_CFLAGS"
   16213 fi
   16214 
   16215 found="no"
   16216 
   16217 	if test $found = "no" ; then
   16218 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16220 		fi
   16221 
   16222 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16224 		fi
   16225 
   16226 		CFLAGS="$CFLAGS -Wreturn-type"
   16227 
   16228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16229 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16230 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16231 		if eval \${$cacheid+:} false; then :
   16232   $as_echo_n "(cached) " >&6
   16233 else
   16234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16235 /* end confdefs.h.  */
   16236 int i;
   16237 int
   16238 main ()
   16239 {
   16240 
   16241   ;
   16242   return 0;
   16243 }
   16244 _ACEOF
   16245 if ac_fn_c_try_link "$LINENO"; then :
   16246   eval $cacheid=yes
   16247 else
   16248   eval $cacheid=no
   16249 fi
   16250 rm -f core conftest.err conftest.$ac_objext \
   16251     conftest$ac_exeext conftest.$ac_ext
   16252 fi
   16253 
   16254 
   16255 		CFLAGS="$xorg_testset_save_CFLAGS"
   16256 
   16257 		eval supported=\$$cacheid
   16258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16259 $as_echo "$supported" >&6; }
   16260 		if test "$supported" = "yes" ; then
   16261 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16262 			found="yes"
   16263 		fi
   16264 	fi
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 xorg_testset_save_CFLAGS="$CFLAGS"
   16281 
   16282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16287   $as_echo_n "(cached) " >&6
   16288 else
   16289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16290 /* end confdefs.h.  */
   16291 int i;
   16292 _ACEOF
   16293 if ac_fn_c_try_compile "$LINENO"; then :
   16294   xorg_cv_cc_flag_unknown_warning_option=yes
   16295 else
   16296   xorg_cv_cc_flag_unknown_warning_option=no
   16297 fi
   16298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16299 fi
   16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16303 	CFLAGS="$xorg_testset_save_CFLAGS"
   16304 fi
   16305 
   16306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16309 	fi
   16310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16314   $as_echo_n "(cached) " >&6
   16315 else
   16316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16317 /* end confdefs.h.  */
   16318 int i;
   16319 _ACEOF
   16320 if ac_fn_c_try_compile "$LINENO"; then :
   16321   xorg_cv_cc_flag_unused_command_line_argument=yes
   16322 else
   16323   xorg_cv_cc_flag_unused_command_line_argument=no
   16324 fi
   16325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16326 fi
   16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16330 	CFLAGS="$xorg_testset_save_CFLAGS"
   16331 fi
   16332 
   16333 found="no"
   16334 
   16335 	if test $found = "no" ; then
   16336 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16338 		fi
   16339 
   16340 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16342 		fi
   16343 
   16344 		CFLAGS="$CFLAGS -Wtrigraphs"
   16345 
   16346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16347 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16348 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16349 		if eval \${$cacheid+:} false; then :
   16350   $as_echo_n "(cached) " >&6
   16351 else
   16352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16353 /* end confdefs.h.  */
   16354 int i;
   16355 int
   16356 main ()
   16357 {
   16358 
   16359   ;
   16360   return 0;
   16361 }
   16362 _ACEOF
   16363 if ac_fn_c_try_link "$LINENO"; then :
   16364   eval $cacheid=yes
   16365 else
   16366   eval $cacheid=no
   16367 fi
   16368 rm -f core conftest.err conftest.$ac_objext \
   16369     conftest$ac_exeext conftest.$ac_ext
   16370 fi
   16371 
   16372 
   16373 		CFLAGS="$xorg_testset_save_CFLAGS"
   16374 
   16375 		eval supported=\$$cacheid
   16376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16377 $as_echo "$supported" >&6; }
   16378 		if test "$supported" = "yes" ; then
   16379 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16380 			found="yes"
   16381 		fi
   16382 	fi
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 xorg_testset_save_CFLAGS="$CFLAGS"
   16399 
   16400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16405   $as_echo_n "(cached) " >&6
   16406 else
   16407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16408 /* end confdefs.h.  */
   16409 int i;
   16410 _ACEOF
   16411 if ac_fn_c_try_compile "$LINENO"; then :
   16412   xorg_cv_cc_flag_unknown_warning_option=yes
   16413 else
   16414   xorg_cv_cc_flag_unknown_warning_option=no
   16415 fi
   16416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16417 fi
   16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16421 	CFLAGS="$xorg_testset_save_CFLAGS"
   16422 fi
   16423 
   16424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16427 	fi
   16428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16432   $as_echo_n "(cached) " >&6
   16433 else
   16434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16435 /* end confdefs.h.  */
   16436 int i;
   16437 _ACEOF
   16438 if ac_fn_c_try_compile "$LINENO"; then :
   16439   xorg_cv_cc_flag_unused_command_line_argument=yes
   16440 else
   16441   xorg_cv_cc_flag_unused_command_line_argument=no
   16442 fi
   16443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16444 fi
   16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16448 	CFLAGS="$xorg_testset_save_CFLAGS"
   16449 fi
   16450 
   16451 found="no"
   16452 
   16453 	if test $found = "no" ; then
   16454 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16456 		fi
   16457 
   16458 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16460 		fi
   16461 
   16462 		CFLAGS="$CFLAGS -Warray-bounds"
   16463 
   16464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16465 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16466 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16467 		if eval \${$cacheid+:} false; then :
   16468   $as_echo_n "(cached) " >&6
   16469 else
   16470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16471 /* end confdefs.h.  */
   16472 int i;
   16473 int
   16474 main ()
   16475 {
   16476 
   16477   ;
   16478   return 0;
   16479 }
   16480 _ACEOF
   16481 if ac_fn_c_try_link "$LINENO"; then :
   16482   eval $cacheid=yes
   16483 else
   16484   eval $cacheid=no
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext \
   16487     conftest$ac_exeext conftest.$ac_ext
   16488 fi
   16489 
   16490 
   16491 		CFLAGS="$xorg_testset_save_CFLAGS"
   16492 
   16493 		eval supported=\$$cacheid
   16494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16495 $as_echo "$supported" >&6; }
   16496 		if test "$supported" = "yes" ; then
   16497 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16498 			found="yes"
   16499 		fi
   16500 	fi
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 xorg_testset_save_CFLAGS="$CFLAGS"
   16517 
   16518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16523   $as_echo_n "(cached) " >&6
   16524 else
   16525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16526 /* end confdefs.h.  */
   16527 int i;
   16528 _ACEOF
   16529 if ac_fn_c_try_compile "$LINENO"; then :
   16530   xorg_cv_cc_flag_unknown_warning_option=yes
   16531 else
   16532   xorg_cv_cc_flag_unknown_warning_option=no
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16535 fi
   16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16539 	CFLAGS="$xorg_testset_save_CFLAGS"
   16540 fi
   16541 
   16542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16545 	fi
   16546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16550   $as_echo_n "(cached) " >&6
   16551 else
   16552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16553 /* end confdefs.h.  */
   16554 int i;
   16555 _ACEOF
   16556 if ac_fn_c_try_compile "$LINENO"; then :
   16557   xorg_cv_cc_flag_unused_command_line_argument=yes
   16558 else
   16559   xorg_cv_cc_flag_unused_command_line_argument=no
   16560 fi
   16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16562 fi
   16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16566 	CFLAGS="$xorg_testset_save_CFLAGS"
   16567 fi
   16568 
   16569 found="no"
   16570 
   16571 	if test $found = "no" ; then
   16572 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16574 		fi
   16575 
   16576 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16578 		fi
   16579 
   16580 		CFLAGS="$CFLAGS -Wwrite-strings"
   16581 
   16582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16583 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16584 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16585 		if eval \${$cacheid+:} false; then :
   16586   $as_echo_n "(cached) " >&6
   16587 else
   16588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16589 /* end confdefs.h.  */
   16590 int i;
   16591 int
   16592 main ()
   16593 {
   16594 
   16595   ;
   16596   return 0;
   16597 }
   16598 _ACEOF
   16599 if ac_fn_c_try_link "$LINENO"; then :
   16600   eval $cacheid=yes
   16601 else
   16602   eval $cacheid=no
   16603 fi
   16604 rm -f core conftest.err conftest.$ac_objext \
   16605     conftest$ac_exeext conftest.$ac_ext
   16606 fi
   16607 
   16608 
   16609 		CFLAGS="$xorg_testset_save_CFLAGS"
   16610 
   16611 		eval supported=\$$cacheid
   16612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16613 $as_echo "$supported" >&6; }
   16614 		if test "$supported" = "yes" ; then
   16615 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16616 			found="yes"
   16617 		fi
   16618 	fi
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 xorg_testset_save_CFLAGS="$CFLAGS"
   16635 
   16636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16639 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16640 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16641   $as_echo_n "(cached) " >&6
   16642 else
   16643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16644 /* end confdefs.h.  */
   16645 int i;
   16646 _ACEOF
   16647 if ac_fn_c_try_compile "$LINENO"; then :
   16648   xorg_cv_cc_flag_unknown_warning_option=yes
   16649 else
   16650   xorg_cv_cc_flag_unknown_warning_option=no
   16651 fi
   16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16653 fi
   16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16655 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16657 	CFLAGS="$xorg_testset_save_CFLAGS"
   16658 fi
   16659 
   16660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16663 	fi
   16664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16666 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16667 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16668   $as_echo_n "(cached) " >&6
   16669 else
   16670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16671 /* end confdefs.h.  */
   16672 int i;
   16673 _ACEOF
   16674 if ac_fn_c_try_compile "$LINENO"; then :
   16675   xorg_cv_cc_flag_unused_command_line_argument=yes
   16676 else
   16677   xorg_cv_cc_flag_unused_command_line_argument=no
   16678 fi
   16679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16680 fi
   16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16682 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16684 	CFLAGS="$xorg_testset_save_CFLAGS"
   16685 fi
   16686 
   16687 found="no"
   16688 
   16689 	if test $found = "no" ; then
   16690 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16692 		fi
   16693 
   16694 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16696 		fi
   16697 
   16698 		CFLAGS="$CFLAGS -Waddress"
   16699 
   16700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16701 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16702 		cacheid=xorg_cv_cc_flag__Waddress
   16703 		if eval \${$cacheid+:} false; then :
   16704   $as_echo_n "(cached) " >&6
   16705 else
   16706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16707 /* end confdefs.h.  */
   16708 int i;
   16709 int
   16710 main ()
   16711 {
   16712 
   16713   ;
   16714   return 0;
   16715 }
   16716 _ACEOF
   16717 if ac_fn_c_try_link "$LINENO"; then :
   16718   eval $cacheid=yes
   16719 else
   16720   eval $cacheid=no
   16721 fi
   16722 rm -f core conftest.err conftest.$ac_objext \
   16723     conftest$ac_exeext conftest.$ac_ext
   16724 fi
   16725 
   16726 
   16727 		CFLAGS="$xorg_testset_save_CFLAGS"
   16728 
   16729 		eval supported=\$$cacheid
   16730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16731 $as_echo "$supported" >&6; }
   16732 		if test "$supported" = "yes" ; then
   16733 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16734 			found="yes"
   16735 		fi
   16736 	fi
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 xorg_testset_save_CFLAGS="$CFLAGS"
   16753 
   16754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16759   $as_echo_n "(cached) " >&6
   16760 else
   16761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16762 /* end confdefs.h.  */
   16763 int i;
   16764 _ACEOF
   16765 if ac_fn_c_try_compile "$LINENO"; then :
   16766   xorg_cv_cc_flag_unknown_warning_option=yes
   16767 else
   16768   xorg_cv_cc_flag_unknown_warning_option=no
   16769 fi
   16770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16771 fi
   16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16775 	CFLAGS="$xorg_testset_save_CFLAGS"
   16776 fi
   16777 
   16778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16781 	fi
   16782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16786   $as_echo_n "(cached) " >&6
   16787 else
   16788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16789 /* end confdefs.h.  */
   16790 int i;
   16791 _ACEOF
   16792 if ac_fn_c_try_compile "$LINENO"; then :
   16793   xorg_cv_cc_flag_unused_command_line_argument=yes
   16794 else
   16795   xorg_cv_cc_flag_unused_command_line_argument=no
   16796 fi
   16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16798 fi
   16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16802 	CFLAGS="$xorg_testset_save_CFLAGS"
   16803 fi
   16804 
   16805 found="no"
   16806 
   16807 	if test $found = "no" ; then
   16808 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16810 		fi
   16811 
   16812 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16814 		fi
   16815 
   16816 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16817 
   16818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16819 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16820 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16821 		if eval \${$cacheid+:} false; then :
   16822   $as_echo_n "(cached) " >&6
   16823 else
   16824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16825 /* end confdefs.h.  */
   16826 int i;
   16827 int
   16828 main ()
   16829 {
   16830 
   16831   ;
   16832   return 0;
   16833 }
   16834 _ACEOF
   16835 if ac_fn_c_try_link "$LINENO"; then :
   16836   eval $cacheid=yes
   16837 else
   16838   eval $cacheid=no
   16839 fi
   16840 rm -f core conftest.err conftest.$ac_objext \
   16841     conftest$ac_exeext conftest.$ac_ext
   16842 fi
   16843 
   16844 
   16845 		CFLAGS="$xorg_testset_save_CFLAGS"
   16846 
   16847 		eval supported=\$$cacheid
   16848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16849 $as_echo "$supported" >&6; }
   16850 		if test "$supported" = "yes" ; then
   16851 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16852 			found="yes"
   16853 		fi
   16854 	fi
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 xorg_testset_save_CFLAGS="$CFLAGS"
   16871 
   16872 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16875 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16876 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16877   $as_echo_n "(cached) " >&6
   16878 else
   16879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16880 /* end confdefs.h.  */
   16881 int i;
   16882 _ACEOF
   16883 if ac_fn_c_try_compile "$LINENO"; then :
   16884   xorg_cv_cc_flag_unknown_warning_option=yes
   16885 else
   16886   xorg_cv_cc_flag_unknown_warning_option=no
   16887 fi
   16888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16889 fi
   16890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16891 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16892 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16893 	CFLAGS="$xorg_testset_save_CFLAGS"
   16894 fi
   16895 
   16896 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16897 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16898 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16899 	fi
   16900 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16901 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16902 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16903 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16904   $as_echo_n "(cached) " >&6
   16905 else
   16906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16907 /* end confdefs.h.  */
   16908 int i;
   16909 _ACEOF
   16910 if ac_fn_c_try_compile "$LINENO"; then :
   16911   xorg_cv_cc_flag_unused_command_line_argument=yes
   16912 else
   16913   xorg_cv_cc_flag_unused_command_line_argument=no
   16914 fi
   16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16916 fi
   16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16918 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16920 	CFLAGS="$xorg_testset_save_CFLAGS"
   16921 fi
   16922 
   16923 found="no"
   16924 
   16925 	if test $found = "no" ; then
   16926 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16928 		fi
   16929 
   16930 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16932 		fi
   16933 
   16934 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16935 
   16936 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16937 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16938 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16939 		if eval \${$cacheid+:} false; then :
   16940   $as_echo_n "(cached) " >&6
   16941 else
   16942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16943 /* end confdefs.h.  */
   16944 int i;
   16945 int
   16946 main ()
   16947 {
   16948 
   16949   ;
   16950   return 0;
   16951 }
   16952 _ACEOF
   16953 if ac_fn_c_try_link "$LINENO"; then :
   16954   eval $cacheid=yes
   16955 else
   16956   eval $cacheid=no
   16957 fi
   16958 rm -f core conftest.err conftest.$ac_objext \
   16959     conftest$ac_exeext conftest.$ac_ext
   16960 fi
   16961 
   16962 
   16963 		CFLAGS="$xorg_testset_save_CFLAGS"
   16964 
   16965 		eval supported=\$$cacheid
   16966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16967 $as_echo "$supported" >&6; }
   16968 		if test "$supported" = "yes" ; then
   16969 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16970 			found="yes"
   16971 		fi
   16972 	fi
   16973 
   16974 
   16975 fi
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 		CWARNFLAGS="$BASE_CFLAGS"
   16984 		if  test "x$GCC" = xyes ; then
   16985 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16986 		fi
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 # Check whether --enable-strict-compilation was given.
   16996 if test "${enable_strict_compilation+set}" = set; then :
   16997   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16998 else
   16999   STRICT_COMPILE=no
   17000 fi
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 STRICT_CFLAGS=""
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 xorg_testset_save_CFLAGS="$CFLAGS"
   17022 
   17023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17028   $as_echo_n "(cached) " >&6
   17029 else
   17030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17031 /* end confdefs.h.  */
   17032 int i;
   17033 _ACEOF
   17034 if ac_fn_c_try_compile "$LINENO"; then :
   17035   xorg_cv_cc_flag_unknown_warning_option=yes
   17036 else
   17037   xorg_cv_cc_flag_unknown_warning_option=no
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17040 fi
   17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17044 	CFLAGS="$xorg_testset_save_CFLAGS"
   17045 fi
   17046 
   17047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17050 	fi
   17051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17055   $as_echo_n "(cached) " >&6
   17056 else
   17057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17058 /* end confdefs.h.  */
   17059 int i;
   17060 _ACEOF
   17061 if ac_fn_c_try_compile "$LINENO"; then :
   17062   xorg_cv_cc_flag_unused_command_line_argument=yes
   17063 else
   17064   xorg_cv_cc_flag_unused_command_line_argument=no
   17065 fi
   17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17067 fi
   17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17071 	CFLAGS="$xorg_testset_save_CFLAGS"
   17072 fi
   17073 
   17074 found="no"
   17075 
   17076 	if test $found = "no" ; then
   17077 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17079 		fi
   17080 
   17081 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17083 		fi
   17084 
   17085 		CFLAGS="$CFLAGS -pedantic"
   17086 
   17087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17088 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17089 		cacheid=xorg_cv_cc_flag__pedantic
   17090 		if eval \${$cacheid+:} false; then :
   17091   $as_echo_n "(cached) " >&6
   17092 else
   17093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17094 /* end confdefs.h.  */
   17095 int i;
   17096 int
   17097 main ()
   17098 {
   17099 
   17100   ;
   17101   return 0;
   17102 }
   17103 _ACEOF
   17104 if ac_fn_c_try_link "$LINENO"; then :
   17105   eval $cacheid=yes
   17106 else
   17107   eval $cacheid=no
   17108 fi
   17109 rm -f core conftest.err conftest.$ac_objext \
   17110     conftest$ac_exeext conftest.$ac_ext
   17111 fi
   17112 
   17113 
   17114 		CFLAGS="$xorg_testset_save_CFLAGS"
   17115 
   17116 		eval supported=\$$cacheid
   17117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17118 $as_echo "$supported" >&6; }
   17119 		if test "$supported" = "yes" ; then
   17120 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17121 			found="yes"
   17122 		fi
   17123 	fi
   17124 
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 xorg_testset_save_CFLAGS="$CFLAGS"
   17140 
   17141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17146   $as_echo_n "(cached) " >&6
   17147 else
   17148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17149 /* end confdefs.h.  */
   17150 int i;
   17151 _ACEOF
   17152 if ac_fn_c_try_compile "$LINENO"; then :
   17153   xorg_cv_cc_flag_unknown_warning_option=yes
   17154 else
   17155   xorg_cv_cc_flag_unknown_warning_option=no
   17156 fi
   17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17158 fi
   17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17162 	CFLAGS="$xorg_testset_save_CFLAGS"
   17163 fi
   17164 
   17165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17168 	fi
   17169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17173   $as_echo_n "(cached) " >&6
   17174 else
   17175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17176 /* end confdefs.h.  */
   17177 int i;
   17178 _ACEOF
   17179 if ac_fn_c_try_compile "$LINENO"; then :
   17180   xorg_cv_cc_flag_unused_command_line_argument=yes
   17181 else
   17182   xorg_cv_cc_flag_unused_command_line_argument=no
   17183 fi
   17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17185 fi
   17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17189 	CFLAGS="$xorg_testset_save_CFLAGS"
   17190 fi
   17191 
   17192 found="no"
   17193 
   17194 	if test $found = "no" ; then
   17195 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17197 		fi
   17198 
   17199 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17201 		fi
   17202 
   17203 		CFLAGS="$CFLAGS -Werror"
   17204 
   17205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17206 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17207 		cacheid=xorg_cv_cc_flag__Werror
   17208 		if eval \${$cacheid+:} false; then :
   17209   $as_echo_n "(cached) " >&6
   17210 else
   17211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17212 /* end confdefs.h.  */
   17213 int i;
   17214 int
   17215 main ()
   17216 {
   17217 
   17218   ;
   17219   return 0;
   17220 }
   17221 _ACEOF
   17222 if ac_fn_c_try_link "$LINENO"; then :
   17223   eval $cacheid=yes
   17224 else
   17225   eval $cacheid=no
   17226 fi
   17227 rm -f core conftest.err conftest.$ac_objext \
   17228     conftest$ac_exeext conftest.$ac_ext
   17229 fi
   17230 
   17231 
   17232 		CFLAGS="$xorg_testset_save_CFLAGS"
   17233 
   17234 		eval supported=\$$cacheid
   17235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17236 $as_echo "$supported" >&6; }
   17237 		if test "$supported" = "yes" ; then
   17238 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17239 			found="yes"
   17240 		fi
   17241 	fi
   17242 
   17243 	if test $found = "no" ; then
   17244 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17246 		fi
   17247 
   17248 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17250 		fi
   17251 
   17252 		CFLAGS="$CFLAGS -errwarn"
   17253 
   17254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17255 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17256 		cacheid=xorg_cv_cc_flag__errwarn
   17257 		if eval \${$cacheid+:} false; then :
   17258   $as_echo_n "(cached) " >&6
   17259 else
   17260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17261 /* end confdefs.h.  */
   17262 int i;
   17263 int
   17264 main ()
   17265 {
   17266 
   17267   ;
   17268   return 0;
   17269 }
   17270 _ACEOF
   17271 if ac_fn_c_try_link "$LINENO"; then :
   17272   eval $cacheid=yes
   17273 else
   17274   eval $cacheid=no
   17275 fi
   17276 rm -f core conftest.err conftest.$ac_objext \
   17277     conftest$ac_exeext conftest.$ac_ext
   17278 fi
   17279 
   17280 
   17281 		CFLAGS="$xorg_testset_save_CFLAGS"
   17282 
   17283 		eval supported=\$$cacheid
   17284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17285 $as_echo "$supported" >&6; }
   17286 		if test "$supported" = "yes" ; then
   17287 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17288 			found="yes"
   17289 		fi
   17290 	fi
   17291 
   17292 
   17293 
   17294 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17295 # activate it with -Werror, so we add it here explicitly.
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 xorg_testset_save_CFLAGS="$CFLAGS"
   17310 
   17311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17314 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17315 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17316   $as_echo_n "(cached) " >&6
   17317 else
   17318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17319 /* end confdefs.h.  */
   17320 int i;
   17321 _ACEOF
   17322 if ac_fn_c_try_compile "$LINENO"; then :
   17323   xorg_cv_cc_flag_unknown_warning_option=yes
   17324 else
   17325   xorg_cv_cc_flag_unknown_warning_option=no
   17326 fi
   17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17328 fi
   17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17330 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17331 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17332 	CFLAGS="$xorg_testset_save_CFLAGS"
   17333 fi
   17334 
   17335 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17336 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17337 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17338 	fi
   17339 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17341 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17342 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17343   $as_echo_n "(cached) " >&6
   17344 else
   17345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17346 /* end confdefs.h.  */
   17347 int i;
   17348 _ACEOF
   17349 if ac_fn_c_try_compile "$LINENO"; then :
   17350   xorg_cv_cc_flag_unused_command_line_argument=yes
   17351 else
   17352   xorg_cv_cc_flag_unused_command_line_argument=no
   17353 fi
   17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17355 fi
   17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17357 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17359 	CFLAGS="$xorg_testset_save_CFLAGS"
   17360 fi
   17361 
   17362 found="no"
   17363 
   17364 	if test $found = "no" ; then
   17365 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17367 		fi
   17368 
   17369 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17371 		fi
   17372 
   17373 		CFLAGS="$CFLAGS -Werror=attributes"
   17374 
   17375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17376 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17377 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17378 		if eval \${$cacheid+:} false; then :
   17379   $as_echo_n "(cached) " >&6
   17380 else
   17381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17382 /* end confdefs.h.  */
   17383 int i;
   17384 int
   17385 main ()
   17386 {
   17387 
   17388   ;
   17389   return 0;
   17390 }
   17391 _ACEOF
   17392 if ac_fn_c_try_link "$LINENO"; then :
   17393   eval $cacheid=yes
   17394 else
   17395   eval $cacheid=no
   17396 fi
   17397 rm -f core conftest.err conftest.$ac_objext \
   17398     conftest$ac_exeext conftest.$ac_ext
   17399 fi
   17400 
   17401 
   17402 		CFLAGS="$xorg_testset_save_CFLAGS"
   17403 
   17404 		eval supported=\$$cacheid
   17405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17406 $as_echo "$supported" >&6; }
   17407 		if test "$supported" = "yes" ; then
   17408 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17409 			found="yes"
   17410 		fi
   17411 	fi
   17412 
   17413 
   17414 
   17415 if test "x$STRICT_COMPILE" = "xyes"; then
   17416     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17417     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17418 fi
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 cat >>confdefs.h <<_ACEOF
   17426 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17427 _ACEOF
   17428 
   17429 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17430 	if test "x$PVM" = "x"; then
   17431 		PVM="0"
   17432 	fi
   17433 
   17434 cat >>confdefs.h <<_ACEOF
   17435 #define PACKAGE_VERSION_MINOR $PVM
   17436 _ACEOF
   17437 
   17438 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17439 	if test "x$PVP" = "x"; then
   17440 		PVP="0"
   17441 	fi
   17442 
   17443 cat >>confdefs.h <<_ACEOF
   17444 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17445 _ACEOF
   17446 
   17447 
   17448 
   17449 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17450 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17451 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17452 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17453 
   17454 
   17455 
   17456 
   17457 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17458 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17459 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17460 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17461 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 if test x$APP_MAN_SUFFIX = x    ; then
   17469     APP_MAN_SUFFIX=1
   17470 fi
   17471 if test x$APP_MAN_DIR = x    ; then
   17472     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17473 fi
   17474 
   17475 if test x$LIB_MAN_SUFFIX = x    ; then
   17476     LIB_MAN_SUFFIX=3
   17477 fi
   17478 if test x$LIB_MAN_DIR = x    ; then
   17479     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17480 fi
   17481 
   17482 if test x$FILE_MAN_SUFFIX = x    ; then
   17483     case $host_os in
   17484 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17485 	*)		FILE_MAN_SUFFIX=5  ;;
   17486     esac
   17487 fi
   17488 if test x$FILE_MAN_DIR = x    ; then
   17489     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17490 fi
   17491 
   17492 if test x$MISC_MAN_SUFFIX = x    ; then
   17493     case $host_os in
   17494 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17495 	*)		MISC_MAN_SUFFIX=7  ;;
   17496     esac
   17497 fi
   17498 if test x$MISC_MAN_DIR = x    ; then
   17499     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17500 fi
   17501 
   17502 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17503     case $host_os in
   17504 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17505 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17506     esac
   17507 fi
   17508 if test x$DRIVER_MAN_DIR = x    ; then
   17509     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17510 fi
   17511 
   17512 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17513     case $host_os in
   17514 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17515 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17516     esac
   17517 fi
   17518 if test x$ADMIN_MAN_DIR = x    ; then
   17519     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17520 fi
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 XORG_MAN_PAGE="X Version 11"
   17537 
   17538 MAN_SUBSTS="\
   17539 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17540 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17541 	-e 's|__xservername__|Xorg|g' \
   17542 	-e 's|__xconfigfile__|xorg.conf|g' \
   17543 	-e 's|__projectroot__|\$(prefix)|g' \
   17544 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17545 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17546 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17547 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17548 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17549 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17550 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17551 
   17552 
   17553 
   17554 # Check whether --enable-silent-rules was given.
   17555 if test "${enable_silent_rules+set}" = set; then :
   17556   enableval=$enable_silent_rules;
   17557 fi
   17558 
   17559 case $enable_silent_rules in # (((
   17560   yes) AM_DEFAULT_VERBOSITY=0;;
   17561    no) AM_DEFAULT_VERBOSITY=1;;
   17562     *) AM_DEFAULT_VERBOSITY=0;;
   17563 esac
   17564 am_make=${MAKE-make}
   17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17566 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17567 if ${am_cv_make_support_nested_variables+:} false; then :
   17568   $as_echo_n "(cached) " >&6
   17569 else
   17570   if $as_echo 'TRUE=$(BAR$(V))
   17571 BAR0=false
   17572 BAR1=true
   17573 V=1
   17574 am__doit:
   17575 	@$(TRUE)
   17576 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17577   am_cv_make_support_nested_variables=yes
   17578 else
   17579   am_cv_make_support_nested_variables=no
   17580 fi
   17581 fi
   17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17583 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17584 if test $am_cv_make_support_nested_variables = yes; then
   17585     AM_V='$(V)'
   17586   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17587 else
   17588   AM_V=$AM_DEFAULT_VERBOSITY
   17589   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17590 fi
   17591 AM_BACKSLASH='\'
   17592 
   17593 
   17594 
   17595 # Check whether --enable-malloc0returnsnull was given.
   17596 if test "${enable_malloc0returnsnull+set}" = set; then :
   17597   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17598 else
   17599   MALLOC_ZERO_RETURNS_NULL=auto
   17600 fi
   17601 
   17602 
   17603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17604 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17605 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17606 	if test "$cross_compiling" = yes; then :
   17607   MALLOC_ZERO_RETURNS_NULL=yes
   17608 else
   17609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17610 /* end confdefs.h.  */
   17611 
   17612 #include <stdlib.h>
   17613 
   17614 int
   17615 main ()
   17616 {
   17617 
   17618     char *m0, *r0, *c0, *p;
   17619     m0 = malloc(0);
   17620     p = malloc(10);
   17621     r0 = realloc(p,0);
   17622     c0 = calloc(0,10);
   17623     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17624 
   17625   ;
   17626   return 0;
   17627 }
   17628 _ACEOF
   17629 if ac_fn_c_try_run "$LINENO"; then :
   17630   MALLOC_ZERO_RETURNS_NULL=yes
   17631 else
   17632   MALLOC_ZERO_RETURNS_NULL=no
   17633 fi
   17634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17635   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17636 fi
   17637 
   17638 fi
   17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17640 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17641 
   17642 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17643 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17644 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17645 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17646 else
   17647 	MALLOC_ZERO_CFLAGS=""
   17648 	XMALLOC_ZERO_CFLAGS=""
   17649 	XTMALLOC_ZERO_CFLAGS=""
   17650 fi
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 # Obtain compiler/linker options for depedencies
   17658 
   17659 pkg_failed=no
   17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVMC" >&5
   17661 $as_echo_n "checking for XVMC... " >&6; }
   17662 
   17663 if test -n "$XVMC_CFLAGS"; then
   17664     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   17665  elif test -n "$PKG_CONFIG"; then
   17666     if test -n "$PKG_CONFIG" && \
   17667     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xv xextproto videoproto\""; } >&5
   17668   ($PKG_CONFIG --exists --print-errors "x11 xext xv xextproto videoproto") 2>&5
   17669   ac_status=$?
   17670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17671   test $ac_status = 0; }; then
   17672   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xv xextproto videoproto" 2>/dev/null`
   17673 else
   17674   pkg_failed=yes
   17675 fi
   17676  else
   17677     pkg_failed=untried
   17678 fi
   17679 if test -n "$XVMC_LIBS"; then
   17680     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   17681  elif test -n "$PKG_CONFIG"; then
   17682     if test -n "$PKG_CONFIG" && \
   17683     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xv xextproto videoproto\""; } >&5
   17684   ($PKG_CONFIG --exists --print-errors "x11 xext xv xextproto videoproto") 2>&5
   17685   ac_status=$?
   17686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17687   test $ac_status = 0; }; then
   17688   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 xext xv xextproto videoproto" 2>/dev/null`
   17689 else
   17690   pkg_failed=yes
   17691 fi
   17692  else
   17693     pkg_failed=untried
   17694 fi
   17695 
   17696 
   17697 
   17698 if test $pkg_failed = yes; then
   17699 
   17700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17701         _pkg_short_errors_supported=yes
   17702 else
   17703         _pkg_short_errors_supported=no
   17704 fi
   17705         if test $_pkg_short_errors_supported = yes; then
   17706 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xv xextproto videoproto" 2>&1`
   17707         else
   17708 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xv xextproto videoproto" 2>&1`
   17709         fi
   17710 	# Put the nasty error message in config.log where it belongs
   17711 	echo "$XVMC_PKG_ERRORS" >&5
   17712 
   17713 	as_fn_error $? "Package requirements (x11 xext xv xextproto videoproto) were not met:
   17714 
   17715 $XVMC_PKG_ERRORS
   17716 
   17717 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17718 installed software in a non-standard prefix.
   17719 
   17720 Alternatively, you may set the environment variables XVMC_CFLAGS
   17721 and XVMC_LIBS to avoid the need to call pkg-config.
   17722 See the pkg-config man page for more details.
   17723 " "$LINENO" 5
   17724 elif test $pkg_failed = untried; then
   17725 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17727 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17728 is in your PATH or set the PKG_CONFIG environment variable to the full
   17729 path to pkg-config.
   17730 
   17731 Alternatively, you may set the environment variables XVMC_CFLAGS
   17732 and XVMC_LIBS to avoid the need to call pkg-config.
   17733 See the pkg-config man page for more details.
   17734 
   17735 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17736 See \`config.log' for more details" "$LINENO" 5; }
   17737 else
   17738 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   17739 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   17740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17741 $as_echo "yes" >&6; }
   17742 	:
   17743 fi
   17744 
   17745 # Check for _XEatDataWords function that may be patched into older Xlib release
   17746 SAVE_LIBS="$LIBS"
   17747 LIBS="$XVMC_LIBS"
   17748 for ac_func in _XEatDataWords
   17749 do :
   17750   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   17751 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   17752   cat >>confdefs.h <<_ACEOF
   17753 #define HAVE__XEATDATAWORDS 1
   17754 _ACEOF
   17755 
   17756 fi
   17757 done
   17758 
   17759 LIBS="$SAVE_LIBS"
   17760 
   17761 # Checks for library functions.
   17762 for ac_func in shmat
   17763 do :
   17764   ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   17765 if test "x$ac_cv_func_shmat" = xyes; then :
   17766   cat >>confdefs.h <<_ACEOF
   17767 #define HAVE_SHMAT 1
   17768 _ACEOF
   17769 
   17770 fi
   17771 done
   17772 
   17773 
   17774 # Allow checking code with lint, sparse, etc.
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 # Check whether --with-lint was given.
   17781 if test "${with_lint+set}" = set; then :
   17782   withval=$with_lint; use_lint=$withval
   17783 else
   17784   use_lint=no
   17785 fi
   17786 
   17787 
   17788 # Obtain platform specific info like program name and options
   17789 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   17790 case $host_os in
   17791   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   17792 	lint_name=splint
   17793 	lint_options="-badflag"
   17794 	;;
   17795   *freebsd* | *netbsd*)
   17796 	lint_name=lint
   17797 	lint_options="-u -b"
   17798 	;;
   17799   *solaris*)
   17800 	lint_name=lint
   17801 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   17802 	;;
   17803 esac
   17804 
   17805 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   17806 if test "x$use_lint" = x"yes" ; then
   17807    # Extract the first word of "$lint_name", so it can be a program name with args.
   17808 set dummy $lint_name; ac_word=$2
   17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17810 $as_echo_n "checking for $ac_word... " >&6; }
   17811 if ${ac_cv_path_LINT+:} false; then :
   17812   $as_echo_n "(cached) " >&6
   17813 else
   17814   case $LINT in
   17815   [\\/]* | ?:[\\/]*)
   17816   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   17817   ;;
   17818   *)
   17819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17820 for as_dir in $PATH
   17821 do
   17822   IFS=$as_save_IFS
   17823   test -z "$as_dir" && as_dir=.
   17824     for ac_exec_ext in '' $ac_executable_extensions; do
   17825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17826     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   17827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17828     break 2
   17829   fi
   17830 done
   17831   done
   17832 IFS=$as_save_IFS
   17833 
   17834   ;;
   17835 esac
   17836 fi
   17837 LINT=$ac_cv_path_LINT
   17838 if test -n "$LINT"; then
   17839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   17840 $as_echo "$LINT" >&6; }
   17841 else
   17842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17843 $as_echo "no" >&6; }
   17844 fi
   17845 
   17846 
   17847    if test "x$LINT" = "x"; then
   17848         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   17849    fi
   17850 elif test "x$use_lint" = x"no" ; then
   17851    if test "x$LINT" != "x"; then
   17852       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   17853 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   17854    fi
   17855 else
   17856    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   17857 fi
   17858 
   17859 # User supplied flags override default flags
   17860 if test "x$LINT_FLAGS" != "x"; then
   17861    lint_options=$LINT_FLAGS
   17862 fi
   17863 
   17864 LINT_FLAGS=$lint_options
   17865 
   17866  if test "x$LINT" != x; then
   17867   LINT_TRUE=
   17868   LINT_FALSE='#'
   17869 else
   17870   LINT_TRUE='#'
   17871   LINT_FALSE=
   17872 fi
   17873 
   17874 
   17875 
   17876 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
   17877 
   17878 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile wrapper/Makefile xvmc.pc"
   17879 
   17880 cat >confcache <<\_ACEOF
   17881 # This file is a shell script that caches the results of configure
   17882 # tests run on this system so they can be shared between configure
   17883 # scripts and configure runs, see configure's option --config-cache.
   17884 # It is not useful on other systems.  If it contains results you don't
   17885 # want to keep, you may remove or edit it.
   17886 #
   17887 # config.status only pays attention to the cache file if you give it
   17888 # the --recheck option to rerun configure.
   17889 #
   17890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17892 # following values.
   17893 
   17894 _ACEOF
   17895 
   17896 # The following way of writing the cache mishandles newlines in values,
   17897 # but we know of no workaround that is simple, portable, and efficient.
   17898 # So, we kill variables containing newlines.
   17899 # Ultrix sh set writes to stderr and can't be redirected directly,
   17900 # and sets the high bit in the cache file unless we assign to the vars.
   17901 (
   17902   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17903     eval ac_val=\$$ac_var
   17904     case $ac_val in #(
   17905     *${as_nl}*)
   17906       case $ac_var in #(
   17907       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17908 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17909       esac
   17910       case $ac_var in #(
   17911       _ | IFS | as_nl) ;; #(
   17912       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17913       *) { eval $ac_var=; unset $ac_var;} ;;
   17914       esac ;;
   17915     esac
   17916   done
   17917 
   17918   (set) 2>&1 |
   17919     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17920     *${as_nl}ac_space=\ *)
   17921       # `set' does not quote correctly, so add quotes: double-quote
   17922       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17923       sed -n \
   17924 	"s/'/'\\\\''/g;
   17925 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17926       ;; #(
   17927     *)
   17928       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17929       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17930       ;;
   17931     esac |
   17932     sort
   17933 ) |
   17934   sed '
   17935      /^ac_cv_env_/b end
   17936      t clear
   17937      :clear
   17938      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17939      t end
   17940      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17941      :end' >>confcache
   17942 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17943   if test -w "$cache_file"; then
   17944     if test "x$cache_file" != "x/dev/null"; then
   17945       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17946 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17947       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17948 	cat confcache >"$cache_file"
   17949       else
   17950         case $cache_file in #(
   17951         */* | ?:*)
   17952 	  mv -f confcache "$cache_file"$$ &&
   17953 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17954         *)
   17955 	  mv -f confcache "$cache_file" ;;
   17956 	esac
   17957       fi
   17958     fi
   17959   else
   17960     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17961 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17962   fi
   17963 fi
   17964 rm -f confcache
   17965 
   17966 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17967 # Let make expand exec_prefix.
   17968 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17969 
   17970 DEFS=-DHAVE_CONFIG_H
   17971 
   17972 ac_libobjs=
   17973 ac_ltlibobjs=
   17974 U=
   17975 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17976   # 1. Remove the extension, and $U if already installed.
   17977   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17978   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17979   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17980   #    will be set to the directory where LIBOBJS objects are built.
   17981   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17982   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17983 done
   17984 LIBOBJS=$ac_libobjs
   17985 
   17986 LTLIBOBJS=$ac_ltlibobjs
   17987 
   17988 
   17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17990 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17991    if test -n "$am_sleep_pid"; then
   17992      # Hide warnings about reused PIDs.
   17993      wait $am_sleep_pid 2>/dev/null
   17994    fi
   17995    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17996 $as_echo "done" >&6; }
   17997  if test -n "$EXEEXT"; then
   17998   am__EXEEXT_TRUE=
   17999   am__EXEEXT_FALSE='#'
   18000 else
   18001   am__EXEEXT_TRUE='#'
   18002   am__EXEEXT_FALSE=
   18003 fi
   18004 
   18005 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18006   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18008 fi
   18009 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18010   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18012 fi
   18013 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18014   as_fn_error $? "conditional \"LINT\" was never defined.
   18015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18016 fi
   18017 
   18018 : "${CONFIG_STATUS=./config.status}"
   18019 ac_write_fail=0
   18020 ac_clean_files_save=$ac_clean_files
   18021 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18022 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18023 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18024 as_write_fail=0
   18025 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18026 #! $SHELL
   18027 # Generated by $as_me.
   18028 # Run this file to recreate the current configuration.
   18029 # Compiler output produced by configure, useful for debugging
   18030 # configure, is in config.log if it exists.
   18031 
   18032 debug=false
   18033 ac_cs_recheck=false
   18034 ac_cs_silent=false
   18035 
   18036 SHELL=\${CONFIG_SHELL-$SHELL}
   18037 export SHELL
   18038 _ASEOF
   18039 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18040 ## -------------------- ##
   18041 ## M4sh Initialization. ##
   18042 ## -------------------- ##
   18043 
   18044 # Be more Bourne compatible
   18045 DUALCASE=1; export DUALCASE # for MKS sh
   18046 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18047   emulate sh
   18048   NULLCMD=:
   18049   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18050   # is contrary to our usage.  Disable this feature.
   18051   alias -g '${1+"$@"}'='"$@"'
   18052   setopt NO_GLOB_SUBST
   18053 else
   18054   case `(set -o) 2>/dev/null` in #(
   18055   *posix*) :
   18056     set -o posix ;; #(
   18057   *) :
   18058      ;;
   18059 esac
   18060 fi
   18061 
   18062 
   18063 as_nl='
   18064 '
   18065 export as_nl
   18066 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18067 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18068 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18070 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18071 # but without wasting forks for bash or zsh.
   18072 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18073     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18074   as_echo='print -r --'
   18075   as_echo_n='print -rn --'
   18076 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18077   as_echo='printf %s\n'
   18078   as_echo_n='printf %s'
   18079 else
   18080   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18081     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18082     as_echo_n='/usr/ucb/echo -n'
   18083   else
   18084     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18085     as_echo_n_body='eval
   18086       arg=$1;
   18087       case $arg in #(
   18088       *"$as_nl"*)
   18089 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18090 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18091       esac;
   18092       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18093     '
   18094     export as_echo_n_body
   18095     as_echo_n='sh -c $as_echo_n_body as_echo'
   18096   fi
   18097   export as_echo_body
   18098   as_echo='sh -c $as_echo_body as_echo'
   18099 fi
   18100 
   18101 # The user is always right.
   18102 if test "${PATH_SEPARATOR+set}" != set; then
   18103   PATH_SEPARATOR=:
   18104   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18105     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18106       PATH_SEPARATOR=';'
   18107   }
   18108 fi
   18109 
   18110 
   18111 # IFS
   18112 # We need space, tab and new line, in precisely that order.  Quoting is
   18113 # there to prevent editors from complaining about space-tab.
   18114 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18115 # splitting by setting IFS to empty value.)
   18116 IFS=" ""	$as_nl"
   18117 
   18118 # Find who we are.  Look in the path if we contain no directory separator.
   18119 as_myself=
   18120 case $0 in #((
   18121   *[\\/]* ) as_myself=$0 ;;
   18122   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18123 for as_dir in $PATH
   18124 do
   18125   IFS=$as_save_IFS
   18126   test -z "$as_dir" && as_dir=.
   18127     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18128   done
   18129 IFS=$as_save_IFS
   18130 
   18131      ;;
   18132 esac
   18133 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18134 # in which case we are not to be found in the path.
   18135 if test "x$as_myself" = x; then
   18136   as_myself=$0
   18137 fi
   18138 if test ! -f "$as_myself"; then
   18139   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18140   exit 1
   18141 fi
   18142 
   18143 # Unset variables that we do not need and which cause bugs (e.g. in
   18144 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18145 # suppresses any "Segmentation fault" message there.  '((' could
   18146 # trigger a bug in pdksh 5.2.14.
   18147 for as_var in BASH_ENV ENV MAIL MAILPATH
   18148 do eval test x\${$as_var+set} = xset \
   18149   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18150 done
   18151 PS1='$ '
   18152 PS2='> '
   18153 PS4='+ '
   18154 
   18155 # NLS nuisances.
   18156 LC_ALL=C
   18157 export LC_ALL
   18158 LANGUAGE=C
   18159 export LANGUAGE
   18160 
   18161 # CDPATH.
   18162 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18163 
   18164 
   18165 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18166 # ----------------------------------------
   18167 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18168 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18169 # script with STATUS, using 1 if that was 0.
   18170 as_fn_error ()
   18171 {
   18172   as_status=$1; test $as_status -eq 0 && as_status=1
   18173   if test "$4"; then
   18174     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18175     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18176   fi
   18177   $as_echo "$as_me: error: $2" >&2
   18178   as_fn_exit $as_status
   18179 } # as_fn_error
   18180 
   18181 
   18182 # as_fn_set_status STATUS
   18183 # -----------------------
   18184 # Set $? to STATUS, without forking.
   18185 as_fn_set_status ()
   18186 {
   18187   return $1
   18188 } # as_fn_set_status
   18189 
   18190 # as_fn_exit STATUS
   18191 # -----------------
   18192 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18193 as_fn_exit ()
   18194 {
   18195   set +e
   18196   as_fn_set_status $1
   18197   exit $1
   18198 } # as_fn_exit
   18199 
   18200 # as_fn_unset VAR
   18201 # ---------------
   18202 # Portably unset VAR.
   18203 as_fn_unset ()
   18204 {
   18205   { eval $1=; unset $1;}
   18206 }
   18207 as_unset=as_fn_unset
   18208 # as_fn_append VAR VALUE
   18209 # ----------------------
   18210 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18211 # advantage of any shell optimizations that allow amortized linear growth over
   18212 # repeated appends, instead of the typical quadratic growth present in naive
   18213 # implementations.
   18214 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18215   eval 'as_fn_append ()
   18216   {
   18217     eval $1+=\$2
   18218   }'
   18219 else
   18220   as_fn_append ()
   18221   {
   18222     eval $1=\$$1\$2
   18223   }
   18224 fi # as_fn_append
   18225 
   18226 # as_fn_arith ARG...
   18227 # ------------------
   18228 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18229 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18230 # must be portable across $(()) and expr.
   18231 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18232   eval 'as_fn_arith ()
   18233   {
   18234     as_val=$(( $* ))
   18235   }'
   18236 else
   18237   as_fn_arith ()
   18238   {
   18239     as_val=`expr "$@" || test $? -eq 1`
   18240   }
   18241 fi # as_fn_arith
   18242 
   18243 
   18244 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18245    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18246   as_expr=expr
   18247 else
   18248   as_expr=false
   18249 fi
   18250 
   18251 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18252   as_basename=basename
   18253 else
   18254   as_basename=false
   18255 fi
   18256 
   18257 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18258   as_dirname=dirname
   18259 else
   18260   as_dirname=false
   18261 fi
   18262 
   18263 as_me=`$as_basename -- "$0" ||
   18264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18265 	 X"$0" : 'X\(//\)$' \| \
   18266 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18267 $as_echo X/"$0" |
   18268     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18269 	    s//\1/
   18270 	    q
   18271 	  }
   18272 	  /^X\/\(\/\/\)$/{
   18273 	    s//\1/
   18274 	    q
   18275 	  }
   18276 	  /^X\/\(\/\).*/{
   18277 	    s//\1/
   18278 	    q
   18279 	  }
   18280 	  s/.*/./; q'`
   18281 
   18282 # Avoid depending upon Character Ranges.
   18283 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18284 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18285 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18286 as_cr_digits='0123456789'
   18287 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18288 
   18289 ECHO_C= ECHO_N= ECHO_T=
   18290 case `echo -n x` in #(((((
   18291 -n*)
   18292   case `echo 'xy\c'` in
   18293   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18294   xy)  ECHO_C='\c';;
   18295   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18296        ECHO_T='	';;
   18297   esac;;
   18298 *)
   18299   ECHO_N='-n';;
   18300 esac
   18301 
   18302 rm -f conf$$ conf$$.exe conf$$.file
   18303 if test -d conf$$.dir; then
   18304   rm -f conf$$.dir/conf$$.file
   18305 else
   18306   rm -f conf$$.dir
   18307   mkdir conf$$.dir 2>/dev/null
   18308 fi
   18309 if (echo >conf$$.file) 2>/dev/null; then
   18310   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18311     as_ln_s='ln -s'
   18312     # ... but there are two gotchas:
   18313     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18314     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18315     # In both cases, we have to default to `cp -p'.
   18316     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18317       as_ln_s='cp -p'
   18318   elif ln conf$$.file conf$$ 2>/dev/null; then
   18319     as_ln_s=ln
   18320   else
   18321     as_ln_s='cp -p'
   18322   fi
   18323 else
   18324   as_ln_s='cp -p'
   18325 fi
   18326 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18327 rmdir conf$$.dir 2>/dev/null
   18328 
   18329 
   18330 # as_fn_mkdir_p
   18331 # -------------
   18332 # Create "$as_dir" as a directory, including parents if necessary.
   18333 as_fn_mkdir_p ()
   18334 {
   18335 
   18336   case $as_dir in #(
   18337   -*) as_dir=./$as_dir;;
   18338   esac
   18339   test -d "$as_dir" || eval $as_mkdir_p || {
   18340     as_dirs=
   18341     while :; do
   18342       case $as_dir in #(
   18343       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18344       *) as_qdir=$as_dir;;
   18345       esac
   18346       as_dirs="'$as_qdir' $as_dirs"
   18347       as_dir=`$as_dirname -- "$as_dir" ||
   18348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18350 	 X"$as_dir" : 'X\(//\)$' \| \
   18351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18352 $as_echo X"$as_dir" |
   18353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18354 	    s//\1/
   18355 	    q
   18356 	  }
   18357 	  /^X\(\/\/\)[^/].*/{
   18358 	    s//\1/
   18359 	    q
   18360 	  }
   18361 	  /^X\(\/\/\)$/{
   18362 	    s//\1/
   18363 	    q
   18364 	  }
   18365 	  /^X\(\/\).*/{
   18366 	    s//\1/
   18367 	    q
   18368 	  }
   18369 	  s/.*/./; q'`
   18370       test -d "$as_dir" && break
   18371     done
   18372     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18374 
   18375 
   18376 } # as_fn_mkdir_p
   18377 if mkdir -p . 2>/dev/null; then
   18378   as_mkdir_p='mkdir -p "$as_dir"'
   18379 else
   18380   test -d ./-p && rmdir ./-p
   18381   as_mkdir_p=false
   18382 fi
   18383 
   18384 if test -x / >/dev/null 2>&1; then
   18385   as_test_x='test -x'
   18386 else
   18387   if ls -dL / >/dev/null 2>&1; then
   18388     as_ls_L_option=L
   18389   else
   18390     as_ls_L_option=
   18391   fi
   18392   as_test_x='
   18393     eval sh -c '\''
   18394       if test -d "$1"; then
   18395 	test -d "$1/.";
   18396       else
   18397 	case $1 in #(
   18398 	-*)set "./$1";;
   18399 	esac;
   18400 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18401 	???[sx]*):;;*)false;;esac;fi
   18402     '\'' sh
   18403   '
   18404 fi
   18405 as_executable_p=$as_test_x
   18406 
   18407 # Sed expression to map a string onto a valid CPP name.
   18408 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18409 
   18410 # Sed expression to map a string onto a valid variable name.
   18411 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18412 
   18413 
   18414 exec 6>&1
   18415 ## ----------------------------------- ##
   18416 ## Main body of $CONFIG_STATUS script. ##
   18417 ## ----------------------------------- ##
   18418 _ASEOF
   18419 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18420 
   18421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18422 # Save the log message, to keep $0 and so on meaningful, and to
   18423 # report actual input values of CONFIG_FILES etc. instead of their
   18424 # values after options handling.
   18425 ac_log="
   18426 This file was extended by libXvMC $as_me 1.0.8, which was
   18427 generated by GNU Autoconf 2.68.  Invocation command line was
   18428 
   18429   CONFIG_FILES    = $CONFIG_FILES
   18430   CONFIG_HEADERS  = $CONFIG_HEADERS
   18431   CONFIG_LINKS    = $CONFIG_LINKS
   18432   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18433   $ $0 $@
   18434 
   18435 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18436 "
   18437 
   18438 _ACEOF
   18439 
   18440 case $ac_config_files in *"
   18441 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18442 esac
   18443 
   18444 case $ac_config_headers in *"
   18445 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18446 esac
   18447 
   18448 
   18449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18450 # Files that config.status was made for.
   18451 config_files="$ac_config_files"
   18452 config_headers="$ac_config_headers"
   18453 config_commands="$ac_config_commands"
   18454 
   18455 _ACEOF
   18456 
   18457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18458 ac_cs_usage="\
   18459 \`$as_me' instantiates files and other configuration actions
   18460 from templates according to the current configuration.  Unless the files
   18461 and actions are specified as TAGs, all are instantiated by default.
   18462 
   18463 Usage: $0 [OPTION]... [TAG]...
   18464 
   18465   -h, --help       print this help, then exit
   18466   -V, --version    print version number and configuration settings, then exit
   18467       --config     print configuration, then exit
   18468   -q, --quiet, --silent
   18469                    do not print progress messages
   18470   -d, --debug      don't remove temporary files
   18471       --recheck    update $as_me by reconfiguring in the same conditions
   18472       --file=FILE[:TEMPLATE]
   18473                    instantiate the configuration file FILE
   18474       --header=FILE[:TEMPLATE]
   18475                    instantiate the configuration header FILE
   18476 
   18477 Configuration files:
   18478 $config_files
   18479 
   18480 Configuration headers:
   18481 $config_headers
   18482 
   18483 Configuration commands:
   18484 $config_commands
   18485 
   18486 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18487 
   18488 _ACEOF
   18489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18490 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18491 ac_cs_version="\\
   18492 libXvMC config.status 1.0.8
   18493 configured by $0, generated by GNU Autoconf 2.68,
   18494   with options \\"\$ac_cs_config\\"
   18495 
   18496 Copyright (C) 2010 Free Software Foundation, Inc.
   18497 This config.status script is free software; the Free Software Foundation
   18498 gives unlimited permission to copy, distribute and modify it."
   18499 
   18500 ac_pwd='$ac_pwd'
   18501 srcdir='$srcdir'
   18502 INSTALL='$INSTALL'
   18503 MKDIR_P='$MKDIR_P'
   18504 AWK='$AWK'
   18505 test -n "\$AWK" || AWK=awk
   18506 _ACEOF
   18507 
   18508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18509 # The default lists apply if the user does not specify any file.
   18510 ac_need_defaults=:
   18511 while test $# != 0
   18512 do
   18513   case $1 in
   18514   --*=?*)
   18515     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18516     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18517     ac_shift=:
   18518     ;;
   18519   --*=)
   18520     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18521     ac_optarg=
   18522     ac_shift=:
   18523     ;;
   18524   *)
   18525     ac_option=$1
   18526     ac_optarg=$2
   18527     ac_shift=shift
   18528     ;;
   18529   esac
   18530 
   18531   case $ac_option in
   18532   # Handling of the options.
   18533   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18534     ac_cs_recheck=: ;;
   18535   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18536     $as_echo "$ac_cs_version"; exit ;;
   18537   --config | --confi | --conf | --con | --co | --c )
   18538     $as_echo "$ac_cs_config"; exit ;;
   18539   --debug | --debu | --deb | --de | --d | -d )
   18540     debug=: ;;
   18541   --file | --fil | --fi | --f )
   18542     $ac_shift
   18543     case $ac_optarg in
   18544     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18545     '') as_fn_error $? "missing file argument" ;;
   18546     esac
   18547     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18548     ac_need_defaults=false;;
   18549   --header | --heade | --head | --hea )
   18550     $ac_shift
   18551     case $ac_optarg in
   18552     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18553     esac
   18554     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18555     ac_need_defaults=false;;
   18556   --he | --h)
   18557     # Conflict between --help and --header
   18558     as_fn_error $? "ambiguous option: \`$1'
   18559 Try \`$0 --help' for more information.";;
   18560   --help | --hel | -h )
   18561     $as_echo "$ac_cs_usage"; exit ;;
   18562   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18563   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18564     ac_cs_silent=: ;;
   18565 
   18566   # This is an error.
   18567   -*) as_fn_error $? "unrecognized option: \`$1'
   18568 Try \`$0 --help' for more information." ;;
   18569 
   18570   *) as_fn_append ac_config_targets " $1"
   18571      ac_need_defaults=false ;;
   18572 
   18573   esac
   18574   shift
   18575 done
   18576 
   18577 ac_configure_extra_args=
   18578 
   18579 if $ac_cs_silent; then
   18580   exec 6>/dev/null
   18581   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18582 fi
   18583 
   18584 _ACEOF
   18585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18586 if \$ac_cs_recheck; then
   18587   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18588   shift
   18589   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18590   CONFIG_SHELL='$SHELL'
   18591   export CONFIG_SHELL
   18592   exec "\$@"
   18593 fi
   18594 
   18595 _ACEOF
   18596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18597 exec 5>>config.log
   18598 {
   18599   echo
   18600   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18601 ## Running $as_me. ##
   18602 _ASBOX
   18603   $as_echo "$ac_log"
   18604 } >&5
   18605 
   18606 _ACEOF
   18607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18608 #
   18609 # INIT-COMMANDS
   18610 #
   18611 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18612 
   18613 
   18614 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18615 # if CDPATH is set.
   18616 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18617 
   18618 sed_quote_subst='$sed_quote_subst'
   18619 double_quote_subst='$double_quote_subst'
   18620 delay_variable_subst='$delay_variable_subst'
   18621 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18622 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18623 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18624 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18625 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18626 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18627 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18628 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18629 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18630 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18631 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18632 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18633 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18634 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18635 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18636 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18637 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18638 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18639 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18640 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18641 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18642 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18643 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18644 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18645 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18646 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18647 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18648 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18649 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18650 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18651 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18652 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18653 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18654 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18655 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18656 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18657 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18658 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18659 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18660 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18661 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18662 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18663 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18664 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18665 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18666 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18667 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18668 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18669 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18670 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18671 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18672 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18673 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18674 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18675 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18676 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18677 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"`'
   18678 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18679 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18680 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18681 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18682 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18683 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18684 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18685 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18686 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18687 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18688 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18689 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18690 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18691 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18692 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18693 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18694 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18695 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18696 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18697 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18698 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18699 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18700 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18701 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18702 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18703 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18704 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18705 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18706 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18707 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18708 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18709 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18710 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18711 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18712 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18713 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18714 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18715 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18716 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18717 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18718 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18719 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18720 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18721 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18722 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18723 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18724 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18725 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18726 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18727 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18728 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18729 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18730 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18731 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18732 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18733 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18734 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18735 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18736 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18737 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18738 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18739 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18740 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18741 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18742 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18743 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18744 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18745 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18746 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18747 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18748 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18749 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18750 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18751 
   18752 LTCC='$LTCC'
   18753 LTCFLAGS='$LTCFLAGS'
   18754 compiler='$compiler_DEFAULT'
   18755 
   18756 # A function that is used when there is no print builtin or printf.
   18757 func_fallback_echo ()
   18758 {
   18759   eval 'cat <<_LTECHO_EOF
   18760 \$1
   18761 _LTECHO_EOF'
   18762 }
   18763 
   18764 # Quote evaled strings.
   18765 for var in SHELL \
   18766 ECHO \
   18767 PATH_SEPARATOR \
   18768 SED \
   18769 GREP \
   18770 EGREP \
   18771 FGREP \
   18772 LD \
   18773 NM \
   18774 LN_S \
   18775 lt_SP2NL \
   18776 lt_NL2SP \
   18777 reload_flag \
   18778 OBJDUMP \
   18779 deplibs_check_method \
   18780 file_magic_cmd \
   18781 file_magic_glob \
   18782 want_nocaseglob \
   18783 DLLTOOL \
   18784 sharedlib_from_linklib_cmd \
   18785 AR \
   18786 AR_FLAGS \
   18787 archiver_list_spec \
   18788 STRIP \
   18789 RANLIB \
   18790 CC \
   18791 CFLAGS \
   18792 compiler \
   18793 lt_cv_sys_global_symbol_pipe \
   18794 lt_cv_sys_global_symbol_to_cdecl \
   18795 lt_cv_sys_global_symbol_to_c_name_address \
   18796 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18797 nm_file_list_spec \
   18798 lt_prog_compiler_no_builtin_flag \
   18799 lt_prog_compiler_pic \
   18800 lt_prog_compiler_wl \
   18801 lt_prog_compiler_static \
   18802 lt_cv_prog_compiler_c_o \
   18803 need_locks \
   18804 MANIFEST_TOOL \
   18805 DSYMUTIL \
   18806 NMEDIT \
   18807 LIPO \
   18808 OTOOL \
   18809 OTOOL64 \
   18810 shrext_cmds \
   18811 export_dynamic_flag_spec \
   18812 whole_archive_flag_spec \
   18813 compiler_needs_object \
   18814 with_gnu_ld \
   18815 allow_undefined_flag \
   18816 no_undefined_flag \
   18817 hardcode_libdir_flag_spec \
   18818 hardcode_libdir_separator \
   18819 exclude_expsyms \
   18820 include_expsyms \
   18821 file_list_spec \
   18822 variables_saved_for_relink \
   18823 libname_spec \
   18824 library_names_spec \
   18825 soname_spec \
   18826 install_override_mode \
   18827 finish_eval \
   18828 old_striplib \
   18829 striplib; do
   18830     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18831     *[\\\\\\\`\\"\\\$]*)
   18832       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18833       ;;
   18834     *)
   18835       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18836       ;;
   18837     esac
   18838 done
   18839 
   18840 # Double-quote double-evaled strings.
   18841 for var in reload_cmds \
   18842 old_postinstall_cmds \
   18843 old_postuninstall_cmds \
   18844 old_archive_cmds \
   18845 extract_expsyms_cmds \
   18846 old_archive_from_new_cmds \
   18847 old_archive_from_expsyms_cmds \
   18848 archive_cmds \
   18849 archive_expsym_cmds \
   18850 module_cmds \
   18851 module_expsym_cmds \
   18852 export_symbols_cmds \
   18853 prelink_cmds \
   18854 postlink_cmds \
   18855 postinstall_cmds \
   18856 postuninstall_cmds \
   18857 finish_cmds \
   18858 sys_lib_search_path_spec \
   18859 sys_lib_dlsearch_path_spec; do
   18860     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18861     *[\\\\\\\`\\"\\\$]*)
   18862       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18863       ;;
   18864     *)
   18865       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18866       ;;
   18867     esac
   18868 done
   18869 
   18870 ac_aux_dir='$ac_aux_dir'
   18871 xsi_shell='$xsi_shell'
   18872 lt_shell_append='$lt_shell_append'
   18873 
   18874 # See if we are running on zsh, and set the options which allow our
   18875 # commands through without removal of \ escapes INIT.
   18876 if test -n "\${ZSH_VERSION+set}" ; then
   18877    setopt NO_GLOB_SUBST
   18878 fi
   18879 
   18880 
   18881     PACKAGE='$PACKAGE'
   18882     VERSION='$VERSION'
   18883     TIMESTAMP='$TIMESTAMP'
   18884     RM='$RM'
   18885     ofile='$ofile'
   18886 
   18887 
   18888 
   18889 
   18890 _ACEOF
   18891 
   18892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18893 
   18894 # Handling of arguments.
   18895 for ac_config_target in $ac_config_targets
   18896 do
   18897   case $ac_config_target in
   18898     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18899     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18900     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18901     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18902     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   18903     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   18904     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   18905     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18906     "wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES wrapper/Makefile" ;;
   18907     "xvmc.pc") CONFIG_FILES="$CONFIG_FILES xvmc.pc" ;;
   18908 
   18909   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18910   esac
   18911 done
   18912 
   18913 
   18914 # If the user did not use the arguments to specify the items to instantiate,
   18915 # then the envvar interface is used.  Set only those that are not.
   18916 # We use the long form for the default assignment because of an extremely
   18917 # bizarre bug on SunOS 4.1.3.
   18918 if $ac_need_defaults; then
   18919   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18920   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18921   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18922 fi
   18923 
   18924 # Have a temporary directory for convenience.  Make it in the build tree
   18925 # simply because there is no reason against having it here, and in addition,
   18926 # creating and moving files from /tmp can sometimes cause problems.
   18927 # Hook for its removal unless debugging.
   18928 # Note that there is a small window in which the directory will not be cleaned:
   18929 # after its creation but before its name has been assigned to `$tmp'.
   18930 $debug ||
   18931 {
   18932   tmp= ac_tmp=
   18933   trap 'exit_status=$?
   18934   : "${ac_tmp:=$tmp}"
   18935   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18936 ' 0
   18937   trap 'as_fn_exit 1' 1 2 13 15
   18938 }
   18939 # Create a (secure) tmp directory for tmp files.
   18940 
   18941 {
   18942   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18943   test -d "$tmp"
   18944 }  ||
   18945 {
   18946   tmp=./conf$$-$RANDOM
   18947   (umask 077 && mkdir "$tmp")
   18948 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18949 ac_tmp=$tmp
   18950 
   18951 # Set up the scripts for CONFIG_FILES section.
   18952 # No need to generate them if there are no CONFIG_FILES.
   18953 # This happens for instance with `./config.status config.h'.
   18954 if test -n "$CONFIG_FILES"; then
   18955 
   18956 
   18957 ac_cr=`echo X | tr X '\015'`
   18958 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18959 # But we know of no other shell where ac_cr would be empty at this
   18960 # point, so we can use a bashism as a fallback.
   18961 if test "x$ac_cr" = x; then
   18962   eval ac_cr=\$\'\\r\'
   18963 fi
   18964 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18965 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18966   ac_cs_awk_cr='\\r'
   18967 else
   18968   ac_cs_awk_cr=$ac_cr
   18969 fi
   18970 
   18971 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18972 _ACEOF
   18973 
   18974 
   18975 {
   18976   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18977   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18978   echo "_ACEOF"
   18979 } >conf$$subs.sh ||
   18980   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18981 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18982 ac_delim='%!_!# '
   18983 for ac_last_try in false false false false false :; do
   18984   . ./conf$$subs.sh ||
   18985     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18986 
   18987   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18988   if test $ac_delim_n = $ac_delim_num; then
   18989     break
   18990   elif $ac_last_try; then
   18991     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18992   else
   18993     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18994   fi
   18995 done
   18996 rm -f conf$$subs.sh
   18997 
   18998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18999 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19000 _ACEOF
   19001 sed -n '
   19002 h
   19003 s/^/S["/; s/!.*/"]=/
   19004 p
   19005 g
   19006 s/^[^!]*!//
   19007 :repl
   19008 t repl
   19009 s/'"$ac_delim"'$//
   19010 t delim
   19011 :nl
   19012 h
   19013 s/\(.\{148\}\)..*/\1/
   19014 t more1
   19015 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19016 p
   19017 n
   19018 b repl
   19019 :more1
   19020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19021 p
   19022 g
   19023 s/.\{148\}//
   19024 t nl
   19025 :delim
   19026 h
   19027 s/\(.\{148\}\)..*/\1/
   19028 t more2
   19029 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19030 p
   19031 b
   19032 :more2
   19033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19034 p
   19035 g
   19036 s/.\{148\}//
   19037 t delim
   19038 ' <conf$$subs.awk | sed '
   19039 /^[^""]/{
   19040   N
   19041   s/\n//
   19042 }
   19043 ' >>$CONFIG_STATUS || ac_write_fail=1
   19044 rm -f conf$$subs.awk
   19045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19046 _ACAWK
   19047 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19048   for (key in S) S_is_set[key] = 1
   19049   FS = ""
   19050 
   19051 }
   19052 {
   19053   line = $ 0
   19054   nfields = split(line, field, "@")
   19055   substed = 0
   19056   len = length(field[1])
   19057   for (i = 2; i < nfields; i++) {
   19058     key = field[i]
   19059     keylen = length(key)
   19060     if (S_is_set[key]) {
   19061       value = S[key]
   19062       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19063       len += length(value) + length(field[++i])
   19064       substed = 1
   19065     } else
   19066       len += 1 + keylen
   19067   }
   19068 
   19069   print line
   19070 }
   19071 
   19072 _ACAWK
   19073 _ACEOF
   19074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19075 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19076   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19077 else
   19078   cat
   19079 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19080   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19081 _ACEOF
   19082 
   19083 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19084 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19085 # trailing colons and then remove the whole line if VPATH becomes empty
   19086 # (actually we leave an empty line to preserve line numbers).
   19087 if test "x$srcdir" = x.; then
   19088   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19089 h
   19090 s///
   19091 s/^/:/
   19092 s/[	 ]*$/:/
   19093 s/:\$(srcdir):/:/g
   19094 s/:\${srcdir}:/:/g
   19095 s/:@srcdir@:/:/g
   19096 s/^:*//
   19097 s/:*$//
   19098 x
   19099 s/\(=[	 ]*\).*/\1/
   19100 G
   19101 s/\n//
   19102 s/^[^=]*=[	 ]*$//
   19103 }'
   19104 fi
   19105 
   19106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19107 fi # test -n "$CONFIG_FILES"
   19108 
   19109 # Set up the scripts for CONFIG_HEADERS section.
   19110 # No need to generate them if there are no CONFIG_HEADERS.
   19111 # This happens for instance with `./config.status Makefile'.
   19112 if test -n "$CONFIG_HEADERS"; then
   19113 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19114 BEGIN {
   19115 _ACEOF
   19116 
   19117 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19118 # here-document in config.status, that substitutes the proper values into
   19119 # config.h.in to produce config.h.
   19120 
   19121 # Create a delimiter string that does not exist in confdefs.h, to ease
   19122 # handling of long lines.
   19123 ac_delim='%!_!# '
   19124 for ac_last_try in false false :; do
   19125   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19126   if test -z "$ac_tt"; then
   19127     break
   19128   elif $ac_last_try; then
   19129     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19130   else
   19131     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19132   fi
   19133 done
   19134 
   19135 # For the awk script, D is an array of macro values keyed by name,
   19136 # likewise P contains macro parameters if any.  Preserve backslash
   19137 # newline sequences.
   19138 
   19139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19140 sed -n '
   19141 s/.\{148\}/&'"$ac_delim"'/g
   19142 t rset
   19143 :rset
   19144 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19145 t def
   19146 d
   19147 :def
   19148 s/\\$//
   19149 t bsnl
   19150 s/["\\]/\\&/g
   19151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19152 D["\1"]=" \3"/p
   19153 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19154 d
   19155 :bsnl
   19156 s/["\\]/\\&/g
   19157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19158 D["\1"]=" \3\\\\\\n"\\/p
   19159 t cont
   19160 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19161 t cont
   19162 d
   19163 :cont
   19164 n
   19165 s/.\{148\}/&'"$ac_delim"'/g
   19166 t clear
   19167 :clear
   19168 s/\\$//
   19169 t bsnlc
   19170 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19171 d
   19172 :bsnlc
   19173 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19174 b cont
   19175 ' <confdefs.h | sed '
   19176 s/'"$ac_delim"'/"\\\
   19177 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19178 
   19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19180   for (key in D) D_is_set[key] = 1
   19181   FS = ""
   19182 }
   19183 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19184   line = \$ 0
   19185   split(line, arg, " ")
   19186   if (arg[1] == "#") {
   19187     defundef = arg[2]
   19188     mac1 = arg[3]
   19189   } else {
   19190     defundef = substr(arg[1], 2)
   19191     mac1 = arg[2]
   19192   }
   19193   split(mac1, mac2, "(") #)
   19194   macro = mac2[1]
   19195   prefix = substr(line, 1, index(line, defundef) - 1)
   19196   if (D_is_set[macro]) {
   19197     # Preserve the white space surrounding the "#".
   19198     print prefix "define", macro P[macro] D[macro]
   19199     next
   19200   } else {
   19201     # Replace #undef with comments.  This is necessary, for example,
   19202     # in the case of _POSIX_SOURCE, which is predefined and required
   19203     # on some systems where configure will not decide to define it.
   19204     if (defundef == "undef") {
   19205       print "/*", prefix defundef, macro, "*/"
   19206       next
   19207     }
   19208   }
   19209 }
   19210 { print }
   19211 _ACAWK
   19212 _ACEOF
   19213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19214   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19215 fi # test -n "$CONFIG_HEADERS"
   19216 
   19217 
   19218 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19219 shift
   19220 for ac_tag
   19221 do
   19222   case $ac_tag in
   19223   :[FHLC]) ac_mode=$ac_tag; continue;;
   19224   esac
   19225   case $ac_mode$ac_tag in
   19226   :[FHL]*:*);;
   19227   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19228   :[FH]-) ac_tag=-:-;;
   19229   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19230   esac
   19231   ac_save_IFS=$IFS
   19232   IFS=:
   19233   set x $ac_tag
   19234   IFS=$ac_save_IFS
   19235   shift
   19236   ac_file=$1
   19237   shift
   19238 
   19239   case $ac_mode in
   19240   :L) ac_source=$1;;
   19241   :[FH])
   19242     ac_file_inputs=
   19243     for ac_f
   19244     do
   19245       case $ac_f in
   19246       -) ac_f="$ac_tmp/stdin";;
   19247       *) # Look for the file first in the build tree, then in the source tree
   19248 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19249 	 # because $ac_f cannot contain `:'.
   19250 	 test -f "$ac_f" ||
   19251 	   case $ac_f in
   19252 	   [\\/$]*) false;;
   19253 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19254 	   esac ||
   19255 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19256       esac
   19257       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19258       as_fn_append ac_file_inputs " '$ac_f'"
   19259     done
   19260 
   19261     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19262     # use $as_me), people would be surprised to read:
   19263     #    /* config.h.  Generated by config.status.  */
   19264     configure_input='Generated from '`
   19265 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19266 	`' by configure.'
   19267     if test x"$ac_file" != x-; then
   19268       configure_input="$ac_file.  $configure_input"
   19269       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19270 $as_echo "$as_me: creating $ac_file" >&6;}
   19271     fi
   19272     # Neutralize special characters interpreted by sed in replacement strings.
   19273     case $configure_input in #(
   19274     *\&* | *\|* | *\\* )
   19275        ac_sed_conf_input=`$as_echo "$configure_input" |
   19276        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19277     *) ac_sed_conf_input=$configure_input;;
   19278     esac
   19279 
   19280     case $ac_tag in
   19281     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19282       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19283     esac
   19284     ;;
   19285   esac
   19286 
   19287   ac_dir=`$as_dirname -- "$ac_file" ||
   19288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19289 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19290 	 X"$ac_file" : 'X\(//\)$' \| \
   19291 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19292 $as_echo X"$ac_file" |
   19293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19294 	    s//\1/
   19295 	    q
   19296 	  }
   19297 	  /^X\(\/\/\)[^/].*/{
   19298 	    s//\1/
   19299 	    q
   19300 	  }
   19301 	  /^X\(\/\/\)$/{
   19302 	    s//\1/
   19303 	    q
   19304 	  }
   19305 	  /^X\(\/\).*/{
   19306 	    s//\1/
   19307 	    q
   19308 	  }
   19309 	  s/.*/./; q'`
   19310   as_dir="$ac_dir"; as_fn_mkdir_p
   19311   ac_builddir=.
   19312 
   19313 case "$ac_dir" in
   19314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19315 *)
   19316   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19317   # A ".." for each directory in $ac_dir_suffix.
   19318   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19319   case $ac_top_builddir_sub in
   19320   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19321   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19322   esac ;;
   19323 esac
   19324 ac_abs_top_builddir=$ac_pwd
   19325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19326 # for backward compatibility:
   19327 ac_top_builddir=$ac_top_build_prefix
   19328 
   19329 case $srcdir in
   19330   .)  # We are building in place.
   19331     ac_srcdir=.
   19332     ac_top_srcdir=$ac_top_builddir_sub
   19333     ac_abs_top_srcdir=$ac_pwd ;;
   19334   [\\/]* | ?:[\\/]* )  # Absolute name.
   19335     ac_srcdir=$srcdir$ac_dir_suffix;
   19336     ac_top_srcdir=$srcdir
   19337     ac_abs_top_srcdir=$srcdir ;;
   19338   *) # Relative name.
   19339     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19340     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19341     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19342 esac
   19343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19344 
   19345 
   19346   case $ac_mode in
   19347   :F)
   19348   #
   19349   # CONFIG_FILE
   19350   #
   19351 
   19352   case $INSTALL in
   19353   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19354   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19355   esac
   19356   ac_MKDIR_P=$MKDIR_P
   19357   case $MKDIR_P in
   19358   [\\/$]* | ?:[\\/]* ) ;;
   19359   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19360   esac
   19361 _ACEOF
   19362 
   19363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19364 # If the template does not know about datarootdir, expand it.
   19365 # FIXME: This hack should be removed a few years after 2.60.
   19366 ac_datarootdir_hack=; ac_datarootdir_seen=
   19367 ac_sed_dataroot='
   19368 /datarootdir/ {
   19369   p
   19370   q
   19371 }
   19372 /@datadir@/p
   19373 /@docdir@/p
   19374 /@infodir@/p
   19375 /@localedir@/p
   19376 /@mandir@/p'
   19377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19378 *datarootdir*) ac_datarootdir_seen=yes;;
   19379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19380   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19381 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19382 _ACEOF
   19383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19384   ac_datarootdir_hack='
   19385   s&@datadir@&$datadir&g
   19386   s&@docdir@&$docdir&g
   19387   s&@infodir@&$infodir&g
   19388   s&@localedir@&$localedir&g
   19389   s&@mandir@&$mandir&g
   19390   s&\\\${datarootdir}&$datarootdir&g' ;;
   19391 esac
   19392 _ACEOF
   19393 
   19394 # Neutralize VPATH when `$srcdir' = `.'.
   19395 # Shell code in configure.ac might set extrasub.
   19396 # FIXME: do we really want to maintain this feature?
   19397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19398 ac_sed_extra="$ac_vpsub
   19399 $extrasub
   19400 _ACEOF
   19401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19402 :t
   19403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19404 s|@configure_input@|$ac_sed_conf_input|;t t
   19405 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19406 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19407 s&@srcdir@&$ac_srcdir&;t t
   19408 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19409 s&@top_srcdir@&$ac_top_srcdir&;t t
   19410 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19411 s&@builddir@&$ac_builddir&;t t
   19412 s&@abs_builddir@&$ac_abs_builddir&;t t
   19413 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19414 s&@INSTALL@&$ac_INSTALL&;t t
   19415 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19416 $ac_datarootdir_hack
   19417 "
   19418 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19419   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19420 
   19421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19422   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19423   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19424       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19425   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19426 which seems to be undefined.  Please make sure it is defined" >&5
   19427 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19428 which seems to be undefined.  Please make sure it is defined" >&2;}
   19429 
   19430   rm -f "$ac_tmp/stdin"
   19431   case $ac_file in
   19432   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19433   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19434   esac \
   19435   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19436  ;;
   19437   :H)
   19438   #
   19439   # CONFIG_HEADER
   19440   #
   19441   if test x"$ac_file" != x-; then
   19442     {
   19443       $as_echo "/* $configure_input  */" \
   19444       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19445     } >"$ac_tmp/config.h" \
   19446       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19447     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19448       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19449 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19450     else
   19451       rm -f "$ac_file"
   19452       mv "$ac_tmp/config.h" "$ac_file" \
   19453 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19454     fi
   19455   else
   19456     $as_echo "/* $configure_input  */" \
   19457       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19458       || as_fn_error $? "could not create -" "$LINENO" 5
   19459   fi
   19460 # Compute "$ac_file"'s index in $config_headers.
   19461 _am_arg="$ac_file"
   19462 _am_stamp_count=1
   19463 for _am_header in $config_headers :; do
   19464   case $_am_header in
   19465     $_am_arg | $_am_arg:* )
   19466       break ;;
   19467     * )
   19468       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19469   esac
   19470 done
   19471 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19472 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19473 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19474 	 X"$_am_arg" : 'X\(//\)$' \| \
   19475 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19476 $as_echo X"$_am_arg" |
   19477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19478 	    s//\1/
   19479 	    q
   19480 	  }
   19481 	  /^X\(\/\/\)[^/].*/{
   19482 	    s//\1/
   19483 	    q
   19484 	  }
   19485 	  /^X\(\/\/\)$/{
   19486 	    s//\1/
   19487 	    q
   19488 	  }
   19489 	  /^X\(\/\).*/{
   19490 	    s//\1/
   19491 	    q
   19492 	  }
   19493 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19494  ;;
   19495 
   19496   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19497 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19498  ;;
   19499   esac
   19500 
   19501 
   19502   case $ac_file$ac_mode in
   19503     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19504   # Older Autoconf quotes --file arguments for eval, but not when files
   19505   # are listed without --file.  Let's play safe and only enable the eval
   19506   # if we detect the quoting.
   19507   case $CONFIG_FILES in
   19508   *\'*) eval set x "$CONFIG_FILES" ;;
   19509   *)   set x $CONFIG_FILES ;;
   19510   esac
   19511   shift
   19512   for mf
   19513   do
   19514     # Strip MF so we end up with the name of the file.
   19515     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19516     # Check whether this is an Automake generated Makefile or not.
   19517     # We used to match only the files named 'Makefile.in', but
   19518     # some people rename them; so instead we look at the file content.
   19519     # Grep'ing the first line is not enough: some people post-process
   19520     # each Makefile.in and add a new line on top of each file to say so.
   19521     # Grep'ing the whole file is not good either: AIX grep has a line
   19522     # limit of 2048, but all sed's we know have understand at least 4000.
   19523     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19524       dirpart=`$as_dirname -- "$mf" ||
   19525 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19526 	 X"$mf" : 'X\(//\)[^/]' \| \
   19527 	 X"$mf" : 'X\(//\)$' \| \
   19528 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19529 $as_echo X"$mf" |
   19530     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19531 	    s//\1/
   19532 	    q
   19533 	  }
   19534 	  /^X\(\/\/\)[^/].*/{
   19535 	    s//\1/
   19536 	    q
   19537 	  }
   19538 	  /^X\(\/\/\)$/{
   19539 	    s//\1/
   19540 	    q
   19541 	  }
   19542 	  /^X\(\/\).*/{
   19543 	    s//\1/
   19544 	    q
   19545 	  }
   19546 	  s/.*/./; q'`
   19547     else
   19548       continue
   19549     fi
   19550     # Extract the definition of DEPDIR, am__include, and am__quote
   19551     # from the Makefile without running 'make'.
   19552     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19553     test -z "$DEPDIR" && continue
   19554     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19555     test -z "$am__include" && continue
   19556     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19557     # Find all dependency output files, they are included files with
   19558     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19559     # simplest approach to changing $(DEPDIR) to its actual value in the
   19560     # expansion.
   19561     for file in `sed -n "
   19562       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19563 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19564       # Make sure the directory exists.
   19565       test -f "$dirpart/$file" && continue
   19566       fdir=`$as_dirname -- "$file" ||
   19567 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19568 	 X"$file" : 'X\(//\)[^/]' \| \
   19569 	 X"$file" : 'X\(//\)$' \| \
   19570 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19571 $as_echo X"$file" |
   19572     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19573 	    s//\1/
   19574 	    q
   19575 	  }
   19576 	  /^X\(\/\/\)[^/].*/{
   19577 	    s//\1/
   19578 	    q
   19579 	  }
   19580 	  /^X\(\/\/\)$/{
   19581 	    s//\1/
   19582 	    q
   19583 	  }
   19584 	  /^X\(\/\).*/{
   19585 	    s//\1/
   19586 	    q
   19587 	  }
   19588 	  s/.*/./; q'`
   19589       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19590       # echo "creating $dirpart/$file"
   19591       echo '# dummy' > "$dirpart/$file"
   19592     done
   19593   done
   19594 }
   19595  ;;
   19596     "libtool":C)
   19597 
   19598     # See if we are running on zsh, and set the options which allow our
   19599     # commands through without removal of \ escapes.
   19600     if test -n "${ZSH_VERSION+set}" ; then
   19601       setopt NO_GLOB_SUBST
   19602     fi
   19603 
   19604     cfgfile="${ofile}T"
   19605     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19606     $RM "$cfgfile"
   19607 
   19608     cat <<_LT_EOF >> "$cfgfile"
   19609 #! $SHELL
   19610 
   19611 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19612 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19613 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19614 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19615 #
   19616 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19617 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19618 #                 Foundation, Inc.
   19619 #   Written by Gordon Matzigkeit, 1996
   19620 #
   19621 #   This file is part of GNU Libtool.
   19622 #
   19623 # GNU Libtool is free software; you can redistribute it and/or
   19624 # modify it under the terms of the GNU General Public License as
   19625 # published by the Free Software Foundation; either version 2 of
   19626 # the License, or (at your option) any later version.
   19627 #
   19628 # As a special exception to the GNU General Public License,
   19629 # if you distribute this file as part of a program or library that
   19630 # is built using GNU Libtool, you may include this file under the
   19631 # same distribution terms that you use for the rest of that program.
   19632 #
   19633 # GNU Libtool is distributed in the hope that it will be useful,
   19634 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19635 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19636 # GNU General Public License for more details.
   19637 #
   19638 # You should have received a copy of the GNU General Public License
   19639 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19640 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19641 # obtained by writing to the Free Software Foundation, Inc.,
   19642 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19643 
   19644 
   19645 # The names of the tagged configurations supported by this script.
   19646 available_tags=""
   19647 
   19648 # ### BEGIN LIBTOOL CONFIG
   19649 
   19650 # Which release of libtool.m4 was used?
   19651 macro_version=$macro_version
   19652 macro_revision=$macro_revision
   19653 
   19654 # Whether or not to build shared libraries.
   19655 build_libtool_libs=$enable_shared
   19656 
   19657 # Whether or not to build static libraries.
   19658 build_old_libs=$enable_static
   19659 
   19660 # What type of objects to build.
   19661 pic_mode=$pic_mode
   19662 
   19663 # Whether or not to optimize for fast installation.
   19664 fast_install=$enable_fast_install
   19665 
   19666 # Shell to use when invoking shell scripts.
   19667 SHELL=$lt_SHELL
   19668 
   19669 # An echo program that protects backslashes.
   19670 ECHO=$lt_ECHO
   19671 
   19672 # The PATH separator for the build system.
   19673 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19674 
   19675 # The host system.
   19676 host_alias=$host_alias
   19677 host=$host
   19678 host_os=$host_os
   19679 
   19680 # The build system.
   19681 build_alias=$build_alias
   19682 build=$build
   19683 build_os=$build_os
   19684 
   19685 # A sed program that does not truncate output.
   19686 SED=$lt_SED
   19687 
   19688 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19689 Xsed="\$SED -e 1s/^X//"
   19690 
   19691 # A grep program that handles long lines.
   19692 GREP=$lt_GREP
   19693 
   19694 # An ERE matcher.
   19695 EGREP=$lt_EGREP
   19696 
   19697 # A literal string matcher.
   19698 FGREP=$lt_FGREP
   19699 
   19700 # A BSD- or MS-compatible name lister.
   19701 NM=$lt_NM
   19702 
   19703 # Whether we need soft or hard links.
   19704 LN_S=$lt_LN_S
   19705 
   19706 # What is the maximum length of a command?
   19707 max_cmd_len=$max_cmd_len
   19708 
   19709 # Object file suffix (normally "o").
   19710 objext=$ac_objext
   19711 
   19712 # Executable file suffix (normally "").
   19713 exeext=$exeext
   19714 
   19715 # whether the shell understands "unset".
   19716 lt_unset=$lt_unset
   19717 
   19718 # turn spaces into newlines.
   19719 SP2NL=$lt_lt_SP2NL
   19720 
   19721 # turn newlines into spaces.
   19722 NL2SP=$lt_lt_NL2SP
   19723 
   19724 # convert \$build file names to \$host format.
   19725 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19726 
   19727 # convert \$build files to toolchain format.
   19728 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19729 
   19730 # An object symbol dumper.
   19731 OBJDUMP=$lt_OBJDUMP
   19732 
   19733 # Method to check whether dependent libraries are shared objects.
   19734 deplibs_check_method=$lt_deplibs_check_method
   19735 
   19736 # Command to use when deplibs_check_method = "file_magic".
   19737 file_magic_cmd=$lt_file_magic_cmd
   19738 
   19739 # How to find potential files when deplibs_check_method = "file_magic".
   19740 file_magic_glob=$lt_file_magic_glob
   19741 
   19742 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19743 want_nocaseglob=$lt_want_nocaseglob
   19744 
   19745 # DLL creation program.
   19746 DLLTOOL=$lt_DLLTOOL
   19747 
   19748 # Command to associate shared and link libraries.
   19749 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19750 
   19751 # The archiver.
   19752 AR=$lt_AR
   19753 
   19754 # Flags to create an archive.
   19755 AR_FLAGS=$lt_AR_FLAGS
   19756 
   19757 # How to feed a file listing to the archiver.
   19758 archiver_list_spec=$lt_archiver_list_spec
   19759 
   19760 # A symbol stripping program.
   19761 STRIP=$lt_STRIP
   19762 
   19763 # Commands used to install an old-style archive.
   19764 RANLIB=$lt_RANLIB
   19765 old_postinstall_cmds=$lt_old_postinstall_cmds
   19766 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19767 
   19768 # Whether to use a lock for old archive extraction.
   19769 lock_old_archive_extraction=$lock_old_archive_extraction
   19770 
   19771 # A C compiler.
   19772 LTCC=$lt_CC
   19773 
   19774 # LTCC compiler flags.
   19775 LTCFLAGS=$lt_CFLAGS
   19776 
   19777 # Take the output of nm and produce a listing of raw symbols and C names.
   19778 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19779 
   19780 # Transform the output of nm in a proper C declaration.
   19781 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19782 
   19783 # Transform the output of nm in a C name address pair.
   19784 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19785 
   19786 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19787 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19788 
   19789 # Specify filename containing input files for \$NM.
   19790 nm_file_list_spec=$lt_nm_file_list_spec
   19791 
   19792 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19793 lt_sysroot=$lt_sysroot
   19794 
   19795 # The name of the directory that contains temporary libtool files.
   19796 objdir=$objdir
   19797 
   19798 # Used to examine libraries when file_magic_cmd begins with "file".
   19799 MAGIC_CMD=$MAGIC_CMD
   19800 
   19801 # Must we lock files when doing compilation?
   19802 need_locks=$lt_need_locks
   19803 
   19804 # Manifest tool.
   19805 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19806 
   19807 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19808 DSYMUTIL=$lt_DSYMUTIL
   19809 
   19810 # Tool to change global to local symbols on Mac OS X.
   19811 NMEDIT=$lt_NMEDIT
   19812 
   19813 # Tool to manipulate fat objects and archives on Mac OS X.
   19814 LIPO=$lt_LIPO
   19815 
   19816 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19817 OTOOL=$lt_OTOOL
   19818 
   19819 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19820 OTOOL64=$lt_OTOOL64
   19821 
   19822 # Old archive suffix (normally "a").
   19823 libext=$libext
   19824 
   19825 # Shared library suffix (normally ".so").
   19826 shrext_cmds=$lt_shrext_cmds
   19827 
   19828 # The commands to extract the exported symbol list from a shared archive.
   19829 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19830 
   19831 # Variables whose values should be saved in libtool wrapper scripts and
   19832 # restored at link time.
   19833 variables_saved_for_relink=$lt_variables_saved_for_relink
   19834 
   19835 # Do we need the "lib" prefix for modules?
   19836 need_lib_prefix=$need_lib_prefix
   19837 
   19838 # Do we need a version for libraries?
   19839 need_version=$need_version
   19840 
   19841 # Library versioning type.
   19842 version_type=$version_type
   19843 
   19844 # Shared library runtime path variable.
   19845 runpath_var=$runpath_var
   19846 
   19847 # Shared library path variable.
   19848 shlibpath_var=$shlibpath_var
   19849 
   19850 # Is shlibpath searched before the hard-coded library search path?
   19851 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19852 
   19853 # Format of library name prefix.
   19854 libname_spec=$lt_libname_spec
   19855 
   19856 # List of archive names.  First name is the real one, the rest are links.
   19857 # The last name is the one that the linker finds with -lNAME
   19858 library_names_spec=$lt_library_names_spec
   19859 
   19860 # The coded name of the library, if different from the real name.
   19861 soname_spec=$lt_soname_spec
   19862 
   19863 # Permission mode override for installation of shared libraries.
   19864 install_override_mode=$lt_install_override_mode
   19865 
   19866 # Command to use after installation of a shared archive.
   19867 postinstall_cmds=$lt_postinstall_cmds
   19868 
   19869 # Command to use after uninstallation of a shared archive.
   19870 postuninstall_cmds=$lt_postuninstall_cmds
   19871 
   19872 # Commands used to finish a libtool library installation in a directory.
   19873 finish_cmds=$lt_finish_cmds
   19874 
   19875 # As "finish_cmds", except a single script fragment to be evaled but
   19876 # not shown.
   19877 finish_eval=$lt_finish_eval
   19878 
   19879 # Whether we should hardcode library paths into libraries.
   19880 hardcode_into_libs=$hardcode_into_libs
   19881 
   19882 # Compile-time system search path for libraries.
   19883 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19884 
   19885 # Run-time system search path for libraries.
   19886 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19887 
   19888 # Whether dlopen is supported.
   19889 dlopen_support=$enable_dlopen
   19890 
   19891 # Whether dlopen of programs is supported.
   19892 dlopen_self=$enable_dlopen_self
   19893 
   19894 # Whether dlopen of statically linked programs is supported.
   19895 dlopen_self_static=$enable_dlopen_self_static
   19896 
   19897 # Commands to strip libraries.
   19898 old_striplib=$lt_old_striplib
   19899 striplib=$lt_striplib
   19900 
   19901 
   19902 # The linker used to build libraries.
   19903 LD=$lt_LD
   19904 
   19905 # How to create reloadable object files.
   19906 reload_flag=$lt_reload_flag
   19907 reload_cmds=$lt_reload_cmds
   19908 
   19909 # Commands used to build an old-style archive.
   19910 old_archive_cmds=$lt_old_archive_cmds
   19911 
   19912 # A language specific compiler.
   19913 CC=$lt_compiler
   19914 
   19915 # Is the compiler the GNU compiler?
   19916 with_gcc=$GCC
   19917 
   19918 # Compiler flag to turn off builtin functions.
   19919 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19920 
   19921 # Additional compiler flags for building library objects.
   19922 pic_flag=$lt_lt_prog_compiler_pic
   19923 
   19924 # How to pass a linker flag through the compiler.
   19925 wl=$lt_lt_prog_compiler_wl
   19926 
   19927 # Compiler flag to prevent dynamic linking.
   19928 link_static_flag=$lt_lt_prog_compiler_static
   19929 
   19930 # Does compiler simultaneously support -c and -o options?
   19931 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19932 
   19933 # Whether or not to add -lc for building shared libraries.
   19934 build_libtool_need_lc=$archive_cmds_need_lc
   19935 
   19936 # Whether or not to disallow shared libs when runtime libs are static.
   19937 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19938 
   19939 # Compiler flag to allow reflexive dlopens.
   19940 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19941 
   19942 # Compiler flag to generate shared objects directly from archives.
   19943 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19944 
   19945 # Whether the compiler copes with passing no objects directly.
   19946 compiler_needs_object=$lt_compiler_needs_object
   19947 
   19948 # Create an old-style archive from a shared archive.
   19949 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19950 
   19951 # Create a temporary old-style archive to link instead of a shared archive.
   19952 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19953 
   19954 # Commands used to build a shared archive.
   19955 archive_cmds=$lt_archive_cmds
   19956 archive_expsym_cmds=$lt_archive_expsym_cmds
   19957 
   19958 # Commands used to build a loadable module if different from building
   19959 # a shared archive.
   19960 module_cmds=$lt_module_cmds
   19961 module_expsym_cmds=$lt_module_expsym_cmds
   19962 
   19963 # Whether we are building with GNU ld or not.
   19964 with_gnu_ld=$lt_with_gnu_ld
   19965 
   19966 # Flag that allows shared libraries with undefined symbols to be built.
   19967 allow_undefined_flag=$lt_allow_undefined_flag
   19968 
   19969 # Flag that enforces no undefined symbols.
   19970 no_undefined_flag=$lt_no_undefined_flag
   19971 
   19972 # Flag to hardcode \$libdir into a binary during linking.
   19973 # This must work even if \$libdir does not exist
   19974 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19975 
   19976 # Whether we need a single "-rpath" flag with a separated argument.
   19977 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19978 
   19979 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19980 # DIR into the resulting binary.
   19981 hardcode_direct=$hardcode_direct
   19982 
   19983 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19984 # DIR into the resulting binary and the resulting library dependency is
   19985 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19986 # library is relocated.
   19987 hardcode_direct_absolute=$hardcode_direct_absolute
   19988 
   19989 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19990 # into the resulting binary.
   19991 hardcode_minus_L=$hardcode_minus_L
   19992 
   19993 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19994 # into the resulting binary.
   19995 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19996 
   19997 # Set to "yes" if building a shared library automatically hardcodes DIR
   19998 # into the library and all subsequent libraries and executables linked
   19999 # against it.
   20000 hardcode_automatic=$hardcode_automatic
   20001 
   20002 # Set to yes if linker adds runtime paths of dependent libraries
   20003 # to runtime path list.
   20004 inherit_rpath=$inherit_rpath
   20005 
   20006 # Whether libtool must link a program against all its dependency libraries.
   20007 link_all_deplibs=$link_all_deplibs
   20008 
   20009 # Set to "yes" if exported symbols are required.
   20010 always_export_symbols=$always_export_symbols
   20011 
   20012 # The commands to list exported symbols.
   20013 export_symbols_cmds=$lt_export_symbols_cmds
   20014 
   20015 # Symbols that should not be listed in the preloaded symbols.
   20016 exclude_expsyms=$lt_exclude_expsyms
   20017 
   20018 # Symbols that must always be exported.
   20019 include_expsyms=$lt_include_expsyms
   20020 
   20021 # Commands necessary for linking programs (against libraries) with templates.
   20022 prelink_cmds=$lt_prelink_cmds
   20023 
   20024 # Commands necessary for finishing linking programs.
   20025 postlink_cmds=$lt_postlink_cmds
   20026 
   20027 # Specify filename containing input files.
   20028 file_list_spec=$lt_file_list_spec
   20029 
   20030 # How to hardcode a shared library path into an executable.
   20031 hardcode_action=$hardcode_action
   20032 
   20033 # ### END LIBTOOL CONFIG
   20034 
   20035 _LT_EOF
   20036 
   20037   case $host_os in
   20038   aix3*)
   20039     cat <<\_LT_EOF >> "$cfgfile"
   20040 # AIX sometimes has problems with the GCC collect2 program.  For some
   20041 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20042 # vanish in a puff of smoke.
   20043 if test "X${COLLECT_NAMES+set}" != Xset; then
   20044   COLLECT_NAMES=
   20045   export COLLECT_NAMES
   20046 fi
   20047 _LT_EOF
   20048     ;;
   20049   esac
   20050 
   20051 
   20052 ltmain="$ac_aux_dir/ltmain.sh"
   20053 
   20054 
   20055   # We use sed instead of cat because bash on DJGPP gets confused if
   20056   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20057   # text mode, it properly converts lines to CR/LF.  This bash problem
   20058   # is reportedly fixed, but why not run on old versions too?
   20059   sed '$q' "$ltmain" >> "$cfgfile" \
   20060      || (rm -f "$cfgfile"; exit 1)
   20061 
   20062   if test x"$xsi_shell" = xyes; then
   20063   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20064 func_dirname ()\
   20065 {\
   20066 \    case ${1} in\
   20067 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20068 \      *  ) func_dirname_result="${3}" ;;\
   20069 \    esac\
   20070 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20071   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20072     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20073 test 0 -eq $? || _lt_function_replace_fail=:
   20074 
   20075 
   20076   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20077 func_basename ()\
   20078 {\
   20079 \    func_basename_result="${1##*/}"\
   20080 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20081   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20082     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20083 test 0 -eq $? || _lt_function_replace_fail=:
   20084 
   20085 
   20086   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20087 func_dirname_and_basename ()\
   20088 {\
   20089 \    case ${1} in\
   20090 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20091 \      *  ) func_dirname_result="${3}" ;;\
   20092 \    esac\
   20093 \    func_basename_result="${1##*/}"\
   20094 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20095   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20096     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20097 test 0 -eq $? || _lt_function_replace_fail=:
   20098 
   20099 
   20100   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20101 func_stripname ()\
   20102 {\
   20103 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20104 \    # positional parameters, so assign one to ordinary parameter first.\
   20105 \    func_stripname_result=${3}\
   20106 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20107 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20108 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20109   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20110     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20111 test 0 -eq $? || _lt_function_replace_fail=:
   20112 
   20113 
   20114   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20115 func_split_long_opt ()\
   20116 {\
   20117 \    func_split_long_opt_name=${1%%=*}\
   20118 \    func_split_long_opt_arg=${1#*=}\
   20119 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20120   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20121     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20122 test 0 -eq $? || _lt_function_replace_fail=:
   20123 
   20124 
   20125   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20126 func_split_short_opt ()\
   20127 {\
   20128 \    func_split_short_opt_arg=${1#??}\
   20129 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20130 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20131   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20132     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20133 test 0 -eq $? || _lt_function_replace_fail=:
   20134 
   20135 
   20136   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20137 func_lo2o ()\
   20138 {\
   20139 \    case ${1} in\
   20140 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20141 \      *)    func_lo2o_result=${1} ;;\
   20142 \    esac\
   20143 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20144   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20145     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20146 test 0 -eq $? || _lt_function_replace_fail=:
   20147 
   20148 
   20149   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20150 func_xform ()\
   20151 {\
   20152     func_xform_result=${1%.*}.lo\
   20153 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20154   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20155     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20156 test 0 -eq $? || _lt_function_replace_fail=:
   20157 
   20158 
   20159   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20160 func_arith ()\
   20161 {\
   20162     func_arith_result=$(( $* ))\
   20163 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20164   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20165     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20166 test 0 -eq $? || _lt_function_replace_fail=:
   20167 
   20168 
   20169   sed -e '/^func_len ()$/,/^} # func_len /c\
   20170 func_len ()\
   20171 {\
   20172     func_len_result=${#1}\
   20173 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20174   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20175     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20176 test 0 -eq $? || _lt_function_replace_fail=:
   20177 
   20178 fi
   20179 
   20180 if test x"$lt_shell_append" = xyes; then
   20181   sed -e '/^func_append ()$/,/^} # func_append /c\
   20182 func_append ()\
   20183 {\
   20184     eval "${1}+=\\${2}"\
   20185 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20186   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20187     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20188 test 0 -eq $? || _lt_function_replace_fail=:
   20189 
   20190 
   20191   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20192 func_append_quoted ()\
   20193 {\
   20194 \    func_quote_for_eval "${2}"\
   20195 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20196 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20197   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20198     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20199 test 0 -eq $? || _lt_function_replace_fail=:
   20200 
   20201 
   20202   # Save a `func_append' function call where possible by direct use of '+='
   20203   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20204     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20205       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20206   test 0 -eq $? || _lt_function_replace_fail=:
   20207 else
   20208   # Save a `func_append' function call even when '+=' is not available
   20209   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20210     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20211       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20212   test 0 -eq $? || _lt_function_replace_fail=:
   20213 fi
   20214 
   20215 if test x"$_lt_function_replace_fail" = x":"; then
   20216   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20217 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20218 fi
   20219 
   20220 
   20221    mv -f "$cfgfile" "$ofile" ||
   20222     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20223   chmod +x "$ofile"
   20224 
   20225  ;;
   20226 
   20227   esac
   20228 done # for ac_tag
   20229 
   20230 
   20231 as_fn_exit 0
   20232 _ACEOF
   20233 ac_clean_files=$ac_clean_files_save
   20234 
   20235 test $ac_write_fail = 0 ||
   20236   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20237 
   20238 
   20239 # configure is writing to config.log, and then calls config.status.
   20240 # config.status does its own redirection, appending to config.log.
   20241 # Unfortunately, on DOS this fails, as config.log is still kept open
   20242 # by configure, so config.status won't be able to write to it; its
   20243 # output is simply discarded.  So we exec the FD to /dev/null,
   20244 # effectively closing config.log, so it can be properly (re)opened and
   20245 # appended to by config.status.  When coming back to configure, we
   20246 # need to make the FD available again.
   20247 if test "$no_create" != yes; then
   20248   ac_cs_success=:
   20249   ac_config_status_args=
   20250   test "$silent" = yes &&
   20251     ac_config_status_args="$ac_config_status_args --quiet"
   20252   exec 5>/dev/null
   20253   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20254   exec 5>>config.log
   20255   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20256   # would make configure fail if this is the last instruction.
   20257   $ac_cs_success || as_fn_exit 1
   20258 fi
   20259 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20260   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20261 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20262 fi
   20263 
   20264