Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXvMC 1.0.7.
      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.7'
    575 PACKAGE_STRING='libXvMC 1.0.7'
    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 AM_BACKSLASH
    630 AM_DEFAULT_VERBOSITY
    631 MAN_SUBSTS
    632 XORG_MAN_PAGE
    633 ADMIN_MAN_DIR
    634 DRIVER_MAN_DIR
    635 MISC_MAN_DIR
    636 FILE_MAN_DIR
    637 LIB_MAN_DIR
    638 APP_MAN_DIR
    639 ADMIN_MAN_SUFFIX
    640 DRIVER_MAN_SUFFIX
    641 MISC_MAN_SUFFIX
    642 FILE_MAN_SUFFIX
    643 LIB_MAN_SUFFIX
    644 APP_MAN_SUFFIX
    645 INSTALL_CMD
    646 PKG_CONFIG
    647 CHANGELOG_CMD
    648 STRICT_CFLAGS
    649 CWARNFLAGS
    650 BASE_CFLAGS
    651 CPP
    652 OTOOL64
    653 OTOOL
    654 LIPO
    655 NMEDIT
    656 DSYMUTIL
    657 MANIFEST_TOOL
    658 RANLIB
    659 ac_ct_AR
    660 AR
    661 DLLTOOL
    662 OBJDUMP
    663 LN_S
    664 NM
    665 ac_ct_DUMPBIN
    666 DUMPBIN
    667 LD
    668 FGREP
    669 EGREP
    670 GREP
    671 SED
    672 am__fastdepCC_FALSE
    673 am__fastdepCC_TRUE
    674 CCDEPMODE
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 OBJEXT
    682 EXEEXT
    683 ac_ct_CC
    684 CPPFLAGS
    685 LDFLAGS
    686 CFLAGS
    687 CC
    688 host_os
    689 host_vendor
    690 host_cpu
    691 host
    692 build_os
    693 build_vendor
    694 build_cpu
    695 build
    696 LIBTOOL
    697 MAINT
    698 MAINTAINER_MODE_FALSE
    699 MAINTAINER_MODE_TRUE
    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_maintainer_mode
    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_silent_rules
    776 enable_malloc0returnsnull
    777 with_lint
    778 '
    779       ac_precious_vars='build_alias
    780 host_alias
    781 target_alias
    782 CC
    783 CFLAGS
    784 LDFLAGS
    785 LIBS
    786 CPPFLAGS
    787 CPP
    788 PKG_CONFIG
    789 XVMC_CFLAGS
    790 XVMC_LIBS
    791 LINT
    792 LINT_FLAGS'
    793 
    794 
    795 # Initialize some variables set by options.
    796 ac_init_help=
    797 ac_init_version=false
    798 ac_unrecognized_opts=
    799 ac_unrecognized_sep=
    800 # The variables have the same names as the options, with
    801 # dashes changed to underlines.
    802 cache_file=/dev/null
    803 exec_prefix=NONE
    804 no_create=
    805 no_recursion=
    806 prefix=NONE
    807 program_prefix=NONE
    808 program_suffix=NONE
    809 program_transform_name=s,x,x,
    810 silent=
    811 site=
    812 srcdir=
    813 verbose=
    814 x_includes=NONE
    815 x_libraries=NONE
    816 
    817 # Installation directory options.
    818 # These are left unexpanded so users can "make install exec_prefix=/foo"
    819 # and all the variables that are supposed to be based on exec_prefix
    820 # by default will actually change.
    821 # Use braces instead of parens because sh, perl, etc. also accept them.
    822 # (The list follows the same order as the GNU Coding Standards.)
    823 bindir='${exec_prefix}/bin'
    824 sbindir='${exec_prefix}/sbin'
    825 libexecdir='${exec_prefix}/libexec'
    826 datarootdir='${prefix}/share'
    827 datadir='${datarootdir}'
    828 sysconfdir='${prefix}/etc'
    829 sharedstatedir='${prefix}/com'
    830 localstatedir='${prefix}/var'
    831 includedir='${prefix}/include'
    832 oldincludedir='/usr/include'
    833 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    834 infodir='${datarootdir}/info'
    835 htmldir='${docdir}'
    836 dvidir='${docdir}'
    837 pdfdir='${docdir}'
    838 psdir='${docdir}'
    839 libdir='${exec_prefix}/lib'
    840 localedir='${datarootdir}/locale'
    841 mandir='${datarootdir}/man'
    842 
    843 ac_prev=
    844 ac_dashdash=
    845 for ac_option
    846 do
    847   # If the previous option needs an argument, assign it.
    848   if test -n "$ac_prev"; then
    849     eval $ac_prev=\$ac_option
    850     ac_prev=
    851     continue
    852   fi
    853 
    854   case $ac_option in
    855   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    856   *=)   ac_optarg= ;;
    857   *)    ac_optarg=yes ;;
    858   esac
    859 
    860   # Accept the important Cygnus configure options, so we can diagnose typos.
    861 
    862   case $ac_dashdash$ac_option in
    863   --)
    864     ac_dashdash=yes ;;
    865 
    866   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    867     ac_prev=bindir ;;
    868   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    869     bindir=$ac_optarg ;;
    870 
    871   -build | --build | --buil | --bui | --bu)
    872     ac_prev=build_alias ;;
    873   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    874     build_alias=$ac_optarg ;;
    875 
    876   -cache-file | --cache-file | --cache-fil | --cache-fi \
    877   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    878     ac_prev=cache_file ;;
    879   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    880   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    881     cache_file=$ac_optarg ;;
    882 
    883   --config-cache | -C)
    884     cache_file=config.cache ;;
    885 
    886   -datadir | --datadir | --datadi | --datad)
    887     ac_prev=datadir ;;
    888   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    889     datadir=$ac_optarg ;;
    890 
    891   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    892   | --dataroo | --dataro | --datar)
    893     ac_prev=datarootdir ;;
    894   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    895   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    896     datarootdir=$ac_optarg ;;
    897 
    898   -disable-* | --disable-*)
    899     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    900     # Reject names that are not valid shell variable names.
    901     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    902       as_fn_error $? "invalid feature name: $ac_useropt"
    903     ac_useropt_orig=$ac_useropt
    904     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    905     case $ac_user_opts in
    906       *"
    907 "enable_$ac_useropt"
    908 "*) ;;
    909       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    910 	 ac_unrecognized_sep=', ';;
    911     esac
    912     eval enable_$ac_useropt=no ;;
    913 
    914   -docdir | --docdir | --docdi | --doc | --do)
    915     ac_prev=docdir ;;
    916   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    917     docdir=$ac_optarg ;;
    918 
    919   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    920     ac_prev=dvidir ;;
    921   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    922     dvidir=$ac_optarg ;;
    923 
    924   -enable-* | --enable-*)
    925     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    926     # Reject names that are not valid shell variable names.
    927     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    928       as_fn_error $? "invalid feature name: $ac_useropt"
    929     ac_useropt_orig=$ac_useropt
    930     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    931     case $ac_user_opts in
    932       *"
    933 "enable_$ac_useropt"
    934 "*) ;;
    935       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    936 	 ac_unrecognized_sep=', ';;
    937     esac
    938     eval enable_$ac_useropt=\$ac_optarg ;;
    939 
    940   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    941   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    942   | --exec | --exe | --ex)
    943     ac_prev=exec_prefix ;;
    944   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    945   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    946   | --exec=* | --exe=* | --ex=*)
    947     exec_prefix=$ac_optarg ;;
    948 
    949   -gas | --gas | --ga | --g)
    950     # Obsolete; use --with-gas.
    951     with_gas=yes ;;
    952 
    953   -help | --help | --hel | --he | -h)
    954     ac_init_help=long ;;
    955   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    956     ac_init_help=recursive ;;
    957   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    958     ac_init_help=short ;;
    959 
    960   -host | --host | --hos | --ho)
    961     ac_prev=host_alias ;;
    962   -host=* | --host=* | --hos=* | --ho=*)
    963     host_alias=$ac_optarg ;;
    964 
    965   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    966     ac_prev=htmldir ;;
    967   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    968   | --ht=*)
    969     htmldir=$ac_optarg ;;
    970 
    971   -includedir | --includedir | --includedi | --included | --include \
    972   | --includ | --inclu | --incl | --inc)
    973     ac_prev=includedir ;;
    974   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    975   | --includ=* | --inclu=* | --incl=* | --inc=*)
    976     includedir=$ac_optarg ;;
    977 
    978   -infodir | --infodir | --infodi | --infod | --info | --inf)
    979     ac_prev=infodir ;;
    980   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    981     infodir=$ac_optarg ;;
    982 
    983   -libdir | --libdir | --libdi | --libd)
    984     ac_prev=libdir ;;
    985   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    986     libdir=$ac_optarg ;;
    987 
    988   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    989   | --libexe | --libex | --libe)
    990     ac_prev=libexecdir ;;
    991   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    992   | --libexe=* | --libex=* | --libe=*)
    993     libexecdir=$ac_optarg ;;
    994 
    995   -localedir | --localedir | --localedi | --localed | --locale)
    996     ac_prev=localedir ;;
    997   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    998     localedir=$ac_optarg ;;
    999 
   1000   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1001   | --localstate | --localstat | --localsta | --localst | --locals)
   1002     ac_prev=localstatedir ;;
   1003   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1004   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1005     localstatedir=$ac_optarg ;;
   1006 
   1007   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1008     ac_prev=mandir ;;
   1009   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1010     mandir=$ac_optarg ;;
   1011 
   1012   -nfp | --nfp | --nf)
   1013     # Obsolete; use --without-fp.
   1014     with_fp=no ;;
   1015 
   1016   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1017   | --no-cr | --no-c | -n)
   1018     no_create=yes ;;
   1019 
   1020   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1021   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1022     no_recursion=yes ;;
   1023 
   1024   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1025   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1026   | --oldin | --oldi | --old | --ol | --o)
   1027     ac_prev=oldincludedir ;;
   1028   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1029   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1030   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1031     oldincludedir=$ac_optarg ;;
   1032 
   1033   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1034     ac_prev=prefix ;;
   1035   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1036     prefix=$ac_optarg ;;
   1037 
   1038   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1039   | --program-pre | --program-pr | --program-p)
   1040     ac_prev=program_prefix ;;
   1041   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1042   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1043     program_prefix=$ac_optarg ;;
   1044 
   1045   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1046   | --program-suf | --program-su | --program-s)
   1047     ac_prev=program_suffix ;;
   1048   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1049   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1050     program_suffix=$ac_optarg ;;
   1051 
   1052   -program-transform-name | --program-transform-name \
   1053   | --program-transform-nam | --program-transform-na \
   1054   | --program-transform-n | --program-transform- \
   1055   | --program-transform | --program-transfor \
   1056   | --program-transfo | --program-transf \
   1057   | --program-trans | --program-tran \
   1058   | --progr-tra | --program-tr | --program-t)
   1059     ac_prev=program_transform_name ;;
   1060   -program-transform-name=* | --program-transform-name=* \
   1061   | --program-transform-nam=* | --program-transform-na=* \
   1062   | --program-transform-n=* | --program-transform-=* \
   1063   | --program-transform=* | --program-transfor=* \
   1064   | --program-transfo=* | --program-transf=* \
   1065   | --program-trans=* | --program-tran=* \
   1066   | --progr-tra=* | --program-tr=* | --program-t=*)
   1067     program_transform_name=$ac_optarg ;;
   1068 
   1069   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1070     ac_prev=pdfdir ;;
   1071   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1072     pdfdir=$ac_optarg ;;
   1073 
   1074   -psdir | --psdir | --psdi | --psd | --ps)
   1075     ac_prev=psdir ;;
   1076   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1077     psdir=$ac_optarg ;;
   1078 
   1079   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1080   | -silent | --silent | --silen | --sile | --sil)
   1081     silent=yes ;;
   1082 
   1083   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1084     ac_prev=sbindir ;;
   1085   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1086   | --sbi=* | --sb=*)
   1087     sbindir=$ac_optarg ;;
   1088 
   1089   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1090   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1091   | --sharedst | --shareds | --shared | --share | --shar \
   1092   | --sha | --sh)
   1093     ac_prev=sharedstatedir ;;
   1094   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1095   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1096   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1097   | --sha=* | --sh=*)
   1098     sharedstatedir=$ac_optarg ;;
   1099 
   1100   -site | --site | --sit)
   1101     ac_prev=site ;;
   1102   -site=* | --site=* | --sit=*)
   1103     site=$ac_optarg ;;
   1104 
   1105   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1106     ac_prev=srcdir ;;
   1107   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1108     srcdir=$ac_optarg ;;
   1109 
   1110   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1111   | --syscon | --sysco | --sysc | --sys | --sy)
   1112     ac_prev=sysconfdir ;;
   1113   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1114   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1115     sysconfdir=$ac_optarg ;;
   1116 
   1117   -target | --target | --targe | --targ | --tar | --ta | --t)
   1118     ac_prev=target_alias ;;
   1119   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1120     target_alias=$ac_optarg ;;
   1121 
   1122   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1123     verbose=yes ;;
   1124 
   1125   -version | --version | --versio | --versi | --vers | -V)
   1126     ac_init_version=: ;;
   1127 
   1128   -with-* | --with-*)
   1129     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1132       as_fn_error $? "invalid package name: $ac_useropt"
   1133     ac_useropt_orig=$ac_useropt
   1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1135     case $ac_user_opts in
   1136       *"
   1137 "with_$ac_useropt"
   1138 "*) ;;
   1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1140 	 ac_unrecognized_sep=', ';;
   1141     esac
   1142     eval with_$ac_useropt=\$ac_optarg ;;
   1143 
   1144   -without-* | --without-*)
   1145     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1146     # Reject names that are not valid shell variable names.
   1147     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1148       as_fn_error $? "invalid package name: $ac_useropt"
   1149     ac_useropt_orig=$ac_useropt
   1150     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1151     case $ac_user_opts in
   1152       *"
   1153 "with_$ac_useropt"
   1154 "*) ;;
   1155       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1156 	 ac_unrecognized_sep=', ';;
   1157     esac
   1158     eval with_$ac_useropt=no ;;
   1159 
   1160   --x)
   1161     # Obsolete; use --with-x.
   1162     with_x=yes ;;
   1163 
   1164   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1165   | --x-incl | --x-inc | --x-in | --x-i)
   1166     ac_prev=x_includes ;;
   1167   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1168   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1169     x_includes=$ac_optarg ;;
   1170 
   1171   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1172   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1173     ac_prev=x_libraries ;;
   1174   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1175   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1176     x_libraries=$ac_optarg ;;
   1177 
   1178   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1179 Try \`$0 --help' for more information"
   1180     ;;
   1181 
   1182   *=*)
   1183     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1184     # Reject names that are not valid shell variable names.
   1185     case $ac_envvar in #(
   1186       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1187       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1188     esac
   1189     eval $ac_envvar=\$ac_optarg
   1190     export $ac_envvar ;;
   1191 
   1192   *)
   1193     # FIXME: should be removed in autoconf 3.0.
   1194     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1195     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1196       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1197     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1198     ;;
   1199 
   1200   esac
   1201 done
   1202 
   1203 if test -n "$ac_prev"; then
   1204   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1205   as_fn_error $? "missing argument to $ac_option"
   1206 fi
   1207 
   1208 if test -n "$ac_unrecognized_opts"; then
   1209   case $enable_option_checking in
   1210     no) ;;
   1211     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1212     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1213   esac
   1214 fi
   1215 
   1216 # Check all directory arguments for consistency.
   1217 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1218 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1219 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1220 		libdir localedir mandir
   1221 do
   1222   eval ac_val=\$$ac_var
   1223   # Remove trailing slashes.
   1224   case $ac_val in
   1225     */ )
   1226       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1227       eval $ac_var=\$ac_val;;
   1228   esac
   1229   # Be sure to have absolute directory names.
   1230   case $ac_val in
   1231     [\\/$]* | ?:[\\/]* )  continue;;
   1232     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1233   esac
   1234   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1235 done
   1236 
   1237 # There might be people who depend on the old broken behavior: `$host'
   1238 # used to hold the argument of --host etc.
   1239 # FIXME: To remove some day.
   1240 build=$build_alias
   1241 host=$host_alias
   1242 target=$target_alias
   1243 
   1244 # FIXME: To remove some day.
   1245 if test "x$host_alias" != x; then
   1246   if test "x$build_alias" = x; then
   1247     cross_compiling=maybe
   1248     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1249     If a cross compiler is detected then cross compile mode will be used" >&2
   1250   elif test "x$build_alias" != "x$host_alias"; then
   1251     cross_compiling=yes
   1252   fi
   1253 fi
   1254 
   1255 ac_tool_prefix=
   1256 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1257 
   1258 test "$silent" = yes && exec 6>/dev/null
   1259 
   1260 
   1261 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1262 ac_ls_di=`ls -di .` &&
   1263 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1264   as_fn_error $? "working directory cannot be determined"
   1265 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1266   as_fn_error $? "pwd does not report name of working directory"
   1267 
   1268 
   1269 # Find the source files, if location was not specified.
   1270 if test -z "$srcdir"; then
   1271   ac_srcdir_defaulted=yes
   1272   # Try the directory containing this script, then the parent directory.
   1273   ac_confdir=`$as_dirname -- "$as_myself" ||
   1274 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1275 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1276 	 X"$as_myself" : 'X\(//\)$' \| \
   1277 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1278 $as_echo X"$as_myself" |
   1279     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)[^/].*/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\/\)$/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  /^X\(\/\).*/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  s/.*/./; q'`
   1296   srcdir=$ac_confdir
   1297   if test ! -r "$srcdir/$ac_unique_file"; then
   1298     srcdir=..
   1299   fi
   1300 else
   1301   ac_srcdir_defaulted=no
   1302 fi
   1303 if test ! -r "$srcdir/$ac_unique_file"; then
   1304   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1305   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1306 fi
   1307 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1308 ac_abs_confdir=`(
   1309 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1310 	pwd)`
   1311 # When building in place, set srcdir=.
   1312 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1313   srcdir=.
   1314 fi
   1315 # Remove unnecessary trailing slashes from srcdir.
   1316 # Double slashes in file names in object file debugging info
   1317 # mess up M-x gdb in Emacs.
   1318 case $srcdir in
   1319 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1320 esac
   1321 for ac_var in $ac_precious_vars; do
   1322   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1323   eval ac_env_${ac_var}_value=\$${ac_var}
   1324   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1325   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1326 done
   1327 
   1328 #
   1329 # Report the --help message.
   1330 #
   1331 if test "$ac_init_help" = "long"; then
   1332   # Omit some internal or obsolete options to make the list less imposing.
   1333   # This message is too long to be a string in the A/UX 3.1 sh.
   1334   cat <<_ACEOF
   1335 \`configure' configures libXvMC 1.0.7 to adapt to many kinds of systems.
   1336 
   1337 Usage: $0 [OPTION]... [VAR=VALUE]...
   1338 
   1339 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1340 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1341 
   1342 Defaults for the options are specified in brackets.
   1343 
   1344 Configuration:
   1345   -h, --help              display this help and exit
   1346       --help=short        display options specific to this package
   1347       --help=recursive    display the short help of all the included packages
   1348   -V, --version           display version information and exit
   1349   -q, --quiet, --silent   do not print \`checking ...' messages
   1350       --cache-file=FILE   cache test results in FILE [disabled]
   1351   -C, --config-cache      alias for \`--cache-file=config.cache'
   1352   -n, --no-create         do not create output files
   1353       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1354 
   1355 Installation directories:
   1356   --prefix=PREFIX         install architecture-independent files in PREFIX
   1357                           [$ac_default_prefix]
   1358   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1359                           [PREFIX]
   1360 
   1361 By default, \`make install' will install all the files in
   1362 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1363 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1364 for instance \`--prefix=\$HOME'.
   1365 
   1366 For better control, use the options below.
   1367 
   1368 Fine tuning of the installation directories:
   1369   --bindir=DIR            user executables [EPREFIX/bin]
   1370   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1371   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1372   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1373   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1374   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1375   --libdir=DIR            object code libraries [EPREFIX/lib]
   1376   --includedir=DIR        C header files [PREFIX/include]
   1377   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1378   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1379   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1380   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1381   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1382   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1383   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXvMC]
   1384   --htmldir=DIR           html documentation [DOCDIR]
   1385   --dvidir=DIR            dvi documentation [DOCDIR]
   1386   --pdfdir=DIR            pdf documentation [DOCDIR]
   1387   --psdir=DIR             ps documentation [DOCDIR]
   1388 _ACEOF
   1389 
   1390   cat <<\_ACEOF
   1391 
   1392 Program names:
   1393   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1394   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1395   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1396 
   1397 System types:
   1398   --build=BUILD     configure for building on BUILD [guessed]
   1399   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1400 _ACEOF
   1401 fi
   1402 
   1403 if test -n "$ac_init_help"; then
   1404   case $ac_init_help in
   1405      short | recursive ) echo "Configuration of libXvMC 1.0.7:";;
   1406    esac
   1407   cat <<\_ACEOF
   1408 
   1409 Optional Features:
   1410   --disable-option-checking  ignore unrecognized --enable/--with options
   1411   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1412   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1413   --enable-maintainer-mode  enable make rules and dependencies not useful
   1414 			  (and sometimes confusing) to the casual installer
   1415   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1416   --enable-static[=PKGS]  build static libraries [default=yes]
   1417   --enable-fast-install[=PKGS]
   1418                           optimize for fast installation [default=yes]
   1419   --disable-dependency-tracking  speeds up one-time build
   1420   --enable-dependency-tracking   do not reject slow dependency extractors
   1421   --disable-libtool-lock  avoid locking (might break parallel builds)
   1422   --disable-selective-werror
   1423                           Turn off selective compiler errors. (default:
   1424                           enabled)
   1425   --enable-strict-compilation
   1426                           Enable all warnings from compiler and make them
   1427                           errors (default: disabled)
   1428   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1429   --disable-silent-rules         verbose build output (undo: `make V=0')
   1430   --enable-malloc0returnsnull
   1431                           malloc(0) returns NULL (default: auto)
   1432 
   1433 Optional Packages:
   1434   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1435   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1436   --with-pic              try to use only PIC/non-PIC objects [default=use
   1437                           both]
   1438   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1439   --with-sysroot=DIR Search for dependent libraries within DIR
   1440                         (or the compiler's sysroot if not specified).
   1441   --with-lint             Use a lint-style source code checker (default:
   1442                           disabled)
   1443 
   1444 Some influential environment variables:
   1445   CC          C compiler command
   1446   CFLAGS      C compiler flags
   1447   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1448               nonstandard directory <lib dir>
   1449   LIBS        libraries to pass to the linker, e.g. -l<library>
   1450   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1451               you have headers in a nonstandard directory <include dir>
   1452   CPP         C preprocessor
   1453   PKG_CONFIG  path to pkg-config utility
   1454   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1455   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1456   LINT        Path to a lint-style command
   1457   LINT_FLAGS  Flags for the lint-style command
   1458 
   1459 Use these variables to override the choices made by `configure' or to help
   1460 it to find libraries and programs with nonstandard names/locations.
   1461 
   1462 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1463 _ACEOF
   1464 ac_status=$?
   1465 fi
   1466 
   1467 if test "$ac_init_help" = "recursive"; then
   1468   # If there are subdirs, report their specific --help.
   1469   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1470     test -d "$ac_dir" ||
   1471       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1472       continue
   1473     ac_builddir=.
   1474 
   1475 case "$ac_dir" in
   1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1477 *)
   1478   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1479   # A ".." for each directory in $ac_dir_suffix.
   1480   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1481   case $ac_top_builddir_sub in
   1482   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1483   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1484   esac ;;
   1485 esac
   1486 ac_abs_top_builddir=$ac_pwd
   1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1488 # for backward compatibility:
   1489 ac_top_builddir=$ac_top_build_prefix
   1490 
   1491 case $srcdir in
   1492   .)  # We are building in place.
   1493     ac_srcdir=.
   1494     ac_top_srcdir=$ac_top_builddir_sub
   1495     ac_abs_top_srcdir=$ac_pwd ;;
   1496   [\\/]* | ?:[\\/]* )  # Absolute name.
   1497     ac_srcdir=$srcdir$ac_dir_suffix;
   1498     ac_top_srcdir=$srcdir
   1499     ac_abs_top_srcdir=$srcdir ;;
   1500   *) # Relative name.
   1501     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1502     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1503     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1504 esac
   1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1506 
   1507     cd "$ac_dir" || { ac_status=$?; continue; }
   1508     # Check for guested configure.
   1509     if test -f "$ac_srcdir/configure.gnu"; then
   1510       echo &&
   1511       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1512     elif test -f "$ac_srcdir/configure"; then
   1513       echo &&
   1514       $SHELL "$ac_srcdir/configure" --help=recursive
   1515     else
   1516       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1517     fi || ac_status=$?
   1518     cd "$ac_pwd" || { ac_status=$?; break; }
   1519   done
   1520 fi
   1521 
   1522 test -n "$ac_init_help" && exit $ac_status
   1523 if $ac_init_version; then
   1524   cat <<\_ACEOF
   1525 libXvMC configure 1.0.7
   1526 generated by GNU Autoconf 2.68
   1527 
   1528 Copyright (C) 2010 Free Software Foundation, Inc.
   1529 This configure script is free software; the Free Software Foundation
   1530 gives unlimited permission to copy, distribute and modify it.
   1531 _ACEOF
   1532   exit
   1533 fi
   1534 
   1535 ## ------------------------ ##
   1536 ## Autoconf initialization. ##
   1537 ## ------------------------ ##
   1538 
   1539 # ac_fn_c_try_compile LINENO
   1540 # --------------------------
   1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1542 ac_fn_c_try_compile ()
   1543 {
   1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1545   rm -f conftest.$ac_objext
   1546   if { { ac_try="$ac_compile"
   1547 case "(($ac_try" in
   1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1549   *) ac_try_echo=$ac_try;;
   1550 esac
   1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1552 $as_echo "$ac_try_echo"; } >&5
   1553   (eval "$ac_compile") 2>conftest.err
   1554   ac_status=$?
   1555   if test -s conftest.err; then
   1556     grep -v '^ *+' conftest.err >conftest.er1
   1557     cat conftest.er1 >&5
   1558     mv -f conftest.er1 conftest.err
   1559   fi
   1560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1561   test $ac_status = 0; } && {
   1562 	 test -z "$ac_c_werror_flag" ||
   1563 	 test ! -s conftest.err
   1564        } && test -s conftest.$ac_objext; then :
   1565   ac_retval=0
   1566 else
   1567   $as_echo "$as_me: failed program was:" >&5
   1568 sed 's/^/| /' conftest.$ac_ext >&5
   1569 
   1570 	ac_retval=1
   1571 fi
   1572   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1573   as_fn_set_status $ac_retval
   1574 
   1575 } # ac_fn_c_try_compile
   1576 
   1577 # ac_fn_c_try_link LINENO
   1578 # -----------------------
   1579 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1580 ac_fn_c_try_link ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   rm -f conftest.$ac_objext conftest$ac_exeext
   1584   if { { ac_try="$ac_link"
   1585 case "(($ac_try" in
   1586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1587   *) ac_try_echo=$ac_try;;
   1588 esac
   1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1590 $as_echo "$ac_try_echo"; } >&5
   1591   (eval "$ac_link") 2>conftest.err
   1592   ac_status=$?
   1593   if test -s conftest.err; then
   1594     grep -v '^ *+' conftest.err >conftest.er1
   1595     cat conftest.er1 >&5
   1596     mv -f conftest.er1 conftest.err
   1597   fi
   1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1599   test $ac_status = 0; } && {
   1600 	 test -z "$ac_c_werror_flag" ||
   1601 	 test ! -s conftest.err
   1602        } && test -s conftest$ac_exeext && {
   1603 	 test "$cross_compiling" = yes ||
   1604 	 $as_test_x conftest$ac_exeext
   1605        }; then :
   1606   ac_retval=0
   1607 else
   1608   $as_echo "$as_me: failed program was:" >&5
   1609 sed 's/^/| /' conftest.$ac_ext >&5
   1610 
   1611 	ac_retval=1
   1612 fi
   1613   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1614   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1615   # interfere with the next link command; also delete a directory that is
   1616   # left behind by Apple's compiler.  We do this before executing the actions.
   1617   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1619   as_fn_set_status $ac_retval
   1620 
   1621 } # ac_fn_c_try_link
   1622 
   1623 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1624 # -------------------------------------------------------
   1625 # Tests whether HEADER exists and can be compiled using the include files in
   1626 # INCLUDES, setting the cache variable VAR accordingly.
   1627 ac_fn_c_check_header_compile ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1631 $as_echo_n "checking for $2... " >&6; }
   1632 if eval \${$3+:} false; then :
   1633   $as_echo_n "(cached) " >&6
   1634 else
   1635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1636 /* end confdefs.h.  */
   1637 $4
   1638 #include <$2>
   1639 _ACEOF
   1640 if ac_fn_c_try_compile "$LINENO"; then :
   1641   eval "$3=yes"
   1642 else
   1643   eval "$3=no"
   1644 fi
   1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1646 fi
   1647 eval ac_res=\$$3
   1648 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1649 $as_echo "$ac_res" >&6; }
   1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1651 
   1652 } # ac_fn_c_check_header_compile
   1653 
   1654 # ac_fn_c_try_cpp LINENO
   1655 # ----------------------
   1656 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1657 ac_fn_c_try_cpp ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1661 case "(($ac_try" in
   1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1663   *) ac_try_echo=$ac_try;;
   1664 esac
   1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1666 $as_echo "$ac_try_echo"; } >&5
   1667   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1668   ac_status=$?
   1669   if test -s conftest.err; then
   1670     grep -v '^ *+' conftest.err >conftest.er1
   1671     cat conftest.er1 >&5
   1672     mv -f conftest.er1 conftest.err
   1673   fi
   1674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1675   test $ac_status = 0; } > conftest.i && {
   1676 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1677 	 test ! -s conftest.err
   1678        }; then :
   1679   ac_retval=0
   1680 else
   1681   $as_echo "$as_me: failed program was:" >&5
   1682 sed 's/^/| /' conftest.$ac_ext >&5
   1683 
   1684     ac_retval=1
   1685 fi
   1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1687   as_fn_set_status $ac_retval
   1688 
   1689 } # ac_fn_c_try_cpp
   1690 
   1691 # ac_fn_c_try_run LINENO
   1692 # ----------------------
   1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1694 # that executables *can* be run.
   1695 ac_fn_c_try_run ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   if { { ac_try="$ac_link"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_link") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1709   { { case "(($ac_try" in
   1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1711   *) ac_try_echo=$ac_try;;
   1712 esac
   1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1714 $as_echo "$ac_try_echo"; } >&5
   1715   (eval "$ac_try") 2>&5
   1716   ac_status=$?
   1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1718   test $ac_status = 0; }; }; then :
   1719   ac_retval=0
   1720 else
   1721   $as_echo "$as_me: program exited with status $ac_status" >&5
   1722        $as_echo "$as_me: failed program was:" >&5
   1723 sed 's/^/| /' conftest.$ac_ext >&5
   1724 
   1725        ac_retval=$ac_status
   1726 fi
   1727   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729   as_fn_set_status $ac_retval
   1730 
   1731 } # ac_fn_c_try_run
   1732 
   1733 # ac_fn_c_check_func LINENO FUNC VAR
   1734 # ----------------------------------
   1735 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1736 ac_fn_c_check_func ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1740 $as_echo_n "checking for $2... " >&6; }
   1741 if eval \${$3+:} false; then :
   1742   $as_echo_n "(cached) " >&6
   1743 else
   1744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1745 /* end confdefs.h.  */
   1746 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1748 #define $2 innocuous_$2
   1749 
   1750 /* System header to define __stub macros and hopefully few prototypes,
   1751     which can conflict with char $2 (); below.
   1752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1753     <limits.h> exists even on freestanding compilers.  */
   1754 
   1755 #ifdef __STDC__
   1756 # include <limits.h>
   1757 #else
   1758 # include <assert.h>
   1759 #endif
   1760 
   1761 #undef $2
   1762 
   1763 /* Override any GCC internal prototype to avoid an error.
   1764    Use char because int might match the return type of a GCC
   1765    builtin and then its argument prototype would still apply.  */
   1766 #ifdef __cplusplus
   1767 extern "C"
   1768 #endif
   1769 char $2 ();
   1770 /* The GNU C library defines this for functions which it implements
   1771     to always fail with ENOSYS.  Some functions are actually named
   1772     something starting with __ and the normal name is an alias.  */
   1773 #if defined __stub_$2 || defined __stub___$2
   1774 choke me
   1775 #endif
   1776 
   1777 int
   1778 main ()
   1779 {
   1780 return $2 ();
   1781   ;
   1782   return 0;
   1783 }
   1784 _ACEOF
   1785 if ac_fn_c_try_link "$LINENO"; then :
   1786   eval "$3=yes"
   1787 else
   1788   eval "$3=no"
   1789 fi
   1790 rm -f core conftest.err conftest.$ac_objext \
   1791     conftest$ac_exeext conftest.$ac_ext
   1792 fi
   1793 eval ac_res=\$$3
   1794 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1795 $as_echo "$ac_res" >&6; }
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797 
   1798 } # ac_fn_c_check_func
   1799 
   1800 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1801 # ---------------------------------------------
   1802 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1803 # accordingly.
   1804 ac_fn_c_check_decl ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1808   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1810 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1811 if eval \${$3+:} false; then :
   1812   $as_echo_n "(cached) " >&6
   1813 else
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 $4
   1817 int
   1818 main ()
   1819 {
   1820 #ifndef $as_decl_name
   1821 #ifdef __cplusplus
   1822   (void) $as_decl_use;
   1823 #else
   1824   (void) $as_decl_name;
   1825 #endif
   1826 #endif
   1827 
   1828   ;
   1829   return 0;
   1830 }
   1831 _ACEOF
   1832 if ac_fn_c_try_compile "$LINENO"; then :
   1833   eval "$3=yes"
   1834 else
   1835   eval "$3=no"
   1836 fi
   1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1838 fi
   1839 eval ac_res=\$$3
   1840 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1841 $as_echo "$ac_res" >&6; }
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843 
   1844 } # ac_fn_c_check_decl
   1845 cat >config.log <<_ACEOF
   1846 This file contains any messages produced by compilers while
   1847 running configure, to aid debugging if configure makes a mistake.
   1848 
   1849 It was created by libXvMC $as_me 1.0.7, which was
   1850 generated by GNU Autoconf 2.68.  Invocation command line was
   1851 
   1852   $ $0 $@
   1853 
   1854 _ACEOF
   1855 exec 5>>config.log
   1856 {
   1857 cat <<_ASUNAME
   1858 ## --------- ##
   1859 ## Platform. ##
   1860 ## --------- ##
   1861 
   1862 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1863 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1864 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1865 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1866 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1867 
   1868 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1869 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1870 
   1871 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1872 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1873 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1874 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1875 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1876 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1877 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1878 
   1879 _ASUNAME
   1880 
   1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1882 for as_dir in $PATH
   1883 do
   1884   IFS=$as_save_IFS
   1885   test -z "$as_dir" && as_dir=.
   1886     $as_echo "PATH: $as_dir"
   1887   done
   1888 IFS=$as_save_IFS
   1889 
   1890 } >&5
   1891 
   1892 cat >&5 <<_ACEOF
   1893 
   1894 
   1895 ## ----------- ##
   1896 ## Core tests. ##
   1897 ## ----------- ##
   1898 
   1899 _ACEOF
   1900 
   1901 
   1902 # Keep a trace of the command line.
   1903 # Strip out --no-create and --no-recursion so they do not pile up.
   1904 # Strip out --silent because we don't want to record it for future runs.
   1905 # Also quote any args containing shell meta-characters.
   1906 # Make two passes to allow for proper duplicate-argument suppression.
   1907 ac_configure_args=
   1908 ac_configure_args0=
   1909 ac_configure_args1=
   1910 ac_must_keep_next=false
   1911 for ac_pass in 1 2
   1912 do
   1913   for ac_arg
   1914   do
   1915     case $ac_arg in
   1916     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1917     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1918     | -silent | --silent | --silen | --sile | --sil)
   1919       continue ;;
   1920     *\'*)
   1921       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1922     esac
   1923     case $ac_pass in
   1924     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1925     2)
   1926       as_fn_append ac_configure_args1 " '$ac_arg'"
   1927       if test $ac_must_keep_next = true; then
   1928 	ac_must_keep_next=false # Got value, back to normal.
   1929       else
   1930 	case $ac_arg in
   1931 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1932 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1933 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1934 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1935 	    case "$ac_configure_args0 " in
   1936 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1937 	    esac
   1938 	    ;;
   1939 	  -* ) ac_must_keep_next=true ;;
   1940 	esac
   1941       fi
   1942       as_fn_append ac_configure_args " '$ac_arg'"
   1943       ;;
   1944     esac
   1945   done
   1946 done
   1947 { ac_configure_args0=; unset ac_configure_args0;}
   1948 { ac_configure_args1=; unset ac_configure_args1;}
   1949 
   1950 # When interrupted or exit'd, cleanup temporary files, and complete
   1951 # config.log.  We remove comments because anyway the quotes in there
   1952 # would cause problems or look ugly.
   1953 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1954 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1955 trap 'exit_status=$?
   1956   # Save into config.log some information that might help in debugging.
   1957   {
   1958     echo
   1959 
   1960     $as_echo "## ---------------- ##
   1961 ## Cache variables. ##
   1962 ## ---------------- ##"
   1963     echo
   1964     # The following way of writing the cache mishandles newlines in values,
   1965 (
   1966   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1967     eval ac_val=\$$ac_var
   1968     case $ac_val in #(
   1969     *${as_nl}*)
   1970       case $ac_var in #(
   1971       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1972 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1973       esac
   1974       case $ac_var in #(
   1975       _ | IFS | as_nl) ;; #(
   1976       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1977       *) { eval $ac_var=; unset $ac_var;} ;;
   1978       esac ;;
   1979     esac
   1980   done
   1981   (set) 2>&1 |
   1982     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1983     *${as_nl}ac_space=\ *)
   1984       sed -n \
   1985 	"s/'\''/'\''\\\\'\'''\''/g;
   1986 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1987       ;; #(
   1988     *)
   1989       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1990       ;;
   1991     esac |
   1992     sort
   1993 )
   1994     echo
   1995 
   1996     $as_echo "## ----------------- ##
   1997 ## Output variables. ##
   1998 ## ----------------- ##"
   1999     echo
   2000     for ac_var in $ac_subst_vars
   2001     do
   2002       eval ac_val=\$$ac_var
   2003       case $ac_val in
   2004       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2005       esac
   2006       $as_echo "$ac_var='\''$ac_val'\''"
   2007     done | sort
   2008     echo
   2009 
   2010     if test -n "$ac_subst_files"; then
   2011       $as_echo "## ------------------- ##
   2012 ## File substitutions. ##
   2013 ## ------------------- ##"
   2014       echo
   2015       for ac_var in $ac_subst_files
   2016       do
   2017 	eval ac_val=\$$ac_var
   2018 	case $ac_val in
   2019 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2020 	esac
   2021 	$as_echo "$ac_var='\''$ac_val'\''"
   2022       done | sort
   2023       echo
   2024     fi
   2025 
   2026     if test -s confdefs.h; then
   2027       $as_echo "## ----------- ##
   2028 ## confdefs.h. ##
   2029 ## ----------- ##"
   2030       echo
   2031       cat confdefs.h
   2032       echo
   2033     fi
   2034     test "$ac_signal" != 0 &&
   2035       $as_echo "$as_me: caught signal $ac_signal"
   2036     $as_echo "$as_me: exit $exit_status"
   2037   } >&5
   2038   rm -f core *.core core.conftest.* &&
   2039     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2040     exit $exit_status
   2041 ' 0
   2042 for ac_signal in 1 2 13 15; do
   2043   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2044 done
   2045 ac_signal=0
   2046 
   2047 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2048 rm -f -r conftest* confdefs.h
   2049 
   2050 $as_echo "/* confdefs.h */" > confdefs.h
   2051 
   2052 # Predefined preprocessor variables.
   2053 
   2054 cat >>confdefs.h <<_ACEOF
   2055 #define PACKAGE_NAME "$PACKAGE_NAME"
   2056 _ACEOF
   2057 
   2058 cat >>confdefs.h <<_ACEOF
   2059 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2060 _ACEOF
   2061 
   2062 cat >>confdefs.h <<_ACEOF
   2063 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2064 _ACEOF
   2065 
   2066 cat >>confdefs.h <<_ACEOF
   2067 #define PACKAGE_STRING "$PACKAGE_STRING"
   2068 _ACEOF
   2069 
   2070 cat >>confdefs.h <<_ACEOF
   2071 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2072 _ACEOF
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_URL "$PACKAGE_URL"
   2076 _ACEOF
   2077 
   2078 
   2079 # Let the site file select an alternate cache file if it wants to.
   2080 # Prefer an explicitly selected file to automatically selected ones.
   2081 ac_site_file1=NONE
   2082 ac_site_file2=NONE
   2083 if test -n "$CONFIG_SITE"; then
   2084   # We do not want a PATH search for config.site.
   2085   case $CONFIG_SITE in #((
   2086     -*)  ac_site_file1=./$CONFIG_SITE;;
   2087     */*) ac_site_file1=$CONFIG_SITE;;
   2088     *)   ac_site_file1=./$CONFIG_SITE;;
   2089   esac
   2090 elif test "x$prefix" != xNONE; then
   2091   ac_site_file1=$prefix/share/config.site
   2092   ac_site_file2=$prefix/etc/config.site
   2093 else
   2094   ac_site_file1=$ac_default_prefix/share/config.site
   2095   ac_site_file2=$ac_default_prefix/etc/config.site
   2096 fi
   2097 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2098 do
   2099   test "x$ac_site_file" = xNONE && continue
   2100   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2102 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2103     sed 's/^/| /' "$ac_site_file" >&5
   2104     . "$ac_site_file" \
   2105       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2107 as_fn_error $? "failed to load site script $ac_site_file
   2108 See \`config.log' for more details" "$LINENO" 5; }
   2109   fi
   2110 done
   2111 
   2112 if test -r "$cache_file"; then
   2113   # Some versions of bash will fail to source /dev/null (special files
   2114   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2115   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2116     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2117 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2118     case $cache_file in
   2119       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2120       *)                      . "./$cache_file";;
   2121     esac
   2122   fi
   2123 else
   2124   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2125 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2126   >$cache_file
   2127 fi
   2128 
   2129 # Check that the precious variables saved in the cache have kept the same
   2130 # value.
   2131 ac_cache_corrupted=false
   2132 for ac_var in $ac_precious_vars; do
   2133   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2134   eval ac_new_set=\$ac_env_${ac_var}_set
   2135   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2136   eval ac_new_val=\$ac_env_${ac_var}_value
   2137   case $ac_old_set,$ac_new_set in
   2138     set,)
   2139       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2140 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2141       ac_cache_corrupted=: ;;
   2142     ,set)
   2143       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2144 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2145       ac_cache_corrupted=: ;;
   2146     ,);;
   2147     *)
   2148       if test "x$ac_old_val" != "x$ac_new_val"; then
   2149 	# differences in whitespace do not lead to failure.
   2150 	ac_old_val_w=`echo x $ac_old_val`
   2151 	ac_new_val_w=`echo x $ac_new_val`
   2152 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2153 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2154 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2155 	  ac_cache_corrupted=:
   2156 	else
   2157 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2158 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2159 	  eval $ac_var=\$ac_old_val
   2160 	fi
   2161 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2162 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2163 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2164 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2165       fi;;
   2166   esac
   2167   # Pass precious variables to config.status.
   2168   if test "$ac_new_set" = set; then
   2169     case $ac_new_val in
   2170     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2171     *) ac_arg=$ac_var=$ac_new_val ;;
   2172     esac
   2173     case " $ac_configure_args " in
   2174       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2175       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2176     esac
   2177   fi
   2178 done
   2179 if $ac_cache_corrupted; then
   2180   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2182   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2183 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2184   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2185 fi
   2186 ## -------------------- ##
   2187 ## Main body of script. ##
   2188 ## -------------------- ##
   2189 
   2190 ac_ext=c
   2191 ac_cpp='$CPP $CPPFLAGS'
   2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2195 
   2196 
   2197 
   2198 ac_config_headers="$ac_config_headers config.h"
   2199 
   2200 
   2201 # Initialize Automake
   2202 am__api_version='1.11'
   2203 
   2204 ac_aux_dir=
   2205 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2206   if test -f "$ac_dir/install-sh"; then
   2207     ac_aux_dir=$ac_dir
   2208     ac_install_sh="$ac_aux_dir/install-sh -c"
   2209     break
   2210   elif test -f "$ac_dir/install.sh"; then
   2211     ac_aux_dir=$ac_dir
   2212     ac_install_sh="$ac_aux_dir/install.sh -c"
   2213     break
   2214   elif test -f "$ac_dir/shtool"; then
   2215     ac_aux_dir=$ac_dir
   2216     ac_install_sh="$ac_aux_dir/shtool install -c"
   2217     break
   2218   fi
   2219 done
   2220 if test -z "$ac_aux_dir"; then
   2221   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2222 fi
   2223 
   2224 # These three variables are undocumented and unsupported,
   2225 # and are intended to be withdrawn in a future Autoconf release.
   2226 # They can cause serious problems if a builder's source tree is in a directory
   2227 # whose full name contains unusual characters.
   2228 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2229 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2230 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2231 
   2232 
   2233 # Find a good install program.  We prefer a C program (faster),
   2234 # so one script is as good as another.  But avoid the broken or
   2235 # incompatible versions:
   2236 # SysV /etc/install, /usr/sbin/install
   2237 # SunOS /usr/etc/install
   2238 # IRIX /sbin/install
   2239 # AIX /bin/install
   2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2244 # OS/2's system install, which has a completely different semantic
   2245 # ./install, which can be erroneously created by make from ./install.sh.
   2246 # Reject install programs that cannot install multiple files.
   2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2249 if test -z "$INSTALL"; then
   2250 if ${ac_cv_path_install+:} false; then :
   2251   $as_echo_n "(cached) " >&6
   2252 else
   2253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2254 for as_dir in $PATH
   2255 do
   2256   IFS=$as_save_IFS
   2257   test -z "$as_dir" && as_dir=.
   2258     # Account for people who put trailing slashes in PATH elements.
   2259 case $as_dir/ in #((
   2260   ./ | .// | /[cC]/* | \
   2261   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2262   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2263   /usr/ucb/* ) ;;
   2264   *)
   2265     # OSF1 and SCO ODT 3.0 have their own names for install.
   2266     # Don't use installbsd from OSF since it installs stuff as root
   2267     # by default.
   2268     for ac_prog in ginstall scoinst install; do
   2269       for ac_exec_ext in '' $ac_executable_extensions; do
   2270 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2271 	  if test $ac_prog = install &&
   2272 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2273 	    # AIX install.  It has an incompatible calling convention.
   2274 	    :
   2275 	  elif test $ac_prog = install &&
   2276 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2277 	    # program-specific install script used by HP pwplus--don't use.
   2278 	    :
   2279 	  else
   2280 	    rm -rf conftest.one conftest.two conftest.dir
   2281 	    echo one > conftest.one
   2282 	    echo two > conftest.two
   2283 	    mkdir conftest.dir
   2284 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2285 	      test -s conftest.one && test -s conftest.two &&
   2286 	      test -s conftest.dir/conftest.one &&
   2287 	      test -s conftest.dir/conftest.two
   2288 	    then
   2289 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2290 	      break 3
   2291 	    fi
   2292 	  fi
   2293 	fi
   2294       done
   2295     done
   2296     ;;
   2297 esac
   2298 
   2299   done
   2300 IFS=$as_save_IFS
   2301 
   2302 rm -rf conftest.one conftest.two conftest.dir
   2303 
   2304 fi
   2305   if test "${ac_cv_path_install+set}" = set; then
   2306     INSTALL=$ac_cv_path_install
   2307   else
   2308     # As a last resort, use the slow shell script.  Don't cache a
   2309     # value for INSTALL within a source directory, because that will
   2310     # break other packages using the cache if that directory is
   2311     # removed, or if the value is a relative name.
   2312     INSTALL=$ac_install_sh
   2313   fi
   2314 fi
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2316 $as_echo "$INSTALL" >&6; }
   2317 
   2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2319 # It thinks the first close brace ends the variable substitution.
   2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2321 
   2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2323 
   2324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2325 
   2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2327 $as_echo_n "checking whether build environment is sane... " >&6; }
   2328 # Just in case
   2329 sleep 1
   2330 echo timestamp > conftest.file
   2331 # Reject unsafe characters in $srcdir or the absolute working directory
   2332 # name.  Accept space and tab only in the latter.
   2333 am_lf='
   2334 '
   2335 case `pwd` in
   2336   *[\\\"\#\$\&\'\`$am_lf]*)
   2337     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2338 esac
   2339 case $srcdir in
   2340   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2341     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2342 esac
   2343 
   2344 # Do `set' in a subshell so we don't clobber the current shell's
   2345 # arguments.  Must try -L first in case configure is actually a
   2346 # symlink; some systems play weird games with the mod time of symlinks
   2347 # (eg FreeBSD returns the mod time of the symlink's containing
   2348 # directory).
   2349 if (
   2350    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2351    if test "$*" = "X"; then
   2352       # -L didn't work.
   2353       set X `ls -t "$srcdir/configure" conftest.file`
   2354    fi
   2355    rm -f conftest.file
   2356    if test "$*" != "X $srcdir/configure conftest.file" \
   2357       && test "$*" != "X conftest.file $srcdir/configure"; then
   2358 
   2359       # If neither matched, then we have a broken ls.  This can happen
   2360       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2361       # broken ls alias from the environment.  This has actually
   2362       # happened.  Such a system could not be considered "sane".
   2363       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2364 alias in your environment" "$LINENO" 5
   2365    fi
   2366 
   2367    test "$2" = conftest.file
   2368    )
   2369 then
   2370    # Ok.
   2371    :
   2372 else
   2373    as_fn_error $? "newly created file is older than distributed files!
   2374 Check your system clock" "$LINENO" 5
   2375 fi
   2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2377 $as_echo "yes" >&6; }
   2378 test "$program_prefix" != NONE &&
   2379   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2380 # Use a double $ so make ignores it.
   2381 test "$program_suffix" != NONE &&
   2382   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2383 # Double any \ or $.
   2384 # By default was `s,x,x', remove it if useless.
   2385 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2386 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2387 
   2388 # expand $ac_aux_dir to an absolute path
   2389 am_aux_dir=`cd $ac_aux_dir && pwd`
   2390 
   2391 if test x"${MISSING+set}" != xset; then
   2392   case $am_aux_dir in
   2393   *\ * | *\	*)
   2394     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2395   *)
   2396     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2397   esac
   2398 fi
   2399 # Use eval to expand $SHELL
   2400 if eval "$MISSING --run true"; then
   2401   am_missing_run="$MISSING --run "
   2402 else
   2403   am_missing_run=
   2404   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2405 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2406 fi
   2407 
   2408 if test x"${install_sh}" != xset; then
   2409   case $am_aux_dir in
   2410   *\ * | *\	*)
   2411     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2412   *)
   2413     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2414   esac
   2415 fi
   2416 
   2417 # Installed binaries are usually stripped using `strip' when the user
   2418 # run `make install-strip'.  However `strip' might not be the right
   2419 # tool to use in cross-compilation environments, therefore Automake
   2420 # will honor the `STRIP' environment variable to overrule this program.
   2421 if test "$cross_compiling" != no; then
   2422   if test -n "$ac_tool_prefix"; then
   2423   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2424 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2426 $as_echo_n "checking for $ac_word... " >&6; }
   2427 if ${ac_cv_prog_STRIP+:} false; then :
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   if test -n "$STRIP"; then
   2431   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2432 else
   2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2434 for as_dir in $PATH
   2435 do
   2436   IFS=$as_save_IFS
   2437   test -z "$as_dir" && as_dir=.
   2438     for ac_exec_ext in '' $ac_executable_extensions; do
   2439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2440     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2442     break 2
   2443   fi
   2444 done
   2445   done
   2446 IFS=$as_save_IFS
   2447 
   2448 fi
   2449 fi
   2450 STRIP=$ac_cv_prog_STRIP
   2451 if test -n "$STRIP"; then
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2453 $as_echo "$STRIP" >&6; }
   2454 else
   2455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2456 $as_echo "no" >&6; }
   2457 fi
   2458 
   2459 
   2460 fi
   2461 if test -z "$ac_cv_prog_STRIP"; then
   2462   ac_ct_STRIP=$STRIP
   2463   # Extract the first word of "strip", so it can be a program name with args.
   2464 set dummy strip; ac_word=$2
   2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2466 $as_echo_n "checking for $ac_word... " >&6; }
   2467 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2468   $as_echo_n "(cached) " >&6
   2469 else
   2470   if test -n "$ac_ct_STRIP"; then
   2471   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2472 else
   2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2474 for as_dir in $PATH
   2475 do
   2476   IFS=$as_save_IFS
   2477   test -z "$as_dir" && as_dir=.
   2478     for ac_exec_ext in '' $ac_executable_extensions; do
   2479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2480     ac_cv_prog_ac_ct_STRIP="strip"
   2481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2482     break 2
   2483   fi
   2484 done
   2485   done
   2486 IFS=$as_save_IFS
   2487 
   2488 fi
   2489 fi
   2490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2491 if test -n "$ac_ct_STRIP"; then
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2493 $as_echo "$ac_ct_STRIP" >&6; }
   2494 else
   2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2496 $as_echo "no" >&6; }
   2497 fi
   2498 
   2499   if test "x$ac_ct_STRIP" = x; then
   2500     STRIP=":"
   2501   else
   2502     case $cross_compiling:$ac_tool_warned in
   2503 yes:)
   2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2506 ac_tool_warned=yes ;;
   2507 esac
   2508     STRIP=$ac_ct_STRIP
   2509   fi
   2510 else
   2511   STRIP="$ac_cv_prog_STRIP"
   2512 fi
   2513 
   2514 fi
   2515 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2516 
   2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2518 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2519 if test -z "$MKDIR_P"; then
   2520   if ${ac_cv_path_mkdir+:} false; then :
   2521   $as_echo_n "(cached) " >&6
   2522 else
   2523   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2524 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2525 do
   2526   IFS=$as_save_IFS
   2527   test -z "$as_dir" && as_dir=.
   2528     for ac_prog in mkdir gmkdir; do
   2529 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2530 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2531 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2532 	     'mkdir (GNU coreutils) '* | \
   2533 	     'mkdir (coreutils) '* | \
   2534 	     'mkdir (fileutils) '4.1*)
   2535 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2536 	       break 3;;
   2537 	   esac
   2538 	 done
   2539        done
   2540   done
   2541 IFS=$as_save_IFS
   2542 
   2543 fi
   2544 
   2545   test -d ./--version && rmdir ./--version
   2546   if test "${ac_cv_path_mkdir+set}" = set; then
   2547     MKDIR_P="$ac_cv_path_mkdir -p"
   2548   else
   2549     # As a last resort, use the slow shell script.  Don't cache a
   2550     # value for MKDIR_P within a source directory, because that will
   2551     # break other packages using the cache if that directory is
   2552     # removed, or if the value is a relative name.
   2553     MKDIR_P="$ac_install_sh -d"
   2554   fi
   2555 fi
   2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2557 $as_echo "$MKDIR_P" >&6; }
   2558 
   2559 mkdir_p="$MKDIR_P"
   2560 case $mkdir_p in
   2561   [\\/$]* | ?:[\\/]*) ;;
   2562   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2563 esac
   2564 
   2565 for ac_prog in gawk mawk nawk awk
   2566 do
   2567   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2568 set dummy $ac_prog; ac_word=$2
   2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2570 $as_echo_n "checking for $ac_word... " >&6; }
   2571 if ${ac_cv_prog_AWK+:} false; then :
   2572   $as_echo_n "(cached) " >&6
   2573 else
   2574   if test -n "$AWK"; then
   2575   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2576 else
   2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2578 for as_dir in $PATH
   2579 do
   2580   IFS=$as_save_IFS
   2581   test -z "$as_dir" && as_dir=.
   2582     for ac_exec_ext in '' $ac_executable_extensions; do
   2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2584     ac_cv_prog_AWK="$ac_prog"
   2585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2586     break 2
   2587   fi
   2588 done
   2589   done
   2590 IFS=$as_save_IFS
   2591 
   2592 fi
   2593 fi
   2594 AWK=$ac_cv_prog_AWK
   2595 if test -n "$AWK"; then
   2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2597 $as_echo "$AWK" >&6; }
   2598 else
   2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2600 $as_echo "no" >&6; }
   2601 fi
   2602 
   2603 
   2604   test -n "$AWK" && break
   2605 done
   2606 
   2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2608 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2609 set x ${MAKE-make}
   2610 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2611 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2612   $as_echo_n "(cached) " >&6
   2613 else
   2614   cat >conftest.make <<\_ACEOF
   2615 SHELL = /bin/sh
   2616 all:
   2617 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2618 _ACEOF
   2619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2620 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2621   *@@@%%%=?*=@@@%%%*)
   2622     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2623   *)
   2624     eval ac_cv_prog_make_${ac_make}_set=no;;
   2625 esac
   2626 rm -f conftest.make
   2627 fi
   2628 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2630 $as_echo "yes" >&6; }
   2631   SET_MAKE=
   2632 else
   2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2634 $as_echo "no" >&6; }
   2635   SET_MAKE="MAKE=${MAKE-make}"
   2636 fi
   2637 
   2638 rm -rf .tst 2>/dev/null
   2639 mkdir .tst 2>/dev/null
   2640 if test -d .tst; then
   2641   am__leading_dot=.
   2642 else
   2643   am__leading_dot=_
   2644 fi
   2645 rmdir .tst 2>/dev/null
   2646 
   2647 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2648   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2649   # is not polluted with repeated "-I."
   2650   am__isrc=' -I$(srcdir)'
   2651   # test to see if srcdir already configured
   2652   if test -f $srcdir/config.status; then
   2653     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2654   fi
   2655 fi
   2656 
   2657 # test whether we have cygpath
   2658 if test -z "$CYGPATH_W"; then
   2659   if (cygpath --version) >/dev/null 2>/dev/null; then
   2660     CYGPATH_W='cygpath -w'
   2661   else
   2662     CYGPATH_W=echo
   2663   fi
   2664 fi
   2665 
   2666 
   2667 # Define the identity of the package.
   2668  PACKAGE='libXvMC'
   2669  VERSION='1.0.7'
   2670 
   2671 
   2672 cat >>confdefs.h <<_ACEOF
   2673 #define PACKAGE "$PACKAGE"
   2674 _ACEOF
   2675 
   2676 
   2677 cat >>confdefs.h <<_ACEOF
   2678 #define VERSION "$VERSION"
   2679 _ACEOF
   2680 
   2681 # Some tools Automake needs.
   2682 
   2683 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2684 
   2685 
   2686 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2687 
   2688 
   2689 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2690 
   2691 
   2692 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2693 
   2694 
   2695 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2696 
   2697 # We need awk for the "check" target.  The system "awk" is bad on
   2698 # some platforms.
   2699 # Always define AMTAR for backward compatibility.
   2700 
   2701 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2702 
   2703 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2704 
   2705 
   2706 
   2707 
   2708 
   2709 
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2711 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2712     # Check whether --enable-maintainer-mode was given.
   2713 if test "${enable_maintainer_mode+set}" = set; then :
   2714   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2715 else
   2716   USE_MAINTAINER_MODE=no
   2717 fi
   2718 
   2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2720 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2721    if test $USE_MAINTAINER_MODE = yes; then
   2722   MAINTAINER_MODE_TRUE=
   2723   MAINTAINER_MODE_FALSE='#'
   2724 else
   2725   MAINTAINER_MODE_TRUE='#'
   2726   MAINTAINER_MODE_FALSE=
   2727 fi
   2728 
   2729   MAINT=$MAINTAINER_MODE_TRUE
   2730 
   2731 
   2732 
   2733 # Initialize libtool
   2734 case `pwd` in
   2735   *\ * | *\	*)
   2736     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2737 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2738 esac
   2739 
   2740 
   2741 
   2742 macro_version='2.4'
   2743 macro_revision='1.3293'
   2744 
   2745 
   2746 
   2747 
   2748 
   2749 
   2750 
   2751 
   2752 
   2753 
   2754 
   2755 
   2756 
   2757 ltmain="$ac_aux_dir/ltmain.sh"
   2758 
   2759 # Make sure we can run config.sub.
   2760 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2761   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2762 
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2764 $as_echo_n "checking build system type... " >&6; }
   2765 if ${ac_cv_build+:} false; then :
   2766   $as_echo_n "(cached) " >&6
   2767 else
   2768   ac_build_alias=$build_alias
   2769 test "x$ac_build_alias" = x &&
   2770   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2771 test "x$ac_build_alias" = x &&
   2772   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2773 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2774   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2775 
   2776 fi
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2778 $as_echo "$ac_cv_build" >&6; }
   2779 case $ac_cv_build in
   2780 *-*-*) ;;
   2781 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2782 esac
   2783 build=$ac_cv_build
   2784 ac_save_IFS=$IFS; IFS='-'
   2785 set x $ac_cv_build
   2786 shift
   2787 build_cpu=$1
   2788 build_vendor=$2
   2789 shift; shift
   2790 # Remember, the first character of IFS is used to create $*,
   2791 # except with old shells:
   2792 build_os=$*
   2793 IFS=$ac_save_IFS
   2794 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2795 
   2796 
   2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2798 $as_echo_n "checking host system type... " >&6; }
   2799 if ${ac_cv_host+:} false; then :
   2800   $as_echo_n "(cached) " >&6
   2801 else
   2802   if test "x$host_alias" = x; then
   2803   ac_cv_host=$ac_cv_build
   2804 else
   2805   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2806     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2807 fi
   2808 
   2809 fi
   2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2811 $as_echo "$ac_cv_host" >&6; }
   2812 case $ac_cv_host in
   2813 *-*-*) ;;
   2814 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2815 esac
   2816 host=$ac_cv_host
   2817 ac_save_IFS=$IFS; IFS='-'
   2818 set x $ac_cv_host
   2819 shift
   2820 host_cpu=$1
   2821 host_vendor=$2
   2822 shift; shift
   2823 # Remember, the first character of IFS is used to create $*,
   2824 # except with old shells:
   2825 host_os=$*
   2826 IFS=$ac_save_IFS
   2827 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2828 
   2829 
   2830 # Backslashify metacharacters that are still active within
   2831 # double-quoted strings.
   2832 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2833 
   2834 # Same as above, but do not quote variable references.
   2835 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2836 
   2837 # Sed substitution to delay expansion of an escaped shell variable in a
   2838 # double_quote_subst'ed string.
   2839 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2840 
   2841 # Sed substitution to delay expansion of an escaped single quote.
   2842 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2843 
   2844 # Sed substitution to avoid accidental globbing in evaled expressions
   2845 no_glob_subst='s/\*/\\\*/g'
   2846 
   2847 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2848 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2849 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2850 
   2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2852 $as_echo_n "checking how to print strings... " >&6; }
   2853 # Test print first, because it will be a builtin if present.
   2854 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2855    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2856   ECHO='print -r --'
   2857 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2858   ECHO='printf %s\n'
   2859 else
   2860   # Use this function as a fallback that always works.
   2861   func_fallback_echo ()
   2862   {
   2863     eval 'cat <<_LTECHO_EOF
   2864 $1
   2865 _LTECHO_EOF'
   2866   }
   2867   ECHO='func_fallback_echo'
   2868 fi
   2869 
   2870 # func_echo_all arg...
   2871 # Invoke $ECHO with all args, space-separated.
   2872 func_echo_all ()
   2873 {
   2874     $ECHO ""
   2875 }
   2876 
   2877 case "$ECHO" in
   2878   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2879 $as_echo "printf" >&6; } ;;
   2880   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2881 $as_echo "print -r" >&6; } ;;
   2882   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2883 $as_echo "cat" >&6; } ;;
   2884 esac
   2885 
   2886 
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 
   2893 
   2894 
   2895 
   2896 
   2897 
   2898 
   2899 DEPDIR="${am__leading_dot}deps"
   2900 
   2901 ac_config_commands="$ac_config_commands depfiles"
   2902 
   2903 
   2904 am_make=${MAKE-make}
   2905 cat > confinc << 'END'
   2906 am__doit:
   2907 	@echo this is the am__doit target
   2908 .PHONY: am__doit
   2909 END
   2910 # If we don't find an include directive, just comment out the code.
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2912 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2913 am__include="#"
   2914 am__quote=
   2915 _am_result=none
   2916 # First try GNU make style include.
   2917 echo "include confinc" > confmf
   2918 # Ignore all kinds of additional output from `make'.
   2919 case `$am_make -s -f confmf 2> /dev/null` in #(
   2920 *the\ am__doit\ target*)
   2921   am__include=include
   2922   am__quote=
   2923   _am_result=GNU
   2924   ;;
   2925 esac
   2926 # Now try BSD make style include.
   2927 if test "$am__include" = "#"; then
   2928    echo '.include "confinc"' > confmf
   2929    case `$am_make -s -f confmf 2> /dev/null` in #(
   2930    *the\ am__doit\ target*)
   2931      am__include=.include
   2932      am__quote="\""
   2933      _am_result=BSD
   2934      ;;
   2935    esac
   2936 fi
   2937 
   2938 
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2940 $as_echo "$_am_result" >&6; }
   2941 rm -f confinc confmf
   2942 
   2943 # Check whether --enable-dependency-tracking was given.
   2944 if test "${enable_dependency_tracking+set}" = set; then :
   2945   enableval=$enable_dependency_tracking;
   2946 fi
   2947 
   2948 if test "x$enable_dependency_tracking" != xno; then
   2949   am_depcomp="$ac_aux_dir/depcomp"
   2950   AMDEPBACKSLASH='\'
   2951 fi
   2952  if test "x$enable_dependency_tracking" != xno; then
   2953   AMDEP_TRUE=
   2954   AMDEP_FALSE='#'
   2955 else
   2956   AMDEP_TRUE='#'
   2957   AMDEP_FALSE=
   2958 fi
   2959 
   2960 
   2961 ac_ext=c
   2962 ac_cpp='$CPP $CPPFLAGS'
   2963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2966 if test -n "$ac_tool_prefix"; then
   2967   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2968 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2970 $as_echo_n "checking for $ac_word... " >&6; }
   2971 if ${ac_cv_prog_CC+:} false; then :
   2972   $as_echo_n "(cached) " >&6
   2973 else
   2974   if test -n "$CC"; then
   2975   ac_cv_prog_CC="$CC" # Let the user override the test.
   2976 else
   2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2978 for as_dir in $PATH
   2979 do
   2980   IFS=$as_save_IFS
   2981   test -z "$as_dir" && as_dir=.
   2982     for ac_exec_ext in '' $ac_executable_extensions; do
   2983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2984     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2986     break 2
   2987   fi
   2988 done
   2989   done
   2990 IFS=$as_save_IFS
   2991 
   2992 fi
   2993 fi
   2994 CC=$ac_cv_prog_CC
   2995 if test -n "$CC"; then
   2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2997 $as_echo "$CC" >&6; }
   2998 else
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3000 $as_echo "no" >&6; }
   3001 fi
   3002 
   3003 
   3004 fi
   3005 if test -z "$ac_cv_prog_CC"; then
   3006   ac_ct_CC=$CC
   3007   # Extract the first word of "gcc", so it can be a program name with args.
   3008 set dummy gcc; ac_word=$2
   3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3010 $as_echo_n "checking for $ac_word... " >&6; }
   3011 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3012   $as_echo_n "(cached) " >&6
   3013 else
   3014   if test -n "$ac_ct_CC"; then
   3015   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3016 else
   3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3018 for as_dir in $PATH
   3019 do
   3020   IFS=$as_save_IFS
   3021   test -z "$as_dir" && as_dir=.
   3022     for ac_exec_ext in '' $ac_executable_extensions; do
   3023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3024     ac_cv_prog_ac_ct_CC="gcc"
   3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3026     break 2
   3027   fi
   3028 done
   3029   done
   3030 IFS=$as_save_IFS
   3031 
   3032 fi
   3033 fi
   3034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3035 if test -n "$ac_ct_CC"; then
   3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3037 $as_echo "$ac_ct_CC" >&6; }
   3038 else
   3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3040 $as_echo "no" >&6; }
   3041 fi
   3042 
   3043   if test "x$ac_ct_CC" = x; then
   3044     CC=""
   3045   else
   3046     case $cross_compiling:$ac_tool_warned in
   3047 yes:)
   3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3050 ac_tool_warned=yes ;;
   3051 esac
   3052     CC=$ac_ct_CC
   3053   fi
   3054 else
   3055   CC="$ac_cv_prog_CC"
   3056 fi
   3057 
   3058 if test -z "$CC"; then
   3059           if test -n "$ac_tool_prefix"; then
   3060     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3061 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3063 $as_echo_n "checking for $ac_word... " >&6; }
   3064 if ${ac_cv_prog_CC+:} false; then :
   3065   $as_echo_n "(cached) " >&6
   3066 else
   3067   if test -n "$CC"; then
   3068   ac_cv_prog_CC="$CC" # Let the user override the test.
   3069 else
   3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3071 for as_dir in $PATH
   3072 do
   3073   IFS=$as_save_IFS
   3074   test -z "$as_dir" && as_dir=.
   3075     for ac_exec_ext in '' $ac_executable_extensions; do
   3076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3077     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3079     break 2
   3080   fi
   3081 done
   3082   done
   3083 IFS=$as_save_IFS
   3084 
   3085 fi
   3086 fi
   3087 CC=$ac_cv_prog_CC
   3088 if test -n "$CC"; then
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3090 $as_echo "$CC" >&6; }
   3091 else
   3092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3093 $as_echo "no" >&6; }
   3094 fi
   3095 
   3096 
   3097   fi
   3098 fi
   3099 if test -z "$CC"; then
   3100   # Extract the first word of "cc", so it can be a program name with args.
   3101 set dummy cc; ac_word=$2
   3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3103 $as_echo_n "checking for $ac_word... " >&6; }
   3104 if ${ac_cv_prog_CC+:} false; then :
   3105   $as_echo_n "(cached) " >&6
   3106 else
   3107   if test -n "$CC"; then
   3108   ac_cv_prog_CC="$CC" # Let the user override the test.
   3109 else
   3110   ac_prog_rejected=no
   3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3112 for as_dir in $PATH
   3113 do
   3114   IFS=$as_save_IFS
   3115   test -z "$as_dir" && as_dir=.
   3116     for ac_exec_ext in '' $ac_executable_extensions; do
   3117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3118     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3119        ac_prog_rejected=yes
   3120        continue
   3121      fi
   3122     ac_cv_prog_CC="cc"
   3123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3124     break 2
   3125   fi
   3126 done
   3127   done
   3128 IFS=$as_save_IFS
   3129 
   3130 if test $ac_prog_rejected = yes; then
   3131   # We found a bogon in the path, so make sure we never use it.
   3132   set dummy $ac_cv_prog_CC
   3133   shift
   3134   if test $# != 0; then
   3135     # We chose a different compiler from the bogus one.
   3136     # However, it has the same basename, so the bogon will be chosen
   3137     # first if we set CC to just the basename; use the full file name.
   3138     shift
   3139     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3140   fi
   3141 fi
   3142 fi
   3143 fi
   3144 CC=$ac_cv_prog_CC
   3145 if test -n "$CC"; then
   3146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3147 $as_echo "$CC" >&6; }
   3148 else
   3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3150 $as_echo "no" >&6; }
   3151 fi
   3152 
   3153 
   3154 fi
   3155 if test -z "$CC"; then
   3156   if test -n "$ac_tool_prefix"; then
   3157   for ac_prog in cl.exe
   3158   do
   3159     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3162 $as_echo_n "checking for $ac_word... " >&6; }
   3163 if ${ac_cv_prog_CC+:} false; then :
   3164   $as_echo_n "(cached) " >&6
   3165 else
   3166   if test -n "$CC"; then
   3167   ac_cv_prog_CC="$CC" # Let the user override the test.
   3168 else
   3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3170 for as_dir in $PATH
   3171 do
   3172   IFS=$as_save_IFS
   3173   test -z "$as_dir" && as_dir=.
   3174     for ac_exec_ext in '' $ac_executable_extensions; do
   3175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3176     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3178     break 2
   3179   fi
   3180 done
   3181   done
   3182 IFS=$as_save_IFS
   3183 
   3184 fi
   3185 fi
   3186 CC=$ac_cv_prog_CC
   3187 if test -n "$CC"; then
   3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3189 $as_echo "$CC" >&6; }
   3190 else
   3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3192 $as_echo "no" >&6; }
   3193 fi
   3194 
   3195 
   3196     test -n "$CC" && break
   3197   done
   3198 fi
   3199 if test -z "$CC"; then
   3200   ac_ct_CC=$CC
   3201   for ac_prog in cl.exe
   3202 do
   3203   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3204 set dummy $ac_prog; ac_word=$2
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3206 $as_echo_n "checking for $ac_word... " >&6; }
   3207 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3208   $as_echo_n "(cached) " >&6
   3209 else
   3210   if test -n "$ac_ct_CC"; then
   3211   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3212 else
   3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3214 for as_dir in $PATH
   3215 do
   3216   IFS=$as_save_IFS
   3217   test -z "$as_dir" && as_dir=.
   3218     for ac_exec_ext in '' $ac_executable_extensions; do
   3219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3220     ac_cv_prog_ac_ct_CC="$ac_prog"
   3221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3222     break 2
   3223   fi
   3224 done
   3225   done
   3226 IFS=$as_save_IFS
   3227 
   3228 fi
   3229 fi
   3230 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3231 if test -n "$ac_ct_CC"; then
   3232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3233 $as_echo "$ac_ct_CC" >&6; }
   3234 else
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3236 $as_echo "no" >&6; }
   3237 fi
   3238 
   3239 
   3240   test -n "$ac_ct_CC" && break
   3241 done
   3242 
   3243   if test "x$ac_ct_CC" = x; then
   3244     CC=""
   3245   else
   3246     case $cross_compiling:$ac_tool_warned in
   3247 yes:)
   3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3250 ac_tool_warned=yes ;;
   3251 esac
   3252     CC=$ac_ct_CC
   3253   fi
   3254 fi
   3255 
   3256 fi
   3257 
   3258 
   3259 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3261 as_fn_error $? "no acceptable C compiler found in \$PATH
   3262 See \`config.log' for more details" "$LINENO" 5; }
   3263 
   3264 # Provide some information about the compiler.
   3265 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3266 set X $ac_compile
   3267 ac_compiler=$2
   3268 for ac_option in --version -v -V -qversion; do
   3269   { { ac_try="$ac_compiler $ac_option >&5"
   3270 case "(($ac_try" in
   3271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3272   *) ac_try_echo=$ac_try;;
   3273 esac
   3274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3275 $as_echo "$ac_try_echo"; } >&5
   3276   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3277   ac_status=$?
   3278   if test -s conftest.err; then
   3279     sed '10a\
   3280 ... rest of stderr output deleted ...
   3281          10q' conftest.err >conftest.er1
   3282     cat conftest.er1 >&5
   3283   fi
   3284   rm -f conftest.er1 conftest.err
   3285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3286   test $ac_status = 0; }
   3287 done
   3288 
   3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3290 /* end confdefs.h.  */
   3291 
   3292 int
   3293 main ()
   3294 {
   3295 
   3296   ;
   3297   return 0;
   3298 }
   3299 _ACEOF
   3300 ac_clean_files_save=$ac_clean_files
   3301 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3302 # Try to create an executable without -o first, disregard a.out.
   3303 # It will help us diagnose broken compilers, and finding out an intuition
   3304 # of exeext.
   3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3306 $as_echo_n "checking whether the C compiler works... " >&6; }
   3307 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3308 
   3309 # The possible output files:
   3310 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3311 
   3312 ac_rmfiles=
   3313 for ac_file in $ac_files
   3314 do
   3315   case $ac_file in
   3316     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3317     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3318   esac
   3319 done
   3320 rm -f $ac_rmfiles
   3321 
   3322 if { { ac_try="$ac_link_default"
   3323 case "(($ac_try" in
   3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3325   *) ac_try_echo=$ac_try;;
   3326 esac
   3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3328 $as_echo "$ac_try_echo"; } >&5
   3329   (eval "$ac_link_default") 2>&5
   3330   ac_status=$?
   3331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3332   test $ac_status = 0; }; then :
   3333   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3334 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3335 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3336 # so that the user can short-circuit this test for compilers unknown to
   3337 # Autoconf.
   3338 for ac_file in $ac_files ''
   3339 do
   3340   test -f "$ac_file" || continue
   3341   case $ac_file in
   3342     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3343 	;;
   3344     [ab].out )
   3345 	# We found the default executable, but exeext='' is most
   3346 	# certainly right.
   3347 	break;;
   3348     *.* )
   3349 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3350 	then :; else
   3351 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3352 	fi
   3353 	# We set ac_cv_exeext here because the later test for it is not
   3354 	# safe: cross compilers may not add the suffix if given an `-o'
   3355 	# argument, so we may need to know it at that point already.
   3356 	# Even if this section looks crufty: it has the advantage of
   3357 	# actually working.
   3358 	break;;
   3359     * )
   3360 	break;;
   3361   esac
   3362 done
   3363 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3364 
   3365 else
   3366   ac_file=''
   3367 fi
   3368 if test -z "$ac_file"; then :
   3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3370 $as_echo "no" >&6; }
   3371 $as_echo "$as_me: failed program was:" >&5
   3372 sed 's/^/| /' conftest.$ac_ext >&5
   3373 
   3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3376 as_fn_error 77 "C compiler cannot create executables
   3377 See \`config.log' for more details" "$LINENO" 5; }
   3378 else
   3379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3380 $as_echo "yes" >&6; }
   3381 fi
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3383 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3385 $as_echo "$ac_file" >&6; }
   3386 ac_exeext=$ac_cv_exeext
   3387 
   3388 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3389 ac_clean_files=$ac_clean_files_save
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3391 $as_echo_n "checking for suffix of executables... " >&6; }
   3392 if { { ac_try="$ac_link"
   3393 case "(($ac_try" in
   3394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3395   *) ac_try_echo=$ac_try;;
   3396 esac
   3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3398 $as_echo "$ac_try_echo"; } >&5
   3399   (eval "$ac_link") 2>&5
   3400   ac_status=$?
   3401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3402   test $ac_status = 0; }; then :
   3403   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3404 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3405 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3406 # `rm'.
   3407 for ac_file in conftest.exe conftest conftest.*; do
   3408   test -f "$ac_file" || continue
   3409   case $ac_file in
   3410     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3411     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3412 	  break;;
   3413     * ) break;;
   3414   esac
   3415 done
   3416 else
   3417   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3419 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3420 See \`config.log' for more details" "$LINENO" 5; }
   3421 fi
   3422 rm -f conftest conftest$ac_cv_exeext
   3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3424 $as_echo "$ac_cv_exeext" >&6; }
   3425 
   3426 rm -f conftest.$ac_ext
   3427 EXEEXT=$ac_cv_exeext
   3428 ac_exeext=$EXEEXT
   3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3430 /* end confdefs.h.  */
   3431 #include <stdio.h>
   3432 int
   3433 main ()
   3434 {
   3435 FILE *f = fopen ("conftest.out", "w");
   3436  return ferror (f) || fclose (f) != 0;
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 ac_clean_files="$ac_clean_files conftest.out"
   3443 # Check that the compiler produces executables we can run.  If not, either
   3444 # the compiler is broken, or we cross compile.
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3446 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3447 if test "$cross_compiling" != yes; then
   3448   { { ac_try="$ac_link"
   3449 case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3454 $as_echo "$ac_try_echo"; } >&5
   3455   (eval "$ac_link") 2>&5
   3456   ac_status=$?
   3457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3458   test $ac_status = 0; }
   3459   if { ac_try='./conftest$ac_cv_exeext'
   3460   { { case "(($ac_try" in
   3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3462   *) ac_try_echo=$ac_try;;
   3463 esac
   3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3465 $as_echo "$ac_try_echo"; } >&5
   3466   (eval "$ac_try") 2>&5
   3467   ac_status=$?
   3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3469   test $ac_status = 0; }; }; then
   3470     cross_compiling=no
   3471   else
   3472     if test "$cross_compiling" = maybe; then
   3473 	cross_compiling=yes
   3474     else
   3475 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3477 as_fn_error $? "cannot run C compiled programs.
   3478 If you meant to cross compile, use \`--host'.
   3479 See \`config.log' for more details" "$LINENO" 5; }
   3480     fi
   3481   fi
   3482 fi
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3484 $as_echo "$cross_compiling" >&6; }
   3485 
   3486 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3487 ac_clean_files=$ac_clean_files_save
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3489 $as_echo_n "checking for suffix of object files... " >&6; }
   3490 if ${ac_cv_objext+:} false; then :
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3494 /* end confdefs.h.  */
   3495 
   3496 int
   3497 main ()
   3498 {
   3499 
   3500   ;
   3501   return 0;
   3502 }
   3503 _ACEOF
   3504 rm -f conftest.o conftest.obj
   3505 if { { ac_try="$ac_compile"
   3506 case "(($ac_try" in
   3507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3508   *) ac_try_echo=$ac_try;;
   3509 esac
   3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3511 $as_echo "$ac_try_echo"; } >&5
   3512   (eval "$ac_compile") 2>&5
   3513   ac_status=$?
   3514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3515   test $ac_status = 0; }; then :
   3516   for ac_file in conftest.o conftest.obj conftest.*; do
   3517   test -f "$ac_file" || continue;
   3518   case $ac_file in
   3519     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3520     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3521        break;;
   3522   esac
   3523 done
   3524 else
   3525   $as_echo "$as_me: failed program was:" >&5
   3526 sed 's/^/| /' conftest.$ac_ext >&5
   3527 
   3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3530 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3531 See \`config.log' for more details" "$LINENO" 5; }
   3532 fi
   3533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3534 fi
   3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3536 $as_echo "$ac_cv_objext" >&6; }
   3537 OBJEXT=$ac_cv_objext
   3538 ac_objext=$OBJEXT
   3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3540 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3541 if ${ac_cv_c_compiler_gnu+:} false; then :
   3542   $as_echo_n "(cached) " >&6
   3543 else
   3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3545 /* end confdefs.h.  */
   3546 
   3547 int
   3548 main ()
   3549 {
   3550 #ifndef __GNUC__
   3551        choke me
   3552 #endif
   3553 
   3554   ;
   3555   return 0;
   3556 }
   3557 _ACEOF
   3558 if ac_fn_c_try_compile "$LINENO"; then :
   3559   ac_compiler_gnu=yes
   3560 else
   3561   ac_compiler_gnu=no
   3562 fi
   3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3564 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3565 
   3566 fi
   3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3568 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3569 if test $ac_compiler_gnu = yes; then
   3570   GCC=yes
   3571 else
   3572   GCC=
   3573 fi
   3574 ac_test_CFLAGS=${CFLAGS+set}
   3575 ac_save_CFLAGS=$CFLAGS
   3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3577 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3578 if ${ac_cv_prog_cc_g+:} false; then :
   3579   $as_echo_n "(cached) " >&6
   3580 else
   3581   ac_save_c_werror_flag=$ac_c_werror_flag
   3582    ac_c_werror_flag=yes
   3583    ac_cv_prog_cc_g=no
   3584    CFLAGS="-g"
   3585    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3586 /* end confdefs.h.  */
   3587 
   3588 int
   3589 main ()
   3590 {
   3591 
   3592   ;
   3593   return 0;
   3594 }
   3595 _ACEOF
   3596 if ac_fn_c_try_compile "$LINENO"; then :
   3597   ac_cv_prog_cc_g=yes
   3598 else
   3599   CFLAGS=""
   3600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3601 /* end confdefs.h.  */
   3602 
   3603 int
   3604 main ()
   3605 {
   3606 
   3607   ;
   3608   return 0;
   3609 }
   3610 _ACEOF
   3611 if ac_fn_c_try_compile "$LINENO"; then :
   3612 
   3613 else
   3614   ac_c_werror_flag=$ac_save_c_werror_flag
   3615 	 CFLAGS="-g"
   3616 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3617 /* end confdefs.h.  */
   3618 
   3619 int
   3620 main ()
   3621 {
   3622 
   3623   ;
   3624   return 0;
   3625 }
   3626 _ACEOF
   3627 if ac_fn_c_try_compile "$LINENO"; then :
   3628   ac_cv_prog_cc_g=yes
   3629 fi
   3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3631 fi
   3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3633 fi
   3634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3635    ac_c_werror_flag=$ac_save_c_werror_flag
   3636 fi
   3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3638 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3639 if test "$ac_test_CFLAGS" = set; then
   3640   CFLAGS=$ac_save_CFLAGS
   3641 elif test $ac_cv_prog_cc_g = yes; then
   3642   if test "$GCC" = yes; then
   3643     CFLAGS="-g -O2"
   3644   else
   3645     CFLAGS="-g"
   3646   fi
   3647 else
   3648   if test "$GCC" = yes; then
   3649     CFLAGS="-O2"
   3650   else
   3651     CFLAGS=
   3652   fi
   3653 fi
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3655 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3656 if ${ac_cv_prog_cc_c89+:} false; then :
   3657   $as_echo_n "(cached) " >&6
   3658 else
   3659   ac_cv_prog_cc_c89=no
   3660 ac_save_CC=$CC
   3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3662 /* end confdefs.h.  */
   3663 #include <stdarg.h>
   3664 #include <stdio.h>
   3665 #include <sys/types.h>
   3666 #include <sys/stat.h>
   3667 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3668 struct buf { int x; };
   3669 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3670 static char *e (p, i)
   3671      char **p;
   3672      int i;
   3673 {
   3674   return p[i];
   3675 }
   3676 static char *f (char * (*g) (char **, int), char **p, ...)
   3677 {
   3678   char *s;
   3679   va_list v;
   3680   va_start (v,p);
   3681   s = g (p, va_arg (v,int));
   3682   va_end (v);
   3683   return s;
   3684 }
   3685 
   3686 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3687    function prototypes and stuff, but not '\xHH' hex character constants.
   3688    These don't provoke an error unfortunately, instead are silently treated
   3689    as 'x'.  The following induces an error, until -std is added to get
   3690    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3691    array size at least.  It's necessary to write '\x00'==0 to get something
   3692    that's true only with -std.  */
   3693 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3694 
   3695 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3696    inside strings and character constants.  */
   3697 #define FOO(x) 'x'
   3698 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3699 
   3700 int test (int i, double x);
   3701 struct s1 {int (*f) (int a);};
   3702 struct s2 {int (*f) (double a);};
   3703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3704 int argc;
   3705 char **argv;
   3706 int
   3707 main ()
   3708 {
   3709 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3710   ;
   3711   return 0;
   3712 }
   3713 _ACEOF
   3714 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3715 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3716 do
   3717   CC="$ac_save_CC $ac_arg"
   3718   if ac_fn_c_try_compile "$LINENO"; then :
   3719   ac_cv_prog_cc_c89=$ac_arg
   3720 fi
   3721 rm -f core conftest.err conftest.$ac_objext
   3722   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3723 done
   3724 rm -f conftest.$ac_ext
   3725 CC=$ac_save_CC
   3726 
   3727 fi
   3728 # AC_CACHE_VAL
   3729 case "x$ac_cv_prog_cc_c89" in
   3730   x)
   3731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3732 $as_echo "none needed" >&6; } ;;
   3733   xno)
   3734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3735 $as_echo "unsupported" >&6; } ;;
   3736   *)
   3737     CC="$CC $ac_cv_prog_cc_c89"
   3738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3740 esac
   3741 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3742 
   3743 fi
   3744 
   3745 ac_ext=c
   3746 ac_cpp='$CPP $CPPFLAGS'
   3747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3750 
   3751 depcc="$CC"   am_compiler_list=
   3752 
   3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3754 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3755 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3756   $as_echo_n "(cached) " >&6
   3757 else
   3758   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3759   # We make a subdir and do the tests there.  Otherwise we can end up
   3760   # making bogus files that we don't know about and never remove.  For
   3761   # instance it was reported that on HP-UX the gcc test will end up
   3762   # making a dummy file named `D' -- because `-MD' means `put the output
   3763   # in D'.
   3764   mkdir conftest.dir
   3765   # Copy depcomp to subdir because otherwise we won't find it if we're
   3766   # using a relative directory.
   3767   cp "$am_depcomp" conftest.dir
   3768   cd conftest.dir
   3769   # We will build objects and dependencies in a subdirectory because
   3770   # it helps to detect inapplicable dependency modes.  For instance
   3771   # both Tru64's cc and ICC support -MD to output dependencies as a
   3772   # side effect of compilation, but ICC will put the dependencies in
   3773   # the current directory while Tru64 will put them in the object
   3774   # directory.
   3775   mkdir sub
   3776 
   3777   am_cv_CC_dependencies_compiler_type=none
   3778   if test "$am_compiler_list" = ""; then
   3779      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3780   fi
   3781   am__universal=false
   3782   case " $depcc " in #(
   3783      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3784      esac
   3785 
   3786   for depmode in $am_compiler_list; do
   3787     # Setup a source with many dependencies, because some compilers
   3788     # like to wrap large dependency lists on column 80 (with \), and
   3789     # we should not choose a depcomp mode which is confused by this.
   3790     #
   3791     # We need to recreate these files for each test, as the compiler may
   3792     # overwrite some of them when testing with obscure command lines.
   3793     # This happens at least with the AIX C compiler.
   3794     : > sub/conftest.c
   3795     for i in 1 2 3 4 5 6; do
   3796       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3797       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3798       # Solaris 8's {/usr,}/bin/sh.
   3799       touch sub/conftst$i.h
   3800     done
   3801     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3802 
   3803     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3804     # mode.  It turns out that the SunPro C++ compiler does not properly
   3805     # handle `-M -o', and we need to detect this.  Also, some Intel
   3806     # versions had trouble with output in subdirs
   3807     am__obj=sub/conftest.${OBJEXT-o}
   3808     am__minus_obj="-o $am__obj"
   3809     case $depmode in
   3810     gcc)
   3811       # This depmode causes a compiler race in universal mode.
   3812       test "$am__universal" = false || continue
   3813       ;;
   3814     nosideeffect)
   3815       # after this tag, mechanisms are not by side-effect, so they'll
   3816       # only be used when explicitly requested
   3817       if test "x$enable_dependency_tracking" = xyes; then
   3818 	continue
   3819       else
   3820 	break
   3821       fi
   3822       ;;
   3823     msvisualcpp | msvcmsys)
   3824       # This compiler won't grok `-c -o', but also, the minuso test has
   3825       # not run yet.  These depmodes are late enough in the game, and
   3826       # so weak that their functioning should not be impacted.
   3827       am__obj=conftest.${OBJEXT-o}
   3828       am__minus_obj=
   3829       ;;
   3830     none) break ;;
   3831     esac
   3832     if depmode=$depmode \
   3833        source=sub/conftest.c object=$am__obj \
   3834        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3835        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3836          >/dev/null 2>conftest.err &&
   3837        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3838        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3839        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3840        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3841       # icc doesn't choke on unknown options, it will just issue warnings
   3842       # or remarks (even with -Werror).  So we grep stderr for any message
   3843       # that says an option was ignored or not supported.
   3844       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3845       #   icc: Command line warning: ignoring option '-M'; no argument required
   3846       # The diagnosis changed in icc 8.0:
   3847       #   icc: Command line remark: option '-MP' not supported
   3848       if (grep 'ignoring option' conftest.err ||
   3849           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3850         am_cv_CC_dependencies_compiler_type=$depmode
   3851         break
   3852       fi
   3853     fi
   3854   done
   3855 
   3856   cd ..
   3857   rm -rf conftest.dir
   3858 else
   3859   am_cv_CC_dependencies_compiler_type=none
   3860 fi
   3861 
   3862 fi
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3864 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3865 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3866 
   3867  if
   3868   test "x$enable_dependency_tracking" != xno \
   3869   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3870   am__fastdepCC_TRUE=
   3871   am__fastdepCC_FALSE='#'
   3872 else
   3873   am__fastdepCC_TRUE='#'
   3874   am__fastdepCC_FALSE=
   3875 fi
   3876 
   3877 
   3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3879 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3880 if ${ac_cv_path_SED+:} false; then :
   3881   $as_echo_n "(cached) " >&6
   3882 else
   3883             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3884      for ac_i in 1 2 3 4 5 6 7; do
   3885        ac_script="$ac_script$as_nl$ac_script"
   3886      done
   3887      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3888      { ac_script=; unset ac_script;}
   3889      if test -z "$SED"; then
   3890   ac_path_SED_found=false
   3891   # Loop through the user's path and test for each of PROGNAME-LIST
   3892   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3893 for as_dir in $PATH
   3894 do
   3895   IFS=$as_save_IFS
   3896   test -z "$as_dir" && as_dir=.
   3897     for ac_prog in sed gsed; do
   3898     for ac_exec_ext in '' $ac_executable_extensions; do
   3899       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3900       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3901 # Check for GNU ac_path_SED and select it if it is found.
   3902   # Check for GNU $ac_path_SED
   3903 case `"$ac_path_SED" --version 2>&1` in
   3904 *GNU*)
   3905   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3906 *)
   3907   ac_count=0
   3908   $as_echo_n 0123456789 >"conftest.in"
   3909   while :
   3910   do
   3911     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3912     mv "conftest.tmp" "conftest.in"
   3913     cp "conftest.in" "conftest.nl"
   3914     $as_echo '' >> "conftest.nl"
   3915     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3916     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3917     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3918     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3919       # Best one so far, save it but keep looking for a better one
   3920       ac_cv_path_SED="$ac_path_SED"
   3921       ac_path_SED_max=$ac_count
   3922     fi
   3923     # 10*(2^10) chars as input seems more than enough
   3924     test $ac_count -gt 10 && break
   3925   done
   3926   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3927 esac
   3928 
   3929       $ac_path_SED_found && break 3
   3930     done
   3931   done
   3932   done
   3933 IFS=$as_save_IFS
   3934   if test -z "$ac_cv_path_SED"; then
   3935     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3936   fi
   3937 else
   3938   ac_cv_path_SED=$SED
   3939 fi
   3940 
   3941 fi
   3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3943 $as_echo "$ac_cv_path_SED" >&6; }
   3944  SED="$ac_cv_path_SED"
   3945   rm -f conftest.sed
   3946 
   3947 test -z "$SED" && SED=sed
   3948 Xsed="$SED -e 1s/^X//"
   3949 
   3950 
   3951 
   3952 
   3953 
   3954 
   3955 
   3956 
   3957 
   3958 
   3959 
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3961 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3962 if ${ac_cv_path_GREP+:} false; then :
   3963   $as_echo_n "(cached) " >&6
   3964 else
   3965   if test -z "$GREP"; then
   3966   ac_path_GREP_found=false
   3967   # Loop through the user's path and test for each of PROGNAME-LIST
   3968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3969 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3970 do
   3971   IFS=$as_save_IFS
   3972   test -z "$as_dir" && as_dir=.
   3973     for ac_prog in grep ggrep; do
   3974     for ac_exec_ext in '' $ac_executable_extensions; do
   3975       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3976       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3977 # Check for GNU ac_path_GREP and select it if it is found.
   3978   # Check for GNU $ac_path_GREP
   3979 case `"$ac_path_GREP" --version 2>&1` in
   3980 *GNU*)
   3981   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3982 *)
   3983   ac_count=0
   3984   $as_echo_n 0123456789 >"conftest.in"
   3985   while :
   3986   do
   3987     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3988     mv "conftest.tmp" "conftest.in"
   3989     cp "conftest.in" "conftest.nl"
   3990     $as_echo 'GREP' >> "conftest.nl"
   3991     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3992     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3993     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3994     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3995       # Best one so far, save it but keep looking for a better one
   3996       ac_cv_path_GREP="$ac_path_GREP"
   3997       ac_path_GREP_max=$ac_count
   3998     fi
   3999     # 10*(2^10) chars as input seems more than enough
   4000     test $ac_count -gt 10 && break
   4001   done
   4002   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4003 esac
   4004 
   4005       $ac_path_GREP_found && break 3
   4006     done
   4007   done
   4008   done
   4009 IFS=$as_save_IFS
   4010   if test -z "$ac_cv_path_GREP"; then
   4011     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4012   fi
   4013 else
   4014   ac_cv_path_GREP=$GREP
   4015 fi
   4016 
   4017 fi
   4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4019 $as_echo "$ac_cv_path_GREP" >&6; }
   4020  GREP="$ac_cv_path_GREP"
   4021 
   4022 
   4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4024 $as_echo_n "checking for egrep... " >&6; }
   4025 if ${ac_cv_path_EGREP+:} false; then :
   4026   $as_echo_n "(cached) " >&6
   4027 else
   4028   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4029    then ac_cv_path_EGREP="$GREP -E"
   4030    else
   4031      if test -z "$EGREP"; then
   4032   ac_path_EGREP_found=false
   4033   # Loop through the user's path and test for each of PROGNAME-LIST
   4034   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4036 do
   4037   IFS=$as_save_IFS
   4038   test -z "$as_dir" && as_dir=.
   4039     for ac_prog in egrep; do
   4040     for ac_exec_ext in '' $ac_executable_extensions; do
   4041       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4042       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4043 # Check for GNU ac_path_EGREP and select it if it is found.
   4044   # Check for GNU $ac_path_EGREP
   4045 case `"$ac_path_EGREP" --version 2>&1` in
   4046 *GNU*)
   4047   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4048 *)
   4049   ac_count=0
   4050   $as_echo_n 0123456789 >"conftest.in"
   4051   while :
   4052   do
   4053     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4054     mv "conftest.tmp" "conftest.in"
   4055     cp "conftest.in" "conftest.nl"
   4056     $as_echo 'EGREP' >> "conftest.nl"
   4057     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4058     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4059     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4060     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4061       # Best one so far, save it but keep looking for a better one
   4062       ac_cv_path_EGREP="$ac_path_EGREP"
   4063       ac_path_EGREP_max=$ac_count
   4064     fi
   4065     # 10*(2^10) chars as input seems more than enough
   4066     test $ac_count -gt 10 && break
   4067   done
   4068   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4069 esac
   4070 
   4071       $ac_path_EGREP_found && break 3
   4072     done
   4073   done
   4074   done
   4075 IFS=$as_save_IFS
   4076   if test -z "$ac_cv_path_EGREP"; then
   4077     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4078   fi
   4079 else
   4080   ac_cv_path_EGREP=$EGREP
   4081 fi
   4082 
   4083    fi
   4084 fi
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4086 $as_echo "$ac_cv_path_EGREP" >&6; }
   4087  EGREP="$ac_cv_path_EGREP"
   4088 
   4089 
   4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4091 $as_echo_n "checking for fgrep... " >&6; }
   4092 if ${ac_cv_path_FGREP+:} false; then :
   4093   $as_echo_n "(cached) " >&6
   4094 else
   4095   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4096    then ac_cv_path_FGREP="$GREP -F"
   4097    else
   4098      if test -z "$FGREP"; then
   4099   ac_path_FGREP_found=false
   4100   # Loop through the user's path and test for each of PROGNAME-LIST
   4101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4102 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4103 do
   4104   IFS=$as_save_IFS
   4105   test -z "$as_dir" && as_dir=.
   4106     for ac_prog in fgrep; do
   4107     for ac_exec_ext in '' $ac_executable_extensions; do
   4108       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4109       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4110 # Check for GNU ac_path_FGREP and select it if it is found.
   4111   # Check for GNU $ac_path_FGREP
   4112 case `"$ac_path_FGREP" --version 2>&1` in
   4113 *GNU*)
   4114   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4115 *)
   4116   ac_count=0
   4117   $as_echo_n 0123456789 >"conftest.in"
   4118   while :
   4119   do
   4120     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4121     mv "conftest.tmp" "conftest.in"
   4122     cp "conftest.in" "conftest.nl"
   4123     $as_echo 'FGREP' >> "conftest.nl"
   4124     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4125     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4126     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4127     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4128       # Best one so far, save it but keep looking for a better one
   4129       ac_cv_path_FGREP="$ac_path_FGREP"
   4130       ac_path_FGREP_max=$ac_count
   4131     fi
   4132     # 10*(2^10) chars as input seems more than enough
   4133     test $ac_count -gt 10 && break
   4134   done
   4135   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4136 esac
   4137 
   4138       $ac_path_FGREP_found && break 3
   4139     done
   4140   done
   4141   done
   4142 IFS=$as_save_IFS
   4143   if test -z "$ac_cv_path_FGREP"; then
   4144     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4145   fi
   4146 else
   4147   ac_cv_path_FGREP=$FGREP
   4148 fi
   4149 
   4150    fi
   4151 fi
   4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4153 $as_echo "$ac_cv_path_FGREP" >&6; }
   4154  FGREP="$ac_cv_path_FGREP"
   4155 
   4156 
   4157 test -z "$GREP" && GREP=grep
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 
   4166 
   4167 
   4168 
   4169 
   4170 
   4171 
   4172 
   4173 
   4174 
   4175 
   4176 
   4177 # Check whether --with-gnu-ld was given.
   4178 if test "${with_gnu_ld+set}" = set; then :
   4179   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4180 else
   4181   with_gnu_ld=no
   4182 fi
   4183 
   4184 ac_prog=ld
   4185 if test "$GCC" = yes; then
   4186   # Check if gcc -print-prog-name=ld gives a path.
   4187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4188 $as_echo_n "checking for ld used by $CC... " >&6; }
   4189   case $host in
   4190   *-*-mingw*)
   4191     # gcc leaves a trailing carriage return which upsets mingw
   4192     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4193   *)
   4194     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4195   esac
   4196   case $ac_prog in
   4197     # Accept absolute paths.
   4198     [\\/]* | ?:[\\/]*)
   4199       re_direlt='/[^/][^/]*/\.\./'
   4200       # Canonicalize the pathname of ld
   4201       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4202       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4203 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4204       done
   4205       test -z "$LD" && LD="$ac_prog"
   4206       ;;
   4207   "")
   4208     # If it fails, then pretend we aren't using GCC.
   4209     ac_prog=ld
   4210     ;;
   4211   *)
   4212     # If it is relative, then search for the first ld in PATH.
   4213     with_gnu_ld=unknown
   4214     ;;
   4215   esac
   4216 elif test "$with_gnu_ld" = yes; then
   4217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4218 $as_echo_n "checking for GNU ld... " >&6; }
   4219 else
   4220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4221 $as_echo_n "checking for non-GNU ld... " >&6; }
   4222 fi
   4223 if ${lt_cv_path_LD+:} false; then :
   4224   $as_echo_n "(cached) " >&6
   4225 else
   4226   if test -z "$LD"; then
   4227   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4228   for ac_dir in $PATH; do
   4229     IFS="$lt_save_ifs"
   4230     test -z "$ac_dir" && ac_dir=.
   4231     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4232       lt_cv_path_LD="$ac_dir/$ac_prog"
   4233       # Check to see if the program is GNU ld.  I'd rather use --version,
   4234       # but apparently some variants of GNU ld only accept -v.
   4235       # Break only if it was the GNU/non-GNU ld that we prefer.
   4236       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4237       *GNU* | *'with BFD'*)
   4238 	test "$with_gnu_ld" != no && break
   4239 	;;
   4240       *)
   4241 	test "$with_gnu_ld" != yes && break
   4242 	;;
   4243       esac
   4244     fi
   4245   done
   4246   IFS="$lt_save_ifs"
   4247 else
   4248   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4249 fi
   4250 fi
   4251 
   4252 LD="$lt_cv_path_LD"
   4253 if test -n "$LD"; then
   4254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4255 $as_echo "$LD" >&6; }
   4256 else
   4257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4258 $as_echo "no" >&6; }
   4259 fi
   4260 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4262 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4263 if ${lt_cv_prog_gnu_ld+:} false; then :
   4264   $as_echo_n "(cached) " >&6
   4265 else
   4266   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4267 case `$LD -v 2>&1 </dev/null` in
   4268 *GNU* | *'with BFD'*)
   4269   lt_cv_prog_gnu_ld=yes
   4270   ;;
   4271 *)
   4272   lt_cv_prog_gnu_ld=no
   4273   ;;
   4274 esac
   4275 fi
   4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4277 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4278 with_gnu_ld=$lt_cv_prog_gnu_ld
   4279 
   4280 
   4281 
   4282 
   4283 
   4284 
   4285 
   4286 
   4287 
   4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4289 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4290 if ${lt_cv_path_NM+:} false; then :
   4291   $as_echo_n "(cached) " >&6
   4292 else
   4293   if test -n "$NM"; then
   4294   # Let the user override the test.
   4295   lt_cv_path_NM="$NM"
   4296 else
   4297   lt_nm_to_check="${ac_tool_prefix}nm"
   4298   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4299     lt_nm_to_check="$lt_nm_to_check nm"
   4300   fi
   4301   for lt_tmp_nm in $lt_nm_to_check; do
   4302     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4303     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4304       IFS="$lt_save_ifs"
   4305       test -z "$ac_dir" && ac_dir=.
   4306       tmp_nm="$ac_dir/$lt_tmp_nm"
   4307       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4308 	# Check to see if the nm accepts a BSD-compat flag.
   4309 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4310 	#   nm: unknown option "B" ignored
   4311 	# Tru64's nm complains that /dev/null is an invalid object file
   4312 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4313 	*/dev/null* | *'Invalid file or object type'*)
   4314 	  lt_cv_path_NM="$tmp_nm -B"
   4315 	  break
   4316 	  ;;
   4317 	*)
   4318 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4319 	  */dev/null*)
   4320 	    lt_cv_path_NM="$tmp_nm -p"
   4321 	    break
   4322 	    ;;
   4323 	  *)
   4324 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4325 	    continue # so that we can try to find one that supports BSD flags
   4326 	    ;;
   4327 	  esac
   4328 	  ;;
   4329 	esac
   4330       fi
   4331     done
   4332     IFS="$lt_save_ifs"
   4333   done
   4334   : ${lt_cv_path_NM=no}
   4335 fi
   4336 fi
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4338 $as_echo "$lt_cv_path_NM" >&6; }
   4339 if test "$lt_cv_path_NM" != "no"; then
   4340   NM="$lt_cv_path_NM"
   4341 else
   4342   # Didn't find any BSD compatible name lister, look for dumpbin.
   4343   if test -n "$DUMPBIN"; then :
   4344     # Let the user override the test.
   4345   else
   4346     if test -n "$ac_tool_prefix"; then
   4347   for ac_prog in dumpbin "link -dump"
   4348   do
   4349     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4350 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4352 $as_echo_n "checking for $ac_word... " >&6; }
   4353 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4354   $as_echo_n "(cached) " >&6
   4355 else
   4356   if test -n "$DUMPBIN"; then
   4357   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4358 else
   4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4360 for as_dir in $PATH
   4361 do
   4362   IFS=$as_save_IFS
   4363   test -z "$as_dir" && as_dir=.
   4364     for ac_exec_ext in '' $ac_executable_extensions; do
   4365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4366     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4368     break 2
   4369   fi
   4370 done
   4371   done
   4372 IFS=$as_save_IFS
   4373 
   4374 fi
   4375 fi
   4376 DUMPBIN=$ac_cv_prog_DUMPBIN
   4377 if test -n "$DUMPBIN"; then
   4378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4379 $as_echo "$DUMPBIN" >&6; }
   4380 else
   4381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4382 $as_echo "no" >&6; }
   4383 fi
   4384 
   4385 
   4386     test -n "$DUMPBIN" && break
   4387   done
   4388 fi
   4389 if test -z "$DUMPBIN"; then
   4390   ac_ct_DUMPBIN=$DUMPBIN
   4391   for ac_prog in dumpbin "link -dump"
   4392 do
   4393   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4394 set dummy $ac_prog; ac_word=$2
   4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4396 $as_echo_n "checking for $ac_word... " >&6; }
   4397 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4398   $as_echo_n "(cached) " >&6
   4399 else
   4400   if test -n "$ac_ct_DUMPBIN"; then
   4401   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4402 else
   4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4404 for as_dir in $PATH
   4405 do
   4406   IFS=$as_save_IFS
   4407   test -z "$as_dir" && as_dir=.
   4408     for ac_exec_ext in '' $ac_executable_extensions; do
   4409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4410     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4412     break 2
   4413   fi
   4414 done
   4415   done
   4416 IFS=$as_save_IFS
   4417 
   4418 fi
   4419 fi
   4420 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4421 if test -n "$ac_ct_DUMPBIN"; then
   4422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4423 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4424 else
   4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4426 $as_echo "no" >&6; }
   4427 fi
   4428 
   4429 
   4430   test -n "$ac_ct_DUMPBIN" && break
   4431 done
   4432 
   4433   if test "x$ac_ct_DUMPBIN" = x; then
   4434     DUMPBIN=":"
   4435   else
   4436     case $cross_compiling:$ac_tool_warned in
   4437 yes:)
   4438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4440 ac_tool_warned=yes ;;
   4441 esac
   4442     DUMPBIN=$ac_ct_DUMPBIN
   4443   fi
   4444 fi
   4445 
   4446     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4447     *COFF*)
   4448       DUMPBIN="$DUMPBIN -symbols"
   4449       ;;
   4450     *)
   4451       DUMPBIN=:
   4452       ;;
   4453     esac
   4454   fi
   4455 
   4456   if test "$DUMPBIN" != ":"; then
   4457     NM="$DUMPBIN"
   4458   fi
   4459 fi
   4460 test -z "$NM" && NM=nm
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 
   4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4468 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4469 if ${lt_cv_nm_interface+:} false; then :
   4470   $as_echo_n "(cached) " >&6
   4471 else
   4472   lt_cv_nm_interface="BSD nm"
   4473   echo "int some_variable = 0;" > conftest.$ac_ext
   4474   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4475   (eval "$ac_compile" 2>conftest.err)
   4476   cat conftest.err >&5
   4477   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4478   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4479   cat conftest.err >&5
   4480   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4481   cat conftest.out >&5
   4482   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4483     lt_cv_nm_interface="MS dumpbin"
   4484   fi
   4485   rm -f conftest*
   4486 fi
   4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4488 $as_echo "$lt_cv_nm_interface" >&6; }
   4489 
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4491 $as_echo_n "checking whether ln -s works... " >&6; }
   4492 LN_S=$as_ln_s
   4493 if test "$LN_S" = "ln -s"; then
   4494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4495 $as_echo "yes" >&6; }
   4496 else
   4497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4498 $as_echo "no, using $LN_S" >&6; }
   4499 fi
   4500 
   4501 # find the maximum length of command line arguments
   4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4503 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4504 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4505   $as_echo_n "(cached) " >&6
   4506 else
   4507     i=0
   4508   teststring="ABCD"
   4509 
   4510   case $build_os in
   4511   msdosdjgpp*)
   4512     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4513     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4514     # during glob expansion).  Even if it were fixed, the result of this
   4515     # check would be larger than it should be.
   4516     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4517     ;;
   4518 
   4519   gnu*)
   4520     # Under GNU Hurd, this test is not required because there is
   4521     # no limit to the length of command line arguments.
   4522     # Libtool will interpret -1 as no limit whatsoever
   4523     lt_cv_sys_max_cmd_len=-1;
   4524     ;;
   4525 
   4526   cygwin* | mingw* | cegcc*)
   4527     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4528     # about 5 minutes as the teststring grows exponentially.
   4529     # Worse, since 9x/ME are not pre-emptively multitasking,
   4530     # you end up with a "frozen" computer, even though with patience
   4531     # the test eventually succeeds (with a max line length of 256k).
   4532     # Instead, let's just punt: use the minimum linelength reported by
   4533     # all of the supported platforms: 8192 (on NT/2K/XP).
   4534     lt_cv_sys_max_cmd_len=8192;
   4535     ;;
   4536 
   4537   mint*)
   4538     # On MiNT this can take a long time and run out of memory.
   4539     lt_cv_sys_max_cmd_len=8192;
   4540     ;;
   4541 
   4542   amigaos*)
   4543     # On AmigaOS with pdksh, this test takes hours, literally.
   4544     # So we just punt and use a minimum line length of 8192.
   4545     lt_cv_sys_max_cmd_len=8192;
   4546     ;;
   4547 
   4548   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4549     # This has been around since 386BSD, at least.  Likely further.
   4550     if test -x /sbin/sysctl; then
   4551       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4552     elif test -x /usr/sbin/sysctl; then
   4553       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4554     else
   4555       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4556     fi
   4557     # And add a safety zone
   4558     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4559     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4560     ;;
   4561 
   4562   interix*)
   4563     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4564     lt_cv_sys_max_cmd_len=196608
   4565     ;;
   4566 
   4567   osf*)
   4568     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4569     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4570     # nice to cause kernel panics so lets avoid the loop below.
   4571     # First set a reasonable default.
   4572     lt_cv_sys_max_cmd_len=16384
   4573     #
   4574     if test -x /sbin/sysconfig; then
   4575       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4576         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4577       esac
   4578     fi
   4579     ;;
   4580   sco3.2v5*)
   4581     lt_cv_sys_max_cmd_len=102400
   4582     ;;
   4583   sysv5* | sco5v6* | sysv4.2uw2*)
   4584     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4585     if test -n "$kargmax"; then
   4586       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4587     else
   4588       lt_cv_sys_max_cmd_len=32768
   4589     fi
   4590     ;;
   4591   *)
   4592     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4593     if test -n "$lt_cv_sys_max_cmd_len"; then
   4594       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4595       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4596     else
   4597       # Make teststring a little bigger before we do anything with it.
   4598       # a 1K string should be a reasonable start.
   4599       for i in 1 2 3 4 5 6 7 8 ; do
   4600         teststring=$teststring$teststring
   4601       done
   4602       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4603       # If test is not a shell built-in, we'll probably end up computing a
   4604       # maximum length that is only half of the actual maximum length, but
   4605       # we can't tell.
   4606       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4607 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4608 	      test $i != 17 # 1/2 MB should be enough
   4609       do
   4610         i=`expr $i + 1`
   4611         teststring=$teststring$teststring
   4612       done
   4613       # Only check the string length outside the loop.
   4614       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4615       teststring=
   4616       # Add a significant safety factor because C++ compilers can tack on
   4617       # massive amounts of additional arguments before passing them to the
   4618       # linker.  It appears as though 1/2 is a usable value.
   4619       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4620     fi
   4621     ;;
   4622   esac
   4623 
   4624 fi
   4625 
   4626 if test -n $lt_cv_sys_max_cmd_len ; then
   4627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4628 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4629 else
   4630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4631 $as_echo "none" >&6; }
   4632 fi
   4633 max_cmd_len=$lt_cv_sys_max_cmd_len
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 : ${CP="cp -f"}
   4641 : ${MV="mv -f"}
   4642 : ${RM="rm -f"}
   4643 
   4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4645 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4646 # Try some XSI features
   4647 xsi_shell=no
   4648 ( _lt_dummy="a/b/c"
   4649   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4650       = c,a/b,b/c, \
   4651     && eval 'test $(( 1 + 1 )) -eq 2 \
   4652     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4653   && xsi_shell=yes
   4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4655 $as_echo "$xsi_shell" >&6; }
   4656 
   4657 
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4659 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4660 lt_shell_append=no
   4661 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4662     >/dev/null 2>&1 \
   4663   && lt_shell_append=yes
   4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4665 $as_echo "$lt_shell_append" >&6; }
   4666 
   4667 
   4668 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4669   lt_unset=unset
   4670 else
   4671   lt_unset=false
   4672 fi
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 # test EBCDIC or ASCII
   4679 case `echo X|tr X '\101'` in
   4680  A) # ASCII based system
   4681     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4682   lt_SP2NL='tr \040 \012'
   4683   lt_NL2SP='tr \015\012 \040\040'
   4684   ;;
   4685  *) # EBCDIC based system
   4686   lt_SP2NL='tr \100 \n'
   4687   lt_NL2SP='tr \r\n \100\100'
   4688   ;;
   4689 esac
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4700 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4701 if ${lt_cv_to_host_file_cmd+:} false; then :
   4702   $as_echo_n "(cached) " >&6
   4703 else
   4704   case $host in
   4705   *-*-mingw* )
   4706     case $build in
   4707       *-*-mingw* ) # actually msys
   4708         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4709         ;;
   4710       *-*-cygwin* )
   4711         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4712         ;;
   4713       * ) # otherwise, assume *nix
   4714         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4715         ;;
   4716     esac
   4717     ;;
   4718   *-*-cygwin* )
   4719     case $build in
   4720       *-*-mingw* ) # actually msys
   4721         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4722         ;;
   4723       *-*-cygwin* )
   4724         lt_cv_to_host_file_cmd=func_convert_file_noop
   4725         ;;
   4726       * ) # otherwise, assume *nix
   4727         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4728         ;;
   4729     esac
   4730     ;;
   4731   * ) # unhandled hosts (and "normal" native builds)
   4732     lt_cv_to_host_file_cmd=func_convert_file_noop
   4733     ;;
   4734 esac
   4735 
   4736 fi
   4737 
   4738 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4740 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4747 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4748 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4749   $as_echo_n "(cached) " >&6
   4750 else
   4751   #assume ordinary cross tools, or native build.
   4752 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4753 case $host in
   4754   *-*-mingw* )
   4755     case $build in
   4756       *-*-mingw* ) # actually msys
   4757         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4758         ;;
   4759     esac
   4760     ;;
   4761 esac
   4762 
   4763 fi
   4764 
   4765 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4767 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4774 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4775 if ${lt_cv_ld_reload_flag+:} false; then :
   4776   $as_echo_n "(cached) " >&6
   4777 else
   4778   lt_cv_ld_reload_flag='-r'
   4779 fi
   4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4781 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4782 reload_flag=$lt_cv_ld_reload_flag
   4783 case $reload_flag in
   4784 "" | " "*) ;;
   4785 *) reload_flag=" $reload_flag" ;;
   4786 esac
   4787 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4788 case $host_os in
   4789   cygwin* | mingw* | pw32* | cegcc*)
   4790     if test "$GCC" != yes; then
   4791       reload_cmds=false
   4792     fi
   4793     ;;
   4794   darwin*)
   4795     if test "$GCC" = yes; then
   4796       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4797     else
   4798       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4799     fi
   4800     ;;
   4801 esac
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 if test -n "$ac_tool_prefix"; then
   4812   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4813 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4815 $as_echo_n "checking for $ac_word... " >&6; }
   4816 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4817   $as_echo_n "(cached) " >&6
   4818 else
   4819   if test -n "$OBJDUMP"; then
   4820   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4821 else
   4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4823 for as_dir in $PATH
   4824 do
   4825   IFS=$as_save_IFS
   4826   test -z "$as_dir" && as_dir=.
   4827     for ac_exec_ext in '' $ac_executable_extensions; do
   4828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4829     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4831     break 2
   4832   fi
   4833 done
   4834   done
   4835 IFS=$as_save_IFS
   4836 
   4837 fi
   4838 fi
   4839 OBJDUMP=$ac_cv_prog_OBJDUMP
   4840 if test -n "$OBJDUMP"; then
   4841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4842 $as_echo "$OBJDUMP" >&6; }
   4843 else
   4844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4845 $as_echo "no" >&6; }
   4846 fi
   4847 
   4848 
   4849 fi
   4850 if test -z "$ac_cv_prog_OBJDUMP"; then
   4851   ac_ct_OBJDUMP=$OBJDUMP
   4852   # Extract the first word of "objdump", so it can be a program name with args.
   4853 set dummy objdump; ac_word=$2
   4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4855 $as_echo_n "checking for $ac_word... " >&6; }
   4856 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4857   $as_echo_n "(cached) " >&6
   4858 else
   4859   if test -n "$ac_ct_OBJDUMP"; then
   4860   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4861 else
   4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4863 for as_dir in $PATH
   4864 do
   4865   IFS=$as_save_IFS
   4866   test -z "$as_dir" && as_dir=.
   4867     for ac_exec_ext in '' $ac_executable_extensions; do
   4868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4869     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4871     break 2
   4872   fi
   4873 done
   4874   done
   4875 IFS=$as_save_IFS
   4876 
   4877 fi
   4878 fi
   4879 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4880 if test -n "$ac_ct_OBJDUMP"; then
   4881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4882 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4883 else
   4884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4885 $as_echo "no" >&6; }
   4886 fi
   4887 
   4888   if test "x$ac_ct_OBJDUMP" = x; then
   4889     OBJDUMP="false"
   4890   else
   4891     case $cross_compiling:$ac_tool_warned in
   4892 yes:)
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4895 ac_tool_warned=yes ;;
   4896 esac
   4897     OBJDUMP=$ac_ct_OBJDUMP
   4898   fi
   4899 else
   4900   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4901 fi
   4902 
   4903 test -z "$OBJDUMP" && OBJDUMP=objdump
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4914 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4915 if ${lt_cv_deplibs_check_method+:} false; then :
   4916   $as_echo_n "(cached) " >&6
   4917 else
   4918   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4919 lt_cv_file_magic_test_file=
   4920 lt_cv_deplibs_check_method='unknown'
   4921 # Need to set the preceding variable on all platforms that support
   4922 # interlibrary dependencies.
   4923 # 'none' -- dependencies not supported.
   4924 # `unknown' -- same as none, but documents that we really don't know.
   4925 # 'pass_all' -- all dependencies passed with no checks.
   4926 # 'test_compile' -- check by making test program.
   4927 # 'file_magic [[regex]]' -- check by looking for files in library path
   4928 # which responds to the $file_magic_cmd with a given extended regex.
   4929 # If you have `file' or equivalent on your system and you're not sure
   4930 # whether `pass_all' will *always* work, you probably want this one.
   4931 
   4932 case $host_os in
   4933 aix[4-9]*)
   4934   lt_cv_deplibs_check_method=pass_all
   4935   ;;
   4936 
   4937 beos*)
   4938   lt_cv_deplibs_check_method=pass_all
   4939   ;;
   4940 
   4941 bsdi[45]*)
   4942   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4943   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4944   lt_cv_file_magic_test_file=/shlib/libc.so
   4945   ;;
   4946 
   4947 cygwin*)
   4948   # func_win32_libid is a shell function defined in ltmain.sh
   4949   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4950   lt_cv_file_magic_cmd='func_win32_libid'
   4951   ;;
   4952 
   4953 mingw* | pw32*)
   4954   # Base MSYS/MinGW do not provide the 'file' command needed by
   4955   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4956   # unless we find 'file', for example because we are cross-compiling.
   4957   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   4958   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   4959     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4960     lt_cv_file_magic_cmd='func_win32_libid'
   4961   else
   4962     # Keep this pattern in sync with the one in func_win32_libid.
   4963     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   4964     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4965   fi
   4966   ;;
   4967 
   4968 cegcc*)
   4969   # use the weaker test based on 'objdump'. See mingw*.
   4970   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4971   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4972   ;;
   4973 
   4974 darwin* | rhapsody*)
   4975   lt_cv_deplibs_check_method=pass_all
   4976   ;;
   4977 
   4978 freebsd* | dragonfly*)
   4979   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4980     case $host_cpu in
   4981     i*86 )
   4982       # Not sure whether the presence of OpenBSD here was a mistake.
   4983       # Let's accept both of them until this is cleared up.
   4984       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4985       lt_cv_file_magic_cmd=/usr/bin/file
   4986       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4987       ;;
   4988     esac
   4989   else
   4990     lt_cv_deplibs_check_method=pass_all
   4991   fi
   4992   ;;
   4993 
   4994 gnu*)
   4995   lt_cv_deplibs_check_method=pass_all
   4996   ;;
   4997 
   4998 haiku*)
   4999   lt_cv_deplibs_check_method=pass_all
   5000   ;;
   5001 
   5002 hpux10.20* | hpux11*)
   5003   lt_cv_file_magic_cmd=/usr/bin/file
   5004   case $host_cpu in
   5005   ia64*)
   5006     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5007     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5008     ;;
   5009   hppa*64*)
   5010     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]'
   5011     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5012     ;;
   5013   *)
   5014     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5015     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5016     ;;
   5017   esac
   5018   ;;
   5019 
   5020 interix[3-9]*)
   5021   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5022   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5023   ;;
   5024 
   5025 irix5* | irix6* | nonstopux*)
   5026   case $LD in
   5027   *-32|*"-32 ") libmagic=32-bit;;
   5028   *-n32|*"-n32 ") libmagic=N32;;
   5029   *-64|*"-64 ") libmagic=64-bit;;
   5030   *) libmagic=never-match;;
   5031   esac
   5032   lt_cv_deplibs_check_method=pass_all
   5033   ;;
   5034 
   5035 # This must be Linux ELF.
   5036 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5037   lt_cv_deplibs_check_method=pass_all
   5038   ;;
   5039 
   5040 netbsd*)
   5041   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5042     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5043   else
   5044     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5045   fi
   5046   ;;
   5047 
   5048 newos6*)
   5049   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5050   lt_cv_file_magic_cmd=/usr/bin/file
   5051   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5052   ;;
   5053 
   5054 *nto* | *qnx*)
   5055   lt_cv_deplibs_check_method=pass_all
   5056   ;;
   5057 
   5058 openbsd*)
   5059   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5060     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5061   else
   5062     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5063   fi
   5064   ;;
   5065 
   5066 osf3* | osf4* | osf5*)
   5067   lt_cv_deplibs_check_method=pass_all
   5068   ;;
   5069 
   5070 rdos*)
   5071   lt_cv_deplibs_check_method=pass_all
   5072   ;;
   5073 
   5074 solaris*)
   5075   lt_cv_deplibs_check_method=pass_all
   5076   ;;
   5077 
   5078 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5079   lt_cv_deplibs_check_method=pass_all
   5080   ;;
   5081 
   5082 sysv4 | sysv4.3*)
   5083   case $host_vendor in
   5084   motorola)
   5085     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]'
   5086     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5087     ;;
   5088   ncr)
   5089     lt_cv_deplibs_check_method=pass_all
   5090     ;;
   5091   sequent)
   5092     lt_cv_file_magic_cmd='/bin/file'
   5093     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5094     ;;
   5095   sni)
   5096     lt_cv_file_magic_cmd='/bin/file'
   5097     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5098     lt_cv_file_magic_test_file=/lib/libc.so
   5099     ;;
   5100   siemens)
   5101     lt_cv_deplibs_check_method=pass_all
   5102     ;;
   5103   pc)
   5104     lt_cv_deplibs_check_method=pass_all
   5105     ;;
   5106   esac
   5107   ;;
   5108 
   5109 tpf*)
   5110   lt_cv_deplibs_check_method=pass_all
   5111   ;;
   5112 esac
   5113 
   5114 fi
   5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5116 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5117 
   5118 file_magic_glob=
   5119 want_nocaseglob=no
   5120 if test "$build" = "$host"; then
   5121   case $host_os in
   5122   mingw* | pw32*)
   5123     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5124       want_nocaseglob=yes
   5125     else
   5126       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5127     fi
   5128     ;;
   5129   esac
   5130 fi
   5131 
   5132 file_magic_cmd=$lt_cv_file_magic_cmd
   5133 deplibs_check_method=$lt_cv_deplibs_check_method
   5134 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 if test -n "$ac_tool_prefix"; then
   5158   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5159 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5161 $as_echo_n "checking for $ac_word... " >&6; }
   5162 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5163   $as_echo_n "(cached) " >&6
   5164 else
   5165   if test -n "$DLLTOOL"; then
   5166   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5167 else
   5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5169 for as_dir in $PATH
   5170 do
   5171   IFS=$as_save_IFS
   5172   test -z "$as_dir" && as_dir=.
   5173     for ac_exec_ext in '' $ac_executable_extensions; do
   5174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5175     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5177     break 2
   5178   fi
   5179 done
   5180   done
   5181 IFS=$as_save_IFS
   5182 
   5183 fi
   5184 fi
   5185 DLLTOOL=$ac_cv_prog_DLLTOOL
   5186 if test -n "$DLLTOOL"; then
   5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5188 $as_echo "$DLLTOOL" >&6; }
   5189 else
   5190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5191 $as_echo "no" >&6; }
   5192 fi
   5193 
   5194 
   5195 fi
   5196 if test -z "$ac_cv_prog_DLLTOOL"; then
   5197   ac_ct_DLLTOOL=$DLLTOOL
   5198   # Extract the first word of "dlltool", so it can be a program name with args.
   5199 set dummy dlltool; ac_word=$2
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5201 $as_echo_n "checking for $ac_word... " >&6; }
   5202 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5203   $as_echo_n "(cached) " >&6
   5204 else
   5205   if test -n "$ac_ct_DLLTOOL"; then
   5206   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5207 else
   5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5209 for as_dir in $PATH
   5210 do
   5211   IFS=$as_save_IFS
   5212   test -z "$as_dir" && as_dir=.
   5213     for ac_exec_ext in '' $ac_executable_extensions; do
   5214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5215     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5217     break 2
   5218   fi
   5219 done
   5220   done
   5221 IFS=$as_save_IFS
   5222 
   5223 fi
   5224 fi
   5225 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5226 if test -n "$ac_ct_DLLTOOL"; then
   5227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5228 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5229 else
   5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5231 $as_echo "no" >&6; }
   5232 fi
   5233 
   5234   if test "x$ac_ct_DLLTOOL" = x; then
   5235     DLLTOOL="false"
   5236   else
   5237     case $cross_compiling:$ac_tool_warned in
   5238 yes:)
   5239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5241 ac_tool_warned=yes ;;
   5242 esac
   5243     DLLTOOL=$ac_ct_DLLTOOL
   5244   fi
   5245 else
   5246   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5247 fi
   5248 
   5249 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5261 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5262 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5263   $as_echo_n "(cached) " >&6
   5264 else
   5265   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5266 
   5267 case $host_os in
   5268 cygwin* | mingw* | pw32* | cegcc*)
   5269   # two different shell functions defined in ltmain.sh
   5270   # decide which to use based on capabilities of $DLLTOOL
   5271   case `$DLLTOOL --help 2>&1` in
   5272   *--identify-strict*)
   5273     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5274     ;;
   5275   *)
   5276     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5277     ;;
   5278   esac
   5279   ;;
   5280 *)
   5281   # fallback: assume linklib IS sharedlib
   5282   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5283   ;;
   5284 esac
   5285 
   5286 fi
   5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5288 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5289 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5290 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 if test -n "$ac_tool_prefix"; then
   5300   for ac_prog in ar
   5301   do
   5302     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5305 $as_echo_n "checking for $ac_word... " >&6; }
   5306 if ${ac_cv_prog_AR+:} false; then :
   5307   $as_echo_n "(cached) " >&6
   5308 else
   5309   if test -n "$AR"; then
   5310   ac_cv_prog_AR="$AR" # Let the user override the test.
   5311 else
   5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5313 for as_dir in $PATH
   5314 do
   5315   IFS=$as_save_IFS
   5316   test -z "$as_dir" && as_dir=.
   5317     for ac_exec_ext in '' $ac_executable_extensions; do
   5318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5319     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5321     break 2
   5322   fi
   5323 done
   5324   done
   5325 IFS=$as_save_IFS
   5326 
   5327 fi
   5328 fi
   5329 AR=$ac_cv_prog_AR
   5330 if test -n "$AR"; then
   5331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5332 $as_echo "$AR" >&6; }
   5333 else
   5334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5335 $as_echo "no" >&6; }
   5336 fi
   5337 
   5338 
   5339     test -n "$AR" && break
   5340   done
   5341 fi
   5342 if test -z "$AR"; then
   5343   ac_ct_AR=$AR
   5344   for ac_prog in ar
   5345 do
   5346   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5347 set dummy $ac_prog; ac_word=$2
   5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5349 $as_echo_n "checking for $ac_word... " >&6; }
   5350 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5351   $as_echo_n "(cached) " >&6
   5352 else
   5353   if test -n "$ac_ct_AR"; then
   5354   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5355 else
   5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5357 for as_dir in $PATH
   5358 do
   5359   IFS=$as_save_IFS
   5360   test -z "$as_dir" && as_dir=.
   5361     for ac_exec_ext in '' $ac_executable_extensions; do
   5362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5363     ac_cv_prog_ac_ct_AR="$ac_prog"
   5364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5365     break 2
   5366   fi
   5367 done
   5368   done
   5369 IFS=$as_save_IFS
   5370 
   5371 fi
   5372 fi
   5373 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5374 if test -n "$ac_ct_AR"; then
   5375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5376 $as_echo "$ac_ct_AR" >&6; }
   5377 else
   5378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5379 $as_echo "no" >&6; }
   5380 fi
   5381 
   5382 
   5383   test -n "$ac_ct_AR" && break
   5384 done
   5385 
   5386   if test "x$ac_ct_AR" = x; then
   5387     AR="false"
   5388   else
   5389     case $cross_compiling:$ac_tool_warned in
   5390 yes:)
   5391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5393 ac_tool_warned=yes ;;
   5394 esac
   5395     AR=$ac_ct_AR
   5396   fi
   5397 fi
   5398 
   5399 : ${AR=ar}
   5400 : ${AR_FLAGS=cru}
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5413 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5414 if ${lt_cv_ar_at_file+:} false; then :
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   lt_cv_ar_at_file=no
   5418    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5419 /* end confdefs.h.  */
   5420 
   5421 int
   5422 main ()
   5423 {
   5424 
   5425   ;
   5426   return 0;
   5427 }
   5428 _ACEOF
   5429 if ac_fn_c_try_compile "$LINENO"; then :
   5430   echo conftest.$ac_objext > conftest.lst
   5431       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5432       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5433   (eval $lt_ar_try) 2>&5
   5434   ac_status=$?
   5435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5436   test $ac_status = 0; }
   5437       if test "$ac_status" -eq 0; then
   5438 	# Ensure the archiver fails upon bogus file names.
   5439 	rm -f conftest.$ac_objext libconftest.a
   5440 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5441   (eval $lt_ar_try) 2>&5
   5442   ac_status=$?
   5443   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5444   test $ac_status = 0; }
   5445 	if test "$ac_status" -ne 0; then
   5446           lt_cv_ar_at_file=@
   5447         fi
   5448       fi
   5449       rm -f conftest.* libconftest.a
   5450 
   5451 fi
   5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5453 
   5454 fi
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5456 $as_echo "$lt_cv_ar_at_file" >&6; }
   5457 
   5458 if test "x$lt_cv_ar_at_file" = xno; then
   5459   archiver_list_spec=
   5460 else
   5461   archiver_list_spec=$lt_cv_ar_at_file
   5462 fi
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 if test -n "$ac_tool_prefix"; then
   5471   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5472 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5474 $as_echo_n "checking for $ac_word... " >&6; }
   5475 if ${ac_cv_prog_STRIP+:} false; then :
   5476   $as_echo_n "(cached) " >&6
   5477 else
   5478   if test -n "$STRIP"; then
   5479   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5480 else
   5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5482 for as_dir in $PATH
   5483 do
   5484   IFS=$as_save_IFS
   5485   test -z "$as_dir" && as_dir=.
   5486     for ac_exec_ext in '' $ac_executable_extensions; do
   5487   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5488     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5490     break 2
   5491   fi
   5492 done
   5493   done
   5494 IFS=$as_save_IFS
   5495 
   5496 fi
   5497 fi
   5498 STRIP=$ac_cv_prog_STRIP
   5499 if test -n "$STRIP"; then
   5500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5501 $as_echo "$STRIP" >&6; }
   5502 else
   5503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5504 $as_echo "no" >&6; }
   5505 fi
   5506 
   5507 
   5508 fi
   5509 if test -z "$ac_cv_prog_STRIP"; then
   5510   ac_ct_STRIP=$STRIP
   5511   # Extract the first word of "strip", so it can be a program name with args.
   5512 set dummy strip; ac_word=$2
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5514 $as_echo_n "checking for $ac_word... " >&6; }
   5515 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   if test -n "$ac_ct_STRIP"; then
   5519   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5520 else
   5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5522 for as_dir in $PATH
   5523 do
   5524   IFS=$as_save_IFS
   5525   test -z "$as_dir" && as_dir=.
   5526     for ac_exec_ext in '' $ac_executable_extensions; do
   5527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5528     ac_cv_prog_ac_ct_STRIP="strip"
   5529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5530     break 2
   5531   fi
   5532 done
   5533   done
   5534 IFS=$as_save_IFS
   5535 
   5536 fi
   5537 fi
   5538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5539 if test -n "$ac_ct_STRIP"; then
   5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5541 $as_echo "$ac_ct_STRIP" >&6; }
   5542 else
   5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5544 $as_echo "no" >&6; }
   5545 fi
   5546 
   5547   if test "x$ac_ct_STRIP" = x; then
   5548     STRIP=":"
   5549   else
   5550     case $cross_compiling:$ac_tool_warned in
   5551 yes:)
   5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5554 ac_tool_warned=yes ;;
   5555 esac
   5556     STRIP=$ac_ct_STRIP
   5557   fi
   5558 else
   5559   STRIP="$ac_cv_prog_STRIP"
   5560 fi
   5561 
   5562 test -z "$STRIP" && STRIP=:
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 if test -n "$ac_tool_prefix"; then
   5570   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5573 $as_echo_n "checking for $ac_word... " >&6; }
   5574 if ${ac_cv_prog_RANLIB+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   if test -n "$RANLIB"; then
   5578   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5579 else
   5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5581 for as_dir in $PATH
   5582 do
   5583   IFS=$as_save_IFS
   5584   test -z "$as_dir" && as_dir=.
   5585     for ac_exec_ext in '' $ac_executable_extensions; do
   5586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5587     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5589     break 2
   5590   fi
   5591 done
   5592   done
   5593 IFS=$as_save_IFS
   5594 
   5595 fi
   5596 fi
   5597 RANLIB=$ac_cv_prog_RANLIB
   5598 if test -n "$RANLIB"; then
   5599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5600 $as_echo "$RANLIB" >&6; }
   5601 else
   5602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5603 $as_echo "no" >&6; }
   5604 fi
   5605 
   5606 
   5607 fi
   5608 if test -z "$ac_cv_prog_RANLIB"; then
   5609   ac_ct_RANLIB=$RANLIB
   5610   # Extract the first word of "ranlib", so it can be a program name with args.
   5611 set dummy ranlib; ac_word=$2
   5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5613 $as_echo_n "checking for $ac_word... " >&6; }
   5614 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5615   $as_echo_n "(cached) " >&6
   5616 else
   5617   if test -n "$ac_ct_RANLIB"; then
   5618   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5619 else
   5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5621 for as_dir in $PATH
   5622 do
   5623   IFS=$as_save_IFS
   5624   test -z "$as_dir" && as_dir=.
   5625     for ac_exec_ext in '' $ac_executable_extensions; do
   5626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5627     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5629     break 2
   5630   fi
   5631 done
   5632   done
   5633 IFS=$as_save_IFS
   5634 
   5635 fi
   5636 fi
   5637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5638 if test -n "$ac_ct_RANLIB"; then
   5639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5640 $as_echo "$ac_ct_RANLIB" >&6; }
   5641 else
   5642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5643 $as_echo "no" >&6; }
   5644 fi
   5645 
   5646   if test "x$ac_ct_RANLIB" = x; then
   5647     RANLIB=":"
   5648   else
   5649     case $cross_compiling:$ac_tool_warned in
   5650 yes:)
   5651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5653 ac_tool_warned=yes ;;
   5654 esac
   5655     RANLIB=$ac_ct_RANLIB
   5656   fi
   5657 else
   5658   RANLIB="$ac_cv_prog_RANLIB"
   5659 fi
   5660 
   5661 test -z "$RANLIB" && RANLIB=:
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 # Determine commands to create old-style static archives.
   5669 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5670 old_postinstall_cmds='chmod 644 $oldlib'
   5671 old_postuninstall_cmds=
   5672 
   5673 if test -n "$RANLIB"; then
   5674   case $host_os in
   5675   openbsd*)
   5676     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5677     ;;
   5678   *)
   5679     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5680     ;;
   5681   esac
   5682   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5683 fi
   5684 
   5685 case $host_os in
   5686   darwin*)
   5687     lock_old_archive_extraction=yes ;;
   5688   *)
   5689     lock_old_archive_extraction=no ;;
   5690 esac
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 # If no C compiler was specified, use CC.
   5731 LTCC=${LTCC-"$CC"}
   5732 
   5733 # If no C compiler flags were specified, use CFLAGS.
   5734 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5735 
   5736 # Allow CC to be a program name with arguments.
   5737 compiler=$CC
   5738 
   5739 
   5740 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5742 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5743 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5744   $as_echo_n "(cached) " >&6
   5745 else
   5746 
   5747 # These are sane defaults that work on at least a few old systems.
   5748 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5749 
   5750 # Character class describing NM global symbol codes.
   5751 symcode='[BCDEGRST]'
   5752 
   5753 # Regexp to match symbols that can be accessed directly from C.
   5754 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5755 
   5756 # Define system-specific variables.
   5757 case $host_os in
   5758 aix*)
   5759   symcode='[BCDT]'
   5760   ;;
   5761 cygwin* | mingw* | pw32* | cegcc*)
   5762   symcode='[ABCDGISTW]'
   5763   ;;
   5764 hpux*)
   5765   if test "$host_cpu" = ia64; then
   5766     symcode='[ABCDEGRST]'
   5767   fi
   5768   ;;
   5769 irix* | nonstopux*)
   5770   symcode='[BCDEGRST]'
   5771   ;;
   5772 osf*)
   5773   symcode='[BCDEGQRST]'
   5774   ;;
   5775 solaris*)
   5776   symcode='[BDRT]'
   5777   ;;
   5778 sco3.2v5*)
   5779   symcode='[DT]'
   5780   ;;
   5781 sysv4.2uw2*)
   5782   symcode='[DT]'
   5783   ;;
   5784 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5785   symcode='[ABDT]'
   5786   ;;
   5787 sysv4)
   5788   symcode='[DFNSTU]'
   5789   ;;
   5790 esac
   5791 
   5792 # If we're using GNU nm, then use its standard symbol codes.
   5793 case `$NM -V 2>&1` in
   5794 *GNU* | *'with BFD'*)
   5795   symcode='[ABCDGIRSTW]' ;;
   5796 esac
   5797 
   5798 # Transform an extracted symbol line into a proper C declaration.
   5799 # Some systems (esp. on ia64) link data and code symbols differently,
   5800 # so use this general approach.
   5801 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5802 
   5803 # Transform an extracted symbol line into symbol name and symbol address
   5804 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5805 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'"
   5806 
   5807 # Handle CRLF in mingw tool chain
   5808 opt_cr=
   5809 case $build_os in
   5810 mingw*)
   5811   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5812   ;;
   5813 esac
   5814 
   5815 # Try without a prefix underscore, then with it.
   5816 for ac_symprfx in "" "_"; do
   5817 
   5818   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5819   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5820 
   5821   # Write the raw and C identifiers.
   5822   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5823     # Fake it for dumpbin and say T for any non-static function
   5824     # and D for any global variable.
   5825     # Also find C++ and __fastcall symbols from MSVC++,
   5826     # which start with @ or ?.
   5827     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5828 "     {last_section=section; section=\$ 3};"\
   5829 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5830 "     \$ 0!~/External *\|/{next};"\
   5831 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5832 "     {if(hide[section]) next};"\
   5833 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5834 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5835 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5836 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5837 "     ' prfx=^$ac_symprfx"
   5838   else
   5839     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5840   fi
   5841   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5842 
   5843   # Check to see that the pipe works correctly.
   5844   pipe_works=no
   5845 
   5846   rm -f conftest*
   5847   cat > conftest.$ac_ext <<_LT_EOF
   5848 #ifdef __cplusplus
   5849 extern "C" {
   5850 #endif
   5851 char nm_test_var;
   5852 void nm_test_func(void);
   5853 void nm_test_func(void){}
   5854 #ifdef __cplusplus
   5855 }
   5856 #endif
   5857 int main(){nm_test_var='a';nm_test_func();return(0);}
   5858 _LT_EOF
   5859 
   5860   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5861   (eval $ac_compile) 2>&5
   5862   ac_status=$?
   5863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5864   test $ac_status = 0; }; then
   5865     # Now try to grab the symbols.
   5866     nlist=conftest.nm
   5867     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5868   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5869   ac_status=$?
   5870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5871   test $ac_status = 0; } && test -s "$nlist"; then
   5872       # Try sorting and uniquifying the output.
   5873       if sort "$nlist" | uniq > "$nlist"T; then
   5874 	mv -f "$nlist"T "$nlist"
   5875       else
   5876 	rm -f "$nlist"T
   5877       fi
   5878 
   5879       # Make sure that we snagged all the symbols we need.
   5880       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5881 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5882 	  cat <<_LT_EOF > conftest.$ac_ext
   5883 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5884 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5885 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5886    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5887 # define LT_DLSYM_CONST
   5888 #elif defined(__osf__)
   5889 /* This system does not cope well with relocations in const data.  */
   5890 # define LT_DLSYM_CONST
   5891 #else
   5892 # define LT_DLSYM_CONST const
   5893 #endif
   5894 
   5895 #ifdef __cplusplus
   5896 extern "C" {
   5897 #endif
   5898 
   5899 _LT_EOF
   5900 	  # Now generate the symbol file.
   5901 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5902 
   5903 	  cat <<_LT_EOF >> conftest.$ac_ext
   5904 
   5905 /* The mapping between symbol names and symbols.  */
   5906 LT_DLSYM_CONST struct {
   5907   const char *name;
   5908   void       *address;
   5909 }
   5910 lt__PROGRAM__LTX_preloaded_symbols[] =
   5911 {
   5912   { "@PROGRAM@", (void *) 0 },
   5913 _LT_EOF
   5914 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5915 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5916   {0, (void *) 0}
   5917 };
   5918 
   5919 /* This works around a problem in FreeBSD linker */
   5920 #ifdef FREEBSD_WORKAROUND
   5921 static const void *lt_preloaded_setup() {
   5922   return lt__PROGRAM__LTX_preloaded_symbols;
   5923 }
   5924 #endif
   5925 
   5926 #ifdef __cplusplus
   5927 }
   5928 #endif
   5929 _LT_EOF
   5930 	  # Now try linking the two files.
   5931 	  mv conftest.$ac_objext conftstm.$ac_objext
   5932 	  lt_globsym_save_LIBS=$LIBS
   5933 	  lt_globsym_save_CFLAGS=$CFLAGS
   5934 	  LIBS="conftstm.$ac_objext"
   5935 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5936 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5937   (eval $ac_link) 2>&5
   5938   ac_status=$?
   5939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5940   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5941 	    pipe_works=yes
   5942 	  fi
   5943 	  LIBS=$lt_globsym_save_LIBS
   5944 	  CFLAGS=$lt_globsym_save_CFLAGS
   5945 	else
   5946 	  echo "cannot find nm_test_func in $nlist" >&5
   5947 	fi
   5948       else
   5949 	echo "cannot find nm_test_var in $nlist" >&5
   5950       fi
   5951     else
   5952       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5953     fi
   5954   else
   5955     echo "$progname: failed program was:" >&5
   5956     cat conftest.$ac_ext >&5
   5957   fi
   5958   rm -rf conftest* conftst*
   5959 
   5960   # Do not use the global_symbol_pipe unless it works.
   5961   if test "$pipe_works" = yes; then
   5962     break
   5963   else
   5964     lt_cv_sys_global_symbol_pipe=
   5965   fi
   5966 done
   5967 
   5968 fi
   5969 
   5970 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5971   lt_cv_sys_global_symbol_to_cdecl=
   5972 fi
   5973 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5975 $as_echo "failed" >&6; }
   5976 else
   5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5978 $as_echo "ok" >&6; }
   5979 fi
   5980 
   5981 # Response file support.
   5982 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5983   nm_file_list_spec='@'
   5984 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   5985   nm_file_list_spec='@'
   5986 fi
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6015 $as_echo_n "checking for sysroot... " >&6; }
   6016 
   6017 # Check whether --with-sysroot was given.
   6018 if test "${with_sysroot+set}" = set; then :
   6019   withval=$with_sysroot;
   6020 else
   6021   with_sysroot=no
   6022 fi
   6023 
   6024 
   6025 lt_sysroot=
   6026 case ${with_sysroot} in #(
   6027  yes)
   6028    if test "$GCC" = yes; then
   6029      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6030    fi
   6031    ;; #(
   6032  /*)
   6033    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6034    ;; #(
   6035  no|'')
   6036    ;; #(
   6037  *)
   6038    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6039 $as_echo "${with_sysroot}" >&6; }
   6040    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6041    ;;
   6042 esac
   6043 
   6044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6045 $as_echo "${lt_sysroot:-no}" >&6; }
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 # Check whether --enable-libtool-lock was given.
   6052 if test "${enable_libtool_lock+set}" = set; then :
   6053   enableval=$enable_libtool_lock;
   6054 fi
   6055 
   6056 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6057 
   6058 # Some flags need to be propagated to the compiler or linker for good
   6059 # libtool support.
   6060 case $host in
   6061 ia64-*-hpux*)
   6062   # Find out which ABI we are using.
   6063   echo 'int i;' > conftest.$ac_ext
   6064   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6065   (eval $ac_compile) 2>&5
   6066   ac_status=$?
   6067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6068   test $ac_status = 0; }; then
   6069     case `/usr/bin/file conftest.$ac_objext` in
   6070       *ELF-32*)
   6071 	HPUX_IA64_MODE="32"
   6072 	;;
   6073       *ELF-64*)
   6074 	HPUX_IA64_MODE="64"
   6075 	;;
   6076     esac
   6077   fi
   6078   rm -rf conftest*
   6079   ;;
   6080 *-*-irix6*)
   6081   # Find out which ABI we are using.
   6082   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6083   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6084   (eval $ac_compile) 2>&5
   6085   ac_status=$?
   6086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6087   test $ac_status = 0; }; then
   6088     if test "$lt_cv_prog_gnu_ld" = yes; then
   6089       case `/usr/bin/file conftest.$ac_objext` in
   6090 	*32-bit*)
   6091 	  LD="${LD-ld} -melf32bsmip"
   6092 	  ;;
   6093 	*N32*)
   6094 	  LD="${LD-ld} -melf32bmipn32"
   6095 	  ;;
   6096 	*64-bit*)
   6097 	  LD="${LD-ld} -melf64bmip"
   6098 	;;
   6099       esac
   6100     else
   6101       case `/usr/bin/file conftest.$ac_objext` in
   6102 	*32-bit*)
   6103 	  LD="${LD-ld} -32"
   6104 	  ;;
   6105 	*N32*)
   6106 	  LD="${LD-ld} -n32"
   6107 	  ;;
   6108 	*64-bit*)
   6109 	  LD="${LD-ld} -64"
   6110 	  ;;
   6111       esac
   6112     fi
   6113   fi
   6114   rm -rf conftest*
   6115   ;;
   6116 
   6117 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6118 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6119   # Find out which ABI we are using.
   6120   echo 'int i;' > conftest.$ac_ext
   6121   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6122   (eval $ac_compile) 2>&5
   6123   ac_status=$?
   6124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6125   test $ac_status = 0; }; then
   6126     case `/usr/bin/file conftest.o` in
   6127       *32-bit*)
   6128 	case $host in
   6129 	  x86_64-*kfreebsd*-gnu)
   6130 	    LD="${LD-ld} -m elf_i386_fbsd"
   6131 	    ;;
   6132 	  x86_64-*linux*)
   6133 	    LD="${LD-ld} -m elf_i386"
   6134 	    ;;
   6135 	  ppc64-*linux*|powerpc64-*linux*)
   6136 	    LD="${LD-ld} -m elf32ppclinux"
   6137 	    ;;
   6138 	  s390x-*linux*)
   6139 	    LD="${LD-ld} -m elf_s390"
   6140 	    ;;
   6141 	  sparc64-*linux*)
   6142 	    LD="${LD-ld} -m elf32_sparc"
   6143 	    ;;
   6144 	esac
   6145 	;;
   6146       *64-bit*)
   6147 	case $host in
   6148 	  x86_64-*kfreebsd*-gnu)
   6149 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6150 	    ;;
   6151 	  x86_64-*linux*)
   6152 	    LD="${LD-ld} -m elf_x86_64"
   6153 	    ;;
   6154 	  ppc*-*linux*|powerpc*-*linux*)
   6155 	    LD="${LD-ld} -m elf64ppc"
   6156 	    ;;
   6157 	  s390*-*linux*|s390*-*tpf*)
   6158 	    LD="${LD-ld} -m elf64_s390"
   6159 	    ;;
   6160 	  sparc*-*linux*)
   6161 	    LD="${LD-ld} -m elf64_sparc"
   6162 	    ;;
   6163 	esac
   6164 	;;
   6165     esac
   6166   fi
   6167   rm -rf conftest*
   6168   ;;
   6169 
   6170 *-*-sco3.2v5*)
   6171   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6172   SAVE_CFLAGS="$CFLAGS"
   6173   CFLAGS="$CFLAGS -belf"
   6174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6175 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6176 if ${lt_cv_cc_needs_belf+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   ac_ext=c
   6180 ac_cpp='$CPP $CPPFLAGS'
   6181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6184 
   6185      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6186 /* end confdefs.h.  */
   6187 
   6188 int
   6189 main ()
   6190 {
   6191 
   6192   ;
   6193   return 0;
   6194 }
   6195 _ACEOF
   6196 if ac_fn_c_try_link "$LINENO"; then :
   6197   lt_cv_cc_needs_belf=yes
   6198 else
   6199   lt_cv_cc_needs_belf=no
   6200 fi
   6201 rm -f core conftest.err conftest.$ac_objext \
   6202     conftest$ac_exeext conftest.$ac_ext
   6203      ac_ext=c
   6204 ac_cpp='$CPP $CPPFLAGS'
   6205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6208 
   6209 fi
   6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6211 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6212   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6213     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6214     CFLAGS="$SAVE_CFLAGS"
   6215   fi
   6216   ;;
   6217 sparc*-*solaris*)
   6218   # Find out which ABI we are using.
   6219   echo 'int i;' > conftest.$ac_ext
   6220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6221   (eval $ac_compile) 2>&5
   6222   ac_status=$?
   6223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6224   test $ac_status = 0; }; then
   6225     case `/usr/bin/file conftest.o` in
   6226     *64-bit*)
   6227       case $lt_cv_prog_gnu_ld in
   6228       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6229       *)
   6230 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6231 	  LD="${LD-ld} -64"
   6232 	fi
   6233 	;;
   6234       esac
   6235       ;;
   6236     esac
   6237   fi
   6238   rm -rf conftest*
   6239   ;;
   6240 esac
   6241 
   6242 need_locks="$enable_libtool_lock"
   6243 
   6244 if test -n "$ac_tool_prefix"; then
   6245   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6246 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6248 $as_echo_n "checking for $ac_word... " >&6; }
   6249 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6250   $as_echo_n "(cached) " >&6
   6251 else
   6252   if test -n "$MANIFEST_TOOL"; then
   6253   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6254 else
   6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6256 for as_dir in $PATH
   6257 do
   6258   IFS=$as_save_IFS
   6259   test -z "$as_dir" && as_dir=.
   6260     for ac_exec_ext in '' $ac_executable_extensions; do
   6261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6262     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6264     break 2
   6265   fi
   6266 done
   6267   done
   6268 IFS=$as_save_IFS
   6269 
   6270 fi
   6271 fi
   6272 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6273 if test -n "$MANIFEST_TOOL"; then
   6274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6275 $as_echo "$MANIFEST_TOOL" >&6; }
   6276 else
   6277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6278 $as_echo "no" >&6; }
   6279 fi
   6280 
   6281 
   6282 fi
   6283 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6284   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6285   # Extract the first word of "mt", so it can be a program name with args.
   6286 set dummy mt; ac_word=$2
   6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6288 $as_echo_n "checking for $ac_word... " >&6; }
   6289 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6290   $as_echo_n "(cached) " >&6
   6291 else
   6292   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6293   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6294 else
   6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6296 for as_dir in $PATH
   6297 do
   6298   IFS=$as_save_IFS
   6299   test -z "$as_dir" && as_dir=.
   6300     for ac_exec_ext in '' $ac_executable_extensions; do
   6301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6302     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6304     break 2
   6305   fi
   6306 done
   6307   done
   6308 IFS=$as_save_IFS
   6309 
   6310 fi
   6311 fi
   6312 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6313 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6315 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6316 else
   6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6318 $as_echo "no" >&6; }
   6319 fi
   6320 
   6321   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6322     MANIFEST_TOOL=":"
   6323   else
   6324     case $cross_compiling:$ac_tool_warned in
   6325 yes:)
   6326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6328 ac_tool_warned=yes ;;
   6329 esac
   6330     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6331   fi
   6332 else
   6333   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6334 fi
   6335 
   6336 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6338 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6339 if ${lt_cv_path_mainfest_tool+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   lt_cv_path_mainfest_tool=no
   6343   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6344   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6345   cat conftest.err >&5
   6346   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6347     lt_cv_path_mainfest_tool=yes
   6348   fi
   6349   rm -f conftest*
   6350 fi
   6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6352 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6353 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6354   MANIFEST_TOOL=:
   6355 fi
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362   case $host_os in
   6363     rhapsody* | darwin*)
   6364     if test -n "$ac_tool_prefix"; then
   6365   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6366 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6368 $as_echo_n "checking for $ac_word... " >&6; }
   6369 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6370   $as_echo_n "(cached) " >&6
   6371 else
   6372   if test -n "$DSYMUTIL"; then
   6373   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6374 else
   6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6376 for as_dir in $PATH
   6377 do
   6378   IFS=$as_save_IFS
   6379   test -z "$as_dir" && as_dir=.
   6380     for ac_exec_ext in '' $ac_executable_extensions; do
   6381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6382     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6384     break 2
   6385   fi
   6386 done
   6387   done
   6388 IFS=$as_save_IFS
   6389 
   6390 fi
   6391 fi
   6392 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6393 if test -n "$DSYMUTIL"; then
   6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6395 $as_echo "$DSYMUTIL" >&6; }
   6396 else
   6397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6398 $as_echo "no" >&6; }
   6399 fi
   6400 
   6401 
   6402 fi
   6403 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6404   ac_ct_DSYMUTIL=$DSYMUTIL
   6405   # Extract the first word of "dsymutil", so it can be a program name with args.
   6406 set dummy dsymutil; ac_word=$2
   6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6408 $as_echo_n "checking for $ac_word... " >&6; }
   6409 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6410   $as_echo_n "(cached) " >&6
   6411 else
   6412   if test -n "$ac_ct_DSYMUTIL"; then
   6413   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6414 else
   6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6416 for as_dir in $PATH
   6417 do
   6418   IFS=$as_save_IFS
   6419   test -z "$as_dir" && as_dir=.
   6420     for ac_exec_ext in '' $ac_executable_extensions; do
   6421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6422     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6424     break 2
   6425   fi
   6426 done
   6427   done
   6428 IFS=$as_save_IFS
   6429 
   6430 fi
   6431 fi
   6432 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6433 if test -n "$ac_ct_DSYMUTIL"; then
   6434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6435 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6436 else
   6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6438 $as_echo "no" >&6; }
   6439 fi
   6440 
   6441   if test "x$ac_ct_DSYMUTIL" = x; then
   6442     DSYMUTIL=":"
   6443   else
   6444     case $cross_compiling:$ac_tool_warned in
   6445 yes:)
   6446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6448 ac_tool_warned=yes ;;
   6449 esac
   6450     DSYMUTIL=$ac_ct_DSYMUTIL
   6451   fi
   6452 else
   6453   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6454 fi
   6455 
   6456     if test -n "$ac_tool_prefix"; then
   6457   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6458 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6460 $as_echo_n "checking for $ac_word... " >&6; }
   6461 if ${ac_cv_prog_NMEDIT+:} false; then :
   6462   $as_echo_n "(cached) " >&6
   6463 else
   6464   if test -n "$NMEDIT"; then
   6465   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6466 else
   6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6468 for as_dir in $PATH
   6469 do
   6470   IFS=$as_save_IFS
   6471   test -z "$as_dir" && as_dir=.
   6472     for ac_exec_ext in '' $ac_executable_extensions; do
   6473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6474     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6476     break 2
   6477   fi
   6478 done
   6479   done
   6480 IFS=$as_save_IFS
   6481 
   6482 fi
   6483 fi
   6484 NMEDIT=$ac_cv_prog_NMEDIT
   6485 if test -n "$NMEDIT"; then
   6486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6487 $as_echo "$NMEDIT" >&6; }
   6488 else
   6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6490 $as_echo "no" >&6; }
   6491 fi
   6492 
   6493 
   6494 fi
   6495 if test -z "$ac_cv_prog_NMEDIT"; then
   6496   ac_ct_NMEDIT=$NMEDIT
   6497   # Extract the first word of "nmedit", so it can be a program name with args.
   6498 set dummy nmedit; ac_word=$2
   6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6500 $as_echo_n "checking for $ac_word... " >&6; }
   6501 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6502   $as_echo_n "(cached) " >&6
   6503 else
   6504   if test -n "$ac_ct_NMEDIT"; then
   6505   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6506 else
   6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6508 for as_dir in $PATH
   6509 do
   6510   IFS=$as_save_IFS
   6511   test -z "$as_dir" && as_dir=.
   6512     for ac_exec_ext in '' $ac_executable_extensions; do
   6513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6514     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6516     break 2
   6517   fi
   6518 done
   6519   done
   6520 IFS=$as_save_IFS
   6521 
   6522 fi
   6523 fi
   6524 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6525 if test -n "$ac_ct_NMEDIT"; then
   6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6527 $as_echo "$ac_ct_NMEDIT" >&6; }
   6528 else
   6529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6530 $as_echo "no" >&6; }
   6531 fi
   6532 
   6533   if test "x$ac_ct_NMEDIT" = x; then
   6534     NMEDIT=":"
   6535   else
   6536     case $cross_compiling:$ac_tool_warned in
   6537 yes:)
   6538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6540 ac_tool_warned=yes ;;
   6541 esac
   6542     NMEDIT=$ac_ct_NMEDIT
   6543   fi
   6544 else
   6545   NMEDIT="$ac_cv_prog_NMEDIT"
   6546 fi
   6547 
   6548     if test -n "$ac_tool_prefix"; then
   6549   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6550 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6552 $as_echo_n "checking for $ac_word... " >&6; }
   6553 if ${ac_cv_prog_LIPO+:} false; then :
   6554   $as_echo_n "(cached) " >&6
   6555 else
   6556   if test -n "$LIPO"; then
   6557   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6558 else
   6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6560 for as_dir in $PATH
   6561 do
   6562   IFS=$as_save_IFS
   6563   test -z "$as_dir" && as_dir=.
   6564     for ac_exec_ext in '' $ac_executable_extensions; do
   6565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6566     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6568     break 2
   6569   fi
   6570 done
   6571   done
   6572 IFS=$as_save_IFS
   6573 
   6574 fi
   6575 fi
   6576 LIPO=$ac_cv_prog_LIPO
   6577 if test -n "$LIPO"; then
   6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6579 $as_echo "$LIPO" >&6; }
   6580 else
   6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6582 $as_echo "no" >&6; }
   6583 fi
   6584 
   6585 
   6586 fi
   6587 if test -z "$ac_cv_prog_LIPO"; then
   6588   ac_ct_LIPO=$LIPO
   6589   # Extract the first word of "lipo", so it can be a program name with args.
   6590 set dummy lipo; ac_word=$2
   6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6592 $as_echo_n "checking for $ac_word... " >&6; }
   6593 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596   if test -n "$ac_ct_LIPO"; then
   6597   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6598 else
   6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6600 for as_dir in $PATH
   6601 do
   6602   IFS=$as_save_IFS
   6603   test -z "$as_dir" && as_dir=.
   6604     for ac_exec_ext in '' $ac_executable_extensions; do
   6605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6606     ac_cv_prog_ac_ct_LIPO="lipo"
   6607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6608     break 2
   6609   fi
   6610 done
   6611   done
   6612 IFS=$as_save_IFS
   6613 
   6614 fi
   6615 fi
   6616 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6617 if test -n "$ac_ct_LIPO"; then
   6618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6619 $as_echo "$ac_ct_LIPO" >&6; }
   6620 else
   6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6622 $as_echo "no" >&6; }
   6623 fi
   6624 
   6625   if test "x$ac_ct_LIPO" = x; then
   6626     LIPO=":"
   6627   else
   6628     case $cross_compiling:$ac_tool_warned in
   6629 yes:)
   6630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6632 ac_tool_warned=yes ;;
   6633 esac
   6634     LIPO=$ac_ct_LIPO
   6635   fi
   6636 else
   6637   LIPO="$ac_cv_prog_LIPO"
   6638 fi
   6639 
   6640     if test -n "$ac_tool_prefix"; then
   6641   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6642 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6644 $as_echo_n "checking for $ac_word... " >&6; }
   6645 if ${ac_cv_prog_OTOOL+:} false; then :
   6646   $as_echo_n "(cached) " >&6
   6647 else
   6648   if test -n "$OTOOL"; then
   6649   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6650 else
   6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6652 for as_dir in $PATH
   6653 do
   6654   IFS=$as_save_IFS
   6655   test -z "$as_dir" && as_dir=.
   6656     for ac_exec_ext in '' $ac_executable_extensions; do
   6657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6658     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6660     break 2
   6661   fi
   6662 done
   6663   done
   6664 IFS=$as_save_IFS
   6665 
   6666 fi
   6667 fi
   6668 OTOOL=$ac_cv_prog_OTOOL
   6669 if test -n "$OTOOL"; then
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6671 $as_echo "$OTOOL" >&6; }
   6672 else
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6674 $as_echo "no" >&6; }
   6675 fi
   6676 
   6677 
   6678 fi
   6679 if test -z "$ac_cv_prog_OTOOL"; then
   6680   ac_ct_OTOOL=$OTOOL
   6681   # Extract the first word of "otool", so it can be a program name with args.
   6682 set dummy otool; ac_word=$2
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6684 $as_echo_n "checking for $ac_word... " >&6; }
   6685 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   if test -n "$ac_ct_OTOOL"; then
   6689   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6690 else
   6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6692 for as_dir in $PATH
   6693 do
   6694   IFS=$as_save_IFS
   6695   test -z "$as_dir" && as_dir=.
   6696     for ac_exec_ext in '' $ac_executable_extensions; do
   6697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6698     ac_cv_prog_ac_ct_OTOOL="otool"
   6699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6700     break 2
   6701   fi
   6702 done
   6703   done
   6704 IFS=$as_save_IFS
   6705 
   6706 fi
   6707 fi
   6708 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6709 if test -n "$ac_ct_OTOOL"; then
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6711 $as_echo "$ac_ct_OTOOL" >&6; }
   6712 else
   6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6714 $as_echo "no" >&6; }
   6715 fi
   6716 
   6717   if test "x$ac_ct_OTOOL" = x; then
   6718     OTOOL=":"
   6719   else
   6720     case $cross_compiling:$ac_tool_warned in
   6721 yes:)
   6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6724 ac_tool_warned=yes ;;
   6725 esac
   6726     OTOOL=$ac_ct_OTOOL
   6727   fi
   6728 else
   6729   OTOOL="$ac_cv_prog_OTOOL"
   6730 fi
   6731 
   6732     if test -n "$ac_tool_prefix"; then
   6733   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6734 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6736 $as_echo_n "checking for $ac_word... " >&6; }
   6737 if ${ac_cv_prog_OTOOL64+:} false; then :
   6738   $as_echo_n "(cached) " >&6
   6739 else
   6740   if test -n "$OTOOL64"; then
   6741   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6742 else
   6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6744 for as_dir in $PATH
   6745 do
   6746   IFS=$as_save_IFS
   6747   test -z "$as_dir" && as_dir=.
   6748     for ac_exec_ext in '' $ac_executable_extensions; do
   6749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6750     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6752     break 2
   6753   fi
   6754 done
   6755   done
   6756 IFS=$as_save_IFS
   6757 
   6758 fi
   6759 fi
   6760 OTOOL64=$ac_cv_prog_OTOOL64
   6761 if test -n "$OTOOL64"; then
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6763 $as_echo "$OTOOL64" >&6; }
   6764 else
   6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6766 $as_echo "no" >&6; }
   6767 fi
   6768 
   6769 
   6770 fi
   6771 if test -z "$ac_cv_prog_OTOOL64"; then
   6772   ac_ct_OTOOL64=$OTOOL64
   6773   # Extract the first word of "otool64", so it can be a program name with args.
   6774 set dummy otool64; ac_word=$2
   6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6776 $as_echo_n "checking for $ac_word... " >&6; }
   6777 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6778   $as_echo_n "(cached) " >&6
   6779 else
   6780   if test -n "$ac_ct_OTOOL64"; then
   6781   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6782 else
   6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6784 for as_dir in $PATH
   6785 do
   6786   IFS=$as_save_IFS
   6787   test -z "$as_dir" && as_dir=.
   6788     for ac_exec_ext in '' $ac_executable_extensions; do
   6789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6790     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6792     break 2
   6793   fi
   6794 done
   6795   done
   6796 IFS=$as_save_IFS
   6797 
   6798 fi
   6799 fi
   6800 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6801 if test -n "$ac_ct_OTOOL64"; then
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6803 $as_echo "$ac_ct_OTOOL64" >&6; }
   6804 else
   6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6806 $as_echo "no" >&6; }
   6807 fi
   6808 
   6809   if test "x$ac_ct_OTOOL64" = x; then
   6810     OTOOL64=":"
   6811   else
   6812     case $cross_compiling:$ac_tool_warned in
   6813 yes:)
   6814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6816 ac_tool_warned=yes ;;
   6817 esac
   6818     OTOOL64=$ac_ct_OTOOL64
   6819   fi
   6820 else
   6821   OTOOL64="$ac_cv_prog_OTOOL64"
   6822 fi
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6851 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6852 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   lt_cv_apple_cc_single_mod=no
   6856       if test -z "${LT_MULTI_MODULE}"; then
   6857 	# By default we will add the -single_module flag. You can override
   6858 	# by either setting the environment variable LT_MULTI_MODULE
   6859 	# non-empty at configure time, or by adding -multi_module to the
   6860 	# link flags.
   6861 	rm -rf libconftest.dylib*
   6862 	echo "int foo(void){return 1;}" > conftest.c
   6863 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6864 -dynamiclib -Wl,-single_module conftest.c" >&5
   6865 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6866 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6867         _lt_result=$?
   6868 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6869 	  lt_cv_apple_cc_single_mod=yes
   6870 	else
   6871 	  cat conftest.err >&5
   6872 	fi
   6873 	rm -rf libconftest.dylib*
   6874 	rm -f conftest.*
   6875       fi
   6876 fi
   6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6878 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6880 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6881 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   lt_cv_ld_exported_symbols_list=no
   6885       save_LDFLAGS=$LDFLAGS
   6886       echo "_main" > conftest.sym
   6887       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6889 /* end confdefs.h.  */
   6890 
   6891 int
   6892 main ()
   6893 {
   6894 
   6895   ;
   6896   return 0;
   6897 }
   6898 _ACEOF
   6899 if ac_fn_c_try_link "$LINENO"; then :
   6900   lt_cv_ld_exported_symbols_list=yes
   6901 else
   6902   lt_cv_ld_exported_symbols_list=no
   6903 fi
   6904 rm -f core conftest.err conftest.$ac_objext \
   6905     conftest$ac_exeext conftest.$ac_ext
   6906 	LDFLAGS="$save_LDFLAGS"
   6907 
   6908 fi
   6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6910 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6911     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6912 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6913 if ${lt_cv_ld_force_load+:} false; then :
   6914   $as_echo_n "(cached) " >&6
   6915 else
   6916   lt_cv_ld_force_load=no
   6917       cat > conftest.c << _LT_EOF
   6918 int forced_loaded() { return 2;}
   6919 _LT_EOF
   6920       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6921       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6922       echo "$AR cru libconftest.a conftest.o" >&5
   6923       $AR cru libconftest.a conftest.o 2>&5
   6924       echo "$RANLIB libconftest.a" >&5
   6925       $RANLIB libconftest.a 2>&5
   6926       cat > conftest.c << _LT_EOF
   6927 int main() { return 0;}
   6928 _LT_EOF
   6929       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6930       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6931       _lt_result=$?
   6932       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   6933 	lt_cv_ld_force_load=yes
   6934       else
   6935 	cat conftest.err >&5
   6936       fi
   6937         rm -f conftest.err libconftest.a conftest conftest.c
   6938         rm -rf conftest.dSYM
   6939 
   6940 fi
   6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   6942 $as_echo "$lt_cv_ld_force_load" >&6; }
   6943     case $host_os in
   6944     rhapsody* | darwin1.[012])
   6945       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6946     darwin1.*)
   6947       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6948     darwin*) # darwin 5.x on
   6949       # if running on 10.5 or later, the deployment target defaults
   6950       # to the OS version, if on x86, and 10.4, the deployment
   6951       # target defaults to 10.4. Don't you love it?
   6952       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6953 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6954 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6955 	10.[012]*)
   6956 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6957 	10.*)
   6958 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6959       esac
   6960     ;;
   6961   esac
   6962     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6963       _lt_dar_single_mod='$single_module'
   6964     fi
   6965     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6966       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6967     else
   6968       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6969     fi
   6970     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   6971       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6972     else
   6973       _lt_dsymutil=
   6974     fi
   6975     ;;
   6976   esac
   6977 
   6978 ac_ext=c
   6979 ac_cpp='$CPP $CPPFLAGS'
   6980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6984 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6985 # On Suns, sometimes $CPP names a directory.
   6986 if test -n "$CPP" && test -d "$CPP"; then
   6987   CPP=
   6988 fi
   6989 if test -z "$CPP"; then
   6990   if ${ac_cv_prog_CPP+:} false; then :
   6991   $as_echo_n "(cached) " >&6
   6992 else
   6993       # Double quotes because CPP needs to be expanded
   6994     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6995     do
   6996       ac_preproc_ok=false
   6997 for ac_c_preproc_warn_flag in '' yes
   6998 do
   6999   # Use a header file that comes with gcc, so configuring glibc
   7000   # with a fresh cross-compiler works.
   7001   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7002   # <limits.h> exists even on freestanding compilers.
   7003   # On the NeXT, cc -E runs the code through the compiler's parser,
   7004   # not just through cpp. "Syntax error" is here to catch this case.
   7005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7006 /* end confdefs.h.  */
   7007 #ifdef __STDC__
   7008 # include <limits.h>
   7009 #else
   7010 # include <assert.h>
   7011 #endif
   7012 		     Syntax error
   7013 _ACEOF
   7014 if ac_fn_c_try_cpp "$LINENO"; then :
   7015 
   7016 else
   7017   # Broken: fails on valid input.
   7018 continue
   7019 fi
   7020 rm -f conftest.err conftest.i conftest.$ac_ext
   7021 
   7022   # OK, works on sane cases.  Now check whether nonexistent headers
   7023   # can be detected and how.
   7024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7025 /* end confdefs.h.  */
   7026 #include <ac_nonexistent.h>
   7027 _ACEOF
   7028 if ac_fn_c_try_cpp "$LINENO"; then :
   7029   # Broken: success on invalid input.
   7030 continue
   7031 else
   7032   # Passes both tests.
   7033 ac_preproc_ok=:
   7034 break
   7035 fi
   7036 rm -f conftest.err conftest.i conftest.$ac_ext
   7037 
   7038 done
   7039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7040 rm -f conftest.i conftest.err conftest.$ac_ext
   7041 if $ac_preproc_ok; then :
   7042   break
   7043 fi
   7044 
   7045     done
   7046     ac_cv_prog_CPP=$CPP
   7047 
   7048 fi
   7049   CPP=$ac_cv_prog_CPP
   7050 else
   7051   ac_cv_prog_CPP=$CPP
   7052 fi
   7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7054 $as_echo "$CPP" >&6; }
   7055 ac_preproc_ok=false
   7056 for ac_c_preproc_warn_flag in '' yes
   7057 do
   7058   # Use a header file that comes with gcc, so configuring glibc
   7059   # with a fresh cross-compiler works.
   7060   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7061   # <limits.h> exists even on freestanding compilers.
   7062   # On the NeXT, cc -E runs the code through the compiler's parser,
   7063   # not just through cpp. "Syntax error" is here to catch this case.
   7064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7065 /* end confdefs.h.  */
   7066 #ifdef __STDC__
   7067 # include <limits.h>
   7068 #else
   7069 # include <assert.h>
   7070 #endif
   7071 		     Syntax error
   7072 _ACEOF
   7073 if ac_fn_c_try_cpp "$LINENO"; then :
   7074 
   7075 else
   7076   # Broken: fails on valid input.
   7077 continue
   7078 fi
   7079 rm -f conftest.err conftest.i conftest.$ac_ext
   7080 
   7081   # OK, works on sane cases.  Now check whether nonexistent headers
   7082   # can be detected and how.
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 #include <ac_nonexistent.h>
   7086 _ACEOF
   7087 if ac_fn_c_try_cpp "$LINENO"; then :
   7088   # Broken: success on invalid input.
   7089 continue
   7090 else
   7091   # Passes both tests.
   7092 ac_preproc_ok=:
   7093 break
   7094 fi
   7095 rm -f conftest.err conftest.i conftest.$ac_ext
   7096 
   7097 done
   7098 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7099 rm -f conftest.i conftest.err conftest.$ac_ext
   7100 if $ac_preproc_ok; then :
   7101 
   7102 else
   7103   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7105 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7106 See \`config.log' for more details" "$LINENO" 5; }
   7107 fi
   7108 
   7109 ac_ext=c
   7110 ac_cpp='$CPP $CPPFLAGS'
   7111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7114 
   7115 
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7117 $as_echo_n "checking for ANSI C header files... " >&6; }
   7118 if ${ac_cv_header_stdc+:} false; then :
   7119   $as_echo_n "(cached) " >&6
   7120 else
   7121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7122 /* end confdefs.h.  */
   7123 #include <stdlib.h>
   7124 #include <stdarg.h>
   7125 #include <string.h>
   7126 #include <float.h>
   7127 
   7128 int
   7129 main ()
   7130 {
   7131 
   7132   ;
   7133   return 0;
   7134 }
   7135 _ACEOF
   7136 if ac_fn_c_try_compile "$LINENO"; then :
   7137   ac_cv_header_stdc=yes
   7138 else
   7139   ac_cv_header_stdc=no
   7140 fi
   7141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7142 
   7143 if test $ac_cv_header_stdc = yes; then
   7144   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7146 /* end confdefs.h.  */
   7147 #include <string.h>
   7148 
   7149 _ACEOF
   7150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7151   $EGREP "memchr" >/dev/null 2>&1; then :
   7152 
   7153 else
   7154   ac_cv_header_stdc=no
   7155 fi
   7156 rm -f conftest*
   7157 
   7158 fi
   7159 
   7160 if test $ac_cv_header_stdc = yes; then
   7161   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 #include <stdlib.h>
   7165 
   7166 _ACEOF
   7167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7168   $EGREP "free" >/dev/null 2>&1; then :
   7169 
   7170 else
   7171   ac_cv_header_stdc=no
   7172 fi
   7173 rm -f conftest*
   7174 
   7175 fi
   7176 
   7177 if test $ac_cv_header_stdc = yes; then
   7178   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7179   if test "$cross_compiling" = yes; then :
   7180   :
   7181 else
   7182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7183 /* end confdefs.h.  */
   7184 #include <ctype.h>
   7185 #include <stdlib.h>
   7186 #if ((' ' & 0x0FF) == 0x020)
   7187 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7188 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7189 #else
   7190 # define ISLOWER(c) \
   7191 		   (('a' <= (c) && (c) <= 'i') \
   7192 		     || ('j' <= (c) && (c) <= 'r') \
   7193 		     || ('s' <= (c) && (c) <= 'z'))
   7194 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7195 #endif
   7196 
   7197 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7198 int
   7199 main ()
   7200 {
   7201   int i;
   7202   for (i = 0; i < 256; i++)
   7203     if (XOR (islower (i), ISLOWER (i))
   7204 	|| toupper (i) != TOUPPER (i))
   7205       return 2;
   7206   return 0;
   7207 }
   7208 _ACEOF
   7209 if ac_fn_c_try_run "$LINENO"; then :
   7210 
   7211 else
   7212   ac_cv_header_stdc=no
   7213 fi
   7214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7215   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7216 fi
   7217 
   7218 fi
   7219 fi
   7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7221 $as_echo "$ac_cv_header_stdc" >&6; }
   7222 if test $ac_cv_header_stdc = yes; then
   7223 
   7224 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7225 
   7226 fi
   7227 
   7228 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7229 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7230 		  inttypes.h stdint.h unistd.h
   7231 do :
   7232   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7234 "
   7235 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7236   cat >>confdefs.h <<_ACEOF
   7237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7238 _ACEOF
   7239 
   7240 fi
   7241 
   7242 done
   7243 
   7244 
   7245 for ac_header in dlfcn.h
   7246 do :
   7247   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7248 "
   7249 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7250   cat >>confdefs.h <<_ACEOF
   7251 #define HAVE_DLFCN_H 1
   7252 _ACEOF
   7253 
   7254 fi
   7255 
   7256 done
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 # Set options
   7263 
   7264 
   7265 
   7266         enable_dlopen=no
   7267 
   7268 
   7269   enable_win32_dll=no
   7270 
   7271 
   7272             # Check whether --enable-shared was given.
   7273 if test "${enable_shared+set}" = set; then :
   7274   enableval=$enable_shared; p=${PACKAGE-default}
   7275     case $enableval in
   7276     yes) enable_shared=yes ;;
   7277     no) enable_shared=no ;;
   7278     *)
   7279       enable_shared=no
   7280       # Look at the argument we got.  We use all the common list separators.
   7281       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7282       for pkg in $enableval; do
   7283 	IFS="$lt_save_ifs"
   7284 	if test "X$pkg" = "X$p"; then
   7285 	  enable_shared=yes
   7286 	fi
   7287       done
   7288       IFS="$lt_save_ifs"
   7289       ;;
   7290     esac
   7291 else
   7292   enable_shared=yes
   7293 fi
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303   # Check whether --enable-static was given.
   7304 if test "${enable_static+set}" = set; then :
   7305   enableval=$enable_static; p=${PACKAGE-default}
   7306     case $enableval in
   7307     yes) enable_static=yes ;;
   7308     no) enable_static=no ;;
   7309     *)
   7310      enable_static=no
   7311       # Look at the argument we got.  We use all the common list separators.
   7312       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7313       for pkg in $enableval; do
   7314 	IFS="$lt_save_ifs"
   7315 	if test "X$pkg" = "X$p"; then
   7316 	  enable_static=yes
   7317 	fi
   7318       done
   7319       IFS="$lt_save_ifs"
   7320       ;;
   7321     esac
   7322 else
   7323   enable_static=yes
   7324 fi
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 # Check whether --with-pic was given.
   7336 if test "${with_pic+set}" = set; then :
   7337   withval=$with_pic; pic_mode="$withval"
   7338 else
   7339   pic_mode=default
   7340 fi
   7341 
   7342 
   7343 test -z "$pic_mode" && pic_mode=default
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351   # Check whether --enable-fast-install was given.
   7352 if test "${enable_fast_install+set}" = set; then :
   7353   enableval=$enable_fast_install; p=${PACKAGE-default}
   7354     case $enableval in
   7355     yes) enable_fast_install=yes ;;
   7356     no) enable_fast_install=no ;;
   7357     *)
   7358       enable_fast_install=no
   7359       # Look at the argument we got.  We use all the common list separators.
   7360       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7361       for pkg in $enableval; do
   7362 	IFS="$lt_save_ifs"
   7363 	if test "X$pkg" = "X$p"; then
   7364 	  enable_fast_install=yes
   7365 	fi
   7366       done
   7367       IFS="$lt_save_ifs"
   7368       ;;
   7369     esac
   7370 else
   7371   enable_fast_install=yes
   7372 fi
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 # This can be used to rebuild libtool when needed
   7385 LIBTOOL_DEPS="$ltmain"
   7386 
   7387 # Always use our own libtool.
   7388 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 test -z "$LN_S" && LN_S="ln -s"
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 if test -n "${ZSH_VERSION+set}" ; then
   7431    setopt NO_GLOB_SUBST
   7432 fi
   7433 
   7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7435 $as_echo_n "checking for objdir... " >&6; }
   7436 if ${lt_cv_objdir+:} false; then :
   7437   $as_echo_n "(cached) " >&6
   7438 else
   7439   rm -f .libs 2>/dev/null
   7440 mkdir .libs 2>/dev/null
   7441 if test -d .libs; then
   7442   lt_cv_objdir=.libs
   7443 else
   7444   # MS-DOS does not allow filenames that begin with a dot.
   7445   lt_cv_objdir=_libs
   7446 fi
   7447 rmdir .libs 2>/dev/null
   7448 fi
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7450 $as_echo "$lt_cv_objdir" >&6; }
   7451 objdir=$lt_cv_objdir
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 cat >>confdefs.h <<_ACEOF
   7458 #define LT_OBJDIR "$lt_cv_objdir/"
   7459 _ACEOF
   7460 
   7461 
   7462 
   7463 
   7464 case $host_os in
   7465 aix3*)
   7466   # AIX sometimes has problems with the GCC collect2 program.  For some
   7467   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7468   # vanish in a puff of smoke.
   7469   if test "X${COLLECT_NAMES+set}" != Xset; then
   7470     COLLECT_NAMES=
   7471     export COLLECT_NAMES
   7472   fi
   7473   ;;
   7474 esac
   7475 
   7476 # Global variables:
   7477 ofile=libtool
   7478 can_build_shared=yes
   7479 
   7480 # All known linkers require a `.a' archive for static linking (except MSVC,
   7481 # which needs '.lib').
   7482 libext=a
   7483 
   7484 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7485 
   7486 old_CC="$CC"
   7487 old_CFLAGS="$CFLAGS"
   7488 
   7489 # Set sane defaults for various variables
   7490 test -z "$CC" && CC=cc
   7491 test -z "$LTCC" && LTCC=$CC
   7492 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7493 test -z "$LD" && LD=ld
   7494 test -z "$ac_objext" && ac_objext=o
   7495 
   7496 for cc_temp in $compiler""; do
   7497   case $cc_temp in
   7498     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7499     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7500     \-*) ;;
   7501     *) break;;
   7502   esac
   7503 done
   7504 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7505 
   7506 
   7507 # Only perform the check for file, if the check method requires it
   7508 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7509 case $deplibs_check_method in
   7510 file_magic*)
   7511   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7513 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7514 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7515   $as_echo_n "(cached) " >&6
   7516 else
   7517   case $MAGIC_CMD in
   7518 [\\/*] |  ?:[\\/]*)
   7519   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7520   ;;
   7521 *)
   7522   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7523   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7524   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7525   for ac_dir in $ac_dummy; do
   7526     IFS="$lt_save_ifs"
   7527     test -z "$ac_dir" && ac_dir=.
   7528     if test -f $ac_dir/${ac_tool_prefix}file; then
   7529       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7530       if test -n "$file_magic_test_file"; then
   7531 	case $deplibs_check_method in
   7532 	"file_magic "*)
   7533 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7534 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7535 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7536 	    $EGREP "$file_magic_regex" > /dev/null; then
   7537 	    :
   7538 	  else
   7539 	    cat <<_LT_EOF 1>&2
   7540 
   7541 *** Warning: the command libtool uses to detect shared libraries,
   7542 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7543 *** The result is that libtool may fail to recognize shared libraries
   7544 *** as such.  This will affect the creation of libtool libraries that
   7545 *** depend on shared libraries, but programs linked with such libtool
   7546 *** libraries will work regardless of this problem.  Nevertheless, you
   7547 *** may want to report the problem to your system manager and/or to
   7548 *** bug-libtool@gnu.org
   7549 
   7550 _LT_EOF
   7551 	  fi ;;
   7552 	esac
   7553       fi
   7554       break
   7555     fi
   7556   done
   7557   IFS="$lt_save_ifs"
   7558   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7559   ;;
   7560 esac
   7561 fi
   7562 
   7563 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7564 if test -n "$MAGIC_CMD"; then
   7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7566 $as_echo "$MAGIC_CMD" >&6; }
   7567 else
   7568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7569 $as_echo "no" >&6; }
   7570 fi
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7577   if test -n "$ac_tool_prefix"; then
   7578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7579 $as_echo_n "checking for file... " >&6; }
   7580 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7581   $as_echo_n "(cached) " >&6
   7582 else
   7583   case $MAGIC_CMD in
   7584 [\\/*] |  ?:[\\/]*)
   7585   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7586   ;;
   7587 *)
   7588   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7589   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7590   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7591   for ac_dir in $ac_dummy; do
   7592     IFS="$lt_save_ifs"
   7593     test -z "$ac_dir" && ac_dir=.
   7594     if test -f $ac_dir/file; then
   7595       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7596       if test -n "$file_magic_test_file"; then
   7597 	case $deplibs_check_method in
   7598 	"file_magic "*)
   7599 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7600 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7601 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7602 	    $EGREP "$file_magic_regex" > /dev/null; then
   7603 	    :
   7604 	  else
   7605 	    cat <<_LT_EOF 1>&2
   7606 
   7607 *** Warning: the command libtool uses to detect shared libraries,
   7608 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7609 *** The result is that libtool may fail to recognize shared libraries
   7610 *** as such.  This will affect the creation of libtool libraries that
   7611 *** depend on shared libraries, but programs linked with such libtool
   7612 *** libraries will work regardless of this problem.  Nevertheless, you
   7613 *** may want to report the problem to your system manager and/or to
   7614 *** bug-libtool@gnu.org
   7615 
   7616 _LT_EOF
   7617 	  fi ;;
   7618 	esac
   7619       fi
   7620       break
   7621     fi
   7622   done
   7623   IFS="$lt_save_ifs"
   7624   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7625   ;;
   7626 esac
   7627 fi
   7628 
   7629 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7630 if test -n "$MAGIC_CMD"; then
   7631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7632 $as_echo "$MAGIC_CMD" >&6; }
   7633 else
   7634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7635 $as_echo "no" >&6; }
   7636 fi
   7637 
   7638 
   7639   else
   7640     MAGIC_CMD=:
   7641   fi
   7642 fi
   7643 
   7644   fi
   7645   ;;
   7646 esac
   7647 
   7648 # Use C for the default configuration in the libtool script
   7649 
   7650 lt_save_CC="$CC"
   7651 ac_ext=c
   7652 ac_cpp='$CPP $CPPFLAGS'
   7653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7656 
   7657 
   7658 # Source file extension for C test sources.
   7659 ac_ext=c
   7660 
   7661 # Object file extension for compiled C test sources.
   7662 objext=o
   7663 objext=$objext
   7664 
   7665 # Code to be used in simple compile tests
   7666 lt_simple_compile_test_code="int some_variable = 0;"
   7667 
   7668 # Code to be used in simple link tests
   7669 lt_simple_link_test_code='int main(){return(0);}'
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 # If no C compiler was specified, use CC.
   7678 LTCC=${LTCC-"$CC"}
   7679 
   7680 # If no C compiler flags were specified, use CFLAGS.
   7681 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7682 
   7683 # Allow CC to be a program name with arguments.
   7684 compiler=$CC
   7685 
   7686 # Save the default compiler, since it gets overwritten when the other
   7687 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7688 compiler_DEFAULT=$CC
   7689 
   7690 # save warnings/boilerplate of simple test code
   7691 ac_outfile=conftest.$ac_objext
   7692 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7693 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7694 _lt_compiler_boilerplate=`cat conftest.err`
   7695 $RM conftest*
   7696 
   7697 ac_outfile=conftest.$ac_objext
   7698 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7699 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7700 _lt_linker_boilerplate=`cat conftest.err`
   7701 $RM -r conftest*
   7702 
   7703 
   7704 if test -n "$compiler"; then
   7705 
   7706 lt_prog_compiler_no_builtin_flag=
   7707 
   7708 if test "$GCC" = yes; then
   7709   case $cc_basename in
   7710   nvcc*)
   7711     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7712   *)
   7713     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7714   esac
   7715 
   7716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7717 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7718 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   lt_cv_prog_compiler_rtti_exceptions=no
   7722    ac_outfile=conftest.$ac_objext
   7723    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7724    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7725    # Insert the option either (1) after the last *FLAGS variable, or
   7726    # (2) before a word containing "conftest.", or (3) at the end.
   7727    # Note that $ac_compile itself does not contain backslashes and begins
   7728    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7729    # The option is referenced via a variable to avoid confusing sed.
   7730    lt_compile=`echo "$ac_compile" | $SED \
   7731    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7732    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7733    -e 's:$: $lt_compiler_flag:'`
   7734    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7735    (eval "$lt_compile" 2>conftest.err)
   7736    ac_status=$?
   7737    cat conftest.err >&5
   7738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7739    if (exit $ac_status) && test -s "$ac_outfile"; then
   7740      # The compiler can only warn and ignore the option if not recognized
   7741      # So say no if there are warnings other than the usual output.
   7742      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7743      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7744      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7745        lt_cv_prog_compiler_rtti_exceptions=yes
   7746      fi
   7747    fi
   7748    $RM conftest*
   7749 
   7750 fi
   7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7752 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7753 
   7754 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7755     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7756 else
   7757     :
   7758 fi
   7759 
   7760 fi
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767   lt_prog_compiler_wl=
   7768 lt_prog_compiler_pic=
   7769 lt_prog_compiler_static=
   7770 
   7771 
   7772   if test "$GCC" = yes; then
   7773     lt_prog_compiler_wl='-Wl,'
   7774     lt_prog_compiler_static='-static'
   7775 
   7776     case $host_os in
   7777       aix*)
   7778       # All AIX code is PIC.
   7779       if test "$host_cpu" = ia64; then
   7780 	# AIX 5 now supports IA64 processor
   7781 	lt_prog_compiler_static='-Bstatic'
   7782       fi
   7783       ;;
   7784 
   7785     amigaos*)
   7786       case $host_cpu in
   7787       powerpc)
   7788             # see comment about AmigaOS4 .so support
   7789             lt_prog_compiler_pic='-fPIC'
   7790         ;;
   7791       m68k)
   7792             # FIXME: we need at least 68020 code to build shared libraries, but
   7793             # adding the `-m68020' flag to GCC prevents building anything better,
   7794             # like `-m68040'.
   7795             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7796         ;;
   7797       esac
   7798       ;;
   7799 
   7800     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7801       # PIC is the default for these OSes.
   7802       ;;
   7803 
   7804     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7805       # This hack is so that the source file can tell whether it is being
   7806       # built for inclusion in a dll (and should export symbols for example).
   7807       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7808       # (--disable-auto-import) libraries
   7809       lt_prog_compiler_pic='-DDLL_EXPORT'
   7810       ;;
   7811 
   7812     darwin* | rhapsody*)
   7813       # PIC is the default on this platform
   7814       # Common symbols not allowed in MH_DYLIB files
   7815       lt_prog_compiler_pic='-fno-common'
   7816       ;;
   7817 
   7818     haiku*)
   7819       # PIC is the default for Haiku.
   7820       # The "-static" flag exists, but is broken.
   7821       lt_prog_compiler_static=
   7822       ;;
   7823 
   7824     hpux*)
   7825       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7826       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7827       # sets the default TLS model and affects inlining.
   7828       case $host_cpu in
   7829       hppa*64*)
   7830 	# +Z the default
   7831 	;;
   7832       *)
   7833 	lt_prog_compiler_pic='-fPIC'
   7834 	;;
   7835       esac
   7836       ;;
   7837 
   7838     interix[3-9]*)
   7839       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7840       # Instead, we relocate shared libraries at runtime.
   7841       ;;
   7842 
   7843     msdosdjgpp*)
   7844       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7845       # on systems that don't support them.
   7846       lt_prog_compiler_can_build_shared=no
   7847       enable_shared=no
   7848       ;;
   7849 
   7850     *nto* | *qnx*)
   7851       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7852       # it will coredump.
   7853       lt_prog_compiler_pic='-fPIC -shared'
   7854       ;;
   7855 
   7856     sysv4*MP*)
   7857       if test -d /usr/nec; then
   7858 	lt_prog_compiler_pic=-Kconform_pic
   7859       fi
   7860       ;;
   7861 
   7862     *)
   7863       lt_prog_compiler_pic='-fPIC'
   7864       ;;
   7865     esac
   7866 
   7867     case $cc_basename in
   7868     nvcc*) # Cuda Compiler Driver 2.2
   7869       lt_prog_compiler_wl='-Xlinker '
   7870       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7871       ;;
   7872     esac
   7873   else
   7874     # PORTME Check for flag to pass linker flags through the system compiler.
   7875     case $host_os in
   7876     aix*)
   7877       lt_prog_compiler_wl='-Wl,'
   7878       if test "$host_cpu" = ia64; then
   7879 	# AIX 5 now supports IA64 processor
   7880 	lt_prog_compiler_static='-Bstatic'
   7881       else
   7882 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7883       fi
   7884       ;;
   7885 
   7886     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7887       # This hack is so that the source file can tell whether it is being
   7888       # built for inclusion in a dll (and should export symbols for example).
   7889       lt_prog_compiler_pic='-DDLL_EXPORT'
   7890       ;;
   7891 
   7892     hpux9* | hpux10* | hpux11*)
   7893       lt_prog_compiler_wl='-Wl,'
   7894       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7895       # not for PA HP-UX.
   7896       case $host_cpu in
   7897       hppa*64*|ia64*)
   7898 	# +Z the default
   7899 	;;
   7900       *)
   7901 	lt_prog_compiler_pic='+Z'
   7902 	;;
   7903       esac
   7904       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7905       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7906       ;;
   7907 
   7908     irix5* | irix6* | nonstopux*)
   7909       lt_prog_compiler_wl='-Wl,'
   7910       # PIC (with -KPIC) is the default.
   7911       lt_prog_compiler_static='-non_shared'
   7912       ;;
   7913 
   7914     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7915       case $cc_basename in
   7916       # old Intel for x86_64 which still supported -KPIC.
   7917       ecc*)
   7918 	lt_prog_compiler_wl='-Wl,'
   7919 	lt_prog_compiler_pic='-KPIC'
   7920 	lt_prog_compiler_static='-static'
   7921         ;;
   7922       # icc used to be incompatible with GCC.
   7923       # ICC 10 doesn't accept -KPIC any more.
   7924       icc* | ifort*)
   7925 	lt_prog_compiler_wl='-Wl,'
   7926 	lt_prog_compiler_pic='-fPIC'
   7927 	lt_prog_compiler_static='-static'
   7928         ;;
   7929       # Lahey Fortran 8.1.
   7930       lf95*)
   7931 	lt_prog_compiler_wl='-Wl,'
   7932 	lt_prog_compiler_pic='--shared'
   7933 	lt_prog_compiler_static='--static'
   7934 	;;
   7935       nagfor*)
   7936 	# NAG Fortran compiler
   7937 	lt_prog_compiler_wl='-Wl,-Wl,,'
   7938 	lt_prog_compiler_pic='-PIC'
   7939 	lt_prog_compiler_static='-Bstatic'
   7940 	;;
   7941       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   7942         # Portland Group compilers (*not* the Pentium gcc compiler,
   7943 	# which looks to be a dead project)
   7944 	lt_prog_compiler_wl='-Wl,'
   7945 	lt_prog_compiler_pic='-fpic'
   7946 	lt_prog_compiler_static='-Bstatic'
   7947         ;;
   7948       ccc*)
   7949         lt_prog_compiler_wl='-Wl,'
   7950         # All Alpha code is PIC.
   7951         lt_prog_compiler_static='-non_shared'
   7952         ;;
   7953       xl* | bgxl* | bgf* | mpixl*)
   7954 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   7955 	lt_prog_compiler_wl='-Wl,'
   7956 	lt_prog_compiler_pic='-qpic'
   7957 	lt_prog_compiler_static='-qstaticlink'
   7958 	;;
   7959       *)
   7960 	case `$CC -V 2>&1 | sed 5q` in
   7961 	*Sun\ F* | *Sun*Fortran*)
   7962 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7963 	  lt_prog_compiler_pic='-KPIC'
   7964 	  lt_prog_compiler_static='-Bstatic'
   7965 	  lt_prog_compiler_wl=''
   7966 	  ;;
   7967 	*Sun\ C*)
   7968 	  # Sun C 5.9
   7969 	  lt_prog_compiler_pic='-KPIC'
   7970 	  lt_prog_compiler_static='-Bstatic'
   7971 	  lt_prog_compiler_wl='-Wl,'
   7972 	  ;;
   7973 	esac
   7974 	;;
   7975       esac
   7976       ;;
   7977 
   7978     newsos6)
   7979       lt_prog_compiler_pic='-KPIC'
   7980       lt_prog_compiler_static='-Bstatic'
   7981       ;;
   7982 
   7983     *nto* | *qnx*)
   7984       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7985       # it will coredump.
   7986       lt_prog_compiler_pic='-fPIC -shared'
   7987       ;;
   7988 
   7989     osf3* | osf4* | osf5*)
   7990       lt_prog_compiler_wl='-Wl,'
   7991       # All OSF/1 code is PIC.
   7992       lt_prog_compiler_static='-non_shared'
   7993       ;;
   7994 
   7995     rdos*)
   7996       lt_prog_compiler_static='-non_shared'
   7997       ;;
   7998 
   7999     solaris*)
   8000       lt_prog_compiler_pic='-KPIC'
   8001       lt_prog_compiler_static='-Bstatic'
   8002       case $cc_basename in
   8003       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8004 	lt_prog_compiler_wl='-Qoption ld ';;
   8005       *)
   8006 	lt_prog_compiler_wl='-Wl,';;
   8007       esac
   8008       ;;
   8009 
   8010     sunos4*)
   8011       lt_prog_compiler_wl='-Qoption ld '
   8012       lt_prog_compiler_pic='-PIC'
   8013       lt_prog_compiler_static='-Bstatic'
   8014       ;;
   8015 
   8016     sysv4 | sysv4.2uw2* | sysv4.3*)
   8017       lt_prog_compiler_wl='-Wl,'
   8018       lt_prog_compiler_pic='-KPIC'
   8019       lt_prog_compiler_static='-Bstatic'
   8020       ;;
   8021 
   8022     sysv4*MP*)
   8023       if test -d /usr/nec ;then
   8024 	lt_prog_compiler_pic='-Kconform_pic'
   8025 	lt_prog_compiler_static='-Bstatic'
   8026       fi
   8027       ;;
   8028 
   8029     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8030       lt_prog_compiler_wl='-Wl,'
   8031       lt_prog_compiler_pic='-KPIC'
   8032       lt_prog_compiler_static='-Bstatic'
   8033       ;;
   8034 
   8035     unicos*)
   8036       lt_prog_compiler_wl='-Wl,'
   8037       lt_prog_compiler_can_build_shared=no
   8038       ;;
   8039 
   8040     uts4*)
   8041       lt_prog_compiler_pic='-pic'
   8042       lt_prog_compiler_static='-Bstatic'
   8043       ;;
   8044 
   8045     *)
   8046       lt_prog_compiler_can_build_shared=no
   8047       ;;
   8048     esac
   8049   fi
   8050 
   8051 case $host_os in
   8052   # For platforms which do not support PIC, -DPIC is meaningless:
   8053   *djgpp*)
   8054     lt_prog_compiler_pic=
   8055     ;;
   8056   *)
   8057     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8058     ;;
   8059 esac
   8060 
   8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8062 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8063 if ${lt_cv_prog_compiler_pic+:} false; then :
   8064   $as_echo_n "(cached) " >&6
   8065 else
   8066   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8067 fi
   8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8069 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8070 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8071 
   8072 #
   8073 # Check to make sure the PIC flag actually works.
   8074 #
   8075 if test -n "$lt_prog_compiler_pic"; then
   8076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8077 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8078 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8079   $as_echo_n "(cached) " >&6
   8080 else
   8081   lt_cv_prog_compiler_pic_works=no
   8082    ac_outfile=conftest.$ac_objext
   8083    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8084    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8085    # Insert the option either (1) after the last *FLAGS variable, or
   8086    # (2) before a word containing "conftest.", or (3) at the end.
   8087    # Note that $ac_compile itself does not contain backslashes and begins
   8088    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8089    # The option is referenced via a variable to avoid confusing sed.
   8090    lt_compile=`echo "$ac_compile" | $SED \
   8091    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8092    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8093    -e 's:$: $lt_compiler_flag:'`
   8094    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8095    (eval "$lt_compile" 2>conftest.err)
   8096    ac_status=$?
   8097    cat conftest.err >&5
   8098    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8099    if (exit $ac_status) && test -s "$ac_outfile"; then
   8100      # The compiler can only warn and ignore the option if not recognized
   8101      # So say no if there are warnings other than the usual output.
   8102      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8103      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8104      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8105        lt_cv_prog_compiler_pic_works=yes
   8106      fi
   8107    fi
   8108    $RM conftest*
   8109 
   8110 fi
   8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8112 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8113 
   8114 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8115     case $lt_prog_compiler_pic in
   8116      "" | " "*) ;;
   8117      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8118      esac
   8119 else
   8120     lt_prog_compiler_pic=
   8121      lt_prog_compiler_can_build_shared=no
   8122 fi
   8123 
   8124 fi
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 #
   8137 # Check to make sure the static flag actually works.
   8138 #
   8139 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8141 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8142 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8143   $as_echo_n "(cached) " >&6
   8144 else
   8145   lt_cv_prog_compiler_static_works=no
   8146    save_LDFLAGS="$LDFLAGS"
   8147    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8148    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8149    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8150      # The linker can only warn and ignore the option if not recognized
   8151      # So say no if there are warnings
   8152      if test -s conftest.err; then
   8153        # Append any errors to the config.log.
   8154        cat conftest.err 1>&5
   8155        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8156        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8157        if diff conftest.exp conftest.er2 >/dev/null; then
   8158          lt_cv_prog_compiler_static_works=yes
   8159        fi
   8160      else
   8161        lt_cv_prog_compiler_static_works=yes
   8162      fi
   8163    fi
   8164    $RM -r conftest*
   8165    LDFLAGS="$save_LDFLAGS"
   8166 
   8167 fi
   8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8169 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8170 
   8171 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8172     :
   8173 else
   8174     lt_prog_compiler_static=
   8175 fi
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8184 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8185 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8186   $as_echo_n "(cached) " >&6
   8187 else
   8188   lt_cv_prog_compiler_c_o=no
   8189    $RM -r conftest 2>/dev/null
   8190    mkdir conftest
   8191    cd conftest
   8192    mkdir out
   8193    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8194 
   8195    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8196    # Insert the option either (1) after the last *FLAGS variable, or
   8197    # (2) before a word containing "conftest.", or (3) at the end.
   8198    # Note that $ac_compile itself does not contain backslashes and begins
   8199    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8200    lt_compile=`echo "$ac_compile" | $SED \
   8201    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8202    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8203    -e 's:$: $lt_compiler_flag:'`
   8204    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8205    (eval "$lt_compile" 2>out/conftest.err)
   8206    ac_status=$?
   8207    cat out/conftest.err >&5
   8208    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8209    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8210    then
   8211      # The compiler can only warn and ignore the option if not recognized
   8212      # So say no if there are warnings
   8213      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8214      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8215      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8216        lt_cv_prog_compiler_c_o=yes
   8217      fi
   8218    fi
   8219    chmod u+w . 2>&5
   8220    $RM conftest*
   8221    # SGI C++ compiler will create directory out/ii_files/ for
   8222    # template instantiation
   8223    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8224    $RM out/* && rmdir out
   8225    cd ..
   8226    $RM -r conftest
   8227    $RM conftest*
   8228 
   8229 fi
   8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8231 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8239 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8240 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8241   $as_echo_n "(cached) " >&6
   8242 else
   8243   lt_cv_prog_compiler_c_o=no
   8244    $RM -r conftest 2>/dev/null
   8245    mkdir conftest
   8246    cd conftest
   8247    mkdir out
   8248    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8249 
   8250    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8251    # Insert the option either (1) after the last *FLAGS variable, or
   8252    # (2) before a word containing "conftest.", or (3) at the end.
   8253    # Note that $ac_compile itself does not contain backslashes and begins
   8254    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8255    lt_compile=`echo "$ac_compile" | $SED \
   8256    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8257    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8258    -e 's:$: $lt_compiler_flag:'`
   8259    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8260    (eval "$lt_compile" 2>out/conftest.err)
   8261    ac_status=$?
   8262    cat out/conftest.err >&5
   8263    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8264    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8265    then
   8266      # The compiler can only warn and ignore the option if not recognized
   8267      # So say no if there are warnings
   8268      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8269      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8270      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8271        lt_cv_prog_compiler_c_o=yes
   8272      fi
   8273    fi
   8274    chmod u+w . 2>&5
   8275    $RM conftest*
   8276    # SGI C++ compiler will create directory out/ii_files/ for
   8277    # template instantiation
   8278    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8279    $RM out/* && rmdir out
   8280    cd ..
   8281    $RM -r conftest
   8282    $RM conftest*
   8283 
   8284 fi
   8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8286 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8287 
   8288 
   8289 
   8290 
   8291 hard_links="nottested"
   8292 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8293   # do not overwrite the value of need_locks provided by the user
   8294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8295 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8296   hard_links=yes
   8297   $RM conftest*
   8298   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8299   touch conftest.a
   8300   ln conftest.a conftest.b 2>&5 || hard_links=no
   8301   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8303 $as_echo "$hard_links" >&6; }
   8304   if test "$hard_links" = no; then
   8305     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8306 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8307     need_locks=warn
   8308   fi
   8309 else
   8310   need_locks=no
   8311 fi
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8319 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8320 
   8321   runpath_var=
   8322   allow_undefined_flag=
   8323   always_export_symbols=no
   8324   archive_cmds=
   8325   archive_expsym_cmds=
   8326   compiler_needs_object=no
   8327   enable_shared_with_static_runtimes=no
   8328   export_dynamic_flag_spec=
   8329   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8330   hardcode_automatic=no
   8331   hardcode_direct=no
   8332   hardcode_direct_absolute=no
   8333   hardcode_libdir_flag_spec=
   8334   hardcode_libdir_flag_spec_ld=
   8335   hardcode_libdir_separator=
   8336   hardcode_minus_L=no
   8337   hardcode_shlibpath_var=unsupported
   8338   inherit_rpath=no
   8339   link_all_deplibs=unknown
   8340   module_cmds=
   8341   module_expsym_cmds=
   8342   old_archive_from_new_cmds=
   8343   old_archive_from_expsyms_cmds=
   8344   thread_safe_flag_spec=
   8345   whole_archive_flag_spec=
   8346   # include_expsyms should be a list of space-separated symbols to be *always*
   8347   # included in the symbol list
   8348   include_expsyms=
   8349   # exclude_expsyms can be an extended regexp of symbols to exclude
   8350   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8351   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8352   # as well as any symbol that contains `d'.
   8353   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8354   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8355   # platforms (ab)use it in PIC code, but their linkers get confused if
   8356   # the symbol is explicitly referenced.  Since portable code cannot
   8357   # rely on this symbol name, it's probably fine to never include it in
   8358   # preloaded symbol tables.
   8359   # Exclude shared library initialization/finalization symbols.
   8360   extract_expsyms_cmds=
   8361 
   8362   case $host_os in
   8363   cygwin* | mingw* | pw32* | cegcc*)
   8364     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8365     # When not using gcc, we currently assume that we are using
   8366     # Microsoft Visual C++.
   8367     if test "$GCC" != yes; then
   8368       with_gnu_ld=no
   8369     fi
   8370     ;;
   8371   interix*)
   8372     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8373     with_gnu_ld=yes
   8374     ;;
   8375   openbsd*)
   8376     with_gnu_ld=no
   8377     ;;
   8378   esac
   8379 
   8380   ld_shlibs=yes
   8381 
   8382   # On some targets, GNU ld is compatible enough with the native linker
   8383   # that we're better off using the native interface for both.
   8384   lt_use_gnu_ld_interface=no
   8385   if test "$with_gnu_ld" = yes; then
   8386     case $host_os in
   8387       aix*)
   8388 	# The AIX port of GNU ld has always aspired to compatibility
   8389 	# with the native linker.  However, as the warning in the GNU ld
   8390 	# block says, versions before 2.19.5* couldn't really create working
   8391 	# shared libraries, regardless of the interface used.
   8392 	case `$LD -v 2>&1` in
   8393 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8394 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8395 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8396 	  *)
   8397 	    lt_use_gnu_ld_interface=yes
   8398 	    ;;
   8399 	esac
   8400 	;;
   8401       *)
   8402 	lt_use_gnu_ld_interface=yes
   8403 	;;
   8404     esac
   8405   fi
   8406 
   8407   if test "$lt_use_gnu_ld_interface" = yes; then
   8408     # If archive_cmds runs LD, not CC, wlarc should be empty
   8409     wlarc='${wl}'
   8410 
   8411     # Set some defaults for GNU ld with shared library support. These
   8412     # are reset later if shared libraries are not supported. Putting them
   8413     # here allows them to be overridden if necessary.
   8414     runpath_var=LD_RUN_PATH
   8415     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8416     export_dynamic_flag_spec='${wl}--export-dynamic'
   8417     # ancient GNU ld didn't support --whole-archive et. al.
   8418     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8419       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8420     else
   8421       whole_archive_flag_spec=
   8422     fi
   8423     supports_anon_versioning=no
   8424     case `$LD -v 2>&1` in
   8425       *GNU\ gold*) supports_anon_versioning=yes ;;
   8426       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8427       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8428       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8429       *\ 2.11.*) ;; # other 2.11 versions
   8430       *) supports_anon_versioning=yes ;;
   8431     esac
   8432 
   8433     # See if GNU ld supports shared libraries.
   8434     case $host_os in
   8435     aix[3-9]*)
   8436       # On AIX/PPC, the GNU linker is very broken
   8437       if test "$host_cpu" != ia64; then
   8438 	ld_shlibs=no
   8439 	cat <<_LT_EOF 1>&2
   8440 
   8441 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8442 *** to be unable to reliably create shared libraries on AIX.
   8443 *** Therefore, libtool is disabling shared libraries support.  If you
   8444 *** really care for shared libraries, you may want to install binutils
   8445 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8446 *** You will then need to restart the configuration process.
   8447 
   8448 _LT_EOF
   8449       fi
   8450       ;;
   8451 
   8452     amigaos*)
   8453       case $host_cpu in
   8454       powerpc)
   8455             # see comment about AmigaOS4 .so support
   8456             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8457             archive_expsym_cmds=''
   8458         ;;
   8459       m68k)
   8460             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)'
   8461             hardcode_libdir_flag_spec='-L$libdir'
   8462             hardcode_minus_L=yes
   8463         ;;
   8464       esac
   8465       ;;
   8466 
   8467     beos*)
   8468       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8469 	allow_undefined_flag=unsupported
   8470 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8471 	# support --undefined.  This deserves some investigation.  FIXME
   8472 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8473       else
   8474 	ld_shlibs=no
   8475       fi
   8476       ;;
   8477 
   8478     cygwin* | mingw* | pw32* | cegcc*)
   8479       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8480       # as there is no search path for DLLs.
   8481       hardcode_libdir_flag_spec='-L$libdir'
   8482       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8483       allow_undefined_flag=unsupported
   8484       always_export_symbols=no
   8485       enable_shared_with_static_runtimes=yes
   8486       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'
   8487       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8488 
   8489       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8490         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8491 	# If the export-symbols file already is a .def file (1st line
   8492 	# is EXPORTS), use it as is; otherwise, prepend...
   8493 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8494 	  cp $export_symbols $output_objdir/$soname.def;
   8495 	else
   8496 	  echo EXPORTS > $output_objdir/$soname.def;
   8497 	  cat $export_symbols >> $output_objdir/$soname.def;
   8498 	fi~
   8499 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8500       else
   8501 	ld_shlibs=no
   8502       fi
   8503       ;;
   8504 
   8505     haiku*)
   8506       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8507       link_all_deplibs=yes
   8508       ;;
   8509 
   8510     interix[3-9]*)
   8511       hardcode_direct=no
   8512       hardcode_shlibpath_var=no
   8513       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8514       export_dynamic_flag_spec='${wl}-E'
   8515       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8516       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8517       # default) and relocated if they conflict, which is a slow very memory
   8518       # consuming and fragmenting process.  To avoid this, we pick a random,
   8519       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8520       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8521       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8522       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'
   8523       ;;
   8524 
   8525     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8526       tmp_diet=no
   8527       if test "$host_os" = linux-dietlibc; then
   8528 	case $cc_basename in
   8529 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8530 	esac
   8531       fi
   8532       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8533 	 && test "$tmp_diet" = no
   8534       then
   8535 	tmp_addflag=' $pic_flag'
   8536 	tmp_sharedflag='-shared'
   8537 	case $cc_basename,$host_cpu in
   8538         pgcc*)				# Portland Group C compiler
   8539 	  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'
   8540 	  tmp_addflag=' $pic_flag'
   8541 	  ;;
   8542 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8543 					# Portland Group f77 and f90 compilers
   8544 	  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'
   8545 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8546 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8547 	  tmp_addflag=' -i_dynamic' ;;
   8548 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8549 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8550 	ifc* | ifort*)			# Intel Fortran compiler
   8551 	  tmp_addflag=' -nofor_main' ;;
   8552 	lf95*)				# Lahey Fortran 8.1
   8553 	  whole_archive_flag_spec=
   8554 	  tmp_sharedflag='--shared' ;;
   8555 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8556 	  tmp_sharedflag='-qmkshrobj'
   8557 	  tmp_addflag= ;;
   8558 	nvcc*)	# Cuda Compiler Driver 2.2
   8559 	  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'
   8560 	  compiler_needs_object=yes
   8561 	  ;;
   8562 	esac
   8563 	case `$CC -V 2>&1 | sed 5q` in
   8564 	*Sun\ C*)			# Sun C 5.9
   8565 	  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'
   8566 	  compiler_needs_object=yes
   8567 	  tmp_sharedflag='-G' ;;
   8568 	*Sun\ F*)			# Sun Fortran 8.3
   8569 	  tmp_sharedflag='-G' ;;
   8570 	esac
   8571 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8572 
   8573         if test "x$supports_anon_versioning" = xyes; then
   8574           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8575 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8576 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8577 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8578         fi
   8579 
   8580 	case $cc_basename in
   8581 	xlf* | bgf* | bgxlf* | mpixlf*)
   8582 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8583 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8584 	  hardcode_libdir_flag_spec=
   8585 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8586 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8587 	  if test "x$supports_anon_versioning" = xyes; then
   8588 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8589 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8590 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8591 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8592 	  fi
   8593 	  ;;
   8594 	esac
   8595       else
   8596         ld_shlibs=no
   8597       fi
   8598       ;;
   8599 
   8600     netbsd*)
   8601       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8602 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8603 	wlarc=
   8604       else
   8605 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8606 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8607       fi
   8608       ;;
   8609 
   8610     solaris*)
   8611       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8612 	ld_shlibs=no
   8613 	cat <<_LT_EOF 1>&2
   8614 
   8615 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8616 *** create shared libraries on Solaris systems.  Therefore, libtool
   8617 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8618 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8619 *** your PATH or compiler configuration so that the native linker is
   8620 *** used, and then restart.
   8621 
   8622 _LT_EOF
   8623       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8624 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8625 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8626       else
   8627 	ld_shlibs=no
   8628       fi
   8629       ;;
   8630 
   8631     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8632       case `$LD -v 2>&1` in
   8633         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8634 	ld_shlibs=no
   8635 	cat <<_LT_EOF 1>&2
   8636 
   8637 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8638 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8639 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8640 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8641 *** your PATH or compiler configuration so that the native linker is
   8642 *** used, and then restart.
   8643 
   8644 _LT_EOF
   8645 	;;
   8646 	*)
   8647 	  # For security reasons, it is highly recommended that you always
   8648 	  # use absolute paths for naming shared libraries, and exclude the
   8649 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8650 	  # requires that you compile everything twice, which is a pain.
   8651 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8652 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8653 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8654 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8655 	  else
   8656 	    ld_shlibs=no
   8657 	  fi
   8658 	;;
   8659       esac
   8660       ;;
   8661 
   8662     sunos4*)
   8663       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8664       wlarc=
   8665       hardcode_direct=yes
   8666       hardcode_shlibpath_var=no
   8667       ;;
   8668 
   8669     *)
   8670       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8671 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8672 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8673       else
   8674 	ld_shlibs=no
   8675       fi
   8676       ;;
   8677     esac
   8678 
   8679     if test "$ld_shlibs" = no; then
   8680       runpath_var=
   8681       hardcode_libdir_flag_spec=
   8682       export_dynamic_flag_spec=
   8683       whole_archive_flag_spec=
   8684     fi
   8685   else
   8686     # PORTME fill in a description of your system's linker (not GNU ld)
   8687     case $host_os in
   8688     aix3*)
   8689       allow_undefined_flag=unsupported
   8690       always_export_symbols=yes
   8691       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'
   8692       # Note: this linker hardcodes the directories in LIBPATH if there
   8693       # are no directories specified by -L.
   8694       hardcode_minus_L=yes
   8695       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8696 	# Neither direct hardcoding nor static linking is supported with a
   8697 	# broken collect2.
   8698 	hardcode_direct=unsupported
   8699       fi
   8700       ;;
   8701 
   8702     aix[4-9]*)
   8703       if test "$host_cpu" = ia64; then
   8704 	# On IA64, the linker does run time linking by default, so we don't
   8705 	# have to do anything special.
   8706 	aix_use_runtimelinking=no
   8707 	exp_sym_flag='-Bexport'
   8708 	no_entry_flag=""
   8709       else
   8710 	# If we're using GNU nm, then we don't want the "-C" option.
   8711 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8712 	# Also, AIX nm treats weak defined symbols like other global
   8713 	# defined symbols, whereas GNU nm marks them as "W".
   8714 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8715 	  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'
   8716 	else
   8717 	  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'
   8718 	fi
   8719 	aix_use_runtimelinking=no
   8720 
   8721 	# Test if we are trying to use run time linking or normal
   8722 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8723 	# need to do runtime linking.
   8724 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8725 	  for ld_flag in $LDFLAGS; do
   8726 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8727 	    aix_use_runtimelinking=yes
   8728 	    break
   8729 	  fi
   8730 	  done
   8731 	  ;;
   8732 	esac
   8733 
   8734 	exp_sym_flag='-bexport'
   8735 	no_entry_flag='-bnoentry'
   8736       fi
   8737 
   8738       # When large executables or shared objects are built, AIX ld can
   8739       # have problems creating the table of contents.  If linking a library
   8740       # or program results in "error TOC overflow" add -mminimal-toc to
   8741       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8742       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8743 
   8744       archive_cmds=''
   8745       hardcode_direct=yes
   8746       hardcode_direct_absolute=yes
   8747       hardcode_libdir_separator=':'
   8748       link_all_deplibs=yes
   8749       file_list_spec='${wl}-f,'
   8750 
   8751       if test "$GCC" = yes; then
   8752 	case $host_os in aix4.[012]|aix4.[012].*)
   8753 	# We only want to do this on AIX 4.2 and lower, the check
   8754 	# below for broken collect2 doesn't work under 4.3+
   8755 	  collect2name=`${CC} -print-prog-name=collect2`
   8756 	  if test -f "$collect2name" &&
   8757 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8758 	  then
   8759 	  # We have reworked collect2
   8760 	  :
   8761 	  else
   8762 	  # We have old collect2
   8763 	  hardcode_direct=unsupported
   8764 	  # It fails to find uninstalled libraries when the uninstalled
   8765 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8766 	  # to unsupported forces relinking
   8767 	  hardcode_minus_L=yes
   8768 	  hardcode_libdir_flag_spec='-L$libdir'
   8769 	  hardcode_libdir_separator=
   8770 	  fi
   8771 	  ;;
   8772 	esac
   8773 	shared_flag='-shared'
   8774 	if test "$aix_use_runtimelinking" = yes; then
   8775 	  shared_flag="$shared_flag "'${wl}-G'
   8776 	fi
   8777       else
   8778 	# not using gcc
   8779 	if test "$host_cpu" = ia64; then
   8780 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8781 	# chokes on -Wl,-G. The following line is correct:
   8782 	  shared_flag='-G'
   8783 	else
   8784 	  if test "$aix_use_runtimelinking" = yes; then
   8785 	    shared_flag='${wl}-G'
   8786 	  else
   8787 	    shared_flag='${wl}-bM:SRE'
   8788 	  fi
   8789 	fi
   8790       fi
   8791 
   8792       export_dynamic_flag_spec='${wl}-bexpall'
   8793       # It seems that -bexpall does not export symbols beginning with
   8794       # underscore (_), so it is better to generate a list of symbols to export.
   8795       always_export_symbols=yes
   8796       if test "$aix_use_runtimelinking" = yes; then
   8797 	# Warning - without using the other runtime loading flags (-brtl),
   8798 	# -berok will link without error, but may produce a broken library.
   8799 	allow_undefined_flag='-berok'
   8800         # Determine the default libpath from the value encoded in an
   8801         # empty executable.
   8802         if test "${lt_cv_aix_libpath+set}" = set; then
   8803   aix_libpath=$lt_cv_aix_libpath
   8804 else
   8805   if ${lt_cv_aix_libpath_+:} false; then :
   8806   $as_echo_n "(cached) " >&6
   8807 else
   8808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8809 /* end confdefs.h.  */
   8810 
   8811 int
   8812 main ()
   8813 {
   8814 
   8815   ;
   8816   return 0;
   8817 }
   8818 _ACEOF
   8819 if ac_fn_c_try_link "$LINENO"; then :
   8820 
   8821   lt_aix_libpath_sed='
   8822       /Import File Strings/,/^$/ {
   8823 	  /^0/ {
   8824 	      s/^0  *\([^ ]*\) *$/\1/
   8825 	      p
   8826 	  }
   8827       }'
   8828   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8829   # Check for a 64-bit object if we didn't find anything.
   8830   if test -z "$lt_cv_aix_libpath_"; then
   8831     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8832   fi
   8833 fi
   8834 rm -f core conftest.err conftest.$ac_objext \
   8835     conftest$ac_exeext conftest.$ac_ext
   8836   if test -z "$lt_cv_aix_libpath_"; then
   8837     lt_cv_aix_libpath_="/usr/lib:/lib"
   8838   fi
   8839 
   8840 fi
   8841 
   8842   aix_libpath=$lt_cv_aix_libpath_
   8843 fi
   8844 
   8845         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8846         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"
   8847       else
   8848 	if test "$host_cpu" = ia64; then
   8849 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8850 	  allow_undefined_flag="-z nodefs"
   8851 	  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"
   8852 	else
   8853 	 # Determine the default libpath from the value encoded in an
   8854 	 # empty executable.
   8855 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8856   aix_libpath=$lt_cv_aix_libpath
   8857 else
   8858   if ${lt_cv_aix_libpath_+:} false; then :
   8859   $as_echo_n "(cached) " >&6
   8860 else
   8861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8862 /* end confdefs.h.  */
   8863 
   8864 int
   8865 main ()
   8866 {
   8867 
   8868   ;
   8869   return 0;
   8870 }
   8871 _ACEOF
   8872 if ac_fn_c_try_link "$LINENO"; then :
   8873 
   8874   lt_aix_libpath_sed='
   8875       /Import File Strings/,/^$/ {
   8876 	  /^0/ {
   8877 	      s/^0  *\([^ ]*\) *$/\1/
   8878 	      p
   8879 	  }
   8880       }'
   8881   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8882   # Check for a 64-bit object if we didn't find anything.
   8883   if test -z "$lt_cv_aix_libpath_"; then
   8884     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8885   fi
   8886 fi
   8887 rm -f core conftest.err conftest.$ac_objext \
   8888     conftest$ac_exeext conftest.$ac_ext
   8889   if test -z "$lt_cv_aix_libpath_"; then
   8890     lt_cv_aix_libpath_="/usr/lib:/lib"
   8891   fi
   8892 
   8893 fi
   8894 
   8895   aix_libpath=$lt_cv_aix_libpath_
   8896 fi
   8897 
   8898 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8899 	  # Warning - without using the other run time loading flags,
   8900 	  # -berok will link without error, but may produce a broken library.
   8901 	  no_undefined_flag=' ${wl}-bernotok'
   8902 	  allow_undefined_flag=' ${wl}-berok'
   8903 	  if test "$with_gnu_ld" = yes; then
   8904 	    # We only use this code for GNU lds that support --whole-archive.
   8905 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8906 	  else
   8907 	    # Exported symbols can be pulled into shared objects from archives
   8908 	    whole_archive_flag_spec='$convenience'
   8909 	  fi
   8910 	  archive_cmds_need_lc=yes
   8911 	  # This is similar to how AIX traditionally builds its shared libraries.
   8912 	  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'
   8913 	fi
   8914       fi
   8915       ;;
   8916 
   8917     amigaos*)
   8918       case $host_cpu in
   8919       powerpc)
   8920             # see comment about AmigaOS4 .so support
   8921             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8922             archive_expsym_cmds=''
   8923         ;;
   8924       m68k)
   8925             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)'
   8926             hardcode_libdir_flag_spec='-L$libdir'
   8927             hardcode_minus_L=yes
   8928         ;;
   8929       esac
   8930       ;;
   8931 
   8932     bsdi[45]*)
   8933       export_dynamic_flag_spec=-rdynamic
   8934       ;;
   8935 
   8936     cygwin* | mingw* | pw32* | cegcc*)
   8937       # When not using gcc, we currently assume that we are using
   8938       # Microsoft Visual C++.
   8939       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8940       # no search path for DLLs.
   8941       case $cc_basename in
   8942       cl*)
   8943 	# Native MSVC
   8944 	hardcode_libdir_flag_spec=' '
   8945 	allow_undefined_flag=unsupported
   8946 	always_export_symbols=yes
   8947 	file_list_spec='@'
   8948 	# Tell ltmain to make .lib files, not .a files.
   8949 	libext=lib
   8950 	# Tell ltmain to make .dll files, not .so files.
   8951 	shrext_cmds=".dll"
   8952 	# FIXME: Setting linknames here is a bad hack.
   8953 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   8954 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8955 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   8956 	  else
   8957 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   8958 	  fi~
   8959 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   8960 	  linknames='
   8961 	# The linker will not automatically build a static lib if we build a DLL.
   8962 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   8963 	enable_shared_with_static_runtimes=yes
   8964 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8965 	# Don't use ranlib
   8966 	old_postinstall_cmds='chmod 644 $oldlib'
   8967 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   8968 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   8969 	  case $lt_outputfile in
   8970 	    *.exe|*.EXE) ;;
   8971 	    *)
   8972 	      lt_outputfile="$lt_outputfile.exe"
   8973 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   8974 	      ;;
   8975 	  esac~
   8976 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   8977 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   8978 	    $RM "$lt_outputfile.manifest";
   8979 	  fi'
   8980 	;;
   8981       *)
   8982 	# Assume MSVC wrapper
   8983 	hardcode_libdir_flag_spec=' '
   8984 	allow_undefined_flag=unsupported
   8985 	# Tell ltmain to make .lib files, not .a files.
   8986 	libext=lib
   8987 	# Tell ltmain to make .dll files, not .so files.
   8988 	shrext_cmds=".dll"
   8989 	# FIXME: Setting linknames here is a bad hack.
   8990 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   8991 	# The linker will automatically build a .lib file if we build a DLL.
   8992 	old_archive_from_new_cmds='true'
   8993 	# FIXME: Should let the user specify the lib program.
   8994 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8995 	enable_shared_with_static_runtimes=yes
   8996 	;;
   8997       esac
   8998       ;;
   8999 
   9000     darwin* | rhapsody*)
   9001 
   9002 
   9003   archive_cmds_need_lc=no
   9004   hardcode_direct=no
   9005   hardcode_automatic=yes
   9006   hardcode_shlibpath_var=unsupported
   9007   if test "$lt_cv_ld_force_load" = "yes"; then
   9008     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\"`'
   9009   else
   9010     whole_archive_flag_spec=''
   9011   fi
   9012   link_all_deplibs=yes
   9013   allow_undefined_flag="$_lt_dar_allow_undefined"
   9014   case $cc_basename in
   9015      ifort*) _lt_dar_can_shared=yes ;;
   9016      *) _lt_dar_can_shared=$GCC ;;
   9017   esac
   9018   if test "$_lt_dar_can_shared" = "yes"; then
   9019     output_verbose_link_cmd=func_echo_all
   9020     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9021     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9022     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}"
   9023     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}"
   9024 
   9025   else
   9026   ld_shlibs=no
   9027   fi
   9028 
   9029       ;;
   9030 
   9031     dgux*)
   9032       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9033       hardcode_libdir_flag_spec='-L$libdir'
   9034       hardcode_shlibpath_var=no
   9035       ;;
   9036 
   9037     freebsd1*)
   9038       ld_shlibs=no
   9039       ;;
   9040 
   9041     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9042     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9043     # does not break anything, and helps significantly (at the cost of a little
   9044     # extra space).
   9045     freebsd2.2*)
   9046       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9047       hardcode_libdir_flag_spec='-R$libdir'
   9048       hardcode_direct=yes
   9049       hardcode_shlibpath_var=no
   9050       ;;
   9051 
   9052     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9053     freebsd2*)
   9054       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9055       hardcode_direct=yes
   9056       hardcode_minus_L=yes
   9057       hardcode_shlibpath_var=no
   9058       ;;
   9059 
   9060     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9061     freebsd* | dragonfly*)
   9062       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9063       hardcode_libdir_flag_spec='-R$libdir'
   9064       hardcode_direct=yes
   9065       hardcode_shlibpath_var=no
   9066       ;;
   9067 
   9068     hpux9*)
   9069       if test "$GCC" = yes; then
   9070 	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'
   9071       else
   9072 	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'
   9073       fi
   9074       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9075       hardcode_libdir_separator=:
   9076       hardcode_direct=yes
   9077 
   9078       # hardcode_minus_L: Not really in the search PATH,
   9079       # but as the default location of the library.
   9080       hardcode_minus_L=yes
   9081       export_dynamic_flag_spec='${wl}-E'
   9082       ;;
   9083 
   9084     hpux10*)
   9085       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9086 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9087       else
   9088 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9089       fi
   9090       if test "$with_gnu_ld" = no; then
   9091 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9092 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9093 	hardcode_libdir_separator=:
   9094 	hardcode_direct=yes
   9095 	hardcode_direct_absolute=yes
   9096 	export_dynamic_flag_spec='${wl}-E'
   9097 	# hardcode_minus_L: Not really in the search PATH,
   9098 	# but as the default location of the library.
   9099 	hardcode_minus_L=yes
   9100       fi
   9101       ;;
   9102 
   9103     hpux11*)
   9104       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9105 	case $host_cpu in
   9106 	hppa*64*)
   9107 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9108 	  ;;
   9109 	ia64*)
   9110 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9111 	  ;;
   9112 	*)
   9113 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9114 	  ;;
   9115 	esac
   9116       else
   9117 	case $host_cpu in
   9118 	hppa*64*)
   9119 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9120 	  ;;
   9121 	ia64*)
   9122 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9123 	  ;;
   9124 	*)
   9125 
   9126 	  # Older versions of the 11.00 compiler do not understand -b yet
   9127 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9128 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9129 $as_echo_n "checking if $CC understands -b... " >&6; }
   9130 if ${lt_cv_prog_compiler__b+:} false; then :
   9131   $as_echo_n "(cached) " >&6
   9132 else
   9133   lt_cv_prog_compiler__b=no
   9134    save_LDFLAGS="$LDFLAGS"
   9135    LDFLAGS="$LDFLAGS -b"
   9136    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9137    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9138      # The linker can only warn and ignore the option if not recognized
   9139      # So say no if there are warnings
   9140      if test -s conftest.err; then
   9141        # Append any errors to the config.log.
   9142        cat conftest.err 1>&5
   9143        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9144        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9145        if diff conftest.exp conftest.er2 >/dev/null; then
   9146          lt_cv_prog_compiler__b=yes
   9147        fi
   9148      else
   9149        lt_cv_prog_compiler__b=yes
   9150      fi
   9151    fi
   9152    $RM -r conftest*
   9153    LDFLAGS="$save_LDFLAGS"
   9154 
   9155 fi
   9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9157 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9158 
   9159 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9160     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9161 else
   9162     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9163 fi
   9164 
   9165 	  ;;
   9166 	esac
   9167       fi
   9168       if test "$with_gnu_ld" = no; then
   9169 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9170 	hardcode_libdir_separator=:
   9171 
   9172 	case $host_cpu in
   9173 	hppa*64*|ia64*)
   9174 	  hardcode_direct=no
   9175 	  hardcode_shlibpath_var=no
   9176 	  ;;
   9177 	*)
   9178 	  hardcode_direct=yes
   9179 	  hardcode_direct_absolute=yes
   9180 	  export_dynamic_flag_spec='${wl}-E'
   9181 
   9182 	  # hardcode_minus_L: Not really in the search PATH,
   9183 	  # but as the default location of the library.
   9184 	  hardcode_minus_L=yes
   9185 	  ;;
   9186 	esac
   9187       fi
   9188       ;;
   9189 
   9190     irix5* | irix6* | nonstopux*)
   9191       if test "$GCC" = yes; then
   9192 	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'
   9193 	# Try to use the -exported_symbol ld option, if it does not
   9194 	# work, assume that -exports_file does not work either and
   9195 	# implicitly export all symbols.
   9196 	# This should be the same for all languages, so no per-tag cache variable.
   9197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9198 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9199 if ${lt_cv_irix_exported_symbol+:} false; then :
   9200   $as_echo_n "(cached) " >&6
   9201 else
   9202   save_LDFLAGS="$LDFLAGS"
   9203 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9204 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9205 /* end confdefs.h.  */
   9206 int foo (void) { return 0; }
   9207 _ACEOF
   9208 if ac_fn_c_try_link "$LINENO"; then :
   9209   lt_cv_irix_exported_symbol=yes
   9210 else
   9211   lt_cv_irix_exported_symbol=no
   9212 fi
   9213 rm -f core conftest.err conftest.$ac_objext \
   9214     conftest$ac_exeext conftest.$ac_ext
   9215            LDFLAGS="$save_LDFLAGS"
   9216 fi
   9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9218 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9219 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9220           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'
   9221 	fi
   9222       else
   9223 	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'
   9224 	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'
   9225       fi
   9226       archive_cmds_need_lc='no'
   9227       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9228       hardcode_libdir_separator=:
   9229       inherit_rpath=yes
   9230       link_all_deplibs=yes
   9231       ;;
   9232 
   9233     netbsd*)
   9234       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9235 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9236       else
   9237 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9238       fi
   9239       hardcode_libdir_flag_spec='-R$libdir'
   9240       hardcode_direct=yes
   9241       hardcode_shlibpath_var=no
   9242       ;;
   9243 
   9244     newsos6)
   9245       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9246       hardcode_direct=yes
   9247       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9248       hardcode_libdir_separator=:
   9249       hardcode_shlibpath_var=no
   9250       ;;
   9251 
   9252     *nto* | *qnx*)
   9253       ;;
   9254 
   9255     openbsd*)
   9256       if test -f /usr/libexec/ld.so; then
   9257 	hardcode_direct=yes
   9258 	hardcode_shlibpath_var=no
   9259 	hardcode_direct_absolute=yes
   9260 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9261 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9262 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9263 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9264 	  export_dynamic_flag_spec='${wl}-E'
   9265 	else
   9266 	  case $host_os in
   9267 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9268 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9269 	     hardcode_libdir_flag_spec='-R$libdir'
   9270 	     ;;
   9271 	   *)
   9272 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9273 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9274 	     ;;
   9275 	  esac
   9276 	fi
   9277       else
   9278 	ld_shlibs=no
   9279       fi
   9280       ;;
   9281 
   9282     os2*)
   9283       hardcode_libdir_flag_spec='-L$libdir'
   9284       hardcode_minus_L=yes
   9285       allow_undefined_flag=unsupported
   9286       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'
   9287       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9288       ;;
   9289 
   9290     osf3*)
   9291       if test "$GCC" = yes; then
   9292 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9293 	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'
   9294       else
   9295 	allow_undefined_flag=' -expect_unresolved \*'
   9296 	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'
   9297       fi
   9298       archive_cmds_need_lc='no'
   9299       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9300       hardcode_libdir_separator=:
   9301       ;;
   9302 
   9303     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9304       if test "$GCC" = yes; then
   9305 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9306 	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'
   9307 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9308       else
   9309 	allow_undefined_flag=' -expect_unresolved \*'
   9310 	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'
   9311 	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~
   9312 	$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'
   9313 
   9314 	# Both c and cxx compiler support -rpath directly
   9315 	hardcode_libdir_flag_spec='-rpath $libdir'
   9316       fi
   9317       archive_cmds_need_lc='no'
   9318       hardcode_libdir_separator=:
   9319       ;;
   9320 
   9321     solaris*)
   9322       no_undefined_flag=' -z defs'
   9323       if test "$GCC" = yes; then
   9324 	wlarc='${wl}'
   9325 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9326 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9327 	  $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'
   9328       else
   9329 	case `$CC -V 2>&1` in
   9330 	*"Compilers 5.0"*)
   9331 	  wlarc=''
   9332 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9333 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9334 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9335 	  ;;
   9336 	*)
   9337 	  wlarc='${wl}'
   9338 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9339 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9340 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9341 	  ;;
   9342 	esac
   9343       fi
   9344       hardcode_libdir_flag_spec='-R$libdir'
   9345       hardcode_shlibpath_var=no
   9346       case $host_os in
   9347       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9348       *)
   9349 	# The compiler driver will combine and reorder linker options,
   9350 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9351 	# but is careful enough not to reorder.
   9352 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9353 	if test "$GCC" = yes; then
   9354 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9355 	else
   9356 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9357 	fi
   9358 	;;
   9359       esac
   9360       link_all_deplibs=yes
   9361       ;;
   9362 
   9363     sunos4*)
   9364       if test "x$host_vendor" = xsequent; then
   9365 	# Use $CC to link under sequent, because it throws in some extra .o
   9366 	# files that make .init and .fini sections work.
   9367 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9368       else
   9369 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9370       fi
   9371       hardcode_libdir_flag_spec='-L$libdir'
   9372       hardcode_direct=yes
   9373       hardcode_minus_L=yes
   9374       hardcode_shlibpath_var=no
   9375       ;;
   9376 
   9377     sysv4)
   9378       case $host_vendor in
   9379 	sni)
   9380 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9381 	  hardcode_direct=yes # is this really true???
   9382 	;;
   9383 	siemens)
   9384 	  ## LD is ld it makes a PLAMLIB
   9385 	  ## CC just makes a GrossModule.
   9386 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9387 	  reload_cmds='$CC -r -o $output$reload_objs'
   9388 	  hardcode_direct=no
   9389         ;;
   9390 	motorola)
   9391 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9392 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9393 	;;
   9394       esac
   9395       runpath_var='LD_RUN_PATH'
   9396       hardcode_shlibpath_var=no
   9397       ;;
   9398 
   9399     sysv4.3*)
   9400       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9401       hardcode_shlibpath_var=no
   9402       export_dynamic_flag_spec='-Bexport'
   9403       ;;
   9404 
   9405     sysv4*MP*)
   9406       if test -d /usr/nec; then
   9407 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9408 	hardcode_shlibpath_var=no
   9409 	runpath_var=LD_RUN_PATH
   9410 	hardcode_runpath_var=yes
   9411 	ld_shlibs=yes
   9412       fi
   9413       ;;
   9414 
   9415     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9416       no_undefined_flag='${wl}-z,text'
   9417       archive_cmds_need_lc=no
   9418       hardcode_shlibpath_var=no
   9419       runpath_var='LD_RUN_PATH'
   9420 
   9421       if test "$GCC" = yes; then
   9422 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9423 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9424       else
   9425 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9426 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9427       fi
   9428       ;;
   9429 
   9430     sysv5* | sco3.2v5* | sco5v6*)
   9431       # Note: We can NOT use -z defs as we might desire, because we do not
   9432       # link with -lc, and that would cause any symbols used from libc to
   9433       # always be unresolved, which means just about no library would
   9434       # ever link correctly.  If we're not using GNU ld we use -z text
   9435       # though, which does catch some bad symbols but isn't as heavy-handed
   9436       # as -z defs.
   9437       no_undefined_flag='${wl}-z,text'
   9438       allow_undefined_flag='${wl}-z,nodefs'
   9439       archive_cmds_need_lc=no
   9440       hardcode_shlibpath_var=no
   9441       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9442       hardcode_libdir_separator=':'
   9443       link_all_deplibs=yes
   9444       export_dynamic_flag_spec='${wl}-Bexport'
   9445       runpath_var='LD_RUN_PATH'
   9446 
   9447       if test "$GCC" = yes; then
   9448 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9449 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9450       else
   9451 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9452 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9453       fi
   9454       ;;
   9455 
   9456     uts4*)
   9457       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9458       hardcode_libdir_flag_spec='-L$libdir'
   9459       hardcode_shlibpath_var=no
   9460       ;;
   9461 
   9462     *)
   9463       ld_shlibs=no
   9464       ;;
   9465     esac
   9466 
   9467     if test x$host_vendor = xsni; then
   9468       case $host in
   9469       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9470 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9471 	;;
   9472       esac
   9473     fi
   9474   fi
   9475 
   9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9477 $as_echo "$ld_shlibs" >&6; }
   9478 test "$ld_shlibs" = no && can_build_shared=no
   9479 
   9480 with_gnu_ld=$with_gnu_ld
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 #
   9497 # Do we need to explicitly link libc?
   9498 #
   9499 case "x$archive_cmds_need_lc" in
   9500 x|xyes)
   9501   # Assume -lc should be added
   9502   archive_cmds_need_lc=yes
   9503 
   9504   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9505     case $archive_cmds in
   9506     *'~'*)
   9507       # FIXME: we may have to deal with multi-command sequences.
   9508       ;;
   9509     '$CC '*)
   9510       # Test whether the compiler implicitly links with -lc since on some
   9511       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9512       # to ld, don't add -lc before -lgcc.
   9513       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9514 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9515 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9516   $as_echo_n "(cached) " >&6
   9517 else
   9518   $RM conftest*
   9519 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9520 
   9521 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9522   (eval $ac_compile) 2>&5
   9523   ac_status=$?
   9524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9525   test $ac_status = 0; } 2>conftest.err; then
   9526 	  soname=conftest
   9527 	  lib=conftest
   9528 	  libobjs=conftest.$ac_objext
   9529 	  deplibs=
   9530 	  wl=$lt_prog_compiler_wl
   9531 	  pic_flag=$lt_prog_compiler_pic
   9532 	  compiler_flags=-v
   9533 	  linker_flags=-v
   9534 	  verstring=
   9535 	  output_objdir=.
   9536 	  libname=conftest
   9537 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9538 	  allow_undefined_flag=
   9539 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9540   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9541   ac_status=$?
   9542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9543   test $ac_status = 0; }
   9544 	  then
   9545 	    lt_cv_archive_cmds_need_lc=no
   9546 	  else
   9547 	    lt_cv_archive_cmds_need_lc=yes
   9548 	  fi
   9549 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9550 	else
   9551 	  cat conftest.err 1>&5
   9552 	fi
   9553 	$RM conftest*
   9554 
   9555 fi
   9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9557 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9558       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9559       ;;
   9560     esac
   9561   fi
   9562   ;;
   9563 esac
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9722 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9723 
   9724 if test "$GCC" = yes; then
   9725   case $host_os in
   9726     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9727     *) lt_awk_arg="/^libraries:/" ;;
   9728   esac
   9729   case $host_os in
   9730     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9731     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9732   esac
   9733   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9734   case $lt_search_path_spec in
   9735   *\;*)
   9736     # if the path contains ";" then we assume it to be the separator
   9737     # otherwise default to the standard path separator (i.e. ":") - it is
   9738     # assumed that no part of a normal pathname contains ";" but that should
   9739     # okay in the real world where ";" in dirpaths is itself problematic.
   9740     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9741     ;;
   9742   *)
   9743     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9744     ;;
   9745   esac
   9746   # Ok, now we have the path, separated by spaces, we can step through it
   9747   # and add multilib dir if necessary.
   9748   lt_tmp_lt_search_path_spec=
   9749   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9750   for lt_sys_path in $lt_search_path_spec; do
   9751     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9752       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9753     else
   9754       test -d "$lt_sys_path" && \
   9755 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9756     fi
   9757   done
   9758   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9759 BEGIN {RS=" "; FS="/|\n";} {
   9760   lt_foo="";
   9761   lt_count=0;
   9762   for (lt_i = NF; lt_i > 0; lt_i--) {
   9763     if ($lt_i != "" && $lt_i != ".") {
   9764       if ($lt_i == "..") {
   9765         lt_count++;
   9766       } else {
   9767         if (lt_count == 0) {
   9768           lt_foo="/" $lt_i lt_foo;
   9769         } else {
   9770           lt_count--;
   9771         }
   9772       }
   9773     }
   9774   }
   9775   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9776   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9777 }'`
   9778   # AWK program above erroneously prepends '/' to C:/dos/paths
   9779   # for these hosts.
   9780   case $host_os in
   9781     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9782       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9783   esac
   9784   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9785 else
   9786   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9787 fi
   9788 library_names_spec=
   9789 libname_spec='lib$name'
   9790 soname_spec=
   9791 shrext_cmds=".so"
   9792 postinstall_cmds=
   9793 postuninstall_cmds=
   9794 finish_cmds=
   9795 finish_eval=
   9796 shlibpath_var=
   9797 shlibpath_overrides_runpath=unknown
   9798 version_type=none
   9799 dynamic_linker="$host_os ld.so"
   9800 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9801 need_lib_prefix=unknown
   9802 hardcode_into_libs=no
   9803 
   9804 # when you set need_version to no, make sure it does not cause -set_version
   9805 # flags to be left without arguments
   9806 need_version=unknown
   9807 
   9808 case $host_os in
   9809 aix3*)
   9810   version_type=linux
   9811   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9812   shlibpath_var=LIBPATH
   9813 
   9814   # AIX 3 has no versioning support, so we append a major version to the name.
   9815   soname_spec='${libname}${release}${shared_ext}$major'
   9816   ;;
   9817 
   9818 aix[4-9]*)
   9819   version_type=linux
   9820   need_lib_prefix=no
   9821   need_version=no
   9822   hardcode_into_libs=yes
   9823   if test "$host_cpu" = ia64; then
   9824     # AIX 5 supports IA64
   9825     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9826     shlibpath_var=LD_LIBRARY_PATH
   9827   else
   9828     # With GCC up to 2.95.x, collect2 would create an import file
   9829     # for dependence libraries.  The import file would start with
   9830     # the line `#! .'.  This would cause the generated library to
   9831     # depend on `.', always an invalid library.  This was fixed in
   9832     # development snapshots of GCC prior to 3.0.
   9833     case $host_os in
   9834       aix4 | aix4.[01] | aix4.[01].*)
   9835       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9836 	   echo ' yes '
   9837 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9838 	:
   9839       else
   9840 	can_build_shared=no
   9841       fi
   9842       ;;
   9843     esac
   9844     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9845     # soname into executable. Probably we can add versioning support to
   9846     # collect2, so additional links can be useful in future.
   9847     if test "$aix_use_runtimelinking" = yes; then
   9848       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9849       # instead of lib<name>.a to let people know that these are not
   9850       # typical AIX shared libraries.
   9851       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9852     else
   9853       # We preserve .a as extension for shared libraries through AIX4.2
   9854       # and later when we are not doing run time linking.
   9855       library_names_spec='${libname}${release}.a $libname.a'
   9856       soname_spec='${libname}${release}${shared_ext}$major'
   9857     fi
   9858     shlibpath_var=LIBPATH
   9859   fi
   9860   ;;
   9861 
   9862 amigaos*)
   9863   case $host_cpu in
   9864   powerpc)
   9865     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9866     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9867     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9868     ;;
   9869   m68k)
   9870     library_names_spec='$libname.ixlibrary $libname.a'
   9871     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9872     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'
   9873     ;;
   9874   esac
   9875   ;;
   9876 
   9877 beos*)
   9878   library_names_spec='${libname}${shared_ext}'
   9879   dynamic_linker="$host_os ld.so"
   9880   shlibpath_var=LIBRARY_PATH
   9881   ;;
   9882 
   9883 bsdi[45]*)
   9884   version_type=linux
   9885   need_version=no
   9886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9887   soname_spec='${libname}${release}${shared_ext}$major'
   9888   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9889   shlibpath_var=LD_LIBRARY_PATH
   9890   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9891   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9892   # the default ld.so.conf also contains /usr/contrib/lib and
   9893   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9894   # libtool to hard-code these into programs
   9895   ;;
   9896 
   9897 cygwin* | mingw* | pw32* | cegcc*)
   9898   version_type=windows
   9899   shrext_cmds=".dll"
   9900   need_version=no
   9901   need_lib_prefix=no
   9902 
   9903   case $GCC,$cc_basename in
   9904   yes,*)
   9905     # gcc
   9906     library_names_spec='$libname.dll.a'
   9907     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9908     postinstall_cmds='base_file=`basename \${file}`~
   9909       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9910       dldir=$destdir/`dirname \$dlpath`~
   9911       test -d \$dldir || mkdir -p \$dldir~
   9912       $install_prog $dir/$dlname \$dldir/$dlname~
   9913       chmod a+x \$dldir/$dlname~
   9914       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9915         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9916       fi'
   9917     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9918       dlpath=$dir/\$dldll~
   9919        $RM \$dlpath'
   9920     shlibpath_overrides_runpath=yes
   9921 
   9922     case $host_os in
   9923     cygwin*)
   9924       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9925       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9926 
   9927       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   9928       ;;
   9929     mingw* | cegcc*)
   9930       # MinGW DLLs use traditional 'lib' prefix
   9931       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9932       ;;
   9933     pw32*)
   9934       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9935       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9936       ;;
   9937     esac
   9938     dynamic_linker='Win32 ld.exe'
   9939     ;;
   9940 
   9941   *,cl*)
   9942     # Native MSVC
   9943     libname_spec='$name'
   9944     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9945     library_names_spec='${libname}.dll.lib'
   9946 
   9947     case $build_os in
   9948     mingw*)
   9949       sys_lib_search_path_spec=
   9950       lt_save_ifs=$IFS
   9951       IFS=';'
   9952       for lt_path in $LIB
   9953       do
   9954         IFS=$lt_save_ifs
   9955         # Let DOS variable expansion print the short 8.3 style file name.
   9956         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   9957         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   9958       done
   9959       IFS=$lt_save_ifs
   9960       # Convert to MSYS style.
   9961       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   9962       ;;
   9963     cygwin*)
   9964       # Convert to unix form, then to dos form, then back to unix form
   9965       # but this time dos style (no spaces!) so that the unix form looks
   9966       # like /cygdrive/c/PROGRA~1:/cygdr...
   9967       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   9968       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   9969       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   9970       ;;
   9971     *)
   9972       sys_lib_search_path_spec="$LIB"
   9973       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9974         # It is most probably a Windows format PATH.
   9975         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9976       else
   9977         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   9978       fi
   9979       # FIXME: find the short name or the path components, as spaces are
   9980       # common. (e.g. "Program Files" -> "PROGRA~1")
   9981       ;;
   9982     esac
   9983 
   9984     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9985     postinstall_cmds='base_file=`basename \${file}`~
   9986       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9987       dldir=$destdir/`dirname \$dlpath`~
   9988       test -d \$dldir || mkdir -p \$dldir~
   9989       $install_prog $dir/$dlname \$dldir/$dlname'
   9990     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9991       dlpath=$dir/\$dldll~
   9992        $RM \$dlpath'
   9993     shlibpath_overrides_runpath=yes
   9994     dynamic_linker='Win32 link.exe'
   9995     ;;
   9996 
   9997   *)
   9998     # Assume MSVC wrapper
   9999     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10000     dynamic_linker='Win32 ld.exe'
   10001     ;;
   10002   esac
   10003   # FIXME: first we should search . and the directory the executable is in
   10004   shlibpath_var=PATH
   10005   ;;
   10006 
   10007 darwin* | rhapsody*)
   10008   dynamic_linker="$host_os dyld"
   10009   version_type=darwin
   10010   need_lib_prefix=no
   10011   need_version=no
   10012   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10013   soname_spec='${libname}${release}${major}$shared_ext'
   10014   shlibpath_overrides_runpath=yes
   10015   shlibpath_var=DYLD_LIBRARY_PATH
   10016   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10017 
   10018   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10019   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10020   ;;
   10021 
   10022 dgux*)
   10023   version_type=linux
   10024   need_lib_prefix=no
   10025   need_version=no
   10026   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10027   soname_spec='${libname}${release}${shared_ext}$major'
   10028   shlibpath_var=LD_LIBRARY_PATH
   10029   ;;
   10030 
   10031 freebsd1*)
   10032   dynamic_linker=no
   10033   ;;
   10034 
   10035 freebsd* | dragonfly*)
   10036   # DragonFly does not have aout.  When/if they implement a new
   10037   # versioning mechanism, adjust this.
   10038   if test -x /usr/bin/objformat; then
   10039     objformat=`/usr/bin/objformat`
   10040   else
   10041     case $host_os in
   10042     freebsd[123]*) objformat=aout ;;
   10043     *) objformat=elf ;;
   10044     esac
   10045   fi
   10046   version_type=freebsd-$objformat
   10047   case $version_type in
   10048     freebsd-elf*)
   10049       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10050       need_version=no
   10051       need_lib_prefix=no
   10052       ;;
   10053     freebsd-*)
   10054       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10055       need_version=yes
   10056       ;;
   10057   esac
   10058   shlibpath_var=LD_LIBRARY_PATH
   10059   case $host_os in
   10060   freebsd2*)
   10061     shlibpath_overrides_runpath=yes
   10062     ;;
   10063   freebsd3.[01]* | freebsdelf3.[01]*)
   10064     shlibpath_overrides_runpath=yes
   10065     hardcode_into_libs=yes
   10066     ;;
   10067   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10068   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10069     shlibpath_overrides_runpath=no
   10070     hardcode_into_libs=yes
   10071     ;;
   10072   *) # from 4.6 on, and DragonFly
   10073     shlibpath_overrides_runpath=yes
   10074     hardcode_into_libs=yes
   10075     ;;
   10076   esac
   10077   ;;
   10078 
   10079 gnu*)
   10080   version_type=linux
   10081   need_lib_prefix=no
   10082   need_version=no
   10083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10084   soname_spec='${libname}${release}${shared_ext}$major'
   10085   shlibpath_var=LD_LIBRARY_PATH
   10086   hardcode_into_libs=yes
   10087   ;;
   10088 
   10089 haiku*)
   10090   version_type=linux
   10091   need_lib_prefix=no
   10092   need_version=no
   10093   dynamic_linker="$host_os runtime_loader"
   10094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10095   soname_spec='${libname}${release}${shared_ext}$major'
   10096   shlibpath_var=LIBRARY_PATH
   10097   shlibpath_overrides_runpath=yes
   10098   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10099   hardcode_into_libs=yes
   10100   ;;
   10101 
   10102 hpux9* | hpux10* | hpux11*)
   10103   # Give a soname corresponding to the major version so that dld.sl refuses to
   10104   # link against other versions.
   10105   version_type=sunos
   10106   need_lib_prefix=no
   10107   need_version=no
   10108   case $host_cpu in
   10109   ia64*)
   10110     shrext_cmds='.so'
   10111     hardcode_into_libs=yes
   10112     dynamic_linker="$host_os dld.so"
   10113     shlibpath_var=LD_LIBRARY_PATH
   10114     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10115     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10116     soname_spec='${libname}${release}${shared_ext}$major'
   10117     if test "X$HPUX_IA64_MODE" = X32; then
   10118       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10119     else
   10120       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10121     fi
   10122     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10123     ;;
   10124   hppa*64*)
   10125     shrext_cmds='.sl'
   10126     hardcode_into_libs=yes
   10127     dynamic_linker="$host_os dld.sl"
   10128     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10129     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10130     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10131     soname_spec='${libname}${release}${shared_ext}$major'
   10132     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10133     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10134     ;;
   10135   *)
   10136     shrext_cmds='.sl'
   10137     dynamic_linker="$host_os dld.sl"
   10138     shlibpath_var=SHLIB_PATH
   10139     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10140     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10141     soname_spec='${libname}${release}${shared_ext}$major'
   10142     ;;
   10143   esac
   10144   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10145   postinstall_cmds='chmod 555 $lib'
   10146   # or fails outright, so override atomically:
   10147   install_override_mode=555
   10148   ;;
   10149 
   10150 interix[3-9]*)
   10151   version_type=linux
   10152   need_lib_prefix=no
   10153   need_version=no
   10154   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10155   soname_spec='${libname}${release}${shared_ext}$major'
   10156   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10157   shlibpath_var=LD_LIBRARY_PATH
   10158   shlibpath_overrides_runpath=no
   10159   hardcode_into_libs=yes
   10160   ;;
   10161 
   10162 irix5* | irix6* | nonstopux*)
   10163   case $host_os in
   10164     nonstopux*) version_type=nonstopux ;;
   10165     *)
   10166 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10167 		version_type=linux
   10168 	else
   10169 		version_type=irix
   10170 	fi ;;
   10171   esac
   10172   need_lib_prefix=no
   10173   need_version=no
   10174   soname_spec='${libname}${release}${shared_ext}$major'
   10175   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10176   case $host_os in
   10177   irix5* | nonstopux*)
   10178     libsuff= shlibsuff=
   10179     ;;
   10180   *)
   10181     case $LD in # libtool.m4 will add one of these switches to LD
   10182     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10183       libsuff= shlibsuff= libmagic=32-bit;;
   10184     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10185       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10186     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10187       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10188     *) libsuff= shlibsuff= libmagic=never-match;;
   10189     esac
   10190     ;;
   10191   esac
   10192   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10193   shlibpath_overrides_runpath=no
   10194   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10195   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10196   hardcode_into_libs=yes
   10197   ;;
   10198 
   10199 # No shared lib support for Linux oldld, aout, or coff.
   10200 linux*oldld* | linux*aout* | linux*coff*)
   10201   dynamic_linker=no
   10202   ;;
   10203 
   10204 # This must be Linux ELF.
   10205 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10206   version_type=linux
   10207   need_lib_prefix=no
   10208   need_version=no
   10209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10210   soname_spec='${libname}${release}${shared_ext}$major'
   10211   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10212   shlibpath_var=LD_LIBRARY_PATH
   10213   shlibpath_overrides_runpath=no
   10214 
   10215   # Some binutils ld are patched to set DT_RUNPATH
   10216   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10217   $as_echo_n "(cached) " >&6
   10218 else
   10219   lt_cv_shlibpath_overrides_runpath=no
   10220     save_LDFLAGS=$LDFLAGS
   10221     save_libdir=$libdir
   10222     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10223 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10224     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10225 /* end confdefs.h.  */
   10226 
   10227 int
   10228 main ()
   10229 {
   10230 
   10231   ;
   10232   return 0;
   10233 }
   10234 _ACEOF
   10235 if ac_fn_c_try_link "$LINENO"; then :
   10236   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10237   lt_cv_shlibpath_overrides_runpath=yes
   10238 fi
   10239 fi
   10240 rm -f core conftest.err conftest.$ac_objext \
   10241     conftest$ac_exeext conftest.$ac_ext
   10242     LDFLAGS=$save_LDFLAGS
   10243     libdir=$save_libdir
   10244 
   10245 fi
   10246 
   10247   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10248 
   10249   # This implies no fast_install, which is unacceptable.
   10250   # Some rework will be needed to allow for fast_install
   10251   # before this can be enabled.
   10252   hardcode_into_libs=yes
   10253 
   10254   # Append ld.so.conf contents to the search path
   10255   if test -f /etc/ld.so.conf; then
   10256     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' ' '`
   10257     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10258   fi
   10259 
   10260   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10261   # powerpc, because MkLinux only supported shared libraries with the
   10262   # GNU dynamic linker.  Since this was broken with cross compilers,
   10263   # most powerpc-linux boxes support dynamic linking these days and
   10264   # people can always --disable-shared, the test was removed, and we
   10265   # assume the GNU/Linux dynamic linker is in use.
   10266   dynamic_linker='GNU/Linux ld.so'
   10267   ;;
   10268 
   10269 netbsd*)
   10270   version_type=sunos
   10271   need_lib_prefix=no
   10272   need_version=no
   10273   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10274     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10275     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10276     dynamic_linker='NetBSD (a.out) ld.so'
   10277   else
   10278     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10279     soname_spec='${libname}${release}${shared_ext}$major'
   10280     dynamic_linker='NetBSD ld.elf_so'
   10281   fi
   10282   shlibpath_var=LD_LIBRARY_PATH
   10283   shlibpath_overrides_runpath=yes
   10284   hardcode_into_libs=yes
   10285   ;;
   10286 
   10287 newsos6)
   10288   version_type=linux
   10289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10290   shlibpath_var=LD_LIBRARY_PATH
   10291   shlibpath_overrides_runpath=yes
   10292   ;;
   10293 
   10294 *nto* | *qnx*)
   10295   version_type=qnx
   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   shlibpath_var=LD_LIBRARY_PATH
   10301   shlibpath_overrides_runpath=no
   10302   hardcode_into_libs=yes
   10303   dynamic_linker='ldqnx.so'
   10304   ;;
   10305 
   10306 openbsd*)
   10307   version_type=sunos
   10308   sys_lib_dlsearch_path_spec="/usr/lib"
   10309   need_lib_prefix=no
   10310   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10311   case $host_os in
   10312     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10313     *)				need_version=no  ;;
   10314   esac
   10315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10316   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10317   shlibpath_var=LD_LIBRARY_PATH
   10318   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10319     case $host_os in
   10320       openbsd2.[89] | openbsd2.[89].*)
   10321 	shlibpath_overrides_runpath=no
   10322 	;;
   10323       *)
   10324 	shlibpath_overrides_runpath=yes
   10325 	;;
   10326       esac
   10327   else
   10328     shlibpath_overrides_runpath=yes
   10329   fi
   10330   ;;
   10331 
   10332 os2*)
   10333   libname_spec='$name'
   10334   shrext_cmds=".dll"
   10335   need_lib_prefix=no
   10336   library_names_spec='$libname${shared_ext} $libname.a'
   10337   dynamic_linker='OS/2 ld.exe'
   10338   shlibpath_var=LIBPATH
   10339   ;;
   10340 
   10341 osf3* | osf4* | osf5*)
   10342   version_type=osf
   10343   need_lib_prefix=no
   10344   need_version=no
   10345   soname_spec='${libname}${release}${shared_ext}$major'
   10346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10347   shlibpath_var=LD_LIBRARY_PATH
   10348   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10349   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10350   ;;
   10351 
   10352 rdos*)
   10353   dynamic_linker=no
   10354   ;;
   10355 
   10356 solaris*)
   10357   version_type=linux
   10358   need_lib_prefix=no
   10359   need_version=no
   10360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10361   soname_spec='${libname}${release}${shared_ext}$major'
   10362   shlibpath_var=LD_LIBRARY_PATH
   10363   shlibpath_overrides_runpath=yes
   10364   hardcode_into_libs=yes
   10365   # ldd complains unless libraries are executable
   10366   postinstall_cmds='chmod +x $lib'
   10367   ;;
   10368 
   10369 sunos4*)
   10370   version_type=sunos
   10371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10372   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10373   shlibpath_var=LD_LIBRARY_PATH
   10374   shlibpath_overrides_runpath=yes
   10375   if test "$with_gnu_ld" = yes; then
   10376     need_lib_prefix=no
   10377   fi
   10378   need_version=yes
   10379   ;;
   10380 
   10381 sysv4 | sysv4.3*)
   10382   version_type=linux
   10383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10384   soname_spec='${libname}${release}${shared_ext}$major'
   10385   shlibpath_var=LD_LIBRARY_PATH
   10386   case $host_vendor in
   10387     sni)
   10388       shlibpath_overrides_runpath=no
   10389       need_lib_prefix=no
   10390       runpath_var=LD_RUN_PATH
   10391       ;;
   10392     siemens)
   10393       need_lib_prefix=no
   10394       ;;
   10395     motorola)
   10396       need_lib_prefix=no
   10397       need_version=no
   10398       shlibpath_overrides_runpath=no
   10399       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10400       ;;
   10401   esac
   10402   ;;
   10403 
   10404 sysv4*MP*)
   10405   if test -d /usr/nec ;then
   10406     version_type=linux
   10407     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10408     soname_spec='$libname${shared_ext}.$major'
   10409     shlibpath_var=LD_LIBRARY_PATH
   10410   fi
   10411   ;;
   10412 
   10413 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10414   version_type=freebsd-elf
   10415   need_lib_prefix=no
   10416   need_version=no
   10417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10418   soname_spec='${libname}${release}${shared_ext}$major'
   10419   shlibpath_var=LD_LIBRARY_PATH
   10420   shlibpath_overrides_runpath=yes
   10421   hardcode_into_libs=yes
   10422   if test "$with_gnu_ld" = yes; then
   10423     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10424   else
   10425     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10426     case $host_os in
   10427       sco3.2v5*)
   10428         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10429 	;;
   10430     esac
   10431   fi
   10432   sys_lib_dlsearch_path_spec='/usr/lib'
   10433   ;;
   10434 
   10435 tpf*)
   10436   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10437   version_type=linux
   10438   need_lib_prefix=no
   10439   need_version=no
   10440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10441   shlibpath_var=LD_LIBRARY_PATH
   10442   shlibpath_overrides_runpath=no
   10443   hardcode_into_libs=yes
   10444   ;;
   10445 
   10446 uts4*)
   10447   version_type=linux
   10448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10449   soname_spec='${libname}${release}${shared_ext}$major'
   10450   shlibpath_var=LD_LIBRARY_PATH
   10451   ;;
   10452 
   10453 *)
   10454   dynamic_linker=no
   10455   ;;
   10456 esac
   10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10458 $as_echo "$dynamic_linker" >&6; }
   10459 test "$dynamic_linker" = no && can_build_shared=no
   10460 
   10461 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10462 if test "$GCC" = yes; then
   10463   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10464 fi
   10465 
   10466 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10467   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10468 fi
   10469 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10470   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10471 fi
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10565 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10566 hardcode_action=
   10567 if test -n "$hardcode_libdir_flag_spec" ||
   10568    test -n "$runpath_var" ||
   10569    test "X$hardcode_automatic" = "Xyes" ; then
   10570 
   10571   # We can hardcode non-existent directories.
   10572   if test "$hardcode_direct" != no &&
   10573      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10574      # have to relink, otherwise we might link with an installed library
   10575      # when we should be linking with a yet-to-be-installed one
   10576      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10577      test "$hardcode_minus_L" != no; then
   10578     # Linking always hardcodes the temporary library directory.
   10579     hardcode_action=relink
   10580   else
   10581     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10582     hardcode_action=immediate
   10583   fi
   10584 else
   10585   # We cannot hardcode anything, or else we can only hardcode existing
   10586   # directories.
   10587   hardcode_action=unsupported
   10588 fi
   10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10590 $as_echo "$hardcode_action" >&6; }
   10591 
   10592 if test "$hardcode_action" = relink ||
   10593    test "$inherit_rpath" = yes; then
   10594   # Fast installation is not supported
   10595   enable_fast_install=no
   10596 elif test "$shlibpath_overrides_runpath" = yes ||
   10597      test "$enable_shared" = no; then
   10598   # Fast installation is not necessary
   10599   enable_fast_install=needless
   10600 fi
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607   if test "x$enable_dlopen" != xyes; then
   10608   enable_dlopen=unknown
   10609   enable_dlopen_self=unknown
   10610   enable_dlopen_self_static=unknown
   10611 else
   10612   lt_cv_dlopen=no
   10613   lt_cv_dlopen_libs=
   10614 
   10615   case $host_os in
   10616   beos*)
   10617     lt_cv_dlopen="load_add_on"
   10618     lt_cv_dlopen_libs=
   10619     lt_cv_dlopen_self=yes
   10620     ;;
   10621 
   10622   mingw* | pw32* | cegcc*)
   10623     lt_cv_dlopen="LoadLibrary"
   10624     lt_cv_dlopen_libs=
   10625     ;;
   10626 
   10627   cygwin*)
   10628     lt_cv_dlopen="dlopen"
   10629     lt_cv_dlopen_libs=
   10630     ;;
   10631 
   10632   darwin*)
   10633   # if libdl is installed we need to link against it
   10634     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10636 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10637   $as_echo_n "(cached) " >&6
   10638 else
   10639   ac_check_lib_save_LIBS=$LIBS
   10640 LIBS="-ldl  $LIBS"
   10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10642 /* end confdefs.h.  */
   10643 
   10644 /* Override any GCC internal prototype to avoid an error.
   10645    Use char because int might match the return type of a GCC
   10646    builtin and then its argument prototype would still apply.  */
   10647 #ifdef __cplusplus
   10648 extern "C"
   10649 #endif
   10650 char dlopen ();
   10651 int
   10652 main ()
   10653 {
   10654 return dlopen ();
   10655   ;
   10656   return 0;
   10657 }
   10658 _ACEOF
   10659 if ac_fn_c_try_link "$LINENO"; then :
   10660   ac_cv_lib_dl_dlopen=yes
   10661 else
   10662   ac_cv_lib_dl_dlopen=no
   10663 fi
   10664 rm -f core conftest.err conftest.$ac_objext \
   10665     conftest$ac_exeext conftest.$ac_ext
   10666 LIBS=$ac_check_lib_save_LIBS
   10667 fi
   10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10669 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10670 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10671   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10672 else
   10673 
   10674     lt_cv_dlopen="dyld"
   10675     lt_cv_dlopen_libs=
   10676     lt_cv_dlopen_self=yes
   10677 
   10678 fi
   10679 
   10680     ;;
   10681 
   10682   *)
   10683     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10684 if test "x$ac_cv_func_shl_load" = xyes; then :
   10685   lt_cv_dlopen="shl_load"
   10686 else
   10687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10688 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10689 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10690   $as_echo_n "(cached) " >&6
   10691 else
   10692   ac_check_lib_save_LIBS=$LIBS
   10693 LIBS="-ldld  $LIBS"
   10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10695 /* end confdefs.h.  */
   10696 
   10697 /* Override any GCC internal prototype to avoid an error.
   10698    Use char because int might match the return type of a GCC
   10699    builtin and then its argument prototype would still apply.  */
   10700 #ifdef __cplusplus
   10701 extern "C"
   10702 #endif
   10703 char shl_load ();
   10704 int
   10705 main ()
   10706 {
   10707 return shl_load ();
   10708   ;
   10709   return 0;
   10710 }
   10711 _ACEOF
   10712 if ac_fn_c_try_link "$LINENO"; then :
   10713   ac_cv_lib_dld_shl_load=yes
   10714 else
   10715   ac_cv_lib_dld_shl_load=no
   10716 fi
   10717 rm -f core conftest.err conftest.$ac_objext \
   10718     conftest$ac_exeext conftest.$ac_ext
   10719 LIBS=$ac_check_lib_save_LIBS
   10720 fi
   10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10722 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10723 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10724   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10725 else
   10726   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10727 if test "x$ac_cv_func_dlopen" = xyes; then :
   10728   lt_cv_dlopen="dlopen"
   10729 else
   10730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10731 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10732 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10733   $as_echo_n "(cached) " >&6
   10734 else
   10735   ac_check_lib_save_LIBS=$LIBS
   10736 LIBS="-ldl  $LIBS"
   10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10738 /* end confdefs.h.  */
   10739 
   10740 /* Override any GCC internal prototype to avoid an error.
   10741    Use char because int might match the return type of a GCC
   10742    builtin and then its argument prototype would still apply.  */
   10743 #ifdef __cplusplus
   10744 extern "C"
   10745 #endif
   10746 char dlopen ();
   10747 int
   10748 main ()
   10749 {
   10750 return dlopen ();
   10751   ;
   10752   return 0;
   10753 }
   10754 _ACEOF
   10755 if ac_fn_c_try_link "$LINENO"; then :
   10756   ac_cv_lib_dl_dlopen=yes
   10757 else
   10758   ac_cv_lib_dl_dlopen=no
   10759 fi
   10760 rm -f core conftest.err conftest.$ac_objext \
   10761     conftest$ac_exeext conftest.$ac_ext
   10762 LIBS=$ac_check_lib_save_LIBS
   10763 fi
   10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10765 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10766 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10767   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10768 else
   10769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10770 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10771 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10772   $as_echo_n "(cached) " >&6
   10773 else
   10774   ac_check_lib_save_LIBS=$LIBS
   10775 LIBS="-lsvld  $LIBS"
   10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10777 /* end confdefs.h.  */
   10778 
   10779 /* Override any GCC internal prototype to avoid an error.
   10780    Use char because int might match the return type of a GCC
   10781    builtin and then its argument prototype would still apply.  */
   10782 #ifdef __cplusplus
   10783 extern "C"
   10784 #endif
   10785 char dlopen ();
   10786 int
   10787 main ()
   10788 {
   10789 return dlopen ();
   10790   ;
   10791   return 0;
   10792 }
   10793 _ACEOF
   10794 if ac_fn_c_try_link "$LINENO"; then :
   10795   ac_cv_lib_svld_dlopen=yes
   10796 else
   10797   ac_cv_lib_svld_dlopen=no
   10798 fi
   10799 rm -f core conftest.err conftest.$ac_objext \
   10800     conftest$ac_exeext conftest.$ac_ext
   10801 LIBS=$ac_check_lib_save_LIBS
   10802 fi
   10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10804 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10805 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10806   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10807 else
   10808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10809 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10810 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10811   $as_echo_n "(cached) " >&6
   10812 else
   10813   ac_check_lib_save_LIBS=$LIBS
   10814 LIBS="-ldld  $LIBS"
   10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10816 /* end confdefs.h.  */
   10817 
   10818 /* Override any GCC internal prototype to avoid an error.
   10819    Use char because int might match the return type of a GCC
   10820    builtin and then its argument prototype would still apply.  */
   10821 #ifdef __cplusplus
   10822 extern "C"
   10823 #endif
   10824 char dld_link ();
   10825 int
   10826 main ()
   10827 {
   10828 return dld_link ();
   10829   ;
   10830   return 0;
   10831 }
   10832 _ACEOF
   10833 if ac_fn_c_try_link "$LINENO"; then :
   10834   ac_cv_lib_dld_dld_link=yes
   10835 else
   10836   ac_cv_lib_dld_dld_link=no
   10837 fi
   10838 rm -f core conftest.err conftest.$ac_objext \
   10839     conftest$ac_exeext conftest.$ac_ext
   10840 LIBS=$ac_check_lib_save_LIBS
   10841 fi
   10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10843 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10844 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10845   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10846 fi
   10847 
   10848 
   10849 fi
   10850 
   10851 
   10852 fi
   10853 
   10854 
   10855 fi
   10856 
   10857 
   10858 fi
   10859 
   10860 
   10861 fi
   10862 
   10863     ;;
   10864   esac
   10865 
   10866   if test "x$lt_cv_dlopen" != xno; then
   10867     enable_dlopen=yes
   10868   else
   10869     enable_dlopen=no
   10870   fi
   10871 
   10872   case $lt_cv_dlopen in
   10873   dlopen)
   10874     save_CPPFLAGS="$CPPFLAGS"
   10875     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10876 
   10877     save_LDFLAGS="$LDFLAGS"
   10878     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10879 
   10880     save_LIBS="$LIBS"
   10881     LIBS="$lt_cv_dlopen_libs $LIBS"
   10882 
   10883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10884 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10885 if ${lt_cv_dlopen_self+:} false; then :
   10886   $as_echo_n "(cached) " >&6
   10887 else
   10888   	  if test "$cross_compiling" = yes; then :
   10889   lt_cv_dlopen_self=cross
   10890 else
   10891   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10892   lt_status=$lt_dlunknown
   10893   cat > conftest.$ac_ext <<_LT_EOF
   10894 #line $LINENO "configure"
   10895 #include "confdefs.h"
   10896 
   10897 #if HAVE_DLFCN_H
   10898 #include <dlfcn.h>
   10899 #endif
   10900 
   10901 #include <stdio.h>
   10902 
   10903 #ifdef RTLD_GLOBAL
   10904 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10905 #else
   10906 #  ifdef DL_GLOBAL
   10907 #    define LT_DLGLOBAL		DL_GLOBAL
   10908 #  else
   10909 #    define LT_DLGLOBAL		0
   10910 #  endif
   10911 #endif
   10912 
   10913 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10914    find out it does not work in some platform. */
   10915 #ifndef LT_DLLAZY_OR_NOW
   10916 #  ifdef RTLD_LAZY
   10917 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10918 #  else
   10919 #    ifdef DL_LAZY
   10920 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10921 #    else
   10922 #      ifdef RTLD_NOW
   10923 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10924 #      else
   10925 #        ifdef DL_NOW
   10926 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10927 #        else
   10928 #          define LT_DLLAZY_OR_NOW	0
   10929 #        endif
   10930 #      endif
   10931 #    endif
   10932 #  endif
   10933 #endif
   10934 
   10935 /* When -fvisbility=hidden is used, assume the code has been annotated
   10936    correspondingly for the symbols needed.  */
   10937 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10938 int fnord () __attribute__((visibility("default")));
   10939 #endif
   10940 
   10941 int fnord () { return 42; }
   10942 int main ()
   10943 {
   10944   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10945   int status = $lt_dlunknown;
   10946 
   10947   if (self)
   10948     {
   10949       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10950       else
   10951         {
   10952 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   10953           else puts (dlerror ());
   10954 	}
   10955       /* dlclose (self); */
   10956     }
   10957   else
   10958     puts (dlerror ());
   10959 
   10960   return status;
   10961 }
   10962 _LT_EOF
   10963   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10964   (eval $ac_link) 2>&5
   10965   ac_status=$?
   10966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10967   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10968     (./conftest; exit; ) >&5 2>/dev/null
   10969     lt_status=$?
   10970     case x$lt_status in
   10971       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10972       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10973       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10974     esac
   10975   else :
   10976     # compilation failed
   10977     lt_cv_dlopen_self=no
   10978   fi
   10979 fi
   10980 rm -fr conftest*
   10981 
   10982 
   10983 fi
   10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10985 $as_echo "$lt_cv_dlopen_self" >&6; }
   10986 
   10987     if test "x$lt_cv_dlopen_self" = xyes; then
   10988       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10989       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10990 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10991 if ${lt_cv_dlopen_self_static+:} false; then :
   10992   $as_echo_n "(cached) " >&6
   10993 else
   10994   	  if test "$cross_compiling" = yes; then :
   10995   lt_cv_dlopen_self_static=cross
   10996 else
   10997   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10998   lt_status=$lt_dlunknown
   10999   cat > conftest.$ac_ext <<_LT_EOF
   11000 #line $LINENO "configure"
   11001 #include "confdefs.h"
   11002 
   11003 #if HAVE_DLFCN_H
   11004 #include <dlfcn.h>
   11005 #endif
   11006 
   11007 #include <stdio.h>
   11008 
   11009 #ifdef RTLD_GLOBAL
   11010 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11011 #else
   11012 #  ifdef DL_GLOBAL
   11013 #    define LT_DLGLOBAL		DL_GLOBAL
   11014 #  else
   11015 #    define LT_DLGLOBAL		0
   11016 #  endif
   11017 #endif
   11018 
   11019 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11020    find out it does not work in some platform. */
   11021 #ifndef LT_DLLAZY_OR_NOW
   11022 #  ifdef RTLD_LAZY
   11023 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11024 #  else
   11025 #    ifdef DL_LAZY
   11026 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11027 #    else
   11028 #      ifdef RTLD_NOW
   11029 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11030 #      else
   11031 #        ifdef DL_NOW
   11032 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11033 #        else
   11034 #          define LT_DLLAZY_OR_NOW	0
   11035 #        endif
   11036 #      endif
   11037 #    endif
   11038 #  endif
   11039 #endif
   11040 
   11041 /* When -fvisbility=hidden is used, assume the code has been annotated
   11042    correspondingly for the symbols needed.  */
   11043 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11044 int fnord () __attribute__((visibility("default")));
   11045 #endif
   11046 
   11047 int fnord () { return 42; }
   11048 int main ()
   11049 {
   11050   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11051   int status = $lt_dlunknown;
   11052 
   11053   if (self)
   11054     {
   11055       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11056       else
   11057         {
   11058 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11059           else puts (dlerror ());
   11060 	}
   11061       /* dlclose (self); */
   11062     }
   11063   else
   11064     puts (dlerror ());
   11065 
   11066   return status;
   11067 }
   11068 _LT_EOF
   11069   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11070   (eval $ac_link) 2>&5
   11071   ac_status=$?
   11072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11073   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11074     (./conftest; exit; ) >&5 2>/dev/null
   11075     lt_status=$?
   11076     case x$lt_status in
   11077       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11078       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11079       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11080     esac
   11081   else :
   11082     # compilation failed
   11083     lt_cv_dlopen_self_static=no
   11084   fi
   11085 fi
   11086 rm -fr conftest*
   11087 
   11088 
   11089 fi
   11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11091 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11092     fi
   11093 
   11094     CPPFLAGS="$save_CPPFLAGS"
   11095     LDFLAGS="$save_LDFLAGS"
   11096     LIBS="$save_LIBS"
   11097     ;;
   11098   esac
   11099 
   11100   case $lt_cv_dlopen_self in
   11101   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11102   *) enable_dlopen_self=unknown ;;
   11103   esac
   11104 
   11105   case $lt_cv_dlopen_self_static in
   11106   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11107   *) enable_dlopen_self_static=unknown ;;
   11108   esac
   11109 fi
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 striplib=
   11128 old_striplib=
   11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11130 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11131 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11132   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11133   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11135 $as_echo "yes" >&6; }
   11136 else
   11137 # FIXME - insert some real tests, host_os isn't really good enough
   11138   case $host_os in
   11139   darwin*)
   11140     if test -n "$STRIP" ; then
   11141       striplib="$STRIP -x"
   11142       old_striplib="$STRIP -S"
   11143       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11144 $as_echo "yes" >&6; }
   11145     else
   11146       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11147 $as_echo "no" >&6; }
   11148     fi
   11149     ;;
   11150   *)
   11151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11152 $as_echo "no" >&6; }
   11153     ;;
   11154   esac
   11155 fi
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168   # Report which library types will actually be built
   11169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11170 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11172 $as_echo "$can_build_shared" >&6; }
   11173 
   11174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11175 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11176   test "$can_build_shared" = "no" && enable_shared=no
   11177 
   11178   # On AIX, shared libraries and static libraries use the same namespace, and
   11179   # are all built from PIC.
   11180   case $host_os in
   11181   aix3*)
   11182     test "$enable_shared" = yes && enable_static=no
   11183     if test -n "$RANLIB"; then
   11184       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11185       postinstall_cmds='$RANLIB $lib'
   11186     fi
   11187     ;;
   11188 
   11189   aix[4-9]*)
   11190     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11191       test "$enable_shared" = yes && enable_static=no
   11192     fi
   11193     ;;
   11194   esac
   11195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11196 $as_echo "$enable_shared" >&6; }
   11197 
   11198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11199 $as_echo_n "checking whether to build static libraries... " >&6; }
   11200   # Make sure either enable_shared or enable_static is yes.
   11201   test "$enable_shared" = yes || enable_static=yes
   11202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11203 $as_echo "$enable_static" >&6; }
   11204 
   11205 
   11206 
   11207 
   11208 fi
   11209 ac_ext=c
   11210 ac_cpp='$CPP $CPPFLAGS'
   11211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11214 
   11215 CC="$lt_save_CC"
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229         ac_config_commands="$ac_config_commands libtool"
   11230 
   11231 
   11232 
   11233 
   11234 # Only expand once:
   11235 
   11236 
   11237 
   11238 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11251 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11252 if ${ac_cv_prog_cc_c99+:} false; then :
   11253   $as_echo_n "(cached) " >&6
   11254 else
   11255   ac_cv_prog_cc_c99=no
   11256 ac_save_CC=$CC
   11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11258 /* end confdefs.h.  */
   11259 #include <stdarg.h>
   11260 #include <stdbool.h>
   11261 #include <stdlib.h>
   11262 #include <wchar.h>
   11263 #include <stdio.h>
   11264 
   11265 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11266 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11267 #define showlist(...) puts (#__VA_ARGS__)
   11268 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11269 static void
   11270 test_varargs_macros (void)
   11271 {
   11272   int x = 1234;
   11273   int y = 5678;
   11274   debug ("Flag");
   11275   debug ("X = %d\n", x);
   11276   showlist (The first, second, and third items.);
   11277   report (x>y, "x is %d but y is %d", x, y);
   11278 }
   11279 
   11280 // Check long long types.
   11281 #define BIG64 18446744073709551615ull
   11282 #define BIG32 4294967295ul
   11283 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11284 #if !BIG_OK
   11285   your preprocessor is broken;
   11286 #endif
   11287 #if BIG_OK
   11288 #else
   11289   your preprocessor is broken;
   11290 #endif
   11291 static long long int bignum = -9223372036854775807LL;
   11292 static unsigned long long int ubignum = BIG64;
   11293 
   11294 struct incomplete_array
   11295 {
   11296   int datasize;
   11297   double data[];
   11298 };
   11299 
   11300 struct named_init {
   11301   int number;
   11302   const wchar_t *name;
   11303   double average;
   11304 };
   11305 
   11306 typedef const char *ccp;
   11307 
   11308 static inline int
   11309 test_restrict (ccp restrict text)
   11310 {
   11311   // See if C++-style comments work.
   11312   // Iterate through items via the restricted pointer.
   11313   // Also check for declarations in for loops.
   11314   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11315     continue;
   11316   return 0;
   11317 }
   11318 
   11319 // Check varargs and va_copy.
   11320 static void
   11321 test_varargs (const char *format, ...)
   11322 {
   11323   va_list args;
   11324   va_start (args, format);
   11325   va_list args_copy;
   11326   va_copy (args_copy, args);
   11327 
   11328   const char *str;
   11329   int number;
   11330   float fnumber;
   11331 
   11332   while (*format)
   11333     {
   11334       switch (*format++)
   11335 	{
   11336 	case 's': // string
   11337 	  str = va_arg (args_copy, const char *);
   11338 	  break;
   11339 	case 'd': // int
   11340 	  number = va_arg (args_copy, int);
   11341 	  break;
   11342 	case 'f': // float
   11343 	  fnumber = va_arg (args_copy, double);
   11344 	  break;
   11345 	default:
   11346 	  break;
   11347 	}
   11348     }
   11349   va_end (args_copy);
   11350   va_end (args);
   11351 }
   11352 
   11353 int
   11354 main ()
   11355 {
   11356 
   11357   // Check bool.
   11358   _Bool success = false;
   11359 
   11360   // Check restrict.
   11361   if (test_restrict ("String literal") == 0)
   11362     success = true;
   11363   char *restrict newvar = "Another string";
   11364 
   11365   // Check varargs.
   11366   test_varargs ("s, d' f .", "string", 65, 34.234);
   11367   test_varargs_macros ();
   11368 
   11369   // Check flexible array members.
   11370   struct incomplete_array *ia =
   11371     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11372   ia->datasize = 10;
   11373   for (int i = 0; i < ia->datasize; ++i)
   11374     ia->data[i] = i * 1.234;
   11375 
   11376   // Check named initializers.
   11377   struct named_init ni = {
   11378     .number = 34,
   11379     .name = L"Test wide string",
   11380     .average = 543.34343,
   11381   };
   11382 
   11383   ni.number = 58;
   11384 
   11385   int dynamic_array[ni.number];
   11386   dynamic_array[ni.number - 1] = 543;
   11387 
   11388   // work around unused variable warnings
   11389   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11390 	  || dynamic_array[ni.number - 1] != 543);
   11391 
   11392   ;
   11393   return 0;
   11394 }
   11395 _ACEOF
   11396 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11397 do
   11398   CC="$ac_save_CC $ac_arg"
   11399   if ac_fn_c_try_compile "$LINENO"; then :
   11400   ac_cv_prog_cc_c99=$ac_arg
   11401 fi
   11402 rm -f core conftest.err conftest.$ac_objext
   11403   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11404 done
   11405 rm -f conftest.$ac_ext
   11406 CC=$ac_save_CC
   11407 
   11408 fi
   11409 # AC_CACHE_VAL
   11410 case "x$ac_cv_prog_cc_c99" in
   11411   x)
   11412     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11413 $as_echo "none needed" >&6; } ;;
   11414   xno)
   11415     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11416 $as_echo "unsupported" >&6; } ;;
   11417   *)
   11418     CC="$CC $ac_cv_prog_cc_c99"
   11419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11420 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11421 esac
   11422 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11423 
   11424 fi
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11432 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11433   CLANGCC="yes"
   11434 else
   11435   CLANGCC="no"
   11436 fi
   11437 
   11438 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11439 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11440   INTELCC="yes"
   11441 else
   11442   INTELCC="no"
   11443 fi
   11444 
   11445 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11446 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11447   SUNCC="yes"
   11448 else
   11449   SUNCC="no"
   11450 fi
   11451 
   11452 
   11453 
   11454 
   11455 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11456 	if test -n "$ac_tool_prefix"; then
   11457   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11458 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11460 $as_echo_n "checking for $ac_word... " >&6; }
   11461 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11462   $as_echo_n "(cached) " >&6
   11463 else
   11464   case $PKG_CONFIG in
   11465   [\\/]* | ?:[\\/]*)
   11466   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11467   ;;
   11468   *)
   11469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11470 for as_dir in $PATH
   11471 do
   11472   IFS=$as_save_IFS
   11473   test -z "$as_dir" && as_dir=.
   11474     for ac_exec_ext in '' $ac_executable_extensions; do
   11475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11476     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11478     break 2
   11479   fi
   11480 done
   11481   done
   11482 IFS=$as_save_IFS
   11483 
   11484   ;;
   11485 esac
   11486 fi
   11487 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11488 if test -n "$PKG_CONFIG"; then
   11489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11490 $as_echo "$PKG_CONFIG" >&6; }
   11491 else
   11492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11493 $as_echo "no" >&6; }
   11494 fi
   11495 
   11496 
   11497 fi
   11498 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11499   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11500   # Extract the first word of "pkg-config", so it can be a program name with args.
   11501 set dummy pkg-config; ac_word=$2
   11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11503 $as_echo_n "checking for $ac_word... " >&6; }
   11504 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11505   $as_echo_n "(cached) " >&6
   11506 else
   11507   case $ac_pt_PKG_CONFIG in
   11508   [\\/]* | ?:[\\/]*)
   11509   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11510   ;;
   11511   *)
   11512   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11513 for as_dir in $PATH
   11514 do
   11515   IFS=$as_save_IFS
   11516   test -z "$as_dir" && as_dir=.
   11517     for ac_exec_ext in '' $ac_executable_extensions; do
   11518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11519     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11521     break 2
   11522   fi
   11523 done
   11524   done
   11525 IFS=$as_save_IFS
   11526 
   11527   ;;
   11528 esac
   11529 fi
   11530 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11531 if test -n "$ac_pt_PKG_CONFIG"; then
   11532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11533 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11534 else
   11535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11536 $as_echo "no" >&6; }
   11537 fi
   11538 
   11539   if test "x$ac_pt_PKG_CONFIG" = x; then
   11540     PKG_CONFIG=""
   11541   else
   11542     case $cross_compiling:$ac_tool_warned in
   11543 yes:)
   11544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11546 ac_tool_warned=yes ;;
   11547 esac
   11548     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11549   fi
   11550 else
   11551   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11552 fi
   11553 
   11554 fi
   11555 if test -n "$PKG_CONFIG"; then
   11556 	_pkg_min_version=0.9.0
   11557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11558 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11559 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11561 $as_echo "yes" >&6; }
   11562 	else
   11563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11564 $as_echo "no" >&6; }
   11565 		PKG_CONFIG=""
   11566 	fi
   11567 
   11568 fi
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 # Check whether --enable-selective-werror was given.
   11575 if test "${enable_selective_werror+set}" = set; then :
   11576   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11577 else
   11578   SELECTIVE_WERROR=yes
   11579 fi
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11586 if test "x$SUNCC" = "xyes"; then
   11587     BASE_CFLAGS="-v"
   11588 else
   11589     BASE_CFLAGS=""
   11590 fi
   11591 
   11592 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 xorg_testset_save_CFLAGS="$CFLAGS"
   11605 
   11606 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11607 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11609 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11610 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11611   $as_echo_n "(cached) " >&6
   11612 else
   11613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11614 /* end confdefs.h.  */
   11615 int i;
   11616 _ACEOF
   11617 if ac_fn_c_try_compile "$LINENO"; then :
   11618   xorg_cv_compiler_flag_unknown_warning_option=yes
   11619 else
   11620   xorg_cv_compiler_flag_unknown_warning_option=no
   11621 fi
   11622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11623 fi
   11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11625 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11626 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11627 	CFLAGS="$xorg_testset_save_CFLAGS"
   11628 fi
   11629 
   11630 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11631 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11632 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11633 	fi
   11634 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11636 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11637 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11638   $as_echo_n "(cached) " >&6
   11639 else
   11640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11641 /* end confdefs.h.  */
   11642 int i;
   11643 _ACEOF
   11644 if ac_fn_c_try_compile "$LINENO"; then :
   11645   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11646 else
   11647   xorg_cv_compiler_flag_unused_command_line_argument=no
   11648 fi
   11649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11650 fi
   11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11652 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11653 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11654 	CFLAGS="$xorg_testset_save_CFLAGS"
   11655 fi
   11656 
   11657 found="no"
   11658 
   11659 	if test $found = "no" ; then
   11660 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11662 		fi
   11663 
   11664 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11666 		fi
   11667 
   11668 		CFLAGS="$CFLAGS -Wall"
   11669 
   11670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11671 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11672 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   11673 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11674   $as_echo_n "(cached) " >&6
   11675 else
   11676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11677 /* end confdefs.h.  */
   11678 int i;
   11679 int
   11680 main ()
   11681 {
   11682 
   11683   ;
   11684   return 0;
   11685 }
   11686 _ACEOF
   11687 if ac_fn_c_try_link "$LINENO"; then :
   11688   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11689 else
   11690   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11691 fi
   11692 rm -f core conftest.err conftest.$ac_objext \
   11693     conftest$ac_exeext conftest.$ac_ext
   11694 fi
   11695 
   11696 
   11697 		CFLAGS="$xorg_testset_save_CFLAGS"
   11698 
   11699 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11701 $as_echo "$supported" >&6; }
   11702 		if test "$supported" = "yes" ; then
   11703 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11704 			found="yes"
   11705 		fi
   11706 	fi
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 xorg_testset_save_CFLAGS="$CFLAGS"
   11721 
   11722 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11725 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11726 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11727   $as_echo_n "(cached) " >&6
   11728 else
   11729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11730 /* end confdefs.h.  */
   11731 int i;
   11732 _ACEOF
   11733 if ac_fn_c_try_compile "$LINENO"; then :
   11734   xorg_cv_compiler_flag_unknown_warning_option=yes
   11735 else
   11736   xorg_cv_compiler_flag_unknown_warning_option=no
   11737 fi
   11738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11739 fi
   11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11741 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11742 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11743 	CFLAGS="$xorg_testset_save_CFLAGS"
   11744 fi
   11745 
   11746 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11747 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11749 	fi
   11750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11752 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11753 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11754   $as_echo_n "(cached) " >&6
   11755 else
   11756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11757 /* end confdefs.h.  */
   11758 int i;
   11759 _ACEOF
   11760 if ac_fn_c_try_compile "$LINENO"; then :
   11761   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11762 else
   11763   xorg_cv_compiler_flag_unused_command_line_argument=no
   11764 fi
   11765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11766 fi
   11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11768 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11769 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11770 	CFLAGS="$xorg_testset_save_CFLAGS"
   11771 fi
   11772 
   11773 found="no"
   11774 
   11775 	if test $found = "no" ; then
   11776 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11778 		fi
   11779 
   11780 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11782 		fi
   11783 
   11784 		CFLAGS="$CFLAGS -Wpointer-arith"
   11785 
   11786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11787 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11788 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   11789 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11790   $as_echo_n "(cached) " >&6
   11791 else
   11792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11793 /* end confdefs.h.  */
   11794 int i;
   11795 int
   11796 main ()
   11797 {
   11798 
   11799   ;
   11800   return 0;
   11801 }
   11802 _ACEOF
   11803 if ac_fn_c_try_link "$LINENO"; then :
   11804   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11805 else
   11806   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11807 fi
   11808 rm -f core conftest.err conftest.$ac_objext \
   11809     conftest$ac_exeext conftest.$ac_ext
   11810 fi
   11811 
   11812 
   11813 		CFLAGS="$xorg_testset_save_CFLAGS"
   11814 
   11815 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11817 $as_echo "$supported" >&6; }
   11818 		if test "$supported" = "yes" ; then
   11819 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11820 			found="yes"
   11821 		fi
   11822 	fi
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 xorg_testset_save_CFLAGS="$CFLAGS"
   11837 
   11838 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11841 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11842 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11843   $as_echo_n "(cached) " >&6
   11844 else
   11845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11846 /* end confdefs.h.  */
   11847 int i;
   11848 _ACEOF
   11849 if ac_fn_c_try_compile "$LINENO"; then :
   11850   xorg_cv_compiler_flag_unknown_warning_option=yes
   11851 else
   11852   xorg_cv_compiler_flag_unknown_warning_option=no
   11853 fi
   11854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11855 fi
   11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11857 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11858 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11859 	CFLAGS="$xorg_testset_save_CFLAGS"
   11860 fi
   11861 
   11862 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11863 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11865 	fi
   11866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11867 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11868 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11869 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11870   $as_echo_n "(cached) " >&6
   11871 else
   11872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11873 /* end confdefs.h.  */
   11874 int i;
   11875 _ACEOF
   11876 if ac_fn_c_try_compile "$LINENO"; then :
   11877   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11878 else
   11879   xorg_cv_compiler_flag_unused_command_line_argument=no
   11880 fi
   11881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11882 fi
   11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11884 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11885 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11886 	CFLAGS="$xorg_testset_save_CFLAGS"
   11887 fi
   11888 
   11889 found="no"
   11890 
   11891 	if test $found = "no" ; then
   11892 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11894 		fi
   11895 
   11896 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11898 		fi
   11899 
   11900 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11901 
   11902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11903 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11904 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   11905 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11906   $as_echo_n "(cached) " >&6
   11907 else
   11908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11909 /* end confdefs.h.  */
   11910 int i;
   11911 int
   11912 main ()
   11913 {
   11914 
   11915   ;
   11916   return 0;
   11917 }
   11918 _ACEOF
   11919 if ac_fn_c_try_link "$LINENO"; then :
   11920   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11921 else
   11922   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11923 fi
   11924 rm -f core conftest.err conftest.$ac_objext \
   11925     conftest$ac_exeext conftest.$ac_ext
   11926 fi
   11927 
   11928 
   11929 		CFLAGS="$xorg_testset_save_CFLAGS"
   11930 
   11931 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11933 $as_echo "$supported" >&6; }
   11934 		if test "$supported" = "yes" ; then
   11935 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   11936 			found="yes"
   11937 		fi
   11938 	fi
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 xorg_testset_save_CFLAGS="$CFLAGS"
   11953 
   11954 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11957 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11958 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11959   $as_echo_n "(cached) " >&6
   11960 else
   11961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11962 /* end confdefs.h.  */
   11963 int i;
   11964 _ACEOF
   11965 if ac_fn_c_try_compile "$LINENO"; then :
   11966   xorg_cv_compiler_flag_unknown_warning_option=yes
   11967 else
   11968   xorg_cv_compiler_flag_unknown_warning_option=no
   11969 fi
   11970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11971 fi
   11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11973 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11974 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11975 	CFLAGS="$xorg_testset_save_CFLAGS"
   11976 fi
   11977 
   11978 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11979 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11981 	fi
   11982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11984 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11985 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11986   $as_echo_n "(cached) " >&6
   11987 else
   11988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11989 /* end confdefs.h.  */
   11990 int i;
   11991 _ACEOF
   11992 if ac_fn_c_try_compile "$LINENO"; then :
   11993   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11994 else
   11995   xorg_cv_compiler_flag_unused_command_line_argument=no
   11996 fi
   11997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11998 fi
   11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12000 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12001 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12002 	CFLAGS="$xorg_testset_save_CFLAGS"
   12003 fi
   12004 
   12005 found="no"
   12006 
   12007 	if test $found = "no" ; then
   12008 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12010 		fi
   12011 
   12012 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12014 		fi
   12015 
   12016 		CFLAGS="$CFLAGS -Wformat=2"
   12017 
   12018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12019 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12020 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   12021 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12022   $as_echo_n "(cached) " >&6
   12023 else
   12024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12025 /* end confdefs.h.  */
   12026 int i;
   12027 int
   12028 main ()
   12029 {
   12030 
   12031   ;
   12032   return 0;
   12033 }
   12034 _ACEOF
   12035 if ac_fn_c_try_link "$LINENO"; then :
   12036   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12037 else
   12038   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12039 fi
   12040 rm -f core conftest.err conftest.$ac_objext \
   12041     conftest$ac_exeext conftest.$ac_ext
   12042 fi
   12043 
   12044 
   12045 		CFLAGS="$xorg_testset_save_CFLAGS"
   12046 
   12047 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12049 $as_echo "$supported" >&6; }
   12050 		if test "$supported" = "yes" ; then
   12051 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12052 			found="yes"
   12053 		fi
   12054 	fi
   12055 
   12056 	if test $found = "no" ; then
   12057 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12059 		fi
   12060 
   12061 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12063 		fi
   12064 
   12065 		CFLAGS="$CFLAGS -Wformat"
   12066 
   12067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12068 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12069 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   12070 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12071   $as_echo_n "(cached) " >&6
   12072 else
   12073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12074 /* end confdefs.h.  */
   12075 int i;
   12076 int
   12077 main ()
   12078 {
   12079 
   12080   ;
   12081   return 0;
   12082 }
   12083 _ACEOF
   12084 if ac_fn_c_try_link "$LINENO"; then :
   12085   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12086 else
   12087   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12088 fi
   12089 rm -f core conftest.err conftest.$ac_objext \
   12090     conftest$ac_exeext conftest.$ac_ext
   12091 fi
   12092 
   12093 
   12094 		CFLAGS="$xorg_testset_save_CFLAGS"
   12095 
   12096 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12098 $as_echo "$supported" >&6; }
   12099 		if test "$supported" = "yes" ; then
   12100 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12101 			found="yes"
   12102 		fi
   12103 	fi
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 xorg_testset_save_CFLAGS="$CFLAGS"
   12120 
   12121 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12124 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12125 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12126   $as_echo_n "(cached) " >&6
   12127 else
   12128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12129 /* end confdefs.h.  */
   12130 int i;
   12131 _ACEOF
   12132 if ac_fn_c_try_compile "$LINENO"; then :
   12133   xorg_cv_compiler_flag_unknown_warning_option=yes
   12134 else
   12135   xorg_cv_compiler_flag_unknown_warning_option=no
   12136 fi
   12137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12138 fi
   12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12140 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12141 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12142 	CFLAGS="$xorg_testset_save_CFLAGS"
   12143 fi
   12144 
   12145 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12146 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12148 	fi
   12149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12151 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12152 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12153   $as_echo_n "(cached) " >&6
   12154 else
   12155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12156 /* end confdefs.h.  */
   12157 int i;
   12158 _ACEOF
   12159 if ac_fn_c_try_compile "$LINENO"; then :
   12160   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12161 else
   12162   xorg_cv_compiler_flag_unused_command_line_argument=no
   12163 fi
   12164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12165 fi
   12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12167 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12168 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12169 	CFLAGS="$xorg_testset_save_CFLAGS"
   12170 fi
   12171 
   12172 found="no"
   12173 
   12174 	if test $found = "no" ; then
   12175 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12177 		fi
   12178 
   12179 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12181 		fi
   12182 
   12183 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12184 
   12185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12186 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12187 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   12188 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12189   $as_echo_n "(cached) " >&6
   12190 else
   12191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12192 /* end confdefs.h.  */
   12193 int i;
   12194 int
   12195 main ()
   12196 {
   12197 
   12198   ;
   12199   return 0;
   12200 }
   12201 _ACEOF
   12202 if ac_fn_c_try_link "$LINENO"; then :
   12203   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12204 else
   12205   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12206 fi
   12207 rm -f core conftest.err conftest.$ac_objext \
   12208     conftest$ac_exeext conftest.$ac_ext
   12209 fi
   12210 
   12211 
   12212 		CFLAGS="$xorg_testset_save_CFLAGS"
   12213 
   12214 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12216 $as_echo "$supported" >&6; }
   12217 		if test "$supported" = "yes" ; then
   12218 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12219 			found="yes"
   12220 		fi
   12221 	fi
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 xorg_testset_save_CFLAGS="$CFLAGS"
   12236 
   12237 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12240 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12241 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12242   $as_echo_n "(cached) " >&6
   12243 else
   12244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12245 /* end confdefs.h.  */
   12246 int i;
   12247 _ACEOF
   12248 if ac_fn_c_try_compile "$LINENO"; then :
   12249   xorg_cv_compiler_flag_unknown_warning_option=yes
   12250 else
   12251   xorg_cv_compiler_flag_unknown_warning_option=no
   12252 fi
   12253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12254 fi
   12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12256 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12257 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12258 	CFLAGS="$xorg_testset_save_CFLAGS"
   12259 fi
   12260 
   12261 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12262 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12264 	fi
   12265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12267 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12268 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12269   $as_echo_n "(cached) " >&6
   12270 else
   12271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12272 /* end confdefs.h.  */
   12273 int i;
   12274 _ACEOF
   12275 if ac_fn_c_try_compile "$LINENO"; then :
   12276   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12277 else
   12278   xorg_cv_compiler_flag_unused_command_line_argument=no
   12279 fi
   12280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12281 fi
   12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12283 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12284 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12285 	CFLAGS="$xorg_testset_save_CFLAGS"
   12286 fi
   12287 
   12288 found="no"
   12289 
   12290 	if test $found = "no" ; then
   12291 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12293 		fi
   12294 
   12295 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12297 		fi
   12298 
   12299 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12300 
   12301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12302 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12303 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   12304 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12305   $as_echo_n "(cached) " >&6
   12306 else
   12307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12308 /* end confdefs.h.  */
   12309 int i;
   12310 int
   12311 main ()
   12312 {
   12313 
   12314   ;
   12315   return 0;
   12316 }
   12317 _ACEOF
   12318 if ac_fn_c_try_link "$LINENO"; then :
   12319   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12320 else
   12321   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12322 fi
   12323 rm -f core conftest.err conftest.$ac_objext \
   12324     conftest$ac_exeext conftest.$ac_ext
   12325 fi
   12326 
   12327 
   12328 		CFLAGS="$xorg_testset_save_CFLAGS"
   12329 
   12330 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12332 $as_echo "$supported" >&6; }
   12333 		if test "$supported" = "yes" ; then
   12334 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12335 			found="yes"
   12336 		fi
   12337 	fi
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 xorg_testset_save_CFLAGS="$CFLAGS"
   12352 
   12353 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12356 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12357 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12358   $as_echo_n "(cached) " >&6
   12359 else
   12360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12361 /* end confdefs.h.  */
   12362 int i;
   12363 _ACEOF
   12364 if ac_fn_c_try_compile "$LINENO"; then :
   12365   xorg_cv_compiler_flag_unknown_warning_option=yes
   12366 else
   12367   xorg_cv_compiler_flag_unknown_warning_option=no
   12368 fi
   12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12370 fi
   12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12372 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12373 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12374 	CFLAGS="$xorg_testset_save_CFLAGS"
   12375 fi
   12376 
   12377 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12378 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12380 	fi
   12381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12383 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12384 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12385   $as_echo_n "(cached) " >&6
   12386 else
   12387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12388 /* end confdefs.h.  */
   12389 int i;
   12390 _ACEOF
   12391 if ac_fn_c_try_compile "$LINENO"; then :
   12392   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12393 else
   12394   xorg_cv_compiler_flag_unused_command_line_argument=no
   12395 fi
   12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12397 fi
   12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12399 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12400 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12401 	CFLAGS="$xorg_testset_save_CFLAGS"
   12402 fi
   12403 
   12404 found="no"
   12405 
   12406 	if test $found = "no" ; then
   12407 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12409 		fi
   12410 
   12411 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12413 		fi
   12414 
   12415 		CFLAGS="$CFLAGS -Wnested-externs"
   12416 
   12417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12418 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12419 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   12420 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12421   $as_echo_n "(cached) " >&6
   12422 else
   12423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12424 /* end confdefs.h.  */
   12425 int i;
   12426 int
   12427 main ()
   12428 {
   12429 
   12430   ;
   12431   return 0;
   12432 }
   12433 _ACEOF
   12434 if ac_fn_c_try_link "$LINENO"; then :
   12435   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12436 else
   12437   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12438 fi
   12439 rm -f core conftest.err conftest.$ac_objext \
   12440     conftest$ac_exeext conftest.$ac_ext
   12441 fi
   12442 
   12443 
   12444 		CFLAGS="$xorg_testset_save_CFLAGS"
   12445 
   12446 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12448 $as_echo "$supported" >&6; }
   12449 		if test "$supported" = "yes" ; then
   12450 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12451 			found="yes"
   12452 		fi
   12453 	fi
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 xorg_testset_save_CFLAGS="$CFLAGS"
   12468 
   12469 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12472 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12473 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12474   $as_echo_n "(cached) " >&6
   12475 else
   12476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12477 /* end confdefs.h.  */
   12478 int i;
   12479 _ACEOF
   12480 if ac_fn_c_try_compile "$LINENO"; then :
   12481   xorg_cv_compiler_flag_unknown_warning_option=yes
   12482 else
   12483   xorg_cv_compiler_flag_unknown_warning_option=no
   12484 fi
   12485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12486 fi
   12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12488 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12489 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12490 	CFLAGS="$xorg_testset_save_CFLAGS"
   12491 fi
   12492 
   12493 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12494 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12496 	fi
   12497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12499 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12500 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12501   $as_echo_n "(cached) " >&6
   12502 else
   12503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12504 /* end confdefs.h.  */
   12505 int i;
   12506 _ACEOF
   12507 if ac_fn_c_try_compile "$LINENO"; then :
   12508   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12509 else
   12510   xorg_cv_compiler_flag_unused_command_line_argument=no
   12511 fi
   12512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12513 fi
   12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12515 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12516 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12517 	CFLAGS="$xorg_testset_save_CFLAGS"
   12518 fi
   12519 
   12520 found="no"
   12521 
   12522 	if test $found = "no" ; then
   12523 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12525 		fi
   12526 
   12527 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12529 		fi
   12530 
   12531 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12532 
   12533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12534 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12535 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   12536 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12537   $as_echo_n "(cached) " >&6
   12538 else
   12539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12540 /* end confdefs.h.  */
   12541 int i;
   12542 int
   12543 main ()
   12544 {
   12545 
   12546   ;
   12547   return 0;
   12548 }
   12549 _ACEOF
   12550 if ac_fn_c_try_link "$LINENO"; then :
   12551   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12552 else
   12553   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12554 fi
   12555 rm -f core conftest.err conftest.$ac_objext \
   12556     conftest$ac_exeext conftest.$ac_ext
   12557 fi
   12558 
   12559 
   12560 		CFLAGS="$xorg_testset_save_CFLAGS"
   12561 
   12562 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12564 $as_echo "$supported" >&6; }
   12565 		if test "$supported" = "yes" ; then
   12566 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12567 			found="yes"
   12568 		fi
   12569 	fi
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 xorg_testset_save_CFLAGS="$CFLAGS"
   12584 
   12585 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12588 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12589 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12590   $as_echo_n "(cached) " >&6
   12591 else
   12592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12593 /* end confdefs.h.  */
   12594 int i;
   12595 _ACEOF
   12596 if ac_fn_c_try_compile "$LINENO"; then :
   12597   xorg_cv_compiler_flag_unknown_warning_option=yes
   12598 else
   12599   xorg_cv_compiler_flag_unknown_warning_option=no
   12600 fi
   12601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12602 fi
   12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12604 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12605 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12606 	CFLAGS="$xorg_testset_save_CFLAGS"
   12607 fi
   12608 
   12609 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12610 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12612 	fi
   12613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12615 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12616 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12617   $as_echo_n "(cached) " >&6
   12618 else
   12619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12620 /* end confdefs.h.  */
   12621 int i;
   12622 _ACEOF
   12623 if ac_fn_c_try_compile "$LINENO"; then :
   12624   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12625 else
   12626   xorg_cv_compiler_flag_unused_command_line_argument=no
   12627 fi
   12628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12629 fi
   12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12631 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12632 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12633 	CFLAGS="$xorg_testset_save_CFLAGS"
   12634 fi
   12635 
   12636 found="no"
   12637 
   12638 	if test $found = "no" ; then
   12639 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12641 		fi
   12642 
   12643 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12645 		fi
   12646 
   12647 		CFLAGS="$CFLAGS -Wold-style-definition"
   12648 
   12649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12650 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12651 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   12652 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12653   $as_echo_n "(cached) " >&6
   12654 else
   12655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12656 /* end confdefs.h.  */
   12657 int i;
   12658 int
   12659 main ()
   12660 {
   12661 
   12662   ;
   12663   return 0;
   12664 }
   12665 _ACEOF
   12666 if ac_fn_c_try_link "$LINENO"; then :
   12667   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12668 else
   12669   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12670 fi
   12671 rm -f core conftest.err conftest.$ac_objext \
   12672     conftest$ac_exeext conftest.$ac_ext
   12673 fi
   12674 
   12675 
   12676 		CFLAGS="$xorg_testset_save_CFLAGS"
   12677 
   12678 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12680 $as_echo "$supported" >&6; }
   12681 		if test "$supported" = "yes" ; then
   12682 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12683 			found="yes"
   12684 		fi
   12685 	fi
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 xorg_testset_save_CFLAGS="$CFLAGS"
   12700 
   12701 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12704 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12705 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12706   $as_echo_n "(cached) " >&6
   12707 else
   12708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12709 /* end confdefs.h.  */
   12710 int i;
   12711 _ACEOF
   12712 if ac_fn_c_try_compile "$LINENO"; then :
   12713   xorg_cv_compiler_flag_unknown_warning_option=yes
   12714 else
   12715   xorg_cv_compiler_flag_unknown_warning_option=no
   12716 fi
   12717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12718 fi
   12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12720 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12721 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12722 	CFLAGS="$xorg_testset_save_CFLAGS"
   12723 fi
   12724 
   12725 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12726 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12728 	fi
   12729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12731 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12732 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12733   $as_echo_n "(cached) " >&6
   12734 else
   12735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12736 /* end confdefs.h.  */
   12737 int i;
   12738 _ACEOF
   12739 if ac_fn_c_try_compile "$LINENO"; then :
   12740   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12741 else
   12742   xorg_cv_compiler_flag_unused_command_line_argument=no
   12743 fi
   12744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12745 fi
   12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12747 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12748 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12749 	CFLAGS="$xorg_testset_save_CFLAGS"
   12750 fi
   12751 
   12752 found="no"
   12753 
   12754 	if test $found = "no" ; then
   12755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12757 		fi
   12758 
   12759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12761 		fi
   12762 
   12763 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12764 
   12765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12766 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12767 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   12768 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12769   $as_echo_n "(cached) " >&6
   12770 else
   12771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12772 /* end confdefs.h.  */
   12773 int i;
   12774 int
   12775 main ()
   12776 {
   12777 
   12778   ;
   12779   return 0;
   12780 }
   12781 _ACEOF
   12782 if ac_fn_c_try_link "$LINENO"; then :
   12783   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12784 else
   12785   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12786 fi
   12787 rm -f core conftest.err conftest.$ac_objext \
   12788     conftest$ac_exeext conftest.$ac_ext
   12789 fi
   12790 
   12791 
   12792 		CFLAGS="$xorg_testset_save_CFLAGS"
   12793 
   12794 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12796 $as_echo "$supported" >&6; }
   12797 		if test "$supported" = "yes" ; then
   12798 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12799 			found="yes"
   12800 		fi
   12801 	fi
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 # This chunk adds additional warnings that could catch undesired effects.
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 xorg_testset_save_CFLAGS="$CFLAGS"
   12820 
   12821 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12824 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12825 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12826   $as_echo_n "(cached) " >&6
   12827 else
   12828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12829 /* end confdefs.h.  */
   12830 int i;
   12831 _ACEOF
   12832 if ac_fn_c_try_compile "$LINENO"; then :
   12833   xorg_cv_compiler_flag_unknown_warning_option=yes
   12834 else
   12835   xorg_cv_compiler_flag_unknown_warning_option=no
   12836 fi
   12837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12838 fi
   12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12840 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12841 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12842 	CFLAGS="$xorg_testset_save_CFLAGS"
   12843 fi
   12844 
   12845 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12846 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12848 	fi
   12849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12851 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12852 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12853   $as_echo_n "(cached) " >&6
   12854 else
   12855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12856 /* end confdefs.h.  */
   12857 int i;
   12858 _ACEOF
   12859 if ac_fn_c_try_compile "$LINENO"; then :
   12860   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12861 else
   12862   xorg_cv_compiler_flag_unused_command_line_argument=no
   12863 fi
   12864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12865 fi
   12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12867 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12868 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12869 	CFLAGS="$xorg_testset_save_CFLAGS"
   12870 fi
   12871 
   12872 found="no"
   12873 
   12874 	if test $found = "no" ; then
   12875 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12877 		fi
   12878 
   12879 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12881 		fi
   12882 
   12883 		CFLAGS="$CFLAGS -Wunused"
   12884 
   12885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12886 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12887 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   12888 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12889   $as_echo_n "(cached) " >&6
   12890 else
   12891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12892 /* end confdefs.h.  */
   12893 int i;
   12894 int
   12895 main ()
   12896 {
   12897 
   12898   ;
   12899   return 0;
   12900 }
   12901 _ACEOF
   12902 if ac_fn_c_try_link "$LINENO"; then :
   12903   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12904 else
   12905   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12906 fi
   12907 rm -f core conftest.err conftest.$ac_objext \
   12908     conftest$ac_exeext conftest.$ac_ext
   12909 fi
   12910 
   12911 
   12912 		CFLAGS="$xorg_testset_save_CFLAGS"
   12913 
   12914 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12916 $as_echo "$supported" >&6; }
   12917 		if test "$supported" = "yes" ; then
   12918 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   12919 			found="yes"
   12920 		fi
   12921 	fi
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 xorg_testset_save_CFLAGS="$CFLAGS"
   12936 
   12937 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12940 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12941 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12942   $as_echo_n "(cached) " >&6
   12943 else
   12944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12945 /* end confdefs.h.  */
   12946 int i;
   12947 _ACEOF
   12948 if ac_fn_c_try_compile "$LINENO"; then :
   12949   xorg_cv_compiler_flag_unknown_warning_option=yes
   12950 else
   12951   xorg_cv_compiler_flag_unknown_warning_option=no
   12952 fi
   12953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12954 fi
   12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12956 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12957 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12958 	CFLAGS="$xorg_testset_save_CFLAGS"
   12959 fi
   12960 
   12961 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12962 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12964 	fi
   12965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12967 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12968 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12969   $as_echo_n "(cached) " >&6
   12970 else
   12971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12972 /* end confdefs.h.  */
   12973 int i;
   12974 _ACEOF
   12975 if ac_fn_c_try_compile "$LINENO"; then :
   12976   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12977 else
   12978   xorg_cv_compiler_flag_unused_command_line_argument=no
   12979 fi
   12980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12981 fi
   12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12983 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12984 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12985 	CFLAGS="$xorg_testset_save_CFLAGS"
   12986 fi
   12987 
   12988 found="no"
   12989 
   12990 	if test $found = "no" ; then
   12991 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12993 		fi
   12994 
   12995 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12997 		fi
   12998 
   12999 		CFLAGS="$CFLAGS -Wuninitialized"
   13000 
   13001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13002 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13003 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   13004 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13005   $as_echo_n "(cached) " >&6
   13006 else
   13007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13008 /* end confdefs.h.  */
   13009 int i;
   13010 int
   13011 main ()
   13012 {
   13013 
   13014   ;
   13015   return 0;
   13016 }
   13017 _ACEOF
   13018 if ac_fn_c_try_link "$LINENO"; then :
   13019   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13020 else
   13021   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13022 fi
   13023 rm -f core conftest.err conftest.$ac_objext \
   13024     conftest$ac_exeext conftest.$ac_ext
   13025 fi
   13026 
   13027 
   13028 		CFLAGS="$xorg_testset_save_CFLAGS"
   13029 
   13030 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13032 $as_echo "$supported" >&6; }
   13033 		if test "$supported" = "yes" ; then
   13034 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13035 			found="yes"
   13036 		fi
   13037 	fi
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 xorg_testset_save_CFLAGS="$CFLAGS"
   13052 
   13053 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13056 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13057 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13058   $as_echo_n "(cached) " >&6
   13059 else
   13060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13061 /* end confdefs.h.  */
   13062 int i;
   13063 _ACEOF
   13064 if ac_fn_c_try_compile "$LINENO"; then :
   13065   xorg_cv_compiler_flag_unknown_warning_option=yes
   13066 else
   13067   xorg_cv_compiler_flag_unknown_warning_option=no
   13068 fi
   13069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13070 fi
   13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13072 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13073 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13074 	CFLAGS="$xorg_testset_save_CFLAGS"
   13075 fi
   13076 
   13077 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13078 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13080 	fi
   13081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13083 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13084 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13085   $as_echo_n "(cached) " >&6
   13086 else
   13087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13088 /* end confdefs.h.  */
   13089 int i;
   13090 _ACEOF
   13091 if ac_fn_c_try_compile "$LINENO"; then :
   13092   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13093 else
   13094   xorg_cv_compiler_flag_unused_command_line_argument=no
   13095 fi
   13096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13097 fi
   13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13099 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13100 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13101 	CFLAGS="$xorg_testset_save_CFLAGS"
   13102 fi
   13103 
   13104 found="no"
   13105 
   13106 	if test $found = "no" ; then
   13107 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13109 		fi
   13110 
   13111 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13113 		fi
   13114 
   13115 		CFLAGS="$CFLAGS -Wshadow"
   13116 
   13117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13118 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13119 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   13120 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13121   $as_echo_n "(cached) " >&6
   13122 else
   13123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13124 /* end confdefs.h.  */
   13125 int i;
   13126 int
   13127 main ()
   13128 {
   13129 
   13130   ;
   13131   return 0;
   13132 }
   13133 _ACEOF
   13134 if ac_fn_c_try_link "$LINENO"; then :
   13135   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13136 else
   13137   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13138 fi
   13139 rm -f core conftest.err conftest.$ac_objext \
   13140     conftest$ac_exeext conftest.$ac_ext
   13141 fi
   13142 
   13143 
   13144 		CFLAGS="$xorg_testset_save_CFLAGS"
   13145 
   13146 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13148 $as_echo "$supported" >&6; }
   13149 		if test "$supported" = "yes" ; then
   13150 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13151 			found="yes"
   13152 		fi
   13153 	fi
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 xorg_testset_save_CFLAGS="$CFLAGS"
   13168 
   13169 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13172 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13173 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13174   $as_echo_n "(cached) " >&6
   13175 else
   13176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13177 /* end confdefs.h.  */
   13178 int i;
   13179 _ACEOF
   13180 if ac_fn_c_try_compile "$LINENO"; then :
   13181   xorg_cv_compiler_flag_unknown_warning_option=yes
   13182 else
   13183   xorg_cv_compiler_flag_unknown_warning_option=no
   13184 fi
   13185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13186 fi
   13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13188 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13189 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13190 	CFLAGS="$xorg_testset_save_CFLAGS"
   13191 fi
   13192 
   13193 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13194 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13196 	fi
   13197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13199 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13200 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13201   $as_echo_n "(cached) " >&6
   13202 else
   13203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13204 /* end confdefs.h.  */
   13205 int i;
   13206 _ACEOF
   13207 if ac_fn_c_try_compile "$LINENO"; then :
   13208   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13209 else
   13210   xorg_cv_compiler_flag_unused_command_line_argument=no
   13211 fi
   13212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13213 fi
   13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13215 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13216 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13217 	CFLAGS="$xorg_testset_save_CFLAGS"
   13218 fi
   13219 
   13220 found="no"
   13221 
   13222 	if test $found = "no" ; then
   13223 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13225 		fi
   13226 
   13227 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13229 		fi
   13230 
   13231 		CFLAGS="$CFLAGS -Wcast-qual"
   13232 
   13233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13234 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13235 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   13236 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13237   $as_echo_n "(cached) " >&6
   13238 else
   13239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13240 /* end confdefs.h.  */
   13241 int i;
   13242 int
   13243 main ()
   13244 {
   13245 
   13246   ;
   13247   return 0;
   13248 }
   13249 _ACEOF
   13250 if ac_fn_c_try_link "$LINENO"; then :
   13251   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13252 else
   13253   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13254 fi
   13255 rm -f core conftest.err conftest.$ac_objext \
   13256     conftest$ac_exeext conftest.$ac_ext
   13257 fi
   13258 
   13259 
   13260 		CFLAGS="$xorg_testset_save_CFLAGS"
   13261 
   13262 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13264 $as_echo "$supported" >&6; }
   13265 		if test "$supported" = "yes" ; then
   13266 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13267 			found="yes"
   13268 		fi
   13269 	fi
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 xorg_testset_save_CFLAGS="$CFLAGS"
   13284 
   13285 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13288 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13289 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13290   $as_echo_n "(cached) " >&6
   13291 else
   13292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13293 /* end confdefs.h.  */
   13294 int i;
   13295 _ACEOF
   13296 if ac_fn_c_try_compile "$LINENO"; then :
   13297   xorg_cv_compiler_flag_unknown_warning_option=yes
   13298 else
   13299   xorg_cv_compiler_flag_unknown_warning_option=no
   13300 fi
   13301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13302 fi
   13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13304 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13305 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13306 	CFLAGS="$xorg_testset_save_CFLAGS"
   13307 fi
   13308 
   13309 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13310 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13312 	fi
   13313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13315 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13316 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13320 /* end confdefs.h.  */
   13321 int i;
   13322 _ACEOF
   13323 if ac_fn_c_try_compile "$LINENO"; then :
   13324   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13325 else
   13326   xorg_cv_compiler_flag_unused_command_line_argument=no
   13327 fi
   13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13329 fi
   13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13331 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13332 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13333 	CFLAGS="$xorg_testset_save_CFLAGS"
   13334 fi
   13335 
   13336 found="no"
   13337 
   13338 	if test $found = "no" ; then
   13339 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13341 		fi
   13342 
   13343 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13345 		fi
   13346 
   13347 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13348 
   13349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13350 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13351 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   13352 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13353   $as_echo_n "(cached) " >&6
   13354 else
   13355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13356 /* end confdefs.h.  */
   13357 int i;
   13358 int
   13359 main ()
   13360 {
   13361 
   13362   ;
   13363   return 0;
   13364 }
   13365 _ACEOF
   13366 if ac_fn_c_try_link "$LINENO"; then :
   13367   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13368 else
   13369   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13370 fi
   13371 rm -f core conftest.err conftest.$ac_objext \
   13372     conftest$ac_exeext conftest.$ac_ext
   13373 fi
   13374 
   13375 
   13376 		CFLAGS="$xorg_testset_save_CFLAGS"
   13377 
   13378 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13380 $as_echo "$supported" >&6; }
   13381 		if test "$supported" = "yes" ; then
   13382 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13383 			found="yes"
   13384 		fi
   13385 	fi
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 xorg_testset_save_CFLAGS="$CFLAGS"
   13400 
   13401 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13404 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13405 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13406   $as_echo_n "(cached) " >&6
   13407 else
   13408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13409 /* end confdefs.h.  */
   13410 int i;
   13411 _ACEOF
   13412 if ac_fn_c_try_compile "$LINENO"; then :
   13413   xorg_cv_compiler_flag_unknown_warning_option=yes
   13414 else
   13415   xorg_cv_compiler_flag_unknown_warning_option=no
   13416 fi
   13417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13418 fi
   13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13420 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13421 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13422 	CFLAGS="$xorg_testset_save_CFLAGS"
   13423 fi
   13424 
   13425 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13426 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13428 	fi
   13429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13431 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13432 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13433   $as_echo_n "(cached) " >&6
   13434 else
   13435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13436 /* end confdefs.h.  */
   13437 int i;
   13438 _ACEOF
   13439 if ac_fn_c_try_compile "$LINENO"; then :
   13440   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13441 else
   13442   xorg_cv_compiler_flag_unused_command_line_argument=no
   13443 fi
   13444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13445 fi
   13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13447 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13448 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13449 	CFLAGS="$xorg_testset_save_CFLAGS"
   13450 fi
   13451 
   13452 found="no"
   13453 
   13454 	if test $found = "no" ; then
   13455 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13457 		fi
   13458 
   13459 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13461 		fi
   13462 
   13463 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13464 
   13465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13466 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13467 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   13468 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13469   $as_echo_n "(cached) " >&6
   13470 else
   13471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13472 /* end confdefs.h.  */
   13473 int i;
   13474 int
   13475 main ()
   13476 {
   13477 
   13478   ;
   13479   return 0;
   13480 }
   13481 _ACEOF
   13482 if ac_fn_c_try_link "$LINENO"; then :
   13483   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13484 else
   13485   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13486 fi
   13487 rm -f core conftest.err conftest.$ac_objext \
   13488     conftest$ac_exeext conftest.$ac_ext
   13489 fi
   13490 
   13491 
   13492 		CFLAGS="$xorg_testset_save_CFLAGS"
   13493 
   13494 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13496 $as_echo "$supported" >&6; }
   13497 		if test "$supported" = "yes" ; then
   13498 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13499 			found="yes"
   13500 		fi
   13501 	fi
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 xorg_testset_save_CFLAGS="$CFLAGS"
   13516 
   13517 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13520 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13521 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13522   $as_echo_n "(cached) " >&6
   13523 else
   13524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13525 /* end confdefs.h.  */
   13526 int i;
   13527 _ACEOF
   13528 if ac_fn_c_try_compile "$LINENO"; then :
   13529   xorg_cv_compiler_flag_unknown_warning_option=yes
   13530 else
   13531   xorg_cv_compiler_flag_unknown_warning_option=no
   13532 fi
   13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13534 fi
   13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13536 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13537 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13538 	CFLAGS="$xorg_testset_save_CFLAGS"
   13539 fi
   13540 
   13541 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13542 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13544 	fi
   13545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13547 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13548 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13549   $as_echo_n "(cached) " >&6
   13550 else
   13551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13552 /* end confdefs.h.  */
   13553 int i;
   13554 _ACEOF
   13555 if ac_fn_c_try_compile "$LINENO"; then :
   13556   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13557 else
   13558   xorg_cv_compiler_flag_unused_command_line_argument=no
   13559 fi
   13560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13561 fi
   13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13563 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13564 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13565 	CFLAGS="$xorg_testset_save_CFLAGS"
   13566 fi
   13567 
   13568 found="no"
   13569 
   13570 	if test $found = "no" ; then
   13571 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13573 		fi
   13574 
   13575 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13577 		fi
   13578 
   13579 		CFLAGS="$CFLAGS -Wredundant-decls"
   13580 
   13581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13582 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13583 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   13584 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13585   $as_echo_n "(cached) " >&6
   13586 else
   13587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13588 /* end confdefs.h.  */
   13589 int i;
   13590 int
   13591 main ()
   13592 {
   13593 
   13594   ;
   13595   return 0;
   13596 }
   13597 _ACEOF
   13598 if ac_fn_c_try_link "$LINENO"; then :
   13599   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13600 else
   13601   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13602 fi
   13603 rm -f core conftest.err conftest.$ac_objext \
   13604     conftest$ac_exeext conftest.$ac_ext
   13605 fi
   13606 
   13607 
   13608 		CFLAGS="$xorg_testset_save_CFLAGS"
   13609 
   13610 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13612 $as_echo "$supported" >&6; }
   13613 		if test "$supported" = "yes" ; then
   13614 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13615 			found="yes"
   13616 		fi
   13617 	fi
   13618 
   13619 
   13620 
   13621 # These are currently disabled because they are noisy.  They will be enabled
   13622 # in the future once the codebase is sufficiently modernized to silence
   13623 # them.  For now, I don't want them to drown out the other warnings.
   13624 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13625 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13626 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13627 
   13628 # Turn some warnings into errors, so we don't accidently get successful builds
   13629 # when there are problems that should be fixed.
   13630 
   13631 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 xorg_testset_save_CFLAGS="$CFLAGS"
   13644 
   13645 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13648 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13649 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13650   $as_echo_n "(cached) " >&6
   13651 else
   13652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13653 /* end confdefs.h.  */
   13654 int i;
   13655 _ACEOF
   13656 if ac_fn_c_try_compile "$LINENO"; then :
   13657   xorg_cv_compiler_flag_unknown_warning_option=yes
   13658 else
   13659   xorg_cv_compiler_flag_unknown_warning_option=no
   13660 fi
   13661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13662 fi
   13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13664 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13665 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13666 	CFLAGS="$xorg_testset_save_CFLAGS"
   13667 fi
   13668 
   13669 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13670 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13672 	fi
   13673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13675 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13676 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13677   $as_echo_n "(cached) " >&6
   13678 else
   13679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13680 /* end confdefs.h.  */
   13681 int i;
   13682 _ACEOF
   13683 if ac_fn_c_try_compile "$LINENO"; then :
   13684   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13685 else
   13686   xorg_cv_compiler_flag_unused_command_line_argument=no
   13687 fi
   13688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13689 fi
   13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13691 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13692 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13693 	CFLAGS="$xorg_testset_save_CFLAGS"
   13694 fi
   13695 
   13696 found="no"
   13697 
   13698 	if test $found = "no" ; then
   13699 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13701 		fi
   13702 
   13703 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13705 		fi
   13706 
   13707 		CFLAGS="$CFLAGS -Werror=implicit"
   13708 
   13709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13710 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13711 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   13712 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13713   $as_echo_n "(cached) " >&6
   13714 else
   13715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13716 /* end confdefs.h.  */
   13717 int i;
   13718 int
   13719 main ()
   13720 {
   13721 
   13722   ;
   13723   return 0;
   13724 }
   13725 _ACEOF
   13726 if ac_fn_c_try_link "$LINENO"; then :
   13727   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13728 else
   13729   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13730 fi
   13731 rm -f core conftest.err conftest.$ac_objext \
   13732     conftest$ac_exeext conftest.$ac_ext
   13733 fi
   13734 
   13735 
   13736 		CFLAGS="$xorg_testset_save_CFLAGS"
   13737 
   13738 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13740 $as_echo "$supported" >&6; }
   13741 		if test "$supported" = "yes" ; then
   13742 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13743 			found="yes"
   13744 		fi
   13745 	fi
   13746 
   13747 	if test $found = "no" ; then
   13748 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13750 		fi
   13751 
   13752 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13754 		fi
   13755 
   13756 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13757 
   13758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13759 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13760 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   13761 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13762   $as_echo_n "(cached) " >&6
   13763 else
   13764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13765 /* end confdefs.h.  */
   13766 int i;
   13767 int
   13768 main ()
   13769 {
   13770 
   13771   ;
   13772   return 0;
   13773 }
   13774 _ACEOF
   13775 if ac_fn_c_try_link "$LINENO"; then :
   13776   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13777 else
   13778   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13779 fi
   13780 rm -f core conftest.err conftest.$ac_objext \
   13781     conftest$ac_exeext conftest.$ac_ext
   13782 fi
   13783 
   13784 
   13785 		CFLAGS="$xorg_testset_save_CFLAGS"
   13786 
   13787 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13789 $as_echo "$supported" >&6; }
   13790 		if test "$supported" = "yes" ; then
   13791 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13792 			found="yes"
   13793 		fi
   13794 	fi
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 
   13805 
   13806 
   13807 
   13808 xorg_testset_save_CFLAGS="$CFLAGS"
   13809 
   13810 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13813 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13814 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13815   $as_echo_n "(cached) " >&6
   13816 else
   13817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13818 /* end confdefs.h.  */
   13819 int i;
   13820 _ACEOF
   13821 if ac_fn_c_try_compile "$LINENO"; then :
   13822   xorg_cv_compiler_flag_unknown_warning_option=yes
   13823 else
   13824   xorg_cv_compiler_flag_unknown_warning_option=no
   13825 fi
   13826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13827 fi
   13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13829 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13830 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13831 	CFLAGS="$xorg_testset_save_CFLAGS"
   13832 fi
   13833 
   13834 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13835 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13837 	fi
   13838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13840 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13841 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13842   $as_echo_n "(cached) " >&6
   13843 else
   13844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13845 /* end confdefs.h.  */
   13846 int i;
   13847 _ACEOF
   13848 if ac_fn_c_try_compile "$LINENO"; then :
   13849   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13850 else
   13851   xorg_cv_compiler_flag_unused_command_line_argument=no
   13852 fi
   13853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13854 fi
   13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13856 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13857 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13858 	CFLAGS="$xorg_testset_save_CFLAGS"
   13859 fi
   13860 
   13861 found="no"
   13862 
   13863 	if test $found = "no" ; then
   13864 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13866 		fi
   13867 
   13868 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13870 		fi
   13871 
   13872 		CFLAGS="$CFLAGS -Werror=nonnull"
   13873 
   13874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13875 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13876 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   13877 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13878   $as_echo_n "(cached) " >&6
   13879 else
   13880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13881 /* end confdefs.h.  */
   13882 int i;
   13883 int
   13884 main ()
   13885 {
   13886 
   13887   ;
   13888   return 0;
   13889 }
   13890 _ACEOF
   13891 if ac_fn_c_try_link "$LINENO"; then :
   13892   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13893 else
   13894   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13895 fi
   13896 rm -f core conftest.err conftest.$ac_objext \
   13897     conftest$ac_exeext conftest.$ac_ext
   13898 fi
   13899 
   13900 
   13901 		CFLAGS="$xorg_testset_save_CFLAGS"
   13902 
   13903 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13905 $as_echo "$supported" >&6; }
   13906 		if test "$supported" = "yes" ; then
   13907 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   13908 			found="yes"
   13909 		fi
   13910 	fi
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 xorg_testset_save_CFLAGS="$CFLAGS"
   13925 
   13926 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13929 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13930 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13931   $as_echo_n "(cached) " >&6
   13932 else
   13933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13934 /* end confdefs.h.  */
   13935 int i;
   13936 _ACEOF
   13937 if ac_fn_c_try_compile "$LINENO"; then :
   13938   xorg_cv_compiler_flag_unknown_warning_option=yes
   13939 else
   13940   xorg_cv_compiler_flag_unknown_warning_option=no
   13941 fi
   13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13943 fi
   13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13945 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13946 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13947 	CFLAGS="$xorg_testset_save_CFLAGS"
   13948 fi
   13949 
   13950 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13951 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13953 	fi
   13954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13956 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13957 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13958   $as_echo_n "(cached) " >&6
   13959 else
   13960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13961 /* end confdefs.h.  */
   13962 int i;
   13963 _ACEOF
   13964 if ac_fn_c_try_compile "$LINENO"; then :
   13965   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13966 else
   13967   xorg_cv_compiler_flag_unused_command_line_argument=no
   13968 fi
   13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13970 fi
   13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13972 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13973 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13974 	CFLAGS="$xorg_testset_save_CFLAGS"
   13975 fi
   13976 
   13977 found="no"
   13978 
   13979 	if test $found = "no" ; then
   13980 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13982 		fi
   13983 
   13984 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13986 		fi
   13987 
   13988 		CFLAGS="$CFLAGS -Werror=init-self"
   13989 
   13990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   13991 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   13992 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   13993 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13994   $as_echo_n "(cached) " >&6
   13995 else
   13996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13997 /* end confdefs.h.  */
   13998 int i;
   13999 int
   14000 main ()
   14001 {
   14002 
   14003   ;
   14004   return 0;
   14005 }
   14006 _ACEOF
   14007 if ac_fn_c_try_link "$LINENO"; then :
   14008   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14009 else
   14010   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14011 fi
   14012 rm -f core conftest.err conftest.$ac_objext \
   14013     conftest$ac_exeext conftest.$ac_ext
   14014 fi
   14015 
   14016 
   14017 		CFLAGS="$xorg_testset_save_CFLAGS"
   14018 
   14019 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14021 $as_echo "$supported" >&6; }
   14022 		if test "$supported" = "yes" ; then
   14023 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14024 			found="yes"
   14025 		fi
   14026 	fi
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 xorg_testset_save_CFLAGS="$CFLAGS"
   14041 
   14042 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14045 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14046 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14047   $as_echo_n "(cached) " >&6
   14048 else
   14049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14050 /* end confdefs.h.  */
   14051 int i;
   14052 _ACEOF
   14053 if ac_fn_c_try_compile "$LINENO"; then :
   14054   xorg_cv_compiler_flag_unknown_warning_option=yes
   14055 else
   14056   xorg_cv_compiler_flag_unknown_warning_option=no
   14057 fi
   14058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14059 fi
   14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14061 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14062 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14063 	CFLAGS="$xorg_testset_save_CFLAGS"
   14064 fi
   14065 
   14066 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14067 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14069 	fi
   14070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14072 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14073 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14074   $as_echo_n "(cached) " >&6
   14075 else
   14076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14077 /* end confdefs.h.  */
   14078 int i;
   14079 _ACEOF
   14080 if ac_fn_c_try_compile "$LINENO"; then :
   14081   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14082 else
   14083   xorg_cv_compiler_flag_unused_command_line_argument=no
   14084 fi
   14085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14086 fi
   14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14088 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14089 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14090 	CFLAGS="$xorg_testset_save_CFLAGS"
   14091 fi
   14092 
   14093 found="no"
   14094 
   14095 	if test $found = "no" ; then
   14096 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14098 		fi
   14099 
   14100 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14102 		fi
   14103 
   14104 		CFLAGS="$CFLAGS -Werror=main"
   14105 
   14106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14107 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14108 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   14109 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14110   $as_echo_n "(cached) " >&6
   14111 else
   14112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14113 /* end confdefs.h.  */
   14114 int i;
   14115 int
   14116 main ()
   14117 {
   14118 
   14119   ;
   14120   return 0;
   14121 }
   14122 _ACEOF
   14123 if ac_fn_c_try_link "$LINENO"; then :
   14124   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14125 else
   14126   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14127 fi
   14128 rm -f core conftest.err conftest.$ac_objext \
   14129     conftest$ac_exeext conftest.$ac_ext
   14130 fi
   14131 
   14132 
   14133 		CFLAGS="$xorg_testset_save_CFLAGS"
   14134 
   14135 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14137 $as_echo "$supported" >&6; }
   14138 		if test "$supported" = "yes" ; then
   14139 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14140 			found="yes"
   14141 		fi
   14142 	fi
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 xorg_testset_save_CFLAGS="$CFLAGS"
   14157 
   14158 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14161 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14162 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14163   $as_echo_n "(cached) " >&6
   14164 else
   14165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14166 /* end confdefs.h.  */
   14167 int i;
   14168 _ACEOF
   14169 if ac_fn_c_try_compile "$LINENO"; then :
   14170   xorg_cv_compiler_flag_unknown_warning_option=yes
   14171 else
   14172   xorg_cv_compiler_flag_unknown_warning_option=no
   14173 fi
   14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14175 fi
   14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14177 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14178 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14179 	CFLAGS="$xorg_testset_save_CFLAGS"
   14180 fi
   14181 
   14182 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14183 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14185 	fi
   14186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14188 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14189 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14190   $as_echo_n "(cached) " >&6
   14191 else
   14192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14193 /* end confdefs.h.  */
   14194 int i;
   14195 _ACEOF
   14196 if ac_fn_c_try_compile "$LINENO"; then :
   14197   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14198 else
   14199   xorg_cv_compiler_flag_unused_command_line_argument=no
   14200 fi
   14201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14202 fi
   14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14204 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14205 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14206 	CFLAGS="$xorg_testset_save_CFLAGS"
   14207 fi
   14208 
   14209 found="no"
   14210 
   14211 	if test $found = "no" ; then
   14212 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14214 		fi
   14215 
   14216 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14218 		fi
   14219 
   14220 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14221 
   14222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14223 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14224 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   14225 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14226   $as_echo_n "(cached) " >&6
   14227 else
   14228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14229 /* end confdefs.h.  */
   14230 int i;
   14231 int
   14232 main ()
   14233 {
   14234 
   14235   ;
   14236   return 0;
   14237 }
   14238 _ACEOF
   14239 if ac_fn_c_try_link "$LINENO"; then :
   14240   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14241 else
   14242   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14243 fi
   14244 rm -f core conftest.err conftest.$ac_objext \
   14245     conftest$ac_exeext conftest.$ac_ext
   14246 fi
   14247 
   14248 
   14249 		CFLAGS="$xorg_testset_save_CFLAGS"
   14250 
   14251 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14253 $as_echo "$supported" >&6; }
   14254 		if test "$supported" = "yes" ; then
   14255 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14256 			found="yes"
   14257 		fi
   14258 	fi
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 xorg_testset_save_CFLAGS="$CFLAGS"
   14273 
   14274 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14275 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14277 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14278 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14279   $as_echo_n "(cached) " >&6
   14280 else
   14281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14282 /* end confdefs.h.  */
   14283 int i;
   14284 _ACEOF
   14285 if ac_fn_c_try_compile "$LINENO"; then :
   14286   xorg_cv_compiler_flag_unknown_warning_option=yes
   14287 else
   14288   xorg_cv_compiler_flag_unknown_warning_option=no
   14289 fi
   14290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14291 fi
   14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14293 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14294 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14295 	CFLAGS="$xorg_testset_save_CFLAGS"
   14296 fi
   14297 
   14298 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14299 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14301 	fi
   14302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14304 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14305 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14306   $as_echo_n "(cached) " >&6
   14307 else
   14308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14309 /* end confdefs.h.  */
   14310 int i;
   14311 _ACEOF
   14312 if ac_fn_c_try_compile "$LINENO"; then :
   14313   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14314 else
   14315   xorg_cv_compiler_flag_unused_command_line_argument=no
   14316 fi
   14317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14318 fi
   14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14320 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14321 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14322 	CFLAGS="$xorg_testset_save_CFLAGS"
   14323 fi
   14324 
   14325 found="no"
   14326 
   14327 	if test $found = "no" ; then
   14328 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14330 		fi
   14331 
   14332 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14334 		fi
   14335 
   14336 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14337 
   14338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14339 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14340 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   14341 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14342   $as_echo_n "(cached) " >&6
   14343 else
   14344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14345 /* end confdefs.h.  */
   14346 int i;
   14347 int
   14348 main ()
   14349 {
   14350 
   14351   ;
   14352   return 0;
   14353 }
   14354 _ACEOF
   14355 if ac_fn_c_try_link "$LINENO"; then :
   14356   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14357 else
   14358   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14359 fi
   14360 rm -f core conftest.err conftest.$ac_objext \
   14361     conftest$ac_exeext conftest.$ac_ext
   14362 fi
   14363 
   14364 
   14365 		CFLAGS="$xorg_testset_save_CFLAGS"
   14366 
   14367 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14369 $as_echo "$supported" >&6; }
   14370 		if test "$supported" = "yes" ; then
   14371 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14372 			found="yes"
   14373 		fi
   14374 	fi
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 xorg_testset_save_CFLAGS="$CFLAGS"
   14389 
   14390 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14393 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14394 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14395   $as_echo_n "(cached) " >&6
   14396 else
   14397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14398 /* end confdefs.h.  */
   14399 int i;
   14400 _ACEOF
   14401 if ac_fn_c_try_compile "$LINENO"; then :
   14402   xorg_cv_compiler_flag_unknown_warning_option=yes
   14403 else
   14404   xorg_cv_compiler_flag_unknown_warning_option=no
   14405 fi
   14406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14407 fi
   14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14409 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14410 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14411 	CFLAGS="$xorg_testset_save_CFLAGS"
   14412 fi
   14413 
   14414 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14415 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14417 	fi
   14418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14420 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14421 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14422   $as_echo_n "(cached) " >&6
   14423 else
   14424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14425 /* end confdefs.h.  */
   14426 int i;
   14427 _ACEOF
   14428 if ac_fn_c_try_compile "$LINENO"; then :
   14429   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14430 else
   14431   xorg_cv_compiler_flag_unused_command_line_argument=no
   14432 fi
   14433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14434 fi
   14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14436 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14437 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14438 	CFLAGS="$xorg_testset_save_CFLAGS"
   14439 fi
   14440 
   14441 found="no"
   14442 
   14443 	if test $found = "no" ; then
   14444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14446 		fi
   14447 
   14448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14450 		fi
   14451 
   14452 		CFLAGS="$CFLAGS -Werror=return-type"
   14453 
   14454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14455 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14456 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   14457 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14458   $as_echo_n "(cached) " >&6
   14459 else
   14460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14461 /* end confdefs.h.  */
   14462 int i;
   14463 int
   14464 main ()
   14465 {
   14466 
   14467   ;
   14468   return 0;
   14469 }
   14470 _ACEOF
   14471 if ac_fn_c_try_link "$LINENO"; then :
   14472   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14473 else
   14474   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14475 fi
   14476 rm -f core conftest.err conftest.$ac_objext \
   14477     conftest$ac_exeext conftest.$ac_ext
   14478 fi
   14479 
   14480 
   14481 		CFLAGS="$xorg_testset_save_CFLAGS"
   14482 
   14483 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14485 $as_echo "$supported" >&6; }
   14486 		if test "$supported" = "yes" ; then
   14487 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14488 			found="yes"
   14489 		fi
   14490 	fi
   14491 
   14492 	if test $found = "no" ; then
   14493 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14495 		fi
   14496 
   14497 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14499 		fi
   14500 
   14501 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14502 
   14503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14504 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14505 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   14506 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14507   $as_echo_n "(cached) " >&6
   14508 else
   14509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14510 /* end confdefs.h.  */
   14511 int i;
   14512 int
   14513 main ()
   14514 {
   14515 
   14516   ;
   14517   return 0;
   14518 }
   14519 _ACEOF
   14520 if ac_fn_c_try_link "$LINENO"; then :
   14521   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14522 else
   14523   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14524 fi
   14525 rm -f core conftest.err conftest.$ac_objext \
   14526     conftest$ac_exeext conftest.$ac_ext
   14527 fi
   14528 
   14529 
   14530 		CFLAGS="$xorg_testset_save_CFLAGS"
   14531 
   14532 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14534 $as_echo "$supported" >&6; }
   14535 		if test "$supported" = "yes" ; then
   14536 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14537 			found="yes"
   14538 		fi
   14539 	fi
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 xorg_testset_save_CFLAGS="$CFLAGS"
   14554 
   14555 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14558 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14559 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14560   $as_echo_n "(cached) " >&6
   14561 else
   14562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14563 /* end confdefs.h.  */
   14564 int i;
   14565 _ACEOF
   14566 if ac_fn_c_try_compile "$LINENO"; then :
   14567   xorg_cv_compiler_flag_unknown_warning_option=yes
   14568 else
   14569   xorg_cv_compiler_flag_unknown_warning_option=no
   14570 fi
   14571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14572 fi
   14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14574 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14575 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14576 	CFLAGS="$xorg_testset_save_CFLAGS"
   14577 fi
   14578 
   14579 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14580 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14582 	fi
   14583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14585 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14586 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14587   $as_echo_n "(cached) " >&6
   14588 else
   14589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14590 /* end confdefs.h.  */
   14591 int i;
   14592 _ACEOF
   14593 if ac_fn_c_try_compile "$LINENO"; then :
   14594   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14595 else
   14596   xorg_cv_compiler_flag_unused_command_line_argument=no
   14597 fi
   14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14599 fi
   14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14601 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14602 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14603 	CFLAGS="$xorg_testset_save_CFLAGS"
   14604 fi
   14605 
   14606 found="no"
   14607 
   14608 	if test $found = "no" ; then
   14609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14611 		fi
   14612 
   14613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14615 		fi
   14616 
   14617 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14618 
   14619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14620 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14621 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   14622 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14623   $as_echo_n "(cached) " >&6
   14624 else
   14625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14626 /* end confdefs.h.  */
   14627 int i;
   14628 int
   14629 main ()
   14630 {
   14631 
   14632   ;
   14633   return 0;
   14634 }
   14635 _ACEOF
   14636 if ac_fn_c_try_link "$LINENO"; then :
   14637   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14638 else
   14639   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14640 fi
   14641 rm -f core conftest.err conftest.$ac_objext \
   14642     conftest$ac_exeext conftest.$ac_ext
   14643 fi
   14644 
   14645 
   14646 		CFLAGS="$xorg_testset_save_CFLAGS"
   14647 
   14648 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14650 $as_echo "$supported" >&6; }
   14651 		if test "$supported" = "yes" ; then
   14652 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14653 			found="yes"
   14654 		fi
   14655 	fi
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 xorg_testset_save_CFLAGS="$CFLAGS"
   14670 
   14671 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14674 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14675 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14676   $as_echo_n "(cached) " >&6
   14677 else
   14678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 int i;
   14681 _ACEOF
   14682 if ac_fn_c_try_compile "$LINENO"; then :
   14683   xorg_cv_compiler_flag_unknown_warning_option=yes
   14684 else
   14685   xorg_cv_compiler_flag_unknown_warning_option=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14688 fi
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14690 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14691 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14692 	CFLAGS="$xorg_testset_save_CFLAGS"
   14693 fi
   14694 
   14695 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14696 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14698 	fi
   14699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14701 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14702 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14703   $as_echo_n "(cached) " >&6
   14704 else
   14705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14706 /* end confdefs.h.  */
   14707 int i;
   14708 _ACEOF
   14709 if ac_fn_c_try_compile "$LINENO"; then :
   14710   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14711 else
   14712   xorg_cv_compiler_flag_unused_command_line_argument=no
   14713 fi
   14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14715 fi
   14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14717 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14718 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14719 	CFLAGS="$xorg_testset_save_CFLAGS"
   14720 fi
   14721 
   14722 found="no"
   14723 
   14724 	if test $found = "no" ; then
   14725 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14727 		fi
   14728 
   14729 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14731 		fi
   14732 
   14733 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14734 
   14735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14736 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14737 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   14738 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14739   $as_echo_n "(cached) " >&6
   14740 else
   14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14742 /* end confdefs.h.  */
   14743 int i;
   14744 int
   14745 main ()
   14746 {
   14747 
   14748   ;
   14749   return 0;
   14750 }
   14751 _ACEOF
   14752 if ac_fn_c_try_link "$LINENO"; then :
   14753   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14754 else
   14755   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14756 fi
   14757 rm -f core conftest.err conftest.$ac_objext \
   14758     conftest$ac_exeext conftest.$ac_ext
   14759 fi
   14760 
   14761 
   14762 		CFLAGS="$xorg_testset_save_CFLAGS"
   14763 
   14764 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14766 $as_echo "$supported" >&6; }
   14767 		if test "$supported" = "yes" ; then
   14768 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14769 			found="yes"
   14770 		fi
   14771 	fi
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 xorg_testset_save_CFLAGS="$CFLAGS"
   14786 
   14787 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14790 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14791 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14792   $as_echo_n "(cached) " >&6
   14793 else
   14794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 _ACEOF
   14798 if ac_fn_c_try_compile "$LINENO"; then :
   14799   xorg_cv_compiler_flag_unknown_warning_option=yes
   14800 else
   14801   xorg_cv_compiler_flag_unknown_warning_option=no
   14802 fi
   14803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14804 fi
   14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14806 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14807 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14808 	CFLAGS="$xorg_testset_save_CFLAGS"
   14809 fi
   14810 
   14811 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14812 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14814 	fi
   14815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14817 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14818 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} 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_compiler_flag_unused_command_line_argument=yes
   14827 else
   14828   xorg_cv_compiler_flag_unused_command_line_argument=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_compiler_flag_unused_command_line_argument" >&5
   14833 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14834 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14835 	CFLAGS="$xorg_testset_save_CFLAGS"
   14836 fi
   14837 
   14838 found="no"
   14839 
   14840 	if test $found = "no" ; then
   14841 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14843 		fi
   14844 
   14845 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14847 		fi
   14848 
   14849 		CFLAGS="$CFLAGS -Werror=write-strings"
   14850 
   14851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14852 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14853 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   14854 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14855   $as_echo_n "(cached) " >&6
   14856 else
   14857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14858 /* end confdefs.h.  */
   14859 int i;
   14860 int
   14861 main ()
   14862 {
   14863 
   14864   ;
   14865   return 0;
   14866 }
   14867 _ACEOF
   14868 if ac_fn_c_try_link "$LINENO"; then :
   14869   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14870 else
   14871   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14872 fi
   14873 rm -f core conftest.err conftest.$ac_objext \
   14874     conftest$ac_exeext conftest.$ac_ext
   14875 fi
   14876 
   14877 
   14878 		CFLAGS="$xorg_testset_save_CFLAGS"
   14879 
   14880 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14882 $as_echo "$supported" >&6; }
   14883 		if test "$supported" = "yes" ; then
   14884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   14885 			found="yes"
   14886 		fi
   14887 	fi
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 xorg_testset_save_CFLAGS="$CFLAGS"
   14902 
   14903 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14906 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14907 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14908   $as_echo_n "(cached) " >&6
   14909 else
   14910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14911 /* end confdefs.h.  */
   14912 int i;
   14913 _ACEOF
   14914 if ac_fn_c_try_compile "$LINENO"; then :
   14915   xorg_cv_compiler_flag_unknown_warning_option=yes
   14916 else
   14917   xorg_cv_compiler_flag_unknown_warning_option=no
   14918 fi
   14919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14920 fi
   14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14922 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14923 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14924 	CFLAGS="$xorg_testset_save_CFLAGS"
   14925 fi
   14926 
   14927 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14928 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14930 	fi
   14931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14933 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14934 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14935   $as_echo_n "(cached) " >&6
   14936 else
   14937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14938 /* end confdefs.h.  */
   14939 int i;
   14940 _ACEOF
   14941 if ac_fn_c_try_compile "$LINENO"; then :
   14942   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14943 else
   14944   xorg_cv_compiler_flag_unused_command_line_argument=no
   14945 fi
   14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14947 fi
   14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14949 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14950 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14951 	CFLAGS="$xorg_testset_save_CFLAGS"
   14952 fi
   14953 
   14954 found="no"
   14955 
   14956 	if test $found = "no" ; then
   14957 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14959 		fi
   14960 
   14961 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14963 		fi
   14964 
   14965 		CFLAGS="$CFLAGS -Werror=address"
   14966 
   14967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   14968 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   14969 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   14970 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14971   $as_echo_n "(cached) " >&6
   14972 else
   14973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14974 /* end confdefs.h.  */
   14975 int i;
   14976 int
   14977 main ()
   14978 {
   14979 
   14980   ;
   14981   return 0;
   14982 }
   14983 _ACEOF
   14984 if ac_fn_c_try_link "$LINENO"; then :
   14985   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14986 else
   14987   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14988 fi
   14989 rm -f core conftest.err conftest.$ac_objext \
   14990     conftest$ac_exeext conftest.$ac_ext
   14991 fi
   14992 
   14993 
   14994 		CFLAGS="$xorg_testset_save_CFLAGS"
   14995 
   14996 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14998 $as_echo "$supported" >&6; }
   14999 		if test "$supported" = "yes" ; then
   15000 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15001 			found="yes"
   15002 		fi
   15003 	fi
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 xorg_testset_save_CFLAGS="$CFLAGS"
   15018 
   15019 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15022 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15023 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15024   $as_echo_n "(cached) " >&6
   15025 else
   15026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15027 /* end confdefs.h.  */
   15028 int i;
   15029 _ACEOF
   15030 if ac_fn_c_try_compile "$LINENO"; then :
   15031   xorg_cv_compiler_flag_unknown_warning_option=yes
   15032 else
   15033   xorg_cv_compiler_flag_unknown_warning_option=no
   15034 fi
   15035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15036 fi
   15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15038 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15039 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15040 	CFLAGS="$xorg_testset_save_CFLAGS"
   15041 fi
   15042 
   15043 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15044 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15046 	fi
   15047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15048 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15049 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15050 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15051   $as_echo_n "(cached) " >&6
   15052 else
   15053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 _ACEOF
   15057 if ac_fn_c_try_compile "$LINENO"; then :
   15058   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15059 else
   15060   xorg_cv_compiler_flag_unused_command_line_argument=no
   15061 fi
   15062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15063 fi
   15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15065 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15066 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15067 	CFLAGS="$xorg_testset_save_CFLAGS"
   15068 fi
   15069 
   15070 found="no"
   15071 
   15072 	if test $found = "no" ; then
   15073 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15075 		fi
   15076 
   15077 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15079 		fi
   15080 
   15081 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15082 
   15083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15084 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15085 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   15086 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15087   $as_echo_n "(cached) " >&6
   15088 else
   15089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15090 /* end confdefs.h.  */
   15091 int i;
   15092 int
   15093 main ()
   15094 {
   15095 
   15096   ;
   15097   return 0;
   15098 }
   15099 _ACEOF
   15100 if ac_fn_c_try_link "$LINENO"; then :
   15101   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15102 else
   15103   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15104 fi
   15105 rm -f core conftest.err conftest.$ac_objext \
   15106     conftest$ac_exeext conftest.$ac_ext
   15107 fi
   15108 
   15109 
   15110 		CFLAGS="$xorg_testset_save_CFLAGS"
   15111 
   15112 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15114 $as_echo "$supported" >&6; }
   15115 		if test "$supported" = "yes" ; then
   15116 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15117 			found="yes"
   15118 		fi
   15119 	fi
   15120 
   15121 	if test $found = "no" ; then
   15122 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15123 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15124 		fi
   15125 
   15126 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15127 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15128 		fi
   15129 
   15130 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15131 
   15132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15133 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15134 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   15135 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15136   $as_echo_n "(cached) " >&6
   15137 else
   15138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15139 /* end confdefs.h.  */
   15140 int i;
   15141 int
   15142 main ()
   15143 {
   15144 
   15145   ;
   15146   return 0;
   15147 }
   15148 _ACEOF
   15149 if ac_fn_c_try_link "$LINENO"; then :
   15150   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15151 else
   15152   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15153 fi
   15154 rm -f core conftest.err conftest.$ac_objext \
   15155     conftest$ac_exeext conftest.$ac_ext
   15156 fi
   15157 
   15158 
   15159 		CFLAGS="$xorg_testset_save_CFLAGS"
   15160 
   15161 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15163 $as_echo "$supported" >&6; }
   15164 		if test "$supported" = "yes" ; then
   15165 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15166 			found="yes"
   15167 		fi
   15168 	fi
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 xorg_testset_save_CFLAGS="$CFLAGS"
   15183 
   15184 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15185 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15187 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15188 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15189   $as_echo_n "(cached) " >&6
   15190 else
   15191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15192 /* end confdefs.h.  */
   15193 int i;
   15194 _ACEOF
   15195 if ac_fn_c_try_compile "$LINENO"; then :
   15196   xorg_cv_compiler_flag_unknown_warning_option=yes
   15197 else
   15198   xorg_cv_compiler_flag_unknown_warning_option=no
   15199 fi
   15200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15201 fi
   15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15203 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15204 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15205 	CFLAGS="$xorg_testset_save_CFLAGS"
   15206 fi
   15207 
   15208 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15209 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15211 	fi
   15212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15214 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15215 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15216   $as_echo_n "(cached) " >&6
   15217 else
   15218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15219 /* end confdefs.h.  */
   15220 int i;
   15221 _ACEOF
   15222 if ac_fn_c_try_compile "$LINENO"; then :
   15223   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15224 else
   15225   xorg_cv_compiler_flag_unused_command_line_argument=no
   15226 fi
   15227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15228 fi
   15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15230 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15231 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15232 	CFLAGS="$xorg_testset_save_CFLAGS"
   15233 fi
   15234 
   15235 found="no"
   15236 
   15237 	if test $found = "no" ; then
   15238 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15240 		fi
   15241 
   15242 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15244 		fi
   15245 
   15246 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15247 
   15248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15249 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15250 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   15251 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15252   $as_echo_n "(cached) " >&6
   15253 else
   15254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15255 /* end confdefs.h.  */
   15256 int i;
   15257 int
   15258 main ()
   15259 {
   15260 
   15261   ;
   15262   return 0;
   15263 }
   15264 _ACEOF
   15265 if ac_fn_c_try_link "$LINENO"; then :
   15266   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15267 else
   15268   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15269 fi
   15270 rm -f core conftest.err conftest.$ac_objext \
   15271     conftest$ac_exeext conftest.$ac_ext
   15272 fi
   15273 
   15274 
   15275 		CFLAGS="$xorg_testset_save_CFLAGS"
   15276 
   15277 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15279 $as_echo "$supported" >&6; }
   15280 		if test "$supported" = "yes" ; then
   15281 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15282 			found="yes"
   15283 		fi
   15284 	fi
   15285 
   15286  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15287 else
   15288 { $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
   15289 $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;}
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 xorg_testset_save_CFLAGS="$CFLAGS"
   15302 
   15303 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15306 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15307 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15308   $as_echo_n "(cached) " >&6
   15309 else
   15310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15311 /* end confdefs.h.  */
   15312 int i;
   15313 _ACEOF
   15314 if ac_fn_c_try_compile "$LINENO"; then :
   15315   xorg_cv_compiler_flag_unknown_warning_option=yes
   15316 else
   15317   xorg_cv_compiler_flag_unknown_warning_option=no
   15318 fi
   15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15320 fi
   15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15322 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15323 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15324 	CFLAGS="$xorg_testset_save_CFLAGS"
   15325 fi
   15326 
   15327 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15328 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15330 	fi
   15331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15333 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15334 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15335   $as_echo_n "(cached) " >&6
   15336 else
   15337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15338 /* end confdefs.h.  */
   15339 int i;
   15340 _ACEOF
   15341 if ac_fn_c_try_compile "$LINENO"; then :
   15342   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15343 else
   15344   xorg_cv_compiler_flag_unused_command_line_argument=no
   15345 fi
   15346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15347 fi
   15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15349 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15350 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15351 	CFLAGS="$xorg_testset_save_CFLAGS"
   15352 fi
   15353 
   15354 found="no"
   15355 
   15356 	if test $found = "no" ; then
   15357 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15359 		fi
   15360 
   15361 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15363 		fi
   15364 
   15365 		CFLAGS="$CFLAGS -Wimplicit"
   15366 
   15367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15368 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15369 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   15370 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15371   $as_echo_n "(cached) " >&6
   15372 else
   15373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15374 /* end confdefs.h.  */
   15375 int i;
   15376 int
   15377 main ()
   15378 {
   15379 
   15380   ;
   15381   return 0;
   15382 }
   15383 _ACEOF
   15384 if ac_fn_c_try_link "$LINENO"; then :
   15385   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15386 else
   15387   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15388 fi
   15389 rm -f core conftest.err conftest.$ac_objext \
   15390     conftest$ac_exeext conftest.$ac_ext
   15391 fi
   15392 
   15393 
   15394 		CFLAGS="$xorg_testset_save_CFLAGS"
   15395 
   15396 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15398 $as_echo "$supported" >&6; }
   15399 		if test "$supported" = "yes" ; then
   15400 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15401 			found="yes"
   15402 		fi
   15403 	fi
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 xorg_testset_save_CFLAGS="$CFLAGS"
   15418 
   15419 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15422 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15423 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15424   $as_echo_n "(cached) " >&6
   15425 else
   15426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15427 /* end confdefs.h.  */
   15428 int i;
   15429 _ACEOF
   15430 if ac_fn_c_try_compile "$LINENO"; then :
   15431   xorg_cv_compiler_flag_unknown_warning_option=yes
   15432 else
   15433   xorg_cv_compiler_flag_unknown_warning_option=no
   15434 fi
   15435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15436 fi
   15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15438 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15439 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15440 	CFLAGS="$xorg_testset_save_CFLAGS"
   15441 fi
   15442 
   15443 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15444 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15446 	fi
   15447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15449 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15450 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15451   $as_echo_n "(cached) " >&6
   15452 else
   15453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15454 /* end confdefs.h.  */
   15455 int i;
   15456 _ACEOF
   15457 if ac_fn_c_try_compile "$LINENO"; then :
   15458   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15459 else
   15460   xorg_cv_compiler_flag_unused_command_line_argument=no
   15461 fi
   15462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15463 fi
   15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15465 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15466 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15467 	CFLAGS="$xorg_testset_save_CFLAGS"
   15468 fi
   15469 
   15470 found="no"
   15471 
   15472 	if test $found = "no" ; then
   15473 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15475 		fi
   15476 
   15477 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15479 		fi
   15480 
   15481 		CFLAGS="$CFLAGS -Wnonnull"
   15482 
   15483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15484 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15485 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   15486 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15487   $as_echo_n "(cached) " >&6
   15488 else
   15489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15490 /* end confdefs.h.  */
   15491 int i;
   15492 int
   15493 main ()
   15494 {
   15495 
   15496   ;
   15497   return 0;
   15498 }
   15499 _ACEOF
   15500 if ac_fn_c_try_link "$LINENO"; then :
   15501   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15502 else
   15503   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15504 fi
   15505 rm -f core conftest.err conftest.$ac_objext \
   15506     conftest$ac_exeext conftest.$ac_ext
   15507 fi
   15508 
   15509 
   15510 		CFLAGS="$xorg_testset_save_CFLAGS"
   15511 
   15512 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15514 $as_echo "$supported" >&6; }
   15515 		if test "$supported" = "yes" ; then
   15516 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15517 			found="yes"
   15518 		fi
   15519 	fi
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 xorg_testset_save_CFLAGS="$CFLAGS"
   15534 
   15535 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15538 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15539 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15540   $as_echo_n "(cached) " >&6
   15541 else
   15542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15543 /* end confdefs.h.  */
   15544 int i;
   15545 _ACEOF
   15546 if ac_fn_c_try_compile "$LINENO"; then :
   15547   xorg_cv_compiler_flag_unknown_warning_option=yes
   15548 else
   15549   xorg_cv_compiler_flag_unknown_warning_option=no
   15550 fi
   15551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15552 fi
   15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15554 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15555 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15556 	CFLAGS="$xorg_testset_save_CFLAGS"
   15557 fi
   15558 
   15559 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15560 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15562 	fi
   15563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15565 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15566 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15567   $as_echo_n "(cached) " >&6
   15568 else
   15569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15570 /* end confdefs.h.  */
   15571 int i;
   15572 _ACEOF
   15573 if ac_fn_c_try_compile "$LINENO"; then :
   15574   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15575 else
   15576   xorg_cv_compiler_flag_unused_command_line_argument=no
   15577 fi
   15578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15579 fi
   15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15581 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15582 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15583 	CFLAGS="$xorg_testset_save_CFLAGS"
   15584 fi
   15585 
   15586 found="no"
   15587 
   15588 	if test $found = "no" ; then
   15589 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15591 		fi
   15592 
   15593 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15595 		fi
   15596 
   15597 		CFLAGS="$CFLAGS -Winit-self"
   15598 
   15599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15600 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15601 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   15602 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15603   $as_echo_n "(cached) " >&6
   15604 else
   15605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15606 /* end confdefs.h.  */
   15607 int i;
   15608 int
   15609 main ()
   15610 {
   15611 
   15612   ;
   15613   return 0;
   15614 }
   15615 _ACEOF
   15616 if ac_fn_c_try_link "$LINENO"; then :
   15617   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15618 else
   15619   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15620 fi
   15621 rm -f core conftest.err conftest.$ac_objext \
   15622     conftest$ac_exeext conftest.$ac_ext
   15623 fi
   15624 
   15625 
   15626 		CFLAGS="$xorg_testset_save_CFLAGS"
   15627 
   15628 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15630 $as_echo "$supported" >&6; }
   15631 		if test "$supported" = "yes" ; then
   15632 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15633 			found="yes"
   15634 		fi
   15635 	fi
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 xorg_testset_save_CFLAGS="$CFLAGS"
   15650 
   15651 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15654 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15655 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15656   $as_echo_n "(cached) " >&6
   15657 else
   15658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15659 /* end confdefs.h.  */
   15660 int i;
   15661 _ACEOF
   15662 if ac_fn_c_try_compile "$LINENO"; then :
   15663   xorg_cv_compiler_flag_unknown_warning_option=yes
   15664 else
   15665   xorg_cv_compiler_flag_unknown_warning_option=no
   15666 fi
   15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15668 fi
   15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15670 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15671 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15672 	CFLAGS="$xorg_testset_save_CFLAGS"
   15673 fi
   15674 
   15675 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15676 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15678 	fi
   15679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15681 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15682 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15683   $as_echo_n "(cached) " >&6
   15684 else
   15685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15686 /* end confdefs.h.  */
   15687 int i;
   15688 _ACEOF
   15689 if ac_fn_c_try_compile "$LINENO"; then :
   15690   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15691 else
   15692   xorg_cv_compiler_flag_unused_command_line_argument=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15695 fi
   15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15697 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15698 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15699 	CFLAGS="$xorg_testset_save_CFLAGS"
   15700 fi
   15701 
   15702 found="no"
   15703 
   15704 	if test $found = "no" ; then
   15705 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15707 		fi
   15708 
   15709 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15711 		fi
   15712 
   15713 		CFLAGS="$CFLAGS -Wmain"
   15714 
   15715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15716 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15717 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   15718 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15719   $as_echo_n "(cached) " >&6
   15720 else
   15721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15722 /* end confdefs.h.  */
   15723 int i;
   15724 int
   15725 main ()
   15726 {
   15727 
   15728   ;
   15729   return 0;
   15730 }
   15731 _ACEOF
   15732 if ac_fn_c_try_link "$LINENO"; then :
   15733   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15734 else
   15735   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15736 fi
   15737 rm -f core conftest.err conftest.$ac_objext \
   15738     conftest$ac_exeext conftest.$ac_ext
   15739 fi
   15740 
   15741 
   15742 		CFLAGS="$xorg_testset_save_CFLAGS"
   15743 
   15744 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15746 $as_echo "$supported" >&6; }
   15747 		if test "$supported" = "yes" ; then
   15748 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15749 			found="yes"
   15750 		fi
   15751 	fi
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 xorg_testset_save_CFLAGS="$CFLAGS"
   15766 
   15767 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15770 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15771 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15772   $as_echo_n "(cached) " >&6
   15773 else
   15774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15775 /* end confdefs.h.  */
   15776 int i;
   15777 _ACEOF
   15778 if ac_fn_c_try_compile "$LINENO"; then :
   15779   xorg_cv_compiler_flag_unknown_warning_option=yes
   15780 else
   15781   xorg_cv_compiler_flag_unknown_warning_option=no
   15782 fi
   15783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15784 fi
   15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15786 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15787 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15788 	CFLAGS="$xorg_testset_save_CFLAGS"
   15789 fi
   15790 
   15791 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15792 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15794 	fi
   15795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15797 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15798 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15799   $as_echo_n "(cached) " >&6
   15800 else
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 _ACEOF
   15805 if ac_fn_c_try_compile "$LINENO"; then :
   15806   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15807 else
   15808   xorg_cv_compiler_flag_unused_command_line_argument=no
   15809 fi
   15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15811 fi
   15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15813 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15814 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15815 	CFLAGS="$xorg_testset_save_CFLAGS"
   15816 fi
   15817 
   15818 found="no"
   15819 
   15820 	if test $found = "no" ; then
   15821 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15823 		fi
   15824 
   15825 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15827 		fi
   15828 
   15829 		CFLAGS="$CFLAGS -Wmissing-braces"
   15830 
   15831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15832 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15833 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   15834 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15835   $as_echo_n "(cached) " >&6
   15836 else
   15837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15838 /* end confdefs.h.  */
   15839 int i;
   15840 int
   15841 main ()
   15842 {
   15843 
   15844   ;
   15845   return 0;
   15846 }
   15847 _ACEOF
   15848 if ac_fn_c_try_link "$LINENO"; then :
   15849   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15850 else
   15851   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15852 fi
   15853 rm -f core conftest.err conftest.$ac_objext \
   15854     conftest$ac_exeext conftest.$ac_ext
   15855 fi
   15856 
   15857 
   15858 		CFLAGS="$xorg_testset_save_CFLAGS"
   15859 
   15860 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15862 $as_echo "$supported" >&6; }
   15863 		if test "$supported" = "yes" ; then
   15864 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   15865 			found="yes"
   15866 		fi
   15867 	fi
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 xorg_testset_save_CFLAGS="$CFLAGS"
   15882 
   15883 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15886 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15887 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15888   $as_echo_n "(cached) " >&6
   15889 else
   15890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15891 /* end confdefs.h.  */
   15892 int i;
   15893 _ACEOF
   15894 if ac_fn_c_try_compile "$LINENO"; then :
   15895   xorg_cv_compiler_flag_unknown_warning_option=yes
   15896 else
   15897   xorg_cv_compiler_flag_unknown_warning_option=no
   15898 fi
   15899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15900 fi
   15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15902 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15903 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15904 	CFLAGS="$xorg_testset_save_CFLAGS"
   15905 fi
   15906 
   15907 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15908 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15910 	fi
   15911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15913 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15914 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15915   $as_echo_n "(cached) " >&6
   15916 else
   15917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15918 /* end confdefs.h.  */
   15919 int i;
   15920 _ACEOF
   15921 if ac_fn_c_try_compile "$LINENO"; then :
   15922   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15923 else
   15924   xorg_cv_compiler_flag_unused_command_line_argument=no
   15925 fi
   15926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15927 fi
   15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15929 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15930 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15931 	CFLAGS="$xorg_testset_save_CFLAGS"
   15932 fi
   15933 
   15934 found="no"
   15935 
   15936 	if test $found = "no" ; then
   15937 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15939 		fi
   15940 
   15941 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15943 		fi
   15944 
   15945 		CFLAGS="$CFLAGS -Wsequence-point"
   15946 
   15947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   15948 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   15949 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   15950 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15951   $as_echo_n "(cached) " >&6
   15952 else
   15953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15954 /* end confdefs.h.  */
   15955 int i;
   15956 int
   15957 main ()
   15958 {
   15959 
   15960   ;
   15961   return 0;
   15962 }
   15963 _ACEOF
   15964 if ac_fn_c_try_link "$LINENO"; then :
   15965   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15966 else
   15967   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15968 fi
   15969 rm -f core conftest.err conftest.$ac_objext \
   15970     conftest$ac_exeext conftest.$ac_ext
   15971 fi
   15972 
   15973 
   15974 		CFLAGS="$xorg_testset_save_CFLAGS"
   15975 
   15976 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15978 $as_echo "$supported" >&6; }
   15979 		if test "$supported" = "yes" ; then
   15980 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   15981 			found="yes"
   15982 		fi
   15983 	fi
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 xorg_testset_save_CFLAGS="$CFLAGS"
   15998 
   15999 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16002 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16003 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16004   $as_echo_n "(cached) " >&6
   16005 else
   16006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16007 /* end confdefs.h.  */
   16008 int i;
   16009 _ACEOF
   16010 if ac_fn_c_try_compile "$LINENO"; then :
   16011   xorg_cv_compiler_flag_unknown_warning_option=yes
   16012 else
   16013   xorg_cv_compiler_flag_unknown_warning_option=no
   16014 fi
   16015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16016 fi
   16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16018 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16019 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16020 	CFLAGS="$xorg_testset_save_CFLAGS"
   16021 fi
   16022 
   16023 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16024 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16026 	fi
   16027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16029 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16030 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16031   $as_echo_n "(cached) " >&6
   16032 else
   16033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16034 /* end confdefs.h.  */
   16035 int i;
   16036 _ACEOF
   16037 if ac_fn_c_try_compile "$LINENO"; then :
   16038   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16039 else
   16040   xorg_cv_compiler_flag_unused_command_line_argument=no
   16041 fi
   16042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16043 fi
   16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16045 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16046 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16047 	CFLAGS="$xorg_testset_save_CFLAGS"
   16048 fi
   16049 
   16050 found="no"
   16051 
   16052 	if test $found = "no" ; then
   16053 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16055 		fi
   16056 
   16057 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16059 		fi
   16060 
   16061 		CFLAGS="$CFLAGS -Wreturn-type"
   16062 
   16063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16064 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16065 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   16066 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16067   $as_echo_n "(cached) " >&6
   16068 else
   16069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16070 /* end confdefs.h.  */
   16071 int i;
   16072 int
   16073 main ()
   16074 {
   16075 
   16076   ;
   16077   return 0;
   16078 }
   16079 _ACEOF
   16080 if ac_fn_c_try_link "$LINENO"; then :
   16081   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16082 else
   16083   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16084 fi
   16085 rm -f core conftest.err conftest.$ac_objext \
   16086     conftest$ac_exeext conftest.$ac_ext
   16087 fi
   16088 
   16089 
   16090 		CFLAGS="$xorg_testset_save_CFLAGS"
   16091 
   16092 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16094 $as_echo "$supported" >&6; }
   16095 		if test "$supported" = "yes" ; then
   16096 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16097 			found="yes"
   16098 		fi
   16099 	fi
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 xorg_testset_save_CFLAGS="$CFLAGS"
   16114 
   16115 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16118 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16119 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16120   $as_echo_n "(cached) " >&6
   16121 else
   16122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16123 /* end confdefs.h.  */
   16124 int i;
   16125 _ACEOF
   16126 if ac_fn_c_try_compile "$LINENO"; then :
   16127   xorg_cv_compiler_flag_unknown_warning_option=yes
   16128 else
   16129   xorg_cv_compiler_flag_unknown_warning_option=no
   16130 fi
   16131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16132 fi
   16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16134 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16135 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16136 	CFLAGS="$xorg_testset_save_CFLAGS"
   16137 fi
   16138 
   16139 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16140 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16141 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16142 	fi
   16143 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16144 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16145 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16146 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16147   $as_echo_n "(cached) " >&6
   16148 else
   16149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16150 /* end confdefs.h.  */
   16151 int i;
   16152 _ACEOF
   16153 if ac_fn_c_try_compile "$LINENO"; then :
   16154   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16155 else
   16156   xorg_cv_compiler_flag_unused_command_line_argument=no
   16157 fi
   16158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16159 fi
   16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16161 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16162 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16163 	CFLAGS="$xorg_testset_save_CFLAGS"
   16164 fi
   16165 
   16166 found="no"
   16167 
   16168 	if test $found = "no" ; then
   16169 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16171 		fi
   16172 
   16173 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16175 		fi
   16176 
   16177 		CFLAGS="$CFLAGS -Wtrigraphs"
   16178 
   16179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16180 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16181 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   16182 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16183   $as_echo_n "(cached) " >&6
   16184 else
   16185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16186 /* end confdefs.h.  */
   16187 int i;
   16188 int
   16189 main ()
   16190 {
   16191 
   16192   ;
   16193   return 0;
   16194 }
   16195 _ACEOF
   16196 if ac_fn_c_try_link "$LINENO"; then :
   16197   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16198 else
   16199   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16200 fi
   16201 rm -f core conftest.err conftest.$ac_objext \
   16202     conftest$ac_exeext conftest.$ac_ext
   16203 fi
   16204 
   16205 
   16206 		CFLAGS="$xorg_testset_save_CFLAGS"
   16207 
   16208 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16210 $as_echo "$supported" >&6; }
   16211 		if test "$supported" = "yes" ; then
   16212 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16213 			found="yes"
   16214 		fi
   16215 	fi
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 xorg_testset_save_CFLAGS="$CFLAGS"
   16230 
   16231 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16234 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16235 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16236   $as_echo_n "(cached) " >&6
   16237 else
   16238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16239 /* end confdefs.h.  */
   16240 int i;
   16241 _ACEOF
   16242 if ac_fn_c_try_compile "$LINENO"; then :
   16243   xorg_cv_compiler_flag_unknown_warning_option=yes
   16244 else
   16245   xorg_cv_compiler_flag_unknown_warning_option=no
   16246 fi
   16247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16248 fi
   16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16250 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16251 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16252 	CFLAGS="$xorg_testset_save_CFLAGS"
   16253 fi
   16254 
   16255 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16256 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16258 	fi
   16259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16261 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16262 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16263   $as_echo_n "(cached) " >&6
   16264 else
   16265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 int i;
   16268 _ACEOF
   16269 if ac_fn_c_try_compile "$LINENO"; then :
   16270   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16271 else
   16272   xorg_cv_compiler_flag_unused_command_line_argument=no
   16273 fi
   16274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16275 fi
   16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16277 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16278 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16279 	CFLAGS="$xorg_testset_save_CFLAGS"
   16280 fi
   16281 
   16282 found="no"
   16283 
   16284 	if test $found = "no" ; then
   16285 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16287 		fi
   16288 
   16289 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16291 		fi
   16292 
   16293 		CFLAGS="$CFLAGS -Warray-bounds"
   16294 
   16295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16296 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16297 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   16298 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16299   $as_echo_n "(cached) " >&6
   16300 else
   16301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16302 /* end confdefs.h.  */
   16303 int i;
   16304 int
   16305 main ()
   16306 {
   16307 
   16308   ;
   16309   return 0;
   16310 }
   16311 _ACEOF
   16312 if ac_fn_c_try_link "$LINENO"; then :
   16313   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16314 else
   16315   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16316 fi
   16317 rm -f core conftest.err conftest.$ac_objext \
   16318     conftest$ac_exeext conftest.$ac_ext
   16319 fi
   16320 
   16321 
   16322 		CFLAGS="$xorg_testset_save_CFLAGS"
   16323 
   16324 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16326 $as_echo "$supported" >&6; }
   16327 		if test "$supported" = "yes" ; then
   16328 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16329 			found="yes"
   16330 		fi
   16331 	fi
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 xorg_testset_save_CFLAGS="$CFLAGS"
   16346 
   16347 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16350 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16351 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16352   $as_echo_n "(cached) " >&6
   16353 else
   16354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16355 /* end confdefs.h.  */
   16356 int i;
   16357 _ACEOF
   16358 if ac_fn_c_try_compile "$LINENO"; then :
   16359   xorg_cv_compiler_flag_unknown_warning_option=yes
   16360 else
   16361   xorg_cv_compiler_flag_unknown_warning_option=no
   16362 fi
   16363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16364 fi
   16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16366 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16367 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16368 	CFLAGS="$xorg_testset_save_CFLAGS"
   16369 fi
   16370 
   16371 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16372 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16374 	fi
   16375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16377 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16378 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16379   $as_echo_n "(cached) " >&6
   16380 else
   16381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16382 /* end confdefs.h.  */
   16383 int i;
   16384 _ACEOF
   16385 if ac_fn_c_try_compile "$LINENO"; then :
   16386   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16387 else
   16388   xorg_cv_compiler_flag_unused_command_line_argument=no
   16389 fi
   16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16391 fi
   16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16393 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16394 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16395 	CFLAGS="$xorg_testset_save_CFLAGS"
   16396 fi
   16397 
   16398 found="no"
   16399 
   16400 	if test $found = "no" ; then
   16401 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16403 		fi
   16404 
   16405 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16407 		fi
   16408 
   16409 		CFLAGS="$CFLAGS -Wwrite-strings"
   16410 
   16411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16412 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16413 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   16414 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16415   $as_echo_n "(cached) " >&6
   16416 else
   16417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16418 /* end confdefs.h.  */
   16419 int i;
   16420 int
   16421 main ()
   16422 {
   16423 
   16424   ;
   16425   return 0;
   16426 }
   16427 _ACEOF
   16428 if ac_fn_c_try_link "$LINENO"; then :
   16429   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16430 else
   16431   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16432 fi
   16433 rm -f core conftest.err conftest.$ac_objext \
   16434     conftest$ac_exeext conftest.$ac_ext
   16435 fi
   16436 
   16437 
   16438 		CFLAGS="$xorg_testset_save_CFLAGS"
   16439 
   16440 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16442 $as_echo "$supported" >&6; }
   16443 		if test "$supported" = "yes" ; then
   16444 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16445 			found="yes"
   16446 		fi
   16447 	fi
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 xorg_testset_save_CFLAGS="$CFLAGS"
   16462 
   16463 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16464 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16466 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16467 if ${xorg_cv_compiler_flag_unknown_warning_option+:} 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 _ACEOF
   16474 if ac_fn_c_try_compile "$LINENO"; then :
   16475   xorg_cv_compiler_flag_unknown_warning_option=yes
   16476 else
   16477   xorg_cv_compiler_flag_unknown_warning_option=no
   16478 fi
   16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16480 fi
   16481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16482 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16483 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16484 	CFLAGS="$xorg_testset_save_CFLAGS"
   16485 fi
   16486 
   16487 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16488 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16490 	fi
   16491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16493 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16494 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16495   $as_echo_n "(cached) " >&6
   16496 else
   16497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16498 /* end confdefs.h.  */
   16499 int i;
   16500 _ACEOF
   16501 if ac_fn_c_try_compile "$LINENO"; then :
   16502   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16503 else
   16504   xorg_cv_compiler_flag_unused_command_line_argument=no
   16505 fi
   16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16507 fi
   16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16509 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16510 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16511 	CFLAGS="$xorg_testset_save_CFLAGS"
   16512 fi
   16513 
   16514 found="no"
   16515 
   16516 	if test $found = "no" ; then
   16517 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16519 		fi
   16520 
   16521 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16523 		fi
   16524 
   16525 		CFLAGS="$CFLAGS -Waddress"
   16526 
   16527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16528 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16529 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   16530 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16531   $as_echo_n "(cached) " >&6
   16532 else
   16533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16534 /* end confdefs.h.  */
   16535 int i;
   16536 int
   16537 main ()
   16538 {
   16539 
   16540   ;
   16541   return 0;
   16542 }
   16543 _ACEOF
   16544 if ac_fn_c_try_link "$LINENO"; then :
   16545   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16546 else
   16547   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16548 fi
   16549 rm -f core conftest.err conftest.$ac_objext \
   16550     conftest$ac_exeext conftest.$ac_ext
   16551 fi
   16552 
   16553 
   16554 		CFLAGS="$xorg_testset_save_CFLAGS"
   16555 
   16556 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16558 $as_echo "$supported" >&6; }
   16559 		if test "$supported" = "yes" ; then
   16560 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16561 			found="yes"
   16562 		fi
   16563 	fi
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 xorg_testset_save_CFLAGS="$CFLAGS"
   16578 
   16579 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16582 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16583 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16584   $as_echo_n "(cached) " >&6
   16585 else
   16586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16587 /* end confdefs.h.  */
   16588 int i;
   16589 _ACEOF
   16590 if ac_fn_c_try_compile "$LINENO"; then :
   16591   xorg_cv_compiler_flag_unknown_warning_option=yes
   16592 else
   16593   xorg_cv_compiler_flag_unknown_warning_option=no
   16594 fi
   16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16596 fi
   16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16598 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16599 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16600 	CFLAGS="$xorg_testset_save_CFLAGS"
   16601 fi
   16602 
   16603 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16604 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16606 	fi
   16607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16609 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16610 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16611   $as_echo_n "(cached) " >&6
   16612 else
   16613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16614 /* end confdefs.h.  */
   16615 int i;
   16616 _ACEOF
   16617 if ac_fn_c_try_compile "$LINENO"; then :
   16618   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16619 else
   16620   xorg_cv_compiler_flag_unused_command_line_argument=no
   16621 fi
   16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16623 fi
   16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16625 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16626 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16627 	CFLAGS="$xorg_testset_save_CFLAGS"
   16628 fi
   16629 
   16630 found="no"
   16631 
   16632 	if test $found = "no" ; then
   16633 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16635 		fi
   16636 
   16637 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16639 		fi
   16640 
   16641 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16642 
   16643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16644 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16645 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   16646 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16647   $as_echo_n "(cached) " >&6
   16648 else
   16649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16650 /* end confdefs.h.  */
   16651 int i;
   16652 int
   16653 main ()
   16654 {
   16655 
   16656   ;
   16657   return 0;
   16658 }
   16659 _ACEOF
   16660 if ac_fn_c_try_link "$LINENO"; then :
   16661   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16662 else
   16663   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16664 fi
   16665 rm -f core conftest.err conftest.$ac_objext \
   16666     conftest$ac_exeext conftest.$ac_ext
   16667 fi
   16668 
   16669 
   16670 		CFLAGS="$xorg_testset_save_CFLAGS"
   16671 
   16672 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16674 $as_echo "$supported" >&6; }
   16675 		if test "$supported" = "yes" ; then
   16676 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16677 			found="yes"
   16678 		fi
   16679 	fi
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 xorg_testset_save_CFLAGS="$CFLAGS"
   16694 
   16695 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16698 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16699 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16700   $as_echo_n "(cached) " >&6
   16701 else
   16702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16703 /* end confdefs.h.  */
   16704 int i;
   16705 _ACEOF
   16706 if ac_fn_c_try_compile "$LINENO"; then :
   16707   xorg_cv_compiler_flag_unknown_warning_option=yes
   16708 else
   16709   xorg_cv_compiler_flag_unknown_warning_option=no
   16710 fi
   16711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16712 fi
   16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16714 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16715 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16716 	CFLAGS="$xorg_testset_save_CFLAGS"
   16717 fi
   16718 
   16719 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16720 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16722 	fi
   16723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16725 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16726 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16727   $as_echo_n "(cached) " >&6
   16728 else
   16729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16730 /* end confdefs.h.  */
   16731 int i;
   16732 _ACEOF
   16733 if ac_fn_c_try_compile "$LINENO"; then :
   16734   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16735 else
   16736   xorg_cv_compiler_flag_unused_command_line_argument=no
   16737 fi
   16738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16739 fi
   16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16741 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16742 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16743 	CFLAGS="$xorg_testset_save_CFLAGS"
   16744 fi
   16745 
   16746 found="no"
   16747 
   16748 	if test $found = "no" ; then
   16749 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16751 		fi
   16752 
   16753 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16755 		fi
   16756 
   16757 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16758 
   16759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16760 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16761 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   16762 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16763   $as_echo_n "(cached) " >&6
   16764 else
   16765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16766 /* end confdefs.h.  */
   16767 int i;
   16768 int
   16769 main ()
   16770 {
   16771 
   16772   ;
   16773   return 0;
   16774 }
   16775 _ACEOF
   16776 if ac_fn_c_try_link "$LINENO"; then :
   16777   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16778 else
   16779   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16780 fi
   16781 rm -f core conftest.err conftest.$ac_objext \
   16782     conftest$ac_exeext conftest.$ac_ext
   16783 fi
   16784 
   16785 
   16786 		CFLAGS="$xorg_testset_save_CFLAGS"
   16787 
   16788 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16790 $as_echo "$supported" >&6; }
   16791 		if test "$supported" = "yes" ; then
   16792 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16793 			found="yes"
   16794 		fi
   16795 	fi
   16796 
   16797 
   16798 fi
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 		CWARNFLAGS="$BASE_CFLAGS"
   16807 		if  test "x$GCC" = xyes ; then
   16808 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16809 		fi
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 # Check whether --enable-strict-compilation was given.
   16819 if test "${enable_strict_compilation+set}" = set; then :
   16820   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16821 else
   16822   STRICT_COMPILE=no
   16823 fi
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 STRICT_CFLAGS=""
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 xorg_testset_save_CFLAGS="$CFLAGS"
   16843 
   16844 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16847 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16848 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16849   $as_echo_n "(cached) " >&6
   16850 else
   16851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16852 /* end confdefs.h.  */
   16853 int i;
   16854 _ACEOF
   16855 if ac_fn_c_try_compile "$LINENO"; then :
   16856   xorg_cv_compiler_flag_unknown_warning_option=yes
   16857 else
   16858   xorg_cv_compiler_flag_unknown_warning_option=no
   16859 fi
   16860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16861 fi
   16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16863 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16864 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16865 	CFLAGS="$xorg_testset_save_CFLAGS"
   16866 fi
   16867 
   16868 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16869 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 	fi
   16872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16874 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16875 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16876   $as_echo_n "(cached) " >&6
   16877 else
   16878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16879 /* end confdefs.h.  */
   16880 int i;
   16881 _ACEOF
   16882 if ac_fn_c_try_compile "$LINENO"; then :
   16883   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16884 else
   16885   xorg_cv_compiler_flag_unused_command_line_argument=no
   16886 fi
   16887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16888 fi
   16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16890 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16891 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16892 	CFLAGS="$xorg_testset_save_CFLAGS"
   16893 fi
   16894 
   16895 found="no"
   16896 
   16897 	if test $found = "no" ; then
   16898 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16900 		fi
   16901 
   16902 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16904 		fi
   16905 
   16906 		CFLAGS="$CFLAGS -pedantic"
   16907 
   16908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   16909 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   16910 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   16911 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16912   $as_echo_n "(cached) " >&6
   16913 else
   16914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16915 /* end confdefs.h.  */
   16916 int i;
   16917 int
   16918 main ()
   16919 {
   16920 
   16921   ;
   16922   return 0;
   16923 }
   16924 _ACEOF
   16925 if ac_fn_c_try_link "$LINENO"; then :
   16926   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16927 else
   16928   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16929 fi
   16930 rm -f core conftest.err conftest.$ac_objext \
   16931     conftest$ac_exeext conftest.$ac_ext
   16932 fi
   16933 
   16934 
   16935 		CFLAGS="$xorg_testset_save_CFLAGS"
   16936 
   16937 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16939 $as_echo "$supported" >&6; }
   16940 		if test "$supported" = "yes" ; then
   16941 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   16942 			found="yes"
   16943 		fi
   16944 	fi
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 xorg_testset_save_CFLAGS="$CFLAGS"
   16959 
   16960 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16963 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16964 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16965   $as_echo_n "(cached) " >&6
   16966 else
   16967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16968 /* end confdefs.h.  */
   16969 int i;
   16970 _ACEOF
   16971 if ac_fn_c_try_compile "$LINENO"; then :
   16972   xorg_cv_compiler_flag_unknown_warning_option=yes
   16973 else
   16974   xorg_cv_compiler_flag_unknown_warning_option=no
   16975 fi
   16976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16977 fi
   16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16979 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16980 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16981 	CFLAGS="$xorg_testset_save_CFLAGS"
   16982 fi
   16983 
   16984 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16985 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16987 	fi
   16988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16990 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16991 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16992   $as_echo_n "(cached) " >&6
   16993 else
   16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16995 /* end confdefs.h.  */
   16996 int i;
   16997 _ACEOF
   16998 if ac_fn_c_try_compile "$LINENO"; then :
   16999   xorg_cv_compiler_flag_unused_command_line_argument=yes
   17000 else
   17001   xorg_cv_compiler_flag_unused_command_line_argument=no
   17002 fi
   17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17004 fi
   17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   17006 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17007 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   17008 	CFLAGS="$xorg_testset_save_CFLAGS"
   17009 fi
   17010 
   17011 found="no"
   17012 
   17013 	if test $found = "no" ; then
   17014 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17016 		fi
   17017 
   17018 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17020 		fi
   17021 
   17022 		CFLAGS="$CFLAGS -Werror"
   17023 
   17024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17025 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17026 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   17027 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   17034 main ()
   17035 {
   17036 
   17037   ;
   17038   return 0;
   17039 }
   17040 _ACEOF
   17041 if ac_fn_c_try_link "$LINENO"; then :
   17042   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17043 else
   17044   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17045 fi
   17046 rm -f core conftest.err conftest.$ac_objext \
   17047     conftest$ac_exeext conftest.$ac_ext
   17048 fi
   17049 
   17050 
   17051 		CFLAGS="$xorg_testset_save_CFLAGS"
   17052 
   17053 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17054 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17055 $as_echo "$supported" >&6; }
   17056 		if test "$supported" = "yes" ; then
   17057 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17058 			found="yes"
   17059 		fi
   17060 	fi
   17061 
   17062 	if test $found = "no" ; then
   17063 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17065 		fi
   17066 
   17067 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17069 		fi
   17070 
   17071 		CFLAGS="$CFLAGS -errwarn"
   17072 
   17073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17074 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17075 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   17076 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17077   $as_echo_n "(cached) " >&6
   17078 else
   17079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17080 /* end confdefs.h.  */
   17081 int i;
   17082 int
   17083 main ()
   17084 {
   17085 
   17086   ;
   17087   return 0;
   17088 }
   17089 _ACEOF
   17090 if ac_fn_c_try_link "$LINENO"; then :
   17091   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17092 else
   17093   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17094 fi
   17095 rm -f core conftest.err conftest.$ac_objext \
   17096     conftest$ac_exeext conftest.$ac_ext
   17097 fi
   17098 
   17099 
   17100 		CFLAGS="$xorg_testset_save_CFLAGS"
   17101 
   17102 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17104 $as_echo "$supported" >&6; }
   17105 		if test "$supported" = "yes" ; then
   17106 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17107 			found="yes"
   17108 		fi
   17109 	fi
   17110 
   17111 
   17112 
   17113 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17114 # activate it with -Werror, so we add it here explicitly.
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 
   17123 
   17124 
   17125 
   17126 xorg_testset_save_CFLAGS="$CFLAGS"
   17127 
   17128 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   17131 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   17132 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   17133   $as_echo_n "(cached) " >&6
   17134 else
   17135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17136 /* end confdefs.h.  */
   17137 int i;
   17138 _ACEOF
   17139 if ac_fn_c_try_compile "$LINENO"; then :
   17140   xorg_cv_compiler_flag_unknown_warning_option=yes
   17141 else
   17142   xorg_cv_compiler_flag_unknown_warning_option=no
   17143 fi
   17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17145 fi
   17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   17147 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   17148 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   17149 	CFLAGS="$xorg_testset_save_CFLAGS"
   17150 fi
   17151 
   17152 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17153 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17155 	fi
   17156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   17158 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   17159 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   17160   $as_echo_n "(cached) " >&6
   17161 else
   17162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17163 /* end confdefs.h.  */
   17164 int i;
   17165 _ACEOF
   17166 if ac_fn_c_try_compile "$LINENO"; then :
   17167   xorg_cv_compiler_flag_unused_command_line_argument=yes
   17168 else
   17169   xorg_cv_compiler_flag_unused_command_line_argument=no
   17170 fi
   17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17172 fi
   17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   17174 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17175 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   17176 	CFLAGS="$xorg_testset_save_CFLAGS"
   17177 fi
   17178 
   17179 found="no"
   17180 
   17181 	if test $found = "no" ; then
   17182 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17184 		fi
   17185 
   17186 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17188 		fi
   17189 
   17190 		CFLAGS="$CFLAGS -Werror=attributes"
   17191 
   17192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17193 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17194 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   17195 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17196   $as_echo_n "(cached) " >&6
   17197 else
   17198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17199 /* end confdefs.h.  */
   17200 int i;
   17201 int
   17202 main ()
   17203 {
   17204 
   17205   ;
   17206   return 0;
   17207 }
   17208 _ACEOF
   17209 if ac_fn_c_try_link "$LINENO"; then :
   17210   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17211 else
   17212   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17213 fi
   17214 rm -f core conftest.err conftest.$ac_objext \
   17215     conftest$ac_exeext conftest.$ac_ext
   17216 fi
   17217 
   17218 
   17219 		CFLAGS="$xorg_testset_save_CFLAGS"
   17220 
   17221 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17223 $as_echo "$supported" >&6; }
   17224 		if test "$supported" = "yes" ; then
   17225 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17226 			found="yes"
   17227 		fi
   17228 	fi
   17229 
   17230 
   17231 
   17232 if test "x$STRICT_COMPILE" = "xyes"; then
   17233     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17234     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17235 fi
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 
   17242 cat >>confdefs.h <<_ACEOF
   17243 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17244 _ACEOF
   17245 
   17246 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17247 	if test "x$PVM" = "x"; then
   17248 		PVM="0"
   17249 	fi
   17250 
   17251 cat >>confdefs.h <<_ACEOF
   17252 #define PACKAGE_VERSION_MINOR $PVM
   17253 _ACEOF
   17254 
   17255 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17256 	if test "x$PVP" = "x"; then
   17257 		PVP="0"
   17258 	fi
   17259 
   17260 cat >>confdefs.h <<_ACEOF
   17261 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17262 _ACEOF
   17263 
   17264 
   17265 
   17266 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17267 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17268 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17269 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17270 
   17271 
   17272 
   17273 
   17274 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17275 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17276 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17277 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17278 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 if test x$APP_MAN_SUFFIX = x    ; then
   17286     APP_MAN_SUFFIX=1
   17287 fi
   17288 if test x$APP_MAN_DIR = x    ; then
   17289     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17290 fi
   17291 
   17292 if test x$LIB_MAN_SUFFIX = x    ; then
   17293     LIB_MAN_SUFFIX=3
   17294 fi
   17295 if test x$LIB_MAN_DIR = x    ; then
   17296     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17297 fi
   17298 
   17299 if test x$FILE_MAN_SUFFIX = x    ; then
   17300     case $host_os in
   17301 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17302 	*)		FILE_MAN_SUFFIX=5  ;;
   17303     esac
   17304 fi
   17305 if test x$FILE_MAN_DIR = x    ; then
   17306     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17307 fi
   17308 
   17309 if test x$MISC_MAN_SUFFIX = x    ; then
   17310     case $host_os in
   17311 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17312 	*)		MISC_MAN_SUFFIX=7  ;;
   17313     esac
   17314 fi
   17315 if test x$MISC_MAN_DIR = x    ; then
   17316     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17317 fi
   17318 
   17319 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17320     case $host_os in
   17321 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17322 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17323     esac
   17324 fi
   17325 if test x$DRIVER_MAN_DIR = x    ; then
   17326     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17327 fi
   17328 
   17329 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17330     case $host_os in
   17331 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17332 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17333     esac
   17334 fi
   17335 if test x$ADMIN_MAN_DIR = x    ; then
   17336     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17337 fi
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 XORG_MAN_PAGE="X Version 11"
   17354 
   17355 MAN_SUBSTS="\
   17356 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17357 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17358 	-e 's|__xservername__|Xorg|g' \
   17359 	-e 's|__xconfigfile__|xorg.conf|g' \
   17360 	-e 's|__projectroot__|\$(prefix)|g' \
   17361 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17362 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17363 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17364 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17365 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17366 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17367 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17368 
   17369 
   17370 
   17371 # Check whether --enable-silent-rules was given.
   17372 if test "${enable_silent_rules+set}" = set; then :
   17373   enableval=$enable_silent_rules;
   17374 fi
   17375 
   17376 case $enable_silent_rules in
   17377 yes) AM_DEFAULT_VERBOSITY=0;;
   17378 no)  AM_DEFAULT_VERBOSITY=1;;
   17379 *)   AM_DEFAULT_VERBOSITY=0;;
   17380 esac
   17381 AM_BACKSLASH='\'
   17382 
   17383 
   17384 
   17385 # Check whether --enable-malloc0returnsnull was given.
   17386 if test "${enable_malloc0returnsnull+set}" = set; then :
   17387   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17388 else
   17389   MALLOC_ZERO_RETURNS_NULL=auto
   17390 fi
   17391 
   17392 
   17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17394 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17395 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17396 	if test "$cross_compiling" = yes; then :
   17397   MALLOC_ZERO_RETURNS_NULL=yes
   17398 else
   17399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17400 /* end confdefs.h.  */
   17401 
   17402 #include <stdlib.h>
   17403 
   17404 int
   17405 main ()
   17406 {
   17407 
   17408     char *m0, *r0, *c0, *p;
   17409     m0 = malloc(0);
   17410     p = malloc(10);
   17411     r0 = realloc(p,0);
   17412     c0 = calloc(0,10);
   17413     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17414 
   17415   ;
   17416   return 0;
   17417 }
   17418 _ACEOF
   17419 if ac_fn_c_try_run "$LINENO"; then :
   17420   MALLOC_ZERO_RETURNS_NULL=yes
   17421 else
   17422   MALLOC_ZERO_RETURNS_NULL=no
   17423 fi
   17424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17425   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17426 fi
   17427 
   17428 fi
   17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17430 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17431 
   17432 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17433 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17434 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17435 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17436 else
   17437 	MALLOC_ZERO_CFLAGS=""
   17438 	XMALLOC_ZERO_CFLAGS=""
   17439 	XTMALLOC_ZERO_CFLAGS=""
   17440 fi
   17441 
   17442 
   17443 
   17444 
   17445 
   17446 
   17447 # Obtain compiler/linker options for depedencies
   17448 
   17449 pkg_failed=no
   17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVMC" >&5
   17451 $as_echo_n "checking for XVMC... " >&6; }
   17452 
   17453 if test -n "$XVMC_CFLAGS"; then
   17454     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   17455  elif test -n "$PKG_CONFIG"; then
   17456     if test -n "$PKG_CONFIG" && \
   17457     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xv xextproto videoproto\""; } >&5
   17458   ($PKG_CONFIG --exists --print-errors "x11 xext xv xextproto videoproto") 2>&5
   17459   ac_status=$?
   17460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17461   test $ac_status = 0; }; then
   17462   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xv xextproto videoproto" 2>/dev/null`
   17463 else
   17464   pkg_failed=yes
   17465 fi
   17466  else
   17467     pkg_failed=untried
   17468 fi
   17469 if test -n "$XVMC_LIBS"; then
   17470     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   17471  elif test -n "$PKG_CONFIG"; then
   17472     if test -n "$PKG_CONFIG" && \
   17473     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xv xextproto videoproto\""; } >&5
   17474   ($PKG_CONFIG --exists --print-errors "x11 xext xv xextproto videoproto") 2>&5
   17475   ac_status=$?
   17476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17477   test $ac_status = 0; }; then
   17478   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 xext xv xextproto videoproto" 2>/dev/null`
   17479 else
   17480   pkg_failed=yes
   17481 fi
   17482  else
   17483     pkg_failed=untried
   17484 fi
   17485 
   17486 
   17487 
   17488 if test $pkg_failed = yes; then
   17489 
   17490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17491         _pkg_short_errors_supported=yes
   17492 else
   17493         _pkg_short_errors_supported=no
   17494 fi
   17495         if test $_pkg_short_errors_supported = yes; then
   17496 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xv xextproto videoproto" 2>&1`
   17497         else
   17498 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xv xextproto videoproto" 2>&1`
   17499         fi
   17500 	# Put the nasty error message in config.log where it belongs
   17501 	echo "$XVMC_PKG_ERRORS" >&5
   17502 
   17503 	as_fn_error $? "Package requirements (x11 xext xv xextproto videoproto) were not met:
   17504 
   17505 $XVMC_PKG_ERRORS
   17506 
   17507 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17508 installed software in a non-standard prefix.
   17509 
   17510 Alternatively, you may set the environment variables XVMC_CFLAGS
   17511 and XVMC_LIBS to avoid the need to call pkg-config.
   17512 See the pkg-config man page for more details.
   17513 " "$LINENO" 5
   17514 elif test $pkg_failed = untried; then
   17515 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17517 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17518 is in your PATH or set the PKG_CONFIG environment variable to the full
   17519 path to pkg-config.
   17520 
   17521 Alternatively, you may set the environment variables XVMC_CFLAGS
   17522 and XVMC_LIBS to avoid the need to call pkg-config.
   17523 See the pkg-config man page for more details.
   17524 
   17525 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17526 See \`config.log' for more details" "$LINENO" 5; }
   17527 else
   17528 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   17529 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   17530         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17531 $as_echo "yes" >&6; }
   17532 	:
   17533 fi
   17534 
   17535 # Checks for library functions.
   17536 for ac_func in shmat
   17537 do :
   17538   ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   17539 if test "x$ac_cv_func_shmat" = xyes; then :
   17540   cat >>confdefs.h <<_ACEOF
   17541 #define HAVE_SHMAT 1
   17542 _ACEOF
   17543 
   17544 fi
   17545 done
   17546 
   17547 
   17548 # Allow checking code with lint, sparse, etc.
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 # Check whether --with-lint was given.
   17555 if test "${with_lint+set}" = set; then :
   17556   withval=$with_lint; use_lint=$withval
   17557 else
   17558   use_lint=no
   17559 fi
   17560 
   17561 
   17562 # Obtain platform specific info like program name and options
   17563 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   17564 case $host_os in
   17565   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   17566 	lint_name=splint
   17567 	lint_options="-badflag"
   17568 	;;
   17569   *freebsd* | *netbsd*)
   17570 	lint_name=lint
   17571 	lint_options="-u -b"
   17572 	;;
   17573   *solaris*)
   17574 	lint_name=lint
   17575 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   17576 	;;
   17577 esac
   17578 
   17579 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   17580 if test "x$use_lint" = x"yes" ; then
   17581    # Extract the first word of "$lint_name", so it can be a program name with args.
   17582 set dummy $lint_name; ac_word=$2
   17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17584 $as_echo_n "checking for $ac_word... " >&6; }
   17585 if ${ac_cv_path_LINT+:} false; then :
   17586   $as_echo_n "(cached) " >&6
   17587 else
   17588   case $LINT in
   17589   [\\/]* | ?:[\\/]*)
   17590   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   17591   ;;
   17592   *)
   17593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17594 for as_dir in $PATH
   17595 do
   17596   IFS=$as_save_IFS
   17597   test -z "$as_dir" && as_dir=.
   17598     for ac_exec_ext in '' $ac_executable_extensions; do
   17599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17600     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   17601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17602     break 2
   17603   fi
   17604 done
   17605   done
   17606 IFS=$as_save_IFS
   17607 
   17608   ;;
   17609 esac
   17610 fi
   17611 LINT=$ac_cv_path_LINT
   17612 if test -n "$LINT"; then
   17613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   17614 $as_echo "$LINT" >&6; }
   17615 else
   17616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17617 $as_echo "no" >&6; }
   17618 fi
   17619 
   17620 
   17621    if test "x$LINT" = "x"; then
   17622         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   17623    fi
   17624 elif test "x$use_lint" = x"no" ; then
   17625    if test "x$LINT" != "x"; then
   17626       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   17627 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   17628    fi
   17629 else
   17630    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   17631 fi
   17632 
   17633 # User supplied flags override default flags
   17634 if test "x$LINT_FLAGS" != "x"; then
   17635    lint_options=$LINT_FLAGS
   17636 fi
   17637 
   17638 LINT_FLAGS=$lint_options
   17639 
   17640  if test "x$LINT" != x; then
   17641   LINT_TRUE=
   17642   LINT_FALSE='#'
   17643 else
   17644   LINT_TRUE='#'
   17645   LINT_FALSE=
   17646 fi
   17647 
   17648 
   17649 
   17650 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
   17651 
   17652 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile wrapper/Makefile xvmc.pc"
   17653 
   17654 cat >confcache <<\_ACEOF
   17655 # This file is a shell script that caches the results of configure
   17656 # tests run on this system so they can be shared between configure
   17657 # scripts and configure runs, see configure's option --config-cache.
   17658 # It is not useful on other systems.  If it contains results you don't
   17659 # want to keep, you may remove or edit it.
   17660 #
   17661 # config.status only pays attention to the cache file if you give it
   17662 # the --recheck option to rerun configure.
   17663 #
   17664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17666 # following values.
   17667 
   17668 _ACEOF
   17669 
   17670 # The following way of writing the cache mishandles newlines in values,
   17671 # but we know of no workaround that is simple, portable, and efficient.
   17672 # So, we kill variables containing newlines.
   17673 # Ultrix sh set writes to stderr and can't be redirected directly,
   17674 # and sets the high bit in the cache file unless we assign to the vars.
   17675 (
   17676   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17677     eval ac_val=\$$ac_var
   17678     case $ac_val in #(
   17679     *${as_nl}*)
   17680       case $ac_var in #(
   17681       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17683       esac
   17684       case $ac_var in #(
   17685       _ | IFS | as_nl) ;; #(
   17686       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17687       *) { eval $ac_var=; unset $ac_var;} ;;
   17688       esac ;;
   17689     esac
   17690   done
   17691 
   17692   (set) 2>&1 |
   17693     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17694     *${as_nl}ac_space=\ *)
   17695       # `set' does not quote correctly, so add quotes: double-quote
   17696       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17697       sed -n \
   17698 	"s/'/'\\\\''/g;
   17699 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17700       ;; #(
   17701     *)
   17702       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17703       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17704       ;;
   17705     esac |
   17706     sort
   17707 ) |
   17708   sed '
   17709      /^ac_cv_env_/b end
   17710      t clear
   17711      :clear
   17712      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17713      t end
   17714      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17715      :end' >>confcache
   17716 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17717   if test -w "$cache_file"; then
   17718     if test "x$cache_file" != "x/dev/null"; then
   17719       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17720 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17721       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17722 	cat confcache >"$cache_file"
   17723       else
   17724         case $cache_file in #(
   17725         */* | ?:*)
   17726 	  mv -f confcache "$cache_file"$$ &&
   17727 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17728         *)
   17729 	  mv -f confcache "$cache_file" ;;
   17730 	esac
   17731       fi
   17732     fi
   17733   else
   17734     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17736   fi
   17737 fi
   17738 rm -f confcache
   17739 
   17740 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17741 # Let make expand exec_prefix.
   17742 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17743 
   17744 DEFS=-DHAVE_CONFIG_H
   17745 
   17746 ac_libobjs=
   17747 ac_ltlibobjs=
   17748 U=
   17749 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17750   # 1. Remove the extension, and $U if already installed.
   17751   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17752   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17753   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17754   #    will be set to the directory where LIBOBJS objects are built.
   17755   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17756   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17757 done
   17758 LIBOBJS=$ac_libobjs
   17759 
   17760 LTLIBOBJS=$ac_ltlibobjs
   17761 
   17762 
   17763  if test -n "$EXEEXT"; then
   17764   am__EXEEXT_TRUE=
   17765   am__EXEEXT_FALSE='#'
   17766 else
   17767   am__EXEEXT_TRUE='#'
   17768   am__EXEEXT_FALSE=
   17769 fi
   17770 
   17771 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17772   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17774 fi
   17775 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17776   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17778 fi
   17779 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17780   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17782 fi
   17783 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   17784   as_fn_error $? "conditional \"LINT\" was never defined.
   17785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17786 fi
   17787 
   17788 : "${CONFIG_STATUS=./config.status}"
   17789 ac_write_fail=0
   17790 ac_clean_files_save=$ac_clean_files
   17791 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17793 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17794 as_write_fail=0
   17795 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17796 #! $SHELL
   17797 # Generated by $as_me.
   17798 # Run this file to recreate the current configuration.
   17799 # Compiler output produced by configure, useful for debugging
   17800 # configure, is in config.log if it exists.
   17801 
   17802 debug=false
   17803 ac_cs_recheck=false
   17804 ac_cs_silent=false
   17805 
   17806 SHELL=\${CONFIG_SHELL-$SHELL}
   17807 export SHELL
   17808 _ASEOF
   17809 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17810 ## -------------------- ##
   17811 ## M4sh Initialization. ##
   17812 ## -------------------- ##
   17813 
   17814 # Be more Bourne compatible
   17815 DUALCASE=1; export DUALCASE # for MKS sh
   17816 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17817   emulate sh
   17818   NULLCMD=:
   17819   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17820   # is contrary to our usage.  Disable this feature.
   17821   alias -g '${1+"$@"}'='"$@"'
   17822   setopt NO_GLOB_SUBST
   17823 else
   17824   case `(set -o) 2>/dev/null` in #(
   17825   *posix*) :
   17826     set -o posix ;; #(
   17827   *) :
   17828      ;;
   17829 esac
   17830 fi
   17831 
   17832 
   17833 as_nl='
   17834 '
   17835 export as_nl
   17836 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17837 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17838 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17840 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17841 # but without wasting forks for bash or zsh.
   17842 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17843     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17844   as_echo='print -r --'
   17845   as_echo_n='print -rn --'
   17846 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17847   as_echo='printf %s\n'
   17848   as_echo_n='printf %s'
   17849 else
   17850   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17851     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17852     as_echo_n='/usr/ucb/echo -n'
   17853   else
   17854     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17855     as_echo_n_body='eval
   17856       arg=$1;
   17857       case $arg in #(
   17858       *"$as_nl"*)
   17859 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17860 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17861       esac;
   17862       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17863     '
   17864     export as_echo_n_body
   17865     as_echo_n='sh -c $as_echo_n_body as_echo'
   17866   fi
   17867   export as_echo_body
   17868   as_echo='sh -c $as_echo_body as_echo'
   17869 fi
   17870 
   17871 # The user is always right.
   17872 if test "${PATH_SEPARATOR+set}" != set; then
   17873   PATH_SEPARATOR=:
   17874   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17875     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17876       PATH_SEPARATOR=';'
   17877   }
   17878 fi
   17879 
   17880 
   17881 # IFS
   17882 # We need space, tab and new line, in precisely that order.  Quoting is
   17883 # there to prevent editors from complaining about space-tab.
   17884 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17885 # splitting by setting IFS to empty value.)
   17886 IFS=" ""	$as_nl"
   17887 
   17888 # Find who we are.  Look in the path if we contain no directory separator.
   17889 as_myself=
   17890 case $0 in #((
   17891   *[\\/]* ) as_myself=$0 ;;
   17892   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17893 for as_dir in $PATH
   17894 do
   17895   IFS=$as_save_IFS
   17896   test -z "$as_dir" && as_dir=.
   17897     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17898   done
   17899 IFS=$as_save_IFS
   17900 
   17901      ;;
   17902 esac
   17903 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17904 # in which case we are not to be found in the path.
   17905 if test "x$as_myself" = x; then
   17906   as_myself=$0
   17907 fi
   17908 if test ! -f "$as_myself"; then
   17909   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17910   exit 1
   17911 fi
   17912 
   17913 # Unset variables that we do not need and which cause bugs (e.g. in
   17914 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17915 # suppresses any "Segmentation fault" message there.  '((' could
   17916 # trigger a bug in pdksh 5.2.14.
   17917 for as_var in BASH_ENV ENV MAIL MAILPATH
   17918 do eval test x\${$as_var+set} = xset \
   17919   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17920 done
   17921 PS1='$ '
   17922 PS2='> '
   17923 PS4='+ '
   17924 
   17925 # NLS nuisances.
   17926 LC_ALL=C
   17927 export LC_ALL
   17928 LANGUAGE=C
   17929 export LANGUAGE
   17930 
   17931 # CDPATH.
   17932 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17933 
   17934 
   17935 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17936 # ----------------------------------------
   17937 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17938 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17939 # script with STATUS, using 1 if that was 0.
   17940 as_fn_error ()
   17941 {
   17942   as_status=$1; test $as_status -eq 0 && as_status=1
   17943   if test "$4"; then
   17944     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17945     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17946   fi
   17947   $as_echo "$as_me: error: $2" >&2
   17948   as_fn_exit $as_status
   17949 } # as_fn_error
   17950 
   17951 
   17952 # as_fn_set_status STATUS
   17953 # -----------------------
   17954 # Set $? to STATUS, without forking.
   17955 as_fn_set_status ()
   17956 {
   17957   return $1
   17958 } # as_fn_set_status
   17959 
   17960 # as_fn_exit STATUS
   17961 # -----------------
   17962 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17963 as_fn_exit ()
   17964 {
   17965   set +e
   17966   as_fn_set_status $1
   17967   exit $1
   17968 } # as_fn_exit
   17969 
   17970 # as_fn_unset VAR
   17971 # ---------------
   17972 # Portably unset VAR.
   17973 as_fn_unset ()
   17974 {
   17975   { eval $1=; unset $1;}
   17976 }
   17977 as_unset=as_fn_unset
   17978 # as_fn_append VAR VALUE
   17979 # ----------------------
   17980 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17981 # advantage of any shell optimizations that allow amortized linear growth over
   17982 # repeated appends, instead of the typical quadratic growth present in naive
   17983 # implementations.
   17984 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17985   eval 'as_fn_append ()
   17986   {
   17987     eval $1+=\$2
   17988   }'
   17989 else
   17990   as_fn_append ()
   17991   {
   17992     eval $1=\$$1\$2
   17993   }
   17994 fi # as_fn_append
   17995 
   17996 # as_fn_arith ARG...
   17997 # ------------------
   17998 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17999 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18000 # must be portable across $(()) and expr.
   18001 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18002   eval 'as_fn_arith ()
   18003   {
   18004     as_val=$(( $* ))
   18005   }'
   18006 else
   18007   as_fn_arith ()
   18008   {
   18009     as_val=`expr "$@" || test $? -eq 1`
   18010   }
   18011 fi # as_fn_arith
   18012 
   18013 
   18014 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18015    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18016   as_expr=expr
   18017 else
   18018   as_expr=false
   18019 fi
   18020 
   18021 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18022   as_basename=basename
   18023 else
   18024   as_basename=false
   18025 fi
   18026 
   18027 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18028   as_dirname=dirname
   18029 else
   18030   as_dirname=false
   18031 fi
   18032 
   18033 as_me=`$as_basename -- "$0" ||
   18034 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18035 	 X"$0" : 'X\(//\)$' \| \
   18036 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18037 $as_echo X/"$0" |
   18038     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18039 	    s//\1/
   18040 	    q
   18041 	  }
   18042 	  /^X\/\(\/\/\)$/{
   18043 	    s//\1/
   18044 	    q
   18045 	  }
   18046 	  /^X\/\(\/\).*/{
   18047 	    s//\1/
   18048 	    q
   18049 	  }
   18050 	  s/.*/./; q'`
   18051 
   18052 # Avoid depending upon Character Ranges.
   18053 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18054 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18055 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18056 as_cr_digits='0123456789'
   18057 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18058 
   18059 ECHO_C= ECHO_N= ECHO_T=
   18060 case `echo -n x` in #(((((
   18061 -n*)
   18062   case `echo 'xy\c'` in
   18063   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18064   xy)  ECHO_C='\c';;
   18065   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18066        ECHO_T='	';;
   18067   esac;;
   18068 *)
   18069   ECHO_N='-n';;
   18070 esac
   18071 
   18072 rm -f conf$$ conf$$.exe conf$$.file
   18073 if test -d conf$$.dir; then
   18074   rm -f conf$$.dir/conf$$.file
   18075 else
   18076   rm -f conf$$.dir
   18077   mkdir conf$$.dir 2>/dev/null
   18078 fi
   18079 if (echo >conf$$.file) 2>/dev/null; then
   18080   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18081     as_ln_s='ln -s'
   18082     # ... but there are two gotchas:
   18083     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18084     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18085     # In both cases, we have to default to `cp -p'.
   18086     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18087       as_ln_s='cp -p'
   18088   elif ln conf$$.file conf$$ 2>/dev/null; then
   18089     as_ln_s=ln
   18090   else
   18091     as_ln_s='cp -p'
   18092   fi
   18093 else
   18094   as_ln_s='cp -p'
   18095 fi
   18096 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18097 rmdir conf$$.dir 2>/dev/null
   18098 
   18099 
   18100 # as_fn_mkdir_p
   18101 # -------------
   18102 # Create "$as_dir" as a directory, including parents if necessary.
   18103 as_fn_mkdir_p ()
   18104 {
   18105 
   18106   case $as_dir in #(
   18107   -*) as_dir=./$as_dir;;
   18108   esac
   18109   test -d "$as_dir" || eval $as_mkdir_p || {
   18110     as_dirs=
   18111     while :; do
   18112       case $as_dir in #(
   18113       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18114       *) as_qdir=$as_dir;;
   18115       esac
   18116       as_dirs="'$as_qdir' $as_dirs"
   18117       as_dir=`$as_dirname -- "$as_dir" ||
   18118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18119 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18120 	 X"$as_dir" : 'X\(//\)$' \| \
   18121 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18122 $as_echo X"$as_dir" |
   18123     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18124 	    s//\1/
   18125 	    q
   18126 	  }
   18127 	  /^X\(\/\/\)[^/].*/{
   18128 	    s//\1/
   18129 	    q
   18130 	  }
   18131 	  /^X\(\/\/\)$/{
   18132 	    s//\1/
   18133 	    q
   18134 	  }
   18135 	  /^X\(\/\).*/{
   18136 	    s//\1/
   18137 	    q
   18138 	  }
   18139 	  s/.*/./; q'`
   18140       test -d "$as_dir" && break
   18141     done
   18142     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18143   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18144 
   18145 
   18146 } # as_fn_mkdir_p
   18147 if mkdir -p . 2>/dev/null; then
   18148   as_mkdir_p='mkdir -p "$as_dir"'
   18149 else
   18150   test -d ./-p && rmdir ./-p
   18151   as_mkdir_p=false
   18152 fi
   18153 
   18154 if test -x / >/dev/null 2>&1; then
   18155   as_test_x='test -x'
   18156 else
   18157   if ls -dL / >/dev/null 2>&1; then
   18158     as_ls_L_option=L
   18159   else
   18160     as_ls_L_option=
   18161   fi
   18162   as_test_x='
   18163     eval sh -c '\''
   18164       if test -d "$1"; then
   18165 	test -d "$1/.";
   18166       else
   18167 	case $1 in #(
   18168 	-*)set "./$1";;
   18169 	esac;
   18170 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18171 	???[sx]*):;;*)false;;esac;fi
   18172     '\'' sh
   18173   '
   18174 fi
   18175 as_executable_p=$as_test_x
   18176 
   18177 # Sed expression to map a string onto a valid CPP name.
   18178 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18179 
   18180 # Sed expression to map a string onto a valid variable name.
   18181 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18182 
   18183 
   18184 exec 6>&1
   18185 ## ----------------------------------- ##
   18186 ## Main body of $CONFIG_STATUS script. ##
   18187 ## ----------------------------------- ##
   18188 _ASEOF
   18189 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18190 
   18191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18192 # Save the log message, to keep $0 and so on meaningful, and to
   18193 # report actual input values of CONFIG_FILES etc. instead of their
   18194 # values after options handling.
   18195 ac_log="
   18196 This file was extended by libXvMC $as_me 1.0.7, which was
   18197 generated by GNU Autoconf 2.68.  Invocation command line was
   18198 
   18199   CONFIG_FILES    = $CONFIG_FILES
   18200   CONFIG_HEADERS  = $CONFIG_HEADERS
   18201   CONFIG_LINKS    = $CONFIG_LINKS
   18202   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18203   $ $0 $@
   18204 
   18205 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18206 "
   18207 
   18208 _ACEOF
   18209 
   18210 case $ac_config_files in *"
   18211 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18212 esac
   18213 
   18214 case $ac_config_headers in *"
   18215 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18216 esac
   18217 
   18218 
   18219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18220 # Files that config.status was made for.
   18221 config_files="$ac_config_files"
   18222 config_headers="$ac_config_headers"
   18223 config_commands="$ac_config_commands"
   18224 
   18225 _ACEOF
   18226 
   18227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18228 ac_cs_usage="\
   18229 \`$as_me' instantiates files and other configuration actions
   18230 from templates according to the current configuration.  Unless the files
   18231 and actions are specified as TAGs, all are instantiated by default.
   18232 
   18233 Usage: $0 [OPTION]... [TAG]...
   18234 
   18235   -h, --help       print this help, then exit
   18236   -V, --version    print version number and configuration settings, then exit
   18237       --config     print configuration, then exit
   18238   -q, --quiet, --silent
   18239                    do not print progress messages
   18240   -d, --debug      don't remove temporary files
   18241       --recheck    update $as_me by reconfiguring in the same conditions
   18242       --file=FILE[:TEMPLATE]
   18243                    instantiate the configuration file FILE
   18244       --header=FILE[:TEMPLATE]
   18245                    instantiate the configuration header FILE
   18246 
   18247 Configuration files:
   18248 $config_files
   18249 
   18250 Configuration headers:
   18251 $config_headers
   18252 
   18253 Configuration commands:
   18254 $config_commands
   18255 
   18256 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18257 
   18258 _ACEOF
   18259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18260 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18261 ac_cs_version="\\
   18262 libXvMC config.status 1.0.7
   18263 configured by $0, generated by GNU Autoconf 2.68,
   18264   with options \\"\$ac_cs_config\\"
   18265 
   18266 Copyright (C) 2010 Free Software Foundation, Inc.
   18267 This config.status script is free software; the Free Software Foundation
   18268 gives unlimited permission to copy, distribute and modify it."
   18269 
   18270 ac_pwd='$ac_pwd'
   18271 srcdir='$srcdir'
   18272 INSTALL='$INSTALL'
   18273 MKDIR_P='$MKDIR_P'
   18274 AWK='$AWK'
   18275 test -n "\$AWK" || AWK=awk
   18276 _ACEOF
   18277 
   18278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18279 # The default lists apply if the user does not specify any file.
   18280 ac_need_defaults=:
   18281 while test $# != 0
   18282 do
   18283   case $1 in
   18284   --*=?*)
   18285     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18286     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18287     ac_shift=:
   18288     ;;
   18289   --*=)
   18290     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18291     ac_optarg=
   18292     ac_shift=:
   18293     ;;
   18294   *)
   18295     ac_option=$1
   18296     ac_optarg=$2
   18297     ac_shift=shift
   18298     ;;
   18299   esac
   18300 
   18301   case $ac_option in
   18302   # Handling of the options.
   18303   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18304     ac_cs_recheck=: ;;
   18305   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18306     $as_echo "$ac_cs_version"; exit ;;
   18307   --config | --confi | --conf | --con | --co | --c )
   18308     $as_echo "$ac_cs_config"; exit ;;
   18309   --debug | --debu | --deb | --de | --d | -d )
   18310     debug=: ;;
   18311   --file | --fil | --fi | --f )
   18312     $ac_shift
   18313     case $ac_optarg in
   18314     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18315     '') as_fn_error $? "missing file argument" ;;
   18316     esac
   18317     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18318     ac_need_defaults=false;;
   18319   --header | --heade | --head | --hea )
   18320     $ac_shift
   18321     case $ac_optarg in
   18322     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18323     esac
   18324     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18325     ac_need_defaults=false;;
   18326   --he | --h)
   18327     # Conflict between --help and --header
   18328     as_fn_error $? "ambiguous option: \`$1'
   18329 Try \`$0 --help' for more information.";;
   18330   --help | --hel | -h )
   18331     $as_echo "$ac_cs_usage"; exit ;;
   18332   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18333   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18334     ac_cs_silent=: ;;
   18335 
   18336   # This is an error.
   18337   -*) as_fn_error $? "unrecognized option: \`$1'
   18338 Try \`$0 --help' for more information." ;;
   18339 
   18340   *) as_fn_append ac_config_targets " $1"
   18341      ac_need_defaults=false ;;
   18342 
   18343   esac
   18344   shift
   18345 done
   18346 
   18347 ac_configure_extra_args=
   18348 
   18349 if $ac_cs_silent; then
   18350   exec 6>/dev/null
   18351   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18352 fi
   18353 
   18354 _ACEOF
   18355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18356 if \$ac_cs_recheck; then
   18357   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18358   shift
   18359   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18360   CONFIG_SHELL='$SHELL'
   18361   export CONFIG_SHELL
   18362   exec "\$@"
   18363 fi
   18364 
   18365 _ACEOF
   18366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18367 exec 5>>config.log
   18368 {
   18369   echo
   18370   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18371 ## Running $as_me. ##
   18372 _ASBOX
   18373   $as_echo "$ac_log"
   18374 } >&5
   18375 
   18376 _ACEOF
   18377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18378 #
   18379 # INIT-COMMANDS
   18380 #
   18381 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18382 
   18383 
   18384 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18385 # if CDPATH is set.
   18386 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18387 
   18388 sed_quote_subst='$sed_quote_subst'
   18389 double_quote_subst='$double_quote_subst'
   18390 delay_variable_subst='$delay_variable_subst'
   18391 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18392 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18393 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18394 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18395 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18396 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18397 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18398 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18399 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18400 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18401 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18402 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18403 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18404 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18405 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18406 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18407 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18408 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18409 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18410 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18411 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18412 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18413 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18414 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18415 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18416 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18417 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18418 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18419 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18420 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18421 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18422 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18423 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18424 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18425 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18426 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18427 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18428 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18429 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18430 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18431 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18432 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18433 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18434 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18435 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18436 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18437 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18438 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18439 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18440 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18441 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18442 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18443 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18444 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18445 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18446 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"`'
   18447 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18448 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18449 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18450 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18451 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18452 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18453 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18454 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18455 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18456 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18457 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18458 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18459 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18460 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18461 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18462 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18463 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18464 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18465 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18466 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18467 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18468 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18469 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18470 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18471 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18472 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18473 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18474 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18475 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18476 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18477 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18478 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18479 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18480 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18481 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18482 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18483 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18484 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18485 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18486 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18487 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18488 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18489 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18490 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18491 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18492 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18493 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18494 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18495 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18496 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18497 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18498 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18499 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18500 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18501 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18502 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18503 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18504 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18505 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18506 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18507 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18508 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18509 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18510 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18511 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18512 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18513 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18514 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18515 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18516 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18517 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18518 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18519 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18520 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18521 
   18522 LTCC='$LTCC'
   18523 LTCFLAGS='$LTCFLAGS'
   18524 compiler='$compiler_DEFAULT'
   18525 
   18526 # A function that is used when there is no print builtin or printf.
   18527 func_fallback_echo ()
   18528 {
   18529   eval 'cat <<_LTECHO_EOF
   18530 \$1
   18531 _LTECHO_EOF'
   18532 }
   18533 
   18534 # Quote evaled strings.
   18535 for var in SHELL \
   18536 ECHO \
   18537 SED \
   18538 GREP \
   18539 EGREP \
   18540 FGREP \
   18541 LD \
   18542 NM \
   18543 LN_S \
   18544 lt_SP2NL \
   18545 lt_NL2SP \
   18546 reload_flag \
   18547 OBJDUMP \
   18548 deplibs_check_method \
   18549 file_magic_cmd \
   18550 file_magic_glob \
   18551 want_nocaseglob \
   18552 DLLTOOL \
   18553 sharedlib_from_linklib_cmd \
   18554 AR \
   18555 AR_FLAGS \
   18556 archiver_list_spec \
   18557 STRIP \
   18558 RANLIB \
   18559 CC \
   18560 CFLAGS \
   18561 compiler \
   18562 lt_cv_sys_global_symbol_pipe \
   18563 lt_cv_sys_global_symbol_to_cdecl \
   18564 lt_cv_sys_global_symbol_to_c_name_address \
   18565 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18566 nm_file_list_spec \
   18567 lt_prog_compiler_no_builtin_flag \
   18568 lt_prog_compiler_pic \
   18569 lt_prog_compiler_wl \
   18570 lt_prog_compiler_static \
   18571 lt_cv_prog_compiler_c_o \
   18572 need_locks \
   18573 MANIFEST_TOOL \
   18574 DSYMUTIL \
   18575 NMEDIT \
   18576 LIPO \
   18577 OTOOL \
   18578 OTOOL64 \
   18579 shrext_cmds \
   18580 export_dynamic_flag_spec \
   18581 whole_archive_flag_spec \
   18582 compiler_needs_object \
   18583 with_gnu_ld \
   18584 allow_undefined_flag \
   18585 no_undefined_flag \
   18586 hardcode_libdir_flag_spec \
   18587 hardcode_libdir_flag_spec_ld \
   18588 hardcode_libdir_separator \
   18589 exclude_expsyms \
   18590 include_expsyms \
   18591 file_list_spec \
   18592 variables_saved_for_relink \
   18593 libname_spec \
   18594 library_names_spec \
   18595 soname_spec \
   18596 install_override_mode \
   18597 finish_eval \
   18598 old_striplib \
   18599 striplib; do
   18600     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18601     *[\\\\\\\`\\"\\\$]*)
   18602       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18603       ;;
   18604     *)
   18605       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18606       ;;
   18607     esac
   18608 done
   18609 
   18610 # Double-quote double-evaled strings.
   18611 for var in reload_cmds \
   18612 old_postinstall_cmds \
   18613 old_postuninstall_cmds \
   18614 old_archive_cmds \
   18615 extract_expsyms_cmds \
   18616 old_archive_from_new_cmds \
   18617 old_archive_from_expsyms_cmds \
   18618 archive_cmds \
   18619 archive_expsym_cmds \
   18620 module_cmds \
   18621 module_expsym_cmds \
   18622 export_symbols_cmds \
   18623 prelink_cmds \
   18624 postlink_cmds \
   18625 postinstall_cmds \
   18626 postuninstall_cmds \
   18627 finish_cmds \
   18628 sys_lib_search_path_spec \
   18629 sys_lib_dlsearch_path_spec; do
   18630     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18631     *[\\\\\\\`\\"\\\$]*)
   18632       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18633       ;;
   18634     *)
   18635       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18636       ;;
   18637     esac
   18638 done
   18639 
   18640 ac_aux_dir='$ac_aux_dir'
   18641 xsi_shell='$xsi_shell'
   18642 lt_shell_append='$lt_shell_append'
   18643 
   18644 # See if we are running on zsh, and set the options which allow our
   18645 # commands through without removal of \ escapes INIT.
   18646 if test -n "\${ZSH_VERSION+set}" ; then
   18647    setopt NO_GLOB_SUBST
   18648 fi
   18649 
   18650 
   18651     PACKAGE='$PACKAGE'
   18652     VERSION='$VERSION'
   18653     TIMESTAMP='$TIMESTAMP'
   18654     RM='$RM'
   18655     ofile='$ofile'
   18656 
   18657 
   18658 
   18659 
   18660 _ACEOF
   18661 
   18662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18663 
   18664 # Handling of arguments.
   18665 for ac_config_target in $ac_config_targets
   18666 do
   18667   case $ac_config_target in
   18668     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18669     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18670     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18671     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18672     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   18673     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   18674     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   18675     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18676     "wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES wrapper/Makefile" ;;
   18677     "xvmc.pc") CONFIG_FILES="$CONFIG_FILES xvmc.pc" ;;
   18678 
   18679   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18680   esac
   18681 done
   18682 
   18683 
   18684 # If the user did not use the arguments to specify the items to instantiate,
   18685 # then the envvar interface is used.  Set only those that are not.
   18686 # We use the long form for the default assignment because of an extremely
   18687 # bizarre bug on SunOS 4.1.3.
   18688 if $ac_need_defaults; then
   18689   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18690   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18691   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18692 fi
   18693 
   18694 # Have a temporary directory for convenience.  Make it in the build tree
   18695 # simply because there is no reason against having it here, and in addition,
   18696 # creating and moving files from /tmp can sometimes cause problems.
   18697 # Hook for its removal unless debugging.
   18698 # Note that there is a small window in which the directory will not be cleaned:
   18699 # after its creation but before its name has been assigned to `$tmp'.
   18700 $debug ||
   18701 {
   18702   tmp= ac_tmp=
   18703   trap 'exit_status=$?
   18704   : "${ac_tmp:=$tmp}"
   18705   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18706 ' 0
   18707   trap 'as_fn_exit 1' 1 2 13 15
   18708 }
   18709 # Create a (secure) tmp directory for tmp files.
   18710 
   18711 {
   18712   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18713   test -d "$tmp"
   18714 }  ||
   18715 {
   18716   tmp=./conf$$-$RANDOM
   18717   (umask 077 && mkdir "$tmp")
   18718 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18719 ac_tmp=$tmp
   18720 
   18721 # Set up the scripts for CONFIG_FILES section.
   18722 # No need to generate them if there are no CONFIG_FILES.
   18723 # This happens for instance with `./config.status config.h'.
   18724 if test -n "$CONFIG_FILES"; then
   18725 
   18726 
   18727 ac_cr=`echo X | tr X '\015'`
   18728 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18729 # But we know of no other shell where ac_cr would be empty at this
   18730 # point, so we can use a bashism as a fallback.
   18731 if test "x$ac_cr" = x; then
   18732   eval ac_cr=\$\'\\r\'
   18733 fi
   18734 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18735 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18736   ac_cs_awk_cr='\\r'
   18737 else
   18738   ac_cs_awk_cr=$ac_cr
   18739 fi
   18740 
   18741 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18742 _ACEOF
   18743 
   18744 
   18745 {
   18746   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18747   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18748   echo "_ACEOF"
   18749 } >conf$$subs.sh ||
   18750   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18751 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18752 ac_delim='%!_!# '
   18753 for ac_last_try in false false false false false :; do
   18754   . ./conf$$subs.sh ||
   18755     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18756 
   18757   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18758   if test $ac_delim_n = $ac_delim_num; then
   18759     break
   18760   elif $ac_last_try; then
   18761     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18762   else
   18763     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18764   fi
   18765 done
   18766 rm -f conf$$subs.sh
   18767 
   18768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18769 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18770 _ACEOF
   18771 sed -n '
   18772 h
   18773 s/^/S["/; s/!.*/"]=/
   18774 p
   18775 g
   18776 s/^[^!]*!//
   18777 :repl
   18778 t repl
   18779 s/'"$ac_delim"'$//
   18780 t delim
   18781 :nl
   18782 h
   18783 s/\(.\{148\}\)..*/\1/
   18784 t more1
   18785 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18786 p
   18787 n
   18788 b repl
   18789 :more1
   18790 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18791 p
   18792 g
   18793 s/.\{148\}//
   18794 t nl
   18795 :delim
   18796 h
   18797 s/\(.\{148\}\)..*/\1/
   18798 t more2
   18799 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18800 p
   18801 b
   18802 :more2
   18803 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18804 p
   18805 g
   18806 s/.\{148\}//
   18807 t delim
   18808 ' <conf$$subs.awk | sed '
   18809 /^[^""]/{
   18810   N
   18811   s/\n//
   18812 }
   18813 ' >>$CONFIG_STATUS || ac_write_fail=1
   18814 rm -f conf$$subs.awk
   18815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18816 _ACAWK
   18817 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18818   for (key in S) S_is_set[key] = 1
   18819   FS = ""
   18820 
   18821 }
   18822 {
   18823   line = $ 0
   18824   nfields = split(line, field, "@")
   18825   substed = 0
   18826   len = length(field[1])
   18827   for (i = 2; i < nfields; i++) {
   18828     key = field[i]
   18829     keylen = length(key)
   18830     if (S_is_set[key]) {
   18831       value = S[key]
   18832       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18833       len += length(value) + length(field[++i])
   18834       substed = 1
   18835     } else
   18836       len += 1 + keylen
   18837   }
   18838 
   18839   print line
   18840 }
   18841 
   18842 _ACAWK
   18843 _ACEOF
   18844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18845 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18846   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18847 else
   18848   cat
   18849 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18850   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18851 _ACEOF
   18852 
   18853 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18854 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18855 # trailing colons and then remove the whole line if VPATH becomes empty
   18856 # (actually we leave an empty line to preserve line numbers).
   18857 if test "x$srcdir" = x.; then
   18858   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18859 h
   18860 s///
   18861 s/^/:/
   18862 s/[	 ]*$/:/
   18863 s/:\$(srcdir):/:/g
   18864 s/:\${srcdir}:/:/g
   18865 s/:@srcdir@:/:/g
   18866 s/^:*//
   18867 s/:*$//
   18868 x
   18869 s/\(=[	 ]*\).*/\1/
   18870 G
   18871 s/\n//
   18872 s/^[^=]*=[	 ]*$//
   18873 }'
   18874 fi
   18875 
   18876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18877 fi # test -n "$CONFIG_FILES"
   18878 
   18879 # Set up the scripts for CONFIG_HEADERS section.
   18880 # No need to generate them if there are no CONFIG_HEADERS.
   18881 # This happens for instance with `./config.status Makefile'.
   18882 if test -n "$CONFIG_HEADERS"; then
   18883 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18884 BEGIN {
   18885 _ACEOF
   18886 
   18887 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18888 # here-document in config.status, that substitutes the proper values into
   18889 # config.h.in to produce config.h.
   18890 
   18891 # Create a delimiter string that does not exist in confdefs.h, to ease
   18892 # handling of long lines.
   18893 ac_delim='%!_!# '
   18894 for ac_last_try in false false :; do
   18895   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18896   if test -z "$ac_tt"; then
   18897     break
   18898   elif $ac_last_try; then
   18899     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18900   else
   18901     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18902   fi
   18903 done
   18904 
   18905 # For the awk script, D is an array of macro values keyed by name,
   18906 # likewise P contains macro parameters if any.  Preserve backslash
   18907 # newline sequences.
   18908 
   18909 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18910 sed -n '
   18911 s/.\{148\}/&'"$ac_delim"'/g
   18912 t rset
   18913 :rset
   18914 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18915 t def
   18916 d
   18917 :def
   18918 s/\\$//
   18919 t bsnl
   18920 s/["\\]/\\&/g
   18921 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18922 D["\1"]=" \3"/p
   18923 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18924 d
   18925 :bsnl
   18926 s/["\\]/\\&/g
   18927 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18928 D["\1"]=" \3\\\\\\n"\\/p
   18929 t cont
   18930 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18931 t cont
   18932 d
   18933 :cont
   18934 n
   18935 s/.\{148\}/&'"$ac_delim"'/g
   18936 t clear
   18937 :clear
   18938 s/\\$//
   18939 t bsnlc
   18940 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18941 d
   18942 :bsnlc
   18943 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18944 b cont
   18945 ' <confdefs.h | sed '
   18946 s/'"$ac_delim"'/"\\\
   18947 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18948 
   18949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18950   for (key in D) D_is_set[key] = 1
   18951   FS = ""
   18952 }
   18953 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18954   line = \$ 0
   18955   split(line, arg, " ")
   18956   if (arg[1] == "#") {
   18957     defundef = arg[2]
   18958     mac1 = arg[3]
   18959   } else {
   18960     defundef = substr(arg[1], 2)
   18961     mac1 = arg[2]
   18962   }
   18963   split(mac1, mac2, "(") #)
   18964   macro = mac2[1]
   18965   prefix = substr(line, 1, index(line, defundef) - 1)
   18966   if (D_is_set[macro]) {
   18967     # Preserve the white space surrounding the "#".
   18968     print prefix "define", macro P[macro] D[macro]
   18969     next
   18970   } else {
   18971     # Replace #undef with comments.  This is necessary, for example,
   18972     # in the case of _POSIX_SOURCE, which is predefined and required
   18973     # on some systems where configure will not decide to define it.
   18974     if (defundef == "undef") {
   18975       print "/*", prefix defundef, macro, "*/"
   18976       next
   18977     }
   18978   }
   18979 }
   18980 { print }
   18981 _ACAWK
   18982 _ACEOF
   18983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18984   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18985 fi # test -n "$CONFIG_HEADERS"
   18986 
   18987 
   18988 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18989 shift
   18990 for ac_tag
   18991 do
   18992   case $ac_tag in
   18993   :[FHLC]) ac_mode=$ac_tag; continue;;
   18994   esac
   18995   case $ac_mode$ac_tag in
   18996   :[FHL]*:*);;
   18997   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18998   :[FH]-) ac_tag=-:-;;
   18999   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19000   esac
   19001   ac_save_IFS=$IFS
   19002   IFS=:
   19003   set x $ac_tag
   19004   IFS=$ac_save_IFS
   19005   shift
   19006   ac_file=$1
   19007   shift
   19008 
   19009   case $ac_mode in
   19010   :L) ac_source=$1;;
   19011   :[FH])
   19012     ac_file_inputs=
   19013     for ac_f
   19014     do
   19015       case $ac_f in
   19016       -) ac_f="$ac_tmp/stdin";;
   19017       *) # Look for the file first in the build tree, then in the source tree
   19018 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19019 	 # because $ac_f cannot contain `:'.
   19020 	 test -f "$ac_f" ||
   19021 	   case $ac_f in
   19022 	   [\\/$]*) false;;
   19023 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19024 	   esac ||
   19025 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19026       esac
   19027       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19028       as_fn_append ac_file_inputs " '$ac_f'"
   19029     done
   19030 
   19031     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19032     # use $as_me), people would be surprised to read:
   19033     #    /* config.h.  Generated by config.status.  */
   19034     configure_input='Generated from '`
   19035 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19036 	`' by configure.'
   19037     if test x"$ac_file" != x-; then
   19038       configure_input="$ac_file.  $configure_input"
   19039       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19040 $as_echo "$as_me: creating $ac_file" >&6;}
   19041     fi
   19042     # Neutralize special characters interpreted by sed in replacement strings.
   19043     case $configure_input in #(
   19044     *\&* | *\|* | *\\* )
   19045        ac_sed_conf_input=`$as_echo "$configure_input" |
   19046        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19047     *) ac_sed_conf_input=$configure_input;;
   19048     esac
   19049 
   19050     case $ac_tag in
   19051     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19052       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19053     esac
   19054     ;;
   19055   esac
   19056 
   19057   ac_dir=`$as_dirname -- "$ac_file" ||
   19058 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19059 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19060 	 X"$ac_file" : 'X\(//\)$' \| \
   19061 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19062 $as_echo X"$ac_file" |
   19063     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19064 	    s//\1/
   19065 	    q
   19066 	  }
   19067 	  /^X\(\/\/\)[^/].*/{
   19068 	    s//\1/
   19069 	    q
   19070 	  }
   19071 	  /^X\(\/\/\)$/{
   19072 	    s//\1/
   19073 	    q
   19074 	  }
   19075 	  /^X\(\/\).*/{
   19076 	    s//\1/
   19077 	    q
   19078 	  }
   19079 	  s/.*/./; q'`
   19080   as_dir="$ac_dir"; as_fn_mkdir_p
   19081   ac_builddir=.
   19082 
   19083 case "$ac_dir" in
   19084 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19085 *)
   19086   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19087   # A ".." for each directory in $ac_dir_suffix.
   19088   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19089   case $ac_top_builddir_sub in
   19090   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19091   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19092   esac ;;
   19093 esac
   19094 ac_abs_top_builddir=$ac_pwd
   19095 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19096 # for backward compatibility:
   19097 ac_top_builddir=$ac_top_build_prefix
   19098 
   19099 case $srcdir in
   19100   .)  # We are building in place.
   19101     ac_srcdir=.
   19102     ac_top_srcdir=$ac_top_builddir_sub
   19103     ac_abs_top_srcdir=$ac_pwd ;;
   19104   [\\/]* | ?:[\\/]* )  # Absolute name.
   19105     ac_srcdir=$srcdir$ac_dir_suffix;
   19106     ac_top_srcdir=$srcdir
   19107     ac_abs_top_srcdir=$srcdir ;;
   19108   *) # Relative name.
   19109     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19110     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19111     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19112 esac
   19113 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19114 
   19115 
   19116   case $ac_mode in
   19117   :F)
   19118   #
   19119   # CONFIG_FILE
   19120   #
   19121 
   19122   case $INSTALL in
   19123   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19124   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19125   esac
   19126   ac_MKDIR_P=$MKDIR_P
   19127   case $MKDIR_P in
   19128   [\\/$]* | ?:[\\/]* ) ;;
   19129   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19130   esac
   19131 _ACEOF
   19132 
   19133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19134 # If the template does not know about datarootdir, expand it.
   19135 # FIXME: This hack should be removed a few years after 2.60.
   19136 ac_datarootdir_hack=; ac_datarootdir_seen=
   19137 ac_sed_dataroot='
   19138 /datarootdir/ {
   19139   p
   19140   q
   19141 }
   19142 /@datadir@/p
   19143 /@docdir@/p
   19144 /@infodir@/p
   19145 /@localedir@/p
   19146 /@mandir@/p'
   19147 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19148 *datarootdir*) ac_datarootdir_seen=yes;;
   19149 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19150   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19151 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19152 _ACEOF
   19153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19154   ac_datarootdir_hack='
   19155   s&@datadir@&$datadir&g
   19156   s&@docdir@&$docdir&g
   19157   s&@infodir@&$infodir&g
   19158   s&@localedir@&$localedir&g
   19159   s&@mandir@&$mandir&g
   19160   s&\\\${datarootdir}&$datarootdir&g' ;;
   19161 esac
   19162 _ACEOF
   19163 
   19164 # Neutralize VPATH when `$srcdir' = `.'.
   19165 # Shell code in configure.ac might set extrasub.
   19166 # FIXME: do we really want to maintain this feature?
   19167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19168 ac_sed_extra="$ac_vpsub
   19169 $extrasub
   19170 _ACEOF
   19171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19172 :t
   19173 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19174 s|@configure_input@|$ac_sed_conf_input|;t t
   19175 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19176 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19177 s&@srcdir@&$ac_srcdir&;t t
   19178 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19179 s&@top_srcdir@&$ac_top_srcdir&;t t
   19180 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19181 s&@builddir@&$ac_builddir&;t t
   19182 s&@abs_builddir@&$ac_abs_builddir&;t t
   19183 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19184 s&@INSTALL@&$ac_INSTALL&;t t
   19185 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19186 $ac_datarootdir_hack
   19187 "
   19188 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19189   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19190 
   19191 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19192   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19193   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19194       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19195   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19196 which seems to be undefined.  Please make sure it is defined" >&5
   19197 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19198 which seems to be undefined.  Please make sure it is defined" >&2;}
   19199 
   19200   rm -f "$ac_tmp/stdin"
   19201   case $ac_file in
   19202   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19203   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19204   esac \
   19205   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19206  ;;
   19207   :H)
   19208   #
   19209   # CONFIG_HEADER
   19210   #
   19211   if test x"$ac_file" != x-; then
   19212     {
   19213       $as_echo "/* $configure_input  */" \
   19214       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19215     } >"$ac_tmp/config.h" \
   19216       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19217     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19218       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19219 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19220     else
   19221       rm -f "$ac_file"
   19222       mv "$ac_tmp/config.h" "$ac_file" \
   19223 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19224     fi
   19225   else
   19226     $as_echo "/* $configure_input  */" \
   19227       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19228       || as_fn_error $? "could not create -" "$LINENO" 5
   19229   fi
   19230 # Compute "$ac_file"'s index in $config_headers.
   19231 _am_arg="$ac_file"
   19232 _am_stamp_count=1
   19233 for _am_header in $config_headers :; do
   19234   case $_am_header in
   19235     $_am_arg | $_am_arg:* )
   19236       break ;;
   19237     * )
   19238       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19239   esac
   19240 done
   19241 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19242 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19243 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19244 	 X"$_am_arg" : 'X\(//\)$' \| \
   19245 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19246 $as_echo X"$_am_arg" |
   19247     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19248 	    s//\1/
   19249 	    q
   19250 	  }
   19251 	  /^X\(\/\/\)[^/].*/{
   19252 	    s//\1/
   19253 	    q
   19254 	  }
   19255 	  /^X\(\/\/\)$/{
   19256 	    s//\1/
   19257 	    q
   19258 	  }
   19259 	  /^X\(\/\).*/{
   19260 	    s//\1/
   19261 	    q
   19262 	  }
   19263 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19264  ;;
   19265 
   19266   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19267 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19268  ;;
   19269   esac
   19270 
   19271 
   19272   case $ac_file$ac_mode in
   19273     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19274   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19275   # are listed without --file.  Let's play safe and only enable the eval
   19276   # if we detect the quoting.
   19277   case $CONFIG_FILES in
   19278   *\'*) eval set x "$CONFIG_FILES" ;;
   19279   *)   set x $CONFIG_FILES ;;
   19280   esac
   19281   shift
   19282   for mf
   19283   do
   19284     # Strip MF so we end up with the name of the file.
   19285     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19286     # Check whether this is an Automake generated Makefile or not.
   19287     # We used to match only the files named `Makefile.in', but
   19288     # some people rename them; so instead we look at the file content.
   19289     # Grep'ing the first line is not enough: some people post-process
   19290     # each Makefile.in and add a new line on top of each file to say so.
   19291     # Grep'ing the whole file is not good either: AIX grep has a line
   19292     # limit of 2048, but all sed's we know have understand at least 4000.
   19293     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19294       dirpart=`$as_dirname -- "$mf" ||
   19295 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19296 	 X"$mf" : 'X\(//\)[^/]' \| \
   19297 	 X"$mf" : 'X\(//\)$' \| \
   19298 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19299 $as_echo X"$mf" |
   19300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19301 	    s//\1/
   19302 	    q
   19303 	  }
   19304 	  /^X\(\/\/\)[^/].*/{
   19305 	    s//\1/
   19306 	    q
   19307 	  }
   19308 	  /^X\(\/\/\)$/{
   19309 	    s//\1/
   19310 	    q
   19311 	  }
   19312 	  /^X\(\/\).*/{
   19313 	    s//\1/
   19314 	    q
   19315 	  }
   19316 	  s/.*/./; q'`
   19317     else
   19318       continue
   19319     fi
   19320     # Extract the definition of DEPDIR, am__include, and am__quote
   19321     # from the Makefile without running `make'.
   19322     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19323     test -z "$DEPDIR" && continue
   19324     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19325     test -z "am__include" && continue
   19326     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19327     # When using ansi2knr, U may be empty or an underscore; expand it
   19328     U=`sed -n 's/^U = //p' < "$mf"`
   19329     # Find all dependency output files, they are included files with
   19330     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19331     # simplest approach to changing $(DEPDIR) to its actual value in the
   19332     # expansion.
   19333     for file in `sed -n "
   19334       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19335 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19336       # Make sure the directory exists.
   19337       test -f "$dirpart/$file" && continue
   19338       fdir=`$as_dirname -- "$file" ||
   19339 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19340 	 X"$file" : 'X\(//\)[^/]' \| \
   19341 	 X"$file" : 'X\(//\)$' \| \
   19342 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19343 $as_echo X"$file" |
   19344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19345 	    s//\1/
   19346 	    q
   19347 	  }
   19348 	  /^X\(\/\/\)[^/].*/{
   19349 	    s//\1/
   19350 	    q
   19351 	  }
   19352 	  /^X\(\/\/\)$/{
   19353 	    s//\1/
   19354 	    q
   19355 	  }
   19356 	  /^X\(\/\).*/{
   19357 	    s//\1/
   19358 	    q
   19359 	  }
   19360 	  s/.*/./; q'`
   19361       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19362       # echo "creating $dirpart/$file"
   19363       echo '# dummy' > "$dirpart/$file"
   19364     done
   19365   done
   19366 }
   19367  ;;
   19368     "libtool":C)
   19369 
   19370     # See if we are running on zsh, and set the options which allow our
   19371     # commands through without removal of \ escapes.
   19372     if test -n "${ZSH_VERSION+set}" ; then
   19373       setopt NO_GLOB_SUBST
   19374     fi
   19375 
   19376     cfgfile="${ofile}T"
   19377     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19378     $RM "$cfgfile"
   19379 
   19380     cat <<_LT_EOF >> "$cfgfile"
   19381 #! $SHELL
   19382 
   19383 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19384 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19385 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19386 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19387 #
   19388 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19389 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   19390 #                 Inc.
   19391 #   Written by Gordon Matzigkeit, 1996
   19392 #
   19393 #   This file is part of GNU Libtool.
   19394 #
   19395 # GNU Libtool is free software; you can redistribute it and/or
   19396 # modify it under the terms of the GNU General Public License as
   19397 # published by the Free Software Foundation; either version 2 of
   19398 # the License, or (at your option) any later version.
   19399 #
   19400 # As a special exception to the GNU General Public License,
   19401 # if you distribute this file as part of a program or library that
   19402 # is built using GNU Libtool, you may include this file under the
   19403 # same distribution terms that you use for the rest of that program.
   19404 #
   19405 # GNU Libtool is distributed in the hope that it will be useful,
   19406 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19407 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19408 # GNU General Public License for more details.
   19409 #
   19410 # You should have received a copy of the GNU General Public License
   19411 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19412 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19413 # obtained by writing to the Free Software Foundation, Inc.,
   19414 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19415 
   19416 
   19417 # The names of the tagged configurations supported by this script.
   19418 available_tags=""
   19419 
   19420 # ### BEGIN LIBTOOL CONFIG
   19421 
   19422 # Which release of libtool.m4 was used?
   19423 macro_version=$macro_version
   19424 macro_revision=$macro_revision
   19425 
   19426 # Whether or not to build shared libraries.
   19427 build_libtool_libs=$enable_shared
   19428 
   19429 # Whether or not to build static libraries.
   19430 build_old_libs=$enable_static
   19431 
   19432 # What type of objects to build.
   19433 pic_mode=$pic_mode
   19434 
   19435 # Whether or not to optimize for fast installation.
   19436 fast_install=$enable_fast_install
   19437 
   19438 # Shell to use when invoking shell scripts.
   19439 SHELL=$lt_SHELL
   19440 
   19441 # An echo program that protects backslashes.
   19442 ECHO=$lt_ECHO
   19443 
   19444 # The host system.
   19445 host_alias=$host_alias
   19446 host=$host
   19447 host_os=$host_os
   19448 
   19449 # The build system.
   19450 build_alias=$build_alias
   19451 build=$build
   19452 build_os=$build_os
   19453 
   19454 # A sed program that does not truncate output.
   19455 SED=$lt_SED
   19456 
   19457 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19458 Xsed="\$SED -e 1s/^X//"
   19459 
   19460 # A grep program that handles long lines.
   19461 GREP=$lt_GREP
   19462 
   19463 # An ERE matcher.
   19464 EGREP=$lt_EGREP
   19465 
   19466 # A literal string matcher.
   19467 FGREP=$lt_FGREP
   19468 
   19469 # A BSD- or MS-compatible name lister.
   19470 NM=$lt_NM
   19471 
   19472 # Whether we need soft or hard links.
   19473 LN_S=$lt_LN_S
   19474 
   19475 # What is the maximum length of a command?
   19476 max_cmd_len=$max_cmd_len
   19477 
   19478 # Object file suffix (normally "o").
   19479 objext=$ac_objext
   19480 
   19481 # Executable file suffix (normally "").
   19482 exeext=$exeext
   19483 
   19484 # whether the shell understands "unset".
   19485 lt_unset=$lt_unset
   19486 
   19487 # turn spaces into newlines.
   19488 SP2NL=$lt_lt_SP2NL
   19489 
   19490 # turn newlines into spaces.
   19491 NL2SP=$lt_lt_NL2SP
   19492 
   19493 # convert \$build file names to \$host format.
   19494 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19495 
   19496 # convert \$build files to toolchain format.
   19497 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19498 
   19499 # An object symbol dumper.
   19500 OBJDUMP=$lt_OBJDUMP
   19501 
   19502 # Method to check whether dependent libraries are shared objects.
   19503 deplibs_check_method=$lt_deplibs_check_method
   19504 
   19505 # Command to use when deplibs_check_method = "file_magic".
   19506 file_magic_cmd=$lt_file_magic_cmd
   19507 
   19508 # How to find potential files when deplibs_check_method = "file_magic".
   19509 file_magic_glob=$lt_file_magic_glob
   19510 
   19511 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19512 want_nocaseglob=$lt_want_nocaseglob
   19513 
   19514 # DLL creation program.
   19515 DLLTOOL=$lt_DLLTOOL
   19516 
   19517 # Command to associate shared and link libraries.
   19518 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19519 
   19520 # The archiver.
   19521 AR=$lt_AR
   19522 
   19523 # Flags to create an archive.
   19524 AR_FLAGS=$lt_AR_FLAGS
   19525 
   19526 # How to feed a file listing to the archiver.
   19527 archiver_list_spec=$lt_archiver_list_spec
   19528 
   19529 # A symbol stripping program.
   19530 STRIP=$lt_STRIP
   19531 
   19532 # Commands used to install an old-style archive.
   19533 RANLIB=$lt_RANLIB
   19534 old_postinstall_cmds=$lt_old_postinstall_cmds
   19535 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19536 
   19537 # Whether to use a lock for old archive extraction.
   19538 lock_old_archive_extraction=$lock_old_archive_extraction
   19539 
   19540 # A C compiler.
   19541 LTCC=$lt_CC
   19542 
   19543 # LTCC compiler flags.
   19544 LTCFLAGS=$lt_CFLAGS
   19545 
   19546 # Take the output of nm and produce a listing of raw symbols and C names.
   19547 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19548 
   19549 # Transform the output of nm in a proper C declaration.
   19550 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19551 
   19552 # Transform the output of nm in a C name address pair.
   19553 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19554 
   19555 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19556 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19557 
   19558 # Specify filename containing input files for \$NM.
   19559 nm_file_list_spec=$lt_nm_file_list_spec
   19560 
   19561 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19562 lt_sysroot=$lt_sysroot
   19563 
   19564 # The name of the directory that contains temporary libtool files.
   19565 objdir=$objdir
   19566 
   19567 # Used to examine libraries when file_magic_cmd begins with "file".
   19568 MAGIC_CMD=$MAGIC_CMD
   19569 
   19570 # Must we lock files when doing compilation?
   19571 need_locks=$lt_need_locks
   19572 
   19573 # Manifest tool.
   19574 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19575 
   19576 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19577 DSYMUTIL=$lt_DSYMUTIL
   19578 
   19579 # Tool to change global to local symbols on Mac OS X.
   19580 NMEDIT=$lt_NMEDIT
   19581 
   19582 # Tool to manipulate fat objects and archives on Mac OS X.
   19583 LIPO=$lt_LIPO
   19584 
   19585 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19586 OTOOL=$lt_OTOOL
   19587 
   19588 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19589 OTOOL64=$lt_OTOOL64
   19590 
   19591 # Old archive suffix (normally "a").
   19592 libext=$libext
   19593 
   19594 # Shared library suffix (normally ".so").
   19595 shrext_cmds=$lt_shrext_cmds
   19596 
   19597 # The commands to extract the exported symbol list from a shared archive.
   19598 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19599 
   19600 # Variables whose values should be saved in libtool wrapper scripts and
   19601 # restored at link time.
   19602 variables_saved_for_relink=$lt_variables_saved_for_relink
   19603 
   19604 # Do we need the "lib" prefix for modules?
   19605 need_lib_prefix=$need_lib_prefix
   19606 
   19607 # Do we need a version for libraries?
   19608 need_version=$need_version
   19609 
   19610 # Library versioning type.
   19611 version_type=$version_type
   19612 
   19613 # Shared library runtime path variable.
   19614 runpath_var=$runpath_var
   19615 
   19616 # Shared library path variable.
   19617 shlibpath_var=$shlibpath_var
   19618 
   19619 # Is shlibpath searched before the hard-coded library search path?
   19620 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19621 
   19622 # Format of library name prefix.
   19623 libname_spec=$lt_libname_spec
   19624 
   19625 # List of archive names.  First name is the real one, the rest are links.
   19626 # The last name is the one that the linker finds with -lNAME
   19627 library_names_spec=$lt_library_names_spec
   19628 
   19629 # The coded name of the library, if different from the real name.
   19630 soname_spec=$lt_soname_spec
   19631 
   19632 # Permission mode override for installation of shared libraries.
   19633 install_override_mode=$lt_install_override_mode
   19634 
   19635 # Command to use after installation of a shared archive.
   19636 postinstall_cmds=$lt_postinstall_cmds
   19637 
   19638 # Command to use after uninstallation of a shared archive.
   19639 postuninstall_cmds=$lt_postuninstall_cmds
   19640 
   19641 # Commands used to finish a libtool library installation in a directory.
   19642 finish_cmds=$lt_finish_cmds
   19643 
   19644 # As "finish_cmds", except a single script fragment to be evaled but
   19645 # not shown.
   19646 finish_eval=$lt_finish_eval
   19647 
   19648 # Whether we should hardcode library paths into libraries.
   19649 hardcode_into_libs=$hardcode_into_libs
   19650 
   19651 # Compile-time system search path for libraries.
   19652 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19653 
   19654 # Run-time system search path for libraries.
   19655 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19656 
   19657 # Whether dlopen is supported.
   19658 dlopen_support=$enable_dlopen
   19659 
   19660 # Whether dlopen of programs is supported.
   19661 dlopen_self=$enable_dlopen_self
   19662 
   19663 # Whether dlopen of statically linked programs is supported.
   19664 dlopen_self_static=$enable_dlopen_self_static
   19665 
   19666 # Commands to strip libraries.
   19667 old_striplib=$lt_old_striplib
   19668 striplib=$lt_striplib
   19669 
   19670 
   19671 # The linker used to build libraries.
   19672 LD=$lt_LD
   19673 
   19674 # How to create reloadable object files.
   19675 reload_flag=$lt_reload_flag
   19676 reload_cmds=$lt_reload_cmds
   19677 
   19678 # Commands used to build an old-style archive.
   19679 old_archive_cmds=$lt_old_archive_cmds
   19680 
   19681 # A language specific compiler.
   19682 CC=$lt_compiler
   19683 
   19684 # Is the compiler the GNU compiler?
   19685 with_gcc=$GCC
   19686 
   19687 # Compiler flag to turn off builtin functions.
   19688 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19689 
   19690 # Additional compiler flags for building library objects.
   19691 pic_flag=$lt_lt_prog_compiler_pic
   19692 
   19693 # How to pass a linker flag through the compiler.
   19694 wl=$lt_lt_prog_compiler_wl
   19695 
   19696 # Compiler flag to prevent dynamic linking.
   19697 link_static_flag=$lt_lt_prog_compiler_static
   19698 
   19699 # Does compiler simultaneously support -c and -o options?
   19700 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19701 
   19702 # Whether or not to add -lc for building shared libraries.
   19703 build_libtool_need_lc=$archive_cmds_need_lc
   19704 
   19705 # Whether or not to disallow shared libs when runtime libs are static.
   19706 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19707 
   19708 # Compiler flag to allow reflexive dlopens.
   19709 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19710 
   19711 # Compiler flag to generate shared objects directly from archives.
   19712 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19713 
   19714 # Whether the compiler copes with passing no objects directly.
   19715 compiler_needs_object=$lt_compiler_needs_object
   19716 
   19717 # Create an old-style archive from a shared archive.
   19718 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19719 
   19720 # Create a temporary old-style archive to link instead of a shared archive.
   19721 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19722 
   19723 # Commands used to build a shared archive.
   19724 archive_cmds=$lt_archive_cmds
   19725 archive_expsym_cmds=$lt_archive_expsym_cmds
   19726 
   19727 # Commands used to build a loadable module if different from building
   19728 # a shared archive.
   19729 module_cmds=$lt_module_cmds
   19730 module_expsym_cmds=$lt_module_expsym_cmds
   19731 
   19732 # Whether we are building with GNU ld or not.
   19733 with_gnu_ld=$lt_with_gnu_ld
   19734 
   19735 # Flag that allows shared libraries with undefined symbols to be built.
   19736 allow_undefined_flag=$lt_allow_undefined_flag
   19737 
   19738 # Flag that enforces no undefined symbols.
   19739 no_undefined_flag=$lt_no_undefined_flag
   19740 
   19741 # Flag to hardcode \$libdir into a binary during linking.
   19742 # This must work even if \$libdir does not exist
   19743 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19744 
   19745 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19746 # during linking.  This must work even if \$libdir does not exist.
   19747 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19748 
   19749 # Whether we need a single "-rpath" flag with a separated argument.
   19750 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19751 
   19752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19753 # DIR into the resulting binary.
   19754 hardcode_direct=$hardcode_direct
   19755 
   19756 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19757 # DIR into the resulting binary and the resulting library dependency is
   19758 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19759 # library is relocated.
   19760 hardcode_direct_absolute=$hardcode_direct_absolute
   19761 
   19762 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19763 # into the resulting binary.
   19764 hardcode_minus_L=$hardcode_minus_L
   19765 
   19766 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19767 # into the resulting binary.
   19768 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19769 
   19770 # Set to "yes" if building a shared library automatically hardcodes DIR
   19771 # into the library and all subsequent libraries and executables linked
   19772 # against it.
   19773 hardcode_automatic=$hardcode_automatic
   19774 
   19775 # Set to yes if linker adds runtime paths of dependent libraries
   19776 # to runtime path list.
   19777 inherit_rpath=$inherit_rpath
   19778 
   19779 # Whether libtool must link a program against all its dependency libraries.
   19780 link_all_deplibs=$link_all_deplibs
   19781 
   19782 # Set to "yes" if exported symbols are required.
   19783 always_export_symbols=$always_export_symbols
   19784 
   19785 # The commands to list exported symbols.
   19786 export_symbols_cmds=$lt_export_symbols_cmds
   19787 
   19788 # Symbols that should not be listed in the preloaded symbols.
   19789 exclude_expsyms=$lt_exclude_expsyms
   19790 
   19791 # Symbols that must always be exported.
   19792 include_expsyms=$lt_include_expsyms
   19793 
   19794 # Commands necessary for linking programs (against libraries) with templates.
   19795 prelink_cmds=$lt_prelink_cmds
   19796 
   19797 # Commands necessary for finishing linking programs.
   19798 postlink_cmds=$lt_postlink_cmds
   19799 
   19800 # Specify filename containing input files.
   19801 file_list_spec=$lt_file_list_spec
   19802 
   19803 # How to hardcode a shared library path into an executable.
   19804 hardcode_action=$hardcode_action
   19805 
   19806 # ### END LIBTOOL CONFIG
   19807 
   19808 _LT_EOF
   19809 
   19810   case $host_os in
   19811   aix3*)
   19812     cat <<\_LT_EOF >> "$cfgfile"
   19813 # AIX sometimes has problems with the GCC collect2 program.  For some
   19814 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19815 # vanish in a puff of smoke.
   19816 if test "X${COLLECT_NAMES+set}" != Xset; then
   19817   COLLECT_NAMES=
   19818   export COLLECT_NAMES
   19819 fi
   19820 _LT_EOF
   19821     ;;
   19822   esac
   19823 
   19824 
   19825 ltmain="$ac_aux_dir/ltmain.sh"
   19826 
   19827 
   19828   # We use sed instead of cat because bash on DJGPP gets confused if
   19829   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19830   # text mode, it properly converts lines to CR/LF.  This bash problem
   19831   # is reportedly fixed, but why not run on old versions too?
   19832   sed '$q' "$ltmain" >> "$cfgfile" \
   19833      || (rm -f "$cfgfile"; exit 1)
   19834 
   19835   if test x"$xsi_shell" = xyes; then
   19836   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19837 func_dirname ()\
   19838 {\
   19839 \    case ${1} in\
   19840 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19841 \      *  ) func_dirname_result="${3}" ;;\
   19842 \    esac\
   19843 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19844   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19845     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19846 test 0 -eq $? || _lt_function_replace_fail=:
   19847 
   19848 
   19849   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19850 func_basename ()\
   19851 {\
   19852 \    func_basename_result="${1##*/}"\
   19853 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19854   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19855     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19856 test 0 -eq $? || _lt_function_replace_fail=:
   19857 
   19858 
   19859   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19860 func_dirname_and_basename ()\
   19861 {\
   19862 \    case ${1} in\
   19863 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19864 \      *  ) func_dirname_result="${3}" ;;\
   19865 \    esac\
   19866 \    func_basename_result="${1##*/}"\
   19867 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19868   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19869     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19870 test 0 -eq $? || _lt_function_replace_fail=:
   19871 
   19872 
   19873   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19874 func_stripname ()\
   19875 {\
   19876 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19877 \    # positional parameters, so assign one to ordinary parameter first.\
   19878 \    func_stripname_result=${3}\
   19879 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19880 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19881 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19882   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19883     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19884 test 0 -eq $? || _lt_function_replace_fail=:
   19885 
   19886 
   19887   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19888 func_split_long_opt ()\
   19889 {\
   19890 \    func_split_long_opt_name=${1%%=*}\
   19891 \    func_split_long_opt_arg=${1#*=}\
   19892 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19893   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19894     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19895 test 0 -eq $? || _lt_function_replace_fail=:
   19896 
   19897 
   19898   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19899 func_split_short_opt ()\
   19900 {\
   19901 \    func_split_short_opt_arg=${1#??}\
   19902 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19903 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19904   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19905     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19906 test 0 -eq $? || _lt_function_replace_fail=:
   19907 
   19908 
   19909   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   19910 func_lo2o ()\
   19911 {\
   19912 \    case ${1} in\
   19913 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   19914 \      *)    func_lo2o_result=${1} ;;\
   19915 \    esac\
   19916 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   19917   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19918     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19919 test 0 -eq $? || _lt_function_replace_fail=:
   19920 
   19921 
   19922   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   19923 func_xform ()\
   19924 {\
   19925     func_xform_result=${1%.*}.lo\
   19926 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   19927   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19928     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19929 test 0 -eq $? || _lt_function_replace_fail=:
   19930 
   19931 
   19932   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   19933 func_arith ()\
   19934 {\
   19935     func_arith_result=$(( $* ))\
   19936 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   19937   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19938     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19939 test 0 -eq $? || _lt_function_replace_fail=:
   19940 
   19941 
   19942   sed -e '/^func_len ()$/,/^} # func_len /c\
   19943 func_len ()\
   19944 {\
   19945     func_len_result=${#1}\
   19946 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   19947   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19948     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19949 test 0 -eq $? || _lt_function_replace_fail=:
   19950 
   19951 fi
   19952 
   19953 if test x"$lt_shell_append" = xyes; then
   19954   sed -e '/^func_append ()$/,/^} # func_append /c\
   19955 func_append ()\
   19956 {\
   19957     eval "${1}+=\\${2}"\
   19958 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   19959   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19960     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19961 test 0 -eq $? || _lt_function_replace_fail=:
   19962 
   19963 
   19964   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   19965 func_append_quoted ()\
   19966 {\
   19967 \    func_quote_for_eval "${2}"\
   19968 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   19969 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   19970   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19971     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19972 test 0 -eq $? || _lt_function_replace_fail=:
   19973 
   19974 
   19975   # Save a `func_append' function call where possible by direct use of '+='
   19976   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   19977     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19978       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19979   test 0 -eq $? || _lt_function_replace_fail=:
   19980 else
   19981   # Save a `func_append' function call even when '+=' is not available
   19982   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   19983     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19984       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19985   test 0 -eq $? || _lt_function_replace_fail=:
   19986 fi
   19987 
   19988 if test x"$_lt_function_replace_fail" = x":"; then
   19989   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   19990 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   19991 fi
   19992 
   19993 
   19994    mv -f "$cfgfile" "$ofile" ||
   19995     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19996   chmod +x "$ofile"
   19997 
   19998  ;;
   19999 
   20000   esac
   20001 done # for ac_tag
   20002 
   20003 
   20004 as_fn_exit 0
   20005 _ACEOF
   20006 ac_clean_files=$ac_clean_files_save
   20007 
   20008 test $ac_write_fail = 0 ||
   20009   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20010 
   20011 
   20012 # configure is writing to config.log, and then calls config.status.
   20013 # config.status does its own redirection, appending to config.log.
   20014 # Unfortunately, on DOS this fails, as config.log is still kept open
   20015 # by configure, so config.status won't be able to write to it; its
   20016 # output is simply discarded.  So we exec the FD to /dev/null,
   20017 # effectively closing config.log, so it can be properly (re)opened and
   20018 # appended to by config.status.  When coming back to configure, we
   20019 # need to make the FD available again.
   20020 if test "$no_create" != yes; then
   20021   ac_cs_success=:
   20022   ac_config_status_args=
   20023   test "$silent" = yes &&
   20024     ac_config_status_args="$ac_config_status_args --quiet"
   20025   exec 5>/dev/null
   20026   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20027   exec 5>>config.log
   20028   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20029   # would make configure fail if this is the last instruction.
   20030   $ac_cs_success || as_fn_exit 1
   20031 fi
   20032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20033   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20035 fi
   20036 
   20037