Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXvMC 1.0.9.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libXvMC'
    593 PACKAGE_TARNAME='libXvMC'
    594 PACKAGE_VERSION='1.0.9'
    595 PACKAGE_STRING='libXvMC 1.0.9'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 LINT_FALSE
    641 LINT_TRUE
    642 LINT_FLAGS
    643 LINT
    644 DLOPEN_LIBS
    645 XVMC_LIBS
    646 XVMC_CFLAGS
    647 XTMALLOC_ZERO_CFLAGS
    648 XMALLOC_ZERO_CFLAGS
    649 MALLOC_ZERO_CFLAGS
    650 MAN_SUBSTS
    651 XORG_MAN_PAGE
    652 ADMIN_MAN_DIR
    653 DRIVER_MAN_DIR
    654 MISC_MAN_DIR
    655 FILE_MAN_DIR
    656 LIB_MAN_DIR
    657 APP_MAN_DIR
    658 ADMIN_MAN_SUFFIX
    659 DRIVER_MAN_SUFFIX
    660 MISC_MAN_SUFFIX
    661 FILE_MAN_SUFFIX
    662 LIB_MAN_SUFFIX
    663 APP_MAN_SUFFIX
    664 INSTALL_CMD
    665 PKG_CONFIG
    666 CHANGELOG_CMD
    667 STRICT_CFLAGS
    668 CWARNFLAGS
    669 BASE_CFLAGS
    670 CPP
    671 OTOOL64
    672 OTOOL
    673 LIPO
    674 NMEDIT
    675 DSYMUTIL
    676 MANIFEST_TOOL
    677 RANLIB
    678 ac_ct_AR
    679 AR
    680 DLLTOOL
    681 OBJDUMP
    682 LN_S
    683 NM
    684 ac_ct_DUMPBIN
    685 DUMPBIN
    686 LD
    687 FGREP
    688 EGREP
    689 GREP
    690 SED
    691 am__fastdepCC_FALSE
    692 am__fastdepCC_TRUE
    693 CCDEPMODE
    694 am__nodep
    695 AMDEPBACKSLASH
    696 AMDEP_FALSE
    697 AMDEP_TRUE
    698 am__quote
    699 am__include
    700 DEPDIR
    701 OBJEXT
    702 EXEEXT
    703 ac_ct_CC
    704 CPPFLAGS
    705 LDFLAGS
    706 CFLAGS
    707 CC
    708 host_os
    709 host_vendor
    710 host_cpu
    711 host
    712 build_os
    713 build_vendor
    714 build_cpu
    715 build
    716 LIBTOOL
    717 AM_BACKSLASH
    718 AM_DEFAULT_VERBOSITY
    719 AM_DEFAULT_V
    720 AM_V
    721 am__untar
    722 am__tar
    723 AMTAR
    724 am__leading_dot
    725 SET_MAKE
    726 AWK
    727 mkdir_p
    728 MKDIR_P
    729 INSTALL_STRIP_PROGRAM
    730 STRIP
    731 install_sh
    732 MAKEINFO
    733 AUTOHEADER
    734 AUTOMAKE
    735 AUTOCONF
    736 ACLOCAL
    737 VERSION
    738 PACKAGE
    739 CYGPATH_W
    740 am__isrc
    741 INSTALL_DATA
    742 INSTALL_SCRIPT
    743 INSTALL_PROGRAM
    744 target_alias
    745 host_alias
    746 build_alias
    747 LIBS
    748 ECHO_T
    749 ECHO_N
    750 ECHO_C
    751 DEFS
    752 mandir
    753 localedir
    754 libdir
    755 psdir
    756 pdfdir
    757 dvidir
    758 htmldir
    759 infodir
    760 docdir
    761 oldincludedir
    762 includedir
    763 localstatedir
    764 sharedstatedir
    765 sysconfdir
    766 datadir
    767 datarootdir
    768 libexecdir
    769 sbindir
    770 bindir
    771 program_transform_name
    772 prefix
    773 exec_prefix
    774 PACKAGE_URL
    775 PACKAGE_BUGREPORT
    776 PACKAGE_STRING
    777 PACKAGE_VERSION
    778 PACKAGE_TARNAME
    779 PACKAGE_NAME
    780 PATH_SEPARATOR
    781 SHELL'
    782 ac_subst_files=''
    783 ac_user_opts='
    784 enable_option_checking
    785 enable_silent_rules
    786 enable_shared
    787 enable_static
    788 with_pic
    789 enable_fast_install
    790 enable_dependency_tracking
    791 with_gnu_ld
    792 with_sysroot
    793 enable_libtool_lock
    794 enable_selective_werror
    795 enable_strict_compilation
    796 enable_malloc0returnsnull
    797 with_lint
    798 '
    799       ac_precious_vars='build_alias
    800 host_alias
    801 target_alias
    802 CC
    803 CFLAGS
    804 LDFLAGS
    805 LIBS
    806 CPPFLAGS
    807 CPP
    808 PKG_CONFIG
    809 XVMC_CFLAGS
    810 XVMC_LIBS
    811 LINT
    812 LINT_FLAGS'
    813 
    814 
    815 # Initialize some variables set by options.
    816 ac_init_help=
    817 ac_init_version=false
    818 ac_unrecognized_opts=
    819 ac_unrecognized_sep=
    820 # The variables have the same names as the options, with
    821 # dashes changed to underlines.
    822 cache_file=/dev/null
    823 exec_prefix=NONE
    824 no_create=
    825 no_recursion=
    826 prefix=NONE
    827 program_prefix=NONE
    828 program_suffix=NONE
    829 program_transform_name=s,x,x,
    830 silent=
    831 site=
    832 srcdir=
    833 verbose=
    834 x_includes=NONE
    835 x_libraries=NONE
    836 
    837 # Installation directory options.
    838 # These are left unexpanded so users can "make install exec_prefix=/foo"
    839 # and all the variables that are supposed to be based on exec_prefix
    840 # by default will actually change.
    841 # Use braces instead of parens because sh, perl, etc. also accept them.
    842 # (The list follows the same order as the GNU Coding Standards.)
    843 bindir='${exec_prefix}/bin'
    844 sbindir='${exec_prefix}/sbin'
    845 libexecdir='${exec_prefix}/libexec'
    846 datarootdir='${prefix}/share'
    847 datadir='${datarootdir}'
    848 sysconfdir='${prefix}/etc'
    849 sharedstatedir='${prefix}/com'
    850 localstatedir='${prefix}/var'
    851 includedir='${prefix}/include'
    852 oldincludedir='/usr/include'
    853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    854 infodir='${datarootdir}/info'
    855 htmldir='${docdir}'
    856 dvidir='${docdir}'
    857 pdfdir='${docdir}'
    858 psdir='${docdir}'
    859 libdir='${exec_prefix}/lib'
    860 localedir='${datarootdir}/locale'
    861 mandir='${datarootdir}/man'
    862 
    863 ac_prev=
    864 ac_dashdash=
    865 for ac_option
    866 do
    867   # If the previous option needs an argument, assign it.
    868   if test -n "$ac_prev"; then
    869     eval $ac_prev=\$ac_option
    870     ac_prev=
    871     continue
    872   fi
    873 
    874   case $ac_option in
    875   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    876   *=)   ac_optarg= ;;
    877   *)    ac_optarg=yes ;;
    878   esac
    879 
    880   # Accept the important Cygnus configure options, so we can diagnose typos.
    881 
    882   case $ac_dashdash$ac_option in
    883   --)
    884     ac_dashdash=yes ;;
    885 
    886   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    887     ac_prev=bindir ;;
    888   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    889     bindir=$ac_optarg ;;
    890 
    891   -build | --build | --buil | --bui | --bu)
    892     ac_prev=build_alias ;;
    893   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    894     build_alias=$ac_optarg ;;
    895 
    896   -cache-file | --cache-file | --cache-fil | --cache-fi \
    897   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    898     ac_prev=cache_file ;;
    899   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    900   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    901     cache_file=$ac_optarg ;;
    902 
    903   --config-cache | -C)
    904     cache_file=config.cache ;;
    905 
    906   -datadir | --datadir | --datadi | --datad)
    907     ac_prev=datadir ;;
    908   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    909     datadir=$ac_optarg ;;
    910 
    911   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    912   | --dataroo | --dataro | --datar)
    913     ac_prev=datarootdir ;;
    914   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    915   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    916     datarootdir=$ac_optarg ;;
    917 
    918   -disable-* | --disable-*)
    919     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    920     # Reject names that are not valid shell variable names.
    921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    922       as_fn_error $? "invalid feature name: $ac_useropt"
    923     ac_useropt_orig=$ac_useropt
    924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    925     case $ac_user_opts in
    926       *"
    927 "enable_$ac_useropt"
    928 "*) ;;
    929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    930 	 ac_unrecognized_sep=', ';;
    931     esac
    932     eval enable_$ac_useropt=no ;;
    933 
    934   -docdir | --docdir | --docdi | --doc | --do)
    935     ac_prev=docdir ;;
    936   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    937     docdir=$ac_optarg ;;
    938 
    939   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    940     ac_prev=dvidir ;;
    941   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    942     dvidir=$ac_optarg ;;
    943 
    944   -enable-* | --enable-*)
    945     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    946     # Reject names that are not valid shell variable names.
    947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    948       as_fn_error $? "invalid feature name: $ac_useropt"
    949     ac_useropt_orig=$ac_useropt
    950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    951     case $ac_user_opts in
    952       *"
    953 "enable_$ac_useropt"
    954 "*) ;;
    955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    956 	 ac_unrecognized_sep=', ';;
    957     esac
    958     eval enable_$ac_useropt=\$ac_optarg ;;
    959 
    960   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    961   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    962   | --exec | --exe | --ex)
    963     ac_prev=exec_prefix ;;
    964   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    965   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    966   | --exec=* | --exe=* | --ex=*)
    967     exec_prefix=$ac_optarg ;;
    968 
    969   -gas | --gas | --ga | --g)
    970     # Obsolete; use --with-gas.
    971     with_gas=yes ;;
    972 
    973   -help | --help | --hel | --he | -h)
    974     ac_init_help=long ;;
    975   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    976     ac_init_help=recursive ;;
    977   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    978     ac_init_help=short ;;
    979 
    980   -host | --host | --hos | --ho)
    981     ac_prev=host_alias ;;
    982   -host=* | --host=* | --hos=* | --ho=*)
    983     host_alias=$ac_optarg ;;
    984 
    985   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    986     ac_prev=htmldir ;;
    987   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    988   | --ht=*)
    989     htmldir=$ac_optarg ;;
    990 
    991   -includedir | --includedir | --includedi | --included | --include \
    992   | --includ | --inclu | --incl | --inc)
    993     ac_prev=includedir ;;
    994   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    995   | --includ=* | --inclu=* | --incl=* | --inc=*)
    996     includedir=$ac_optarg ;;
    997 
    998   -infodir | --infodir | --infodi | --infod | --info | --inf)
    999     ac_prev=infodir ;;
   1000   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1001     infodir=$ac_optarg ;;
   1002 
   1003   -libdir | --libdir | --libdi | --libd)
   1004     ac_prev=libdir ;;
   1005   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1006     libdir=$ac_optarg ;;
   1007 
   1008   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1009   | --libexe | --libex | --libe)
   1010     ac_prev=libexecdir ;;
   1011   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1012   | --libexe=* | --libex=* | --libe=*)
   1013     libexecdir=$ac_optarg ;;
   1014 
   1015   -localedir | --localedir | --localedi | --localed | --locale)
   1016     ac_prev=localedir ;;
   1017   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1018     localedir=$ac_optarg ;;
   1019 
   1020   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1021   | --localstate | --localstat | --localsta | --localst | --locals)
   1022     ac_prev=localstatedir ;;
   1023   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1024   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1025     localstatedir=$ac_optarg ;;
   1026 
   1027   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1028     ac_prev=mandir ;;
   1029   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1030     mandir=$ac_optarg ;;
   1031 
   1032   -nfp | --nfp | --nf)
   1033     # Obsolete; use --without-fp.
   1034     with_fp=no ;;
   1035 
   1036   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1037   | --no-cr | --no-c | -n)
   1038     no_create=yes ;;
   1039 
   1040   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1041   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1042     no_recursion=yes ;;
   1043 
   1044   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1045   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1046   | --oldin | --oldi | --old | --ol | --o)
   1047     ac_prev=oldincludedir ;;
   1048   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1049   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1050   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1051     oldincludedir=$ac_optarg ;;
   1052 
   1053   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1054     ac_prev=prefix ;;
   1055   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1056     prefix=$ac_optarg ;;
   1057 
   1058   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1059   | --program-pre | --program-pr | --program-p)
   1060     ac_prev=program_prefix ;;
   1061   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1062   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1063     program_prefix=$ac_optarg ;;
   1064 
   1065   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1066   | --program-suf | --program-su | --program-s)
   1067     ac_prev=program_suffix ;;
   1068   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1069   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1070     program_suffix=$ac_optarg ;;
   1071 
   1072   -program-transform-name | --program-transform-name \
   1073   | --program-transform-nam | --program-transform-na \
   1074   | --program-transform-n | --program-transform- \
   1075   | --program-transform | --program-transfor \
   1076   | --program-transfo | --program-transf \
   1077   | --program-trans | --program-tran \
   1078   | --progr-tra | --program-tr | --program-t)
   1079     ac_prev=program_transform_name ;;
   1080   -program-transform-name=* | --program-transform-name=* \
   1081   | --program-transform-nam=* | --program-transform-na=* \
   1082   | --program-transform-n=* | --program-transform-=* \
   1083   | --program-transform=* | --program-transfor=* \
   1084   | --program-transfo=* | --program-transf=* \
   1085   | --program-trans=* | --program-tran=* \
   1086   | --progr-tra=* | --program-tr=* | --program-t=*)
   1087     program_transform_name=$ac_optarg ;;
   1088 
   1089   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1090     ac_prev=pdfdir ;;
   1091   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1092     pdfdir=$ac_optarg ;;
   1093 
   1094   -psdir | --psdir | --psdi | --psd | --ps)
   1095     ac_prev=psdir ;;
   1096   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1097     psdir=$ac_optarg ;;
   1098 
   1099   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1100   | -silent | --silent | --silen | --sile | --sil)
   1101     silent=yes ;;
   1102 
   1103   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1104     ac_prev=sbindir ;;
   1105   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1106   | --sbi=* | --sb=*)
   1107     sbindir=$ac_optarg ;;
   1108 
   1109   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1110   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1111   | --sharedst | --shareds | --shared | --share | --shar \
   1112   | --sha | --sh)
   1113     ac_prev=sharedstatedir ;;
   1114   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1115   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1116   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1117   | --sha=* | --sh=*)
   1118     sharedstatedir=$ac_optarg ;;
   1119 
   1120   -site | --site | --sit)
   1121     ac_prev=site ;;
   1122   -site=* | --site=* | --sit=*)
   1123     site=$ac_optarg ;;
   1124 
   1125   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1126     ac_prev=srcdir ;;
   1127   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1128     srcdir=$ac_optarg ;;
   1129 
   1130   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1131   | --syscon | --sysco | --sysc | --sys | --sy)
   1132     ac_prev=sysconfdir ;;
   1133   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1134   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1135     sysconfdir=$ac_optarg ;;
   1136 
   1137   -target | --target | --targe | --targ | --tar | --ta | --t)
   1138     ac_prev=target_alias ;;
   1139   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1140     target_alias=$ac_optarg ;;
   1141 
   1142   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1143     verbose=yes ;;
   1144 
   1145   -version | --version | --versio | --versi | --vers | -V)
   1146     ac_init_version=: ;;
   1147 
   1148   -with-* | --with-*)
   1149     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1150     # Reject names that are not valid shell variable names.
   1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1152       as_fn_error $? "invalid package name: $ac_useropt"
   1153     ac_useropt_orig=$ac_useropt
   1154     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1155     case $ac_user_opts in
   1156       *"
   1157 "with_$ac_useropt"
   1158 "*) ;;
   1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1160 	 ac_unrecognized_sep=', ';;
   1161     esac
   1162     eval with_$ac_useropt=\$ac_optarg ;;
   1163 
   1164   -without-* | --without-*)
   1165     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1166     # Reject names that are not valid shell variable names.
   1167     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1168       as_fn_error $? "invalid package name: $ac_useropt"
   1169     ac_useropt_orig=$ac_useropt
   1170     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1171     case $ac_user_opts in
   1172       *"
   1173 "with_$ac_useropt"
   1174 "*) ;;
   1175       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1176 	 ac_unrecognized_sep=', ';;
   1177     esac
   1178     eval with_$ac_useropt=no ;;
   1179 
   1180   --x)
   1181     # Obsolete; use --with-x.
   1182     with_x=yes ;;
   1183 
   1184   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1185   | --x-incl | --x-inc | --x-in | --x-i)
   1186     ac_prev=x_includes ;;
   1187   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1188   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1189     x_includes=$ac_optarg ;;
   1190 
   1191   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1192   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1193     ac_prev=x_libraries ;;
   1194   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1195   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1196     x_libraries=$ac_optarg ;;
   1197 
   1198   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1199 Try \`$0 --help' for more information"
   1200     ;;
   1201 
   1202   *=*)
   1203     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1204     # Reject names that are not valid shell variable names.
   1205     case $ac_envvar in #(
   1206       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1207       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1208     esac
   1209     eval $ac_envvar=\$ac_optarg
   1210     export $ac_envvar ;;
   1211 
   1212   *)
   1213     # FIXME: should be removed in autoconf 3.0.
   1214     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1215     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1216       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1217     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1218     ;;
   1219 
   1220   esac
   1221 done
   1222 
   1223 if test -n "$ac_prev"; then
   1224   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1225   as_fn_error $? "missing argument to $ac_option"
   1226 fi
   1227 
   1228 if test -n "$ac_unrecognized_opts"; then
   1229   case $enable_option_checking in
   1230     no) ;;
   1231     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1232     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1233   esac
   1234 fi
   1235 
   1236 # Check all directory arguments for consistency.
   1237 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1238 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1239 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1240 		libdir localedir mandir
   1241 do
   1242   eval ac_val=\$$ac_var
   1243   # Remove trailing slashes.
   1244   case $ac_val in
   1245     */ )
   1246       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1247       eval $ac_var=\$ac_val;;
   1248   esac
   1249   # Be sure to have absolute directory names.
   1250   case $ac_val in
   1251     [\\/$]* | ?:[\\/]* )  continue;;
   1252     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1253   esac
   1254   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1255 done
   1256 
   1257 # There might be people who depend on the old broken behavior: `$host'
   1258 # used to hold the argument of --host etc.
   1259 # FIXME: To remove some day.
   1260 build=$build_alias
   1261 host=$host_alias
   1262 target=$target_alias
   1263 
   1264 # FIXME: To remove some day.
   1265 if test "x$host_alias" != x; then
   1266   if test "x$build_alias" = x; then
   1267     cross_compiling=maybe
   1268   elif test "x$build_alias" != "x$host_alias"; then
   1269     cross_compiling=yes
   1270   fi
   1271 fi
   1272 
   1273 ac_tool_prefix=
   1274 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1275 
   1276 test "$silent" = yes && exec 6>/dev/null
   1277 
   1278 
   1279 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1280 ac_ls_di=`ls -di .` &&
   1281 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1282   as_fn_error $? "working directory cannot be determined"
   1283 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1284   as_fn_error $? "pwd does not report name of working directory"
   1285 
   1286 
   1287 # Find the source files, if location was not specified.
   1288 if test -z "$srcdir"; then
   1289   ac_srcdir_defaulted=yes
   1290   # Try the directory containing this script, then the parent directory.
   1291   ac_confdir=`$as_dirname -- "$as_myself" ||
   1292 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1293 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1294 	 X"$as_myself" : 'X\(//\)$' \| \
   1295 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1296 $as_echo X"$as_myself" |
   1297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\/\)[^/].*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\/\)$/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  /^X\(\/\).*/{
   1310 	    s//\1/
   1311 	    q
   1312 	  }
   1313 	  s/.*/./; q'`
   1314   srcdir=$ac_confdir
   1315   if test ! -r "$srcdir/$ac_unique_file"; then
   1316     srcdir=..
   1317   fi
   1318 else
   1319   ac_srcdir_defaulted=no
   1320 fi
   1321 if test ! -r "$srcdir/$ac_unique_file"; then
   1322   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1323   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1324 fi
   1325 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1326 ac_abs_confdir=`(
   1327 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1328 	pwd)`
   1329 # When building in place, set srcdir=.
   1330 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1331   srcdir=.
   1332 fi
   1333 # Remove unnecessary trailing slashes from srcdir.
   1334 # Double slashes in file names in object file debugging info
   1335 # mess up M-x gdb in Emacs.
   1336 case $srcdir in
   1337 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1338 esac
   1339 for ac_var in $ac_precious_vars; do
   1340   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1341   eval ac_env_${ac_var}_value=\$${ac_var}
   1342   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1344 done
   1345 
   1346 #
   1347 # Report the --help message.
   1348 #
   1349 if test "$ac_init_help" = "long"; then
   1350   # Omit some internal or obsolete options to make the list less imposing.
   1351   # This message is too long to be a string in the A/UX 3.1 sh.
   1352   cat <<_ACEOF
   1353 \`configure' configures libXvMC 1.0.9 to adapt to many kinds of systems.
   1354 
   1355 Usage: $0 [OPTION]... [VAR=VALUE]...
   1356 
   1357 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1358 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1359 
   1360 Defaults for the options are specified in brackets.
   1361 
   1362 Configuration:
   1363   -h, --help              display this help and exit
   1364       --help=short        display options specific to this package
   1365       --help=recursive    display the short help of all the included packages
   1366   -V, --version           display version information and exit
   1367   -q, --quiet, --silent   do not print \`checking ...' messages
   1368       --cache-file=FILE   cache test results in FILE [disabled]
   1369   -C, --config-cache      alias for \`--cache-file=config.cache'
   1370   -n, --no-create         do not create output files
   1371       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1372 
   1373 Installation directories:
   1374   --prefix=PREFIX         install architecture-independent files in PREFIX
   1375                           [$ac_default_prefix]
   1376   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1377                           [PREFIX]
   1378 
   1379 By default, \`make install' will install all the files in
   1380 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1381 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1382 for instance \`--prefix=\$HOME'.
   1383 
   1384 For better control, use the options below.
   1385 
   1386 Fine tuning of the installation directories:
   1387   --bindir=DIR            user executables [EPREFIX/bin]
   1388   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1389   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1390   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1391   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1392   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1393   --libdir=DIR            object code libraries [EPREFIX/lib]
   1394   --includedir=DIR        C header files [PREFIX/include]
   1395   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1396   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1397   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1398   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1399   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1400   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1401   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXvMC]
   1402   --htmldir=DIR           html documentation [DOCDIR]
   1403   --dvidir=DIR            dvi documentation [DOCDIR]
   1404   --pdfdir=DIR            pdf documentation [DOCDIR]
   1405   --psdir=DIR             ps documentation [DOCDIR]
   1406 _ACEOF
   1407 
   1408   cat <<\_ACEOF
   1409 
   1410 Program names:
   1411   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1412   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1413   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1414 
   1415 System types:
   1416   --build=BUILD     configure for building on BUILD [guessed]
   1417   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1418 _ACEOF
   1419 fi
   1420 
   1421 if test -n "$ac_init_help"; then
   1422   case $ac_init_help in
   1423      short | recursive ) echo "Configuration of libXvMC 1.0.9:";;
   1424    esac
   1425   cat <<\_ACEOF
   1426 
   1427 Optional Features:
   1428   --disable-option-checking  ignore unrecognized --enable/--with options
   1429   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1430   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1431   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1432   --disable-silent-rules  verbose build output (undo: "make V=0")
   1433   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1434   --enable-static[=PKGS]  build static libraries [default=yes]
   1435   --enable-fast-install[=PKGS]
   1436                           optimize for fast installation [default=yes]
   1437   --enable-dependency-tracking
   1438                           do not reject slow dependency extractors
   1439   --disable-dependency-tracking
   1440                           speeds up one-time build
   1441   --disable-libtool-lock  avoid locking (might break parallel builds)
   1442   --disable-selective-werror
   1443                           Turn off selective compiler errors. (default:
   1444                           enabled)
   1445   --enable-strict-compilation
   1446                           Enable all warnings from compiler and make them
   1447                           errors (default: disabled)
   1448   --enable-malloc0returnsnull
   1449                           malloc(0) returns NULL (default: auto)
   1450 
   1451 Optional Packages:
   1452   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1453   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1454   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1455                           both]
   1456   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1457   --with-sysroot=DIR Search for dependent libraries within DIR
   1458                         (or the compiler's sysroot if not specified).
   1459   --with-lint             Use a lint-style source code checker (default:
   1460                           disabled)
   1461 
   1462 Some influential environment variables:
   1463   CC          C compiler command
   1464   CFLAGS      C compiler flags
   1465   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1466               nonstandard directory <lib dir>
   1467   LIBS        libraries to pass to the linker, e.g. -l<library>
   1468   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1469               you have headers in a nonstandard directory <include dir>
   1470   CPP         C preprocessor
   1471   PKG_CONFIG  path to pkg-config utility
   1472   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1473   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1474   LINT        Path to a lint-style command
   1475   LINT_FLAGS  Flags for the lint-style command
   1476 
   1477 Use these variables to override the choices made by `configure' or to help
   1478 it to find libraries and programs with nonstandard names/locations.
   1479 
   1480 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1481 _ACEOF
   1482 ac_status=$?
   1483 fi
   1484 
   1485 if test "$ac_init_help" = "recursive"; then
   1486   # If there are subdirs, report their specific --help.
   1487   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1488     test -d "$ac_dir" ||
   1489       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1490       continue
   1491     ac_builddir=.
   1492 
   1493 case "$ac_dir" in
   1494 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1495 *)
   1496   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1497   # A ".." for each directory in $ac_dir_suffix.
   1498   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1499   case $ac_top_builddir_sub in
   1500   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1501   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1502   esac ;;
   1503 esac
   1504 ac_abs_top_builddir=$ac_pwd
   1505 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1506 # for backward compatibility:
   1507 ac_top_builddir=$ac_top_build_prefix
   1508 
   1509 case $srcdir in
   1510   .)  # We are building in place.
   1511     ac_srcdir=.
   1512     ac_top_srcdir=$ac_top_builddir_sub
   1513     ac_abs_top_srcdir=$ac_pwd ;;
   1514   [\\/]* | ?:[\\/]* )  # Absolute name.
   1515     ac_srcdir=$srcdir$ac_dir_suffix;
   1516     ac_top_srcdir=$srcdir
   1517     ac_abs_top_srcdir=$srcdir ;;
   1518   *) # Relative name.
   1519     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1520     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1521     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1522 esac
   1523 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1524 
   1525     cd "$ac_dir" || { ac_status=$?; continue; }
   1526     # Check for guested configure.
   1527     if test -f "$ac_srcdir/configure.gnu"; then
   1528       echo &&
   1529       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1530     elif test -f "$ac_srcdir/configure"; then
   1531       echo &&
   1532       $SHELL "$ac_srcdir/configure" --help=recursive
   1533     else
   1534       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1535     fi || ac_status=$?
   1536     cd "$ac_pwd" || { ac_status=$?; break; }
   1537   done
   1538 fi
   1539 
   1540 test -n "$ac_init_help" && exit $ac_status
   1541 if $ac_init_version; then
   1542   cat <<\_ACEOF
   1543 libXvMC configure 1.0.9
   1544 generated by GNU Autoconf 2.69
   1545 
   1546 Copyright (C) 2012 Free Software Foundation, Inc.
   1547 This configure script is free software; the Free Software Foundation
   1548 gives unlimited permission to copy, distribute and modify it.
   1549 _ACEOF
   1550   exit
   1551 fi
   1552 
   1553 ## ------------------------ ##
   1554 ## Autoconf initialization. ##
   1555 ## ------------------------ ##
   1556 
   1557 # ac_fn_c_try_compile LINENO
   1558 # --------------------------
   1559 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1560 ac_fn_c_try_compile ()
   1561 {
   1562   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1563   rm -f conftest.$ac_objext
   1564   if { { ac_try="$ac_compile"
   1565 case "(($ac_try" in
   1566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1567   *) ac_try_echo=$ac_try;;
   1568 esac
   1569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1570 $as_echo "$ac_try_echo"; } >&5
   1571   (eval "$ac_compile") 2>conftest.err
   1572   ac_status=$?
   1573   if test -s conftest.err; then
   1574     grep -v '^ *+' conftest.err >conftest.er1
   1575     cat conftest.er1 >&5
   1576     mv -f conftest.er1 conftest.err
   1577   fi
   1578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1579   test $ac_status = 0; } && {
   1580 	 test -z "$ac_c_werror_flag" ||
   1581 	 test ! -s conftest.err
   1582        } && test -s conftest.$ac_objext; then :
   1583   ac_retval=0
   1584 else
   1585   $as_echo "$as_me: failed program was:" >&5
   1586 sed 's/^/| /' conftest.$ac_ext >&5
   1587 
   1588 	ac_retval=1
   1589 fi
   1590   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1591   as_fn_set_status $ac_retval
   1592 
   1593 } # ac_fn_c_try_compile
   1594 
   1595 # ac_fn_c_try_link LINENO
   1596 # -----------------------
   1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1598 ac_fn_c_try_link ()
   1599 {
   1600   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1601   rm -f conftest.$ac_objext conftest$ac_exeext
   1602   if { { ac_try="$ac_link"
   1603 case "(($ac_try" in
   1604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1605   *) ac_try_echo=$ac_try;;
   1606 esac
   1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1608 $as_echo "$ac_try_echo"; } >&5
   1609   (eval "$ac_link") 2>conftest.err
   1610   ac_status=$?
   1611   if test -s conftest.err; then
   1612     grep -v '^ *+' conftest.err >conftest.er1
   1613     cat conftest.er1 >&5
   1614     mv -f conftest.er1 conftest.err
   1615   fi
   1616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1617   test $ac_status = 0; } && {
   1618 	 test -z "$ac_c_werror_flag" ||
   1619 	 test ! -s conftest.err
   1620        } && test -s conftest$ac_exeext && {
   1621 	 test "$cross_compiling" = yes ||
   1622 	 test -x conftest$ac_exeext
   1623        }; then :
   1624   ac_retval=0
   1625 else
   1626   $as_echo "$as_me: failed program was:" >&5
   1627 sed 's/^/| /' conftest.$ac_ext >&5
   1628 
   1629 	ac_retval=1
   1630 fi
   1631   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1632   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1633   # interfere with the next link command; also delete a directory that is
   1634   # left behind by Apple's compiler.  We do this before executing the actions.
   1635   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_link
   1640 
   1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1642 # -------------------------------------------------------
   1643 # Tests whether HEADER exists and can be compiled using the include files in
   1644 # INCLUDES, setting the cache variable VAR accordingly.
   1645 ac_fn_c_check_header_compile ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1649 $as_echo_n "checking for $2... " >&6; }
   1650 if eval \${$3+:} false; then :
   1651   $as_echo_n "(cached) " >&6
   1652 else
   1653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1654 /* end confdefs.h.  */
   1655 $4
   1656 #include <$2>
   1657 _ACEOF
   1658 if ac_fn_c_try_compile "$LINENO"; then :
   1659   eval "$3=yes"
   1660 else
   1661   eval "$3=no"
   1662 fi
   1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1664 fi
   1665 eval ac_res=\$$3
   1666 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1667 $as_echo "$ac_res" >&6; }
   1668   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1669 
   1670 } # ac_fn_c_check_header_compile
   1671 
   1672 # ac_fn_c_try_cpp LINENO
   1673 # ----------------------
   1674 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1675 ac_fn_c_try_cpp ()
   1676 {
   1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1678   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1679 case "(($ac_try" in
   1680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1681   *) ac_try_echo=$ac_try;;
   1682 esac
   1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1684 $as_echo "$ac_try_echo"; } >&5
   1685   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1686   ac_status=$?
   1687   if test -s conftest.err; then
   1688     grep -v '^ *+' conftest.err >conftest.er1
   1689     cat conftest.er1 >&5
   1690     mv -f conftest.er1 conftest.err
   1691   fi
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; } > conftest.i && {
   1694 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1695 	 test ! -s conftest.err
   1696        }; then :
   1697   ac_retval=0
   1698 else
   1699   $as_echo "$as_me: failed program was:" >&5
   1700 sed 's/^/| /' conftest.$ac_ext >&5
   1701 
   1702     ac_retval=1
   1703 fi
   1704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1705   as_fn_set_status $ac_retval
   1706 
   1707 } # ac_fn_c_try_cpp
   1708 
   1709 # ac_fn_c_try_run LINENO
   1710 # ----------------------
   1711 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1712 # that executables *can* be run.
   1713 ac_fn_c_try_run ()
   1714 {
   1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1716   if { { ac_try="$ac_link"
   1717 case "(($ac_try" in
   1718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1719   *) ac_try_echo=$ac_try;;
   1720 esac
   1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1722 $as_echo "$ac_try_echo"; } >&5
   1723   (eval "$ac_link") 2>&5
   1724   ac_status=$?
   1725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1726   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1727   { { case "(($ac_try" in
   1728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1729   *) ac_try_echo=$ac_try;;
   1730 esac
   1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1732 $as_echo "$ac_try_echo"; } >&5
   1733   (eval "$ac_try") 2>&5
   1734   ac_status=$?
   1735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1736   test $ac_status = 0; }; }; then :
   1737   ac_retval=0
   1738 else
   1739   $as_echo "$as_me: program exited with status $ac_status" >&5
   1740        $as_echo "$as_me: failed program was:" >&5
   1741 sed 's/^/| /' conftest.$ac_ext >&5
   1742 
   1743        ac_retval=$ac_status
   1744 fi
   1745   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1746   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1747   as_fn_set_status $ac_retval
   1748 
   1749 } # ac_fn_c_try_run
   1750 
   1751 # ac_fn_c_check_func LINENO FUNC VAR
   1752 # ----------------------------------
   1753 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1754 ac_fn_c_check_func ()
   1755 {
   1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1758 $as_echo_n "checking for $2... " >&6; }
   1759 if eval \${$3+:} false; then :
   1760   $as_echo_n "(cached) " >&6
   1761 else
   1762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1763 /* end confdefs.h.  */
   1764 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1765    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1766 #define $2 innocuous_$2
   1767 
   1768 /* System header to define __stub macros and hopefully few prototypes,
   1769     which can conflict with char $2 (); below.
   1770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1771     <limits.h> exists even on freestanding compilers.  */
   1772 
   1773 #ifdef __STDC__
   1774 # include <limits.h>
   1775 #else
   1776 # include <assert.h>
   1777 #endif
   1778 
   1779 #undef $2
   1780 
   1781 /* Override any GCC internal prototype to avoid an error.
   1782    Use char because int might match the return type of a GCC
   1783    builtin and then its argument prototype would still apply.  */
   1784 #ifdef __cplusplus
   1785 extern "C"
   1786 #endif
   1787 char $2 ();
   1788 /* The GNU C library defines this for functions which it implements
   1789     to always fail with ENOSYS.  Some functions are actually named
   1790     something starting with __ and the normal name is an alias.  */
   1791 #if defined __stub_$2 || defined __stub___$2
   1792 choke me
   1793 #endif
   1794 
   1795 int
   1796 main ()
   1797 {
   1798 return $2 ();
   1799   ;
   1800   return 0;
   1801 }
   1802 _ACEOF
   1803 if ac_fn_c_try_link "$LINENO"; then :
   1804   eval "$3=yes"
   1805 else
   1806   eval "$3=no"
   1807 fi
   1808 rm -f core conftest.err conftest.$ac_objext \
   1809     conftest$ac_exeext conftest.$ac_ext
   1810 fi
   1811 eval ac_res=\$$3
   1812 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1813 $as_echo "$ac_res" >&6; }
   1814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1815 
   1816 } # ac_fn_c_check_func
   1817 
   1818 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1819 # ---------------------------------------------
   1820 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1821 # accordingly.
   1822 ac_fn_c_check_decl ()
   1823 {
   1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1825   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1826   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1828 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1829 if eval \${$3+:} false; then :
   1830   $as_echo_n "(cached) " >&6
   1831 else
   1832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1833 /* end confdefs.h.  */
   1834 $4
   1835 int
   1836 main ()
   1837 {
   1838 #ifndef $as_decl_name
   1839 #ifdef __cplusplus
   1840   (void) $as_decl_use;
   1841 #else
   1842   (void) $as_decl_name;
   1843 #endif
   1844 #endif
   1845 
   1846   ;
   1847   return 0;
   1848 }
   1849 _ACEOF
   1850 if ac_fn_c_try_compile "$LINENO"; then :
   1851   eval "$3=yes"
   1852 else
   1853   eval "$3=no"
   1854 fi
   1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1856 fi
   1857 eval ac_res=\$$3
   1858 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1859 $as_echo "$ac_res" >&6; }
   1860   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1861 
   1862 } # ac_fn_c_check_decl
   1863 cat >config.log <<_ACEOF
   1864 This file contains any messages produced by compilers while
   1865 running configure, to aid debugging if configure makes a mistake.
   1866 
   1867 It was created by libXvMC $as_me 1.0.9, which was
   1868 generated by GNU Autoconf 2.69.  Invocation command line was
   1869 
   1870   $ $0 $@
   1871 
   1872 _ACEOF
   1873 exec 5>>config.log
   1874 {
   1875 cat <<_ASUNAME
   1876 ## --------- ##
   1877 ## Platform. ##
   1878 ## --------- ##
   1879 
   1880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1885 
   1886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1887 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1888 
   1889 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1890 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1892 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1893 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1894 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1895 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1896 
   1897 _ASUNAME
   1898 
   1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1900 for as_dir in $PATH
   1901 do
   1902   IFS=$as_save_IFS
   1903   test -z "$as_dir" && as_dir=.
   1904     $as_echo "PATH: $as_dir"
   1905   done
   1906 IFS=$as_save_IFS
   1907 
   1908 } >&5
   1909 
   1910 cat >&5 <<_ACEOF
   1911 
   1912 
   1913 ## ----------- ##
   1914 ## Core tests. ##
   1915 ## ----------- ##
   1916 
   1917 _ACEOF
   1918 
   1919 
   1920 # Keep a trace of the command line.
   1921 # Strip out --no-create and --no-recursion so they do not pile up.
   1922 # Strip out --silent because we don't want to record it for future runs.
   1923 # Also quote any args containing shell meta-characters.
   1924 # Make two passes to allow for proper duplicate-argument suppression.
   1925 ac_configure_args=
   1926 ac_configure_args0=
   1927 ac_configure_args1=
   1928 ac_must_keep_next=false
   1929 for ac_pass in 1 2
   1930 do
   1931   for ac_arg
   1932   do
   1933     case $ac_arg in
   1934     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1935     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1936     | -silent | --silent | --silen | --sile | --sil)
   1937       continue ;;
   1938     *\'*)
   1939       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1940     esac
   1941     case $ac_pass in
   1942     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1943     2)
   1944       as_fn_append ac_configure_args1 " '$ac_arg'"
   1945       if test $ac_must_keep_next = true; then
   1946 	ac_must_keep_next=false # Got value, back to normal.
   1947       else
   1948 	case $ac_arg in
   1949 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1950 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1951 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1952 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1953 	    case "$ac_configure_args0 " in
   1954 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1955 	    esac
   1956 	    ;;
   1957 	  -* ) ac_must_keep_next=true ;;
   1958 	esac
   1959       fi
   1960       as_fn_append ac_configure_args " '$ac_arg'"
   1961       ;;
   1962     esac
   1963   done
   1964 done
   1965 { ac_configure_args0=; unset ac_configure_args0;}
   1966 { ac_configure_args1=; unset ac_configure_args1;}
   1967 
   1968 # When interrupted or exit'd, cleanup temporary files, and complete
   1969 # config.log.  We remove comments because anyway the quotes in there
   1970 # would cause problems or look ugly.
   1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1973 trap 'exit_status=$?
   1974   # Save into config.log some information that might help in debugging.
   1975   {
   1976     echo
   1977 
   1978     $as_echo "## ---------------- ##
   1979 ## Cache variables. ##
   1980 ## ---------------- ##"
   1981     echo
   1982     # The following way of writing the cache mishandles newlines in values,
   1983 (
   1984   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1985     eval ac_val=\$$ac_var
   1986     case $ac_val in #(
   1987     *${as_nl}*)
   1988       case $ac_var in #(
   1989       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1991       esac
   1992       case $ac_var in #(
   1993       _ | IFS | as_nl) ;; #(
   1994       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1995       *) { eval $ac_var=; unset $ac_var;} ;;
   1996       esac ;;
   1997     esac
   1998   done
   1999   (set) 2>&1 |
   2000     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2001     *${as_nl}ac_space=\ *)
   2002       sed -n \
   2003 	"s/'\''/'\''\\\\'\'''\''/g;
   2004 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2005       ;; #(
   2006     *)
   2007       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2008       ;;
   2009     esac |
   2010     sort
   2011 )
   2012     echo
   2013 
   2014     $as_echo "## ----------------- ##
   2015 ## Output variables. ##
   2016 ## ----------------- ##"
   2017     echo
   2018     for ac_var in $ac_subst_vars
   2019     do
   2020       eval ac_val=\$$ac_var
   2021       case $ac_val in
   2022       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2023       esac
   2024       $as_echo "$ac_var='\''$ac_val'\''"
   2025     done | sort
   2026     echo
   2027 
   2028     if test -n "$ac_subst_files"; then
   2029       $as_echo "## ------------------- ##
   2030 ## File substitutions. ##
   2031 ## ------------------- ##"
   2032       echo
   2033       for ac_var in $ac_subst_files
   2034       do
   2035 	eval ac_val=\$$ac_var
   2036 	case $ac_val in
   2037 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2038 	esac
   2039 	$as_echo "$ac_var='\''$ac_val'\''"
   2040       done | sort
   2041       echo
   2042     fi
   2043 
   2044     if test -s confdefs.h; then
   2045       $as_echo "## ----------- ##
   2046 ## confdefs.h. ##
   2047 ## ----------- ##"
   2048       echo
   2049       cat confdefs.h
   2050       echo
   2051     fi
   2052     test "$ac_signal" != 0 &&
   2053       $as_echo "$as_me: caught signal $ac_signal"
   2054     $as_echo "$as_me: exit $exit_status"
   2055   } >&5
   2056   rm -f core *.core core.conftest.* &&
   2057     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2058     exit $exit_status
   2059 ' 0
   2060 for ac_signal in 1 2 13 15; do
   2061   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2062 done
   2063 ac_signal=0
   2064 
   2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2066 rm -f -r conftest* confdefs.h
   2067 
   2068 $as_echo "/* confdefs.h */" > confdefs.h
   2069 
   2070 # Predefined preprocessor variables.
   2071 
   2072 cat >>confdefs.h <<_ACEOF
   2073 #define PACKAGE_NAME "$PACKAGE_NAME"
   2074 _ACEOF
   2075 
   2076 cat >>confdefs.h <<_ACEOF
   2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2078 _ACEOF
   2079 
   2080 cat >>confdefs.h <<_ACEOF
   2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2082 _ACEOF
   2083 
   2084 cat >>confdefs.h <<_ACEOF
   2085 #define PACKAGE_STRING "$PACKAGE_STRING"
   2086 _ACEOF
   2087 
   2088 cat >>confdefs.h <<_ACEOF
   2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2090 _ACEOF
   2091 
   2092 cat >>confdefs.h <<_ACEOF
   2093 #define PACKAGE_URL "$PACKAGE_URL"
   2094 _ACEOF
   2095 
   2096 
   2097 # Let the site file select an alternate cache file if it wants to.
   2098 # Prefer an explicitly selected file to automatically selected ones.
   2099 ac_site_file1=NONE
   2100 ac_site_file2=NONE
   2101 if test -n "$CONFIG_SITE"; then
   2102   # We do not want a PATH search for config.site.
   2103   case $CONFIG_SITE in #((
   2104     -*)  ac_site_file1=./$CONFIG_SITE;;
   2105     */*) ac_site_file1=$CONFIG_SITE;;
   2106     *)   ac_site_file1=./$CONFIG_SITE;;
   2107   esac
   2108 elif test "x$prefix" != xNONE; then
   2109   ac_site_file1=$prefix/share/config.site
   2110   ac_site_file2=$prefix/etc/config.site
   2111 else
   2112   ac_site_file1=$ac_default_prefix/share/config.site
   2113   ac_site_file2=$ac_default_prefix/etc/config.site
   2114 fi
   2115 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2116 do
   2117   test "x$ac_site_file" = xNONE && continue
   2118   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2119     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2121     sed 's/^/| /' "$ac_site_file" >&5
   2122     . "$ac_site_file" \
   2123       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2125 as_fn_error $? "failed to load site script $ac_site_file
   2126 See \`config.log' for more details" "$LINENO" 5; }
   2127   fi
   2128 done
   2129 
   2130 if test -r "$cache_file"; then
   2131   # Some versions of bash will fail to source /dev/null (special files
   2132   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2133   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2134     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2135 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2136     case $cache_file in
   2137       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2138       *)                      . "./$cache_file";;
   2139     esac
   2140   fi
   2141 else
   2142   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2143 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2144   >$cache_file
   2145 fi
   2146 
   2147 # Check that the precious variables saved in the cache have kept the same
   2148 # value.
   2149 ac_cache_corrupted=false
   2150 for ac_var in $ac_precious_vars; do
   2151   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2152   eval ac_new_set=\$ac_env_${ac_var}_set
   2153   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2154   eval ac_new_val=\$ac_env_${ac_var}_value
   2155   case $ac_old_set,$ac_new_set in
   2156     set,)
   2157       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2158 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2159       ac_cache_corrupted=: ;;
   2160     ,set)
   2161       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2162 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2163       ac_cache_corrupted=: ;;
   2164     ,);;
   2165     *)
   2166       if test "x$ac_old_val" != "x$ac_new_val"; then
   2167 	# differences in whitespace do not lead to failure.
   2168 	ac_old_val_w=`echo x $ac_old_val`
   2169 	ac_new_val_w=`echo x $ac_new_val`
   2170 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2171 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2172 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2173 	  ac_cache_corrupted=:
   2174 	else
   2175 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2176 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2177 	  eval $ac_var=\$ac_old_val
   2178 	fi
   2179 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2180 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2181 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2182 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2183       fi;;
   2184   esac
   2185   # Pass precious variables to config.status.
   2186   if test "$ac_new_set" = set; then
   2187     case $ac_new_val in
   2188     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2189     *) ac_arg=$ac_var=$ac_new_val ;;
   2190     esac
   2191     case " $ac_configure_args " in
   2192       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2193       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2194     esac
   2195   fi
   2196 done
   2197 if $ac_cache_corrupted; then
   2198   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2200   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2201 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2202   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2203 fi
   2204 ## -------------------- ##
   2205 ## Main body of script. ##
   2206 ## -------------------- ##
   2207 
   2208 ac_ext=c
   2209 ac_cpp='$CPP $CPPFLAGS'
   2210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2213 
   2214 
   2215 
   2216 ac_config_headers="$ac_config_headers config.h"
   2217 
   2218 
   2219 # Initialize Automake
   2220 am__api_version='1.15'
   2221 
   2222 ac_aux_dir=
   2223 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2224   if test -f "$ac_dir/install-sh"; then
   2225     ac_aux_dir=$ac_dir
   2226     ac_install_sh="$ac_aux_dir/install-sh -c"
   2227     break
   2228   elif test -f "$ac_dir/install.sh"; then
   2229     ac_aux_dir=$ac_dir
   2230     ac_install_sh="$ac_aux_dir/install.sh -c"
   2231     break
   2232   elif test -f "$ac_dir/shtool"; then
   2233     ac_aux_dir=$ac_dir
   2234     ac_install_sh="$ac_aux_dir/shtool install -c"
   2235     break
   2236   fi
   2237 done
   2238 if test -z "$ac_aux_dir"; then
   2239   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2240 fi
   2241 
   2242 # These three variables are undocumented and unsupported,
   2243 # and are intended to be withdrawn in a future Autoconf release.
   2244 # They can cause serious problems if a builder's source tree is in a directory
   2245 # whose full name contains unusual characters.
   2246 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2247 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2248 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2249 
   2250 
   2251 # Find a good install program.  We prefer a C program (faster),
   2252 # so one script is as good as another.  But avoid the broken or
   2253 # incompatible versions:
   2254 # SysV /etc/install, /usr/sbin/install
   2255 # SunOS /usr/etc/install
   2256 # IRIX /sbin/install
   2257 # AIX /bin/install
   2258 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2262 # OS/2's system install, which has a completely different semantic
   2263 # ./install, which can be erroneously created by make from ./install.sh.
   2264 # Reject install programs that cannot install multiple files.
   2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2266 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2267 if test -z "$INSTALL"; then
   2268 if ${ac_cv_path_install+:} false; then :
   2269   $as_echo_n "(cached) " >&6
   2270 else
   2271   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2272 for as_dir in $PATH
   2273 do
   2274   IFS=$as_save_IFS
   2275   test -z "$as_dir" && as_dir=.
   2276     # Account for people who put trailing slashes in PATH elements.
   2277 case $as_dir/ in #((
   2278   ./ | .// | /[cC]/* | \
   2279   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2280   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2281   /usr/ucb/* ) ;;
   2282   *)
   2283     # OSF1 and SCO ODT 3.0 have their own names for install.
   2284     # Don't use installbsd from OSF since it installs stuff as root
   2285     # by default.
   2286     for ac_prog in ginstall scoinst install; do
   2287       for ac_exec_ext in '' $ac_executable_extensions; do
   2288 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2289 	  if test $ac_prog = install &&
   2290 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2291 	    # AIX install.  It has an incompatible calling convention.
   2292 	    :
   2293 	  elif test $ac_prog = install &&
   2294 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2295 	    # program-specific install script used by HP pwplus--don't use.
   2296 	    :
   2297 	  else
   2298 	    rm -rf conftest.one conftest.two conftest.dir
   2299 	    echo one > conftest.one
   2300 	    echo two > conftest.two
   2301 	    mkdir conftest.dir
   2302 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2303 	      test -s conftest.one && test -s conftest.two &&
   2304 	      test -s conftest.dir/conftest.one &&
   2305 	      test -s conftest.dir/conftest.two
   2306 	    then
   2307 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2308 	      break 3
   2309 	    fi
   2310 	  fi
   2311 	fi
   2312       done
   2313     done
   2314     ;;
   2315 esac
   2316 
   2317   done
   2318 IFS=$as_save_IFS
   2319 
   2320 rm -rf conftest.one conftest.two conftest.dir
   2321 
   2322 fi
   2323   if test "${ac_cv_path_install+set}" = set; then
   2324     INSTALL=$ac_cv_path_install
   2325   else
   2326     # As a last resort, use the slow shell script.  Don't cache a
   2327     # value for INSTALL within a source directory, because that will
   2328     # break other packages using the cache if that directory is
   2329     # removed, or if the value is a relative name.
   2330     INSTALL=$ac_install_sh
   2331   fi
   2332 fi
   2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2334 $as_echo "$INSTALL" >&6; }
   2335 
   2336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2337 # It thinks the first close brace ends the variable substitution.
   2338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2339 
   2340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2341 
   2342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2343 
   2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2345 $as_echo_n "checking whether build environment is sane... " >&6; }
   2346 # Reject unsafe characters in $srcdir or the absolute working directory
   2347 # name.  Accept space and tab only in the latter.
   2348 am_lf='
   2349 '
   2350 case `pwd` in
   2351   *[\\\"\#\$\&\'\`$am_lf]*)
   2352     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2353 esac
   2354 case $srcdir in
   2355   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2356     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2357 esac
   2358 
   2359 # Do 'set' in a subshell so we don't clobber the current shell's
   2360 # arguments.  Must try -L first in case configure is actually a
   2361 # symlink; some systems play weird games with the mod time of symlinks
   2362 # (eg FreeBSD returns the mod time of the symlink's containing
   2363 # directory).
   2364 if (
   2365    am_has_slept=no
   2366    for am_try in 1 2; do
   2367      echo "timestamp, slept: $am_has_slept" > conftest.file
   2368      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2369      if test "$*" = "X"; then
   2370 	# -L didn't work.
   2371 	set X `ls -t "$srcdir/configure" conftest.file`
   2372      fi
   2373      if test "$*" != "X $srcdir/configure conftest.file" \
   2374 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2375 
   2376 	# If neither matched, then we have a broken ls.  This can happen
   2377 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2378 	# broken ls alias from the environment.  This has actually
   2379 	# happened.  Such a system could not be considered "sane".
   2380 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2381   alias in your environment" "$LINENO" 5
   2382      fi
   2383      if test "$2" = conftest.file || test $am_try -eq 2; then
   2384        break
   2385      fi
   2386      # Just in case.
   2387      sleep 1
   2388      am_has_slept=yes
   2389    done
   2390    test "$2" = conftest.file
   2391    )
   2392 then
   2393    # Ok.
   2394    :
   2395 else
   2396    as_fn_error $? "newly created file is older than distributed files!
   2397 Check your system clock" "$LINENO" 5
   2398 fi
   2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2400 $as_echo "yes" >&6; }
   2401 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2402 # generated files are strictly newer.
   2403 am_sleep_pid=
   2404 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2405   ( sleep 1 ) &
   2406   am_sleep_pid=$!
   2407 fi
   2408 
   2409 rm -f conftest.file
   2410 
   2411 test "$program_prefix" != NONE &&
   2412   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2413 # Use a double $ so make ignores it.
   2414 test "$program_suffix" != NONE &&
   2415   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2416 # Double any \ or $.
   2417 # By default was `s,x,x', remove it if useless.
   2418 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2419 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2420 
   2421 # Expand $ac_aux_dir to an absolute path.
   2422 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2423 
   2424 if test x"${MISSING+set}" != xset; then
   2425   case $am_aux_dir in
   2426   *\ * | *\	*)
   2427     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2428   *)
   2429     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2430   esac
   2431 fi
   2432 # Use eval to expand $SHELL
   2433 if eval "$MISSING --is-lightweight"; then
   2434   am_missing_run="$MISSING "
   2435 else
   2436   am_missing_run=
   2437   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2438 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2439 fi
   2440 
   2441 if test x"${install_sh+set}" != xset; then
   2442   case $am_aux_dir in
   2443   *\ * | *\	*)
   2444     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2445   *)
   2446     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2447   esac
   2448 fi
   2449 
   2450 # Installed binaries are usually stripped using 'strip' when the user
   2451 # run "make install-strip".  However 'strip' might not be the right
   2452 # tool to use in cross-compilation environments, therefore Automake
   2453 # will honor the 'STRIP' environment variable to overrule this program.
   2454 if test "$cross_compiling" != no; then
   2455   if test -n "$ac_tool_prefix"; then
   2456   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2457 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2459 $as_echo_n "checking for $ac_word... " >&6; }
   2460 if ${ac_cv_prog_STRIP+:} false; then :
   2461   $as_echo_n "(cached) " >&6
   2462 else
   2463   if test -n "$STRIP"; then
   2464   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2465 else
   2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2467 for as_dir in $PATH
   2468 do
   2469   IFS=$as_save_IFS
   2470   test -z "$as_dir" && as_dir=.
   2471     for ac_exec_ext in '' $ac_executable_extensions; do
   2472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2473     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2475     break 2
   2476   fi
   2477 done
   2478   done
   2479 IFS=$as_save_IFS
   2480 
   2481 fi
   2482 fi
   2483 STRIP=$ac_cv_prog_STRIP
   2484 if test -n "$STRIP"; then
   2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2486 $as_echo "$STRIP" >&6; }
   2487 else
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2489 $as_echo "no" >&6; }
   2490 fi
   2491 
   2492 
   2493 fi
   2494 if test -z "$ac_cv_prog_STRIP"; then
   2495   ac_ct_STRIP=$STRIP
   2496   # Extract the first word of "strip", so it can be a program name with args.
   2497 set dummy strip; ac_word=$2
   2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2499 $as_echo_n "checking for $ac_word... " >&6; }
   2500 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2501   $as_echo_n "(cached) " >&6
   2502 else
   2503   if test -n "$ac_ct_STRIP"; then
   2504   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2505 else
   2506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2507 for as_dir in $PATH
   2508 do
   2509   IFS=$as_save_IFS
   2510   test -z "$as_dir" && as_dir=.
   2511     for ac_exec_ext in '' $ac_executable_extensions; do
   2512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2513     ac_cv_prog_ac_ct_STRIP="strip"
   2514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2515     break 2
   2516   fi
   2517 done
   2518   done
   2519 IFS=$as_save_IFS
   2520 
   2521 fi
   2522 fi
   2523 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2524 if test -n "$ac_ct_STRIP"; then
   2525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2526 $as_echo "$ac_ct_STRIP" >&6; }
   2527 else
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2529 $as_echo "no" >&6; }
   2530 fi
   2531 
   2532   if test "x$ac_ct_STRIP" = x; then
   2533     STRIP=":"
   2534   else
   2535     case $cross_compiling:$ac_tool_warned in
   2536 yes:)
   2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2539 ac_tool_warned=yes ;;
   2540 esac
   2541     STRIP=$ac_ct_STRIP
   2542   fi
   2543 else
   2544   STRIP="$ac_cv_prog_STRIP"
   2545 fi
   2546 
   2547 fi
   2548 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2549 
   2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2551 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2552 if test -z "$MKDIR_P"; then
   2553   if ${ac_cv_path_mkdir+:} false; then :
   2554   $as_echo_n "(cached) " >&6
   2555 else
   2556   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2557 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2558 do
   2559   IFS=$as_save_IFS
   2560   test -z "$as_dir" && as_dir=.
   2561     for ac_prog in mkdir gmkdir; do
   2562 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2563 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2564 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2565 	     'mkdir (GNU coreutils) '* | \
   2566 	     'mkdir (coreutils) '* | \
   2567 	     'mkdir (fileutils) '4.1*)
   2568 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2569 	       break 3;;
   2570 	   esac
   2571 	 done
   2572        done
   2573   done
   2574 IFS=$as_save_IFS
   2575 
   2576 fi
   2577 
   2578   test -d ./--version && rmdir ./--version
   2579   if test "${ac_cv_path_mkdir+set}" = set; then
   2580     MKDIR_P="$ac_cv_path_mkdir -p"
   2581   else
   2582     # As a last resort, use the slow shell script.  Don't cache a
   2583     # value for MKDIR_P within a source directory, because that will
   2584     # break other packages using the cache if that directory is
   2585     # removed, or if the value is a relative name.
   2586     MKDIR_P="$ac_install_sh -d"
   2587   fi
   2588 fi
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2590 $as_echo "$MKDIR_P" >&6; }
   2591 
   2592 for ac_prog in gawk mawk nawk awk
   2593 do
   2594   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2595 set dummy $ac_prog; ac_word=$2
   2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2597 $as_echo_n "checking for $ac_word... " >&6; }
   2598 if ${ac_cv_prog_AWK+:} false; then :
   2599   $as_echo_n "(cached) " >&6
   2600 else
   2601   if test -n "$AWK"; then
   2602   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2603 else
   2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2605 for as_dir in $PATH
   2606 do
   2607   IFS=$as_save_IFS
   2608   test -z "$as_dir" && as_dir=.
   2609     for ac_exec_ext in '' $ac_executable_extensions; do
   2610   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2611     ac_cv_prog_AWK="$ac_prog"
   2612     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2613     break 2
   2614   fi
   2615 done
   2616   done
   2617 IFS=$as_save_IFS
   2618 
   2619 fi
   2620 fi
   2621 AWK=$ac_cv_prog_AWK
   2622 if test -n "$AWK"; then
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2624 $as_echo "$AWK" >&6; }
   2625 else
   2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2627 $as_echo "no" >&6; }
   2628 fi
   2629 
   2630 
   2631   test -n "$AWK" && break
   2632 done
   2633 
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2635 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2636 set x ${MAKE-make}
   2637 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2638 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2639   $as_echo_n "(cached) " >&6
   2640 else
   2641   cat >conftest.make <<\_ACEOF
   2642 SHELL = /bin/sh
   2643 all:
   2644 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2645 _ACEOF
   2646 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2647 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2648   *@@@%%%=?*=@@@%%%*)
   2649     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2650   *)
   2651     eval ac_cv_prog_make_${ac_make}_set=no;;
   2652 esac
   2653 rm -f conftest.make
   2654 fi
   2655 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2657 $as_echo "yes" >&6; }
   2658   SET_MAKE=
   2659 else
   2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2661 $as_echo "no" >&6; }
   2662   SET_MAKE="MAKE=${MAKE-make}"
   2663 fi
   2664 
   2665 rm -rf .tst 2>/dev/null
   2666 mkdir .tst 2>/dev/null
   2667 if test -d .tst; then
   2668   am__leading_dot=.
   2669 else
   2670   am__leading_dot=_
   2671 fi
   2672 rmdir .tst 2>/dev/null
   2673 
   2674 # Check whether --enable-silent-rules was given.
   2675 if test "${enable_silent_rules+set}" = set; then :
   2676   enableval=$enable_silent_rules;
   2677 fi
   2678 
   2679 case $enable_silent_rules in # (((
   2680   yes) AM_DEFAULT_VERBOSITY=0;;
   2681    no) AM_DEFAULT_VERBOSITY=1;;
   2682     *) AM_DEFAULT_VERBOSITY=1;;
   2683 esac
   2684 am_make=${MAKE-make}
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2686 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2687 if ${am_cv_make_support_nested_variables+:} false; then :
   2688   $as_echo_n "(cached) " >&6
   2689 else
   2690   if $as_echo 'TRUE=$(BAR$(V))
   2691 BAR0=false
   2692 BAR1=true
   2693 V=1
   2694 am__doit:
   2695 	@$(TRUE)
   2696 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2697   am_cv_make_support_nested_variables=yes
   2698 else
   2699   am_cv_make_support_nested_variables=no
   2700 fi
   2701 fi
   2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2703 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2704 if test $am_cv_make_support_nested_variables = yes; then
   2705     AM_V='$(V)'
   2706   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2707 else
   2708   AM_V=$AM_DEFAULT_VERBOSITY
   2709   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2710 fi
   2711 AM_BACKSLASH='\'
   2712 
   2713 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2714   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2715   # is not polluted with repeated "-I."
   2716   am__isrc=' -I$(srcdir)'
   2717   # test to see if srcdir already configured
   2718   if test -f $srcdir/config.status; then
   2719     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2720   fi
   2721 fi
   2722 
   2723 # test whether we have cygpath
   2724 if test -z "$CYGPATH_W"; then
   2725   if (cygpath --version) >/dev/null 2>/dev/null; then
   2726     CYGPATH_W='cygpath -w'
   2727   else
   2728     CYGPATH_W=echo
   2729   fi
   2730 fi
   2731 
   2732 
   2733 # Define the identity of the package.
   2734  PACKAGE='libXvMC'
   2735  VERSION='1.0.9'
   2736 
   2737 
   2738 cat >>confdefs.h <<_ACEOF
   2739 #define PACKAGE "$PACKAGE"
   2740 _ACEOF
   2741 
   2742 
   2743 cat >>confdefs.h <<_ACEOF
   2744 #define VERSION "$VERSION"
   2745 _ACEOF
   2746 
   2747 # Some tools Automake needs.
   2748 
   2749 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2750 
   2751 
   2752 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2753 
   2754 
   2755 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2756 
   2757 
   2758 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2759 
   2760 
   2761 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2762 
   2763 # For better backward compatibility.  To be removed once Automake 1.9.x
   2764 # dies out for good.  For more background, see:
   2765 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2766 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2767 mkdir_p='$(MKDIR_P)'
   2768 
   2769 # We need awk for the "check" target (and possibly the TAP driver).  The
   2770 # system "awk" is bad on some platforms.
   2771 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2772 # in the wild :-(  We should find a proper way to deprecate it ...
   2773 AMTAR='$${TAR-tar}'
   2774 
   2775 
   2776 # We'll loop over all known methods to create a tar archive until one works.
   2777 _am_tools='gnutar  pax cpio none'
   2778 
   2779 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2780 
   2781 
   2782 
   2783 
   2784 
   2785 
   2786 # POSIX will say in a future version that running "rm -f" with no argument
   2787 # is OK; and we want to be able to make that assumption in our Makefile
   2788 # recipes.  So use an aggressive probe to check that the usage we want is
   2789 # actually supported "in the wild" to an acceptable degree.
   2790 # See automake bug#10828.
   2791 # To make any issue more visible, cause the running configure to be aborted
   2792 # by default if the 'rm' program in use doesn't match our expectations; the
   2793 # user can still override this though.
   2794 if rm -f && rm -fr && rm -rf; then : OK; else
   2795   cat >&2 <<'END'
   2796 Oops!
   2797 
   2798 Your 'rm' program seems unable to run without file operands specified
   2799 on the command line, even when the '-f' option is present.  This is contrary
   2800 to the behaviour of most rm programs out there, and not conforming with
   2801 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2802 
   2803 Please tell bug-automake@gnu.org about your system, including the value
   2804 of your $PATH and any error possibly output before this message.  This
   2805 can help us improve future automake versions.
   2806 
   2807 END
   2808   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2809     echo 'Configuration will proceed anyway, since you have set the' >&2
   2810     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2811     echo >&2
   2812   else
   2813     cat >&2 <<'END'
   2814 Aborting the configuration process, to ensure you take notice of the issue.
   2815 
   2816 You can download and install GNU coreutils to get an 'rm' implementation
   2817 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2818 
   2819 If you want to complete the configuration process using your problematic
   2820 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2821 to "yes", and re-run configure.
   2822 
   2823 END
   2824     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2825   fi
   2826 fi
   2827 
   2828 
   2829 # Initialize libtool
   2830 case `pwd` in
   2831   *\ * | *\	*)
   2832     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2833 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2834 esac
   2835 
   2836 
   2837 
   2838 macro_version='2.4.2'
   2839 macro_revision='1.3337'
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 
   2846 
   2847 
   2848 
   2849 
   2850 
   2851 
   2852 
   2853 ltmain="$ac_aux_dir/ltmain.sh"
   2854 
   2855 # Make sure we can run config.sub.
   2856 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2857   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2858 
   2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2860 $as_echo_n "checking build system type... " >&6; }
   2861 if ${ac_cv_build+:} false; then :
   2862   $as_echo_n "(cached) " >&6
   2863 else
   2864   ac_build_alias=$build_alias
   2865 test "x$ac_build_alias" = x &&
   2866   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2867 test "x$ac_build_alias" = x &&
   2868   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2869 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2870   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2871 
   2872 fi
   2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2874 $as_echo "$ac_cv_build" >&6; }
   2875 case $ac_cv_build in
   2876 *-*-*) ;;
   2877 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2878 esac
   2879 build=$ac_cv_build
   2880 ac_save_IFS=$IFS; IFS='-'
   2881 set x $ac_cv_build
   2882 shift
   2883 build_cpu=$1
   2884 build_vendor=$2
   2885 shift; shift
   2886 # Remember, the first character of IFS is used to create $*,
   2887 # except with old shells:
   2888 build_os=$*
   2889 IFS=$ac_save_IFS
   2890 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2891 
   2892 
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2894 $as_echo_n "checking host system type... " >&6; }
   2895 if ${ac_cv_host+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test "x$host_alias" = x; then
   2899   ac_cv_host=$ac_cv_build
   2900 else
   2901   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2902     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2903 fi
   2904 
   2905 fi
   2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2907 $as_echo "$ac_cv_host" >&6; }
   2908 case $ac_cv_host in
   2909 *-*-*) ;;
   2910 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2911 esac
   2912 host=$ac_cv_host
   2913 ac_save_IFS=$IFS; IFS='-'
   2914 set x $ac_cv_host
   2915 shift
   2916 host_cpu=$1
   2917 host_vendor=$2
   2918 shift; shift
   2919 # Remember, the first character of IFS is used to create $*,
   2920 # except with old shells:
   2921 host_os=$*
   2922 IFS=$ac_save_IFS
   2923 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2924 
   2925 
   2926 # Backslashify metacharacters that are still active within
   2927 # double-quoted strings.
   2928 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2929 
   2930 # Same as above, but do not quote variable references.
   2931 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2932 
   2933 # Sed substitution to delay expansion of an escaped shell variable in a
   2934 # double_quote_subst'ed string.
   2935 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2936 
   2937 # Sed substitution to delay expansion of an escaped single quote.
   2938 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2939 
   2940 # Sed substitution to avoid accidental globbing in evaled expressions
   2941 no_glob_subst='s/\*/\\\*/g'
   2942 
   2943 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2944 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2945 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2946 
   2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2948 $as_echo_n "checking how to print strings... " >&6; }
   2949 # Test print first, because it will be a builtin if present.
   2950 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2951    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2952   ECHO='print -r --'
   2953 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2954   ECHO='printf %s\n'
   2955 else
   2956   # Use this function as a fallback that always works.
   2957   func_fallback_echo ()
   2958   {
   2959     eval 'cat <<_LTECHO_EOF
   2960 $1
   2961 _LTECHO_EOF'
   2962   }
   2963   ECHO='func_fallback_echo'
   2964 fi
   2965 
   2966 # func_echo_all arg...
   2967 # Invoke $ECHO with all args, space-separated.
   2968 func_echo_all ()
   2969 {
   2970     $ECHO ""
   2971 }
   2972 
   2973 case "$ECHO" in
   2974   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2975 $as_echo "printf" >&6; } ;;
   2976   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2977 $as_echo "print -r" >&6; } ;;
   2978   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2979 $as_echo "cat" >&6; } ;;
   2980 esac
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 
   2988 
   2989 
   2990 
   2991 
   2992 
   2993 
   2994 
   2995 DEPDIR="${am__leading_dot}deps"
   2996 
   2997 ac_config_commands="$ac_config_commands depfiles"
   2998 
   2999 
   3000 am_make=${MAKE-make}
   3001 cat > confinc << 'END'
   3002 am__doit:
   3003 	@echo this is the am__doit target
   3004 .PHONY: am__doit
   3005 END
   3006 # If we don't find an include directive, just comment out the code.
   3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3008 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3009 am__include="#"
   3010 am__quote=
   3011 _am_result=none
   3012 # First try GNU make style include.
   3013 echo "include confinc" > confmf
   3014 # Ignore all kinds of additional output from 'make'.
   3015 case `$am_make -s -f confmf 2> /dev/null` in #(
   3016 *the\ am__doit\ target*)
   3017   am__include=include
   3018   am__quote=
   3019   _am_result=GNU
   3020   ;;
   3021 esac
   3022 # Now try BSD make style include.
   3023 if test "$am__include" = "#"; then
   3024    echo '.include "confinc"' > confmf
   3025    case `$am_make -s -f confmf 2> /dev/null` in #(
   3026    *the\ am__doit\ target*)
   3027      am__include=.include
   3028      am__quote="\""
   3029      _am_result=BSD
   3030      ;;
   3031    esac
   3032 fi
   3033 
   3034 
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3036 $as_echo "$_am_result" >&6; }
   3037 rm -f confinc confmf
   3038 
   3039 # Check whether --enable-dependency-tracking was given.
   3040 if test "${enable_dependency_tracking+set}" = set; then :
   3041   enableval=$enable_dependency_tracking;
   3042 fi
   3043 
   3044 if test "x$enable_dependency_tracking" != xno; then
   3045   am_depcomp="$ac_aux_dir/depcomp"
   3046   AMDEPBACKSLASH='\'
   3047   am__nodep='_no'
   3048 fi
   3049  if test "x$enable_dependency_tracking" != xno; then
   3050   AMDEP_TRUE=
   3051   AMDEP_FALSE='#'
   3052 else
   3053   AMDEP_TRUE='#'
   3054   AMDEP_FALSE=
   3055 fi
   3056 
   3057 
   3058 ac_ext=c
   3059 ac_cpp='$CPP $CPPFLAGS'
   3060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3063 if test -n "$ac_tool_prefix"; then
   3064   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3065 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3067 $as_echo_n "checking for $ac_word... " >&6; }
   3068 if ${ac_cv_prog_CC+:} false; then :
   3069   $as_echo_n "(cached) " >&6
   3070 else
   3071   if test -n "$CC"; then
   3072   ac_cv_prog_CC="$CC" # Let the user override the test.
   3073 else
   3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3075 for as_dir in $PATH
   3076 do
   3077   IFS=$as_save_IFS
   3078   test -z "$as_dir" && as_dir=.
   3079     for ac_exec_ext in '' $ac_executable_extensions; do
   3080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3081     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3083     break 2
   3084   fi
   3085 done
   3086   done
   3087 IFS=$as_save_IFS
   3088 
   3089 fi
   3090 fi
   3091 CC=$ac_cv_prog_CC
   3092 if test -n "$CC"; then
   3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3094 $as_echo "$CC" >&6; }
   3095 else
   3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3097 $as_echo "no" >&6; }
   3098 fi
   3099 
   3100 
   3101 fi
   3102 if test -z "$ac_cv_prog_CC"; then
   3103   ac_ct_CC=$CC
   3104   # Extract the first word of "gcc", so it can be a program name with args.
   3105 set dummy gcc; ac_word=$2
   3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3107 $as_echo_n "checking for $ac_word... " >&6; }
   3108 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3109   $as_echo_n "(cached) " >&6
   3110 else
   3111   if test -n "$ac_ct_CC"; then
   3112   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3113 else
   3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3115 for as_dir in $PATH
   3116 do
   3117   IFS=$as_save_IFS
   3118   test -z "$as_dir" && as_dir=.
   3119     for ac_exec_ext in '' $ac_executable_extensions; do
   3120   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3121     ac_cv_prog_ac_ct_CC="gcc"
   3122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3123     break 2
   3124   fi
   3125 done
   3126   done
   3127 IFS=$as_save_IFS
   3128 
   3129 fi
   3130 fi
   3131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3132 if test -n "$ac_ct_CC"; then
   3133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3134 $as_echo "$ac_ct_CC" >&6; }
   3135 else
   3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3137 $as_echo "no" >&6; }
   3138 fi
   3139 
   3140   if test "x$ac_ct_CC" = x; then
   3141     CC=""
   3142   else
   3143     case $cross_compiling:$ac_tool_warned in
   3144 yes:)
   3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3147 ac_tool_warned=yes ;;
   3148 esac
   3149     CC=$ac_ct_CC
   3150   fi
   3151 else
   3152   CC="$ac_cv_prog_CC"
   3153 fi
   3154 
   3155 if test -z "$CC"; then
   3156           if test -n "$ac_tool_prefix"; then
   3157     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3158 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3160 $as_echo_n "checking for $ac_word... " >&6; }
   3161 if ${ac_cv_prog_CC+:} false; then :
   3162   $as_echo_n "(cached) " >&6
   3163 else
   3164   if test -n "$CC"; then
   3165   ac_cv_prog_CC="$CC" # Let the user override the test.
   3166 else
   3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3168 for as_dir in $PATH
   3169 do
   3170   IFS=$as_save_IFS
   3171   test -z "$as_dir" && as_dir=.
   3172     for ac_exec_ext in '' $ac_executable_extensions; do
   3173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3174     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3176     break 2
   3177   fi
   3178 done
   3179   done
   3180 IFS=$as_save_IFS
   3181 
   3182 fi
   3183 fi
   3184 CC=$ac_cv_prog_CC
   3185 if test -n "$CC"; then
   3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3187 $as_echo "$CC" >&6; }
   3188 else
   3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3190 $as_echo "no" >&6; }
   3191 fi
   3192 
   3193 
   3194   fi
   3195 fi
   3196 if test -z "$CC"; then
   3197   # Extract the first word of "cc", so it can be a program name with args.
   3198 set dummy cc; ac_word=$2
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3200 $as_echo_n "checking for $ac_word... " >&6; }
   3201 if ${ac_cv_prog_CC+:} false; then :
   3202   $as_echo_n "(cached) " >&6
   3203 else
   3204   if test -n "$CC"; then
   3205   ac_cv_prog_CC="$CC" # Let the user override the test.
   3206 else
   3207   ac_prog_rejected=no
   3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3209 for as_dir in $PATH
   3210 do
   3211   IFS=$as_save_IFS
   3212   test -z "$as_dir" && as_dir=.
   3213     for ac_exec_ext in '' $ac_executable_extensions; do
   3214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3215     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3216        ac_prog_rejected=yes
   3217        continue
   3218      fi
   3219     ac_cv_prog_CC="cc"
   3220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3221     break 2
   3222   fi
   3223 done
   3224   done
   3225 IFS=$as_save_IFS
   3226 
   3227 if test $ac_prog_rejected = yes; then
   3228   # We found a bogon in the path, so make sure we never use it.
   3229   set dummy $ac_cv_prog_CC
   3230   shift
   3231   if test $# != 0; then
   3232     # We chose a different compiler from the bogus one.
   3233     # However, it has the same basename, so the bogon will be chosen
   3234     # first if we set CC to just the basename; use the full file name.
   3235     shift
   3236     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3237   fi
   3238 fi
   3239 fi
   3240 fi
   3241 CC=$ac_cv_prog_CC
   3242 if test -n "$CC"; then
   3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3244 $as_echo "$CC" >&6; }
   3245 else
   3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3247 $as_echo "no" >&6; }
   3248 fi
   3249 
   3250 
   3251 fi
   3252 if test -z "$CC"; then
   3253   if test -n "$ac_tool_prefix"; then
   3254   for ac_prog in cl.exe
   3255   do
   3256     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3257 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3259 $as_echo_n "checking for $ac_word... " >&6; }
   3260 if ${ac_cv_prog_CC+:} false; then :
   3261   $as_echo_n "(cached) " >&6
   3262 else
   3263   if test -n "$CC"; then
   3264   ac_cv_prog_CC="$CC" # Let the user override the test.
   3265 else
   3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3267 for as_dir in $PATH
   3268 do
   3269   IFS=$as_save_IFS
   3270   test -z "$as_dir" && as_dir=.
   3271     for ac_exec_ext in '' $ac_executable_extensions; do
   3272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3273     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3275     break 2
   3276   fi
   3277 done
   3278   done
   3279 IFS=$as_save_IFS
   3280 
   3281 fi
   3282 fi
   3283 CC=$ac_cv_prog_CC
   3284 if test -n "$CC"; then
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3286 $as_echo "$CC" >&6; }
   3287 else
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3289 $as_echo "no" >&6; }
   3290 fi
   3291 
   3292 
   3293     test -n "$CC" && break
   3294   done
   3295 fi
   3296 if test -z "$CC"; then
   3297   ac_ct_CC=$CC
   3298   for ac_prog in cl.exe
   3299 do
   3300   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3301 set dummy $ac_prog; ac_word=$2
   3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3303 $as_echo_n "checking for $ac_word... " >&6; }
   3304 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3305   $as_echo_n "(cached) " >&6
   3306 else
   3307   if test -n "$ac_ct_CC"; then
   3308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3309 else
   3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3311 for as_dir in $PATH
   3312 do
   3313   IFS=$as_save_IFS
   3314   test -z "$as_dir" && as_dir=.
   3315     for ac_exec_ext in '' $ac_executable_extensions; do
   3316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3317     ac_cv_prog_ac_ct_CC="$ac_prog"
   3318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3319     break 2
   3320   fi
   3321 done
   3322   done
   3323 IFS=$as_save_IFS
   3324 
   3325 fi
   3326 fi
   3327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3328 if test -n "$ac_ct_CC"; then
   3329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3330 $as_echo "$ac_ct_CC" >&6; }
   3331 else
   3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3333 $as_echo "no" >&6; }
   3334 fi
   3335 
   3336 
   3337   test -n "$ac_ct_CC" && break
   3338 done
   3339 
   3340   if test "x$ac_ct_CC" = x; then
   3341     CC=""
   3342   else
   3343     case $cross_compiling:$ac_tool_warned in
   3344 yes:)
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3347 ac_tool_warned=yes ;;
   3348 esac
   3349     CC=$ac_ct_CC
   3350   fi
   3351 fi
   3352 
   3353 fi
   3354 
   3355 
   3356 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3358 as_fn_error $? "no acceptable C compiler found in \$PATH
   3359 See \`config.log' for more details" "$LINENO" 5; }
   3360 
   3361 # Provide some information about the compiler.
   3362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3363 set X $ac_compile
   3364 ac_compiler=$2
   3365 for ac_option in --version -v -V -qversion; do
   3366   { { ac_try="$ac_compiler $ac_option >&5"
   3367 case "(($ac_try" in
   3368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3369   *) ac_try_echo=$ac_try;;
   3370 esac
   3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3372 $as_echo "$ac_try_echo"; } >&5
   3373   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3374   ac_status=$?
   3375   if test -s conftest.err; then
   3376     sed '10a\
   3377 ... rest of stderr output deleted ...
   3378          10q' conftest.err >conftest.er1
   3379     cat conftest.er1 >&5
   3380   fi
   3381   rm -f conftest.er1 conftest.err
   3382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3383   test $ac_status = 0; }
   3384 done
   3385 
   3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3387 /* end confdefs.h.  */
   3388 
   3389 int
   3390 main ()
   3391 {
   3392 
   3393   ;
   3394   return 0;
   3395 }
   3396 _ACEOF
   3397 ac_clean_files_save=$ac_clean_files
   3398 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3399 # Try to create an executable without -o first, disregard a.out.
   3400 # It will help us diagnose broken compilers, and finding out an intuition
   3401 # of exeext.
   3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3403 $as_echo_n "checking whether the C compiler works... " >&6; }
   3404 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3405 
   3406 # The possible output files:
   3407 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3408 
   3409 ac_rmfiles=
   3410 for ac_file in $ac_files
   3411 do
   3412   case $ac_file in
   3413     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3414     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3415   esac
   3416 done
   3417 rm -f $ac_rmfiles
   3418 
   3419 if { { ac_try="$ac_link_default"
   3420 case "(($ac_try" in
   3421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3422   *) ac_try_echo=$ac_try;;
   3423 esac
   3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3425 $as_echo "$ac_try_echo"; } >&5
   3426   (eval "$ac_link_default") 2>&5
   3427   ac_status=$?
   3428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3429   test $ac_status = 0; }; then :
   3430   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3432 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3433 # so that the user can short-circuit this test for compilers unknown to
   3434 # Autoconf.
   3435 for ac_file in $ac_files ''
   3436 do
   3437   test -f "$ac_file" || continue
   3438   case $ac_file in
   3439     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3440 	;;
   3441     [ab].out )
   3442 	# We found the default executable, but exeext='' is most
   3443 	# certainly right.
   3444 	break;;
   3445     *.* )
   3446 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3447 	then :; else
   3448 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3449 	fi
   3450 	# We set ac_cv_exeext here because the later test for it is not
   3451 	# safe: cross compilers may not add the suffix if given an `-o'
   3452 	# argument, so we may need to know it at that point already.
   3453 	# Even if this section looks crufty: it has the advantage of
   3454 	# actually working.
   3455 	break;;
   3456     * )
   3457 	break;;
   3458   esac
   3459 done
   3460 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3461 
   3462 else
   3463   ac_file=''
   3464 fi
   3465 if test -z "$ac_file"; then :
   3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3467 $as_echo "no" >&6; }
   3468 $as_echo "$as_me: failed program was:" >&5
   3469 sed 's/^/| /' conftest.$ac_ext >&5
   3470 
   3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3473 as_fn_error 77 "C compiler cannot create executables
   3474 See \`config.log' for more details" "$LINENO" 5; }
   3475 else
   3476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3477 $as_echo "yes" >&6; }
   3478 fi
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3480 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3482 $as_echo "$ac_file" >&6; }
   3483 ac_exeext=$ac_cv_exeext
   3484 
   3485 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3486 ac_clean_files=$ac_clean_files_save
   3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3488 $as_echo_n "checking for suffix of executables... " >&6; }
   3489 if { { ac_try="$ac_link"
   3490 case "(($ac_try" in
   3491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3492   *) ac_try_echo=$ac_try;;
   3493 esac
   3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3495 $as_echo "$ac_try_echo"; } >&5
   3496   (eval "$ac_link") 2>&5
   3497   ac_status=$?
   3498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3499   test $ac_status = 0; }; then :
   3500   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3501 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3502 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3503 # `rm'.
   3504 for ac_file in conftest.exe conftest conftest.*; do
   3505   test -f "$ac_file" || continue
   3506   case $ac_file in
   3507     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3508     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3509 	  break;;
   3510     * ) break;;
   3511   esac
   3512 done
   3513 else
   3514   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3516 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3517 See \`config.log' for more details" "$LINENO" 5; }
   3518 fi
   3519 rm -f conftest conftest$ac_cv_exeext
   3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3521 $as_echo "$ac_cv_exeext" >&6; }
   3522 
   3523 rm -f conftest.$ac_ext
   3524 EXEEXT=$ac_cv_exeext
   3525 ac_exeext=$EXEEXT
   3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3527 /* end confdefs.h.  */
   3528 #include <stdio.h>
   3529 int
   3530 main ()
   3531 {
   3532 FILE *f = fopen ("conftest.out", "w");
   3533  return ferror (f) || fclose (f) != 0;
   3534 
   3535   ;
   3536   return 0;
   3537 }
   3538 _ACEOF
   3539 ac_clean_files="$ac_clean_files conftest.out"
   3540 # Check that the compiler produces executables we can run.  If not, either
   3541 # the compiler is broken, or we cross compile.
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3543 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3544 if test "$cross_compiling" != yes; then
   3545   { { ac_try="$ac_link"
   3546 case "(($ac_try" in
   3547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3548   *) ac_try_echo=$ac_try;;
   3549 esac
   3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3551 $as_echo "$ac_try_echo"; } >&5
   3552   (eval "$ac_link") 2>&5
   3553   ac_status=$?
   3554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3555   test $ac_status = 0; }
   3556   if { ac_try='./conftest$ac_cv_exeext'
   3557   { { case "(($ac_try" in
   3558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3559   *) ac_try_echo=$ac_try;;
   3560 esac
   3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3562 $as_echo "$ac_try_echo"; } >&5
   3563   (eval "$ac_try") 2>&5
   3564   ac_status=$?
   3565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3566   test $ac_status = 0; }; }; then
   3567     cross_compiling=no
   3568   else
   3569     if test "$cross_compiling" = maybe; then
   3570 	cross_compiling=yes
   3571     else
   3572 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3574 as_fn_error $? "cannot run C compiled programs.
   3575 If you meant to cross compile, use \`--host'.
   3576 See \`config.log' for more details" "$LINENO" 5; }
   3577     fi
   3578   fi
   3579 fi
   3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3581 $as_echo "$cross_compiling" >&6; }
   3582 
   3583 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3584 ac_clean_files=$ac_clean_files_save
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3586 $as_echo_n "checking for suffix of object files... " >&6; }
   3587 if ${ac_cv_objext+:} false; then :
   3588   $as_echo_n "(cached) " >&6
   3589 else
   3590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3591 /* end confdefs.h.  */
   3592 
   3593 int
   3594 main ()
   3595 {
   3596 
   3597   ;
   3598   return 0;
   3599 }
   3600 _ACEOF
   3601 rm -f conftest.o conftest.obj
   3602 if { { ac_try="$ac_compile"
   3603 case "(($ac_try" in
   3604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3605   *) ac_try_echo=$ac_try;;
   3606 esac
   3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3608 $as_echo "$ac_try_echo"; } >&5
   3609   (eval "$ac_compile") 2>&5
   3610   ac_status=$?
   3611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3612   test $ac_status = 0; }; then :
   3613   for ac_file in conftest.o conftest.obj conftest.*; do
   3614   test -f "$ac_file" || continue;
   3615   case $ac_file in
   3616     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3617     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3618        break;;
   3619   esac
   3620 done
   3621 else
   3622   $as_echo "$as_me: failed program was:" >&5
   3623 sed 's/^/| /' conftest.$ac_ext >&5
   3624 
   3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3627 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3628 See \`config.log' for more details" "$LINENO" 5; }
   3629 fi
   3630 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3631 fi
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3633 $as_echo "$ac_cv_objext" >&6; }
   3634 OBJEXT=$ac_cv_objext
   3635 ac_objext=$OBJEXT
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3637 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3638 if ${ac_cv_c_compiler_gnu+:} false; then :
   3639   $as_echo_n "(cached) " >&6
   3640 else
   3641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3642 /* end confdefs.h.  */
   3643 
   3644 int
   3645 main ()
   3646 {
   3647 #ifndef __GNUC__
   3648        choke me
   3649 #endif
   3650 
   3651   ;
   3652   return 0;
   3653 }
   3654 _ACEOF
   3655 if ac_fn_c_try_compile "$LINENO"; then :
   3656   ac_compiler_gnu=yes
   3657 else
   3658   ac_compiler_gnu=no
   3659 fi
   3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3661 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3662 
   3663 fi
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3665 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3666 if test $ac_compiler_gnu = yes; then
   3667   GCC=yes
   3668 else
   3669   GCC=
   3670 fi
   3671 ac_test_CFLAGS=${CFLAGS+set}
   3672 ac_save_CFLAGS=$CFLAGS
   3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3674 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3675 if ${ac_cv_prog_cc_g+:} false; then :
   3676   $as_echo_n "(cached) " >&6
   3677 else
   3678   ac_save_c_werror_flag=$ac_c_werror_flag
   3679    ac_c_werror_flag=yes
   3680    ac_cv_prog_cc_g=no
   3681    CFLAGS="-g"
   3682    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3683 /* end confdefs.h.  */
   3684 
   3685 int
   3686 main ()
   3687 {
   3688 
   3689   ;
   3690   return 0;
   3691 }
   3692 _ACEOF
   3693 if ac_fn_c_try_compile "$LINENO"; then :
   3694   ac_cv_prog_cc_g=yes
   3695 else
   3696   CFLAGS=""
   3697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3698 /* end confdefs.h.  */
   3699 
   3700 int
   3701 main ()
   3702 {
   3703 
   3704   ;
   3705   return 0;
   3706 }
   3707 _ACEOF
   3708 if ac_fn_c_try_compile "$LINENO"; then :
   3709 
   3710 else
   3711   ac_c_werror_flag=$ac_save_c_werror_flag
   3712 	 CFLAGS="-g"
   3713 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3714 /* end confdefs.h.  */
   3715 
   3716 int
   3717 main ()
   3718 {
   3719 
   3720   ;
   3721   return 0;
   3722 }
   3723 _ACEOF
   3724 if ac_fn_c_try_compile "$LINENO"; then :
   3725   ac_cv_prog_cc_g=yes
   3726 fi
   3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3728 fi
   3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3730 fi
   3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3732    ac_c_werror_flag=$ac_save_c_werror_flag
   3733 fi
   3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3735 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3736 if test "$ac_test_CFLAGS" = set; then
   3737   CFLAGS=$ac_save_CFLAGS
   3738 elif test $ac_cv_prog_cc_g = yes; then
   3739   if test "$GCC" = yes; then
   3740     CFLAGS="-g -O2"
   3741   else
   3742     CFLAGS="-g"
   3743   fi
   3744 else
   3745   if test "$GCC" = yes; then
   3746     CFLAGS="-O2"
   3747   else
   3748     CFLAGS=
   3749   fi
   3750 fi
   3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3752 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3753 if ${ac_cv_prog_cc_c89+:} false; then :
   3754   $as_echo_n "(cached) " >&6
   3755 else
   3756   ac_cv_prog_cc_c89=no
   3757 ac_save_CC=$CC
   3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3759 /* end confdefs.h.  */
   3760 #include <stdarg.h>
   3761 #include <stdio.h>
   3762 struct stat;
   3763 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3764 struct buf { int x; };
   3765 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3766 static char *e (p, i)
   3767      char **p;
   3768      int i;
   3769 {
   3770   return p[i];
   3771 }
   3772 static char *f (char * (*g) (char **, int), char **p, ...)
   3773 {
   3774   char *s;
   3775   va_list v;
   3776   va_start (v,p);
   3777   s = g (p, va_arg (v,int));
   3778   va_end (v);
   3779   return s;
   3780 }
   3781 
   3782 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3783    function prototypes and stuff, but not '\xHH' hex character constants.
   3784    These don't provoke an error unfortunately, instead are silently treated
   3785    as 'x'.  The following induces an error, until -std is added to get
   3786    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3787    array size at least.  It's necessary to write '\x00'==0 to get something
   3788    that's true only with -std.  */
   3789 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3790 
   3791 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3792    inside strings and character constants.  */
   3793 #define FOO(x) 'x'
   3794 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3795 
   3796 int test (int i, double x);
   3797 struct s1 {int (*f) (int a);};
   3798 struct s2 {int (*f) (double a);};
   3799 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3800 int argc;
   3801 char **argv;
   3802 int
   3803 main ()
   3804 {
   3805 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3806   ;
   3807   return 0;
   3808 }
   3809 _ACEOF
   3810 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3811 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3812 do
   3813   CC="$ac_save_CC $ac_arg"
   3814   if ac_fn_c_try_compile "$LINENO"; then :
   3815   ac_cv_prog_cc_c89=$ac_arg
   3816 fi
   3817 rm -f core conftest.err conftest.$ac_objext
   3818   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3819 done
   3820 rm -f conftest.$ac_ext
   3821 CC=$ac_save_CC
   3822 
   3823 fi
   3824 # AC_CACHE_VAL
   3825 case "x$ac_cv_prog_cc_c89" in
   3826   x)
   3827     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3828 $as_echo "none needed" >&6; } ;;
   3829   xno)
   3830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3831 $as_echo "unsupported" >&6; } ;;
   3832   *)
   3833     CC="$CC $ac_cv_prog_cc_c89"
   3834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3835 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3836 esac
   3837 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3838 
   3839 fi
   3840 
   3841 ac_ext=c
   3842 ac_cpp='$CPP $CPPFLAGS'
   3843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3846 
   3847 ac_ext=c
   3848 ac_cpp='$CPP $CPPFLAGS'
   3849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3853 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3854 if ${am_cv_prog_cc_c_o+:} false; then :
   3855   $as_echo_n "(cached) " >&6
   3856 else
   3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3858 /* end confdefs.h.  */
   3859 
   3860 int
   3861 main ()
   3862 {
   3863 
   3864   ;
   3865   return 0;
   3866 }
   3867 _ACEOF
   3868   # Make sure it works both with $CC and with simple cc.
   3869   # Following AC_PROG_CC_C_O, we do the test twice because some
   3870   # compilers refuse to overwrite an existing .o file with -o,
   3871   # though they will create one.
   3872   am_cv_prog_cc_c_o=yes
   3873   for am_i in 1 2; do
   3874     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3875    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3876    ac_status=$?
   3877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3878    (exit $ac_status); } \
   3879          && test -f conftest2.$ac_objext; then
   3880       : OK
   3881     else
   3882       am_cv_prog_cc_c_o=no
   3883       break
   3884     fi
   3885   done
   3886   rm -f core conftest*
   3887   unset am_i
   3888 fi
   3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3890 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3891 if test "$am_cv_prog_cc_c_o" != yes; then
   3892    # Losing compiler, so override with the script.
   3893    # FIXME: It is wrong to rewrite CC.
   3894    # But if we don't then we get into trouble of one sort or another.
   3895    # A longer-term fix would be to have automake use am__CC in this case,
   3896    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3897    CC="$am_aux_dir/compile $CC"
   3898 fi
   3899 ac_ext=c
   3900 ac_cpp='$CPP $CPPFLAGS'
   3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3904 
   3905 
   3906 depcc="$CC"   am_compiler_list=
   3907 
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3909 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3910 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3911   $as_echo_n "(cached) " >&6
   3912 else
   3913   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3914   # We make a subdir and do the tests there.  Otherwise we can end up
   3915   # making bogus files that we don't know about and never remove.  For
   3916   # instance it was reported that on HP-UX the gcc test will end up
   3917   # making a dummy file named 'D' -- because '-MD' means "put the output
   3918   # in D".
   3919   rm -rf conftest.dir
   3920   mkdir conftest.dir
   3921   # Copy depcomp to subdir because otherwise we won't find it if we're
   3922   # using a relative directory.
   3923   cp "$am_depcomp" conftest.dir
   3924   cd conftest.dir
   3925   # We will build objects and dependencies in a subdirectory because
   3926   # it helps to detect inapplicable dependency modes.  For instance
   3927   # both Tru64's cc and ICC support -MD to output dependencies as a
   3928   # side effect of compilation, but ICC will put the dependencies in
   3929   # the current directory while Tru64 will put them in the object
   3930   # directory.
   3931   mkdir sub
   3932 
   3933   am_cv_CC_dependencies_compiler_type=none
   3934   if test "$am_compiler_list" = ""; then
   3935      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3936   fi
   3937   am__universal=false
   3938   case " $depcc " in #(
   3939      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3940      esac
   3941 
   3942   for depmode in $am_compiler_list; do
   3943     # Setup a source with many dependencies, because some compilers
   3944     # like to wrap large dependency lists on column 80 (with \), and
   3945     # we should not choose a depcomp mode which is confused by this.
   3946     #
   3947     # We need to recreate these files for each test, as the compiler may
   3948     # overwrite some of them when testing with obscure command lines.
   3949     # This happens at least with the AIX C compiler.
   3950     : > sub/conftest.c
   3951     for i in 1 2 3 4 5 6; do
   3952       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3953       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3954       # Solaris 10 /bin/sh.
   3955       echo '/* dummy */' > sub/conftst$i.h
   3956     done
   3957     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3958 
   3959     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3960     # mode.  It turns out that the SunPro C++ compiler does not properly
   3961     # handle '-M -o', and we need to detect this.  Also, some Intel
   3962     # versions had trouble with output in subdirs.
   3963     am__obj=sub/conftest.${OBJEXT-o}
   3964     am__minus_obj="-o $am__obj"
   3965     case $depmode in
   3966     gcc)
   3967       # This depmode causes a compiler race in universal mode.
   3968       test "$am__universal" = false || continue
   3969       ;;
   3970     nosideeffect)
   3971       # After this tag, mechanisms are not by side-effect, so they'll
   3972       # only be used when explicitly requested.
   3973       if test "x$enable_dependency_tracking" = xyes; then
   3974 	continue
   3975       else
   3976 	break
   3977       fi
   3978       ;;
   3979     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3980       # This compiler won't grok '-c -o', but also, the minuso test has
   3981       # not run yet.  These depmodes are late enough in the game, and
   3982       # so weak that their functioning should not be impacted.
   3983       am__obj=conftest.${OBJEXT-o}
   3984       am__minus_obj=
   3985       ;;
   3986     none) break ;;
   3987     esac
   3988     if depmode=$depmode \
   3989        source=sub/conftest.c object=$am__obj \
   3990        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3991        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3992          >/dev/null 2>conftest.err &&
   3993        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3994        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3995        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3996        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3997       # icc doesn't choke on unknown options, it will just issue warnings
   3998       # or remarks (even with -Werror).  So we grep stderr for any message
   3999       # that says an option was ignored or not supported.
   4000       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4001       #   icc: Command line warning: ignoring option '-M'; no argument required
   4002       # The diagnosis changed in icc 8.0:
   4003       #   icc: Command line remark: option '-MP' not supported
   4004       if (grep 'ignoring option' conftest.err ||
   4005           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4006         am_cv_CC_dependencies_compiler_type=$depmode
   4007         break
   4008       fi
   4009     fi
   4010   done
   4011 
   4012   cd ..
   4013   rm -rf conftest.dir
   4014 else
   4015   am_cv_CC_dependencies_compiler_type=none
   4016 fi
   4017 
   4018 fi
   4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4020 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4021 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4022 
   4023  if
   4024   test "x$enable_dependency_tracking" != xno \
   4025   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4026   am__fastdepCC_TRUE=
   4027   am__fastdepCC_FALSE='#'
   4028 else
   4029   am__fastdepCC_TRUE='#'
   4030   am__fastdepCC_FALSE=
   4031 fi
   4032 
   4033 
   4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4035 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4036 if ${ac_cv_path_SED+:} false; then :
   4037   $as_echo_n "(cached) " >&6
   4038 else
   4039             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4040      for ac_i in 1 2 3 4 5 6 7; do
   4041        ac_script="$ac_script$as_nl$ac_script"
   4042      done
   4043      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4044      { ac_script=; unset ac_script;}
   4045      if test -z "$SED"; then
   4046   ac_path_SED_found=false
   4047   # Loop through the user's path and test for each of PROGNAME-LIST
   4048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4049 for as_dir in $PATH
   4050 do
   4051   IFS=$as_save_IFS
   4052   test -z "$as_dir" && as_dir=.
   4053     for ac_prog in sed gsed; do
   4054     for ac_exec_ext in '' $ac_executable_extensions; do
   4055       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4056       as_fn_executable_p "$ac_path_SED" || continue
   4057 # Check for GNU ac_path_SED and select it if it is found.
   4058   # Check for GNU $ac_path_SED
   4059 case `"$ac_path_SED" --version 2>&1` in
   4060 *GNU*)
   4061   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4062 *)
   4063   ac_count=0
   4064   $as_echo_n 0123456789 >"conftest.in"
   4065   while :
   4066   do
   4067     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4068     mv "conftest.tmp" "conftest.in"
   4069     cp "conftest.in" "conftest.nl"
   4070     $as_echo '' >> "conftest.nl"
   4071     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4072     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4073     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4074     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4075       # Best one so far, save it but keep looking for a better one
   4076       ac_cv_path_SED="$ac_path_SED"
   4077       ac_path_SED_max=$ac_count
   4078     fi
   4079     # 10*(2^10) chars as input seems more than enough
   4080     test $ac_count -gt 10 && break
   4081   done
   4082   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4083 esac
   4084 
   4085       $ac_path_SED_found && break 3
   4086     done
   4087   done
   4088   done
   4089 IFS=$as_save_IFS
   4090   if test -z "$ac_cv_path_SED"; then
   4091     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4092   fi
   4093 else
   4094   ac_cv_path_SED=$SED
   4095 fi
   4096 
   4097 fi
   4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4099 $as_echo "$ac_cv_path_SED" >&6; }
   4100  SED="$ac_cv_path_SED"
   4101   rm -f conftest.sed
   4102 
   4103 test -z "$SED" && SED=sed
   4104 Xsed="$SED -e 1s/^X//"
   4105 
   4106 
   4107 
   4108 
   4109 
   4110 
   4111 
   4112 
   4113 
   4114 
   4115 
   4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4117 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4118 if ${ac_cv_path_GREP+:} false; then :
   4119   $as_echo_n "(cached) " >&6
   4120 else
   4121   if test -z "$GREP"; then
   4122   ac_path_GREP_found=false
   4123   # Loop through the user's path and test for each of PROGNAME-LIST
   4124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4126 do
   4127   IFS=$as_save_IFS
   4128   test -z "$as_dir" && as_dir=.
   4129     for ac_prog in grep ggrep; do
   4130     for ac_exec_ext in '' $ac_executable_extensions; do
   4131       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4132       as_fn_executable_p "$ac_path_GREP" || continue
   4133 # Check for GNU ac_path_GREP and select it if it is found.
   4134   # Check for GNU $ac_path_GREP
   4135 case `"$ac_path_GREP" --version 2>&1` in
   4136 *GNU*)
   4137   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4138 *)
   4139   ac_count=0
   4140   $as_echo_n 0123456789 >"conftest.in"
   4141   while :
   4142   do
   4143     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4144     mv "conftest.tmp" "conftest.in"
   4145     cp "conftest.in" "conftest.nl"
   4146     $as_echo 'GREP' >> "conftest.nl"
   4147     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4148     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4149     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4150     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4151       # Best one so far, save it but keep looking for a better one
   4152       ac_cv_path_GREP="$ac_path_GREP"
   4153       ac_path_GREP_max=$ac_count
   4154     fi
   4155     # 10*(2^10) chars as input seems more than enough
   4156     test $ac_count -gt 10 && break
   4157   done
   4158   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4159 esac
   4160 
   4161       $ac_path_GREP_found && break 3
   4162     done
   4163   done
   4164   done
   4165 IFS=$as_save_IFS
   4166   if test -z "$ac_cv_path_GREP"; then
   4167     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4168   fi
   4169 else
   4170   ac_cv_path_GREP=$GREP
   4171 fi
   4172 
   4173 fi
   4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4175 $as_echo "$ac_cv_path_GREP" >&6; }
   4176  GREP="$ac_cv_path_GREP"
   4177 
   4178 
   4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4180 $as_echo_n "checking for egrep... " >&6; }
   4181 if ${ac_cv_path_EGREP+:} false; then :
   4182   $as_echo_n "(cached) " >&6
   4183 else
   4184   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4185    then ac_cv_path_EGREP="$GREP -E"
   4186    else
   4187      if test -z "$EGREP"; then
   4188   ac_path_EGREP_found=false
   4189   # Loop through the user's path and test for each of PROGNAME-LIST
   4190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4192 do
   4193   IFS=$as_save_IFS
   4194   test -z "$as_dir" && as_dir=.
   4195     for ac_prog in egrep; do
   4196     for ac_exec_ext in '' $ac_executable_extensions; do
   4197       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4198       as_fn_executable_p "$ac_path_EGREP" || continue
   4199 # Check for GNU ac_path_EGREP and select it if it is found.
   4200   # Check for GNU $ac_path_EGREP
   4201 case `"$ac_path_EGREP" --version 2>&1` in
   4202 *GNU*)
   4203   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4204 *)
   4205   ac_count=0
   4206   $as_echo_n 0123456789 >"conftest.in"
   4207   while :
   4208   do
   4209     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4210     mv "conftest.tmp" "conftest.in"
   4211     cp "conftest.in" "conftest.nl"
   4212     $as_echo 'EGREP' >> "conftest.nl"
   4213     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4214     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4215     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4216     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4217       # Best one so far, save it but keep looking for a better one
   4218       ac_cv_path_EGREP="$ac_path_EGREP"
   4219       ac_path_EGREP_max=$ac_count
   4220     fi
   4221     # 10*(2^10) chars as input seems more than enough
   4222     test $ac_count -gt 10 && break
   4223   done
   4224   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4225 esac
   4226 
   4227       $ac_path_EGREP_found && break 3
   4228     done
   4229   done
   4230   done
   4231 IFS=$as_save_IFS
   4232   if test -z "$ac_cv_path_EGREP"; then
   4233     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4234   fi
   4235 else
   4236   ac_cv_path_EGREP=$EGREP
   4237 fi
   4238 
   4239    fi
   4240 fi
   4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4242 $as_echo "$ac_cv_path_EGREP" >&6; }
   4243  EGREP="$ac_cv_path_EGREP"
   4244 
   4245 
   4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4247 $as_echo_n "checking for fgrep... " >&6; }
   4248 if ${ac_cv_path_FGREP+:} false; then :
   4249   $as_echo_n "(cached) " >&6
   4250 else
   4251   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4252    then ac_cv_path_FGREP="$GREP -F"
   4253    else
   4254      if test -z "$FGREP"; then
   4255   ac_path_FGREP_found=false
   4256   # Loop through the user's path and test for each of PROGNAME-LIST
   4257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4259 do
   4260   IFS=$as_save_IFS
   4261   test -z "$as_dir" && as_dir=.
   4262     for ac_prog in fgrep; do
   4263     for ac_exec_ext in '' $ac_executable_extensions; do
   4264       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4265       as_fn_executable_p "$ac_path_FGREP" || continue
   4266 # Check for GNU ac_path_FGREP and select it if it is found.
   4267   # Check for GNU $ac_path_FGREP
   4268 case `"$ac_path_FGREP" --version 2>&1` in
   4269 *GNU*)
   4270   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4271 *)
   4272   ac_count=0
   4273   $as_echo_n 0123456789 >"conftest.in"
   4274   while :
   4275   do
   4276     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4277     mv "conftest.tmp" "conftest.in"
   4278     cp "conftest.in" "conftest.nl"
   4279     $as_echo 'FGREP' >> "conftest.nl"
   4280     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4281     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4282     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4283     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4284       # Best one so far, save it but keep looking for a better one
   4285       ac_cv_path_FGREP="$ac_path_FGREP"
   4286       ac_path_FGREP_max=$ac_count
   4287     fi
   4288     # 10*(2^10) chars as input seems more than enough
   4289     test $ac_count -gt 10 && break
   4290   done
   4291   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4292 esac
   4293 
   4294       $ac_path_FGREP_found && break 3
   4295     done
   4296   done
   4297   done
   4298 IFS=$as_save_IFS
   4299   if test -z "$ac_cv_path_FGREP"; then
   4300     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4301   fi
   4302 else
   4303   ac_cv_path_FGREP=$FGREP
   4304 fi
   4305 
   4306    fi
   4307 fi
   4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4309 $as_echo "$ac_cv_path_FGREP" >&6; }
   4310  FGREP="$ac_cv_path_FGREP"
   4311 
   4312 
   4313 test -z "$GREP" && GREP=grep
   4314 
   4315 
   4316 
   4317 
   4318 
   4319 
   4320 
   4321 
   4322 
   4323 
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 # Check whether --with-gnu-ld was given.
   4334 if test "${with_gnu_ld+set}" = set; then :
   4335   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4336 else
   4337   with_gnu_ld=no
   4338 fi
   4339 
   4340 ac_prog=ld
   4341 if test "$GCC" = yes; then
   4342   # Check if gcc -print-prog-name=ld gives a path.
   4343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4344 $as_echo_n "checking for ld used by $CC... " >&6; }
   4345   case $host in
   4346   *-*-mingw*)
   4347     # gcc leaves a trailing carriage return which upsets mingw
   4348     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4349   *)
   4350     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4351   esac
   4352   case $ac_prog in
   4353     # Accept absolute paths.
   4354     [\\/]* | ?:[\\/]*)
   4355       re_direlt='/[^/][^/]*/\.\./'
   4356       # Canonicalize the pathname of ld
   4357       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4358       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4359 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4360       done
   4361       test -z "$LD" && LD="$ac_prog"
   4362       ;;
   4363   "")
   4364     # If it fails, then pretend we aren't using GCC.
   4365     ac_prog=ld
   4366     ;;
   4367   *)
   4368     # If it is relative, then search for the first ld in PATH.
   4369     with_gnu_ld=unknown
   4370     ;;
   4371   esac
   4372 elif test "$with_gnu_ld" = yes; then
   4373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4374 $as_echo_n "checking for GNU ld... " >&6; }
   4375 else
   4376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4377 $as_echo_n "checking for non-GNU ld... " >&6; }
   4378 fi
   4379 if ${lt_cv_path_LD+:} false; then :
   4380   $as_echo_n "(cached) " >&6
   4381 else
   4382   if test -z "$LD"; then
   4383   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4384   for ac_dir in $PATH; do
   4385     IFS="$lt_save_ifs"
   4386     test -z "$ac_dir" && ac_dir=.
   4387     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4388       lt_cv_path_LD="$ac_dir/$ac_prog"
   4389       # Check to see if the program is GNU ld.  I'd rather use --version,
   4390       # but apparently some variants of GNU ld only accept -v.
   4391       # Break only if it was the GNU/non-GNU ld that we prefer.
   4392       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4393       *GNU* | *'with BFD'*)
   4394 	test "$with_gnu_ld" != no && break
   4395 	;;
   4396       *)
   4397 	test "$with_gnu_ld" != yes && break
   4398 	;;
   4399       esac
   4400     fi
   4401   done
   4402   IFS="$lt_save_ifs"
   4403 else
   4404   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4405 fi
   4406 fi
   4407 
   4408 LD="$lt_cv_path_LD"
   4409 if test -n "$LD"; then
   4410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4411 $as_echo "$LD" >&6; }
   4412 else
   4413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4414 $as_echo "no" >&6; }
   4415 fi
   4416 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4418 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4419 if ${lt_cv_prog_gnu_ld+:} false; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4423 case `$LD -v 2>&1 </dev/null` in
   4424 *GNU* | *'with BFD'*)
   4425   lt_cv_prog_gnu_ld=yes
   4426   ;;
   4427 *)
   4428   lt_cv_prog_gnu_ld=no
   4429   ;;
   4430 esac
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4433 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4434 with_gnu_ld=$lt_cv_prog_gnu_ld
   4435 
   4436 
   4437 
   4438 
   4439 
   4440 
   4441 
   4442 
   4443 
   4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4445 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4446 if ${lt_cv_path_NM+:} false; then :
   4447   $as_echo_n "(cached) " >&6
   4448 else
   4449   if test -n "$NM"; then
   4450   # Let the user override the test.
   4451   lt_cv_path_NM="$NM"
   4452 else
   4453   lt_nm_to_check="${ac_tool_prefix}nm"
   4454   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4455     lt_nm_to_check="$lt_nm_to_check nm"
   4456   fi
   4457   for lt_tmp_nm in $lt_nm_to_check; do
   4458     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4459     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4460       IFS="$lt_save_ifs"
   4461       test -z "$ac_dir" && ac_dir=.
   4462       tmp_nm="$ac_dir/$lt_tmp_nm"
   4463       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4464 	# Check to see if the nm accepts a BSD-compat flag.
   4465 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4466 	#   nm: unknown option "B" ignored
   4467 	# Tru64's nm complains that /dev/null is an invalid object file
   4468 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4469 	*/dev/null* | *'Invalid file or object type'*)
   4470 	  lt_cv_path_NM="$tmp_nm -B"
   4471 	  break
   4472 	  ;;
   4473 	*)
   4474 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4475 	  */dev/null*)
   4476 	    lt_cv_path_NM="$tmp_nm -p"
   4477 	    break
   4478 	    ;;
   4479 	  *)
   4480 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4481 	    continue # so that we can try to find one that supports BSD flags
   4482 	    ;;
   4483 	  esac
   4484 	  ;;
   4485 	esac
   4486       fi
   4487     done
   4488     IFS="$lt_save_ifs"
   4489   done
   4490   : ${lt_cv_path_NM=no}
   4491 fi
   4492 fi
   4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4494 $as_echo "$lt_cv_path_NM" >&6; }
   4495 if test "$lt_cv_path_NM" != "no"; then
   4496   NM="$lt_cv_path_NM"
   4497 else
   4498   # Didn't find any BSD compatible name lister, look for dumpbin.
   4499   if test -n "$DUMPBIN"; then :
   4500     # Let the user override the test.
   4501   else
   4502     if test -n "$ac_tool_prefix"; then
   4503   for ac_prog in dumpbin "link -dump"
   4504   do
   4505     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4508 $as_echo_n "checking for $ac_word... " >&6; }
   4509 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4510   $as_echo_n "(cached) " >&6
   4511 else
   4512   if test -n "$DUMPBIN"; then
   4513   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4514 else
   4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4516 for as_dir in $PATH
   4517 do
   4518   IFS=$as_save_IFS
   4519   test -z "$as_dir" && as_dir=.
   4520     for ac_exec_ext in '' $ac_executable_extensions; do
   4521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4522     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4524     break 2
   4525   fi
   4526 done
   4527   done
   4528 IFS=$as_save_IFS
   4529 
   4530 fi
   4531 fi
   4532 DUMPBIN=$ac_cv_prog_DUMPBIN
   4533 if test -n "$DUMPBIN"; then
   4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4535 $as_echo "$DUMPBIN" >&6; }
   4536 else
   4537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4538 $as_echo "no" >&6; }
   4539 fi
   4540 
   4541 
   4542     test -n "$DUMPBIN" && break
   4543   done
   4544 fi
   4545 if test -z "$DUMPBIN"; then
   4546   ac_ct_DUMPBIN=$DUMPBIN
   4547   for ac_prog in dumpbin "link -dump"
   4548 do
   4549   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4550 set dummy $ac_prog; ac_word=$2
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4552 $as_echo_n "checking for $ac_word... " >&6; }
   4553 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4554   $as_echo_n "(cached) " >&6
   4555 else
   4556   if test -n "$ac_ct_DUMPBIN"; then
   4557   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4558 else
   4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4560 for as_dir in $PATH
   4561 do
   4562   IFS=$as_save_IFS
   4563   test -z "$as_dir" && as_dir=.
   4564     for ac_exec_ext in '' $ac_executable_extensions; do
   4565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4566     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4568     break 2
   4569   fi
   4570 done
   4571   done
   4572 IFS=$as_save_IFS
   4573 
   4574 fi
   4575 fi
   4576 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4577 if test -n "$ac_ct_DUMPBIN"; then
   4578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4579 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4580 else
   4581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4582 $as_echo "no" >&6; }
   4583 fi
   4584 
   4585 
   4586   test -n "$ac_ct_DUMPBIN" && break
   4587 done
   4588 
   4589   if test "x$ac_ct_DUMPBIN" = x; then
   4590     DUMPBIN=":"
   4591   else
   4592     case $cross_compiling:$ac_tool_warned in
   4593 yes:)
   4594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4596 ac_tool_warned=yes ;;
   4597 esac
   4598     DUMPBIN=$ac_ct_DUMPBIN
   4599   fi
   4600 fi
   4601 
   4602     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4603     *COFF*)
   4604       DUMPBIN="$DUMPBIN -symbols"
   4605       ;;
   4606     *)
   4607       DUMPBIN=:
   4608       ;;
   4609     esac
   4610   fi
   4611 
   4612   if test "$DUMPBIN" != ":"; then
   4613     NM="$DUMPBIN"
   4614   fi
   4615 fi
   4616 test -z "$NM" && NM=nm
   4617 
   4618 
   4619 
   4620 
   4621 
   4622 
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4624 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4625 if ${lt_cv_nm_interface+:} false; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   lt_cv_nm_interface="BSD nm"
   4629   echo "int some_variable = 0;" > conftest.$ac_ext
   4630   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4631   (eval "$ac_compile" 2>conftest.err)
   4632   cat conftest.err >&5
   4633   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4634   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4635   cat conftest.err >&5
   4636   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4637   cat conftest.out >&5
   4638   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4639     lt_cv_nm_interface="MS dumpbin"
   4640   fi
   4641   rm -f conftest*
   4642 fi
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4644 $as_echo "$lt_cv_nm_interface" >&6; }
   4645 
   4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4647 $as_echo_n "checking whether ln -s works... " >&6; }
   4648 LN_S=$as_ln_s
   4649 if test "$LN_S" = "ln -s"; then
   4650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4651 $as_echo "yes" >&6; }
   4652 else
   4653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4654 $as_echo "no, using $LN_S" >&6; }
   4655 fi
   4656 
   4657 # find the maximum length of command line arguments
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4659 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4660 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663     i=0
   4664   teststring="ABCD"
   4665 
   4666   case $build_os in
   4667   msdosdjgpp*)
   4668     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4669     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4670     # during glob expansion).  Even if it were fixed, the result of this
   4671     # check would be larger than it should be.
   4672     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4673     ;;
   4674 
   4675   gnu*)
   4676     # Under GNU Hurd, this test is not required because there is
   4677     # no limit to the length of command line arguments.
   4678     # Libtool will interpret -1 as no limit whatsoever
   4679     lt_cv_sys_max_cmd_len=-1;
   4680     ;;
   4681 
   4682   cygwin* | mingw* | cegcc*)
   4683     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4684     # about 5 minutes as the teststring grows exponentially.
   4685     # Worse, since 9x/ME are not pre-emptively multitasking,
   4686     # you end up with a "frozen" computer, even though with patience
   4687     # the test eventually succeeds (with a max line length of 256k).
   4688     # Instead, let's just punt: use the minimum linelength reported by
   4689     # all of the supported platforms: 8192 (on NT/2K/XP).
   4690     lt_cv_sys_max_cmd_len=8192;
   4691     ;;
   4692 
   4693   mint*)
   4694     # On MiNT this can take a long time and run out of memory.
   4695     lt_cv_sys_max_cmd_len=8192;
   4696     ;;
   4697 
   4698   amigaos*)
   4699     # On AmigaOS with pdksh, this test takes hours, literally.
   4700     # So we just punt and use a minimum line length of 8192.
   4701     lt_cv_sys_max_cmd_len=8192;
   4702     ;;
   4703 
   4704   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4705     # This has been around since 386BSD, at least.  Likely further.
   4706     if test -x /sbin/sysctl; then
   4707       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4708     elif test -x /usr/sbin/sysctl; then
   4709       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4710     else
   4711       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4712     fi
   4713     # And add a safety zone
   4714     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4715     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4716     ;;
   4717 
   4718   interix*)
   4719     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4720     lt_cv_sys_max_cmd_len=196608
   4721     ;;
   4722 
   4723   os2*)
   4724     # The test takes a long time on OS/2.
   4725     lt_cv_sys_max_cmd_len=8192
   4726     ;;
   4727 
   4728   osf*)
   4729     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4730     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4731     # nice to cause kernel panics so lets avoid the loop below.
   4732     # First set a reasonable default.
   4733     lt_cv_sys_max_cmd_len=16384
   4734     #
   4735     if test -x /sbin/sysconfig; then
   4736       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4737         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4738       esac
   4739     fi
   4740     ;;
   4741   sco3.2v5*)
   4742     lt_cv_sys_max_cmd_len=102400
   4743     ;;
   4744   sysv5* | sco5v6* | sysv4.2uw2*)
   4745     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4746     if test -n "$kargmax"; then
   4747       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4748     else
   4749       lt_cv_sys_max_cmd_len=32768
   4750     fi
   4751     ;;
   4752   *)
   4753     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4754     if test -n "$lt_cv_sys_max_cmd_len"; then
   4755       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4756       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4757     else
   4758       # Make teststring a little bigger before we do anything with it.
   4759       # a 1K string should be a reasonable start.
   4760       for i in 1 2 3 4 5 6 7 8 ; do
   4761         teststring=$teststring$teststring
   4762       done
   4763       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4764       # If test is not a shell built-in, we'll probably end up computing a
   4765       # maximum length that is only half of the actual maximum length, but
   4766       # we can't tell.
   4767       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4768 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4769 	      test $i != 17 # 1/2 MB should be enough
   4770       do
   4771         i=`expr $i + 1`
   4772         teststring=$teststring$teststring
   4773       done
   4774       # Only check the string length outside the loop.
   4775       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4776       teststring=
   4777       # Add a significant safety factor because C++ compilers can tack on
   4778       # massive amounts of additional arguments before passing them to the
   4779       # linker.  It appears as though 1/2 is a usable value.
   4780       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4781     fi
   4782     ;;
   4783   esac
   4784 
   4785 fi
   4786 
   4787 if test -n $lt_cv_sys_max_cmd_len ; then
   4788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4789 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4790 else
   4791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4792 $as_echo "none" >&6; }
   4793 fi
   4794 max_cmd_len=$lt_cv_sys_max_cmd_len
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 : ${CP="cp -f"}
   4802 : ${MV="mv -f"}
   4803 : ${RM="rm -f"}
   4804 
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4806 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4807 # Try some XSI features
   4808 xsi_shell=no
   4809 ( _lt_dummy="a/b/c"
   4810   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4811       = c,a/b,b/c, \
   4812     && eval 'test $(( 1 + 1 )) -eq 2 \
   4813     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4814   && xsi_shell=yes
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4816 $as_echo "$xsi_shell" >&6; }
   4817 
   4818 
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4820 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4821 lt_shell_append=no
   4822 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4823     >/dev/null 2>&1 \
   4824   && lt_shell_append=yes
   4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4826 $as_echo "$lt_shell_append" >&6; }
   4827 
   4828 
   4829 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4830   lt_unset=unset
   4831 else
   4832   lt_unset=false
   4833 fi
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 # test EBCDIC or ASCII
   4840 case `echo X|tr X '\101'` in
   4841  A) # ASCII based system
   4842     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4843   lt_SP2NL='tr \040 \012'
   4844   lt_NL2SP='tr \015\012 \040\040'
   4845   ;;
   4846  *) # EBCDIC based system
   4847   lt_SP2NL='tr \100 \n'
   4848   lt_NL2SP='tr \r\n \100\100'
   4849   ;;
   4850 esac
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4861 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4862 if ${lt_cv_to_host_file_cmd+:} false; then :
   4863   $as_echo_n "(cached) " >&6
   4864 else
   4865   case $host in
   4866   *-*-mingw* )
   4867     case $build in
   4868       *-*-mingw* ) # actually msys
   4869         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4870         ;;
   4871       *-*-cygwin* )
   4872         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4873         ;;
   4874       * ) # otherwise, assume *nix
   4875         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4876         ;;
   4877     esac
   4878     ;;
   4879   *-*-cygwin* )
   4880     case $build in
   4881       *-*-mingw* ) # actually msys
   4882         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4883         ;;
   4884       *-*-cygwin* )
   4885         lt_cv_to_host_file_cmd=func_convert_file_noop
   4886         ;;
   4887       * ) # otherwise, assume *nix
   4888         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4889         ;;
   4890     esac
   4891     ;;
   4892   * ) # unhandled hosts (and "normal" native builds)
   4893     lt_cv_to_host_file_cmd=func_convert_file_noop
   4894     ;;
   4895 esac
   4896 
   4897 fi
   4898 
   4899 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4901 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4908 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4909 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4910   $as_echo_n "(cached) " >&6
   4911 else
   4912   #assume ordinary cross tools, or native build.
   4913 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4914 case $host in
   4915   *-*-mingw* )
   4916     case $build in
   4917       *-*-mingw* ) # actually msys
   4918         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4919         ;;
   4920     esac
   4921     ;;
   4922 esac
   4923 
   4924 fi
   4925 
   4926 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4928 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4935 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4936 if ${lt_cv_ld_reload_flag+:} false; then :
   4937   $as_echo_n "(cached) " >&6
   4938 else
   4939   lt_cv_ld_reload_flag='-r'
   4940 fi
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4942 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4943 reload_flag=$lt_cv_ld_reload_flag
   4944 case $reload_flag in
   4945 "" | " "*) ;;
   4946 *) reload_flag=" $reload_flag" ;;
   4947 esac
   4948 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4949 case $host_os in
   4950   cygwin* | mingw* | pw32* | cegcc*)
   4951     if test "$GCC" != yes; then
   4952       reload_cmds=false
   4953     fi
   4954     ;;
   4955   darwin*)
   4956     if test "$GCC" = yes; then
   4957       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4958     else
   4959       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4960     fi
   4961     ;;
   4962 esac
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 if test -n "$ac_tool_prefix"; then
   4973   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4974 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4976 $as_echo_n "checking for $ac_word... " >&6; }
   4977 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4978   $as_echo_n "(cached) " >&6
   4979 else
   4980   if test -n "$OBJDUMP"; then
   4981   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4982 else
   4983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4984 for as_dir in $PATH
   4985 do
   4986   IFS=$as_save_IFS
   4987   test -z "$as_dir" && as_dir=.
   4988     for ac_exec_ext in '' $ac_executable_extensions; do
   4989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4990     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4992     break 2
   4993   fi
   4994 done
   4995   done
   4996 IFS=$as_save_IFS
   4997 
   4998 fi
   4999 fi
   5000 OBJDUMP=$ac_cv_prog_OBJDUMP
   5001 if test -n "$OBJDUMP"; then
   5002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5003 $as_echo "$OBJDUMP" >&6; }
   5004 else
   5005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5006 $as_echo "no" >&6; }
   5007 fi
   5008 
   5009 
   5010 fi
   5011 if test -z "$ac_cv_prog_OBJDUMP"; then
   5012   ac_ct_OBJDUMP=$OBJDUMP
   5013   # Extract the first word of "objdump", so it can be a program name with args.
   5014 set dummy objdump; ac_word=$2
   5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5016 $as_echo_n "checking for $ac_word... " >&6; }
   5017 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   if test -n "$ac_ct_OBJDUMP"; then
   5021   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5022 else
   5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5024 for as_dir in $PATH
   5025 do
   5026   IFS=$as_save_IFS
   5027   test -z "$as_dir" && as_dir=.
   5028     for ac_exec_ext in '' $ac_executable_extensions; do
   5029   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5030     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5032     break 2
   5033   fi
   5034 done
   5035   done
   5036 IFS=$as_save_IFS
   5037 
   5038 fi
   5039 fi
   5040 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5041 if test -n "$ac_ct_OBJDUMP"; then
   5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5043 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5044 else
   5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5046 $as_echo "no" >&6; }
   5047 fi
   5048 
   5049   if test "x$ac_ct_OBJDUMP" = x; then
   5050     OBJDUMP="false"
   5051   else
   5052     case $cross_compiling:$ac_tool_warned in
   5053 yes:)
   5054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5056 ac_tool_warned=yes ;;
   5057 esac
   5058     OBJDUMP=$ac_ct_OBJDUMP
   5059   fi
   5060 else
   5061   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5062 fi
   5063 
   5064 test -z "$OBJDUMP" && OBJDUMP=objdump
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5075 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5076 if ${lt_cv_deplibs_check_method+:} false; then :
   5077   $as_echo_n "(cached) " >&6
   5078 else
   5079   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5080 lt_cv_file_magic_test_file=
   5081 lt_cv_deplibs_check_method='unknown'
   5082 # Need to set the preceding variable on all platforms that support
   5083 # interlibrary dependencies.
   5084 # 'none' -- dependencies not supported.
   5085 # `unknown' -- same as none, but documents that we really don't know.
   5086 # 'pass_all' -- all dependencies passed with no checks.
   5087 # 'test_compile' -- check by making test program.
   5088 # 'file_magic [[regex]]' -- check by looking for files in library path
   5089 # which responds to the $file_magic_cmd with a given extended regex.
   5090 # If you have `file' or equivalent on your system and you're not sure
   5091 # whether `pass_all' will *always* work, you probably want this one.
   5092 
   5093 case $host_os in
   5094 aix[4-9]*)
   5095   lt_cv_deplibs_check_method=pass_all
   5096   ;;
   5097 
   5098 beos*)
   5099   lt_cv_deplibs_check_method=pass_all
   5100   ;;
   5101 
   5102 bsdi[45]*)
   5103   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5104   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5105   lt_cv_file_magic_test_file=/shlib/libc.so
   5106   ;;
   5107 
   5108 cygwin*)
   5109   # func_win32_libid is a shell function defined in ltmain.sh
   5110   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5111   lt_cv_file_magic_cmd='func_win32_libid'
   5112   ;;
   5113 
   5114 mingw* | pw32*)
   5115   # Base MSYS/MinGW do not provide the 'file' command needed by
   5116   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5117   # unless we find 'file', for example because we are cross-compiling.
   5118   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5119   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5120     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5121     lt_cv_file_magic_cmd='func_win32_libid'
   5122   else
   5123     # Keep this pattern in sync with the one in func_win32_libid.
   5124     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5125     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5126   fi
   5127   ;;
   5128 
   5129 cegcc*)
   5130   # use the weaker test based on 'objdump'. See mingw*.
   5131   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5132   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5133   ;;
   5134 
   5135 darwin* | rhapsody*)
   5136   lt_cv_deplibs_check_method=pass_all
   5137   ;;
   5138 
   5139 freebsd* | dragonfly*)
   5140   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5141     case $host_cpu in
   5142     i*86 )
   5143       # Not sure whether the presence of OpenBSD here was a mistake.
   5144       # Let's accept both of them until this is cleared up.
   5145       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5146       lt_cv_file_magic_cmd=/usr/bin/file
   5147       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5148       ;;
   5149     esac
   5150   else
   5151     lt_cv_deplibs_check_method=pass_all
   5152   fi
   5153   ;;
   5154 
   5155 gnu*)
   5156   lt_cv_deplibs_check_method=pass_all
   5157   ;;
   5158 
   5159 haiku*)
   5160   lt_cv_deplibs_check_method=pass_all
   5161   ;;
   5162 
   5163 hpux10.20* | hpux11*)
   5164   lt_cv_file_magic_cmd=/usr/bin/file
   5165   case $host_cpu in
   5166   ia64*)
   5167     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5168     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5169     ;;
   5170   hppa*64*)
   5171     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]'
   5172     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5173     ;;
   5174   *)
   5175     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5176     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5177     ;;
   5178   esac
   5179   ;;
   5180 
   5181 interix[3-9]*)
   5182   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5183   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5184   ;;
   5185 
   5186 irix5* | irix6* | nonstopux*)
   5187   case $LD in
   5188   *-32|*"-32 ") libmagic=32-bit;;
   5189   *-n32|*"-n32 ") libmagic=N32;;
   5190   *-64|*"-64 ") libmagic=64-bit;;
   5191   *) libmagic=never-match;;
   5192   esac
   5193   lt_cv_deplibs_check_method=pass_all
   5194   ;;
   5195 
   5196 # This must be glibc/ELF.
   5197 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5198   lt_cv_deplibs_check_method=pass_all
   5199   ;;
   5200 
   5201 netbsd*)
   5202   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5203     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5204   else
   5205     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5206   fi
   5207   ;;
   5208 
   5209 newos6*)
   5210   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5211   lt_cv_file_magic_cmd=/usr/bin/file
   5212   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5213   ;;
   5214 
   5215 *nto* | *qnx*)
   5216   lt_cv_deplibs_check_method=pass_all
   5217   ;;
   5218 
   5219 openbsd*)
   5220   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5221     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5222   else
   5223     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5224   fi
   5225   ;;
   5226 
   5227 osf3* | osf4* | osf5*)
   5228   lt_cv_deplibs_check_method=pass_all
   5229   ;;
   5230 
   5231 rdos*)
   5232   lt_cv_deplibs_check_method=pass_all
   5233   ;;
   5234 
   5235 solaris*)
   5236   lt_cv_deplibs_check_method=pass_all
   5237   ;;
   5238 
   5239 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5240   lt_cv_deplibs_check_method=pass_all
   5241   ;;
   5242 
   5243 sysv4 | sysv4.3*)
   5244   case $host_vendor in
   5245   motorola)
   5246     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]'
   5247     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5248     ;;
   5249   ncr)
   5250     lt_cv_deplibs_check_method=pass_all
   5251     ;;
   5252   sequent)
   5253     lt_cv_file_magic_cmd='/bin/file'
   5254     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5255     ;;
   5256   sni)
   5257     lt_cv_file_magic_cmd='/bin/file'
   5258     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5259     lt_cv_file_magic_test_file=/lib/libc.so
   5260     ;;
   5261   siemens)
   5262     lt_cv_deplibs_check_method=pass_all
   5263     ;;
   5264   pc)
   5265     lt_cv_deplibs_check_method=pass_all
   5266     ;;
   5267   esac
   5268   ;;
   5269 
   5270 tpf*)
   5271   lt_cv_deplibs_check_method=pass_all
   5272   ;;
   5273 esac
   5274 
   5275 fi
   5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5277 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5278 
   5279 file_magic_glob=
   5280 want_nocaseglob=no
   5281 if test "$build" = "$host"; then
   5282   case $host_os in
   5283   mingw* | pw32*)
   5284     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5285       want_nocaseglob=yes
   5286     else
   5287       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5288     fi
   5289     ;;
   5290   esac
   5291 fi
   5292 
   5293 file_magic_cmd=$lt_cv_file_magic_cmd
   5294 deplibs_check_method=$lt_cv_deplibs_check_method
   5295 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 if test -n "$ac_tool_prefix"; then
   5319   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5320 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5322 $as_echo_n "checking for $ac_word... " >&6; }
   5323 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5324   $as_echo_n "(cached) " >&6
   5325 else
   5326   if test -n "$DLLTOOL"; then
   5327   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5328 else
   5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5330 for as_dir in $PATH
   5331 do
   5332   IFS=$as_save_IFS
   5333   test -z "$as_dir" && as_dir=.
   5334     for ac_exec_ext in '' $ac_executable_extensions; do
   5335   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5336     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5337     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5338     break 2
   5339   fi
   5340 done
   5341   done
   5342 IFS=$as_save_IFS
   5343 
   5344 fi
   5345 fi
   5346 DLLTOOL=$ac_cv_prog_DLLTOOL
   5347 if test -n "$DLLTOOL"; then
   5348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5349 $as_echo "$DLLTOOL" >&6; }
   5350 else
   5351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5352 $as_echo "no" >&6; }
   5353 fi
   5354 
   5355 
   5356 fi
   5357 if test -z "$ac_cv_prog_DLLTOOL"; then
   5358   ac_ct_DLLTOOL=$DLLTOOL
   5359   # Extract the first word of "dlltool", so it can be a program name with args.
   5360 set dummy dlltool; ac_word=$2
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5362 $as_echo_n "checking for $ac_word... " >&6; }
   5363 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5364   $as_echo_n "(cached) " >&6
   5365 else
   5366   if test -n "$ac_ct_DLLTOOL"; then
   5367   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5368 else
   5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5370 for as_dir in $PATH
   5371 do
   5372   IFS=$as_save_IFS
   5373   test -z "$as_dir" && as_dir=.
   5374     for ac_exec_ext in '' $ac_executable_extensions; do
   5375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5376     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5378     break 2
   5379   fi
   5380 done
   5381   done
   5382 IFS=$as_save_IFS
   5383 
   5384 fi
   5385 fi
   5386 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5387 if test -n "$ac_ct_DLLTOOL"; then
   5388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5389 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5390 else
   5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5392 $as_echo "no" >&6; }
   5393 fi
   5394 
   5395   if test "x$ac_ct_DLLTOOL" = x; then
   5396     DLLTOOL="false"
   5397   else
   5398     case $cross_compiling:$ac_tool_warned in
   5399 yes:)
   5400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5402 ac_tool_warned=yes ;;
   5403 esac
   5404     DLLTOOL=$ac_ct_DLLTOOL
   5405   fi
   5406 else
   5407   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5408 fi
   5409 
   5410 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5422 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5423 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5424   $as_echo_n "(cached) " >&6
   5425 else
   5426   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5427 
   5428 case $host_os in
   5429 cygwin* | mingw* | pw32* | cegcc*)
   5430   # two different shell functions defined in ltmain.sh
   5431   # decide which to use based on capabilities of $DLLTOOL
   5432   case `$DLLTOOL --help 2>&1` in
   5433   *--identify-strict*)
   5434     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5435     ;;
   5436   *)
   5437     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5438     ;;
   5439   esac
   5440   ;;
   5441 *)
   5442   # fallback: assume linklib IS sharedlib
   5443   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5444   ;;
   5445 esac
   5446 
   5447 fi
   5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5449 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5450 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5451 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 if test -n "$ac_tool_prefix"; then
   5461   for ac_prog in ar
   5462   do
   5463     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5466 $as_echo_n "checking for $ac_word... " >&6; }
   5467 if ${ac_cv_prog_AR+:} false; then :
   5468   $as_echo_n "(cached) " >&6
   5469 else
   5470   if test -n "$AR"; then
   5471   ac_cv_prog_AR="$AR" # Let the user override the test.
   5472 else
   5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5474 for as_dir in $PATH
   5475 do
   5476   IFS=$as_save_IFS
   5477   test -z "$as_dir" && as_dir=.
   5478     for ac_exec_ext in '' $ac_executable_extensions; do
   5479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5480     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5482     break 2
   5483   fi
   5484 done
   5485   done
   5486 IFS=$as_save_IFS
   5487 
   5488 fi
   5489 fi
   5490 AR=$ac_cv_prog_AR
   5491 if test -n "$AR"; then
   5492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5493 $as_echo "$AR" >&6; }
   5494 else
   5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5496 $as_echo "no" >&6; }
   5497 fi
   5498 
   5499 
   5500     test -n "$AR" && break
   5501   done
   5502 fi
   5503 if test -z "$AR"; then
   5504   ac_ct_AR=$AR
   5505   for ac_prog in ar
   5506 do
   5507   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5508 set dummy $ac_prog; ac_word=$2
   5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5510 $as_echo_n "checking for $ac_word... " >&6; }
   5511 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5512   $as_echo_n "(cached) " >&6
   5513 else
   5514   if test -n "$ac_ct_AR"; then
   5515   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5516 else
   5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5518 for as_dir in $PATH
   5519 do
   5520   IFS=$as_save_IFS
   5521   test -z "$as_dir" && as_dir=.
   5522     for ac_exec_ext in '' $ac_executable_extensions; do
   5523   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5524     ac_cv_prog_ac_ct_AR="$ac_prog"
   5525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5526     break 2
   5527   fi
   5528 done
   5529   done
   5530 IFS=$as_save_IFS
   5531 
   5532 fi
   5533 fi
   5534 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5535 if test -n "$ac_ct_AR"; then
   5536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5537 $as_echo "$ac_ct_AR" >&6; }
   5538 else
   5539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5540 $as_echo "no" >&6; }
   5541 fi
   5542 
   5543 
   5544   test -n "$ac_ct_AR" && break
   5545 done
   5546 
   5547   if test "x$ac_ct_AR" = x; then
   5548     AR="false"
   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     AR=$ac_ct_AR
   5557   fi
   5558 fi
   5559 
   5560 : ${AR=ar}
   5561 : ${AR_FLAGS=cru}
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5574 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5575 if ${lt_cv_ar_at_file+:} false; then :
   5576   $as_echo_n "(cached) " >&6
   5577 else
   5578   lt_cv_ar_at_file=no
   5579    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5580 /* end confdefs.h.  */
   5581 
   5582 int
   5583 main ()
   5584 {
   5585 
   5586   ;
   5587   return 0;
   5588 }
   5589 _ACEOF
   5590 if ac_fn_c_try_compile "$LINENO"; then :
   5591   echo conftest.$ac_objext > conftest.lst
   5592       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5593       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5594   (eval $lt_ar_try) 2>&5
   5595   ac_status=$?
   5596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5597   test $ac_status = 0; }
   5598       if test "$ac_status" -eq 0; then
   5599 	# Ensure the archiver fails upon bogus file names.
   5600 	rm -f conftest.$ac_objext libconftest.a
   5601 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5602   (eval $lt_ar_try) 2>&5
   5603   ac_status=$?
   5604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5605   test $ac_status = 0; }
   5606 	if test "$ac_status" -ne 0; then
   5607           lt_cv_ar_at_file=@
   5608         fi
   5609       fi
   5610       rm -f conftest.* libconftest.a
   5611 
   5612 fi
   5613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5614 
   5615 fi
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5617 $as_echo "$lt_cv_ar_at_file" >&6; }
   5618 
   5619 if test "x$lt_cv_ar_at_file" = xno; then
   5620   archiver_list_spec=
   5621 else
   5622   archiver_list_spec=$lt_cv_ar_at_file
   5623 fi
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 if test -n "$ac_tool_prefix"; then
   5632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5633 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5635 $as_echo_n "checking for $ac_word... " >&6; }
   5636 if ${ac_cv_prog_STRIP+:} false; then :
   5637   $as_echo_n "(cached) " >&6
   5638 else
   5639   if test -n "$STRIP"; then
   5640   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5641 else
   5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5643 for as_dir in $PATH
   5644 do
   5645   IFS=$as_save_IFS
   5646   test -z "$as_dir" && as_dir=.
   5647     for ac_exec_ext in '' $ac_executable_extensions; do
   5648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5649     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5651     break 2
   5652   fi
   5653 done
   5654   done
   5655 IFS=$as_save_IFS
   5656 
   5657 fi
   5658 fi
   5659 STRIP=$ac_cv_prog_STRIP
   5660 if test -n "$STRIP"; then
   5661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5662 $as_echo "$STRIP" >&6; }
   5663 else
   5664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5665 $as_echo "no" >&6; }
   5666 fi
   5667 
   5668 
   5669 fi
   5670 if test -z "$ac_cv_prog_STRIP"; then
   5671   ac_ct_STRIP=$STRIP
   5672   # Extract the first word of "strip", so it can be a program name with args.
   5673 set dummy strip; ac_word=$2
   5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5675 $as_echo_n "checking for $ac_word... " >&6; }
   5676 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5677   $as_echo_n "(cached) " >&6
   5678 else
   5679   if test -n "$ac_ct_STRIP"; then
   5680   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5681 else
   5682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5683 for as_dir in $PATH
   5684 do
   5685   IFS=$as_save_IFS
   5686   test -z "$as_dir" && as_dir=.
   5687     for ac_exec_ext in '' $ac_executable_extensions; do
   5688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5689     ac_cv_prog_ac_ct_STRIP="strip"
   5690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5691     break 2
   5692   fi
   5693 done
   5694   done
   5695 IFS=$as_save_IFS
   5696 
   5697 fi
   5698 fi
   5699 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5700 if test -n "$ac_ct_STRIP"; then
   5701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5702 $as_echo "$ac_ct_STRIP" >&6; }
   5703 else
   5704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5705 $as_echo "no" >&6; }
   5706 fi
   5707 
   5708   if test "x$ac_ct_STRIP" = x; then
   5709     STRIP=":"
   5710   else
   5711     case $cross_compiling:$ac_tool_warned in
   5712 yes:)
   5713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5715 ac_tool_warned=yes ;;
   5716 esac
   5717     STRIP=$ac_ct_STRIP
   5718   fi
   5719 else
   5720   STRIP="$ac_cv_prog_STRIP"
   5721 fi
   5722 
   5723 test -z "$STRIP" && STRIP=:
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 if test -n "$ac_tool_prefix"; then
   5731   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5732 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5734 $as_echo_n "checking for $ac_word... " >&6; }
   5735 if ${ac_cv_prog_RANLIB+:} false; then :
   5736   $as_echo_n "(cached) " >&6
   5737 else
   5738   if test -n "$RANLIB"; then
   5739   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5740 else
   5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5742 for as_dir in $PATH
   5743 do
   5744   IFS=$as_save_IFS
   5745   test -z "$as_dir" && as_dir=.
   5746     for ac_exec_ext in '' $ac_executable_extensions; do
   5747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5748     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5750     break 2
   5751   fi
   5752 done
   5753   done
   5754 IFS=$as_save_IFS
   5755 
   5756 fi
   5757 fi
   5758 RANLIB=$ac_cv_prog_RANLIB
   5759 if test -n "$RANLIB"; then
   5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5761 $as_echo "$RANLIB" >&6; }
   5762 else
   5763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5764 $as_echo "no" >&6; }
   5765 fi
   5766 
   5767 
   5768 fi
   5769 if test -z "$ac_cv_prog_RANLIB"; then
   5770   ac_ct_RANLIB=$RANLIB
   5771   # Extract the first word of "ranlib", so it can be a program name with args.
   5772 set dummy ranlib; ac_word=$2
   5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5774 $as_echo_n "checking for $ac_word... " >&6; }
   5775 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5776   $as_echo_n "(cached) " >&6
   5777 else
   5778   if test -n "$ac_ct_RANLIB"; then
   5779   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5780 else
   5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5782 for as_dir in $PATH
   5783 do
   5784   IFS=$as_save_IFS
   5785   test -z "$as_dir" && as_dir=.
   5786     for ac_exec_ext in '' $ac_executable_extensions; do
   5787   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5788     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5790     break 2
   5791   fi
   5792 done
   5793   done
   5794 IFS=$as_save_IFS
   5795 
   5796 fi
   5797 fi
   5798 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5799 if test -n "$ac_ct_RANLIB"; then
   5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5801 $as_echo "$ac_ct_RANLIB" >&6; }
   5802 else
   5803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5804 $as_echo "no" >&6; }
   5805 fi
   5806 
   5807   if test "x$ac_ct_RANLIB" = x; then
   5808     RANLIB=":"
   5809   else
   5810     case $cross_compiling:$ac_tool_warned in
   5811 yes:)
   5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5814 ac_tool_warned=yes ;;
   5815 esac
   5816     RANLIB=$ac_ct_RANLIB
   5817   fi
   5818 else
   5819   RANLIB="$ac_cv_prog_RANLIB"
   5820 fi
   5821 
   5822 test -z "$RANLIB" && RANLIB=:
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 # Determine commands to create old-style static archives.
   5830 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5831 old_postinstall_cmds='chmod 644 $oldlib'
   5832 old_postuninstall_cmds=
   5833 
   5834 if test -n "$RANLIB"; then
   5835   case $host_os in
   5836   openbsd*)
   5837     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5838     ;;
   5839   *)
   5840     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5841     ;;
   5842   esac
   5843   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5844 fi
   5845 
   5846 case $host_os in
   5847   darwin*)
   5848     lock_old_archive_extraction=yes ;;
   5849   *)
   5850     lock_old_archive_extraction=no ;;
   5851 esac
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 # If no C compiler was specified, use CC.
   5892 LTCC=${LTCC-"$CC"}
   5893 
   5894 # If no C compiler flags were specified, use CFLAGS.
   5895 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5896 
   5897 # Allow CC to be a program name with arguments.
   5898 compiler=$CC
   5899 
   5900 
   5901 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5903 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5904 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5905   $as_echo_n "(cached) " >&6
   5906 else
   5907 
   5908 # These are sane defaults that work on at least a few old systems.
   5909 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5910 
   5911 # Character class describing NM global symbol codes.
   5912 symcode='[BCDEGRST]'
   5913 
   5914 # Regexp to match symbols that can be accessed directly from C.
   5915 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5916 
   5917 # Define system-specific variables.
   5918 case $host_os in
   5919 aix*)
   5920   symcode='[BCDT]'
   5921   ;;
   5922 cygwin* | mingw* | pw32* | cegcc*)
   5923   symcode='[ABCDGISTW]'
   5924   ;;
   5925 hpux*)
   5926   if test "$host_cpu" = ia64; then
   5927     symcode='[ABCDEGRST]'
   5928   fi
   5929   ;;
   5930 irix* | nonstopux*)
   5931   symcode='[BCDEGRST]'
   5932   ;;
   5933 osf*)
   5934   symcode='[BCDEGQRST]'
   5935   ;;
   5936 solaris*)
   5937   symcode='[BDRT]'
   5938   ;;
   5939 sco3.2v5*)
   5940   symcode='[DT]'
   5941   ;;
   5942 sysv4.2uw2*)
   5943   symcode='[DT]'
   5944   ;;
   5945 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5946   symcode='[ABDT]'
   5947   ;;
   5948 sysv4)
   5949   symcode='[DFNSTU]'
   5950   ;;
   5951 esac
   5952 
   5953 # If we're using GNU nm, then use its standard symbol codes.
   5954 case `$NM -V 2>&1` in
   5955 *GNU* | *'with BFD'*)
   5956   symcode='[ABCDGIRSTW]' ;;
   5957 esac
   5958 
   5959 # Transform an extracted symbol line into a proper C declaration.
   5960 # Some systems (esp. on ia64) link data and code symbols differently,
   5961 # so use this general approach.
   5962 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5963 
   5964 # Transform an extracted symbol line into symbol name and symbol address
   5965 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5966 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'"
   5967 
   5968 # Handle CRLF in mingw tool chain
   5969 opt_cr=
   5970 case $build_os in
   5971 mingw*)
   5972   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5973   ;;
   5974 esac
   5975 
   5976 # Try without a prefix underscore, then with it.
   5977 for ac_symprfx in "" "_"; do
   5978 
   5979   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5980   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5981 
   5982   # Write the raw and C identifiers.
   5983   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5984     # Fake it for dumpbin and say T for any non-static function
   5985     # and D for any global variable.
   5986     # Also find C++ and __fastcall symbols from MSVC++,
   5987     # which start with @ or ?.
   5988     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5989 "     {last_section=section; section=\$ 3};"\
   5990 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5991 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5992 "     \$ 0!~/External *\|/{next};"\
   5993 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5994 "     {if(hide[section]) next};"\
   5995 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5996 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5997 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5998 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5999 "     ' prfx=^$ac_symprfx"
   6000   else
   6001     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6002   fi
   6003   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6004 
   6005   # Check to see that the pipe works correctly.
   6006   pipe_works=no
   6007 
   6008   rm -f conftest*
   6009   cat > conftest.$ac_ext <<_LT_EOF
   6010 #ifdef __cplusplus
   6011 extern "C" {
   6012 #endif
   6013 char nm_test_var;
   6014 void nm_test_func(void);
   6015 void nm_test_func(void){}
   6016 #ifdef __cplusplus
   6017 }
   6018 #endif
   6019 int main(){nm_test_var='a';nm_test_func();return(0);}
   6020 _LT_EOF
   6021 
   6022   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6023   (eval $ac_compile) 2>&5
   6024   ac_status=$?
   6025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6026   test $ac_status = 0; }; then
   6027     # Now try to grab the symbols.
   6028     nlist=conftest.nm
   6029     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6030   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6031   ac_status=$?
   6032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6033   test $ac_status = 0; } && test -s "$nlist"; then
   6034       # Try sorting and uniquifying the output.
   6035       if sort "$nlist" | uniq > "$nlist"T; then
   6036 	mv -f "$nlist"T "$nlist"
   6037       else
   6038 	rm -f "$nlist"T
   6039       fi
   6040 
   6041       # Make sure that we snagged all the symbols we need.
   6042       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6043 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6044 	  cat <<_LT_EOF > conftest.$ac_ext
   6045 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6046 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6047 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6048    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6049 # define LT_DLSYM_CONST
   6050 #elif defined(__osf__)
   6051 /* This system does not cope well with relocations in const data.  */
   6052 # define LT_DLSYM_CONST
   6053 #else
   6054 # define LT_DLSYM_CONST const
   6055 #endif
   6056 
   6057 #ifdef __cplusplus
   6058 extern "C" {
   6059 #endif
   6060 
   6061 _LT_EOF
   6062 	  # Now generate the symbol file.
   6063 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6064 
   6065 	  cat <<_LT_EOF >> conftest.$ac_ext
   6066 
   6067 /* The mapping between symbol names and symbols.  */
   6068 LT_DLSYM_CONST struct {
   6069   const char *name;
   6070   void       *address;
   6071 }
   6072 lt__PROGRAM__LTX_preloaded_symbols[] =
   6073 {
   6074   { "@PROGRAM@", (void *) 0 },
   6075 _LT_EOF
   6076 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6077 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6078   {0, (void *) 0}
   6079 };
   6080 
   6081 /* This works around a problem in FreeBSD linker */
   6082 #ifdef FREEBSD_WORKAROUND
   6083 static const void *lt_preloaded_setup() {
   6084   return lt__PROGRAM__LTX_preloaded_symbols;
   6085 }
   6086 #endif
   6087 
   6088 #ifdef __cplusplus
   6089 }
   6090 #endif
   6091 _LT_EOF
   6092 	  # Now try linking the two files.
   6093 	  mv conftest.$ac_objext conftstm.$ac_objext
   6094 	  lt_globsym_save_LIBS=$LIBS
   6095 	  lt_globsym_save_CFLAGS=$CFLAGS
   6096 	  LIBS="conftstm.$ac_objext"
   6097 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6098 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6099   (eval $ac_link) 2>&5
   6100   ac_status=$?
   6101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6102   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6103 	    pipe_works=yes
   6104 	  fi
   6105 	  LIBS=$lt_globsym_save_LIBS
   6106 	  CFLAGS=$lt_globsym_save_CFLAGS
   6107 	else
   6108 	  echo "cannot find nm_test_func in $nlist" >&5
   6109 	fi
   6110       else
   6111 	echo "cannot find nm_test_var in $nlist" >&5
   6112       fi
   6113     else
   6114       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6115     fi
   6116   else
   6117     echo "$progname: failed program was:" >&5
   6118     cat conftest.$ac_ext >&5
   6119   fi
   6120   rm -rf conftest* conftst*
   6121 
   6122   # Do not use the global_symbol_pipe unless it works.
   6123   if test "$pipe_works" = yes; then
   6124     break
   6125   else
   6126     lt_cv_sys_global_symbol_pipe=
   6127   fi
   6128 done
   6129 
   6130 fi
   6131 
   6132 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6133   lt_cv_sys_global_symbol_to_cdecl=
   6134 fi
   6135 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6137 $as_echo "failed" >&6; }
   6138 else
   6139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6140 $as_echo "ok" >&6; }
   6141 fi
   6142 
   6143 # Response file support.
   6144 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6145   nm_file_list_spec='@'
   6146 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6147   nm_file_list_spec='@'
   6148 fi
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6177 $as_echo_n "checking for sysroot... " >&6; }
   6178 
   6179 # Check whether --with-sysroot was given.
   6180 if test "${with_sysroot+set}" = set; then :
   6181   withval=$with_sysroot;
   6182 else
   6183   with_sysroot=no
   6184 fi
   6185 
   6186 
   6187 lt_sysroot=
   6188 case ${with_sysroot} in #(
   6189  yes)
   6190    if test "$GCC" = yes; then
   6191      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6192    fi
   6193    ;; #(
   6194  /*)
   6195    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6196    ;; #(
   6197  no|'')
   6198    ;; #(
   6199  *)
   6200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6201 $as_echo "${with_sysroot}" >&6; }
   6202    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6203    ;;
   6204 esac
   6205 
   6206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6207 $as_echo "${lt_sysroot:-no}" >&6; }
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 # Check whether --enable-libtool-lock was given.
   6214 if test "${enable_libtool_lock+set}" = set; then :
   6215   enableval=$enable_libtool_lock;
   6216 fi
   6217 
   6218 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6219 
   6220 # Some flags need to be propagated to the compiler or linker for good
   6221 # libtool support.
   6222 case $host in
   6223 ia64-*-hpux*)
   6224   # Find out which ABI we are using.
   6225   echo 'int i;' > conftest.$ac_ext
   6226   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6227   (eval $ac_compile) 2>&5
   6228   ac_status=$?
   6229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6230   test $ac_status = 0; }; then
   6231     case `/usr/bin/file conftest.$ac_objext` in
   6232       *ELF-32*)
   6233 	HPUX_IA64_MODE="32"
   6234 	;;
   6235       *ELF-64*)
   6236 	HPUX_IA64_MODE="64"
   6237 	;;
   6238     esac
   6239   fi
   6240   rm -rf conftest*
   6241   ;;
   6242 *-*-irix6*)
   6243   # Find out which ABI we are using.
   6244   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6245   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6246   (eval $ac_compile) 2>&5
   6247   ac_status=$?
   6248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6249   test $ac_status = 0; }; then
   6250     if test "$lt_cv_prog_gnu_ld" = yes; then
   6251       case `/usr/bin/file conftest.$ac_objext` in
   6252 	*32-bit*)
   6253 	  LD="${LD-ld} -melf32bsmip"
   6254 	  ;;
   6255 	*N32*)
   6256 	  LD="${LD-ld} -melf32bmipn32"
   6257 	  ;;
   6258 	*64-bit*)
   6259 	  LD="${LD-ld} -melf64bmip"
   6260 	;;
   6261       esac
   6262     else
   6263       case `/usr/bin/file conftest.$ac_objext` in
   6264 	*32-bit*)
   6265 	  LD="${LD-ld} -32"
   6266 	  ;;
   6267 	*N32*)
   6268 	  LD="${LD-ld} -n32"
   6269 	  ;;
   6270 	*64-bit*)
   6271 	  LD="${LD-ld} -64"
   6272 	  ;;
   6273       esac
   6274     fi
   6275   fi
   6276   rm -rf conftest*
   6277   ;;
   6278 
   6279 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6280 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6281   # Find out which ABI we are using.
   6282   echo 'int i;' > conftest.$ac_ext
   6283   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6284   (eval $ac_compile) 2>&5
   6285   ac_status=$?
   6286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6287   test $ac_status = 0; }; then
   6288     case `/usr/bin/file conftest.o` in
   6289       *32-bit*)
   6290 	case $host in
   6291 	  x86_64-*kfreebsd*-gnu)
   6292 	    LD="${LD-ld} -m elf_i386_fbsd"
   6293 	    ;;
   6294 	  x86_64-*linux*)
   6295 	    LD="${LD-ld} -m elf_i386"
   6296 	    ;;
   6297 	  ppc64-*linux*|powerpc64-*linux*)
   6298 	    LD="${LD-ld} -m elf32ppclinux"
   6299 	    ;;
   6300 	  s390x-*linux*)
   6301 	    LD="${LD-ld} -m elf_s390"
   6302 	    ;;
   6303 	  sparc64-*linux*)
   6304 	    LD="${LD-ld} -m elf32_sparc"
   6305 	    ;;
   6306 	esac
   6307 	;;
   6308       *64-bit*)
   6309 	case $host in
   6310 	  x86_64-*kfreebsd*-gnu)
   6311 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6312 	    ;;
   6313 	  x86_64-*linux*)
   6314 	    LD="${LD-ld} -m elf_x86_64"
   6315 	    ;;
   6316 	  ppc*-*linux*|powerpc*-*linux*)
   6317 	    LD="${LD-ld} -m elf64ppc"
   6318 	    ;;
   6319 	  s390*-*linux*|s390*-*tpf*)
   6320 	    LD="${LD-ld} -m elf64_s390"
   6321 	    ;;
   6322 	  sparc*-*linux*)
   6323 	    LD="${LD-ld} -m elf64_sparc"
   6324 	    ;;
   6325 	esac
   6326 	;;
   6327     esac
   6328   fi
   6329   rm -rf conftest*
   6330   ;;
   6331 
   6332 *-*-sco3.2v5*)
   6333   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6334   SAVE_CFLAGS="$CFLAGS"
   6335   CFLAGS="$CFLAGS -belf"
   6336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6337 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6338 if ${lt_cv_cc_needs_belf+:} false; then :
   6339   $as_echo_n "(cached) " >&6
   6340 else
   6341   ac_ext=c
   6342 ac_cpp='$CPP $CPPFLAGS'
   6343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6346 
   6347      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 
   6350 int
   6351 main ()
   6352 {
   6353 
   6354   ;
   6355   return 0;
   6356 }
   6357 _ACEOF
   6358 if ac_fn_c_try_link "$LINENO"; then :
   6359   lt_cv_cc_needs_belf=yes
   6360 else
   6361   lt_cv_cc_needs_belf=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext \
   6364     conftest$ac_exeext conftest.$ac_ext
   6365      ac_ext=c
   6366 ac_cpp='$CPP $CPPFLAGS'
   6367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6370 
   6371 fi
   6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6373 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6374   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6375     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6376     CFLAGS="$SAVE_CFLAGS"
   6377   fi
   6378   ;;
   6379 *-*solaris*)
   6380   # Find out which ABI we are using.
   6381   echo 'int i;' > conftest.$ac_ext
   6382   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6383   (eval $ac_compile) 2>&5
   6384   ac_status=$?
   6385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6386   test $ac_status = 0; }; then
   6387     case `/usr/bin/file conftest.o` in
   6388     *64-bit*)
   6389       case $lt_cv_prog_gnu_ld in
   6390       yes*)
   6391         case $host in
   6392         i?86-*-solaris*)
   6393           LD="${LD-ld} -m elf_x86_64"
   6394           ;;
   6395         sparc*-*-solaris*)
   6396           LD="${LD-ld} -m elf64_sparc"
   6397           ;;
   6398         esac
   6399         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6400         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6401           LD="${LD-ld}_sol2"
   6402         fi
   6403         ;;
   6404       *)
   6405 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6406 	  LD="${LD-ld} -64"
   6407 	fi
   6408 	;;
   6409       esac
   6410       ;;
   6411     esac
   6412   fi
   6413   rm -rf conftest*
   6414   ;;
   6415 esac
   6416 
   6417 need_locks="$enable_libtool_lock"
   6418 
   6419 if test -n "$ac_tool_prefix"; then
   6420   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6421 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6423 $as_echo_n "checking for $ac_word... " >&6; }
   6424 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   if test -n "$MANIFEST_TOOL"; then
   6428   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6429 else
   6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6431 for as_dir in $PATH
   6432 do
   6433   IFS=$as_save_IFS
   6434   test -z "$as_dir" && as_dir=.
   6435     for ac_exec_ext in '' $ac_executable_extensions; do
   6436   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6437     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6439     break 2
   6440   fi
   6441 done
   6442   done
   6443 IFS=$as_save_IFS
   6444 
   6445 fi
   6446 fi
   6447 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6448 if test -n "$MANIFEST_TOOL"; then
   6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6450 $as_echo "$MANIFEST_TOOL" >&6; }
   6451 else
   6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6453 $as_echo "no" >&6; }
   6454 fi
   6455 
   6456 
   6457 fi
   6458 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6459   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6460   # Extract the first word of "mt", so it can be a program name with args.
   6461 set dummy mt; ac_word=$2
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6463 $as_echo_n "checking for $ac_word... " >&6; }
   6464 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6465   $as_echo_n "(cached) " >&6
   6466 else
   6467   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6468   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6469 else
   6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6471 for as_dir in $PATH
   6472 do
   6473   IFS=$as_save_IFS
   6474   test -z "$as_dir" && as_dir=.
   6475     for ac_exec_ext in '' $ac_executable_extensions; do
   6476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6477     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6479     break 2
   6480   fi
   6481 done
   6482   done
   6483 IFS=$as_save_IFS
   6484 
   6485 fi
   6486 fi
   6487 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6488 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6490 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6491 else
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6493 $as_echo "no" >&6; }
   6494 fi
   6495 
   6496   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6497     MANIFEST_TOOL=":"
   6498   else
   6499     case $cross_compiling:$ac_tool_warned in
   6500 yes:)
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6503 ac_tool_warned=yes ;;
   6504 esac
   6505     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6506   fi
   6507 else
   6508   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6509 fi
   6510 
   6511 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6513 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6514 if ${lt_cv_path_mainfest_tool+:} false; then :
   6515   $as_echo_n "(cached) " >&6
   6516 else
   6517   lt_cv_path_mainfest_tool=no
   6518   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6519   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6520   cat conftest.err >&5
   6521   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6522     lt_cv_path_mainfest_tool=yes
   6523   fi
   6524   rm -f conftest*
   6525 fi
   6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6527 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6528 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6529   MANIFEST_TOOL=:
   6530 fi
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537   case $host_os in
   6538     rhapsody* | darwin*)
   6539     if test -n "$ac_tool_prefix"; then
   6540   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6541 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6543 $as_echo_n "checking for $ac_word... " >&6; }
   6544 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6545   $as_echo_n "(cached) " >&6
   6546 else
   6547   if test -n "$DSYMUTIL"; then
   6548   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6549 else
   6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6551 for as_dir in $PATH
   6552 do
   6553   IFS=$as_save_IFS
   6554   test -z "$as_dir" && as_dir=.
   6555     for ac_exec_ext in '' $ac_executable_extensions; do
   6556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6557     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6559     break 2
   6560   fi
   6561 done
   6562   done
   6563 IFS=$as_save_IFS
   6564 
   6565 fi
   6566 fi
   6567 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6568 if test -n "$DSYMUTIL"; then
   6569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6570 $as_echo "$DSYMUTIL" >&6; }
   6571 else
   6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6573 $as_echo "no" >&6; }
   6574 fi
   6575 
   6576 
   6577 fi
   6578 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6579   ac_ct_DSYMUTIL=$DSYMUTIL
   6580   # Extract the first word of "dsymutil", so it can be a program name with args.
   6581 set dummy dsymutil; ac_word=$2
   6582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6583 $as_echo_n "checking for $ac_word... " >&6; }
   6584 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6585   $as_echo_n "(cached) " >&6
   6586 else
   6587   if test -n "$ac_ct_DSYMUTIL"; then
   6588   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6589 else
   6590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6591 for as_dir in $PATH
   6592 do
   6593   IFS=$as_save_IFS
   6594   test -z "$as_dir" && as_dir=.
   6595     for ac_exec_ext in '' $ac_executable_extensions; do
   6596   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6597     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6599     break 2
   6600   fi
   6601 done
   6602   done
   6603 IFS=$as_save_IFS
   6604 
   6605 fi
   6606 fi
   6607 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6608 if test -n "$ac_ct_DSYMUTIL"; then
   6609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6610 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6611 else
   6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6613 $as_echo "no" >&6; }
   6614 fi
   6615 
   6616   if test "x$ac_ct_DSYMUTIL" = x; then
   6617     DSYMUTIL=":"
   6618   else
   6619     case $cross_compiling:$ac_tool_warned in
   6620 yes:)
   6621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6623 ac_tool_warned=yes ;;
   6624 esac
   6625     DSYMUTIL=$ac_ct_DSYMUTIL
   6626   fi
   6627 else
   6628   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6629 fi
   6630 
   6631     if test -n "$ac_tool_prefix"; then
   6632   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6633 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6635 $as_echo_n "checking for $ac_word... " >&6; }
   6636 if ${ac_cv_prog_NMEDIT+:} false; then :
   6637   $as_echo_n "(cached) " >&6
   6638 else
   6639   if test -n "$NMEDIT"; then
   6640   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6641 else
   6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6643 for as_dir in $PATH
   6644 do
   6645   IFS=$as_save_IFS
   6646   test -z "$as_dir" && as_dir=.
   6647     for ac_exec_ext in '' $ac_executable_extensions; do
   6648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6649     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6651     break 2
   6652   fi
   6653 done
   6654   done
   6655 IFS=$as_save_IFS
   6656 
   6657 fi
   6658 fi
   6659 NMEDIT=$ac_cv_prog_NMEDIT
   6660 if test -n "$NMEDIT"; then
   6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6662 $as_echo "$NMEDIT" >&6; }
   6663 else
   6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6665 $as_echo "no" >&6; }
   6666 fi
   6667 
   6668 
   6669 fi
   6670 if test -z "$ac_cv_prog_NMEDIT"; then
   6671   ac_ct_NMEDIT=$NMEDIT
   6672   # Extract the first word of "nmedit", so it can be a program name with args.
   6673 set dummy nmedit; ac_word=$2
   6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6675 $as_echo_n "checking for $ac_word... " >&6; }
   6676 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6677   $as_echo_n "(cached) " >&6
   6678 else
   6679   if test -n "$ac_ct_NMEDIT"; then
   6680   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6681 else
   6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6683 for as_dir in $PATH
   6684 do
   6685   IFS=$as_save_IFS
   6686   test -z "$as_dir" && as_dir=.
   6687     for ac_exec_ext in '' $ac_executable_extensions; do
   6688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6689     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6691     break 2
   6692   fi
   6693 done
   6694   done
   6695 IFS=$as_save_IFS
   6696 
   6697 fi
   6698 fi
   6699 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6700 if test -n "$ac_ct_NMEDIT"; then
   6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6702 $as_echo "$ac_ct_NMEDIT" >&6; }
   6703 else
   6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6705 $as_echo "no" >&6; }
   6706 fi
   6707 
   6708   if test "x$ac_ct_NMEDIT" = x; then
   6709     NMEDIT=":"
   6710   else
   6711     case $cross_compiling:$ac_tool_warned in
   6712 yes:)
   6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6715 ac_tool_warned=yes ;;
   6716 esac
   6717     NMEDIT=$ac_ct_NMEDIT
   6718   fi
   6719 else
   6720   NMEDIT="$ac_cv_prog_NMEDIT"
   6721 fi
   6722 
   6723     if test -n "$ac_tool_prefix"; then
   6724   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6725 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6727 $as_echo_n "checking for $ac_word... " >&6; }
   6728 if ${ac_cv_prog_LIPO+:} false; then :
   6729   $as_echo_n "(cached) " >&6
   6730 else
   6731   if test -n "$LIPO"; then
   6732   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6733 else
   6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6735 for as_dir in $PATH
   6736 do
   6737   IFS=$as_save_IFS
   6738   test -z "$as_dir" && as_dir=.
   6739     for ac_exec_ext in '' $ac_executable_extensions; do
   6740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6741     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6743     break 2
   6744   fi
   6745 done
   6746   done
   6747 IFS=$as_save_IFS
   6748 
   6749 fi
   6750 fi
   6751 LIPO=$ac_cv_prog_LIPO
   6752 if test -n "$LIPO"; then
   6753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6754 $as_echo "$LIPO" >&6; }
   6755 else
   6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6757 $as_echo "no" >&6; }
   6758 fi
   6759 
   6760 
   6761 fi
   6762 if test -z "$ac_cv_prog_LIPO"; then
   6763   ac_ct_LIPO=$LIPO
   6764   # Extract the first word of "lipo", so it can be a program name with args.
   6765 set dummy lipo; ac_word=$2
   6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6767 $as_echo_n "checking for $ac_word... " >&6; }
   6768 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6769   $as_echo_n "(cached) " >&6
   6770 else
   6771   if test -n "$ac_ct_LIPO"; then
   6772   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6773 else
   6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6775 for as_dir in $PATH
   6776 do
   6777   IFS=$as_save_IFS
   6778   test -z "$as_dir" && as_dir=.
   6779     for ac_exec_ext in '' $ac_executable_extensions; do
   6780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6781     ac_cv_prog_ac_ct_LIPO="lipo"
   6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6783     break 2
   6784   fi
   6785 done
   6786   done
   6787 IFS=$as_save_IFS
   6788 
   6789 fi
   6790 fi
   6791 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6792 if test -n "$ac_ct_LIPO"; then
   6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6794 $as_echo "$ac_ct_LIPO" >&6; }
   6795 else
   6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6797 $as_echo "no" >&6; }
   6798 fi
   6799 
   6800   if test "x$ac_ct_LIPO" = x; then
   6801     LIPO=":"
   6802   else
   6803     case $cross_compiling:$ac_tool_warned in
   6804 yes:)
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6807 ac_tool_warned=yes ;;
   6808 esac
   6809     LIPO=$ac_ct_LIPO
   6810   fi
   6811 else
   6812   LIPO="$ac_cv_prog_LIPO"
   6813 fi
   6814 
   6815     if test -n "$ac_tool_prefix"; then
   6816   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6817 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6819 $as_echo_n "checking for $ac_word... " >&6; }
   6820 if ${ac_cv_prog_OTOOL+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   if test -n "$OTOOL"; then
   6824   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6825 else
   6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6827 for as_dir in $PATH
   6828 do
   6829   IFS=$as_save_IFS
   6830   test -z "$as_dir" && as_dir=.
   6831     for ac_exec_ext in '' $ac_executable_extensions; do
   6832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6833     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6835     break 2
   6836   fi
   6837 done
   6838   done
   6839 IFS=$as_save_IFS
   6840 
   6841 fi
   6842 fi
   6843 OTOOL=$ac_cv_prog_OTOOL
   6844 if test -n "$OTOOL"; then
   6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6846 $as_echo "$OTOOL" >&6; }
   6847 else
   6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6849 $as_echo "no" >&6; }
   6850 fi
   6851 
   6852 
   6853 fi
   6854 if test -z "$ac_cv_prog_OTOOL"; then
   6855   ac_ct_OTOOL=$OTOOL
   6856   # Extract the first word of "otool", so it can be a program name with args.
   6857 set dummy otool; ac_word=$2
   6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6859 $as_echo_n "checking for $ac_word... " >&6; }
   6860 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   if test -n "$ac_ct_OTOOL"; then
   6864   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6865 else
   6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6867 for as_dir in $PATH
   6868 do
   6869   IFS=$as_save_IFS
   6870   test -z "$as_dir" && as_dir=.
   6871     for ac_exec_ext in '' $ac_executable_extensions; do
   6872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6873     ac_cv_prog_ac_ct_OTOOL="otool"
   6874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6875     break 2
   6876   fi
   6877 done
   6878   done
   6879 IFS=$as_save_IFS
   6880 
   6881 fi
   6882 fi
   6883 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6884 if test -n "$ac_ct_OTOOL"; then
   6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6886 $as_echo "$ac_ct_OTOOL" >&6; }
   6887 else
   6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6889 $as_echo "no" >&6; }
   6890 fi
   6891 
   6892   if test "x$ac_ct_OTOOL" = x; then
   6893     OTOOL=":"
   6894   else
   6895     case $cross_compiling:$ac_tool_warned in
   6896 yes:)
   6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6899 ac_tool_warned=yes ;;
   6900 esac
   6901     OTOOL=$ac_ct_OTOOL
   6902   fi
   6903 else
   6904   OTOOL="$ac_cv_prog_OTOOL"
   6905 fi
   6906 
   6907     if test -n "$ac_tool_prefix"; then
   6908   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6909 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6911 $as_echo_n "checking for $ac_word... " >&6; }
   6912 if ${ac_cv_prog_OTOOL64+:} false; then :
   6913   $as_echo_n "(cached) " >&6
   6914 else
   6915   if test -n "$OTOOL64"; then
   6916   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6917 else
   6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6919 for as_dir in $PATH
   6920 do
   6921   IFS=$as_save_IFS
   6922   test -z "$as_dir" && as_dir=.
   6923     for ac_exec_ext in '' $ac_executable_extensions; do
   6924   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6925     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6927     break 2
   6928   fi
   6929 done
   6930   done
   6931 IFS=$as_save_IFS
   6932 
   6933 fi
   6934 fi
   6935 OTOOL64=$ac_cv_prog_OTOOL64
   6936 if test -n "$OTOOL64"; then
   6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6938 $as_echo "$OTOOL64" >&6; }
   6939 else
   6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6941 $as_echo "no" >&6; }
   6942 fi
   6943 
   6944 
   6945 fi
   6946 if test -z "$ac_cv_prog_OTOOL64"; then
   6947   ac_ct_OTOOL64=$OTOOL64
   6948   # Extract the first word of "otool64", so it can be a program name with args.
   6949 set dummy otool64; ac_word=$2
   6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6951 $as_echo_n "checking for $ac_word... " >&6; }
   6952 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6953   $as_echo_n "(cached) " >&6
   6954 else
   6955   if test -n "$ac_ct_OTOOL64"; then
   6956   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6957 else
   6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6959 for as_dir in $PATH
   6960 do
   6961   IFS=$as_save_IFS
   6962   test -z "$as_dir" && as_dir=.
   6963     for ac_exec_ext in '' $ac_executable_extensions; do
   6964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6965     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6967     break 2
   6968   fi
   6969 done
   6970   done
   6971 IFS=$as_save_IFS
   6972 
   6973 fi
   6974 fi
   6975 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6976 if test -n "$ac_ct_OTOOL64"; then
   6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6978 $as_echo "$ac_ct_OTOOL64" >&6; }
   6979 else
   6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6981 $as_echo "no" >&6; }
   6982 fi
   6983 
   6984   if test "x$ac_ct_OTOOL64" = x; then
   6985     OTOOL64=":"
   6986   else
   6987     case $cross_compiling:$ac_tool_warned in
   6988 yes:)
   6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6991 ac_tool_warned=yes ;;
   6992 esac
   6993     OTOOL64=$ac_ct_OTOOL64
   6994   fi
   6995 else
   6996   OTOOL64="$ac_cv_prog_OTOOL64"
   6997 fi
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7026 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7027 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7028   $as_echo_n "(cached) " >&6
   7029 else
   7030   lt_cv_apple_cc_single_mod=no
   7031       if test -z "${LT_MULTI_MODULE}"; then
   7032 	# By default we will add the -single_module flag. You can override
   7033 	# by either setting the environment variable LT_MULTI_MODULE
   7034 	# non-empty at configure time, or by adding -multi_module to the
   7035 	# link flags.
   7036 	rm -rf libconftest.dylib*
   7037 	echo "int foo(void){return 1;}" > conftest.c
   7038 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7039 -dynamiclib -Wl,-single_module conftest.c" >&5
   7040 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7041 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7042         _lt_result=$?
   7043 	# If there is a non-empty error log, and "single_module"
   7044 	# appears in it, assume the flag caused a linker warning
   7045         if test -s conftest.err && $GREP single_module conftest.err; then
   7046 	  cat conftest.err >&5
   7047 	# Otherwise, if the output was created with a 0 exit code from
   7048 	# the compiler, it worked.
   7049 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7050 	  lt_cv_apple_cc_single_mod=yes
   7051 	else
   7052 	  cat conftest.err >&5
   7053 	fi
   7054 	rm -rf libconftest.dylib*
   7055 	rm -f conftest.*
   7056       fi
   7057 fi
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7059 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7060 
   7061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7062 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7063 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7064   $as_echo_n "(cached) " >&6
   7065 else
   7066   lt_cv_ld_exported_symbols_list=no
   7067       save_LDFLAGS=$LDFLAGS
   7068       echo "_main" > conftest.sym
   7069       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7071 /* end confdefs.h.  */
   7072 
   7073 int
   7074 main ()
   7075 {
   7076 
   7077   ;
   7078   return 0;
   7079 }
   7080 _ACEOF
   7081 if ac_fn_c_try_link "$LINENO"; then :
   7082   lt_cv_ld_exported_symbols_list=yes
   7083 else
   7084   lt_cv_ld_exported_symbols_list=no
   7085 fi
   7086 rm -f core conftest.err conftest.$ac_objext \
   7087     conftest$ac_exeext conftest.$ac_ext
   7088 	LDFLAGS="$save_LDFLAGS"
   7089 
   7090 fi
   7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7092 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7093 
   7094     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7095 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7096 if ${lt_cv_ld_force_load+:} false; then :
   7097   $as_echo_n "(cached) " >&6
   7098 else
   7099   lt_cv_ld_force_load=no
   7100       cat > conftest.c << _LT_EOF
   7101 int forced_loaded() { return 2;}
   7102 _LT_EOF
   7103       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7104       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7105       echo "$AR cru libconftest.a conftest.o" >&5
   7106       $AR cru libconftest.a conftest.o 2>&5
   7107       echo "$RANLIB libconftest.a" >&5
   7108       $RANLIB libconftest.a 2>&5
   7109       cat > conftest.c << _LT_EOF
   7110 int main() { return 0;}
   7111 _LT_EOF
   7112       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7113       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7114       _lt_result=$?
   7115       if test -s conftest.err && $GREP force_load conftest.err; then
   7116 	cat conftest.err >&5
   7117       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7118 	lt_cv_ld_force_load=yes
   7119       else
   7120 	cat conftest.err >&5
   7121       fi
   7122         rm -f conftest.err libconftest.a conftest conftest.c
   7123         rm -rf conftest.dSYM
   7124 
   7125 fi
   7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7127 $as_echo "$lt_cv_ld_force_load" >&6; }
   7128     case $host_os in
   7129     rhapsody* | darwin1.[012])
   7130       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7131     darwin1.*)
   7132       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7133     darwin*) # darwin 5.x on
   7134       # if running on 10.5 or later, the deployment target defaults
   7135       # to the OS version, if on x86, and 10.4, the deployment
   7136       # target defaults to 10.4. Don't you love it?
   7137       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7138 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7139 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7140 	10.[012]*)
   7141 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7142 	10.*)
   7143 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7144       esac
   7145     ;;
   7146   esac
   7147     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7148       _lt_dar_single_mod='$single_module'
   7149     fi
   7150     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7151       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7152     else
   7153       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7154     fi
   7155     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7156       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7157     else
   7158       _lt_dsymutil=
   7159     fi
   7160     ;;
   7161   esac
   7162 
   7163 ac_ext=c
   7164 ac_cpp='$CPP $CPPFLAGS'
   7165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7169 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7170 # On Suns, sometimes $CPP names a directory.
   7171 if test -n "$CPP" && test -d "$CPP"; then
   7172   CPP=
   7173 fi
   7174 if test -z "$CPP"; then
   7175   if ${ac_cv_prog_CPP+:} false; then :
   7176   $as_echo_n "(cached) " >&6
   7177 else
   7178       # Double quotes because CPP needs to be expanded
   7179     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7180     do
   7181       ac_preproc_ok=false
   7182 for ac_c_preproc_warn_flag in '' yes
   7183 do
   7184   # Use a header file that comes with gcc, so configuring glibc
   7185   # with a fresh cross-compiler works.
   7186   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7187   # <limits.h> exists even on freestanding compilers.
   7188   # On the NeXT, cc -E runs the code through the compiler's parser,
   7189   # not just through cpp. "Syntax error" is here to catch this case.
   7190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7191 /* end confdefs.h.  */
   7192 #ifdef __STDC__
   7193 # include <limits.h>
   7194 #else
   7195 # include <assert.h>
   7196 #endif
   7197 		     Syntax error
   7198 _ACEOF
   7199 if ac_fn_c_try_cpp "$LINENO"; then :
   7200 
   7201 else
   7202   # Broken: fails on valid input.
   7203 continue
   7204 fi
   7205 rm -f conftest.err conftest.i conftest.$ac_ext
   7206 
   7207   # OK, works on sane cases.  Now check whether nonexistent headers
   7208   # can be detected and how.
   7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7210 /* end confdefs.h.  */
   7211 #include <ac_nonexistent.h>
   7212 _ACEOF
   7213 if ac_fn_c_try_cpp "$LINENO"; then :
   7214   # Broken: success on invalid input.
   7215 continue
   7216 else
   7217   # Passes both tests.
   7218 ac_preproc_ok=:
   7219 break
   7220 fi
   7221 rm -f conftest.err conftest.i conftest.$ac_ext
   7222 
   7223 done
   7224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7225 rm -f conftest.i conftest.err conftest.$ac_ext
   7226 if $ac_preproc_ok; then :
   7227   break
   7228 fi
   7229 
   7230     done
   7231     ac_cv_prog_CPP=$CPP
   7232 
   7233 fi
   7234   CPP=$ac_cv_prog_CPP
   7235 else
   7236   ac_cv_prog_CPP=$CPP
   7237 fi
   7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7239 $as_echo "$CPP" >&6; }
   7240 ac_preproc_ok=false
   7241 for ac_c_preproc_warn_flag in '' yes
   7242 do
   7243   # Use a header file that comes with gcc, so configuring glibc
   7244   # with a fresh cross-compiler works.
   7245   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7246   # <limits.h> exists even on freestanding compilers.
   7247   # On the NeXT, cc -E runs the code through the compiler's parser,
   7248   # not just through cpp. "Syntax error" is here to catch this case.
   7249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7250 /* end confdefs.h.  */
   7251 #ifdef __STDC__
   7252 # include <limits.h>
   7253 #else
   7254 # include <assert.h>
   7255 #endif
   7256 		     Syntax error
   7257 _ACEOF
   7258 if ac_fn_c_try_cpp "$LINENO"; then :
   7259 
   7260 else
   7261   # Broken: fails on valid input.
   7262 continue
   7263 fi
   7264 rm -f conftest.err conftest.i conftest.$ac_ext
   7265 
   7266   # OK, works on sane cases.  Now check whether nonexistent headers
   7267   # can be detected and how.
   7268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7269 /* end confdefs.h.  */
   7270 #include <ac_nonexistent.h>
   7271 _ACEOF
   7272 if ac_fn_c_try_cpp "$LINENO"; then :
   7273   # Broken: success on invalid input.
   7274 continue
   7275 else
   7276   # Passes both tests.
   7277 ac_preproc_ok=:
   7278 break
   7279 fi
   7280 rm -f conftest.err conftest.i conftest.$ac_ext
   7281 
   7282 done
   7283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7284 rm -f conftest.i conftest.err conftest.$ac_ext
   7285 if $ac_preproc_ok; then :
   7286 
   7287 else
   7288   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7290 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7291 See \`config.log' for more details" "$LINENO" 5; }
   7292 fi
   7293 
   7294 ac_ext=c
   7295 ac_cpp='$CPP $CPPFLAGS'
   7296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7299 
   7300 
   7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7302 $as_echo_n "checking for ANSI C header files... " >&6; }
   7303 if ${ac_cv_header_stdc+:} false; then :
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 #include <stdlib.h>
   7309 #include <stdarg.h>
   7310 #include <string.h>
   7311 #include <float.h>
   7312 
   7313 int
   7314 main ()
   7315 {
   7316 
   7317   ;
   7318   return 0;
   7319 }
   7320 _ACEOF
   7321 if ac_fn_c_try_compile "$LINENO"; then :
   7322   ac_cv_header_stdc=yes
   7323 else
   7324   ac_cv_header_stdc=no
   7325 fi
   7326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7327 
   7328 if test $ac_cv_header_stdc = yes; then
   7329   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7331 /* end confdefs.h.  */
   7332 #include <string.h>
   7333 
   7334 _ACEOF
   7335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7336   $EGREP "memchr" >/dev/null 2>&1; then :
   7337 
   7338 else
   7339   ac_cv_header_stdc=no
   7340 fi
   7341 rm -f conftest*
   7342 
   7343 fi
   7344 
   7345 if test $ac_cv_header_stdc = yes; then
   7346   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 #include <stdlib.h>
   7350 
   7351 _ACEOF
   7352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7353   $EGREP "free" >/dev/null 2>&1; then :
   7354 
   7355 else
   7356   ac_cv_header_stdc=no
   7357 fi
   7358 rm -f conftest*
   7359 
   7360 fi
   7361 
   7362 if test $ac_cv_header_stdc = yes; then
   7363   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7364   if test "$cross_compiling" = yes; then :
   7365   :
   7366 else
   7367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7368 /* end confdefs.h.  */
   7369 #include <ctype.h>
   7370 #include <stdlib.h>
   7371 #if ((' ' & 0x0FF) == 0x020)
   7372 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7373 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7374 #else
   7375 # define ISLOWER(c) \
   7376 		   (('a' <= (c) && (c) <= 'i') \
   7377 		     || ('j' <= (c) && (c) <= 'r') \
   7378 		     || ('s' <= (c) && (c) <= 'z'))
   7379 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7380 #endif
   7381 
   7382 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7383 int
   7384 main ()
   7385 {
   7386   int i;
   7387   for (i = 0; i < 256; i++)
   7388     if (XOR (islower (i), ISLOWER (i))
   7389 	|| toupper (i) != TOUPPER (i))
   7390       return 2;
   7391   return 0;
   7392 }
   7393 _ACEOF
   7394 if ac_fn_c_try_run "$LINENO"; then :
   7395 
   7396 else
   7397   ac_cv_header_stdc=no
   7398 fi
   7399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7400   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7401 fi
   7402 
   7403 fi
   7404 fi
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7406 $as_echo "$ac_cv_header_stdc" >&6; }
   7407 if test $ac_cv_header_stdc = yes; then
   7408 
   7409 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7410 
   7411 fi
   7412 
   7413 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7414 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7415 		  inttypes.h stdint.h unistd.h
   7416 do :
   7417   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7418 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7419 "
   7420 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7421   cat >>confdefs.h <<_ACEOF
   7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7423 _ACEOF
   7424 
   7425 fi
   7426 
   7427 done
   7428 
   7429 
   7430 for ac_header in dlfcn.h
   7431 do :
   7432   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7433 "
   7434 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7435   cat >>confdefs.h <<_ACEOF
   7436 #define HAVE_DLFCN_H 1
   7437 _ACEOF
   7438 
   7439 fi
   7440 
   7441 done
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 # Set options
   7448 
   7449 
   7450 
   7451         enable_dlopen=no
   7452 
   7453 
   7454   enable_win32_dll=no
   7455 
   7456 
   7457             # Check whether --enable-shared was given.
   7458 if test "${enable_shared+set}" = set; then :
   7459   enableval=$enable_shared; p=${PACKAGE-default}
   7460     case $enableval in
   7461     yes) enable_shared=yes ;;
   7462     no) enable_shared=no ;;
   7463     *)
   7464       enable_shared=no
   7465       # Look at the argument we got.  We use all the common list separators.
   7466       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7467       for pkg in $enableval; do
   7468 	IFS="$lt_save_ifs"
   7469 	if test "X$pkg" = "X$p"; then
   7470 	  enable_shared=yes
   7471 	fi
   7472       done
   7473       IFS="$lt_save_ifs"
   7474       ;;
   7475     esac
   7476 else
   7477   enable_shared=yes
   7478 fi
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488   # Check whether --enable-static was given.
   7489 if test "${enable_static+set}" = set; then :
   7490   enableval=$enable_static; p=${PACKAGE-default}
   7491     case $enableval in
   7492     yes) enable_static=yes ;;
   7493     no) enable_static=no ;;
   7494     *)
   7495      enable_static=no
   7496       # Look at the argument we got.  We use all the common list separators.
   7497       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7498       for pkg in $enableval; do
   7499 	IFS="$lt_save_ifs"
   7500 	if test "X$pkg" = "X$p"; then
   7501 	  enable_static=yes
   7502 	fi
   7503       done
   7504       IFS="$lt_save_ifs"
   7505       ;;
   7506     esac
   7507 else
   7508   enable_static=yes
   7509 fi
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 # Check whether --with-pic was given.
   7521 if test "${with_pic+set}" = set; then :
   7522   withval=$with_pic; lt_p=${PACKAGE-default}
   7523     case $withval in
   7524     yes|no) pic_mode=$withval ;;
   7525     *)
   7526       pic_mode=default
   7527       # Look at the argument we got.  We use all the common list separators.
   7528       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7529       for lt_pkg in $withval; do
   7530 	IFS="$lt_save_ifs"
   7531 	if test "X$lt_pkg" = "X$lt_p"; then
   7532 	  pic_mode=yes
   7533 	fi
   7534       done
   7535       IFS="$lt_save_ifs"
   7536       ;;
   7537     esac
   7538 else
   7539   pic_mode=default
   7540 fi
   7541 
   7542 
   7543 test -z "$pic_mode" && pic_mode=default
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551   # Check whether --enable-fast-install was given.
   7552 if test "${enable_fast_install+set}" = set; then :
   7553   enableval=$enable_fast_install; p=${PACKAGE-default}
   7554     case $enableval in
   7555     yes) enable_fast_install=yes ;;
   7556     no) enable_fast_install=no ;;
   7557     *)
   7558       enable_fast_install=no
   7559       # Look at the argument we got.  We use all the common list separators.
   7560       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7561       for pkg in $enableval; do
   7562 	IFS="$lt_save_ifs"
   7563 	if test "X$pkg" = "X$p"; then
   7564 	  enable_fast_install=yes
   7565 	fi
   7566       done
   7567       IFS="$lt_save_ifs"
   7568       ;;
   7569     esac
   7570 else
   7571   enable_fast_install=yes
   7572 fi
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 # This can be used to rebuild libtool when needed
   7585 LIBTOOL_DEPS="$ltmain"
   7586 
   7587 # Always use our own libtool.
   7588 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 test -z "$LN_S" && LN_S="ln -s"
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 if test -n "${ZSH_VERSION+set}" ; then
   7635    setopt NO_GLOB_SUBST
   7636 fi
   7637 
   7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7639 $as_echo_n "checking for objdir... " >&6; }
   7640 if ${lt_cv_objdir+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   rm -f .libs 2>/dev/null
   7644 mkdir .libs 2>/dev/null
   7645 if test -d .libs; then
   7646   lt_cv_objdir=.libs
   7647 else
   7648   # MS-DOS does not allow filenames that begin with a dot.
   7649   lt_cv_objdir=_libs
   7650 fi
   7651 rmdir .libs 2>/dev/null
   7652 fi
   7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7654 $as_echo "$lt_cv_objdir" >&6; }
   7655 objdir=$lt_cv_objdir
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 cat >>confdefs.h <<_ACEOF
   7662 #define LT_OBJDIR "$lt_cv_objdir/"
   7663 _ACEOF
   7664 
   7665 
   7666 
   7667 
   7668 case $host_os in
   7669 aix3*)
   7670   # AIX sometimes has problems with the GCC collect2 program.  For some
   7671   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7672   # vanish in a puff of smoke.
   7673   if test "X${COLLECT_NAMES+set}" != Xset; then
   7674     COLLECT_NAMES=
   7675     export COLLECT_NAMES
   7676   fi
   7677   ;;
   7678 esac
   7679 
   7680 # Global variables:
   7681 ofile=libtool
   7682 can_build_shared=yes
   7683 
   7684 # All known linkers require a `.a' archive for static linking (except MSVC,
   7685 # which needs '.lib').
   7686 libext=a
   7687 
   7688 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7689 
   7690 old_CC="$CC"
   7691 old_CFLAGS="$CFLAGS"
   7692 
   7693 # Set sane defaults for various variables
   7694 test -z "$CC" && CC=cc
   7695 test -z "$LTCC" && LTCC=$CC
   7696 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7697 test -z "$LD" && LD=ld
   7698 test -z "$ac_objext" && ac_objext=o
   7699 
   7700 for cc_temp in $compiler""; do
   7701   case $cc_temp in
   7702     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7703     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7704     \-*) ;;
   7705     *) break;;
   7706   esac
   7707 done
   7708 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7709 
   7710 
   7711 # Only perform the check for file, if the check method requires it
   7712 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7713 case $deplibs_check_method in
   7714 file_magic*)
   7715   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7717 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7718 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7719   $as_echo_n "(cached) " >&6
   7720 else
   7721   case $MAGIC_CMD in
   7722 [\\/*] |  ?:[\\/]*)
   7723   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7724   ;;
   7725 *)
   7726   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7727   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7728   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7729   for ac_dir in $ac_dummy; do
   7730     IFS="$lt_save_ifs"
   7731     test -z "$ac_dir" && ac_dir=.
   7732     if test -f $ac_dir/${ac_tool_prefix}file; then
   7733       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7734       if test -n "$file_magic_test_file"; then
   7735 	case $deplibs_check_method in
   7736 	"file_magic "*)
   7737 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7738 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7739 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7740 	    $EGREP "$file_magic_regex" > /dev/null; then
   7741 	    :
   7742 	  else
   7743 	    cat <<_LT_EOF 1>&2
   7744 
   7745 *** Warning: the command libtool uses to detect shared libraries,
   7746 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7747 *** The result is that libtool may fail to recognize shared libraries
   7748 *** as such.  This will affect the creation of libtool libraries that
   7749 *** depend on shared libraries, but programs linked with such libtool
   7750 *** libraries will work regardless of this problem.  Nevertheless, you
   7751 *** may want to report the problem to your system manager and/or to
   7752 *** bug-libtool@gnu.org
   7753 
   7754 _LT_EOF
   7755 	  fi ;;
   7756 	esac
   7757       fi
   7758       break
   7759     fi
   7760   done
   7761   IFS="$lt_save_ifs"
   7762   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7763   ;;
   7764 esac
   7765 fi
   7766 
   7767 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7768 if test -n "$MAGIC_CMD"; then
   7769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7770 $as_echo "$MAGIC_CMD" >&6; }
   7771 else
   7772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7773 $as_echo "no" >&6; }
   7774 fi
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7781   if test -n "$ac_tool_prefix"; then
   7782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7783 $as_echo_n "checking for file... " >&6; }
   7784 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7785   $as_echo_n "(cached) " >&6
   7786 else
   7787   case $MAGIC_CMD in
   7788 [\\/*] |  ?:[\\/]*)
   7789   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7790   ;;
   7791 *)
   7792   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7793   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7794   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7795   for ac_dir in $ac_dummy; do
   7796     IFS="$lt_save_ifs"
   7797     test -z "$ac_dir" && ac_dir=.
   7798     if test -f $ac_dir/file; then
   7799       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7800       if test -n "$file_magic_test_file"; then
   7801 	case $deplibs_check_method in
   7802 	"file_magic "*)
   7803 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7804 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7805 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7806 	    $EGREP "$file_magic_regex" > /dev/null; then
   7807 	    :
   7808 	  else
   7809 	    cat <<_LT_EOF 1>&2
   7810 
   7811 *** Warning: the command libtool uses to detect shared libraries,
   7812 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7813 *** The result is that libtool may fail to recognize shared libraries
   7814 *** as such.  This will affect the creation of libtool libraries that
   7815 *** depend on shared libraries, but programs linked with such libtool
   7816 *** libraries will work regardless of this problem.  Nevertheless, you
   7817 *** may want to report the problem to your system manager and/or to
   7818 *** bug-libtool@gnu.org
   7819 
   7820 _LT_EOF
   7821 	  fi ;;
   7822 	esac
   7823       fi
   7824       break
   7825     fi
   7826   done
   7827   IFS="$lt_save_ifs"
   7828   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7829   ;;
   7830 esac
   7831 fi
   7832 
   7833 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7834 if test -n "$MAGIC_CMD"; then
   7835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7836 $as_echo "$MAGIC_CMD" >&6; }
   7837 else
   7838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7839 $as_echo "no" >&6; }
   7840 fi
   7841 
   7842 
   7843   else
   7844     MAGIC_CMD=:
   7845   fi
   7846 fi
   7847 
   7848   fi
   7849   ;;
   7850 esac
   7851 
   7852 # Use C for the default configuration in the libtool script
   7853 
   7854 lt_save_CC="$CC"
   7855 ac_ext=c
   7856 ac_cpp='$CPP $CPPFLAGS'
   7857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7860 
   7861 
   7862 # Source file extension for C test sources.
   7863 ac_ext=c
   7864 
   7865 # Object file extension for compiled C test sources.
   7866 objext=o
   7867 objext=$objext
   7868 
   7869 # Code to be used in simple compile tests
   7870 lt_simple_compile_test_code="int some_variable = 0;"
   7871 
   7872 # Code to be used in simple link tests
   7873 lt_simple_link_test_code='int main(){return(0);}'
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 # If no C compiler was specified, use CC.
   7882 LTCC=${LTCC-"$CC"}
   7883 
   7884 # If no C compiler flags were specified, use CFLAGS.
   7885 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7886 
   7887 # Allow CC to be a program name with arguments.
   7888 compiler=$CC
   7889 
   7890 # Save the default compiler, since it gets overwritten when the other
   7891 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7892 compiler_DEFAULT=$CC
   7893 
   7894 # save warnings/boilerplate of simple test code
   7895 ac_outfile=conftest.$ac_objext
   7896 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7897 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7898 _lt_compiler_boilerplate=`cat conftest.err`
   7899 $RM conftest*
   7900 
   7901 ac_outfile=conftest.$ac_objext
   7902 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7903 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7904 _lt_linker_boilerplate=`cat conftest.err`
   7905 $RM -r conftest*
   7906 
   7907 
   7908 if test -n "$compiler"; then
   7909 
   7910 lt_prog_compiler_no_builtin_flag=
   7911 
   7912 if test "$GCC" = yes; then
   7913   case $cc_basename in
   7914   nvcc*)
   7915     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7916   *)
   7917     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7918   esac
   7919 
   7920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7921 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7922 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7923   $as_echo_n "(cached) " >&6
   7924 else
   7925   lt_cv_prog_compiler_rtti_exceptions=no
   7926    ac_outfile=conftest.$ac_objext
   7927    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7928    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7929    # Insert the option either (1) after the last *FLAGS variable, or
   7930    # (2) before a word containing "conftest.", or (3) at the end.
   7931    # Note that $ac_compile itself does not contain backslashes and begins
   7932    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7933    # The option is referenced via a variable to avoid confusing sed.
   7934    lt_compile=`echo "$ac_compile" | $SED \
   7935    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7936    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7937    -e 's:$: $lt_compiler_flag:'`
   7938    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7939    (eval "$lt_compile" 2>conftest.err)
   7940    ac_status=$?
   7941    cat conftest.err >&5
   7942    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7943    if (exit $ac_status) && test -s "$ac_outfile"; then
   7944      # The compiler can only warn and ignore the option if not recognized
   7945      # So say no if there are warnings other than the usual output.
   7946      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7947      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7948      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7949        lt_cv_prog_compiler_rtti_exceptions=yes
   7950      fi
   7951    fi
   7952    $RM conftest*
   7953 
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7956 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7957 
   7958 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7959     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7960 else
   7961     :
   7962 fi
   7963 
   7964 fi
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971   lt_prog_compiler_wl=
   7972 lt_prog_compiler_pic=
   7973 lt_prog_compiler_static=
   7974 
   7975 
   7976   if test "$GCC" = yes; then
   7977     lt_prog_compiler_wl='-Wl,'
   7978     lt_prog_compiler_static='-static'
   7979 
   7980     case $host_os in
   7981       aix*)
   7982       # All AIX code is PIC.
   7983       if test "$host_cpu" = ia64; then
   7984 	# AIX 5 now supports IA64 processor
   7985 	lt_prog_compiler_static='-Bstatic'
   7986       fi
   7987       ;;
   7988 
   7989     amigaos*)
   7990       case $host_cpu in
   7991       powerpc)
   7992             # see comment about AmigaOS4 .so support
   7993             lt_prog_compiler_pic='-fPIC'
   7994         ;;
   7995       m68k)
   7996             # FIXME: we need at least 68020 code to build shared libraries, but
   7997             # adding the `-m68020' flag to GCC prevents building anything better,
   7998             # like `-m68040'.
   7999             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8000         ;;
   8001       esac
   8002       ;;
   8003 
   8004     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8005       # PIC is the default for these OSes.
   8006       ;;
   8007 
   8008     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8009       # This hack is so that the source file can tell whether it is being
   8010       # built for inclusion in a dll (and should export symbols for example).
   8011       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8012       # (--disable-auto-import) libraries
   8013       lt_prog_compiler_pic='-DDLL_EXPORT'
   8014       ;;
   8015 
   8016     darwin* | rhapsody*)
   8017       # PIC is the default on this platform
   8018       # Common symbols not allowed in MH_DYLIB files
   8019       lt_prog_compiler_pic='-fno-common'
   8020       ;;
   8021 
   8022     haiku*)
   8023       # PIC is the default for Haiku.
   8024       # The "-static" flag exists, but is broken.
   8025       lt_prog_compiler_static=
   8026       ;;
   8027 
   8028     hpux*)
   8029       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8030       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8031       # sets the default TLS model and affects inlining.
   8032       case $host_cpu in
   8033       hppa*64*)
   8034 	# +Z the default
   8035 	;;
   8036       *)
   8037 	lt_prog_compiler_pic='-fPIC'
   8038 	;;
   8039       esac
   8040       ;;
   8041 
   8042     interix[3-9]*)
   8043       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8044       # Instead, we relocate shared libraries at runtime.
   8045       ;;
   8046 
   8047     msdosdjgpp*)
   8048       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8049       # on systems that don't support them.
   8050       lt_prog_compiler_can_build_shared=no
   8051       enable_shared=no
   8052       ;;
   8053 
   8054     *nto* | *qnx*)
   8055       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8056       # it will coredump.
   8057       lt_prog_compiler_pic='-fPIC -shared'
   8058       ;;
   8059 
   8060     sysv4*MP*)
   8061       if test -d /usr/nec; then
   8062 	lt_prog_compiler_pic=-Kconform_pic
   8063       fi
   8064       ;;
   8065 
   8066     *)
   8067       lt_prog_compiler_pic='-fPIC'
   8068       ;;
   8069     esac
   8070 
   8071     case $cc_basename in
   8072     nvcc*) # Cuda Compiler Driver 2.2
   8073       lt_prog_compiler_wl='-Xlinker '
   8074       if test -n "$lt_prog_compiler_pic"; then
   8075         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8076       fi
   8077       ;;
   8078     esac
   8079   else
   8080     # PORTME Check for flag to pass linker flags through the system compiler.
   8081     case $host_os in
   8082     aix*)
   8083       lt_prog_compiler_wl='-Wl,'
   8084       if test "$host_cpu" = ia64; then
   8085 	# AIX 5 now supports IA64 processor
   8086 	lt_prog_compiler_static='-Bstatic'
   8087       else
   8088 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8089       fi
   8090       ;;
   8091 
   8092     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8093       # This hack is so that the source file can tell whether it is being
   8094       # built for inclusion in a dll (and should export symbols for example).
   8095       lt_prog_compiler_pic='-DDLL_EXPORT'
   8096       ;;
   8097 
   8098     hpux9* | hpux10* | hpux11*)
   8099       lt_prog_compiler_wl='-Wl,'
   8100       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8101       # not for PA HP-UX.
   8102       case $host_cpu in
   8103       hppa*64*|ia64*)
   8104 	# +Z the default
   8105 	;;
   8106       *)
   8107 	lt_prog_compiler_pic='+Z'
   8108 	;;
   8109       esac
   8110       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8111       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8112       ;;
   8113 
   8114     irix5* | irix6* | nonstopux*)
   8115       lt_prog_compiler_wl='-Wl,'
   8116       # PIC (with -KPIC) is the default.
   8117       lt_prog_compiler_static='-non_shared'
   8118       ;;
   8119 
   8120     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8121       case $cc_basename in
   8122       # old Intel for x86_64 which still supported -KPIC.
   8123       ecc*)
   8124 	lt_prog_compiler_wl='-Wl,'
   8125 	lt_prog_compiler_pic='-KPIC'
   8126 	lt_prog_compiler_static='-static'
   8127         ;;
   8128       # icc used to be incompatible with GCC.
   8129       # ICC 10 doesn't accept -KPIC any more.
   8130       icc* | ifort*)
   8131 	lt_prog_compiler_wl='-Wl,'
   8132 	lt_prog_compiler_pic='-fPIC'
   8133 	lt_prog_compiler_static='-static'
   8134         ;;
   8135       # Lahey Fortran 8.1.
   8136       lf95*)
   8137 	lt_prog_compiler_wl='-Wl,'
   8138 	lt_prog_compiler_pic='--shared'
   8139 	lt_prog_compiler_static='--static'
   8140 	;;
   8141       nagfor*)
   8142 	# NAG Fortran compiler
   8143 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8144 	lt_prog_compiler_pic='-PIC'
   8145 	lt_prog_compiler_static='-Bstatic'
   8146 	;;
   8147       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8148         # Portland Group compilers (*not* the Pentium gcc compiler,
   8149 	# which looks to be a dead project)
   8150 	lt_prog_compiler_wl='-Wl,'
   8151 	lt_prog_compiler_pic='-fpic'
   8152 	lt_prog_compiler_static='-Bstatic'
   8153         ;;
   8154       ccc*)
   8155         lt_prog_compiler_wl='-Wl,'
   8156         # All Alpha code is PIC.
   8157         lt_prog_compiler_static='-non_shared'
   8158         ;;
   8159       xl* | bgxl* | bgf* | mpixl*)
   8160 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8161 	lt_prog_compiler_wl='-Wl,'
   8162 	lt_prog_compiler_pic='-qpic'
   8163 	lt_prog_compiler_static='-qstaticlink'
   8164 	;;
   8165       *)
   8166 	case `$CC -V 2>&1 | sed 5q` in
   8167 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8168 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8169 	  lt_prog_compiler_pic='-KPIC'
   8170 	  lt_prog_compiler_static='-Bstatic'
   8171 	  lt_prog_compiler_wl=''
   8172 	  ;;
   8173 	*Sun\ F* | *Sun*Fortran*)
   8174 	  lt_prog_compiler_pic='-KPIC'
   8175 	  lt_prog_compiler_static='-Bstatic'
   8176 	  lt_prog_compiler_wl='-Qoption ld '
   8177 	  ;;
   8178 	*Sun\ C*)
   8179 	  # Sun C 5.9
   8180 	  lt_prog_compiler_pic='-KPIC'
   8181 	  lt_prog_compiler_static='-Bstatic'
   8182 	  lt_prog_compiler_wl='-Wl,'
   8183 	  ;;
   8184         *Intel*\ [CF]*Compiler*)
   8185 	  lt_prog_compiler_wl='-Wl,'
   8186 	  lt_prog_compiler_pic='-fPIC'
   8187 	  lt_prog_compiler_static='-static'
   8188 	  ;;
   8189 	*Portland\ Group*)
   8190 	  lt_prog_compiler_wl='-Wl,'
   8191 	  lt_prog_compiler_pic='-fpic'
   8192 	  lt_prog_compiler_static='-Bstatic'
   8193 	  ;;
   8194 	esac
   8195 	;;
   8196       esac
   8197       ;;
   8198 
   8199     newsos6)
   8200       lt_prog_compiler_pic='-KPIC'
   8201       lt_prog_compiler_static='-Bstatic'
   8202       ;;
   8203 
   8204     *nto* | *qnx*)
   8205       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8206       # it will coredump.
   8207       lt_prog_compiler_pic='-fPIC -shared'
   8208       ;;
   8209 
   8210     osf3* | osf4* | osf5*)
   8211       lt_prog_compiler_wl='-Wl,'
   8212       # All OSF/1 code is PIC.
   8213       lt_prog_compiler_static='-non_shared'
   8214       ;;
   8215 
   8216     rdos*)
   8217       lt_prog_compiler_static='-non_shared'
   8218       ;;
   8219 
   8220     solaris*)
   8221       lt_prog_compiler_pic='-KPIC'
   8222       lt_prog_compiler_static='-Bstatic'
   8223       case $cc_basename in
   8224       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8225 	lt_prog_compiler_wl='-Qoption ld ';;
   8226       *)
   8227 	lt_prog_compiler_wl='-Wl,';;
   8228       esac
   8229       ;;
   8230 
   8231     sunos4*)
   8232       lt_prog_compiler_wl='-Qoption ld '
   8233       lt_prog_compiler_pic='-PIC'
   8234       lt_prog_compiler_static='-Bstatic'
   8235       ;;
   8236 
   8237     sysv4 | sysv4.2uw2* | sysv4.3*)
   8238       lt_prog_compiler_wl='-Wl,'
   8239       lt_prog_compiler_pic='-KPIC'
   8240       lt_prog_compiler_static='-Bstatic'
   8241       ;;
   8242 
   8243     sysv4*MP*)
   8244       if test -d /usr/nec ;then
   8245 	lt_prog_compiler_pic='-Kconform_pic'
   8246 	lt_prog_compiler_static='-Bstatic'
   8247       fi
   8248       ;;
   8249 
   8250     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8251       lt_prog_compiler_wl='-Wl,'
   8252       lt_prog_compiler_pic='-KPIC'
   8253       lt_prog_compiler_static='-Bstatic'
   8254       ;;
   8255 
   8256     unicos*)
   8257       lt_prog_compiler_wl='-Wl,'
   8258       lt_prog_compiler_can_build_shared=no
   8259       ;;
   8260 
   8261     uts4*)
   8262       lt_prog_compiler_pic='-pic'
   8263       lt_prog_compiler_static='-Bstatic'
   8264       ;;
   8265 
   8266     *)
   8267       lt_prog_compiler_can_build_shared=no
   8268       ;;
   8269     esac
   8270   fi
   8271 
   8272 case $host_os in
   8273   # For platforms which do not support PIC, -DPIC is meaningless:
   8274   *djgpp*)
   8275     lt_prog_compiler_pic=
   8276     ;;
   8277   *)
   8278     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8279     ;;
   8280 esac
   8281 
   8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8283 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8284 if ${lt_cv_prog_compiler_pic+:} false; then :
   8285   $as_echo_n "(cached) " >&6
   8286 else
   8287   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8288 fi
   8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8290 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8291 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8292 
   8293 #
   8294 # Check to make sure the PIC flag actually works.
   8295 #
   8296 if test -n "$lt_prog_compiler_pic"; then
   8297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8298 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8299 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8300   $as_echo_n "(cached) " >&6
   8301 else
   8302   lt_cv_prog_compiler_pic_works=no
   8303    ac_outfile=conftest.$ac_objext
   8304    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8305    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8306    # Insert the option either (1) after the last *FLAGS variable, or
   8307    # (2) before a word containing "conftest.", or (3) at the end.
   8308    # Note that $ac_compile itself does not contain backslashes and begins
   8309    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8310    # The option is referenced via a variable to avoid confusing sed.
   8311    lt_compile=`echo "$ac_compile" | $SED \
   8312    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8313    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8314    -e 's:$: $lt_compiler_flag:'`
   8315    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8316    (eval "$lt_compile" 2>conftest.err)
   8317    ac_status=$?
   8318    cat conftest.err >&5
   8319    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8320    if (exit $ac_status) && test -s "$ac_outfile"; then
   8321      # The compiler can only warn and ignore the option if not recognized
   8322      # So say no if there are warnings other than the usual output.
   8323      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8324      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8325      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8326        lt_cv_prog_compiler_pic_works=yes
   8327      fi
   8328    fi
   8329    $RM conftest*
   8330 
   8331 fi
   8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8333 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8334 
   8335 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8336     case $lt_prog_compiler_pic in
   8337      "" | " "*) ;;
   8338      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8339      esac
   8340 else
   8341     lt_prog_compiler_pic=
   8342      lt_prog_compiler_can_build_shared=no
   8343 fi
   8344 
   8345 fi
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 #
   8358 # Check to make sure the static flag actually works.
   8359 #
   8360 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8362 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8363 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8364   $as_echo_n "(cached) " >&6
   8365 else
   8366   lt_cv_prog_compiler_static_works=no
   8367    save_LDFLAGS="$LDFLAGS"
   8368    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8369    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8370    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8371      # The linker can only warn and ignore the option if not recognized
   8372      # So say no if there are warnings
   8373      if test -s conftest.err; then
   8374        # Append any errors to the config.log.
   8375        cat conftest.err 1>&5
   8376        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8377        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8378        if diff conftest.exp conftest.er2 >/dev/null; then
   8379          lt_cv_prog_compiler_static_works=yes
   8380        fi
   8381      else
   8382        lt_cv_prog_compiler_static_works=yes
   8383      fi
   8384    fi
   8385    $RM -r conftest*
   8386    LDFLAGS="$save_LDFLAGS"
   8387 
   8388 fi
   8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8390 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8391 
   8392 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8393     :
   8394 else
   8395     lt_prog_compiler_static=
   8396 fi
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8405 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8406 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8407   $as_echo_n "(cached) " >&6
   8408 else
   8409   lt_cv_prog_compiler_c_o=no
   8410    $RM -r conftest 2>/dev/null
   8411    mkdir conftest
   8412    cd conftest
   8413    mkdir out
   8414    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8415 
   8416    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8417    # Insert the option either (1) after the last *FLAGS variable, or
   8418    # (2) before a word containing "conftest.", or (3) at the end.
   8419    # Note that $ac_compile itself does not contain backslashes and begins
   8420    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8421    lt_compile=`echo "$ac_compile" | $SED \
   8422    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8423    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8424    -e 's:$: $lt_compiler_flag:'`
   8425    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8426    (eval "$lt_compile" 2>out/conftest.err)
   8427    ac_status=$?
   8428    cat out/conftest.err >&5
   8429    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8430    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8431    then
   8432      # The compiler can only warn and ignore the option if not recognized
   8433      # So say no if there are warnings
   8434      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8435      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8436      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8437        lt_cv_prog_compiler_c_o=yes
   8438      fi
   8439    fi
   8440    chmod u+w . 2>&5
   8441    $RM conftest*
   8442    # SGI C++ compiler will create directory out/ii_files/ for
   8443    # template instantiation
   8444    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8445    $RM out/* && rmdir out
   8446    cd ..
   8447    $RM -r conftest
   8448    $RM conftest*
   8449 
   8450 fi
   8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8452 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8460 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8461 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8462   $as_echo_n "(cached) " >&6
   8463 else
   8464   lt_cv_prog_compiler_c_o=no
   8465    $RM -r conftest 2>/dev/null
   8466    mkdir conftest
   8467    cd conftest
   8468    mkdir out
   8469    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8470 
   8471    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8472    # Insert the option either (1) after the last *FLAGS variable, or
   8473    # (2) before a word containing "conftest.", or (3) at the end.
   8474    # Note that $ac_compile itself does not contain backslashes and begins
   8475    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8476    lt_compile=`echo "$ac_compile" | $SED \
   8477    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8478    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8479    -e 's:$: $lt_compiler_flag:'`
   8480    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8481    (eval "$lt_compile" 2>out/conftest.err)
   8482    ac_status=$?
   8483    cat out/conftest.err >&5
   8484    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8485    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8486    then
   8487      # The compiler can only warn and ignore the option if not recognized
   8488      # So say no if there are warnings
   8489      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8490      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8491      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8492        lt_cv_prog_compiler_c_o=yes
   8493      fi
   8494    fi
   8495    chmod u+w . 2>&5
   8496    $RM conftest*
   8497    # SGI C++ compiler will create directory out/ii_files/ for
   8498    # template instantiation
   8499    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8500    $RM out/* && rmdir out
   8501    cd ..
   8502    $RM -r conftest
   8503    $RM conftest*
   8504 
   8505 fi
   8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8507 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8508 
   8509 
   8510 
   8511 
   8512 hard_links="nottested"
   8513 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8514   # do not overwrite the value of need_locks provided by the user
   8515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8516 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8517   hard_links=yes
   8518   $RM conftest*
   8519   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8520   touch conftest.a
   8521   ln conftest.a conftest.b 2>&5 || hard_links=no
   8522   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8524 $as_echo "$hard_links" >&6; }
   8525   if test "$hard_links" = no; then
   8526     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8527 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8528     need_locks=warn
   8529   fi
   8530 else
   8531   need_locks=no
   8532 fi
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8540 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8541 
   8542   runpath_var=
   8543   allow_undefined_flag=
   8544   always_export_symbols=no
   8545   archive_cmds=
   8546   archive_expsym_cmds=
   8547   compiler_needs_object=no
   8548   enable_shared_with_static_runtimes=no
   8549   export_dynamic_flag_spec=
   8550   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8551   hardcode_automatic=no
   8552   hardcode_direct=no
   8553   hardcode_direct_absolute=no
   8554   hardcode_libdir_flag_spec=
   8555   hardcode_libdir_separator=
   8556   hardcode_minus_L=no
   8557   hardcode_shlibpath_var=unsupported
   8558   inherit_rpath=no
   8559   link_all_deplibs=unknown
   8560   module_cmds=
   8561   module_expsym_cmds=
   8562   old_archive_from_new_cmds=
   8563   old_archive_from_expsyms_cmds=
   8564   thread_safe_flag_spec=
   8565   whole_archive_flag_spec=
   8566   # include_expsyms should be a list of space-separated symbols to be *always*
   8567   # included in the symbol list
   8568   include_expsyms=
   8569   # exclude_expsyms can be an extended regexp of symbols to exclude
   8570   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8571   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8572   # as well as any symbol that contains `d'.
   8573   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8574   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8575   # platforms (ab)use it in PIC code, but their linkers get confused if
   8576   # the symbol is explicitly referenced.  Since portable code cannot
   8577   # rely on this symbol name, it's probably fine to never include it in
   8578   # preloaded symbol tables.
   8579   # Exclude shared library initialization/finalization symbols.
   8580   extract_expsyms_cmds=
   8581 
   8582   case $host_os in
   8583   cygwin* | mingw* | pw32* | cegcc*)
   8584     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8585     # When not using gcc, we currently assume that we are using
   8586     # Microsoft Visual C++.
   8587     if test "$GCC" != yes; then
   8588       with_gnu_ld=no
   8589     fi
   8590     ;;
   8591   interix*)
   8592     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8593     with_gnu_ld=yes
   8594     ;;
   8595   openbsd*)
   8596     with_gnu_ld=no
   8597     ;;
   8598   esac
   8599 
   8600   ld_shlibs=yes
   8601 
   8602   # On some targets, GNU ld is compatible enough with the native linker
   8603   # that we're better off using the native interface for both.
   8604   lt_use_gnu_ld_interface=no
   8605   if test "$with_gnu_ld" = yes; then
   8606     case $host_os in
   8607       aix*)
   8608 	# The AIX port of GNU ld has always aspired to compatibility
   8609 	# with the native linker.  However, as the warning in the GNU ld
   8610 	# block says, versions before 2.19.5* couldn't really create working
   8611 	# shared libraries, regardless of the interface used.
   8612 	case `$LD -v 2>&1` in
   8613 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8614 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8615 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8616 	  *)
   8617 	    lt_use_gnu_ld_interface=yes
   8618 	    ;;
   8619 	esac
   8620 	;;
   8621       *)
   8622 	lt_use_gnu_ld_interface=yes
   8623 	;;
   8624     esac
   8625   fi
   8626 
   8627   if test "$lt_use_gnu_ld_interface" = yes; then
   8628     # If archive_cmds runs LD, not CC, wlarc should be empty
   8629     wlarc='${wl}'
   8630 
   8631     # Set some defaults for GNU ld with shared library support. These
   8632     # are reset later if shared libraries are not supported. Putting them
   8633     # here allows them to be overridden if necessary.
   8634     runpath_var=LD_RUN_PATH
   8635     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8636     export_dynamic_flag_spec='${wl}--export-dynamic'
   8637     # ancient GNU ld didn't support --whole-archive et. al.
   8638     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8639       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8640     else
   8641       whole_archive_flag_spec=
   8642     fi
   8643     supports_anon_versioning=no
   8644     case `$LD -v 2>&1` in
   8645       *GNU\ gold*) supports_anon_versioning=yes ;;
   8646       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8647       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8648       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8649       *\ 2.11.*) ;; # other 2.11 versions
   8650       *) supports_anon_versioning=yes ;;
   8651     esac
   8652 
   8653     # See if GNU ld supports shared libraries.
   8654     case $host_os in
   8655     aix[3-9]*)
   8656       # On AIX/PPC, the GNU linker is very broken
   8657       if test "$host_cpu" != ia64; then
   8658 	ld_shlibs=no
   8659 	cat <<_LT_EOF 1>&2
   8660 
   8661 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8662 *** to be unable to reliably create shared libraries on AIX.
   8663 *** Therefore, libtool is disabling shared libraries support.  If you
   8664 *** really care for shared libraries, you may want to install binutils
   8665 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8666 *** You will then need to restart the configuration process.
   8667 
   8668 _LT_EOF
   8669       fi
   8670       ;;
   8671 
   8672     amigaos*)
   8673       case $host_cpu in
   8674       powerpc)
   8675             # see comment about AmigaOS4 .so support
   8676             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8677             archive_expsym_cmds=''
   8678         ;;
   8679       m68k)
   8680             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)'
   8681             hardcode_libdir_flag_spec='-L$libdir'
   8682             hardcode_minus_L=yes
   8683         ;;
   8684       esac
   8685       ;;
   8686 
   8687     beos*)
   8688       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8689 	allow_undefined_flag=unsupported
   8690 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8691 	# support --undefined.  This deserves some investigation.  FIXME
   8692 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8693       else
   8694 	ld_shlibs=no
   8695       fi
   8696       ;;
   8697 
   8698     cygwin* | mingw* | pw32* | cegcc*)
   8699       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8700       # as there is no search path for DLLs.
   8701       hardcode_libdir_flag_spec='-L$libdir'
   8702       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8703       allow_undefined_flag=unsupported
   8704       always_export_symbols=no
   8705       enable_shared_with_static_runtimes=yes
   8706       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'
   8707       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8708 
   8709       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8710         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8711 	# If the export-symbols file already is a .def file (1st line
   8712 	# is EXPORTS), use it as is; otherwise, prepend...
   8713 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8714 	  cp $export_symbols $output_objdir/$soname.def;
   8715 	else
   8716 	  echo EXPORTS > $output_objdir/$soname.def;
   8717 	  cat $export_symbols >> $output_objdir/$soname.def;
   8718 	fi~
   8719 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8720       else
   8721 	ld_shlibs=no
   8722       fi
   8723       ;;
   8724 
   8725     haiku*)
   8726       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8727       link_all_deplibs=yes
   8728       ;;
   8729 
   8730     interix[3-9]*)
   8731       hardcode_direct=no
   8732       hardcode_shlibpath_var=no
   8733       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8734       export_dynamic_flag_spec='${wl}-E'
   8735       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8736       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8737       # default) and relocated if they conflict, which is a slow very memory
   8738       # consuming and fragmenting process.  To avoid this, we pick a random,
   8739       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8740       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8741       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8742       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'
   8743       ;;
   8744 
   8745     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8746       tmp_diet=no
   8747       if test "$host_os" = linux-dietlibc; then
   8748 	case $cc_basename in
   8749 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8750 	esac
   8751       fi
   8752       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8753 	 && test "$tmp_diet" = no
   8754       then
   8755 	tmp_addflag=' $pic_flag'
   8756 	tmp_sharedflag='-shared'
   8757 	case $cc_basename,$host_cpu in
   8758         pgcc*)				# Portland Group C compiler
   8759 	  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'
   8760 	  tmp_addflag=' $pic_flag'
   8761 	  ;;
   8762 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8763 					# Portland Group f77 and f90 compilers
   8764 	  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'
   8765 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8766 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8767 	  tmp_addflag=' -i_dynamic' ;;
   8768 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8769 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8770 	ifc* | ifort*)			# Intel Fortran compiler
   8771 	  tmp_addflag=' -nofor_main' ;;
   8772 	lf95*)				# Lahey Fortran 8.1
   8773 	  whole_archive_flag_spec=
   8774 	  tmp_sharedflag='--shared' ;;
   8775 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8776 	  tmp_sharedflag='-qmkshrobj'
   8777 	  tmp_addflag= ;;
   8778 	nvcc*)	# Cuda Compiler Driver 2.2
   8779 	  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'
   8780 	  compiler_needs_object=yes
   8781 	  ;;
   8782 	esac
   8783 	case `$CC -V 2>&1 | sed 5q` in
   8784 	*Sun\ C*)			# Sun C 5.9
   8785 	  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'
   8786 	  compiler_needs_object=yes
   8787 	  tmp_sharedflag='-G' ;;
   8788 	*Sun\ F*)			# Sun Fortran 8.3
   8789 	  tmp_sharedflag='-G' ;;
   8790 	esac
   8791 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8792 
   8793         if test "x$supports_anon_versioning" = xyes; then
   8794           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8795 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8796 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8797 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8798         fi
   8799 
   8800 	case $cc_basename in
   8801 	xlf* | bgf* | bgxlf* | mpixlf*)
   8802 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8803 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8804 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8805 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8806 	  if test "x$supports_anon_versioning" = xyes; then
   8807 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8808 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8809 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8810 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8811 	  fi
   8812 	  ;;
   8813 	esac
   8814       else
   8815         ld_shlibs=no
   8816       fi
   8817       ;;
   8818 
   8819     netbsd*)
   8820       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8821 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8822 	wlarc=
   8823       else
   8824 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8825 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8826       fi
   8827       ;;
   8828 
   8829     solaris*)
   8830       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8831 	ld_shlibs=no
   8832 	cat <<_LT_EOF 1>&2
   8833 
   8834 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8835 *** create shared libraries on Solaris systems.  Therefore, libtool
   8836 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8837 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8838 *** your PATH or compiler configuration so that the native linker is
   8839 *** used, and then restart.
   8840 
   8841 _LT_EOF
   8842       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8843 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8844 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8845       else
   8846 	ld_shlibs=no
   8847       fi
   8848       ;;
   8849 
   8850     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8851       case `$LD -v 2>&1` in
   8852         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8853 	ld_shlibs=no
   8854 	cat <<_LT_EOF 1>&2
   8855 
   8856 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8857 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8858 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8859 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8860 *** your PATH or compiler configuration so that the native linker is
   8861 *** used, and then restart.
   8862 
   8863 _LT_EOF
   8864 	;;
   8865 	*)
   8866 	  # For security reasons, it is highly recommended that you always
   8867 	  # use absolute paths for naming shared libraries, and exclude the
   8868 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8869 	  # requires that you compile everything twice, which is a pain.
   8870 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8871 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8872 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8873 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8874 	  else
   8875 	    ld_shlibs=no
   8876 	  fi
   8877 	;;
   8878       esac
   8879       ;;
   8880 
   8881     sunos4*)
   8882       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8883       wlarc=
   8884       hardcode_direct=yes
   8885       hardcode_shlibpath_var=no
   8886       ;;
   8887 
   8888     *)
   8889       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8890 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8891 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8892       else
   8893 	ld_shlibs=no
   8894       fi
   8895       ;;
   8896     esac
   8897 
   8898     if test "$ld_shlibs" = no; then
   8899       runpath_var=
   8900       hardcode_libdir_flag_spec=
   8901       export_dynamic_flag_spec=
   8902       whole_archive_flag_spec=
   8903     fi
   8904   else
   8905     # PORTME fill in a description of your system's linker (not GNU ld)
   8906     case $host_os in
   8907     aix3*)
   8908       allow_undefined_flag=unsupported
   8909       always_export_symbols=yes
   8910       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'
   8911       # Note: this linker hardcodes the directories in LIBPATH if there
   8912       # are no directories specified by -L.
   8913       hardcode_minus_L=yes
   8914       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8915 	# Neither direct hardcoding nor static linking is supported with a
   8916 	# broken collect2.
   8917 	hardcode_direct=unsupported
   8918       fi
   8919       ;;
   8920 
   8921     aix[4-9]*)
   8922       if test "$host_cpu" = ia64; then
   8923 	# On IA64, the linker does run time linking by default, so we don't
   8924 	# have to do anything special.
   8925 	aix_use_runtimelinking=no
   8926 	exp_sym_flag='-Bexport'
   8927 	no_entry_flag=""
   8928       else
   8929 	# If we're using GNU nm, then we don't want the "-C" option.
   8930 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8931 	# Also, AIX nm treats weak defined symbols like other global
   8932 	# defined symbols, whereas GNU nm marks them as "W".
   8933 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8934 	  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'
   8935 	else
   8936 	  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'
   8937 	fi
   8938 	aix_use_runtimelinking=no
   8939 
   8940 	# Test if we are trying to use run time linking or normal
   8941 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8942 	# need to do runtime linking.
   8943 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8944 	  for ld_flag in $LDFLAGS; do
   8945 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8946 	    aix_use_runtimelinking=yes
   8947 	    break
   8948 	  fi
   8949 	  done
   8950 	  ;;
   8951 	esac
   8952 
   8953 	exp_sym_flag='-bexport'
   8954 	no_entry_flag='-bnoentry'
   8955       fi
   8956 
   8957       # When large executables or shared objects are built, AIX ld can
   8958       # have problems creating the table of contents.  If linking a library
   8959       # or program results in "error TOC overflow" add -mminimal-toc to
   8960       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8961       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8962 
   8963       archive_cmds=''
   8964       hardcode_direct=yes
   8965       hardcode_direct_absolute=yes
   8966       hardcode_libdir_separator=':'
   8967       link_all_deplibs=yes
   8968       file_list_spec='${wl}-f,'
   8969 
   8970       if test "$GCC" = yes; then
   8971 	case $host_os in aix4.[012]|aix4.[012].*)
   8972 	# We only want to do this on AIX 4.2 and lower, the check
   8973 	# below for broken collect2 doesn't work under 4.3+
   8974 	  collect2name=`${CC} -print-prog-name=collect2`
   8975 	  if test -f "$collect2name" &&
   8976 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8977 	  then
   8978 	  # We have reworked collect2
   8979 	  :
   8980 	  else
   8981 	  # We have old collect2
   8982 	  hardcode_direct=unsupported
   8983 	  # It fails to find uninstalled libraries when the uninstalled
   8984 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8985 	  # to unsupported forces relinking
   8986 	  hardcode_minus_L=yes
   8987 	  hardcode_libdir_flag_spec='-L$libdir'
   8988 	  hardcode_libdir_separator=
   8989 	  fi
   8990 	  ;;
   8991 	esac
   8992 	shared_flag='-shared'
   8993 	if test "$aix_use_runtimelinking" = yes; then
   8994 	  shared_flag="$shared_flag "'${wl}-G'
   8995 	fi
   8996       else
   8997 	# not using gcc
   8998 	if test "$host_cpu" = ia64; then
   8999 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9000 	# chokes on -Wl,-G. The following line is correct:
   9001 	  shared_flag='-G'
   9002 	else
   9003 	  if test "$aix_use_runtimelinking" = yes; then
   9004 	    shared_flag='${wl}-G'
   9005 	  else
   9006 	    shared_flag='${wl}-bM:SRE'
   9007 	  fi
   9008 	fi
   9009       fi
   9010 
   9011       export_dynamic_flag_spec='${wl}-bexpall'
   9012       # It seems that -bexpall does not export symbols beginning with
   9013       # underscore (_), so it is better to generate a list of symbols to export.
   9014       always_export_symbols=yes
   9015       if test "$aix_use_runtimelinking" = yes; then
   9016 	# Warning - without using the other runtime loading flags (-brtl),
   9017 	# -berok will link without error, but may produce a broken library.
   9018 	allow_undefined_flag='-berok'
   9019         # Determine the default libpath from the value encoded in an
   9020         # empty executable.
   9021         if test "${lt_cv_aix_libpath+set}" = set; then
   9022   aix_libpath=$lt_cv_aix_libpath
   9023 else
   9024   if ${lt_cv_aix_libpath_+:} false; then :
   9025   $as_echo_n "(cached) " >&6
   9026 else
   9027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 
   9030 int
   9031 main ()
   9032 {
   9033 
   9034   ;
   9035   return 0;
   9036 }
   9037 _ACEOF
   9038 if ac_fn_c_try_link "$LINENO"; then :
   9039 
   9040   lt_aix_libpath_sed='
   9041       /Import File Strings/,/^$/ {
   9042 	  /^0/ {
   9043 	      s/^0  *\([^ ]*\) *$/\1/
   9044 	      p
   9045 	  }
   9046       }'
   9047   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9048   # Check for a 64-bit object if we didn't find anything.
   9049   if test -z "$lt_cv_aix_libpath_"; then
   9050     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9051   fi
   9052 fi
   9053 rm -f core conftest.err conftest.$ac_objext \
   9054     conftest$ac_exeext conftest.$ac_ext
   9055   if test -z "$lt_cv_aix_libpath_"; then
   9056     lt_cv_aix_libpath_="/usr/lib:/lib"
   9057   fi
   9058 
   9059 fi
   9060 
   9061   aix_libpath=$lt_cv_aix_libpath_
   9062 fi
   9063 
   9064         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9065         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"
   9066       else
   9067 	if test "$host_cpu" = ia64; then
   9068 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9069 	  allow_undefined_flag="-z nodefs"
   9070 	  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"
   9071 	else
   9072 	 # Determine the default libpath from the value encoded in an
   9073 	 # empty executable.
   9074 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9075   aix_libpath=$lt_cv_aix_libpath
   9076 else
   9077   if ${lt_cv_aix_libpath_+:} false; then :
   9078   $as_echo_n "(cached) " >&6
   9079 else
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 
   9083 int
   9084 main ()
   9085 {
   9086 
   9087   ;
   9088   return 0;
   9089 }
   9090 _ACEOF
   9091 if ac_fn_c_try_link "$LINENO"; then :
   9092 
   9093   lt_aix_libpath_sed='
   9094       /Import File Strings/,/^$/ {
   9095 	  /^0/ {
   9096 	      s/^0  *\([^ ]*\) *$/\1/
   9097 	      p
   9098 	  }
   9099       }'
   9100   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9101   # Check for a 64-bit object if we didn't find anything.
   9102   if test -z "$lt_cv_aix_libpath_"; then
   9103     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9104   fi
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext \
   9107     conftest$ac_exeext conftest.$ac_ext
   9108   if test -z "$lt_cv_aix_libpath_"; then
   9109     lt_cv_aix_libpath_="/usr/lib:/lib"
   9110   fi
   9111 
   9112 fi
   9113 
   9114   aix_libpath=$lt_cv_aix_libpath_
   9115 fi
   9116 
   9117 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9118 	  # Warning - without using the other run time loading flags,
   9119 	  # -berok will link without error, but may produce a broken library.
   9120 	  no_undefined_flag=' ${wl}-bernotok'
   9121 	  allow_undefined_flag=' ${wl}-berok'
   9122 	  if test "$with_gnu_ld" = yes; then
   9123 	    # We only use this code for GNU lds that support --whole-archive.
   9124 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9125 	  else
   9126 	    # Exported symbols can be pulled into shared objects from archives
   9127 	    whole_archive_flag_spec='$convenience'
   9128 	  fi
   9129 	  archive_cmds_need_lc=yes
   9130 	  # This is similar to how AIX traditionally builds its shared libraries.
   9131 	  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'
   9132 	fi
   9133       fi
   9134       ;;
   9135 
   9136     amigaos*)
   9137       case $host_cpu in
   9138       powerpc)
   9139             # see comment about AmigaOS4 .so support
   9140             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9141             archive_expsym_cmds=''
   9142         ;;
   9143       m68k)
   9144             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)'
   9145             hardcode_libdir_flag_spec='-L$libdir'
   9146             hardcode_minus_L=yes
   9147         ;;
   9148       esac
   9149       ;;
   9150 
   9151     bsdi[45]*)
   9152       export_dynamic_flag_spec=-rdynamic
   9153       ;;
   9154 
   9155     cygwin* | mingw* | pw32* | cegcc*)
   9156       # When not using gcc, we currently assume that we are using
   9157       # Microsoft Visual C++.
   9158       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9159       # no search path for DLLs.
   9160       case $cc_basename in
   9161       cl*)
   9162 	# Native MSVC
   9163 	hardcode_libdir_flag_spec=' '
   9164 	allow_undefined_flag=unsupported
   9165 	always_export_symbols=yes
   9166 	file_list_spec='@'
   9167 	# Tell ltmain to make .lib files, not .a files.
   9168 	libext=lib
   9169 	# Tell ltmain to make .dll files, not .so files.
   9170 	shrext_cmds=".dll"
   9171 	# FIXME: Setting linknames here is a bad hack.
   9172 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9173 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9174 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9175 	  else
   9176 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9177 	  fi~
   9178 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9179 	  linknames='
   9180 	# The linker will not automatically build a static lib if we build a DLL.
   9181 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9182 	enable_shared_with_static_runtimes=yes
   9183 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9184 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9185 	# Don't use ranlib
   9186 	old_postinstall_cmds='chmod 644 $oldlib'
   9187 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9188 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9189 	  case $lt_outputfile in
   9190 	    *.exe|*.EXE) ;;
   9191 	    *)
   9192 	      lt_outputfile="$lt_outputfile.exe"
   9193 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9194 	      ;;
   9195 	  esac~
   9196 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9197 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9198 	    $RM "$lt_outputfile.manifest";
   9199 	  fi'
   9200 	;;
   9201       *)
   9202 	# Assume MSVC wrapper
   9203 	hardcode_libdir_flag_spec=' '
   9204 	allow_undefined_flag=unsupported
   9205 	# Tell ltmain to make .lib files, not .a files.
   9206 	libext=lib
   9207 	# Tell ltmain to make .dll files, not .so files.
   9208 	shrext_cmds=".dll"
   9209 	# FIXME: Setting linknames here is a bad hack.
   9210 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9211 	# The linker will automatically build a .lib file if we build a DLL.
   9212 	old_archive_from_new_cmds='true'
   9213 	# FIXME: Should let the user specify the lib program.
   9214 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9215 	enable_shared_with_static_runtimes=yes
   9216 	;;
   9217       esac
   9218       ;;
   9219 
   9220     darwin* | rhapsody*)
   9221 
   9222 
   9223   archive_cmds_need_lc=no
   9224   hardcode_direct=no
   9225   hardcode_automatic=yes
   9226   hardcode_shlibpath_var=unsupported
   9227   if test "$lt_cv_ld_force_load" = "yes"; then
   9228     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\"`'
   9229 
   9230   else
   9231     whole_archive_flag_spec=''
   9232   fi
   9233   link_all_deplibs=yes
   9234   allow_undefined_flag="$_lt_dar_allow_undefined"
   9235   case $cc_basename in
   9236      ifort*) _lt_dar_can_shared=yes ;;
   9237      *) _lt_dar_can_shared=$GCC ;;
   9238   esac
   9239   if test "$_lt_dar_can_shared" = "yes"; then
   9240     output_verbose_link_cmd=func_echo_all
   9241     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9242     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9243     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}"
   9244     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}"
   9245 
   9246   else
   9247   ld_shlibs=no
   9248   fi
   9249 
   9250       ;;
   9251 
   9252     dgux*)
   9253       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9254       hardcode_libdir_flag_spec='-L$libdir'
   9255       hardcode_shlibpath_var=no
   9256       ;;
   9257 
   9258     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9259     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9260     # does not break anything, and helps significantly (at the cost of a little
   9261     # extra space).
   9262     freebsd2.2*)
   9263       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9264       hardcode_libdir_flag_spec='-R$libdir'
   9265       hardcode_direct=yes
   9266       hardcode_shlibpath_var=no
   9267       ;;
   9268 
   9269     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9270     freebsd2.*)
   9271       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9272       hardcode_direct=yes
   9273       hardcode_minus_L=yes
   9274       hardcode_shlibpath_var=no
   9275       ;;
   9276 
   9277     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9278     freebsd* | dragonfly*)
   9279       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9280       hardcode_libdir_flag_spec='-R$libdir'
   9281       hardcode_direct=yes
   9282       hardcode_shlibpath_var=no
   9283       ;;
   9284 
   9285     hpux9*)
   9286       if test "$GCC" = yes; then
   9287 	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'
   9288       else
   9289 	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'
   9290       fi
   9291       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9292       hardcode_libdir_separator=:
   9293       hardcode_direct=yes
   9294 
   9295       # hardcode_minus_L: Not really in the search PATH,
   9296       # but as the default location of the library.
   9297       hardcode_minus_L=yes
   9298       export_dynamic_flag_spec='${wl}-E'
   9299       ;;
   9300 
   9301     hpux10*)
   9302       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9303 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9304       else
   9305 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9306       fi
   9307       if test "$with_gnu_ld" = no; then
   9308 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9309 	hardcode_libdir_separator=:
   9310 	hardcode_direct=yes
   9311 	hardcode_direct_absolute=yes
   9312 	export_dynamic_flag_spec='${wl}-E'
   9313 	# hardcode_minus_L: Not really in the search PATH,
   9314 	# but as the default location of the library.
   9315 	hardcode_minus_L=yes
   9316       fi
   9317       ;;
   9318 
   9319     hpux11*)
   9320       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9321 	case $host_cpu in
   9322 	hppa*64*)
   9323 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9324 	  ;;
   9325 	ia64*)
   9326 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9327 	  ;;
   9328 	*)
   9329 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9330 	  ;;
   9331 	esac
   9332       else
   9333 	case $host_cpu in
   9334 	hppa*64*)
   9335 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9336 	  ;;
   9337 	ia64*)
   9338 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9339 	  ;;
   9340 	*)
   9341 
   9342 	  # Older versions of the 11.00 compiler do not understand -b yet
   9343 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9344 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9345 $as_echo_n "checking if $CC understands -b... " >&6; }
   9346 if ${lt_cv_prog_compiler__b+:} false; then :
   9347   $as_echo_n "(cached) " >&6
   9348 else
   9349   lt_cv_prog_compiler__b=no
   9350    save_LDFLAGS="$LDFLAGS"
   9351    LDFLAGS="$LDFLAGS -b"
   9352    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9353    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9354      # The linker can only warn and ignore the option if not recognized
   9355      # So say no if there are warnings
   9356      if test -s conftest.err; then
   9357        # Append any errors to the config.log.
   9358        cat conftest.err 1>&5
   9359        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9360        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9361        if diff conftest.exp conftest.er2 >/dev/null; then
   9362          lt_cv_prog_compiler__b=yes
   9363        fi
   9364      else
   9365        lt_cv_prog_compiler__b=yes
   9366      fi
   9367    fi
   9368    $RM -r conftest*
   9369    LDFLAGS="$save_LDFLAGS"
   9370 
   9371 fi
   9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9373 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9374 
   9375 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9376     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9377 else
   9378     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9379 fi
   9380 
   9381 	  ;;
   9382 	esac
   9383       fi
   9384       if test "$with_gnu_ld" = no; then
   9385 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9386 	hardcode_libdir_separator=:
   9387 
   9388 	case $host_cpu in
   9389 	hppa*64*|ia64*)
   9390 	  hardcode_direct=no
   9391 	  hardcode_shlibpath_var=no
   9392 	  ;;
   9393 	*)
   9394 	  hardcode_direct=yes
   9395 	  hardcode_direct_absolute=yes
   9396 	  export_dynamic_flag_spec='${wl}-E'
   9397 
   9398 	  # hardcode_minus_L: Not really in the search PATH,
   9399 	  # but as the default location of the library.
   9400 	  hardcode_minus_L=yes
   9401 	  ;;
   9402 	esac
   9403       fi
   9404       ;;
   9405 
   9406     irix5* | irix6* | nonstopux*)
   9407       if test "$GCC" = yes; then
   9408 	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'
   9409 	# Try to use the -exported_symbol ld option, if it does not
   9410 	# work, assume that -exports_file does not work either and
   9411 	# implicitly export all symbols.
   9412 	# This should be the same for all languages, so no per-tag cache variable.
   9413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9414 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9415 if ${lt_cv_irix_exported_symbol+:} false; then :
   9416   $as_echo_n "(cached) " >&6
   9417 else
   9418   save_LDFLAGS="$LDFLAGS"
   9419 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9420 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9421 /* end confdefs.h.  */
   9422 int foo (void) { return 0; }
   9423 _ACEOF
   9424 if ac_fn_c_try_link "$LINENO"; then :
   9425   lt_cv_irix_exported_symbol=yes
   9426 else
   9427   lt_cv_irix_exported_symbol=no
   9428 fi
   9429 rm -f core conftest.err conftest.$ac_objext \
   9430     conftest$ac_exeext conftest.$ac_ext
   9431            LDFLAGS="$save_LDFLAGS"
   9432 fi
   9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9434 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9435 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9436           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'
   9437 	fi
   9438       else
   9439 	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'
   9440 	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'
   9441       fi
   9442       archive_cmds_need_lc='no'
   9443       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9444       hardcode_libdir_separator=:
   9445       inherit_rpath=yes
   9446       link_all_deplibs=yes
   9447       ;;
   9448 
   9449     netbsd*)
   9450       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9451 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9452       else
   9453 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9454       fi
   9455       hardcode_libdir_flag_spec='-R$libdir'
   9456       hardcode_direct=yes
   9457       hardcode_shlibpath_var=no
   9458       ;;
   9459 
   9460     newsos6)
   9461       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9462       hardcode_direct=yes
   9463       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9464       hardcode_libdir_separator=:
   9465       hardcode_shlibpath_var=no
   9466       ;;
   9467 
   9468     *nto* | *qnx*)
   9469       ;;
   9470 
   9471     openbsd*)
   9472       if test -f /usr/libexec/ld.so; then
   9473 	hardcode_direct=yes
   9474 	hardcode_shlibpath_var=no
   9475 	hardcode_direct_absolute=yes
   9476 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9477 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9478 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9479 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9480 	  export_dynamic_flag_spec='${wl}-E'
   9481 	else
   9482 	  case $host_os in
   9483 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9484 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9485 	     hardcode_libdir_flag_spec='-R$libdir'
   9486 	     ;;
   9487 	   *)
   9488 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9489 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9490 	     ;;
   9491 	  esac
   9492 	fi
   9493       else
   9494 	ld_shlibs=no
   9495       fi
   9496       ;;
   9497 
   9498     os2*)
   9499       hardcode_libdir_flag_spec='-L$libdir'
   9500       hardcode_minus_L=yes
   9501       allow_undefined_flag=unsupported
   9502       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'
   9503       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9504       ;;
   9505 
   9506     osf3*)
   9507       if test "$GCC" = yes; then
   9508 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9509 	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'
   9510       else
   9511 	allow_undefined_flag=' -expect_unresolved \*'
   9512 	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'
   9513       fi
   9514       archive_cmds_need_lc='no'
   9515       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9516       hardcode_libdir_separator=:
   9517       ;;
   9518 
   9519     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9520       if test "$GCC" = yes; then
   9521 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9522 	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'
   9523 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9524       else
   9525 	allow_undefined_flag=' -expect_unresolved \*'
   9526 	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'
   9527 	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~
   9528 	$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'
   9529 
   9530 	# Both c and cxx compiler support -rpath directly
   9531 	hardcode_libdir_flag_spec='-rpath $libdir'
   9532       fi
   9533       archive_cmds_need_lc='no'
   9534       hardcode_libdir_separator=:
   9535       ;;
   9536 
   9537     solaris*)
   9538       no_undefined_flag=' -z defs'
   9539       if test "$GCC" = yes; then
   9540 	wlarc='${wl}'
   9541 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9542 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9543 	  $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'
   9544       else
   9545 	case `$CC -V 2>&1` in
   9546 	*"Compilers 5.0"*)
   9547 	  wlarc=''
   9548 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9549 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9550 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9551 	  ;;
   9552 	*)
   9553 	  wlarc='${wl}'
   9554 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9555 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9556 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9557 	  ;;
   9558 	esac
   9559       fi
   9560       hardcode_libdir_flag_spec='-R$libdir'
   9561       hardcode_shlibpath_var=no
   9562       case $host_os in
   9563       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9564       *)
   9565 	# The compiler driver will combine and reorder linker options,
   9566 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9567 	# but is careful enough not to reorder.
   9568 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9569 	if test "$GCC" = yes; then
   9570 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9571 	else
   9572 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9573 	fi
   9574 	;;
   9575       esac
   9576       link_all_deplibs=yes
   9577       ;;
   9578 
   9579     sunos4*)
   9580       if test "x$host_vendor" = xsequent; then
   9581 	# Use $CC to link under sequent, because it throws in some extra .o
   9582 	# files that make .init and .fini sections work.
   9583 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9584       else
   9585 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9586       fi
   9587       hardcode_libdir_flag_spec='-L$libdir'
   9588       hardcode_direct=yes
   9589       hardcode_minus_L=yes
   9590       hardcode_shlibpath_var=no
   9591       ;;
   9592 
   9593     sysv4)
   9594       case $host_vendor in
   9595 	sni)
   9596 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9597 	  hardcode_direct=yes # is this really true???
   9598 	;;
   9599 	siemens)
   9600 	  ## LD is ld it makes a PLAMLIB
   9601 	  ## CC just makes a GrossModule.
   9602 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9603 	  reload_cmds='$CC -r -o $output$reload_objs'
   9604 	  hardcode_direct=no
   9605         ;;
   9606 	motorola)
   9607 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9608 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9609 	;;
   9610       esac
   9611       runpath_var='LD_RUN_PATH'
   9612       hardcode_shlibpath_var=no
   9613       ;;
   9614 
   9615     sysv4.3*)
   9616       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9617       hardcode_shlibpath_var=no
   9618       export_dynamic_flag_spec='-Bexport'
   9619       ;;
   9620 
   9621     sysv4*MP*)
   9622       if test -d /usr/nec; then
   9623 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9624 	hardcode_shlibpath_var=no
   9625 	runpath_var=LD_RUN_PATH
   9626 	hardcode_runpath_var=yes
   9627 	ld_shlibs=yes
   9628       fi
   9629       ;;
   9630 
   9631     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9632       no_undefined_flag='${wl}-z,text'
   9633       archive_cmds_need_lc=no
   9634       hardcode_shlibpath_var=no
   9635       runpath_var='LD_RUN_PATH'
   9636 
   9637       if test "$GCC" = yes; then
   9638 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9639 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9640       else
   9641 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9642 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9643       fi
   9644       ;;
   9645 
   9646     sysv5* | sco3.2v5* | sco5v6*)
   9647       # Note: We can NOT use -z defs as we might desire, because we do not
   9648       # link with -lc, and that would cause any symbols used from libc to
   9649       # always be unresolved, which means just about no library would
   9650       # ever link correctly.  If we're not using GNU ld we use -z text
   9651       # though, which does catch some bad symbols but isn't as heavy-handed
   9652       # as -z defs.
   9653       no_undefined_flag='${wl}-z,text'
   9654       allow_undefined_flag='${wl}-z,nodefs'
   9655       archive_cmds_need_lc=no
   9656       hardcode_shlibpath_var=no
   9657       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9658       hardcode_libdir_separator=':'
   9659       link_all_deplibs=yes
   9660       export_dynamic_flag_spec='${wl}-Bexport'
   9661       runpath_var='LD_RUN_PATH'
   9662 
   9663       if test "$GCC" = yes; then
   9664 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9665 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9666       else
   9667 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9668 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9669       fi
   9670       ;;
   9671 
   9672     uts4*)
   9673       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9674       hardcode_libdir_flag_spec='-L$libdir'
   9675       hardcode_shlibpath_var=no
   9676       ;;
   9677 
   9678     *)
   9679       ld_shlibs=no
   9680       ;;
   9681     esac
   9682 
   9683     if test x$host_vendor = xsni; then
   9684       case $host in
   9685       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9686 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9687 	;;
   9688       esac
   9689     fi
   9690   fi
   9691 
   9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9693 $as_echo "$ld_shlibs" >&6; }
   9694 test "$ld_shlibs" = no && can_build_shared=no
   9695 
   9696 with_gnu_ld=$with_gnu_ld
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 #
   9713 # Do we need to explicitly link libc?
   9714 #
   9715 case "x$archive_cmds_need_lc" in
   9716 x|xyes)
   9717   # Assume -lc should be added
   9718   archive_cmds_need_lc=yes
   9719 
   9720   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9721     case $archive_cmds in
   9722     *'~'*)
   9723       # FIXME: we may have to deal with multi-command sequences.
   9724       ;;
   9725     '$CC '*)
   9726       # Test whether the compiler implicitly links with -lc since on some
   9727       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9728       # to ld, don't add -lc before -lgcc.
   9729       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9730 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9731 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9732   $as_echo_n "(cached) " >&6
   9733 else
   9734   $RM conftest*
   9735 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9736 
   9737 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9738   (eval $ac_compile) 2>&5
   9739   ac_status=$?
   9740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9741   test $ac_status = 0; } 2>conftest.err; then
   9742 	  soname=conftest
   9743 	  lib=conftest
   9744 	  libobjs=conftest.$ac_objext
   9745 	  deplibs=
   9746 	  wl=$lt_prog_compiler_wl
   9747 	  pic_flag=$lt_prog_compiler_pic
   9748 	  compiler_flags=-v
   9749 	  linker_flags=-v
   9750 	  verstring=
   9751 	  output_objdir=.
   9752 	  libname=conftest
   9753 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9754 	  allow_undefined_flag=
   9755 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9756   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9757   ac_status=$?
   9758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9759   test $ac_status = 0; }
   9760 	  then
   9761 	    lt_cv_archive_cmds_need_lc=no
   9762 	  else
   9763 	    lt_cv_archive_cmds_need_lc=yes
   9764 	  fi
   9765 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9766 	else
   9767 	  cat conftest.err 1>&5
   9768 	fi
   9769 	$RM conftest*
   9770 
   9771 fi
   9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9773 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9774       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9775       ;;
   9776     esac
   9777   fi
   9778   ;;
   9779 esac
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9933 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9934 
   9935 if test "$GCC" = yes; then
   9936   case $host_os in
   9937     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9938     *) lt_awk_arg="/^libraries:/" ;;
   9939   esac
   9940   case $host_os in
   9941     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9942     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9943   esac
   9944   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9945   case $lt_search_path_spec in
   9946   *\;*)
   9947     # if the path contains ";" then we assume it to be the separator
   9948     # otherwise default to the standard path separator (i.e. ":") - it is
   9949     # assumed that no part of a normal pathname contains ";" but that should
   9950     # okay in the real world where ";" in dirpaths is itself problematic.
   9951     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9952     ;;
   9953   *)
   9954     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9955     ;;
   9956   esac
   9957   # Ok, now we have the path, separated by spaces, we can step through it
   9958   # and add multilib dir if necessary.
   9959   lt_tmp_lt_search_path_spec=
   9960   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9961   for lt_sys_path in $lt_search_path_spec; do
   9962     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9963       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9964     else
   9965       test -d "$lt_sys_path" && \
   9966 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9967     fi
   9968   done
   9969   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9970 BEGIN {RS=" "; FS="/|\n";} {
   9971   lt_foo="";
   9972   lt_count=0;
   9973   for (lt_i = NF; lt_i > 0; lt_i--) {
   9974     if ($lt_i != "" && $lt_i != ".") {
   9975       if ($lt_i == "..") {
   9976         lt_count++;
   9977       } else {
   9978         if (lt_count == 0) {
   9979           lt_foo="/" $lt_i lt_foo;
   9980         } else {
   9981           lt_count--;
   9982         }
   9983       }
   9984     }
   9985   }
   9986   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9987   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9988 }'`
   9989   # AWK program above erroneously prepends '/' to C:/dos/paths
   9990   # for these hosts.
   9991   case $host_os in
   9992     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9993       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9994   esac
   9995   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9996 else
   9997   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9998 fi
   9999 library_names_spec=
   10000 libname_spec='lib$name'
   10001 soname_spec=
   10002 shrext_cmds=".so"
   10003 postinstall_cmds=
   10004 postuninstall_cmds=
   10005 finish_cmds=
   10006 finish_eval=
   10007 shlibpath_var=
   10008 shlibpath_overrides_runpath=unknown
   10009 version_type=none
   10010 dynamic_linker="$host_os ld.so"
   10011 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10012 need_lib_prefix=unknown
   10013 hardcode_into_libs=no
   10014 
   10015 # when you set need_version to no, make sure it does not cause -set_version
   10016 # flags to be left without arguments
   10017 need_version=unknown
   10018 
   10019 case $host_os in
   10020 aix3*)
   10021   version_type=linux # correct to gnu/linux during the next big refactor
   10022   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10023   shlibpath_var=LIBPATH
   10024 
   10025   # AIX 3 has no versioning support, so we append a major version to the name.
   10026   soname_spec='${libname}${release}${shared_ext}$major'
   10027   ;;
   10028 
   10029 aix[4-9]*)
   10030   version_type=linux # correct to gnu/linux during the next big refactor
   10031   need_lib_prefix=no
   10032   need_version=no
   10033   hardcode_into_libs=yes
   10034   if test "$host_cpu" = ia64; then
   10035     # AIX 5 supports IA64
   10036     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10037     shlibpath_var=LD_LIBRARY_PATH
   10038   else
   10039     # With GCC up to 2.95.x, collect2 would create an import file
   10040     # for dependence libraries.  The import file would start with
   10041     # the line `#! .'.  This would cause the generated library to
   10042     # depend on `.', always an invalid library.  This was fixed in
   10043     # development snapshots of GCC prior to 3.0.
   10044     case $host_os in
   10045       aix4 | aix4.[01] | aix4.[01].*)
   10046       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10047 	   echo ' yes '
   10048 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10049 	:
   10050       else
   10051 	can_build_shared=no
   10052       fi
   10053       ;;
   10054     esac
   10055     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10056     # soname into executable. Probably we can add versioning support to
   10057     # collect2, so additional links can be useful in future.
   10058     if test "$aix_use_runtimelinking" = yes; then
   10059       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10060       # instead of lib<name>.a to let people know that these are not
   10061       # typical AIX shared libraries.
   10062       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10063     else
   10064       # We preserve .a as extension for shared libraries through AIX4.2
   10065       # and later when we are not doing run time linking.
   10066       library_names_spec='${libname}${release}.a $libname.a'
   10067       soname_spec='${libname}${release}${shared_ext}$major'
   10068     fi
   10069     shlibpath_var=LIBPATH
   10070   fi
   10071   ;;
   10072 
   10073 amigaos*)
   10074   case $host_cpu in
   10075   powerpc)
   10076     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10077     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10078     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10079     ;;
   10080   m68k)
   10081     library_names_spec='$libname.ixlibrary $libname.a'
   10082     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10083     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'
   10084     ;;
   10085   esac
   10086   ;;
   10087 
   10088 beos*)
   10089   library_names_spec='${libname}${shared_ext}'
   10090   dynamic_linker="$host_os ld.so"
   10091   shlibpath_var=LIBRARY_PATH
   10092   ;;
   10093 
   10094 bsdi[45]*)
   10095   version_type=linux # correct to gnu/linux during the next big refactor
   10096   need_version=no
   10097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10098   soname_spec='${libname}${release}${shared_ext}$major'
   10099   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10100   shlibpath_var=LD_LIBRARY_PATH
   10101   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10102   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10103   # the default ld.so.conf also contains /usr/contrib/lib and
   10104   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10105   # libtool to hard-code these into programs
   10106   ;;
   10107 
   10108 cygwin* | mingw* | pw32* | cegcc*)
   10109   version_type=windows
   10110   shrext_cmds=".dll"
   10111   need_version=no
   10112   need_lib_prefix=no
   10113 
   10114   case $GCC,$cc_basename in
   10115   yes,*)
   10116     # gcc
   10117     library_names_spec='$libname.dll.a'
   10118     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10119     postinstall_cmds='base_file=`basename \${file}`~
   10120       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10121       dldir=$destdir/`dirname \$dlpath`~
   10122       test -d \$dldir || mkdir -p \$dldir~
   10123       $install_prog $dir/$dlname \$dldir/$dlname~
   10124       chmod a+x \$dldir/$dlname~
   10125       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10126         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10127       fi'
   10128     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10129       dlpath=$dir/\$dldll~
   10130        $RM \$dlpath'
   10131     shlibpath_overrides_runpath=yes
   10132 
   10133     case $host_os in
   10134     cygwin*)
   10135       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10136       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10137 
   10138       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10139       ;;
   10140     mingw* | cegcc*)
   10141       # MinGW DLLs use traditional 'lib' prefix
   10142       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10143       ;;
   10144     pw32*)
   10145       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10146       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10147       ;;
   10148     esac
   10149     dynamic_linker='Win32 ld.exe'
   10150     ;;
   10151 
   10152   *,cl*)
   10153     # Native MSVC
   10154     libname_spec='$name'
   10155     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10156     library_names_spec='${libname}.dll.lib'
   10157 
   10158     case $build_os in
   10159     mingw*)
   10160       sys_lib_search_path_spec=
   10161       lt_save_ifs=$IFS
   10162       IFS=';'
   10163       for lt_path in $LIB
   10164       do
   10165         IFS=$lt_save_ifs
   10166         # Let DOS variable expansion print the short 8.3 style file name.
   10167         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10168         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10169       done
   10170       IFS=$lt_save_ifs
   10171       # Convert to MSYS style.
   10172       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10173       ;;
   10174     cygwin*)
   10175       # Convert to unix form, then to dos form, then back to unix form
   10176       # but this time dos style (no spaces!) so that the unix form looks
   10177       # like /cygdrive/c/PROGRA~1:/cygdr...
   10178       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10179       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10180       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10181       ;;
   10182     *)
   10183       sys_lib_search_path_spec="$LIB"
   10184       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10185         # It is most probably a Windows format PATH.
   10186         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10187       else
   10188         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10189       fi
   10190       # FIXME: find the short name or the path components, as spaces are
   10191       # common. (e.g. "Program Files" -> "PROGRA~1")
   10192       ;;
   10193     esac
   10194 
   10195     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10196     postinstall_cmds='base_file=`basename \${file}`~
   10197       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10198       dldir=$destdir/`dirname \$dlpath`~
   10199       test -d \$dldir || mkdir -p \$dldir~
   10200       $install_prog $dir/$dlname \$dldir/$dlname'
   10201     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10202       dlpath=$dir/\$dldll~
   10203        $RM \$dlpath'
   10204     shlibpath_overrides_runpath=yes
   10205     dynamic_linker='Win32 link.exe'
   10206     ;;
   10207 
   10208   *)
   10209     # Assume MSVC wrapper
   10210     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10211     dynamic_linker='Win32 ld.exe'
   10212     ;;
   10213   esac
   10214   # FIXME: first we should search . and the directory the executable is in
   10215   shlibpath_var=PATH
   10216   ;;
   10217 
   10218 darwin* | rhapsody*)
   10219   dynamic_linker="$host_os dyld"
   10220   version_type=darwin
   10221   need_lib_prefix=no
   10222   need_version=no
   10223   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10224   soname_spec='${libname}${release}${major}$shared_ext'
   10225   shlibpath_overrides_runpath=yes
   10226   shlibpath_var=DYLD_LIBRARY_PATH
   10227   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10228 
   10229   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10230   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10231   ;;
   10232 
   10233 dgux*)
   10234   version_type=linux # correct to gnu/linux during the next big refactor
   10235   need_lib_prefix=no
   10236   need_version=no
   10237   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10238   soname_spec='${libname}${release}${shared_ext}$major'
   10239   shlibpath_var=LD_LIBRARY_PATH
   10240   ;;
   10241 
   10242 freebsd* | dragonfly*)
   10243   # DragonFly does not have aout.  When/if they implement a new
   10244   # versioning mechanism, adjust this.
   10245   if test -x /usr/bin/objformat; then
   10246     objformat=`/usr/bin/objformat`
   10247   else
   10248     case $host_os in
   10249     freebsd[23].*) objformat=aout ;;
   10250     *) objformat=elf ;;
   10251     esac
   10252   fi
   10253   version_type=freebsd-$objformat
   10254   case $version_type in
   10255     freebsd-elf*)
   10256       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10257       need_version=no
   10258       need_lib_prefix=no
   10259       ;;
   10260     freebsd-*)
   10261       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10262       need_version=yes
   10263       ;;
   10264   esac
   10265   shlibpath_var=LD_LIBRARY_PATH
   10266   case $host_os in
   10267   freebsd2.*)
   10268     shlibpath_overrides_runpath=yes
   10269     ;;
   10270   freebsd3.[01]* | freebsdelf3.[01]*)
   10271     shlibpath_overrides_runpath=yes
   10272     hardcode_into_libs=yes
   10273     ;;
   10274   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10275   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10276     shlibpath_overrides_runpath=no
   10277     hardcode_into_libs=yes
   10278     ;;
   10279   *) # from 4.6 on, and DragonFly
   10280     shlibpath_overrides_runpath=yes
   10281     hardcode_into_libs=yes
   10282     ;;
   10283   esac
   10284   ;;
   10285 
   10286 gnu*)
   10287   version_type=linux # correct to gnu/linux during the next big refactor
   10288   need_lib_prefix=no
   10289   need_version=no
   10290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10291   soname_spec='${libname}${release}${shared_ext}$major'
   10292   shlibpath_var=LD_LIBRARY_PATH
   10293   shlibpath_overrides_runpath=no
   10294   hardcode_into_libs=yes
   10295   ;;
   10296 
   10297 haiku*)
   10298   version_type=linux # correct to gnu/linux during the next big refactor
   10299   need_lib_prefix=no
   10300   need_version=no
   10301   dynamic_linker="$host_os runtime_loader"
   10302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10303   soname_spec='${libname}${release}${shared_ext}$major'
   10304   shlibpath_var=LIBRARY_PATH
   10305   shlibpath_overrides_runpath=yes
   10306   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10307   hardcode_into_libs=yes
   10308   ;;
   10309 
   10310 hpux9* | hpux10* | hpux11*)
   10311   # Give a soname corresponding to the major version so that dld.sl refuses to
   10312   # link against other versions.
   10313   version_type=sunos
   10314   need_lib_prefix=no
   10315   need_version=no
   10316   case $host_cpu in
   10317   ia64*)
   10318     shrext_cmds='.so'
   10319     hardcode_into_libs=yes
   10320     dynamic_linker="$host_os dld.so"
   10321     shlibpath_var=LD_LIBRARY_PATH
   10322     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10323     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10324     soname_spec='${libname}${release}${shared_ext}$major'
   10325     if test "X$HPUX_IA64_MODE" = X32; then
   10326       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10327     else
   10328       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10329     fi
   10330     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10331     ;;
   10332   hppa*64*)
   10333     shrext_cmds='.sl'
   10334     hardcode_into_libs=yes
   10335     dynamic_linker="$host_os dld.sl"
   10336     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10337     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10339     soname_spec='${libname}${release}${shared_ext}$major'
   10340     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10341     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10342     ;;
   10343   *)
   10344     shrext_cmds='.sl'
   10345     dynamic_linker="$host_os dld.sl"
   10346     shlibpath_var=SHLIB_PATH
   10347     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10349     soname_spec='${libname}${release}${shared_ext}$major'
   10350     ;;
   10351   esac
   10352   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10353   postinstall_cmds='chmod 555 $lib'
   10354   # or fails outright, so override atomically:
   10355   install_override_mode=555
   10356   ;;
   10357 
   10358 interix[3-9]*)
   10359   version_type=linux # correct to gnu/linux during the next big refactor
   10360   need_lib_prefix=no
   10361   need_version=no
   10362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10363   soname_spec='${libname}${release}${shared_ext}$major'
   10364   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10365   shlibpath_var=LD_LIBRARY_PATH
   10366   shlibpath_overrides_runpath=no
   10367   hardcode_into_libs=yes
   10368   ;;
   10369 
   10370 irix5* | irix6* | nonstopux*)
   10371   case $host_os in
   10372     nonstopux*) version_type=nonstopux ;;
   10373     *)
   10374 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10375 		version_type=linux # correct to gnu/linux during the next big refactor
   10376 	else
   10377 		version_type=irix
   10378 	fi ;;
   10379   esac
   10380   need_lib_prefix=no
   10381   need_version=no
   10382   soname_spec='${libname}${release}${shared_ext}$major'
   10383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10384   case $host_os in
   10385   irix5* | nonstopux*)
   10386     libsuff= shlibsuff=
   10387     ;;
   10388   *)
   10389     case $LD in # libtool.m4 will add one of these switches to LD
   10390     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10391       libsuff= shlibsuff= libmagic=32-bit;;
   10392     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10393       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10394     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10395       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10396     *) libsuff= shlibsuff= libmagic=never-match;;
   10397     esac
   10398     ;;
   10399   esac
   10400   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10401   shlibpath_overrides_runpath=no
   10402   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10403   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10404   hardcode_into_libs=yes
   10405   ;;
   10406 
   10407 # No shared lib support for Linux oldld, aout, or coff.
   10408 linux*oldld* | linux*aout* | linux*coff*)
   10409   dynamic_linker=no
   10410   ;;
   10411 
   10412 # This must be glibc/ELF.
   10413 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10414   version_type=linux # correct to gnu/linux during the next big refactor
   10415   need_lib_prefix=no
   10416   need_version=no
   10417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10418   soname_spec='${libname}${release}${shared_ext}$major'
   10419   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10420   shlibpath_var=LD_LIBRARY_PATH
   10421   shlibpath_overrides_runpath=no
   10422 
   10423   # Some binutils ld are patched to set DT_RUNPATH
   10424   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10425   $as_echo_n "(cached) " >&6
   10426 else
   10427   lt_cv_shlibpath_overrides_runpath=no
   10428     save_LDFLAGS=$LDFLAGS
   10429     save_libdir=$libdir
   10430     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10431 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10432     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10433 /* end confdefs.h.  */
   10434 
   10435 int
   10436 main ()
   10437 {
   10438 
   10439   ;
   10440   return 0;
   10441 }
   10442 _ACEOF
   10443 if ac_fn_c_try_link "$LINENO"; then :
   10444   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10445   lt_cv_shlibpath_overrides_runpath=yes
   10446 fi
   10447 fi
   10448 rm -f core conftest.err conftest.$ac_objext \
   10449     conftest$ac_exeext conftest.$ac_ext
   10450     LDFLAGS=$save_LDFLAGS
   10451     libdir=$save_libdir
   10452 
   10453 fi
   10454 
   10455   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10456 
   10457   # This implies no fast_install, which is unacceptable.
   10458   # Some rework will be needed to allow for fast_install
   10459   # before this can be enabled.
   10460   hardcode_into_libs=yes
   10461 
   10462   # Append ld.so.conf contents to the search path
   10463   if test -f /etc/ld.so.conf; then
   10464     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' ' '`
   10465     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10466   fi
   10467 
   10468   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10469   # powerpc, because MkLinux only supported shared libraries with the
   10470   # GNU dynamic linker.  Since this was broken with cross compilers,
   10471   # most powerpc-linux boxes support dynamic linking these days and
   10472   # people can always --disable-shared, the test was removed, and we
   10473   # assume the GNU/Linux dynamic linker is in use.
   10474   dynamic_linker='GNU/Linux ld.so'
   10475   ;;
   10476 
   10477 netbsd*)
   10478   version_type=sunos
   10479   need_lib_prefix=no
   10480   need_version=no
   10481   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10482     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10483     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10484     dynamic_linker='NetBSD (a.out) ld.so'
   10485   else
   10486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10487     soname_spec='${libname}${release}${shared_ext}$major'
   10488     dynamic_linker='NetBSD ld.elf_so'
   10489   fi
   10490   shlibpath_var=LD_LIBRARY_PATH
   10491   shlibpath_overrides_runpath=yes
   10492   hardcode_into_libs=yes
   10493   ;;
   10494 
   10495 newsos6)
   10496   version_type=linux # correct to gnu/linux during the next big refactor
   10497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10498   shlibpath_var=LD_LIBRARY_PATH
   10499   shlibpath_overrides_runpath=yes
   10500   ;;
   10501 
   10502 *nto* | *qnx*)
   10503   version_type=qnx
   10504   need_lib_prefix=no
   10505   need_version=no
   10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10507   soname_spec='${libname}${release}${shared_ext}$major'
   10508   shlibpath_var=LD_LIBRARY_PATH
   10509   shlibpath_overrides_runpath=no
   10510   hardcode_into_libs=yes
   10511   dynamic_linker='ldqnx.so'
   10512   ;;
   10513 
   10514 openbsd*)
   10515   version_type=sunos
   10516   sys_lib_dlsearch_path_spec="/usr/lib"
   10517   need_lib_prefix=no
   10518   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10519   case $host_os in
   10520     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10521     *)				need_version=no  ;;
   10522   esac
   10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10524   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10525   shlibpath_var=LD_LIBRARY_PATH
   10526   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10527     case $host_os in
   10528       openbsd2.[89] | openbsd2.[89].*)
   10529 	shlibpath_overrides_runpath=no
   10530 	;;
   10531       *)
   10532 	shlibpath_overrides_runpath=yes
   10533 	;;
   10534       esac
   10535   else
   10536     shlibpath_overrides_runpath=yes
   10537   fi
   10538   ;;
   10539 
   10540 os2*)
   10541   libname_spec='$name'
   10542   shrext_cmds=".dll"
   10543   need_lib_prefix=no
   10544   library_names_spec='$libname${shared_ext} $libname.a'
   10545   dynamic_linker='OS/2 ld.exe'
   10546   shlibpath_var=LIBPATH
   10547   ;;
   10548 
   10549 osf3* | osf4* | osf5*)
   10550   version_type=osf
   10551   need_lib_prefix=no
   10552   need_version=no
   10553   soname_spec='${libname}${release}${shared_ext}$major'
   10554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10555   shlibpath_var=LD_LIBRARY_PATH
   10556   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10557   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10558   ;;
   10559 
   10560 rdos*)
   10561   dynamic_linker=no
   10562   ;;
   10563 
   10564 solaris*)
   10565   version_type=linux # correct to gnu/linux during the next big refactor
   10566   need_lib_prefix=no
   10567   need_version=no
   10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10569   soname_spec='${libname}${release}${shared_ext}$major'
   10570   shlibpath_var=LD_LIBRARY_PATH
   10571   shlibpath_overrides_runpath=yes
   10572   hardcode_into_libs=yes
   10573   # ldd complains unless libraries are executable
   10574   postinstall_cmds='chmod +x $lib'
   10575   ;;
   10576 
   10577 sunos4*)
   10578   version_type=sunos
   10579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10580   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10581   shlibpath_var=LD_LIBRARY_PATH
   10582   shlibpath_overrides_runpath=yes
   10583   if test "$with_gnu_ld" = yes; then
   10584     need_lib_prefix=no
   10585   fi
   10586   need_version=yes
   10587   ;;
   10588 
   10589 sysv4 | sysv4.3*)
   10590   version_type=linux # correct to gnu/linux during the next big refactor
   10591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10592   soname_spec='${libname}${release}${shared_ext}$major'
   10593   shlibpath_var=LD_LIBRARY_PATH
   10594   case $host_vendor in
   10595     sni)
   10596       shlibpath_overrides_runpath=no
   10597       need_lib_prefix=no
   10598       runpath_var=LD_RUN_PATH
   10599       ;;
   10600     siemens)
   10601       need_lib_prefix=no
   10602       ;;
   10603     motorola)
   10604       need_lib_prefix=no
   10605       need_version=no
   10606       shlibpath_overrides_runpath=no
   10607       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10608       ;;
   10609   esac
   10610   ;;
   10611 
   10612 sysv4*MP*)
   10613   if test -d /usr/nec ;then
   10614     version_type=linux # correct to gnu/linux during the next big refactor
   10615     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10616     soname_spec='$libname${shared_ext}.$major'
   10617     shlibpath_var=LD_LIBRARY_PATH
   10618   fi
   10619   ;;
   10620 
   10621 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10622   version_type=freebsd-elf
   10623   need_lib_prefix=no
   10624   need_version=no
   10625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10626   soname_spec='${libname}${release}${shared_ext}$major'
   10627   shlibpath_var=LD_LIBRARY_PATH
   10628   shlibpath_overrides_runpath=yes
   10629   hardcode_into_libs=yes
   10630   if test "$with_gnu_ld" = yes; then
   10631     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10632   else
   10633     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10634     case $host_os in
   10635       sco3.2v5*)
   10636         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10637 	;;
   10638     esac
   10639   fi
   10640   sys_lib_dlsearch_path_spec='/usr/lib'
   10641   ;;
   10642 
   10643 tpf*)
   10644   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10645   version_type=linux # correct to gnu/linux during the next big refactor
   10646   need_lib_prefix=no
   10647   need_version=no
   10648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10649   shlibpath_var=LD_LIBRARY_PATH
   10650   shlibpath_overrides_runpath=no
   10651   hardcode_into_libs=yes
   10652   ;;
   10653 
   10654 uts4*)
   10655   version_type=linux # correct to gnu/linux during the next big refactor
   10656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10657   soname_spec='${libname}${release}${shared_ext}$major'
   10658   shlibpath_var=LD_LIBRARY_PATH
   10659   ;;
   10660 
   10661 *)
   10662   dynamic_linker=no
   10663   ;;
   10664 esac
   10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10666 $as_echo "$dynamic_linker" >&6; }
   10667 test "$dynamic_linker" = no && can_build_shared=no
   10668 
   10669 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10670 if test "$GCC" = yes; then
   10671   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10672 fi
   10673 
   10674 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10675   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10676 fi
   10677 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10678   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10679 fi
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10773 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10774 hardcode_action=
   10775 if test -n "$hardcode_libdir_flag_spec" ||
   10776    test -n "$runpath_var" ||
   10777    test "X$hardcode_automatic" = "Xyes" ; then
   10778 
   10779   # We can hardcode non-existent directories.
   10780   if test "$hardcode_direct" != no &&
   10781      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10782      # have to relink, otherwise we might link with an installed library
   10783      # when we should be linking with a yet-to-be-installed one
   10784      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10785      test "$hardcode_minus_L" != no; then
   10786     # Linking always hardcodes the temporary library directory.
   10787     hardcode_action=relink
   10788   else
   10789     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10790     hardcode_action=immediate
   10791   fi
   10792 else
   10793   # We cannot hardcode anything, or else we can only hardcode existing
   10794   # directories.
   10795   hardcode_action=unsupported
   10796 fi
   10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10798 $as_echo "$hardcode_action" >&6; }
   10799 
   10800 if test "$hardcode_action" = relink ||
   10801    test "$inherit_rpath" = yes; then
   10802   # Fast installation is not supported
   10803   enable_fast_install=no
   10804 elif test "$shlibpath_overrides_runpath" = yes ||
   10805      test "$enable_shared" = no; then
   10806   # Fast installation is not necessary
   10807   enable_fast_install=needless
   10808 fi
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815   if test "x$enable_dlopen" != xyes; then
   10816   enable_dlopen=unknown
   10817   enable_dlopen_self=unknown
   10818   enable_dlopen_self_static=unknown
   10819 else
   10820   lt_cv_dlopen=no
   10821   lt_cv_dlopen_libs=
   10822 
   10823   case $host_os in
   10824   beos*)
   10825     lt_cv_dlopen="load_add_on"
   10826     lt_cv_dlopen_libs=
   10827     lt_cv_dlopen_self=yes
   10828     ;;
   10829 
   10830   mingw* | pw32* | cegcc*)
   10831     lt_cv_dlopen="LoadLibrary"
   10832     lt_cv_dlopen_libs=
   10833     ;;
   10834 
   10835   cygwin*)
   10836     lt_cv_dlopen="dlopen"
   10837     lt_cv_dlopen_libs=
   10838     ;;
   10839 
   10840   darwin*)
   10841   # if libdl is installed we need to link against it
   10842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10843 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10844 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10845   $as_echo_n "(cached) " >&6
   10846 else
   10847   ac_check_lib_save_LIBS=$LIBS
   10848 LIBS="-ldl  $LIBS"
   10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10850 /* end confdefs.h.  */
   10851 
   10852 /* Override any GCC internal prototype to avoid an error.
   10853    Use char because int might match the return type of a GCC
   10854    builtin and then its argument prototype would still apply.  */
   10855 #ifdef __cplusplus
   10856 extern "C"
   10857 #endif
   10858 char dlopen ();
   10859 int
   10860 main ()
   10861 {
   10862 return dlopen ();
   10863   ;
   10864   return 0;
   10865 }
   10866 _ACEOF
   10867 if ac_fn_c_try_link "$LINENO"; then :
   10868   ac_cv_lib_dl_dlopen=yes
   10869 else
   10870   ac_cv_lib_dl_dlopen=no
   10871 fi
   10872 rm -f core conftest.err conftest.$ac_objext \
   10873     conftest$ac_exeext conftest.$ac_ext
   10874 LIBS=$ac_check_lib_save_LIBS
   10875 fi
   10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10877 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10878 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10879   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10880 else
   10881 
   10882     lt_cv_dlopen="dyld"
   10883     lt_cv_dlopen_libs=
   10884     lt_cv_dlopen_self=yes
   10885 
   10886 fi
   10887 
   10888     ;;
   10889 
   10890   *)
   10891     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10892 if test "x$ac_cv_func_shl_load" = xyes; then :
   10893   lt_cv_dlopen="shl_load"
   10894 else
   10895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10896 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10897 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10898   $as_echo_n "(cached) " >&6
   10899 else
   10900   ac_check_lib_save_LIBS=$LIBS
   10901 LIBS="-ldld  $LIBS"
   10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10903 /* end confdefs.h.  */
   10904 
   10905 /* Override any GCC internal prototype to avoid an error.
   10906    Use char because int might match the return type of a GCC
   10907    builtin and then its argument prototype would still apply.  */
   10908 #ifdef __cplusplus
   10909 extern "C"
   10910 #endif
   10911 char shl_load ();
   10912 int
   10913 main ()
   10914 {
   10915 return shl_load ();
   10916   ;
   10917   return 0;
   10918 }
   10919 _ACEOF
   10920 if ac_fn_c_try_link "$LINENO"; then :
   10921   ac_cv_lib_dld_shl_load=yes
   10922 else
   10923   ac_cv_lib_dld_shl_load=no
   10924 fi
   10925 rm -f core conftest.err conftest.$ac_objext \
   10926     conftest$ac_exeext conftest.$ac_ext
   10927 LIBS=$ac_check_lib_save_LIBS
   10928 fi
   10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10930 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10931 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10932   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10933 else
   10934   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10935 if test "x$ac_cv_func_dlopen" = xyes; then :
   10936   lt_cv_dlopen="dlopen"
   10937 else
   10938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10939 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10940 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10941   $as_echo_n "(cached) " >&6
   10942 else
   10943   ac_check_lib_save_LIBS=$LIBS
   10944 LIBS="-ldl  $LIBS"
   10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10946 /* end confdefs.h.  */
   10947 
   10948 /* Override any GCC internal prototype to avoid an error.
   10949    Use char because int might match the return type of a GCC
   10950    builtin and then its argument prototype would still apply.  */
   10951 #ifdef __cplusplus
   10952 extern "C"
   10953 #endif
   10954 char dlopen ();
   10955 int
   10956 main ()
   10957 {
   10958 return dlopen ();
   10959   ;
   10960   return 0;
   10961 }
   10962 _ACEOF
   10963 if ac_fn_c_try_link "$LINENO"; then :
   10964   ac_cv_lib_dl_dlopen=yes
   10965 else
   10966   ac_cv_lib_dl_dlopen=no
   10967 fi
   10968 rm -f core conftest.err conftest.$ac_objext \
   10969     conftest$ac_exeext conftest.$ac_ext
   10970 LIBS=$ac_check_lib_save_LIBS
   10971 fi
   10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10973 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10974 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10975   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10976 else
   10977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10978 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10979 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10980   $as_echo_n "(cached) " >&6
   10981 else
   10982   ac_check_lib_save_LIBS=$LIBS
   10983 LIBS="-lsvld  $LIBS"
   10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10985 /* end confdefs.h.  */
   10986 
   10987 /* Override any GCC internal prototype to avoid an error.
   10988    Use char because int might match the return type of a GCC
   10989    builtin and then its argument prototype would still apply.  */
   10990 #ifdef __cplusplus
   10991 extern "C"
   10992 #endif
   10993 char dlopen ();
   10994 int
   10995 main ()
   10996 {
   10997 return dlopen ();
   10998   ;
   10999   return 0;
   11000 }
   11001 _ACEOF
   11002 if ac_fn_c_try_link "$LINENO"; then :
   11003   ac_cv_lib_svld_dlopen=yes
   11004 else
   11005   ac_cv_lib_svld_dlopen=no
   11006 fi
   11007 rm -f core conftest.err conftest.$ac_objext \
   11008     conftest$ac_exeext conftest.$ac_ext
   11009 LIBS=$ac_check_lib_save_LIBS
   11010 fi
   11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11012 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11013 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11014   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11015 else
   11016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11017 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11018 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11019   $as_echo_n "(cached) " >&6
   11020 else
   11021   ac_check_lib_save_LIBS=$LIBS
   11022 LIBS="-ldld  $LIBS"
   11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11024 /* end confdefs.h.  */
   11025 
   11026 /* Override any GCC internal prototype to avoid an error.
   11027    Use char because int might match the return type of a GCC
   11028    builtin and then its argument prototype would still apply.  */
   11029 #ifdef __cplusplus
   11030 extern "C"
   11031 #endif
   11032 char dld_link ();
   11033 int
   11034 main ()
   11035 {
   11036 return dld_link ();
   11037   ;
   11038   return 0;
   11039 }
   11040 _ACEOF
   11041 if ac_fn_c_try_link "$LINENO"; then :
   11042   ac_cv_lib_dld_dld_link=yes
   11043 else
   11044   ac_cv_lib_dld_dld_link=no
   11045 fi
   11046 rm -f core conftest.err conftest.$ac_objext \
   11047     conftest$ac_exeext conftest.$ac_ext
   11048 LIBS=$ac_check_lib_save_LIBS
   11049 fi
   11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11051 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11052 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11053   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11054 fi
   11055 
   11056 
   11057 fi
   11058 
   11059 
   11060 fi
   11061 
   11062 
   11063 fi
   11064 
   11065 
   11066 fi
   11067 
   11068 
   11069 fi
   11070 
   11071     ;;
   11072   esac
   11073 
   11074   if test "x$lt_cv_dlopen" != xno; then
   11075     enable_dlopen=yes
   11076   else
   11077     enable_dlopen=no
   11078   fi
   11079 
   11080   case $lt_cv_dlopen in
   11081   dlopen)
   11082     save_CPPFLAGS="$CPPFLAGS"
   11083     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11084 
   11085     save_LDFLAGS="$LDFLAGS"
   11086     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11087 
   11088     save_LIBS="$LIBS"
   11089     LIBS="$lt_cv_dlopen_libs $LIBS"
   11090 
   11091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11092 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11093 if ${lt_cv_dlopen_self+:} false; then :
   11094   $as_echo_n "(cached) " >&6
   11095 else
   11096   	  if test "$cross_compiling" = yes; then :
   11097   lt_cv_dlopen_self=cross
   11098 else
   11099   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11100   lt_status=$lt_dlunknown
   11101   cat > conftest.$ac_ext <<_LT_EOF
   11102 #line $LINENO "configure"
   11103 #include "confdefs.h"
   11104 
   11105 #if HAVE_DLFCN_H
   11106 #include <dlfcn.h>
   11107 #endif
   11108 
   11109 #include <stdio.h>
   11110 
   11111 #ifdef RTLD_GLOBAL
   11112 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11113 #else
   11114 #  ifdef DL_GLOBAL
   11115 #    define LT_DLGLOBAL		DL_GLOBAL
   11116 #  else
   11117 #    define LT_DLGLOBAL		0
   11118 #  endif
   11119 #endif
   11120 
   11121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11122    find out it does not work in some platform. */
   11123 #ifndef LT_DLLAZY_OR_NOW
   11124 #  ifdef RTLD_LAZY
   11125 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11126 #  else
   11127 #    ifdef DL_LAZY
   11128 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11129 #    else
   11130 #      ifdef RTLD_NOW
   11131 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11132 #      else
   11133 #        ifdef DL_NOW
   11134 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11135 #        else
   11136 #          define LT_DLLAZY_OR_NOW	0
   11137 #        endif
   11138 #      endif
   11139 #    endif
   11140 #  endif
   11141 #endif
   11142 
   11143 /* When -fvisbility=hidden is used, assume the code has been annotated
   11144    correspondingly for the symbols needed.  */
   11145 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11146 int fnord () __attribute__((visibility("default")));
   11147 #endif
   11148 
   11149 int fnord () { return 42; }
   11150 int main ()
   11151 {
   11152   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11153   int status = $lt_dlunknown;
   11154 
   11155   if (self)
   11156     {
   11157       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11158       else
   11159         {
   11160 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11161           else puts (dlerror ());
   11162 	}
   11163       /* dlclose (self); */
   11164     }
   11165   else
   11166     puts (dlerror ());
   11167 
   11168   return status;
   11169 }
   11170 _LT_EOF
   11171   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11172   (eval $ac_link) 2>&5
   11173   ac_status=$?
   11174   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11175   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11176     (./conftest; exit; ) >&5 2>/dev/null
   11177     lt_status=$?
   11178     case x$lt_status in
   11179       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11180       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11181       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11182     esac
   11183   else :
   11184     # compilation failed
   11185     lt_cv_dlopen_self=no
   11186   fi
   11187 fi
   11188 rm -fr conftest*
   11189 
   11190 
   11191 fi
   11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11193 $as_echo "$lt_cv_dlopen_self" >&6; }
   11194 
   11195     if test "x$lt_cv_dlopen_self" = xyes; then
   11196       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11197       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11198 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11199 if ${lt_cv_dlopen_self_static+:} false; then :
   11200   $as_echo_n "(cached) " >&6
   11201 else
   11202   	  if test "$cross_compiling" = yes; then :
   11203   lt_cv_dlopen_self_static=cross
   11204 else
   11205   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11206   lt_status=$lt_dlunknown
   11207   cat > conftest.$ac_ext <<_LT_EOF
   11208 #line $LINENO "configure"
   11209 #include "confdefs.h"
   11210 
   11211 #if HAVE_DLFCN_H
   11212 #include <dlfcn.h>
   11213 #endif
   11214 
   11215 #include <stdio.h>
   11216 
   11217 #ifdef RTLD_GLOBAL
   11218 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11219 #else
   11220 #  ifdef DL_GLOBAL
   11221 #    define LT_DLGLOBAL		DL_GLOBAL
   11222 #  else
   11223 #    define LT_DLGLOBAL		0
   11224 #  endif
   11225 #endif
   11226 
   11227 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11228    find out it does not work in some platform. */
   11229 #ifndef LT_DLLAZY_OR_NOW
   11230 #  ifdef RTLD_LAZY
   11231 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11232 #  else
   11233 #    ifdef DL_LAZY
   11234 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11235 #    else
   11236 #      ifdef RTLD_NOW
   11237 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11238 #      else
   11239 #        ifdef DL_NOW
   11240 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11241 #        else
   11242 #          define LT_DLLAZY_OR_NOW	0
   11243 #        endif
   11244 #      endif
   11245 #    endif
   11246 #  endif
   11247 #endif
   11248 
   11249 /* When -fvisbility=hidden is used, assume the code has been annotated
   11250    correspondingly for the symbols needed.  */
   11251 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11252 int fnord () __attribute__((visibility("default")));
   11253 #endif
   11254 
   11255 int fnord () { return 42; }
   11256 int main ()
   11257 {
   11258   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11259   int status = $lt_dlunknown;
   11260 
   11261   if (self)
   11262     {
   11263       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11264       else
   11265         {
   11266 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11267           else puts (dlerror ());
   11268 	}
   11269       /* dlclose (self); */
   11270     }
   11271   else
   11272     puts (dlerror ());
   11273 
   11274   return status;
   11275 }
   11276 _LT_EOF
   11277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11278   (eval $ac_link) 2>&5
   11279   ac_status=$?
   11280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11281   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11282     (./conftest; exit; ) >&5 2>/dev/null
   11283     lt_status=$?
   11284     case x$lt_status in
   11285       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11286       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11287       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11288     esac
   11289   else :
   11290     # compilation failed
   11291     lt_cv_dlopen_self_static=no
   11292   fi
   11293 fi
   11294 rm -fr conftest*
   11295 
   11296 
   11297 fi
   11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11299 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11300     fi
   11301 
   11302     CPPFLAGS="$save_CPPFLAGS"
   11303     LDFLAGS="$save_LDFLAGS"
   11304     LIBS="$save_LIBS"
   11305     ;;
   11306   esac
   11307 
   11308   case $lt_cv_dlopen_self in
   11309   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11310   *) enable_dlopen_self=unknown ;;
   11311   esac
   11312 
   11313   case $lt_cv_dlopen_self_static in
   11314   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11315   *) enable_dlopen_self_static=unknown ;;
   11316   esac
   11317 fi
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 striplib=
   11336 old_striplib=
   11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11338 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11339 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11340   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11341   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11343 $as_echo "yes" >&6; }
   11344 else
   11345 # FIXME - insert some real tests, host_os isn't really good enough
   11346   case $host_os in
   11347   darwin*)
   11348     if test -n "$STRIP" ; then
   11349       striplib="$STRIP -x"
   11350       old_striplib="$STRIP -S"
   11351       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11352 $as_echo "yes" >&6; }
   11353     else
   11354       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11355 $as_echo "no" >&6; }
   11356     fi
   11357     ;;
   11358   *)
   11359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11360 $as_echo "no" >&6; }
   11361     ;;
   11362   esac
   11363 fi
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376   # Report which library types will actually be built
   11377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11378 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11380 $as_echo "$can_build_shared" >&6; }
   11381 
   11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11383 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11384   test "$can_build_shared" = "no" && enable_shared=no
   11385 
   11386   # On AIX, shared libraries and static libraries use the same namespace, and
   11387   # are all built from PIC.
   11388   case $host_os in
   11389   aix3*)
   11390     test "$enable_shared" = yes && enable_static=no
   11391     if test -n "$RANLIB"; then
   11392       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11393       postinstall_cmds='$RANLIB $lib'
   11394     fi
   11395     ;;
   11396 
   11397   aix[4-9]*)
   11398     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11399       test "$enable_shared" = yes && enable_static=no
   11400     fi
   11401     ;;
   11402   esac
   11403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11404 $as_echo "$enable_shared" >&6; }
   11405 
   11406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11407 $as_echo_n "checking whether to build static libraries... " >&6; }
   11408   # Make sure either enable_shared or enable_static is yes.
   11409   test "$enable_shared" = yes || enable_static=yes
   11410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11411 $as_echo "$enable_static" >&6; }
   11412 
   11413 
   11414 
   11415 
   11416 fi
   11417 ac_ext=c
   11418 ac_cpp='$CPP $CPPFLAGS'
   11419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11422 
   11423 CC="$lt_save_CC"
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439         ac_config_commands="$ac_config_commands libtool"
   11440 
   11441 
   11442 
   11443 
   11444 # Only expand once:
   11445 
   11446 
   11447 
   11448 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11461 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11462 if ${ac_cv_prog_cc_c99+:} false; then :
   11463   $as_echo_n "(cached) " >&6
   11464 else
   11465   ac_cv_prog_cc_c99=no
   11466 ac_save_CC=$CC
   11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11468 /* end confdefs.h.  */
   11469 #include <stdarg.h>
   11470 #include <stdbool.h>
   11471 #include <stdlib.h>
   11472 #include <wchar.h>
   11473 #include <stdio.h>
   11474 
   11475 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11476 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11477 #define showlist(...) puts (#__VA_ARGS__)
   11478 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11479 static void
   11480 test_varargs_macros (void)
   11481 {
   11482   int x = 1234;
   11483   int y = 5678;
   11484   debug ("Flag");
   11485   debug ("X = %d\n", x);
   11486   showlist (The first, second, and third items.);
   11487   report (x>y, "x is %d but y is %d", x, y);
   11488 }
   11489 
   11490 // Check long long types.
   11491 #define BIG64 18446744073709551615ull
   11492 #define BIG32 4294967295ul
   11493 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11494 #if !BIG_OK
   11495   your preprocessor is broken;
   11496 #endif
   11497 #if BIG_OK
   11498 #else
   11499   your preprocessor is broken;
   11500 #endif
   11501 static long long int bignum = -9223372036854775807LL;
   11502 static unsigned long long int ubignum = BIG64;
   11503 
   11504 struct incomplete_array
   11505 {
   11506   int datasize;
   11507   double data[];
   11508 };
   11509 
   11510 struct named_init {
   11511   int number;
   11512   const wchar_t *name;
   11513   double average;
   11514 };
   11515 
   11516 typedef const char *ccp;
   11517 
   11518 static inline int
   11519 test_restrict (ccp restrict text)
   11520 {
   11521   // See if C++-style comments work.
   11522   // Iterate through items via the restricted pointer.
   11523   // Also check for declarations in for loops.
   11524   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11525     continue;
   11526   return 0;
   11527 }
   11528 
   11529 // Check varargs and va_copy.
   11530 static void
   11531 test_varargs (const char *format, ...)
   11532 {
   11533   va_list args;
   11534   va_start (args, format);
   11535   va_list args_copy;
   11536   va_copy (args_copy, args);
   11537 
   11538   const char *str;
   11539   int number;
   11540   float fnumber;
   11541 
   11542   while (*format)
   11543     {
   11544       switch (*format++)
   11545 	{
   11546 	case 's': // string
   11547 	  str = va_arg (args_copy, const char *);
   11548 	  break;
   11549 	case 'd': // int
   11550 	  number = va_arg (args_copy, int);
   11551 	  break;
   11552 	case 'f': // float
   11553 	  fnumber = va_arg (args_copy, double);
   11554 	  break;
   11555 	default:
   11556 	  break;
   11557 	}
   11558     }
   11559   va_end (args_copy);
   11560   va_end (args);
   11561 }
   11562 
   11563 int
   11564 main ()
   11565 {
   11566 
   11567   // Check bool.
   11568   _Bool success = false;
   11569 
   11570   // Check restrict.
   11571   if (test_restrict ("String literal") == 0)
   11572     success = true;
   11573   char *restrict newvar = "Another string";
   11574 
   11575   // Check varargs.
   11576   test_varargs ("s, d' f .", "string", 65, 34.234);
   11577   test_varargs_macros ();
   11578 
   11579   // Check flexible array members.
   11580   struct incomplete_array *ia =
   11581     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11582   ia->datasize = 10;
   11583   for (int i = 0; i < ia->datasize; ++i)
   11584     ia->data[i] = i * 1.234;
   11585 
   11586   // Check named initializers.
   11587   struct named_init ni = {
   11588     .number = 34,
   11589     .name = L"Test wide string",
   11590     .average = 543.34343,
   11591   };
   11592 
   11593   ni.number = 58;
   11594 
   11595   int dynamic_array[ni.number];
   11596   dynamic_array[ni.number - 1] = 543;
   11597 
   11598   // work around unused variable warnings
   11599   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11600 	  || dynamic_array[ni.number - 1] != 543);
   11601 
   11602   ;
   11603   return 0;
   11604 }
   11605 _ACEOF
   11606 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11607 do
   11608   CC="$ac_save_CC $ac_arg"
   11609   if ac_fn_c_try_compile "$LINENO"; then :
   11610   ac_cv_prog_cc_c99=$ac_arg
   11611 fi
   11612 rm -f core conftest.err conftest.$ac_objext
   11613   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11614 done
   11615 rm -f conftest.$ac_ext
   11616 CC=$ac_save_CC
   11617 
   11618 fi
   11619 # AC_CACHE_VAL
   11620 case "x$ac_cv_prog_cc_c99" in
   11621   x)
   11622     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11623 $as_echo "none needed" >&6; } ;;
   11624   xno)
   11625     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11626 $as_echo "unsupported" >&6; } ;;
   11627   *)
   11628     CC="$CC $ac_cv_prog_cc_c99"
   11629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11630 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11631 esac
   11632 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11633 
   11634 fi
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11642 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11643   CLANGCC="yes"
   11644 else
   11645   CLANGCC="no"
   11646 fi
   11647 
   11648 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11649 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11650   INTELCC="yes"
   11651 else
   11652   INTELCC="no"
   11653 fi
   11654 
   11655 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11656 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11657   SUNCC="yes"
   11658 else
   11659   SUNCC="no"
   11660 fi
   11661 
   11662 
   11663 
   11664 
   11665 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11666 	if test -n "$ac_tool_prefix"; then
   11667   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11668 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11670 $as_echo_n "checking for $ac_word... " >&6; }
   11671 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11672   $as_echo_n "(cached) " >&6
   11673 else
   11674   case $PKG_CONFIG in
   11675   [\\/]* | ?:[\\/]*)
   11676   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11677   ;;
   11678   *)
   11679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11680 for as_dir in $PATH
   11681 do
   11682   IFS=$as_save_IFS
   11683   test -z "$as_dir" && as_dir=.
   11684     for ac_exec_ext in '' $ac_executable_extensions; do
   11685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11686     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11688     break 2
   11689   fi
   11690 done
   11691   done
   11692 IFS=$as_save_IFS
   11693 
   11694   ;;
   11695 esac
   11696 fi
   11697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11698 if test -n "$PKG_CONFIG"; then
   11699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11700 $as_echo "$PKG_CONFIG" >&6; }
   11701 else
   11702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11703 $as_echo "no" >&6; }
   11704 fi
   11705 
   11706 
   11707 fi
   11708 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11709   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11710   # Extract the first word of "pkg-config", so it can be a program name with args.
   11711 set dummy pkg-config; ac_word=$2
   11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11713 $as_echo_n "checking for $ac_word... " >&6; }
   11714 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11715   $as_echo_n "(cached) " >&6
   11716 else
   11717   case $ac_pt_PKG_CONFIG in
   11718   [\\/]* | ?:[\\/]*)
   11719   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11720   ;;
   11721   *)
   11722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11723 for as_dir in $PATH
   11724 do
   11725   IFS=$as_save_IFS
   11726   test -z "$as_dir" && as_dir=.
   11727     for ac_exec_ext in '' $ac_executable_extensions; do
   11728   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11729     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11731     break 2
   11732   fi
   11733 done
   11734   done
   11735 IFS=$as_save_IFS
   11736 
   11737   ;;
   11738 esac
   11739 fi
   11740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11741 if test -n "$ac_pt_PKG_CONFIG"; then
   11742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11743 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11744 else
   11745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11746 $as_echo "no" >&6; }
   11747 fi
   11748 
   11749   if test "x$ac_pt_PKG_CONFIG" = x; then
   11750     PKG_CONFIG=""
   11751   else
   11752     case $cross_compiling:$ac_tool_warned in
   11753 yes:)
   11754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11756 ac_tool_warned=yes ;;
   11757 esac
   11758     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11759   fi
   11760 else
   11761   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11762 fi
   11763 
   11764 fi
   11765 if test -n "$PKG_CONFIG"; then
   11766 	_pkg_min_version=0.9.0
   11767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11768 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11769 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11771 $as_echo "yes" >&6; }
   11772 	else
   11773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11774 $as_echo "no" >&6; }
   11775 		PKG_CONFIG=""
   11776 	fi
   11777 
   11778 fi
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 # Check whether --enable-selective-werror was given.
   11785 if test "${enable_selective_werror+set}" = set; then :
   11786   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11787 else
   11788   SELECTIVE_WERROR=yes
   11789 fi
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11796 if test "x$SUNCC" = "xyes"; then
   11797     BASE_CFLAGS="-v"
   11798 else
   11799     BASE_CFLAGS=""
   11800 fi
   11801 
   11802 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 xorg_testset_save_CFLAGS="$CFLAGS"
   11817 
   11818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11821 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11822 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11823   $as_echo_n "(cached) " >&6
   11824 else
   11825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11826 /* end confdefs.h.  */
   11827 int i;
   11828 _ACEOF
   11829 if ac_fn_c_try_compile "$LINENO"; then :
   11830   xorg_cv_cc_flag_unknown_warning_option=yes
   11831 else
   11832   xorg_cv_cc_flag_unknown_warning_option=no
   11833 fi
   11834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11835 fi
   11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11837 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11839 	CFLAGS="$xorg_testset_save_CFLAGS"
   11840 fi
   11841 
   11842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11845 	fi
   11846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11848 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11849 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11850   $as_echo_n "(cached) " >&6
   11851 else
   11852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11853 /* end confdefs.h.  */
   11854 int i;
   11855 _ACEOF
   11856 if ac_fn_c_try_compile "$LINENO"; then :
   11857   xorg_cv_cc_flag_unused_command_line_argument=yes
   11858 else
   11859   xorg_cv_cc_flag_unused_command_line_argument=no
   11860 fi
   11861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11862 fi
   11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11864 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11866 	CFLAGS="$xorg_testset_save_CFLAGS"
   11867 fi
   11868 
   11869 found="no"
   11870 
   11871 	if test $found = "no" ; then
   11872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11874 		fi
   11875 
   11876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11878 		fi
   11879 
   11880 		CFLAGS="$CFLAGS -Wall"
   11881 
   11882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11883 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11884 		cacheid=xorg_cv_cc_flag__Wall
   11885 		if eval \${$cacheid+:} false; then :
   11886   $as_echo_n "(cached) " >&6
   11887 else
   11888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11889 /* end confdefs.h.  */
   11890 int i;
   11891 int
   11892 main ()
   11893 {
   11894 
   11895   ;
   11896   return 0;
   11897 }
   11898 _ACEOF
   11899 if ac_fn_c_try_link "$LINENO"; then :
   11900   eval $cacheid=yes
   11901 else
   11902   eval $cacheid=no
   11903 fi
   11904 rm -f core conftest.err conftest.$ac_objext \
   11905     conftest$ac_exeext conftest.$ac_ext
   11906 fi
   11907 
   11908 
   11909 		CFLAGS="$xorg_testset_save_CFLAGS"
   11910 
   11911 		eval supported=\$$cacheid
   11912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11913 $as_echo "$supported" >&6; }
   11914 		if test "$supported" = "yes" ; then
   11915 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11916 			found="yes"
   11917 		fi
   11918 	fi
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 xorg_testset_save_CFLAGS="$CFLAGS"
   11935 
   11936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11941   $as_echo_n "(cached) " >&6
   11942 else
   11943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11944 /* end confdefs.h.  */
   11945 int i;
   11946 _ACEOF
   11947 if ac_fn_c_try_compile "$LINENO"; then :
   11948   xorg_cv_cc_flag_unknown_warning_option=yes
   11949 else
   11950   xorg_cv_cc_flag_unknown_warning_option=no
   11951 fi
   11952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11953 fi
   11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11957 	CFLAGS="$xorg_testset_save_CFLAGS"
   11958 fi
   11959 
   11960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11963 	fi
   11964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11968   $as_echo_n "(cached) " >&6
   11969 else
   11970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11971 /* end confdefs.h.  */
   11972 int i;
   11973 _ACEOF
   11974 if ac_fn_c_try_compile "$LINENO"; then :
   11975   xorg_cv_cc_flag_unused_command_line_argument=yes
   11976 else
   11977   xorg_cv_cc_flag_unused_command_line_argument=no
   11978 fi
   11979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11980 fi
   11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11984 	CFLAGS="$xorg_testset_save_CFLAGS"
   11985 fi
   11986 
   11987 found="no"
   11988 
   11989 	if test $found = "no" ; then
   11990 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11992 		fi
   11993 
   11994 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11996 		fi
   11997 
   11998 		CFLAGS="$CFLAGS -Wpointer-arith"
   11999 
   12000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12001 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12002 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12003 		if eval \${$cacheid+:} false; then :
   12004   $as_echo_n "(cached) " >&6
   12005 else
   12006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12007 /* end confdefs.h.  */
   12008 int i;
   12009 int
   12010 main ()
   12011 {
   12012 
   12013   ;
   12014   return 0;
   12015 }
   12016 _ACEOF
   12017 if ac_fn_c_try_link "$LINENO"; then :
   12018   eval $cacheid=yes
   12019 else
   12020   eval $cacheid=no
   12021 fi
   12022 rm -f core conftest.err conftest.$ac_objext \
   12023     conftest$ac_exeext conftest.$ac_ext
   12024 fi
   12025 
   12026 
   12027 		CFLAGS="$xorg_testset_save_CFLAGS"
   12028 
   12029 		eval supported=\$$cacheid
   12030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12031 $as_echo "$supported" >&6; }
   12032 		if test "$supported" = "yes" ; then
   12033 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12034 			found="yes"
   12035 		fi
   12036 	fi
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 xorg_testset_save_CFLAGS="$CFLAGS"
   12053 
   12054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12059   $as_echo_n "(cached) " >&6
   12060 else
   12061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12062 /* end confdefs.h.  */
   12063 int i;
   12064 _ACEOF
   12065 if ac_fn_c_try_compile "$LINENO"; then :
   12066   xorg_cv_cc_flag_unknown_warning_option=yes
   12067 else
   12068   xorg_cv_cc_flag_unknown_warning_option=no
   12069 fi
   12070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12071 fi
   12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12075 	CFLAGS="$xorg_testset_save_CFLAGS"
   12076 fi
   12077 
   12078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12081 	fi
   12082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12086   $as_echo_n "(cached) " >&6
   12087 else
   12088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12089 /* end confdefs.h.  */
   12090 int i;
   12091 _ACEOF
   12092 if ac_fn_c_try_compile "$LINENO"; then :
   12093   xorg_cv_cc_flag_unused_command_line_argument=yes
   12094 else
   12095   xorg_cv_cc_flag_unused_command_line_argument=no
   12096 fi
   12097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12098 fi
   12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12102 	CFLAGS="$xorg_testset_save_CFLAGS"
   12103 fi
   12104 
   12105 found="no"
   12106 
   12107 	if test $found = "no" ; then
   12108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12110 		fi
   12111 
   12112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12114 		fi
   12115 
   12116 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12117 
   12118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12119 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12120 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12121 		if eval \${$cacheid+:} false; then :
   12122   $as_echo_n "(cached) " >&6
   12123 else
   12124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12125 /* end confdefs.h.  */
   12126 int i;
   12127 int
   12128 main ()
   12129 {
   12130 
   12131   ;
   12132   return 0;
   12133 }
   12134 _ACEOF
   12135 if ac_fn_c_try_link "$LINENO"; then :
   12136   eval $cacheid=yes
   12137 else
   12138   eval $cacheid=no
   12139 fi
   12140 rm -f core conftest.err conftest.$ac_objext \
   12141     conftest$ac_exeext conftest.$ac_ext
   12142 fi
   12143 
   12144 
   12145 		CFLAGS="$xorg_testset_save_CFLAGS"
   12146 
   12147 		eval supported=\$$cacheid
   12148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12149 $as_echo "$supported" >&6; }
   12150 		if test "$supported" = "yes" ; then
   12151 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12152 			found="yes"
   12153 		fi
   12154 	fi
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 xorg_testset_save_CFLAGS="$CFLAGS"
   12171 
   12172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12177   $as_echo_n "(cached) " >&6
   12178 else
   12179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12180 /* end confdefs.h.  */
   12181 int i;
   12182 _ACEOF
   12183 if ac_fn_c_try_compile "$LINENO"; then :
   12184   xorg_cv_cc_flag_unknown_warning_option=yes
   12185 else
   12186   xorg_cv_cc_flag_unknown_warning_option=no
   12187 fi
   12188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12189 fi
   12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12193 	CFLAGS="$xorg_testset_save_CFLAGS"
   12194 fi
   12195 
   12196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12199 	fi
   12200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12204   $as_echo_n "(cached) " >&6
   12205 else
   12206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12207 /* end confdefs.h.  */
   12208 int i;
   12209 _ACEOF
   12210 if ac_fn_c_try_compile "$LINENO"; then :
   12211   xorg_cv_cc_flag_unused_command_line_argument=yes
   12212 else
   12213   xorg_cv_cc_flag_unused_command_line_argument=no
   12214 fi
   12215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12216 fi
   12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12220 	CFLAGS="$xorg_testset_save_CFLAGS"
   12221 fi
   12222 
   12223 found="no"
   12224 
   12225 	if test $found = "no" ; then
   12226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12228 		fi
   12229 
   12230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12232 		fi
   12233 
   12234 		CFLAGS="$CFLAGS -Wformat=2"
   12235 
   12236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12237 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12238 		cacheid=xorg_cv_cc_flag__Wformat_2
   12239 		if eval \${$cacheid+:} false; then :
   12240   $as_echo_n "(cached) " >&6
   12241 else
   12242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12243 /* end confdefs.h.  */
   12244 int i;
   12245 int
   12246 main ()
   12247 {
   12248 
   12249   ;
   12250   return 0;
   12251 }
   12252 _ACEOF
   12253 if ac_fn_c_try_link "$LINENO"; then :
   12254   eval $cacheid=yes
   12255 else
   12256   eval $cacheid=no
   12257 fi
   12258 rm -f core conftest.err conftest.$ac_objext \
   12259     conftest$ac_exeext conftest.$ac_ext
   12260 fi
   12261 
   12262 
   12263 		CFLAGS="$xorg_testset_save_CFLAGS"
   12264 
   12265 		eval supported=\$$cacheid
   12266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12267 $as_echo "$supported" >&6; }
   12268 		if test "$supported" = "yes" ; then
   12269 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12270 			found="yes"
   12271 		fi
   12272 	fi
   12273 
   12274 	if test $found = "no" ; then
   12275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12277 		fi
   12278 
   12279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12281 		fi
   12282 
   12283 		CFLAGS="$CFLAGS -Wformat"
   12284 
   12285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12286 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12287 		cacheid=xorg_cv_cc_flag__Wformat
   12288 		if eval \${$cacheid+:} false; then :
   12289   $as_echo_n "(cached) " >&6
   12290 else
   12291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12292 /* end confdefs.h.  */
   12293 int i;
   12294 int
   12295 main ()
   12296 {
   12297 
   12298   ;
   12299   return 0;
   12300 }
   12301 _ACEOF
   12302 if ac_fn_c_try_link "$LINENO"; then :
   12303   eval $cacheid=yes
   12304 else
   12305   eval $cacheid=no
   12306 fi
   12307 rm -f core conftest.err conftest.$ac_objext \
   12308     conftest$ac_exeext conftest.$ac_ext
   12309 fi
   12310 
   12311 
   12312 		CFLAGS="$xorg_testset_save_CFLAGS"
   12313 
   12314 		eval supported=\$$cacheid
   12315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12316 $as_echo "$supported" >&6; }
   12317 		if test "$supported" = "yes" ; then
   12318 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12319 			found="yes"
   12320 		fi
   12321 	fi
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 xorg_testset_save_CFLAGS="$CFLAGS"
   12340 
   12341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12346   $as_echo_n "(cached) " >&6
   12347 else
   12348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12349 /* end confdefs.h.  */
   12350 int i;
   12351 _ACEOF
   12352 if ac_fn_c_try_compile "$LINENO"; then :
   12353   xorg_cv_cc_flag_unknown_warning_option=yes
   12354 else
   12355   xorg_cv_cc_flag_unknown_warning_option=no
   12356 fi
   12357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12358 fi
   12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12362 	CFLAGS="$xorg_testset_save_CFLAGS"
   12363 fi
   12364 
   12365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12368 	fi
   12369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12373   $as_echo_n "(cached) " >&6
   12374 else
   12375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12376 /* end confdefs.h.  */
   12377 int i;
   12378 _ACEOF
   12379 if ac_fn_c_try_compile "$LINENO"; then :
   12380   xorg_cv_cc_flag_unused_command_line_argument=yes
   12381 else
   12382   xorg_cv_cc_flag_unused_command_line_argument=no
   12383 fi
   12384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12385 fi
   12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12389 	CFLAGS="$xorg_testset_save_CFLAGS"
   12390 fi
   12391 
   12392 found="no"
   12393 
   12394 	if test $found = "no" ; then
   12395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12397 		fi
   12398 
   12399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12401 		fi
   12402 
   12403 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12404 
   12405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12406 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12407 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12408 		if eval \${$cacheid+:} false; then :
   12409   $as_echo_n "(cached) " >&6
   12410 else
   12411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12412 /* end confdefs.h.  */
   12413 int i;
   12414 int
   12415 main ()
   12416 {
   12417 
   12418   ;
   12419   return 0;
   12420 }
   12421 _ACEOF
   12422 if ac_fn_c_try_link "$LINENO"; then :
   12423   eval $cacheid=yes
   12424 else
   12425   eval $cacheid=no
   12426 fi
   12427 rm -f core conftest.err conftest.$ac_objext \
   12428     conftest$ac_exeext conftest.$ac_ext
   12429 fi
   12430 
   12431 
   12432 		CFLAGS="$xorg_testset_save_CFLAGS"
   12433 
   12434 		eval supported=\$$cacheid
   12435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12436 $as_echo "$supported" >&6; }
   12437 		if test "$supported" = "yes" ; then
   12438 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12439 			found="yes"
   12440 		fi
   12441 	fi
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 xorg_testset_save_CFLAGS="$CFLAGS"
   12458 
   12459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12462 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12463 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12464   $as_echo_n "(cached) " >&6
   12465 else
   12466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12467 /* end confdefs.h.  */
   12468 int i;
   12469 _ACEOF
   12470 if ac_fn_c_try_compile "$LINENO"; then :
   12471   xorg_cv_cc_flag_unknown_warning_option=yes
   12472 else
   12473   xorg_cv_cc_flag_unknown_warning_option=no
   12474 fi
   12475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12476 fi
   12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12478 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12480 	CFLAGS="$xorg_testset_save_CFLAGS"
   12481 fi
   12482 
   12483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12486 	fi
   12487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12489 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12490 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12491   $as_echo_n "(cached) " >&6
   12492 else
   12493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12494 /* end confdefs.h.  */
   12495 int i;
   12496 _ACEOF
   12497 if ac_fn_c_try_compile "$LINENO"; then :
   12498   xorg_cv_cc_flag_unused_command_line_argument=yes
   12499 else
   12500   xorg_cv_cc_flag_unused_command_line_argument=no
   12501 fi
   12502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12503 fi
   12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12505 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12507 	CFLAGS="$xorg_testset_save_CFLAGS"
   12508 fi
   12509 
   12510 found="no"
   12511 
   12512 	if test $found = "no" ; then
   12513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12515 		fi
   12516 
   12517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12519 		fi
   12520 
   12521 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12522 
   12523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12524 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12525 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12526 		if eval \${$cacheid+:} false; then :
   12527   $as_echo_n "(cached) " >&6
   12528 else
   12529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12530 /* end confdefs.h.  */
   12531 int i;
   12532 int
   12533 main ()
   12534 {
   12535 
   12536   ;
   12537   return 0;
   12538 }
   12539 _ACEOF
   12540 if ac_fn_c_try_link "$LINENO"; then :
   12541   eval $cacheid=yes
   12542 else
   12543   eval $cacheid=no
   12544 fi
   12545 rm -f core conftest.err conftest.$ac_objext \
   12546     conftest$ac_exeext conftest.$ac_ext
   12547 fi
   12548 
   12549 
   12550 		CFLAGS="$xorg_testset_save_CFLAGS"
   12551 
   12552 		eval supported=\$$cacheid
   12553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12554 $as_echo "$supported" >&6; }
   12555 		if test "$supported" = "yes" ; then
   12556 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12557 			found="yes"
   12558 		fi
   12559 	fi
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 xorg_testset_save_CFLAGS="$CFLAGS"
   12576 
   12577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12582   $as_echo_n "(cached) " >&6
   12583 else
   12584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12585 /* end confdefs.h.  */
   12586 int i;
   12587 _ACEOF
   12588 if ac_fn_c_try_compile "$LINENO"; then :
   12589   xorg_cv_cc_flag_unknown_warning_option=yes
   12590 else
   12591   xorg_cv_cc_flag_unknown_warning_option=no
   12592 fi
   12593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12594 fi
   12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12598 	CFLAGS="$xorg_testset_save_CFLAGS"
   12599 fi
   12600 
   12601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12604 	fi
   12605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12609   $as_echo_n "(cached) " >&6
   12610 else
   12611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12612 /* end confdefs.h.  */
   12613 int i;
   12614 _ACEOF
   12615 if ac_fn_c_try_compile "$LINENO"; then :
   12616   xorg_cv_cc_flag_unused_command_line_argument=yes
   12617 else
   12618   xorg_cv_cc_flag_unused_command_line_argument=no
   12619 fi
   12620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12621 fi
   12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12625 	CFLAGS="$xorg_testset_save_CFLAGS"
   12626 fi
   12627 
   12628 found="no"
   12629 
   12630 	if test $found = "no" ; then
   12631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12633 		fi
   12634 
   12635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12637 		fi
   12638 
   12639 		CFLAGS="$CFLAGS -Wnested-externs"
   12640 
   12641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12642 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12643 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12644 		if eval \${$cacheid+:} false; then :
   12645   $as_echo_n "(cached) " >&6
   12646 else
   12647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12648 /* end confdefs.h.  */
   12649 int i;
   12650 int
   12651 main ()
   12652 {
   12653 
   12654   ;
   12655   return 0;
   12656 }
   12657 _ACEOF
   12658 if ac_fn_c_try_link "$LINENO"; then :
   12659   eval $cacheid=yes
   12660 else
   12661   eval $cacheid=no
   12662 fi
   12663 rm -f core conftest.err conftest.$ac_objext \
   12664     conftest$ac_exeext conftest.$ac_ext
   12665 fi
   12666 
   12667 
   12668 		CFLAGS="$xorg_testset_save_CFLAGS"
   12669 
   12670 		eval supported=\$$cacheid
   12671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12672 $as_echo "$supported" >&6; }
   12673 		if test "$supported" = "yes" ; then
   12674 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12675 			found="yes"
   12676 		fi
   12677 	fi
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 xorg_testset_save_CFLAGS="$CFLAGS"
   12694 
   12695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12700   $as_echo_n "(cached) " >&6
   12701 else
   12702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12703 /* end confdefs.h.  */
   12704 int i;
   12705 _ACEOF
   12706 if ac_fn_c_try_compile "$LINENO"; then :
   12707   xorg_cv_cc_flag_unknown_warning_option=yes
   12708 else
   12709   xorg_cv_cc_flag_unknown_warning_option=no
   12710 fi
   12711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12712 fi
   12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12716 	CFLAGS="$xorg_testset_save_CFLAGS"
   12717 fi
   12718 
   12719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12722 	fi
   12723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12727   $as_echo_n "(cached) " >&6
   12728 else
   12729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12730 /* end confdefs.h.  */
   12731 int i;
   12732 _ACEOF
   12733 if ac_fn_c_try_compile "$LINENO"; then :
   12734   xorg_cv_cc_flag_unused_command_line_argument=yes
   12735 else
   12736   xorg_cv_cc_flag_unused_command_line_argument=no
   12737 fi
   12738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12739 fi
   12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12743 	CFLAGS="$xorg_testset_save_CFLAGS"
   12744 fi
   12745 
   12746 found="no"
   12747 
   12748 	if test $found = "no" ; then
   12749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12751 		fi
   12752 
   12753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12755 		fi
   12756 
   12757 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12758 
   12759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12760 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12761 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12762 		if eval \${$cacheid+:} false; then :
   12763   $as_echo_n "(cached) " >&6
   12764 else
   12765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12766 /* end confdefs.h.  */
   12767 int i;
   12768 int
   12769 main ()
   12770 {
   12771 
   12772   ;
   12773   return 0;
   12774 }
   12775 _ACEOF
   12776 if ac_fn_c_try_link "$LINENO"; then :
   12777   eval $cacheid=yes
   12778 else
   12779   eval $cacheid=no
   12780 fi
   12781 rm -f core conftest.err conftest.$ac_objext \
   12782     conftest$ac_exeext conftest.$ac_ext
   12783 fi
   12784 
   12785 
   12786 		CFLAGS="$xorg_testset_save_CFLAGS"
   12787 
   12788 		eval supported=\$$cacheid
   12789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12790 $as_echo "$supported" >&6; }
   12791 		if test "$supported" = "yes" ; then
   12792 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12793 			found="yes"
   12794 		fi
   12795 	fi
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 xorg_testset_save_CFLAGS="$CFLAGS"
   12812 
   12813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12818   $as_echo_n "(cached) " >&6
   12819 else
   12820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12821 /* end confdefs.h.  */
   12822 int i;
   12823 _ACEOF
   12824 if ac_fn_c_try_compile "$LINENO"; then :
   12825   xorg_cv_cc_flag_unknown_warning_option=yes
   12826 else
   12827   xorg_cv_cc_flag_unknown_warning_option=no
   12828 fi
   12829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12830 fi
   12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12834 	CFLAGS="$xorg_testset_save_CFLAGS"
   12835 fi
   12836 
   12837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12840 	fi
   12841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12845   $as_echo_n "(cached) " >&6
   12846 else
   12847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12848 /* end confdefs.h.  */
   12849 int i;
   12850 _ACEOF
   12851 if ac_fn_c_try_compile "$LINENO"; then :
   12852   xorg_cv_cc_flag_unused_command_line_argument=yes
   12853 else
   12854   xorg_cv_cc_flag_unused_command_line_argument=no
   12855 fi
   12856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12857 fi
   12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12861 	CFLAGS="$xorg_testset_save_CFLAGS"
   12862 fi
   12863 
   12864 found="no"
   12865 
   12866 	if test $found = "no" ; then
   12867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12869 		fi
   12870 
   12871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12873 		fi
   12874 
   12875 		CFLAGS="$CFLAGS -Wold-style-definition"
   12876 
   12877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12878 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12879 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12880 		if eval \${$cacheid+:} false; then :
   12881   $as_echo_n "(cached) " >&6
   12882 else
   12883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12884 /* end confdefs.h.  */
   12885 int i;
   12886 int
   12887 main ()
   12888 {
   12889 
   12890   ;
   12891   return 0;
   12892 }
   12893 _ACEOF
   12894 if ac_fn_c_try_link "$LINENO"; then :
   12895   eval $cacheid=yes
   12896 else
   12897   eval $cacheid=no
   12898 fi
   12899 rm -f core conftest.err conftest.$ac_objext \
   12900     conftest$ac_exeext conftest.$ac_ext
   12901 fi
   12902 
   12903 
   12904 		CFLAGS="$xorg_testset_save_CFLAGS"
   12905 
   12906 		eval supported=\$$cacheid
   12907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12908 $as_echo "$supported" >&6; }
   12909 		if test "$supported" = "yes" ; then
   12910 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12911 			found="yes"
   12912 		fi
   12913 	fi
   12914 
   12915 	if test $found = "no" ; then
   12916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12918 		fi
   12919 
   12920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12922 		fi
   12923 
   12924 		CFLAGS="$CFLAGS -fd"
   12925 
   12926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   12927 $as_echo_n "checking if $CC supports -fd... " >&6; }
   12928 		cacheid=xorg_cv_cc_flag__fd
   12929 		if eval \${$cacheid+:} false; then :
   12930   $as_echo_n "(cached) " >&6
   12931 else
   12932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12933 /* end confdefs.h.  */
   12934 int i;
   12935 int
   12936 main ()
   12937 {
   12938 
   12939   ;
   12940   return 0;
   12941 }
   12942 _ACEOF
   12943 if ac_fn_c_try_link "$LINENO"; then :
   12944   eval $cacheid=yes
   12945 else
   12946   eval $cacheid=no
   12947 fi
   12948 rm -f core conftest.err conftest.$ac_objext \
   12949     conftest$ac_exeext conftest.$ac_ext
   12950 fi
   12951 
   12952 
   12953 		CFLAGS="$xorg_testset_save_CFLAGS"
   12954 
   12955 		eval supported=\$$cacheid
   12956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12957 $as_echo "$supported" >&6; }
   12958 		if test "$supported" = "yes" ; then
   12959 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   12960 			found="yes"
   12961 		fi
   12962 	fi
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 xorg_testset_save_CFLAGS="$CFLAGS"
   12979 
   12980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12985   $as_echo_n "(cached) " >&6
   12986 else
   12987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12988 /* end confdefs.h.  */
   12989 int i;
   12990 _ACEOF
   12991 if ac_fn_c_try_compile "$LINENO"; then :
   12992   xorg_cv_cc_flag_unknown_warning_option=yes
   12993 else
   12994   xorg_cv_cc_flag_unknown_warning_option=no
   12995 fi
   12996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12997 fi
   12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13001 	CFLAGS="$xorg_testset_save_CFLAGS"
   13002 fi
   13003 
   13004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13007 	fi
   13008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13012   $as_echo_n "(cached) " >&6
   13013 else
   13014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13015 /* end confdefs.h.  */
   13016 int i;
   13017 _ACEOF
   13018 if ac_fn_c_try_compile "$LINENO"; then :
   13019   xorg_cv_cc_flag_unused_command_line_argument=yes
   13020 else
   13021   xorg_cv_cc_flag_unused_command_line_argument=no
   13022 fi
   13023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13024 fi
   13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13028 	CFLAGS="$xorg_testset_save_CFLAGS"
   13029 fi
   13030 
   13031 found="no"
   13032 
   13033 	if test $found = "no" ; then
   13034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13036 		fi
   13037 
   13038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13040 		fi
   13041 
   13042 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13043 
   13044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13045 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13046 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13047 		if eval \${$cacheid+:} false; then :
   13048   $as_echo_n "(cached) " >&6
   13049 else
   13050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13051 /* end confdefs.h.  */
   13052 int i;
   13053 int
   13054 main ()
   13055 {
   13056 
   13057   ;
   13058   return 0;
   13059 }
   13060 _ACEOF
   13061 if ac_fn_c_try_link "$LINENO"; then :
   13062   eval $cacheid=yes
   13063 else
   13064   eval $cacheid=no
   13065 fi
   13066 rm -f core conftest.err conftest.$ac_objext \
   13067     conftest$ac_exeext conftest.$ac_ext
   13068 fi
   13069 
   13070 
   13071 		CFLAGS="$xorg_testset_save_CFLAGS"
   13072 
   13073 		eval supported=\$$cacheid
   13074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13075 $as_echo "$supported" >&6; }
   13076 		if test "$supported" = "yes" ; then
   13077 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13078 			found="yes"
   13079 		fi
   13080 	fi
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 # This chunk adds additional warnings that could catch undesired effects.
   13087 
   13088 
   13089 
   13090 
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 xorg_testset_save_CFLAGS="$CFLAGS"
   13101 
   13102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13107   $as_echo_n "(cached) " >&6
   13108 else
   13109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13110 /* end confdefs.h.  */
   13111 int i;
   13112 _ACEOF
   13113 if ac_fn_c_try_compile "$LINENO"; then :
   13114   xorg_cv_cc_flag_unknown_warning_option=yes
   13115 else
   13116   xorg_cv_cc_flag_unknown_warning_option=no
   13117 fi
   13118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13119 fi
   13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13123 	CFLAGS="$xorg_testset_save_CFLAGS"
   13124 fi
   13125 
   13126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13129 	fi
   13130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13134   $as_echo_n "(cached) " >&6
   13135 else
   13136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13137 /* end confdefs.h.  */
   13138 int i;
   13139 _ACEOF
   13140 if ac_fn_c_try_compile "$LINENO"; then :
   13141   xorg_cv_cc_flag_unused_command_line_argument=yes
   13142 else
   13143   xorg_cv_cc_flag_unused_command_line_argument=no
   13144 fi
   13145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13146 fi
   13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13150 	CFLAGS="$xorg_testset_save_CFLAGS"
   13151 fi
   13152 
   13153 found="no"
   13154 
   13155 	if test $found = "no" ; then
   13156 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13158 		fi
   13159 
   13160 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13162 		fi
   13163 
   13164 		CFLAGS="$CFLAGS -Wunused"
   13165 
   13166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13167 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13168 		cacheid=xorg_cv_cc_flag__Wunused
   13169 		if eval \${$cacheid+:} false; then :
   13170   $as_echo_n "(cached) " >&6
   13171 else
   13172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13173 /* end confdefs.h.  */
   13174 int i;
   13175 int
   13176 main ()
   13177 {
   13178 
   13179   ;
   13180   return 0;
   13181 }
   13182 _ACEOF
   13183 if ac_fn_c_try_link "$LINENO"; then :
   13184   eval $cacheid=yes
   13185 else
   13186   eval $cacheid=no
   13187 fi
   13188 rm -f core conftest.err conftest.$ac_objext \
   13189     conftest$ac_exeext conftest.$ac_ext
   13190 fi
   13191 
   13192 
   13193 		CFLAGS="$xorg_testset_save_CFLAGS"
   13194 
   13195 		eval supported=\$$cacheid
   13196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13197 $as_echo "$supported" >&6; }
   13198 		if test "$supported" = "yes" ; then
   13199 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13200 			found="yes"
   13201 		fi
   13202 	fi
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 xorg_testset_save_CFLAGS="$CFLAGS"
   13219 
   13220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13225   $as_echo_n "(cached) " >&6
   13226 else
   13227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13228 /* end confdefs.h.  */
   13229 int i;
   13230 _ACEOF
   13231 if ac_fn_c_try_compile "$LINENO"; then :
   13232   xorg_cv_cc_flag_unknown_warning_option=yes
   13233 else
   13234   xorg_cv_cc_flag_unknown_warning_option=no
   13235 fi
   13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13237 fi
   13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13241 	CFLAGS="$xorg_testset_save_CFLAGS"
   13242 fi
   13243 
   13244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13247 	fi
   13248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13252   $as_echo_n "(cached) " >&6
   13253 else
   13254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13255 /* end confdefs.h.  */
   13256 int i;
   13257 _ACEOF
   13258 if ac_fn_c_try_compile "$LINENO"; then :
   13259   xorg_cv_cc_flag_unused_command_line_argument=yes
   13260 else
   13261   xorg_cv_cc_flag_unused_command_line_argument=no
   13262 fi
   13263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13264 fi
   13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13268 	CFLAGS="$xorg_testset_save_CFLAGS"
   13269 fi
   13270 
   13271 found="no"
   13272 
   13273 	if test $found = "no" ; then
   13274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 		fi
   13277 
   13278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13280 		fi
   13281 
   13282 		CFLAGS="$CFLAGS -Wuninitialized"
   13283 
   13284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13285 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13286 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13287 		if eval \${$cacheid+:} false; then :
   13288   $as_echo_n "(cached) " >&6
   13289 else
   13290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13291 /* end confdefs.h.  */
   13292 int i;
   13293 int
   13294 main ()
   13295 {
   13296 
   13297   ;
   13298   return 0;
   13299 }
   13300 _ACEOF
   13301 if ac_fn_c_try_link "$LINENO"; then :
   13302   eval $cacheid=yes
   13303 else
   13304   eval $cacheid=no
   13305 fi
   13306 rm -f core conftest.err conftest.$ac_objext \
   13307     conftest$ac_exeext conftest.$ac_ext
   13308 fi
   13309 
   13310 
   13311 		CFLAGS="$xorg_testset_save_CFLAGS"
   13312 
   13313 		eval supported=\$$cacheid
   13314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13315 $as_echo "$supported" >&6; }
   13316 		if test "$supported" = "yes" ; then
   13317 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13318 			found="yes"
   13319 		fi
   13320 	fi
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 xorg_testset_save_CFLAGS="$CFLAGS"
   13337 
   13338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13343   $as_echo_n "(cached) " >&6
   13344 else
   13345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13346 /* end confdefs.h.  */
   13347 int i;
   13348 _ACEOF
   13349 if ac_fn_c_try_compile "$LINENO"; then :
   13350   xorg_cv_cc_flag_unknown_warning_option=yes
   13351 else
   13352   xorg_cv_cc_flag_unknown_warning_option=no
   13353 fi
   13354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13355 fi
   13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13359 	CFLAGS="$xorg_testset_save_CFLAGS"
   13360 fi
   13361 
   13362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13365 	fi
   13366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13370   $as_echo_n "(cached) " >&6
   13371 else
   13372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13373 /* end confdefs.h.  */
   13374 int i;
   13375 _ACEOF
   13376 if ac_fn_c_try_compile "$LINENO"; then :
   13377   xorg_cv_cc_flag_unused_command_line_argument=yes
   13378 else
   13379   xorg_cv_cc_flag_unused_command_line_argument=no
   13380 fi
   13381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13382 fi
   13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13386 	CFLAGS="$xorg_testset_save_CFLAGS"
   13387 fi
   13388 
   13389 found="no"
   13390 
   13391 	if test $found = "no" ; then
   13392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13394 		fi
   13395 
   13396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13398 		fi
   13399 
   13400 		CFLAGS="$CFLAGS -Wshadow"
   13401 
   13402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13403 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13404 		cacheid=xorg_cv_cc_flag__Wshadow
   13405 		if eval \${$cacheid+:} 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 int
   13412 main ()
   13413 {
   13414 
   13415   ;
   13416   return 0;
   13417 }
   13418 _ACEOF
   13419 if ac_fn_c_try_link "$LINENO"; then :
   13420   eval $cacheid=yes
   13421 else
   13422   eval $cacheid=no
   13423 fi
   13424 rm -f core conftest.err conftest.$ac_objext \
   13425     conftest$ac_exeext conftest.$ac_ext
   13426 fi
   13427 
   13428 
   13429 		CFLAGS="$xorg_testset_save_CFLAGS"
   13430 
   13431 		eval supported=\$$cacheid
   13432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13433 $as_echo "$supported" >&6; }
   13434 		if test "$supported" = "yes" ; then
   13435 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13436 			found="yes"
   13437 		fi
   13438 	fi
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 xorg_testset_save_CFLAGS="$CFLAGS"
   13455 
   13456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13461   $as_echo_n "(cached) " >&6
   13462 else
   13463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13464 /* end confdefs.h.  */
   13465 int i;
   13466 _ACEOF
   13467 if ac_fn_c_try_compile "$LINENO"; then :
   13468   xorg_cv_cc_flag_unknown_warning_option=yes
   13469 else
   13470   xorg_cv_cc_flag_unknown_warning_option=no
   13471 fi
   13472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13473 fi
   13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13477 	CFLAGS="$xorg_testset_save_CFLAGS"
   13478 fi
   13479 
   13480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13483 	fi
   13484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13488   $as_echo_n "(cached) " >&6
   13489 else
   13490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13491 /* end confdefs.h.  */
   13492 int i;
   13493 _ACEOF
   13494 if ac_fn_c_try_compile "$LINENO"; then :
   13495   xorg_cv_cc_flag_unused_command_line_argument=yes
   13496 else
   13497   xorg_cv_cc_flag_unused_command_line_argument=no
   13498 fi
   13499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13500 fi
   13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13504 	CFLAGS="$xorg_testset_save_CFLAGS"
   13505 fi
   13506 
   13507 found="no"
   13508 
   13509 	if test $found = "no" ; then
   13510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13512 		fi
   13513 
   13514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13516 		fi
   13517 
   13518 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13519 
   13520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13521 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13522 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13523 		if eval \${$cacheid+:} false; then :
   13524   $as_echo_n "(cached) " >&6
   13525 else
   13526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13527 /* end confdefs.h.  */
   13528 int i;
   13529 int
   13530 main ()
   13531 {
   13532 
   13533   ;
   13534   return 0;
   13535 }
   13536 _ACEOF
   13537 if ac_fn_c_try_link "$LINENO"; then :
   13538   eval $cacheid=yes
   13539 else
   13540   eval $cacheid=no
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext \
   13543     conftest$ac_exeext conftest.$ac_ext
   13544 fi
   13545 
   13546 
   13547 		CFLAGS="$xorg_testset_save_CFLAGS"
   13548 
   13549 		eval supported=\$$cacheid
   13550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13551 $as_echo "$supported" >&6; }
   13552 		if test "$supported" = "yes" ; then
   13553 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13554 			found="yes"
   13555 		fi
   13556 	fi
   13557 
   13558 
   13559 
   13560 
   13561 
   13562 
   13563 
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 xorg_testset_save_CFLAGS="$CFLAGS"
   13573 
   13574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13579   $as_echo_n "(cached) " >&6
   13580 else
   13581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13582 /* end confdefs.h.  */
   13583 int i;
   13584 _ACEOF
   13585 if ac_fn_c_try_compile "$LINENO"; then :
   13586   xorg_cv_cc_flag_unknown_warning_option=yes
   13587 else
   13588   xorg_cv_cc_flag_unknown_warning_option=no
   13589 fi
   13590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13591 fi
   13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13595 	CFLAGS="$xorg_testset_save_CFLAGS"
   13596 fi
   13597 
   13598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13601 	fi
   13602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13606   $as_echo_n "(cached) " >&6
   13607 else
   13608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13609 /* end confdefs.h.  */
   13610 int i;
   13611 _ACEOF
   13612 if ac_fn_c_try_compile "$LINENO"; then :
   13613   xorg_cv_cc_flag_unused_command_line_argument=yes
   13614 else
   13615   xorg_cv_cc_flag_unused_command_line_argument=no
   13616 fi
   13617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13618 fi
   13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13622 	CFLAGS="$xorg_testset_save_CFLAGS"
   13623 fi
   13624 
   13625 found="no"
   13626 
   13627 	if test $found = "no" ; then
   13628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13630 		fi
   13631 
   13632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13634 		fi
   13635 
   13636 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13637 
   13638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13639 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13640 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13641 		if eval \${$cacheid+:} false; then :
   13642   $as_echo_n "(cached) " >&6
   13643 else
   13644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13645 /* end confdefs.h.  */
   13646 int i;
   13647 int
   13648 main ()
   13649 {
   13650 
   13651   ;
   13652   return 0;
   13653 }
   13654 _ACEOF
   13655 if ac_fn_c_try_link "$LINENO"; then :
   13656   eval $cacheid=yes
   13657 else
   13658   eval $cacheid=no
   13659 fi
   13660 rm -f core conftest.err conftest.$ac_objext \
   13661     conftest$ac_exeext conftest.$ac_ext
   13662 fi
   13663 
   13664 
   13665 		CFLAGS="$xorg_testset_save_CFLAGS"
   13666 
   13667 		eval supported=\$$cacheid
   13668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13669 $as_echo "$supported" >&6; }
   13670 		if test "$supported" = "yes" ; then
   13671 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13672 			found="yes"
   13673 		fi
   13674 	fi
   13675 
   13676 
   13677 
   13678 
   13679 
   13680 
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 xorg_testset_save_CFLAGS="$CFLAGS"
   13691 
   13692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13697   $as_echo_n "(cached) " >&6
   13698 else
   13699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13700 /* end confdefs.h.  */
   13701 int i;
   13702 _ACEOF
   13703 if ac_fn_c_try_compile "$LINENO"; then :
   13704   xorg_cv_cc_flag_unknown_warning_option=yes
   13705 else
   13706   xorg_cv_cc_flag_unknown_warning_option=no
   13707 fi
   13708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13709 fi
   13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13713 	CFLAGS="$xorg_testset_save_CFLAGS"
   13714 fi
   13715 
   13716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13719 	fi
   13720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13724   $as_echo_n "(cached) " >&6
   13725 else
   13726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13727 /* end confdefs.h.  */
   13728 int i;
   13729 _ACEOF
   13730 if ac_fn_c_try_compile "$LINENO"; then :
   13731   xorg_cv_cc_flag_unused_command_line_argument=yes
   13732 else
   13733   xorg_cv_cc_flag_unused_command_line_argument=no
   13734 fi
   13735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13736 fi
   13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13740 	CFLAGS="$xorg_testset_save_CFLAGS"
   13741 fi
   13742 
   13743 found="no"
   13744 
   13745 	if test $found = "no" ; then
   13746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13748 		fi
   13749 
   13750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13752 		fi
   13753 
   13754 		CFLAGS="$CFLAGS -Wredundant-decls"
   13755 
   13756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13757 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13758 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13759 		if eval \${$cacheid+:} false; then :
   13760   $as_echo_n "(cached) " >&6
   13761 else
   13762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13763 /* end confdefs.h.  */
   13764 int i;
   13765 int
   13766 main ()
   13767 {
   13768 
   13769   ;
   13770   return 0;
   13771 }
   13772 _ACEOF
   13773 if ac_fn_c_try_link "$LINENO"; then :
   13774   eval $cacheid=yes
   13775 else
   13776   eval $cacheid=no
   13777 fi
   13778 rm -f core conftest.err conftest.$ac_objext \
   13779     conftest$ac_exeext conftest.$ac_ext
   13780 fi
   13781 
   13782 
   13783 		CFLAGS="$xorg_testset_save_CFLAGS"
   13784 
   13785 		eval supported=\$$cacheid
   13786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13787 $as_echo "$supported" >&6; }
   13788 		if test "$supported" = "yes" ; then
   13789 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13790 			found="yes"
   13791 		fi
   13792 	fi
   13793 
   13794 
   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_cc_unknown_warning_option" = "x" ; then
   13811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13814 if ${xorg_cv_cc_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_cc_flag_unknown_warning_option=yes
   13823 else
   13824   xorg_cv_cc_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_cc_flag_unknown_warning_option" >&5
   13829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13831 	CFLAGS="$xorg_testset_save_CFLAGS"
   13832 fi
   13833 
   13834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13835 	if test "x$xorg_testset_cc_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 $CC supports -Werror=unused-command-line-argument" >&5
   13840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13841 if ${xorg_cv_cc_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_cc_flag_unused_command_line_argument=yes
   13850 else
   13851   xorg_cv_cc_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_cc_flag_unused_command_line_argument" >&5
   13856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_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_cc_unknown_warning_option" = "xyes" ; then
   13865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13866 		fi
   13867 
   13868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13870 		fi
   13871 
   13872 		CFLAGS="$CFLAGS -Wlogical-op"
   13873 
   13874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13875 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13876 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13877 		if eval \${$cacheid+:} 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 $cacheid=yes
   13893 else
   13894   eval $cacheid=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=\$$cacheid
   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 -Wlogical-op"
   13908 			found="yes"
   13909 		fi
   13910 	fi
   13911 
   13912 
   13913 
   13914 # These are currently disabled because they are noisy.  They will be enabled
   13915 # in the future once the codebase is sufficiently modernized to silence
   13916 # them.  For now, I don't want them to drown out the other warnings.
   13917 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13918 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13919 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   13920 
   13921 # Turn some warnings into errors, so we don't accidently get successful builds
   13922 # when there are problems that should be fixed.
   13923 
   13924 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 xorg_testset_save_CFLAGS="$CFLAGS"
   13939 
   13940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13943 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13944 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13945   $as_echo_n "(cached) " >&6
   13946 else
   13947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13948 /* end confdefs.h.  */
   13949 int i;
   13950 _ACEOF
   13951 if ac_fn_c_try_compile "$LINENO"; then :
   13952   xorg_cv_cc_flag_unknown_warning_option=yes
   13953 else
   13954   xorg_cv_cc_flag_unknown_warning_option=no
   13955 fi
   13956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13957 fi
   13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13959 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13961 	CFLAGS="$xorg_testset_save_CFLAGS"
   13962 fi
   13963 
   13964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13967 	fi
   13968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13970 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13971 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13972   $as_echo_n "(cached) " >&6
   13973 else
   13974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13975 /* end confdefs.h.  */
   13976 int i;
   13977 _ACEOF
   13978 if ac_fn_c_try_compile "$LINENO"; then :
   13979   xorg_cv_cc_flag_unused_command_line_argument=yes
   13980 else
   13981   xorg_cv_cc_flag_unused_command_line_argument=no
   13982 fi
   13983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13984 fi
   13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13986 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13987 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13988 	CFLAGS="$xorg_testset_save_CFLAGS"
   13989 fi
   13990 
   13991 found="no"
   13992 
   13993 	if test $found = "no" ; then
   13994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13996 		fi
   13997 
   13998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14000 		fi
   14001 
   14002 		CFLAGS="$CFLAGS -Werror=implicit"
   14003 
   14004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14005 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14006 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14007 		if eval \${$cacheid+:} false; then :
   14008   $as_echo_n "(cached) " >&6
   14009 else
   14010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14011 /* end confdefs.h.  */
   14012 int i;
   14013 int
   14014 main ()
   14015 {
   14016 
   14017   ;
   14018   return 0;
   14019 }
   14020 _ACEOF
   14021 if ac_fn_c_try_link "$LINENO"; then :
   14022   eval $cacheid=yes
   14023 else
   14024   eval $cacheid=no
   14025 fi
   14026 rm -f core conftest.err conftest.$ac_objext \
   14027     conftest$ac_exeext conftest.$ac_ext
   14028 fi
   14029 
   14030 
   14031 		CFLAGS="$xorg_testset_save_CFLAGS"
   14032 
   14033 		eval supported=\$$cacheid
   14034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14035 $as_echo "$supported" >&6; }
   14036 		if test "$supported" = "yes" ; then
   14037 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14038 			found="yes"
   14039 		fi
   14040 	fi
   14041 
   14042 	if test $found = "no" ; then
   14043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14045 		fi
   14046 
   14047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14049 		fi
   14050 
   14051 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14052 
   14053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14054 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14055 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14056 		if eval \${$cacheid+:} false; then :
   14057   $as_echo_n "(cached) " >&6
   14058 else
   14059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14060 /* end confdefs.h.  */
   14061 int i;
   14062 int
   14063 main ()
   14064 {
   14065 
   14066   ;
   14067   return 0;
   14068 }
   14069 _ACEOF
   14070 if ac_fn_c_try_link "$LINENO"; then :
   14071   eval $cacheid=yes
   14072 else
   14073   eval $cacheid=no
   14074 fi
   14075 rm -f core conftest.err conftest.$ac_objext \
   14076     conftest$ac_exeext conftest.$ac_ext
   14077 fi
   14078 
   14079 
   14080 		CFLAGS="$xorg_testset_save_CFLAGS"
   14081 
   14082 		eval supported=\$$cacheid
   14083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14084 $as_echo "$supported" >&6; }
   14085 		if test "$supported" = "yes" ; then
   14086 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14087 			found="yes"
   14088 		fi
   14089 	fi
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 xorg_testset_save_CFLAGS="$CFLAGS"
   14106 
   14107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14112   $as_echo_n "(cached) " >&6
   14113 else
   14114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14115 /* end confdefs.h.  */
   14116 int i;
   14117 _ACEOF
   14118 if ac_fn_c_try_compile "$LINENO"; then :
   14119   xorg_cv_cc_flag_unknown_warning_option=yes
   14120 else
   14121   xorg_cv_cc_flag_unknown_warning_option=no
   14122 fi
   14123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14124 fi
   14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14128 	CFLAGS="$xorg_testset_save_CFLAGS"
   14129 fi
   14130 
   14131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14134 	fi
   14135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14139   $as_echo_n "(cached) " >&6
   14140 else
   14141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14142 /* end confdefs.h.  */
   14143 int i;
   14144 _ACEOF
   14145 if ac_fn_c_try_compile "$LINENO"; then :
   14146   xorg_cv_cc_flag_unused_command_line_argument=yes
   14147 else
   14148   xorg_cv_cc_flag_unused_command_line_argument=no
   14149 fi
   14150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14151 fi
   14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14155 	CFLAGS="$xorg_testset_save_CFLAGS"
   14156 fi
   14157 
   14158 found="no"
   14159 
   14160 	if test $found = "no" ; then
   14161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14163 		fi
   14164 
   14165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14167 		fi
   14168 
   14169 		CFLAGS="$CFLAGS -Werror=nonnull"
   14170 
   14171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14172 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14173 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14174 		if eval \${$cacheid+:} false; then :
   14175   $as_echo_n "(cached) " >&6
   14176 else
   14177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14178 /* end confdefs.h.  */
   14179 int i;
   14180 int
   14181 main ()
   14182 {
   14183 
   14184   ;
   14185   return 0;
   14186 }
   14187 _ACEOF
   14188 if ac_fn_c_try_link "$LINENO"; then :
   14189   eval $cacheid=yes
   14190 else
   14191   eval $cacheid=no
   14192 fi
   14193 rm -f core conftest.err conftest.$ac_objext \
   14194     conftest$ac_exeext conftest.$ac_ext
   14195 fi
   14196 
   14197 
   14198 		CFLAGS="$xorg_testset_save_CFLAGS"
   14199 
   14200 		eval supported=\$$cacheid
   14201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14202 $as_echo "$supported" >&6; }
   14203 		if test "$supported" = "yes" ; then
   14204 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14205 			found="yes"
   14206 		fi
   14207 	fi
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 xorg_testset_save_CFLAGS="$CFLAGS"
   14224 
   14225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14228 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14229 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14230   $as_echo_n "(cached) " >&6
   14231 else
   14232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14233 /* end confdefs.h.  */
   14234 int i;
   14235 _ACEOF
   14236 if ac_fn_c_try_compile "$LINENO"; then :
   14237   xorg_cv_cc_flag_unknown_warning_option=yes
   14238 else
   14239   xorg_cv_cc_flag_unknown_warning_option=no
   14240 fi
   14241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14242 fi
   14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14244 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14246 	CFLAGS="$xorg_testset_save_CFLAGS"
   14247 fi
   14248 
   14249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14252 	fi
   14253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14255 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14256 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14257   $as_echo_n "(cached) " >&6
   14258 else
   14259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14260 /* end confdefs.h.  */
   14261 int i;
   14262 _ACEOF
   14263 if ac_fn_c_try_compile "$LINENO"; then :
   14264   xorg_cv_cc_flag_unused_command_line_argument=yes
   14265 else
   14266   xorg_cv_cc_flag_unused_command_line_argument=no
   14267 fi
   14268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14269 fi
   14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14271 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14273 	CFLAGS="$xorg_testset_save_CFLAGS"
   14274 fi
   14275 
   14276 found="no"
   14277 
   14278 	if test $found = "no" ; then
   14279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14281 		fi
   14282 
   14283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14285 		fi
   14286 
   14287 		CFLAGS="$CFLAGS -Werror=init-self"
   14288 
   14289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14290 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14291 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14292 		if eval \${$cacheid+:} false; then :
   14293   $as_echo_n "(cached) " >&6
   14294 else
   14295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14296 /* end confdefs.h.  */
   14297 int i;
   14298 int
   14299 main ()
   14300 {
   14301 
   14302   ;
   14303   return 0;
   14304 }
   14305 _ACEOF
   14306 if ac_fn_c_try_link "$LINENO"; then :
   14307   eval $cacheid=yes
   14308 else
   14309   eval $cacheid=no
   14310 fi
   14311 rm -f core conftest.err conftest.$ac_objext \
   14312     conftest$ac_exeext conftest.$ac_ext
   14313 fi
   14314 
   14315 
   14316 		CFLAGS="$xorg_testset_save_CFLAGS"
   14317 
   14318 		eval supported=\$$cacheid
   14319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14320 $as_echo "$supported" >&6; }
   14321 		if test "$supported" = "yes" ; then
   14322 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14323 			found="yes"
   14324 		fi
   14325 	fi
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 xorg_testset_save_CFLAGS="$CFLAGS"
   14342 
   14343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14346 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14347 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14348   $as_echo_n "(cached) " >&6
   14349 else
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"; then :
   14355   xorg_cv_cc_flag_unknown_warning_option=yes
   14356 else
   14357   xorg_cv_cc_flag_unknown_warning_option=no
   14358 fi
   14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14360 fi
   14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14362 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14364 	CFLAGS="$xorg_testset_save_CFLAGS"
   14365 fi
   14366 
   14367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14370 	fi
   14371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14373 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14374 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14375   $as_echo_n "(cached) " >&6
   14376 else
   14377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14378 /* end confdefs.h.  */
   14379 int i;
   14380 _ACEOF
   14381 if ac_fn_c_try_compile "$LINENO"; then :
   14382   xorg_cv_cc_flag_unused_command_line_argument=yes
   14383 else
   14384   xorg_cv_cc_flag_unused_command_line_argument=no
   14385 fi
   14386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14387 fi
   14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14389 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14391 	CFLAGS="$xorg_testset_save_CFLAGS"
   14392 fi
   14393 
   14394 found="no"
   14395 
   14396 	if test $found = "no" ; then
   14397 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14399 		fi
   14400 
   14401 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14403 		fi
   14404 
   14405 		CFLAGS="$CFLAGS -Werror=main"
   14406 
   14407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14408 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14409 		cacheid=xorg_cv_cc_flag__Werror_main
   14410 		if eval \${$cacheid+:} false; then :
   14411   $as_echo_n "(cached) " >&6
   14412 else
   14413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14414 /* end confdefs.h.  */
   14415 int i;
   14416 int
   14417 main ()
   14418 {
   14419 
   14420   ;
   14421   return 0;
   14422 }
   14423 _ACEOF
   14424 if ac_fn_c_try_link "$LINENO"; then :
   14425   eval $cacheid=yes
   14426 else
   14427   eval $cacheid=no
   14428 fi
   14429 rm -f core conftest.err conftest.$ac_objext \
   14430     conftest$ac_exeext conftest.$ac_ext
   14431 fi
   14432 
   14433 
   14434 		CFLAGS="$xorg_testset_save_CFLAGS"
   14435 
   14436 		eval supported=\$$cacheid
   14437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14438 $as_echo "$supported" >&6; }
   14439 		if test "$supported" = "yes" ; then
   14440 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14441 			found="yes"
   14442 		fi
   14443 	fi
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 xorg_testset_save_CFLAGS="$CFLAGS"
   14460 
   14461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14464 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14465 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14466   $as_echo_n "(cached) " >&6
   14467 else
   14468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14469 /* end confdefs.h.  */
   14470 int i;
   14471 _ACEOF
   14472 if ac_fn_c_try_compile "$LINENO"; then :
   14473   xorg_cv_cc_flag_unknown_warning_option=yes
   14474 else
   14475   xorg_cv_cc_flag_unknown_warning_option=no
   14476 fi
   14477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14478 fi
   14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14480 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14482 	CFLAGS="$xorg_testset_save_CFLAGS"
   14483 fi
   14484 
   14485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14488 	fi
   14489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14491 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14492 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14493   $as_echo_n "(cached) " >&6
   14494 else
   14495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14496 /* end confdefs.h.  */
   14497 int i;
   14498 _ACEOF
   14499 if ac_fn_c_try_compile "$LINENO"; then :
   14500   xorg_cv_cc_flag_unused_command_line_argument=yes
   14501 else
   14502   xorg_cv_cc_flag_unused_command_line_argument=no
   14503 fi
   14504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14505 fi
   14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14507 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14509 	CFLAGS="$xorg_testset_save_CFLAGS"
   14510 fi
   14511 
   14512 found="no"
   14513 
   14514 	if test $found = "no" ; then
   14515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14517 		fi
   14518 
   14519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14521 		fi
   14522 
   14523 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14524 
   14525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14526 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14527 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14528 		if eval \${$cacheid+:} false; then :
   14529   $as_echo_n "(cached) " >&6
   14530 else
   14531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14532 /* end confdefs.h.  */
   14533 int i;
   14534 int
   14535 main ()
   14536 {
   14537 
   14538   ;
   14539   return 0;
   14540 }
   14541 _ACEOF
   14542 if ac_fn_c_try_link "$LINENO"; then :
   14543   eval $cacheid=yes
   14544 else
   14545   eval $cacheid=no
   14546 fi
   14547 rm -f core conftest.err conftest.$ac_objext \
   14548     conftest$ac_exeext conftest.$ac_ext
   14549 fi
   14550 
   14551 
   14552 		CFLAGS="$xorg_testset_save_CFLAGS"
   14553 
   14554 		eval supported=\$$cacheid
   14555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14556 $as_echo "$supported" >&6; }
   14557 		if test "$supported" = "yes" ; then
   14558 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14559 			found="yes"
   14560 		fi
   14561 	fi
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 
   14573 
   14574 
   14575 
   14576 
   14577 xorg_testset_save_CFLAGS="$CFLAGS"
   14578 
   14579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14582 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14583 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14584   $as_echo_n "(cached) " >&6
   14585 else
   14586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14587 /* end confdefs.h.  */
   14588 int i;
   14589 _ACEOF
   14590 if ac_fn_c_try_compile "$LINENO"; then :
   14591   xorg_cv_cc_flag_unknown_warning_option=yes
   14592 else
   14593   xorg_cv_cc_flag_unknown_warning_option=no
   14594 fi
   14595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14596 fi
   14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14598 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14600 	CFLAGS="$xorg_testset_save_CFLAGS"
   14601 fi
   14602 
   14603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14606 	fi
   14607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14609 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14610 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14611   $as_echo_n "(cached) " >&6
   14612 else
   14613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14614 /* end confdefs.h.  */
   14615 int i;
   14616 _ACEOF
   14617 if ac_fn_c_try_compile "$LINENO"; then :
   14618   xorg_cv_cc_flag_unused_command_line_argument=yes
   14619 else
   14620   xorg_cv_cc_flag_unused_command_line_argument=no
   14621 fi
   14622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14623 fi
   14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14625 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14627 	CFLAGS="$xorg_testset_save_CFLAGS"
   14628 fi
   14629 
   14630 found="no"
   14631 
   14632 	if test $found = "no" ; then
   14633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14635 		fi
   14636 
   14637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14639 		fi
   14640 
   14641 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14642 
   14643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14644 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14645 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14646 		if eval \${$cacheid+:} false; then :
   14647   $as_echo_n "(cached) " >&6
   14648 else
   14649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14650 /* end confdefs.h.  */
   14651 int i;
   14652 int
   14653 main ()
   14654 {
   14655 
   14656   ;
   14657   return 0;
   14658 }
   14659 _ACEOF
   14660 if ac_fn_c_try_link "$LINENO"; then :
   14661   eval $cacheid=yes
   14662 else
   14663   eval $cacheid=no
   14664 fi
   14665 rm -f core conftest.err conftest.$ac_objext \
   14666     conftest$ac_exeext conftest.$ac_ext
   14667 fi
   14668 
   14669 
   14670 		CFLAGS="$xorg_testset_save_CFLAGS"
   14671 
   14672 		eval supported=\$$cacheid
   14673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14674 $as_echo "$supported" >&6; }
   14675 		if test "$supported" = "yes" ; then
   14676 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14677 			found="yes"
   14678 		fi
   14679 	fi
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 xorg_testset_save_CFLAGS="$CFLAGS"
   14696 
   14697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14700 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14701 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14702   $as_echo_n "(cached) " >&6
   14703 else
   14704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14705 /* end confdefs.h.  */
   14706 int i;
   14707 _ACEOF
   14708 if ac_fn_c_try_compile "$LINENO"; then :
   14709   xorg_cv_cc_flag_unknown_warning_option=yes
   14710 else
   14711   xorg_cv_cc_flag_unknown_warning_option=no
   14712 fi
   14713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14714 fi
   14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14716 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14718 	CFLAGS="$xorg_testset_save_CFLAGS"
   14719 fi
   14720 
   14721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14724 	fi
   14725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14727 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14728 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14729   $as_echo_n "(cached) " >&6
   14730 else
   14731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14732 /* end confdefs.h.  */
   14733 int i;
   14734 _ACEOF
   14735 if ac_fn_c_try_compile "$LINENO"; then :
   14736   xorg_cv_cc_flag_unused_command_line_argument=yes
   14737 else
   14738   xorg_cv_cc_flag_unused_command_line_argument=no
   14739 fi
   14740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14741 fi
   14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14743 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14745 	CFLAGS="$xorg_testset_save_CFLAGS"
   14746 fi
   14747 
   14748 found="no"
   14749 
   14750 	if test $found = "no" ; then
   14751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14753 		fi
   14754 
   14755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14757 		fi
   14758 
   14759 		CFLAGS="$CFLAGS -Werror=return-type"
   14760 
   14761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14762 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14763 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14764 		if eval \${$cacheid+:} false; then :
   14765   $as_echo_n "(cached) " >&6
   14766 else
   14767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14768 /* end confdefs.h.  */
   14769 int i;
   14770 int
   14771 main ()
   14772 {
   14773 
   14774   ;
   14775   return 0;
   14776 }
   14777 _ACEOF
   14778 if ac_fn_c_try_link "$LINENO"; then :
   14779   eval $cacheid=yes
   14780 else
   14781   eval $cacheid=no
   14782 fi
   14783 rm -f core conftest.err conftest.$ac_objext \
   14784     conftest$ac_exeext conftest.$ac_ext
   14785 fi
   14786 
   14787 
   14788 		CFLAGS="$xorg_testset_save_CFLAGS"
   14789 
   14790 		eval supported=\$$cacheid
   14791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14792 $as_echo "$supported" >&6; }
   14793 		if test "$supported" = "yes" ; then
   14794 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14795 			found="yes"
   14796 		fi
   14797 	fi
   14798 
   14799 	if test $found = "no" ; then
   14800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14802 		fi
   14803 
   14804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14806 		fi
   14807 
   14808 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14809 
   14810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14811 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14812 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14813 		if eval \${$cacheid+:} false; then :
   14814   $as_echo_n "(cached) " >&6
   14815 else
   14816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14817 /* end confdefs.h.  */
   14818 int i;
   14819 int
   14820 main ()
   14821 {
   14822 
   14823   ;
   14824   return 0;
   14825 }
   14826 _ACEOF
   14827 if ac_fn_c_try_link "$LINENO"; then :
   14828   eval $cacheid=yes
   14829 else
   14830   eval $cacheid=no
   14831 fi
   14832 rm -f core conftest.err conftest.$ac_objext \
   14833     conftest$ac_exeext conftest.$ac_ext
   14834 fi
   14835 
   14836 
   14837 		CFLAGS="$xorg_testset_save_CFLAGS"
   14838 
   14839 		eval supported=\$$cacheid
   14840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14841 $as_echo "$supported" >&6; }
   14842 		if test "$supported" = "yes" ; then
   14843 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14844 			found="yes"
   14845 		fi
   14846 	fi
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 xorg_testset_save_CFLAGS="$CFLAGS"
   14863 
   14864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14867 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14868 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14869   $as_echo_n "(cached) " >&6
   14870 else
   14871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14872 /* end confdefs.h.  */
   14873 int i;
   14874 _ACEOF
   14875 if ac_fn_c_try_compile "$LINENO"; then :
   14876   xorg_cv_cc_flag_unknown_warning_option=yes
   14877 else
   14878   xorg_cv_cc_flag_unknown_warning_option=no
   14879 fi
   14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14881 fi
   14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14883 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14885 	CFLAGS="$xorg_testset_save_CFLAGS"
   14886 fi
   14887 
   14888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14891 	fi
   14892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14894 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14895 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14896   $as_echo_n "(cached) " >&6
   14897 else
   14898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14899 /* end confdefs.h.  */
   14900 int i;
   14901 _ACEOF
   14902 if ac_fn_c_try_compile "$LINENO"; then :
   14903   xorg_cv_cc_flag_unused_command_line_argument=yes
   14904 else
   14905   xorg_cv_cc_flag_unused_command_line_argument=no
   14906 fi
   14907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14908 fi
   14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14910 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14912 	CFLAGS="$xorg_testset_save_CFLAGS"
   14913 fi
   14914 
   14915 found="no"
   14916 
   14917 	if test $found = "no" ; then
   14918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14920 		fi
   14921 
   14922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14924 		fi
   14925 
   14926 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14927 
   14928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14929 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14930 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14931 		if eval \${$cacheid+:} false; then :
   14932   $as_echo_n "(cached) " >&6
   14933 else
   14934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14935 /* end confdefs.h.  */
   14936 int i;
   14937 int
   14938 main ()
   14939 {
   14940 
   14941   ;
   14942   return 0;
   14943 }
   14944 _ACEOF
   14945 if ac_fn_c_try_link "$LINENO"; then :
   14946   eval $cacheid=yes
   14947 else
   14948   eval $cacheid=no
   14949 fi
   14950 rm -f core conftest.err conftest.$ac_objext \
   14951     conftest$ac_exeext conftest.$ac_ext
   14952 fi
   14953 
   14954 
   14955 		CFLAGS="$xorg_testset_save_CFLAGS"
   14956 
   14957 		eval supported=\$$cacheid
   14958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14959 $as_echo "$supported" >&6; }
   14960 		if test "$supported" = "yes" ; then
   14961 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14962 			found="yes"
   14963 		fi
   14964 	fi
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 xorg_testset_save_CFLAGS="$CFLAGS"
   14981 
   14982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14985 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14986 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14987   $as_echo_n "(cached) " >&6
   14988 else
   14989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14990 /* end confdefs.h.  */
   14991 int i;
   14992 _ACEOF
   14993 if ac_fn_c_try_compile "$LINENO"; then :
   14994   xorg_cv_cc_flag_unknown_warning_option=yes
   14995 else
   14996   xorg_cv_cc_flag_unknown_warning_option=no
   14997 fi
   14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14999 fi
   15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15001 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15003 	CFLAGS="$xorg_testset_save_CFLAGS"
   15004 fi
   15005 
   15006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15009 	fi
   15010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15012 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15013 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15014   $as_echo_n "(cached) " >&6
   15015 else
   15016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15017 /* end confdefs.h.  */
   15018 int i;
   15019 _ACEOF
   15020 if ac_fn_c_try_compile "$LINENO"; then :
   15021   xorg_cv_cc_flag_unused_command_line_argument=yes
   15022 else
   15023   xorg_cv_cc_flag_unused_command_line_argument=no
   15024 fi
   15025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15026 fi
   15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15028 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15029 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15030 	CFLAGS="$xorg_testset_save_CFLAGS"
   15031 fi
   15032 
   15033 found="no"
   15034 
   15035 	if test $found = "no" ; then
   15036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 		fi
   15039 
   15040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15042 		fi
   15043 
   15044 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15045 
   15046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15047 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15048 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15049 		if eval \${$cacheid+:} false; then :
   15050   $as_echo_n "(cached) " >&6
   15051 else
   15052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15053 /* end confdefs.h.  */
   15054 int i;
   15055 int
   15056 main ()
   15057 {
   15058 
   15059   ;
   15060   return 0;
   15061 }
   15062 _ACEOF
   15063 if ac_fn_c_try_link "$LINENO"; then :
   15064   eval $cacheid=yes
   15065 else
   15066   eval $cacheid=no
   15067 fi
   15068 rm -f core conftest.err conftest.$ac_objext \
   15069     conftest$ac_exeext conftest.$ac_ext
   15070 fi
   15071 
   15072 
   15073 		CFLAGS="$xorg_testset_save_CFLAGS"
   15074 
   15075 		eval supported=\$$cacheid
   15076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15077 $as_echo "$supported" >&6; }
   15078 		if test "$supported" = "yes" ; then
   15079 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15080 			found="yes"
   15081 		fi
   15082 	fi
   15083 
   15084 
   15085 
   15086 
   15087 
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 xorg_testset_save_CFLAGS="$CFLAGS"
   15099 
   15100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15103 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15104 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15105   $as_echo_n "(cached) " >&6
   15106 else
   15107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15108 /* end confdefs.h.  */
   15109 int i;
   15110 _ACEOF
   15111 if ac_fn_c_try_compile "$LINENO"; then :
   15112   xorg_cv_cc_flag_unknown_warning_option=yes
   15113 else
   15114   xorg_cv_cc_flag_unknown_warning_option=no
   15115 fi
   15116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15117 fi
   15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15119 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15121 	CFLAGS="$xorg_testset_save_CFLAGS"
   15122 fi
   15123 
   15124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15127 	fi
   15128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15130 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15131 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15132   $as_echo_n "(cached) " >&6
   15133 else
   15134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15135 /* end confdefs.h.  */
   15136 int i;
   15137 _ACEOF
   15138 if ac_fn_c_try_compile "$LINENO"; then :
   15139   xorg_cv_cc_flag_unused_command_line_argument=yes
   15140 else
   15141   xorg_cv_cc_flag_unused_command_line_argument=no
   15142 fi
   15143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15144 fi
   15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15146 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15148 	CFLAGS="$xorg_testset_save_CFLAGS"
   15149 fi
   15150 
   15151 found="no"
   15152 
   15153 	if test $found = "no" ; then
   15154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15156 		fi
   15157 
   15158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15160 		fi
   15161 
   15162 		CFLAGS="$CFLAGS -Werror=write-strings"
   15163 
   15164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15165 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15166 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15167 		if eval \${$cacheid+:} false; then :
   15168   $as_echo_n "(cached) " >&6
   15169 else
   15170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15171 /* end confdefs.h.  */
   15172 int i;
   15173 int
   15174 main ()
   15175 {
   15176 
   15177   ;
   15178   return 0;
   15179 }
   15180 _ACEOF
   15181 if ac_fn_c_try_link "$LINENO"; then :
   15182   eval $cacheid=yes
   15183 else
   15184   eval $cacheid=no
   15185 fi
   15186 rm -f core conftest.err conftest.$ac_objext \
   15187     conftest$ac_exeext conftest.$ac_ext
   15188 fi
   15189 
   15190 
   15191 		CFLAGS="$xorg_testset_save_CFLAGS"
   15192 
   15193 		eval supported=\$$cacheid
   15194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15195 $as_echo "$supported" >&6; }
   15196 		if test "$supported" = "yes" ; then
   15197 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15198 			found="yes"
   15199 		fi
   15200 	fi
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 xorg_testset_save_CFLAGS="$CFLAGS"
   15217 
   15218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15221 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15222 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15223   $as_echo_n "(cached) " >&6
   15224 else
   15225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15226 /* end confdefs.h.  */
   15227 int i;
   15228 _ACEOF
   15229 if ac_fn_c_try_compile "$LINENO"; then :
   15230   xorg_cv_cc_flag_unknown_warning_option=yes
   15231 else
   15232   xorg_cv_cc_flag_unknown_warning_option=no
   15233 fi
   15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15235 fi
   15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15237 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15239 	CFLAGS="$xorg_testset_save_CFLAGS"
   15240 fi
   15241 
   15242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15245 	fi
   15246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15248 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15249 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15250   $as_echo_n "(cached) " >&6
   15251 else
   15252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15253 /* end confdefs.h.  */
   15254 int i;
   15255 _ACEOF
   15256 if ac_fn_c_try_compile "$LINENO"; then :
   15257   xorg_cv_cc_flag_unused_command_line_argument=yes
   15258 else
   15259   xorg_cv_cc_flag_unused_command_line_argument=no
   15260 fi
   15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15262 fi
   15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15264 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15266 	CFLAGS="$xorg_testset_save_CFLAGS"
   15267 fi
   15268 
   15269 found="no"
   15270 
   15271 	if test $found = "no" ; then
   15272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15274 		fi
   15275 
   15276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15278 		fi
   15279 
   15280 		CFLAGS="$CFLAGS -Werror=address"
   15281 
   15282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15283 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15284 		cacheid=xorg_cv_cc_flag__Werror_address
   15285 		if eval \${$cacheid+:} false; then :
   15286   $as_echo_n "(cached) " >&6
   15287 else
   15288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15289 /* end confdefs.h.  */
   15290 int i;
   15291 int
   15292 main ()
   15293 {
   15294 
   15295   ;
   15296   return 0;
   15297 }
   15298 _ACEOF
   15299 if ac_fn_c_try_link "$LINENO"; then :
   15300   eval $cacheid=yes
   15301 else
   15302   eval $cacheid=no
   15303 fi
   15304 rm -f core conftest.err conftest.$ac_objext \
   15305     conftest$ac_exeext conftest.$ac_ext
   15306 fi
   15307 
   15308 
   15309 		CFLAGS="$xorg_testset_save_CFLAGS"
   15310 
   15311 		eval supported=\$$cacheid
   15312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15313 $as_echo "$supported" >&6; }
   15314 		if test "$supported" = "yes" ; then
   15315 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15316 			found="yes"
   15317 		fi
   15318 	fi
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 xorg_testset_save_CFLAGS="$CFLAGS"
   15335 
   15336 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15337 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15339 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15340 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15341   $as_echo_n "(cached) " >&6
   15342 else
   15343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15344 /* end confdefs.h.  */
   15345 int i;
   15346 _ACEOF
   15347 if ac_fn_c_try_compile "$LINENO"; then :
   15348   xorg_cv_cc_flag_unknown_warning_option=yes
   15349 else
   15350   xorg_cv_cc_flag_unknown_warning_option=no
   15351 fi
   15352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15353 fi
   15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15355 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15356 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15357 	CFLAGS="$xorg_testset_save_CFLAGS"
   15358 fi
   15359 
   15360 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15361 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15362 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15363 	fi
   15364 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15366 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15367 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15368   $as_echo_n "(cached) " >&6
   15369 else
   15370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15371 /* end confdefs.h.  */
   15372 int i;
   15373 _ACEOF
   15374 if ac_fn_c_try_compile "$LINENO"; then :
   15375   xorg_cv_cc_flag_unused_command_line_argument=yes
   15376 else
   15377   xorg_cv_cc_flag_unused_command_line_argument=no
   15378 fi
   15379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15380 fi
   15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15382 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15384 	CFLAGS="$xorg_testset_save_CFLAGS"
   15385 fi
   15386 
   15387 found="no"
   15388 
   15389 	if test $found = "no" ; then
   15390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15392 		fi
   15393 
   15394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15396 		fi
   15397 
   15398 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15399 
   15400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15401 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15402 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15403 		if eval \${$cacheid+:} false; then :
   15404   $as_echo_n "(cached) " >&6
   15405 else
   15406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15407 /* end confdefs.h.  */
   15408 int i;
   15409 int
   15410 main ()
   15411 {
   15412 
   15413   ;
   15414   return 0;
   15415 }
   15416 _ACEOF
   15417 if ac_fn_c_try_link "$LINENO"; then :
   15418   eval $cacheid=yes
   15419 else
   15420   eval $cacheid=no
   15421 fi
   15422 rm -f core conftest.err conftest.$ac_objext \
   15423     conftest$ac_exeext conftest.$ac_ext
   15424 fi
   15425 
   15426 
   15427 		CFLAGS="$xorg_testset_save_CFLAGS"
   15428 
   15429 		eval supported=\$$cacheid
   15430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15431 $as_echo "$supported" >&6; }
   15432 		if test "$supported" = "yes" ; then
   15433 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15434 			found="yes"
   15435 		fi
   15436 	fi
   15437 
   15438 	if test $found = "no" ; then
   15439 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15441 		fi
   15442 
   15443 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15445 		fi
   15446 
   15447 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15448 
   15449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15450 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15451 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15452 		if eval \${$cacheid+:} false; then :
   15453   $as_echo_n "(cached) " >&6
   15454 else
   15455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15456 /* end confdefs.h.  */
   15457 int i;
   15458 int
   15459 main ()
   15460 {
   15461 
   15462   ;
   15463   return 0;
   15464 }
   15465 _ACEOF
   15466 if ac_fn_c_try_link "$LINENO"; then :
   15467   eval $cacheid=yes
   15468 else
   15469   eval $cacheid=no
   15470 fi
   15471 rm -f core conftest.err conftest.$ac_objext \
   15472     conftest$ac_exeext conftest.$ac_ext
   15473 fi
   15474 
   15475 
   15476 		CFLAGS="$xorg_testset_save_CFLAGS"
   15477 
   15478 		eval supported=\$$cacheid
   15479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15480 $as_echo "$supported" >&6; }
   15481 		if test "$supported" = "yes" ; then
   15482 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15483 			found="yes"
   15484 		fi
   15485 	fi
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 xorg_testset_save_CFLAGS="$CFLAGS"
   15502 
   15503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15506 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15507 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15508   $as_echo_n "(cached) " >&6
   15509 else
   15510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15511 /* end confdefs.h.  */
   15512 int i;
   15513 _ACEOF
   15514 if ac_fn_c_try_compile "$LINENO"; then :
   15515   xorg_cv_cc_flag_unknown_warning_option=yes
   15516 else
   15517   xorg_cv_cc_flag_unknown_warning_option=no
   15518 fi
   15519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15520 fi
   15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15522 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15523 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15524 	CFLAGS="$xorg_testset_save_CFLAGS"
   15525 fi
   15526 
   15527 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15528 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15529 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15530 	fi
   15531 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15533 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15534 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15535   $as_echo_n "(cached) " >&6
   15536 else
   15537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15538 /* end confdefs.h.  */
   15539 int i;
   15540 _ACEOF
   15541 if ac_fn_c_try_compile "$LINENO"; then :
   15542   xorg_cv_cc_flag_unused_command_line_argument=yes
   15543 else
   15544   xorg_cv_cc_flag_unused_command_line_argument=no
   15545 fi
   15546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15547 fi
   15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15549 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15551 	CFLAGS="$xorg_testset_save_CFLAGS"
   15552 fi
   15553 
   15554 found="no"
   15555 
   15556 	if test $found = "no" ; then
   15557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15559 		fi
   15560 
   15561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15563 		fi
   15564 
   15565 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15566 
   15567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15568 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15569 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15570 		if eval \${$cacheid+:} false; then :
   15571   $as_echo_n "(cached) " >&6
   15572 else
   15573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15574 /* end confdefs.h.  */
   15575 int i;
   15576 int
   15577 main ()
   15578 {
   15579 
   15580   ;
   15581   return 0;
   15582 }
   15583 _ACEOF
   15584 if ac_fn_c_try_link "$LINENO"; then :
   15585   eval $cacheid=yes
   15586 else
   15587   eval $cacheid=no
   15588 fi
   15589 rm -f core conftest.err conftest.$ac_objext \
   15590     conftest$ac_exeext conftest.$ac_ext
   15591 fi
   15592 
   15593 
   15594 		CFLAGS="$xorg_testset_save_CFLAGS"
   15595 
   15596 		eval supported=\$$cacheid
   15597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15598 $as_echo "$supported" >&6; }
   15599 		if test "$supported" = "yes" ; then
   15600 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15601 			found="yes"
   15602 		fi
   15603 	fi
   15604 
   15605  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15606 else
   15607 { $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
   15608 $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;}
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 xorg_testset_save_CFLAGS="$CFLAGS"
   15623 
   15624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15629   $as_echo_n "(cached) " >&6
   15630 else
   15631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15632 /* end confdefs.h.  */
   15633 int i;
   15634 _ACEOF
   15635 if ac_fn_c_try_compile "$LINENO"; then :
   15636   xorg_cv_cc_flag_unknown_warning_option=yes
   15637 else
   15638   xorg_cv_cc_flag_unknown_warning_option=no
   15639 fi
   15640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15641 fi
   15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15645 	CFLAGS="$xorg_testset_save_CFLAGS"
   15646 fi
   15647 
   15648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15651 	fi
   15652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_cc_flag_unused_command_line_argument=yes
   15664 else
   15665   xorg_cv_cc_flag_unused_command_line_argument=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_cc_flag_unused_command_line_argument" >&5
   15670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15672 	CFLAGS="$xorg_testset_save_CFLAGS"
   15673 fi
   15674 
   15675 found="no"
   15676 
   15677 	if test $found = "no" ; then
   15678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15680 		fi
   15681 
   15682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15684 		fi
   15685 
   15686 		CFLAGS="$CFLAGS -Wimplicit"
   15687 
   15688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15689 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15690 		cacheid=xorg_cv_cc_flag__Wimplicit
   15691 		if eval \${$cacheid+:} false; then :
   15692   $as_echo_n "(cached) " >&6
   15693 else
   15694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15695 /* end confdefs.h.  */
   15696 int i;
   15697 int
   15698 main ()
   15699 {
   15700 
   15701   ;
   15702   return 0;
   15703 }
   15704 _ACEOF
   15705 if ac_fn_c_try_link "$LINENO"; then :
   15706   eval $cacheid=yes
   15707 else
   15708   eval $cacheid=no
   15709 fi
   15710 rm -f core conftest.err conftest.$ac_objext \
   15711     conftest$ac_exeext conftest.$ac_ext
   15712 fi
   15713 
   15714 
   15715 		CFLAGS="$xorg_testset_save_CFLAGS"
   15716 
   15717 		eval supported=\$$cacheid
   15718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15719 $as_echo "$supported" >&6; }
   15720 		if test "$supported" = "yes" ; then
   15721 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15722 			found="yes"
   15723 		fi
   15724 	fi
   15725 
   15726 
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 xorg_testset_save_CFLAGS="$CFLAGS"
   15741 
   15742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15747   $as_echo_n "(cached) " >&6
   15748 else
   15749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15750 /* end confdefs.h.  */
   15751 int i;
   15752 _ACEOF
   15753 if ac_fn_c_try_compile "$LINENO"; then :
   15754   xorg_cv_cc_flag_unknown_warning_option=yes
   15755 else
   15756   xorg_cv_cc_flag_unknown_warning_option=no
   15757 fi
   15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15759 fi
   15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15763 	CFLAGS="$xorg_testset_save_CFLAGS"
   15764 fi
   15765 
   15766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15769 	fi
   15770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15774   $as_echo_n "(cached) " >&6
   15775 else
   15776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15777 /* end confdefs.h.  */
   15778 int i;
   15779 _ACEOF
   15780 if ac_fn_c_try_compile "$LINENO"; then :
   15781   xorg_cv_cc_flag_unused_command_line_argument=yes
   15782 else
   15783   xorg_cv_cc_flag_unused_command_line_argument=no
   15784 fi
   15785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15786 fi
   15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15790 	CFLAGS="$xorg_testset_save_CFLAGS"
   15791 fi
   15792 
   15793 found="no"
   15794 
   15795 	if test $found = "no" ; then
   15796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15798 		fi
   15799 
   15800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15802 		fi
   15803 
   15804 		CFLAGS="$CFLAGS -Wnonnull"
   15805 
   15806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15807 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15808 		cacheid=xorg_cv_cc_flag__Wnonnull
   15809 		if eval \${$cacheid+:} false; then :
   15810   $as_echo_n "(cached) " >&6
   15811 else
   15812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15813 /* end confdefs.h.  */
   15814 int i;
   15815 int
   15816 main ()
   15817 {
   15818 
   15819   ;
   15820   return 0;
   15821 }
   15822 _ACEOF
   15823 if ac_fn_c_try_link "$LINENO"; then :
   15824   eval $cacheid=yes
   15825 else
   15826   eval $cacheid=no
   15827 fi
   15828 rm -f core conftest.err conftest.$ac_objext \
   15829     conftest$ac_exeext conftest.$ac_ext
   15830 fi
   15831 
   15832 
   15833 		CFLAGS="$xorg_testset_save_CFLAGS"
   15834 
   15835 		eval supported=\$$cacheid
   15836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15837 $as_echo "$supported" >&6; }
   15838 		if test "$supported" = "yes" ; then
   15839 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15840 			found="yes"
   15841 		fi
   15842 	fi
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 xorg_testset_save_CFLAGS="$CFLAGS"
   15859 
   15860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15865   $as_echo_n "(cached) " >&6
   15866 else
   15867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15868 /* end confdefs.h.  */
   15869 int i;
   15870 _ACEOF
   15871 if ac_fn_c_try_compile "$LINENO"; then :
   15872   xorg_cv_cc_flag_unknown_warning_option=yes
   15873 else
   15874   xorg_cv_cc_flag_unknown_warning_option=no
   15875 fi
   15876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15877 fi
   15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15881 	CFLAGS="$xorg_testset_save_CFLAGS"
   15882 fi
   15883 
   15884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15887 	fi
   15888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15892   $as_echo_n "(cached) " >&6
   15893 else
   15894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15895 /* end confdefs.h.  */
   15896 int i;
   15897 _ACEOF
   15898 if ac_fn_c_try_compile "$LINENO"; then :
   15899   xorg_cv_cc_flag_unused_command_line_argument=yes
   15900 else
   15901   xorg_cv_cc_flag_unused_command_line_argument=no
   15902 fi
   15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15904 fi
   15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15908 	CFLAGS="$xorg_testset_save_CFLAGS"
   15909 fi
   15910 
   15911 found="no"
   15912 
   15913 	if test $found = "no" ; then
   15914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15916 		fi
   15917 
   15918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15920 		fi
   15921 
   15922 		CFLAGS="$CFLAGS -Winit-self"
   15923 
   15924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15925 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15926 		cacheid=xorg_cv_cc_flag__Winit_self
   15927 		if eval \${$cacheid+:} false; then :
   15928   $as_echo_n "(cached) " >&6
   15929 else
   15930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15931 /* end confdefs.h.  */
   15932 int i;
   15933 int
   15934 main ()
   15935 {
   15936 
   15937   ;
   15938   return 0;
   15939 }
   15940 _ACEOF
   15941 if ac_fn_c_try_link "$LINENO"; then :
   15942   eval $cacheid=yes
   15943 else
   15944   eval $cacheid=no
   15945 fi
   15946 rm -f core conftest.err conftest.$ac_objext \
   15947     conftest$ac_exeext conftest.$ac_ext
   15948 fi
   15949 
   15950 
   15951 		CFLAGS="$xorg_testset_save_CFLAGS"
   15952 
   15953 		eval supported=\$$cacheid
   15954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15955 $as_echo "$supported" >&6; }
   15956 		if test "$supported" = "yes" ; then
   15957 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15958 			found="yes"
   15959 		fi
   15960 	fi
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 xorg_testset_save_CFLAGS="$CFLAGS"
   15977 
   15978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15983   $as_echo_n "(cached) " >&6
   15984 else
   15985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15986 /* end confdefs.h.  */
   15987 int i;
   15988 _ACEOF
   15989 if ac_fn_c_try_compile "$LINENO"; then :
   15990   xorg_cv_cc_flag_unknown_warning_option=yes
   15991 else
   15992   xorg_cv_cc_flag_unknown_warning_option=no
   15993 fi
   15994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15995 fi
   15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15999 	CFLAGS="$xorg_testset_save_CFLAGS"
   16000 fi
   16001 
   16002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16005 	fi
   16006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16010   $as_echo_n "(cached) " >&6
   16011 else
   16012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16013 /* end confdefs.h.  */
   16014 int i;
   16015 _ACEOF
   16016 if ac_fn_c_try_compile "$LINENO"; then :
   16017   xorg_cv_cc_flag_unused_command_line_argument=yes
   16018 else
   16019   xorg_cv_cc_flag_unused_command_line_argument=no
   16020 fi
   16021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16022 fi
   16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16026 	CFLAGS="$xorg_testset_save_CFLAGS"
   16027 fi
   16028 
   16029 found="no"
   16030 
   16031 	if test $found = "no" ; then
   16032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 		fi
   16035 
   16036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16038 		fi
   16039 
   16040 		CFLAGS="$CFLAGS -Wmain"
   16041 
   16042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16043 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16044 		cacheid=xorg_cv_cc_flag__Wmain
   16045 		if eval \${$cacheid+:} false; then :
   16046   $as_echo_n "(cached) " >&6
   16047 else
   16048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16049 /* end confdefs.h.  */
   16050 int i;
   16051 int
   16052 main ()
   16053 {
   16054 
   16055   ;
   16056   return 0;
   16057 }
   16058 _ACEOF
   16059 if ac_fn_c_try_link "$LINENO"; then :
   16060   eval $cacheid=yes
   16061 else
   16062   eval $cacheid=no
   16063 fi
   16064 rm -f core conftest.err conftest.$ac_objext \
   16065     conftest$ac_exeext conftest.$ac_ext
   16066 fi
   16067 
   16068 
   16069 		CFLAGS="$xorg_testset_save_CFLAGS"
   16070 
   16071 		eval supported=\$$cacheid
   16072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16073 $as_echo "$supported" >&6; }
   16074 		if test "$supported" = "yes" ; then
   16075 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16076 			found="yes"
   16077 		fi
   16078 	fi
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 xorg_testset_save_CFLAGS="$CFLAGS"
   16095 
   16096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16099 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16100 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16101   $as_echo_n "(cached) " >&6
   16102 else
   16103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16104 /* end confdefs.h.  */
   16105 int i;
   16106 _ACEOF
   16107 if ac_fn_c_try_compile "$LINENO"; then :
   16108   xorg_cv_cc_flag_unknown_warning_option=yes
   16109 else
   16110   xorg_cv_cc_flag_unknown_warning_option=no
   16111 fi
   16112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16113 fi
   16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16115 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16117 	CFLAGS="$xorg_testset_save_CFLAGS"
   16118 fi
   16119 
   16120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16123 	fi
   16124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16126 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16127 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16128   $as_echo_n "(cached) " >&6
   16129 else
   16130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16131 /* end confdefs.h.  */
   16132 int i;
   16133 _ACEOF
   16134 if ac_fn_c_try_compile "$LINENO"; then :
   16135   xorg_cv_cc_flag_unused_command_line_argument=yes
   16136 else
   16137   xorg_cv_cc_flag_unused_command_line_argument=no
   16138 fi
   16139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16140 fi
   16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16142 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16144 	CFLAGS="$xorg_testset_save_CFLAGS"
   16145 fi
   16146 
   16147 found="no"
   16148 
   16149 	if test $found = "no" ; then
   16150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16152 		fi
   16153 
   16154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16156 		fi
   16157 
   16158 		CFLAGS="$CFLAGS -Wmissing-braces"
   16159 
   16160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16161 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16162 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16163 		if eval \${$cacheid+:} false; then :
   16164   $as_echo_n "(cached) " >&6
   16165 else
   16166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16167 /* end confdefs.h.  */
   16168 int i;
   16169 int
   16170 main ()
   16171 {
   16172 
   16173   ;
   16174   return 0;
   16175 }
   16176 _ACEOF
   16177 if ac_fn_c_try_link "$LINENO"; then :
   16178   eval $cacheid=yes
   16179 else
   16180   eval $cacheid=no
   16181 fi
   16182 rm -f core conftest.err conftest.$ac_objext \
   16183     conftest$ac_exeext conftest.$ac_ext
   16184 fi
   16185 
   16186 
   16187 		CFLAGS="$xorg_testset_save_CFLAGS"
   16188 
   16189 		eval supported=\$$cacheid
   16190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16191 $as_echo "$supported" >&6; }
   16192 		if test "$supported" = "yes" ; then
   16193 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16194 			found="yes"
   16195 		fi
   16196 	fi
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 xorg_testset_save_CFLAGS="$CFLAGS"
   16213 
   16214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16217 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16218 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16219   $as_echo_n "(cached) " >&6
   16220 else
   16221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16222 /* end confdefs.h.  */
   16223 int i;
   16224 _ACEOF
   16225 if ac_fn_c_try_compile "$LINENO"; then :
   16226   xorg_cv_cc_flag_unknown_warning_option=yes
   16227 else
   16228   xorg_cv_cc_flag_unknown_warning_option=no
   16229 fi
   16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16231 fi
   16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16233 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16235 	CFLAGS="$xorg_testset_save_CFLAGS"
   16236 fi
   16237 
   16238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16241 	fi
   16242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16244 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16245 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16246   $as_echo_n "(cached) " >&6
   16247 else
   16248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16249 /* end confdefs.h.  */
   16250 int i;
   16251 _ACEOF
   16252 if ac_fn_c_try_compile "$LINENO"; then :
   16253   xorg_cv_cc_flag_unused_command_line_argument=yes
   16254 else
   16255   xorg_cv_cc_flag_unused_command_line_argument=no
   16256 fi
   16257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16258 fi
   16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16260 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16261 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16262 	CFLAGS="$xorg_testset_save_CFLAGS"
   16263 fi
   16264 
   16265 found="no"
   16266 
   16267 	if test $found = "no" ; then
   16268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16270 		fi
   16271 
   16272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16274 		fi
   16275 
   16276 		CFLAGS="$CFLAGS -Wsequence-point"
   16277 
   16278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16279 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16280 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16281 		if eval \${$cacheid+:} false; then :
   16282   $as_echo_n "(cached) " >&6
   16283 else
   16284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16285 /* end confdefs.h.  */
   16286 int i;
   16287 int
   16288 main ()
   16289 {
   16290 
   16291   ;
   16292   return 0;
   16293 }
   16294 _ACEOF
   16295 if ac_fn_c_try_link "$LINENO"; then :
   16296   eval $cacheid=yes
   16297 else
   16298   eval $cacheid=no
   16299 fi
   16300 rm -f core conftest.err conftest.$ac_objext \
   16301     conftest$ac_exeext conftest.$ac_ext
   16302 fi
   16303 
   16304 
   16305 		CFLAGS="$xorg_testset_save_CFLAGS"
   16306 
   16307 		eval supported=\$$cacheid
   16308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16309 $as_echo "$supported" >&6; }
   16310 		if test "$supported" = "yes" ; then
   16311 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16312 			found="yes"
   16313 		fi
   16314 	fi
   16315 
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 xorg_testset_save_CFLAGS="$CFLAGS"
   16331 
   16332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16335 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16336 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16337   $as_echo_n "(cached) " >&6
   16338 else
   16339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16340 /* end confdefs.h.  */
   16341 int i;
   16342 _ACEOF
   16343 if ac_fn_c_try_compile "$LINENO"; then :
   16344   xorg_cv_cc_flag_unknown_warning_option=yes
   16345 else
   16346   xorg_cv_cc_flag_unknown_warning_option=no
   16347 fi
   16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16349 fi
   16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16351 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16353 	CFLAGS="$xorg_testset_save_CFLAGS"
   16354 fi
   16355 
   16356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16359 	fi
   16360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16362 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16363 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16364   $as_echo_n "(cached) " >&6
   16365 else
   16366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16367 /* end confdefs.h.  */
   16368 int i;
   16369 _ACEOF
   16370 if ac_fn_c_try_compile "$LINENO"; then :
   16371   xorg_cv_cc_flag_unused_command_line_argument=yes
   16372 else
   16373   xorg_cv_cc_flag_unused_command_line_argument=no
   16374 fi
   16375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16376 fi
   16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16378 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16380 	CFLAGS="$xorg_testset_save_CFLAGS"
   16381 fi
   16382 
   16383 found="no"
   16384 
   16385 	if test $found = "no" ; then
   16386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16388 		fi
   16389 
   16390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16392 		fi
   16393 
   16394 		CFLAGS="$CFLAGS -Wreturn-type"
   16395 
   16396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16397 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16398 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16399 		if eval \${$cacheid+:} false; then :
   16400   $as_echo_n "(cached) " >&6
   16401 else
   16402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16403 /* end confdefs.h.  */
   16404 int i;
   16405 int
   16406 main ()
   16407 {
   16408 
   16409   ;
   16410   return 0;
   16411 }
   16412 _ACEOF
   16413 if ac_fn_c_try_link "$LINENO"; then :
   16414   eval $cacheid=yes
   16415 else
   16416   eval $cacheid=no
   16417 fi
   16418 rm -f core conftest.err conftest.$ac_objext \
   16419     conftest$ac_exeext conftest.$ac_ext
   16420 fi
   16421 
   16422 
   16423 		CFLAGS="$xorg_testset_save_CFLAGS"
   16424 
   16425 		eval supported=\$$cacheid
   16426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16427 $as_echo "$supported" >&6; }
   16428 		if test "$supported" = "yes" ; then
   16429 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16430 			found="yes"
   16431 		fi
   16432 	fi
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 xorg_testset_save_CFLAGS="$CFLAGS"
   16449 
   16450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16453 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16454 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16455   $as_echo_n "(cached) " >&6
   16456 else
   16457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16458 /* end confdefs.h.  */
   16459 int i;
   16460 _ACEOF
   16461 if ac_fn_c_try_compile "$LINENO"; then :
   16462   xorg_cv_cc_flag_unknown_warning_option=yes
   16463 else
   16464   xorg_cv_cc_flag_unknown_warning_option=no
   16465 fi
   16466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16467 fi
   16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16469 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16471 	CFLAGS="$xorg_testset_save_CFLAGS"
   16472 fi
   16473 
   16474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16477 	fi
   16478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16480 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16481 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16482   $as_echo_n "(cached) " >&6
   16483 else
   16484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16485 /* end confdefs.h.  */
   16486 int i;
   16487 _ACEOF
   16488 if ac_fn_c_try_compile "$LINENO"; then :
   16489   xorg_cv_cc_flag_unused_command_line_argument=yes
   16490 else
   16491   xorg_cv_cc_flag_unused_command_line_argument=no
   16492 fi
   16493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16494 fi
   16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16496 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16498 	CFLAGS="$xorg_testset_save_CFLAGS"
   16499 fi
   16500 
   16501 found="no"
   16502 
   16503 	if test $found = "no" ; then
   16504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16506 		fi
   16507 
   16508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16510 		fi
   16511 
   16512 		CFLAGS="$CFLAGS -Wtrigraphs"
   16513 
   16514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16515 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16516 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16517 		if eval \${$cacheid+:} false; then :
   16518   $as_echo_n "(cached) " >&6
   16519 else
   16520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16521 /* end confdefs.h.  */
   16522 int i;
   16523 int
   16524 main ()
   16525 {
   16526 
   16527   ;
   16528   return 0;
   16529 }
   16530 _ACEOF
   16531 if ac_fn_c_try_link "$LINENO"; then :
   16532   eval $cacheid=yes
   16533 else
   16534   eval $cacheid=no
   16535 fi
   16536 rm -f core conftest.err conftest.$ac_objext \
   16537     conftest$ac_exeext conftest.$ac_ext
   16538 fi
   16539 
   16540 
   16541 		CFLAGS="$xorg_testset_save_CFLAGS"
   16542 
   16543 		eval supported=\$$cacheid
   16544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16545 $as_echo "$supported" >&6; }
   16546 		if test "$supported" = "yes" ; then
   16547 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16548 			found="yes"
   16549 		fi
   16550 	fi
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 xorg_testset_save_CFLAGS="$CFLAGS"
   16567 
   16568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16571 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16572 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16573   $as_echo_n "(cached) " >&6
   16574 else
   16575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16576 /* end confdefs.h.  */
   16577 int i;
   16578 _ACEOF
   16579 if ac_fn_c_try_compile "$LINENO"; then :
   16580   xorg_cv_cc_flag_unknown_warning_option=yes
   16581 else
   16582   xorg_cv_cc_flag_unknown_warning_option=no
   16583 fi
   16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16585 fi
   16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16587 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16589 	CFLAGS="$xorg_testset_save_CFLAGS"
   16590 fi
   16591 
   16592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16595 	fi
   16596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16598 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16599 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16600   $as_echo_n "(cached) " >&6
   16601 else
   16602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16603 /* end confdefs.h.  */
   16604 int i;
   16605 _ACEOF
   16606 if ac_fn_c_try_compile "$LINENO"; then :
   16607   xorg_cv_cc_flag_unused_command_line_argument=yes
   16608 else
   16609   xorg_cv_cc_flag_unused_command_line_argument=no
   16610 fi
   16611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16612 fi
   16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16614 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16616 	CFLAGS="$xorg_testset_save_CFLAGS"
   16617 fi
   16618 
   16619 found="no"
   16620 
   16621 	if test $found = "no" ; then
   16622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16624 		fi
   16625 
   16626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16628 		fi
   16629 
   16630 		CFLAGS="$CFLAGS -Warray-bounds"
   16631 
   16632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16633 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16634 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16635 		if eval \${$cacheid+:} false; then :
   16636   $as_echo_n "(cached) " >&6
   16637 else
   16638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16639 /* end confdefs.h.  */
   16640 int i;
   16641 int
   16642 main ()
   16643 {
   16644 
   16645   ;
   16646   return 0;
   16647 }
   16648 _ACEOF
   16649 if ac_fn_c_try_link "$LINENO"; then :
   16650   eval $cacheid=yes
   16651 else
   16652   eval $cacheid=no
   16653 fi
   16654 rm -f core conftest.err conftest.$ac_objext \
   16655     conftest$ac_exeext conftest.$ac_ext
   16656 fi
   16657 
   16658 
   16659 		CFLAGS="$xorg_testset_save_CFLAGS"
   16660 
   16661 		eval supported=\$$cacheid
   16662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16663 $as_echo "$supported" >&6; }
   16664 		if test "$supported" = "yes" ; then
   16665 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16666 			found="yes"
   16667 		fi
   16668 	fi
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 xorg_testset_save_CFLAGS="$CFLAGS"
   16685 
   16686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16689 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16690 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16691   $as_echo_n "(cached) " >&6
   16692 else
   16693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16694 /* end confdefs.h.  */
   16695 int i;
   16696 _ACEOF
   16697 if ac_fn_c_try_compile "$LINENO"; then :
   16698   xorg_cv_cc_flag_unknown_warning_option=yes
   16699 else
   16700   xorg_cv_cc_flag_unknown_warning_option=no
   16701 fi
   16702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16703 fi
   16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16705 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16707 	CFLAGS="$xorg_testset_save_CFLAGS"
   16708 fi
   16709 
   16710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16713 	fi
   16714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16716 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16717 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16718   $as_echo_n "(cached) " >&6
   16719 else
   16720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16721 /* end confdefs.h.  */
   16722 int i;
   16723 _ACEOF
   16724 if ac_fn_c_try_compile "$LINENO"; then :
   16725   xorg_cv_cc_flag_unused_command_line_argument=yes
   16726 else
   16727   xorg_cv_cc_flag_unused_command_line_argument=no
   16728 fi
   16729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16730 fi
   16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16732 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16734 	CFLAGS="$xorg_testset_save_CFLAGS"
   16735 fi
   16736 
   16737 found="no"
   16738 
   16739 	if test $found = "no" ; then
   16740 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16742 		fi
   16743 
   16744 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16746 		fi
   16747 
   16748 		CFLAGS="$CFLAGS -Wwrite-strings"
   16749 
   16750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16751 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16752 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16753 		if eval \${$cacheid+:} false; then :
   16754   $as_echo_n "(cached) " >&6
   16755 else
   16756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16757 /* end confdefs.h.  */
   16758 int i;
   16759 int
   16760 main ()
   16761 {
   16762 
   16763   ;
   16764   return 0;
   16765 }
   16766 _ACEOF
   16767 if ac_fn_c_try_link "$LINENO"; then :
   16768   eval $cacheid=yes
   16769 else
   16770   eval $cacheid=no
   16771 fi
   16772 rm -f core conftest.err conftest.$ac_objext \
   16773     conftest$ac_exeext conftest.$ac_ext
   16774 fi
   16775 
   16776 
   16777 		CFLAGS="$xorg_testset_save_CFLAGS"
   16778 
   16779 		eval supported=\$$cacheid
   16780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16781 $as_echo "$supported" >&6; }
   16782 		if test "$supported" = "yes" ; then
   16783 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16784 			found="yes"
   16785 		fi
   16786 	fi
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 xorg_testset_save_CFLAGS="$CFLAGS"
   16803 
   16804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16809   $as_echo_n "(cached) " >&6
   16810 else
   16811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16812 /* end confdefs.h.  */
   16813 int i;
   16814 _ACEOF
   16815 if ac_fn_c_try_compile "$LINENO"; then :
   16816   xorg_cv_cc_flag_unknown_warning_option=yes
   16817 else
   16818   xorg_cv_cc_flag_unknown_warning_option=no
   16819 fi
   16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16821 fi
   16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16825 	CFLAGS="$xorg_testset_save_CFLAGS"
   16826 fi
   16827 
   16828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16831 	fi
   16832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16836   $as_echo_n "(cached) " >&6
   16837 else
   16838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16839 /* end confdefs.h.  */
   16840 int i;
   16841 _ACEOF
   16842 if ac_fn_c_try_compile "$LINENO"; then :
   16843   xorg_cv_cc_flag_unused_command_line_argument=yes
   16844 else
   16845   xorg_cv_cc_flag_unused_command_line_argument=no
   16846 fi
   16847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16848 fi
   16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16852 	CFLAGS="$xorg_testset_save_CFLAGS"
   16853 fi
   16854 
   16855 found="no"
   16856 
   16857 	if test $found = "no" ; then
   16858 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16860 		fi
   16861 
   16862 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16864 		fi
   16865 
   16866 		CFLAGS="$CFLAGS -Waddress"
   16867 
   16868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16869 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16870 		cacheid=xorg_cv_cc_flag__Waddress
   16871 		if eval \${$cacheid+:} false; then :
   16872   $as_echo_n "(cached) " >&6
   16873 else
   16874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16875 /* end confdefs.h.  */
   16876 int i;
   16877 int
   16878 main ()
   16879 {
   16880 
   16881   ;
   16882   return 0;
   16883 }
   16884 _ACEOF
   16885 if ac_fn_c_try_link "$LINENO"; then :
   16886   eval $cacheid=yes
   16887 else
   16888   eval $cacheid=no
   16889 fi
   16890 rm -f core conftest.err conftest.$ac_objext \
   16891     conftest$ac_exeext conftest.$ac_ext
   16892 fi
   16893 
   16894 
   16895 		CFLAGS="$xorg_testset_save_CFLAGS"
   16896 
   16897 		eval supported=\$$cacheid
   16898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16899 $as_echo "$supported" >&6; }
   16900 		if test "$supported" = "yes" ; then
   16901 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16902 			found="yes"
   16903 		fi
   16904 	fi
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 
   16914 
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 xorg_testset_save_CFLAGS="$CFLAGS"
   16921 
   16922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16927   $as_echo_n "(cached) " >&6
   16928 else
   16929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16930 /* end confdefs.h.  */
   16931 int i;
   16932 _ACEOF
   16933 if ac_fn_c_try_compile "$LINENO"; then :
   16934   xorg_cv_cc_flag_unknown_warning_option=yes
   16935 else
   16936   xorg_cv_cc_flag_unknown_warning_option=no
   16937 fi
   16938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16939 fi
   16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16943 	CFLAGS="$xorg_testset_save_CFLAGS"
   16944 fi
   16945 
   16946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16949 	fi
   16950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16954   $as_echo_n "(cached) " >&6
   16955 else
   16956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16957 /* end confdefs.h.  */
   16958 int i;
   16959 _ACEOF
   16960 if ac_fn_c_try_compile "$LINENO"; then :
   16961   xorg_cv_cc_flag_unused_command_line_argument=yes
   16962 else
   16963   xorg_cv_cc_flag_unused_command_line_argument=no
   16964 fi
   16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16966 fi
   16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16970 	CFLAGS="$xorg_testset_save_CFLAGS"
   16971 fi
   16972 
   16973 found="no"
   16974 
   16975 	if test $found = "no" ; then
   16976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16978 		fi
   16979 
   16980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16982 		fi
   16983 
   16984 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16985 
   16986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16987 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16988 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16989 		if eval \${$cacheid+:} false; then :
   16990   $as_echo_n "(cached) " >&6
   16991 else
   16992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16993 /* end confdefs.h.  */
   16994 int i;
   16995 int
   16996 main ()
   16997 {
   16998 
   16999   ;
   17000   return 0;
   17001 }
   17002 _ACEOF
   17003 if ac_fn_c_try_link "$LINENO"; then :
   17004   eval $cacheid=yes
   17005 else
   17006   eval $cacheid=no
   17007 fi
   17008 rm -f core conftest.err conftest.$ac_objext \
   17009     conftest$ac_exeext conftest.$ac_ext
   17010 fi
   17011 
   17012 
   17013 		CFLAGS="$xorg_testset_save_CFLAGS"
   17014 
   17015 		eval supported=\$$cacheid
   17016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17017 $as_echo "$supported" >&6; }
   17018 		if test "$supported" = "yes" ; then
   17019 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17020 			found="yes"
   17021 		fi
   17022 	fi
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 xorg_testset_save_CFLAGS="$CFLAGS"
   17039 
   17040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17045   $as_echo_n "(cached) " >&6
   17046 else
   17047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17048 /* end confdefs.h.  */
   17049 int i;
   17050 _ACEOF
   17051 if ac_fn_c_try_compile "$LINENO"; then :
   17052   xorg_cv_cc_flag_unknown_warning_option=yes
   17053 else
   17054   xorg_cv_cc_flag_unknown_warning_option=no
   17055 fi
   17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17057 fi
   17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17061 	CFLAGS="$xorg_testset_save_CFLAGS"
   17062 fi
   17063 
   17064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17067 	fi
   17068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17072   $as_echo_n "(cached) " >&6
   17073 else
   17074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17075 /* end confdefs.h.  */
   17076 int i;
   17077 _ACEOF
   17078 if ac_fn_c_try_compile "$LINENO"; then :
   17079   xorg_cv_cc_flag_unused_command_line_argument=yes
   17080 else
   17081   xorg_cv_cc_flag_unused_command_line_argument=no
   17082 fi
   17083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17084 fi
   17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17088 	CFLAGS="$xorg_testset_save_CFLAGS"
   17089 fi
   17090 
   17091 found="no"
   17092 
   17093 	if test $found = "no" ; then
   17094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17096 		fi
   17097 
   17098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17100 		fi
   17101 
   17102 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17103 
   17104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17105 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17106 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17107 		if eval \${$cacheid+:} false; then :
   17108   $as_echo_n "(cached) " >&6
   17109 else
   17110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17111 /* end confdefs.h.  */
   17112 int i;
   17113 int
   17114 main ()
   17115 {
   17116 
   17117   ;
   17118   return 0;
   17119 }
   17120 _ACEOF
   17121 if ac_fn_c_try_link "$LINENO"; then :
   17122   eval $cacheid=yes
   17123 else
   17124   eval $cacheid=no
   17125 fi
   17126 rm -f core conftest.err conftest.$ac_objext \
   17127     conftest$ac_exeext conftest.$ac_ext
   17128 fi
   17129 
   17130 
   17131 		CFLAGS="$xorg_testset_save_CFLAGS"
   17132 
   17133 		eval supported=\$$cacheid
   17134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17135 $as_echo "$supported" >&6; }
   17136 		if test "$supported" = "yes" ; then
   17137 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17138 			found="yes"
   17139 		fi
   17140 	fi
   17141 
   17142 
   17143 fi
   17144 
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 		CWARNFLAGS="$BASE_CFLAGS"
   17152 		if  test "x$GCC" = xyes ; then
   17153 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17154 		fi
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 # Check whether --enable-strict-compilation was given.
   17164 if test "${enable_strict_compilation+set}" = set; then :
   17165   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17166 else
   17167   STRICT_COMPILE=no
   17168 fi
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 STRICT_CFLAGS=""
   17176 
   17177 
   17178 
   17179 
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 xorg_testset_save_CFLAGS="$CFLAGS"
   17190 
   17191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17195 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   17202 if ac_fn_c_try_compile "$LINENO"; then :
   17203   xorg_cv_cc_flag_unknown_warning_option=yes
   17204 else
   17205   xorg_cv_cc_flag_unknown_warning_option=no
   17206 fi
   17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17208 fi
   17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17212 	CFLAGS="$xorg_testset_save_CFLAGS"
   17213 fi
   17214 
   17215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17218 	fi
   17219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17223   $as_echo_n "(cached) " >&6
   17224 else
   17225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17226 /* end confdefs.h.  */
   17227 int i;
   17228 _ACEOF
   17229 if ac_fn_c_try_compile "$LINENO"; then :
   17230   xorg_cv_cc_flag_unused_command_line_argument=yes
   17231 else
   17232   xorg_cv_cc_flag_unused_command_line_argument=no
   17233 fi
   17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17235 fi
   17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17239 	CFLAGS="$xorg_testset_save_CFLAGS"
   17240 fi
   17241 
   17242 found="no"
   17243 
   17244 	if test $found = "no" ; then
   17245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17247 		fi
   17248 
   17249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17251 		fi
   17252 
   17253 		CFLAGS="$CFLAGS -pedantic"
   17254 
   17255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17256 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17257 		cacheid=xorg_cv_cc_flag__pedantic
   17258 		if eval \${$cacheid+:} false; then :
   17259   $as_echo_n "(cached) " >&6
   17260 else
   17261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17262 /* end confdefs.h.  */
   17263 int i;
   17264 int
   17265 main ()
   17266 {
   17267 
   17268   ;
   17269   return 0;
   17270 }
   17271 _ACEOF
   17272 if ac_fn_c_try_link "$LINENO"; then :
   17273   eval $cacheid=yes
   17274 else
   17275   eval $cacheid=no
   17276 fi
   17277 rm -f core conftest.err conftest.$ac_objext \
   17278     conftest$ac_exeext conftest.$ac_ext
   17279 fi
   17280 
   17281 
   17282 		CFLAGS="$xorg_testset_save_CFLAGS"
   17283 
   17284 		eval supported=\$$cacheid
   17285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17286 $as_echo "$supported" >&6; }
   17287 		if test "$supported" = "yes" ; then
   17288 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17289 			found="yes"
   17290 		fi
   17291 	fi
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 xorg_testset_save_CFLAGS="$CFLAGS"
   17308 
   17309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17314   $as_echo_n "(cached) " >&6
   17315 else
   17316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17317 /* end confdefs.h.  */
   17318 int i;
   17319 _ACEOF
   17320 if ac_fn_c_try_compile "$LINENO"; then :
   17321   xorg_cv_cc_flag_unknown_warning_option=yes
   17322 else
   17323   xorg_cv_cc_flag_unknown_warning_option=no
   17324 fi
   17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17326 fi
   17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17330 	CFLAGS="$xorg_testset_save_CFLAGS"
   17331 fi
   17332 
   17333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17336 	fi
   17337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17341   $as_echo_n "(cached) " >&6
   17342 else
   17343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17344 /* end confdefs.h.  */
   17345 int i;
   17346 _ACEOF
   17347 if ac_fn_c_try_compile "$LINENO"; then :
   17348   xorg_cv_cc_flag_unused_command_line_argument=yes
   17349 else
   17350   xorg_cv_cc_flag_unused_command_line_argument=no
   17351 fi
   17352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17353 fi
   17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17357 	CFLAGS="$xorg_testset_save_CFLAGS"
   17358 fi
   17359 
   17360 found="no"
   17361 
   17362 	if test $found = "no" ; then
   17363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17365 		fi
   17366 
   17367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17369 		fi
   17370 
   17371 		CFLAGS="$CFLAGS -Werror"
   17372 
   17373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17374 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17375 		cacheid=xorg_cv_cc_flag__Werror
   17376 		if eval \${$cacheid+:} false; then :
   17377   $as_echo_n "(cached) " >&6
   17378 else
   17379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17380 /* end confdefs.h.  */
   17381 int i;
   17382 int
   17383 main ()
   17384 {
   17385 
   17386   ;
   17387   return 0;
   17388 }
   17389 _ACEOF
   17390 if ac_fn_c_try_link "$LINENO"; then :
   17391   eval $cacheid=yes
   17392 else
   17393   eval $cacheid=no
   17394 fi
   17395 rm -f core conftest.err conftest.$ac_objext \
   17396     conftest$ac_exeext conftest.$ac_ext
   17397 fi
   17398 
   17399 
   17400 		CFLAGS="$xorg_testset_save_CFLAGS"
   17401 
   17402 		eval supported=\$$cacheid
   17403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17404 $as_echo "$supported" >&6; }
   17405 		if test "$supported" = "yes" ; then
   17406 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17407 			found="yes"
   17408 		fi
   17409 	fi
   17410 
   17411 	if test $found = "no" ; then
   17412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17414 		fi
   17415 
   17416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17418 		fi
   17419 
   17420 		CFLAGS="$CFLAGS -errwarn"
   17421 
   17422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17423 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17424 		cacheid=xorg_cv_cc_flag__errwarn
   17425 		if eval \${$cacheid+:} false; then :
   17426   $as_echo_n "(cached) " >&6
   17427 else
   17428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17429 /* end confdefs.h.  */
   17430 int i;
   17431 int
   17432 main ()
   17433 {
   17434 
   17435   ;
   17436   return 0;
   17437 }
   17438 _ACEOF
   17439 if ac_fn_c_try_link "$LINENO"; then :
   17440   eval $cacheid=yes
   17441 else
   17442   eval $cacheid=no
   17443 fi
   17444 rm -f core conftest.err conftest.$ac_objext \
   17445     conftest$ac_exeext conftest.$ac_ext
   17446 fi
   17447 
   17448 
   17449 		CFLAGS="$xorg_testset_save_CFLAGS"
   17450 
   17451 		eval supported=\$$cacheid
   17452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17453 $as_echo "$supported" >&6; }
   17454 		if test "$supported" = "yes" ; then
   17455 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17456 			found="yes"
   17457 		fi
   17458 	fi
   17459 
   17460 
   17461 
   17462 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17463 # activate it with -Werror, so we add it here explicitly.
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 
   17471 
   17472 
   17473 
   17474 
   17475 
   17476 
   17477 xorg_testset_save_CFLAGS="$CFLAGS"
   17478 
   17479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17482 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17483 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17484   $as_echo_n "(cached) " >&6
   17485 else
   17486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17487 /* end confdefs.h.  */
   17488 int i;
   17489 _ACEOF
   17490 if ac_fn_c_try_compile "$LINENO"; then :
   17491   xorg_cv_cc_flag_unknown_warning_option=yes
   17492 else
   17493   xorg_cv_cc_flag_unknown_warning_option=no
   17494 fi
   17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17496 fi
   17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17498 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17500 	CFLAGS="$xorg_testset_save_CFLAGS"
   17501 fi
   17502 
   17503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17506 	fi
   17507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17509 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17510 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17511   $as_echo_n "(cached) " >&6
   17512 else
   17513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17514 /* end confdefs.h.  */
   17515 int i;
   17516 _ACEOF
   17517 if ac_fn_c_try_compile "$LINENO"; then :
   17518   xorg_cv_cc_flag_unused_command_line_argument=yes
   17519 else
   17520   xorg_cv_cc_flag_unused_command_line_argument=no
   17521 fi
   17522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17523 fi
   17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17525 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17527 	CFLAGS="$xorg_testset_save_CFLAGS"
   17528 fi
   17529 
   17530 found="no"
   17531 
   17532 	if test $found = "no" ; then
   17533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17535 		fi
   17536 
   17537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17539 		fi
   17540 
   17541 		CFLAGS="$CFLAGS -Werror=attributes"
   17542 
   17543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17544 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17545 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17546 		if eval \${$cacheid+:} false; then :
   17547   $as_echo_n "(cached) " >&6
   17548 else
   17549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17550 /* end confdefs.h.  */
   17551 int i;
   17552 int
   17553 main ()
   17554 {
   17555 
   17556   ;
   17557   return 0;
   17558 }
   17559 _ACEOF
   17560 if ac_fn_c_try_link "$LINENO"; then :
   17561   eval $cacheid=yes
   17562 else
   17563   eval $cacheid=no
   17564 fi
   17565 rm -f core conftest.err conftest.$ac_objext \
   17566     conftest$ac_exeext conftest.$ac_ext
   17567 fi
   17568 
   17569 
   17570 		CFLAGS="$xorg_testset_save_CFLAGS"
   17571 
   17572 		eval supported=\$$cacheid
   17573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17574 $as_echo "$supported" >&6; }
   17575 		if test "$supported" = "yes" ; then
   17576 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17577 			found="yes"
   17578 		fi
   17579 	fi
   17580 
   17581 
   17582 
   17583 if test "x$STRICT_COMPILE" = "xyes"; then
   17584     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17585     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17586 fi
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 cat >>confdefs.h <<_ACEOF
   17594 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17595 _ACEOF
   17596 
   17597 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17598 	if test "x$PVM" = "x"; then
   17599 		PVM="0"
   17600 	fi
   17601 
   17602 cat >>confdefs.h <<_ACEOF
   17603 #define PACKAGE_VERSION_MINOR $PVM
   17604 _ACEOF
   17605 
   17606 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17607 	if test "x$PVP" = "x"; then
   17608 		PVP="0"
   17609 	fi
   17610 
   17611 cat >>confdefs.h <<_ACEOF
   17612 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17613 _ACEOF
   17614 
   17615 
   17616 
   17617 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17618 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17619 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17620 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17621 
   17622 
   17623 
   17624 
   17625 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17626 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17627 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17628 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17629 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 if test x$APP_MAN_SUFFIX = x    ; then
   17637     APP_MAN_SUFFIX=1
   17638 fi
   17639 if test x$APP_MAN_DIR = x    ; then
   17640     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17641 fi
   17642 
   17643 if test x$LIB_MAN_SUFFIX = x    ; then
   17644     LIB_MAN_SUFFIX=3
   17645 fi
   17646 if test x$LIB_MAN_DIR = x    ; then
   17647     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17648 fi
   17649 
   17650 if test x$FILE_MAN_SUFFIX = x    ; then
   17651     case $host_os in
   17652 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17653 	*)		FILE_MAN_SUFFIX=5  ;;
   17654     esac
   17655 fi
   17656 if test x$FILE_MAN_DIR = x    ; then
   17657     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17658 fi
   17659 
   17660 if test x$MISC_MAN_SUFFIX = x    ; then
   17661     case $host_os in
   17662 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17663 	*)		MISC_MAN_SUFFIX=7  ;;
   17664     esac
   17665 fi
   17666 if test x$MISC_MAN_DIR = x    ; then
   17667     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17668 fi
   17669 
   17670 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17671     case $host_os in
   17672 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17673 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17674     esac
   17675 fi
   17676 if test x$DRIVER_MAN_DIR = x    ; then
   17677     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17678 fi
   17679 
   17680 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17681     case $host_os in
   17682 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17683 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17684     esac
   17685 fi
   17686 if test x$ADMIN_MAN_DIR = x    ; then
   17687     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17688 fi
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 XORG_MAN_PAGE="X Version 11"
   17705 
   17706 MAN_SUBSTS="\
   17707 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17708 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17709 	-e 's|__xservername__|Xorg|g' \
   17710 	-e 's|__xconfigfile__|xorg.conf|g' \
   17711 	-e 's|__projectroot__|\$(prefix)|g' \
   17712 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17713 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17714 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17715 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17716 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17717 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17718 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17719 
   17720 
   17721 
   17722 # Check whether --enable-silent-rules was given.
   17723 if test "${enable_silent_rules+set}" = set; then :
   17724   enableval=$enable_silent_rules;
   17725 fi
   17726 
   17727 case $enable_silent_rules in # (((
   17728   yes) AM_DEFAULT_VERBOSITY=0;;
   17729    no) AM_DEFAULT_VERBOSITY=1;;
   17730     *) AM_DEFAULT_VERBOSITY=0;;
   17731 esac
   17732 am_make=${MAKE-make}
   17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17734 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17735 if ${am_cv_make_support_nested_variables+:} false; then :
   17736   $as_echo_n "(cached) " >&6
   17737 else
   17738   if $as_echo 'TRUE=$(BAR$(V))
   17739 BAR0=false
   17740 BAR1=true
   17741 V=1
   17742 am__doit:
   17743 	@$(TRUE)
   17744 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17745   am_cv_make_support_nested_variables=yes
   17746 else
   17747   am_cv_make_support_nested_variables=no
   17748 fi
   17749 fi
   17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17751 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17752 if test $am_cv_make_support_nested_variables = yes; then
   17753     AM_V='$(V)'
   17754   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17755 else
   17756   AM_V=$AM_DEFAULT_VERBOSITY
   17757   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17758 fi
   17759 AM_BACKSLASH='\'
   17760 
   17761 
   17762 
   17763 # Check whether --enable-malloc0returnsnull was given.
   17764 if test "${enable_malloc0returnsnull+set}" = set; then :
   17765   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17766 else
   17767   MALLOC_ZERO_RETURNS_NULL=auto
   17768 fi
   17769 
   17770 
   17771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17772 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17773 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17774 if ${xorg_cv_malloc0_returns_null+:} false; then :
   17775   $as_echo_n "(cached) " >&6
   17776 else
   17777   if test "$cross_compiling" = yes; then :
   17778   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17780 as_fn_error $? "cannot run test program while cross compiling
   17781 See \`config.log' for more details" "$LINENO" 5; }
   17782 else
   17783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17784 /* end confdefs.h.  */
   17785 
   17786 #include <stdlib.h>
   17787 
   17788 int
   17789 main ()
   17790 {
   17791 
   17792     char *m0, *r0, *c0, *p;
   17793     m0 = malloc(0);
   17794     p = malloc(10);
   17795     r0 = realloc(p,0);
   17796     c0 = calloc(0,10);
   17797     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17798 
   17799   ;
   17800   return 0;
   17801 }
   17802 _ACEOF
   17803 if ac_fn_c_try_run "$LINENO"; then :
   17804   xorg_cv_malloc0_returns_null=yes
   17805 else
   17806   xorg_cv_malloc0_returns_null=no
   17807 fi
   17808 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17809   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17810 fi
   17811 
   17812 fi
   17813 
   17814 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   17815 fi
   17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17817 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17818 
   17819 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17820 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17821 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17822 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17823 else
   17824 	MALLOC_ZERO_CFLAGS=""
   17825 	XMALLOC_ZERO_CFLAGS=""
   17826 	XTMALLOC_ZERO_CFLAGS=""
   17827 fi
   17828 
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 # Obtain compiler/linker options for depedencies
   17835 
   17836 pkg_failed=no
   17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XVMC" >&5
   17838 $as_echo_n "checking for XVMC... " >&6; }
   17839 
   17840 if test -n "$XVMC_CFLAGS"; then
   17841     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   17842  elif test -n "$PKG_CONFIG"; then
   17843     if test -n "$PKG_CONFIG" && \
   17844     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5
   17845   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xv xextproto videoproto") 2>&5
   17846   ac_status=$?
   17847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17848   test $ac_status = 0; }; then
   17849   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext xv xextproto videoproto" 2>/dev/null`
   17850 else
   17851   pkg_failed=yes
   17852 fi
   17853  else
   17854     pkg_failed=untried
   17855 fi
   17856 if test -n "$XVMC_LIBS"; then
   17857     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   17858  elif test -n "$PKG_CONFIG"; then
   17859     if test -n "$PKG_CONFIG" && \
   17860     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5
   17861   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xv xextproto videoproto") 2>&5
   17862   ac_status=$?
   17863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17864   test $ac_status = 0; }; then
   17865   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext xv xextproto videoproto" 2>/dev/null`
   17866 else
   17867   pkg_failed=yes
   17868 fi
   17869  else
   17870     pkg_failed=untried
   17871 fi
   17872 
   17873 
   17874 
   17875 if test $pkg_failed = yes; then
   17876 
   17877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17878         _pkg_short_errors_supported=yes
   17879 else
   17880         _pkg_short_errors_supported=no
   17881 fi
   17882         if test $_pkg_short_errors_supported = yes; then
   17883 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 >= 1.6 xext xv xextproto videoproto" 2>&1`
   17884         else
   17885 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 >= 1.6 xext xv xextproto videoproto" 2>&1`
   17886         fi
   17887 	# Put the nasty error message in config.log where it belongs
   17888 	echo "$XVMC_PKG_ERRORS" >&5
   17889 
   17890 	as_fn_error $? "Package requirements (x11 >= 1.6 xext xv xextproto videoproto) were not met:
   17891 
   17892 $XVMC_PKG_ERRORS
   17893 
   17894 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17895 installed software in a non-standard prefix.
   17896 
   17897 Alternatively, you may set the environment variables XVMC_CFLAGS
   17898 and XVMC_LIBS to avoid the need to call pkg-config.
   17899 See the pkg-config man page for more details.
   17900 " "$LINENO" 5
   17901 elif test $pkg_failed = untried; then
   17902 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17904 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17905 is in your PATH or set the PKG_CONFIG environment variable to the full
   17906 path to pkg-config.
   17907 
   17908 Alternatively, you may set the environment variables XVMC_CFLAGS
   17909 and XVMC_LIBS to avoid the need to call pkg-config.
   17910 See the pkg-config man page for more details.
   17911 
   17912 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17913 See \`config.log' for more details" "$LINENO" 5; }
   17914 else
   17915 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   17916 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   17917         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17918 $as_echo "yes" >&6; }
   17919 	:
   17920 fi
   17921 
   17922 # Checks for library functions.
   17923 for ac_func in shmat
   17924 do :
   17925   ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   17926 if test "x$ac_cv_func_shmat" = xyes; then :
   17927   cat >>confdefs.h <<_ACEOF
   17928 #define HAVE_SHMAT 1
   17929 _ACEOF
   17930 
   17931 fi
   17932 done
   17933 
   17934 
   17935 # Check to see if dlopen is in default libraries (like Solaris, which
   17936 # has it in libc), or if libdl is needed to get it.
   17937 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17938 if test "x$ac_cv_func_dlopen" = xyes; then :
   17939 
   17940 else
   17941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17942 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17943 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17944   $as_echo_n "(cached) " >&6
   17945 else
   17946   ac_check_lib_save_LIBS=$LIBS
   17947 LIBS="-ldl  $LIBS"
   17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17949 /* end confdefs.h.  */
   17950 
   17951 /* Override any GCC internal prototype to avoid an error.
   17952    Use char because int might match the return type of a GCC
   17953    builtin and then its argument prototype would still apply.  */
   17954 #ifdef __cplusplus
   17955 extern "C"
   17956 #endif
   17957 char dlopen ();
   17958 int
   17959 main ()
   17960 {
   17961 return dlopen ();
   17962   ;
   17963   return 0;
   17964 }
   17965 _ACEOF
   17966 if ac_fn_c_try_link "$LINENO"; then :
   17967   ac_cv_lib_dl_dlopen=yes
   17968 else
   17969   ac_cv_lib_dl_dlopen=no
   17970 fi
   17971 rm -f core conftest.err conftest.$ac_objext \
   17972     conftest$ac_exeext conftest.$ac_ext
   17973 LIBS=$ac_check_lib_save_LIBS
   17974 fi
   17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17976 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17977 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17978   DLOPEN_LIBS="-ldl"
   17979 fi
   17980 
   17981 fi
   17982 
   17983 
   17984 
   17985 # Allow checking code with lint, sparse, etc.
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 # Check whether --with-lint was given.
   17992 if test "${with_lint+set}" = set; then :
   17993   withval=$with_lint; use_lint=$withval
   17994 else
   17995   use_lint=no
   17996 fi
   17997 
   17998 
   17999 # Obtain platform specific info like program name and options
   18000 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18001 case $host_os in
   18002   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18003 	lint_name=splint
   18004 	lint_options="-badflag"
   18005 	;;
   18006   *freebsd* | *netbsd*)
   18007 	lint_name=lint
   18008 	lint_options="-u -b"
   18009 	;;
   18010   *solaris*)
   18011 	lint_name=lint
   18012 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18013 	;;
   18014 esac
   18015 
   18016 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18017 if test "x$use_lint" = x"yes" ; then
   18018    # Extract the first word of "$lint_name", so it can be a program name with args.
   18019 set dummy $lint_name; ac_word=$2
   18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18021 $as_echo_n "checking for $ac_word... " >&6; }
   18022 if ${ac_cv_path_LINT+:} false; then :
   18023   $as_echo_n "(cached) " >&6
   18024 else
   18025   case $LINT in
   18026   [\\/]* | ?:[\\/]*)
   18027   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18028   ;;
   18029   *)
   18030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18031 for as_dir in $PATH
   18032 do
   18033   IFS=$as_save_IFS
   18034   test -z "$as_dir" && as_dir=.
   18035     for ac_exec_ext in '' $ac_executable_extensions; do
   18036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18037     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18039     break 2
   18040   fi
   18041 done
   18042   done
   18043 IFS=$as_save_IFS
   18044 
   18045   ;;
   18046 esac
   18047 fi
   18048 LINT=$ac_cv_path_LINT
   18049 if test -n "$LINT"; then
   18050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18051 $as_echo "$LINT" >&6; }
   18052 else
   18053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18054 $as_echo "no" >&6; }
   18055 fi
   18056 
   18057 
   18058    if test "x$LINT" = "x"; then
   18059         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18060    fi
   18061 elif test "x$use_lint" = x"no" ; then
   18062    if test "x$LINT" != "x"; then
   18063       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18064 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18065    fi
   18066 else
   18067    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18068 fi
   18069 
   18070 # User supplied flags override default flags
   18071 if test "x$LINT_FLAGS" != "x"; then
   18072    lint_options=$LINT_FLAGS
   18073 fi
   18074 
   18075 LINT_FLAGS=$lint_options
   18076 
   18077  if test "x$LINT" != x; then
   18078   LINT_TRUE=
   18079   LINT_FALSE='#'
   18080 else
   18081   LINT_TRUE='#'
   18082   LINT_FALSE=
   18083 fi
   18084 
   18085 
   18086 
   18087 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
   18088 
   18089 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile wrapper/Makefile xvmc.pc"
   18090 
   18091 cat >confcache <<\_ACEOF
   18092 # This file is a shell script that caches the results of configure
   18093 # tests run on this system so they can be shared between configure
   18094 # scripts and configure runs, see configure's option --config-cache.
   18095 # It is not useful on other systems.  If it contains results you don't
   18096 # want to keep, you may remove or edit it.
   18097 #
   18098 # config.status only pays attention to the cache file if you give it
   18099 # the --recheck option to rerun configure.
   18100 #
   18101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18103 # following values.
   18104 
   18105 _ACEOF
   18106 
   18107 # The following way of writing the cache mishandles newlines in values,
   18108 # but we know of no workaround that is simple, portable, and efficient.
   18109 # So, we kill variables containing newlines.
   18110 # Ultrix sh set writes to stderr and can't be redirected directly,
   18111 # and sets the high bit in the cache file unless we assign to the vars.
   18112 (
   18113   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18114     eval ac_val=\$$ac_var
   18115     case $ac_val in #(
   18116     *${as_nl}*)
   18117       case $ac_var in #(
   18118       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18120       esac
   18121       case $ac_var in #(
   18122       _ | IFS | as_nl) ;; #(
   18123       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18124       *) { eval $ac_var=; unset $ac_var;} ;;
   18125       esac ;;
   18126     esac
   18127   done
   18128 
   18129   (set) 2>&1 |
   18130     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18131     *${as_nl}ac_space=\ *)
   18132       # `set' does not quote correctly, so add quotes: double-quote
   18133       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18134       sed -n \
   18135 	"s/'/'\\\\''/g;
   18136 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18137       ;; #(
   18138     *)
   18139       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18140       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18141       ;;
   18142     esac |
   18143     sort
   18144 ) |
   18145   sed '
   18146      /^ac_cv_env_/b end
   18147      t clear
   18148      :clear
   18149      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18150      t end
   18151      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18152      :end' >>confcache
   18153 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18154   if test -w "$cache_file"; then
   18155     if test "x$cache_file" != "x/dev/null"; then
   18156       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18157 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18158       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18159 	cat confcache >"$cache_file"
   18160       else
   18161         case $cache_file in #(
   18162         */* | ?:*)
   18163 	  mv -f confcache "$cache_file"$$ &&
   18164 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18165         *)
   18166 	  mv -f confcache "$cache_file" ;;
   18167 	esac
   18168       fi
   18169     fi
   18170   else
   18171     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18172 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18173   fi
   18174 fi
   18175 rm -f confcache
   18176 
   18177 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18178 # Let make expand exec_prefix.
   18179 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18180 
   18181 DEFS=-DHAVE_CONFIG_H
   18182 
   18183 ac_libobjs=
   18184 ac_ltlibobjs=
   18185 U=
   18186 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18187   # 1. Remove the extension, and $U if already installed.
   18188   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18189   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18190   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18191   #    will be set to the directory where LIBOBJS objects are built.
   18192   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18193   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18194 done
   18195 LIBOBJS=$ac_libobjs
   18196 
   18197 LTLIBOBJS=$ac_ltlibobjs
   18198 
   18199 
   18200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18201 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18202    if test -n "$am_sleep_pid"; then
   18203      # Hide warnings about reused PIDs.
   18204      wait $am_sleep_pid 2>/dev/null
   18205    fi
   18206    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18207 $as_echo "done" >&6; }
   18208  if test -n "$EXEEXT"; then
   18209   am__EXEEXT_TRUE=
   18210   am__EXEEXT_FALSE='#'
   18211 else
   18212   am__EXEEXT_TRUE='#'
   18213   am__EXEEXT_FALSE=
   18214 fi
   18215 
   18216 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18217   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18219 fi
   18220 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18221   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18223 fi
   18224 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18225   as_fn_error $? "conditional \"LINT\" was never defined.
   18226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18227 fi
   18228 
   18229 : "${CONFIG_STATUS=./config.status}"
   18230 ac_write_fail=0
   18231 ac_clean_files_save=$ac_clean_files
   18232 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18233 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18234 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18235 as_write_fail=0
   18236 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18237 #! $SHELL
   18238 # Generated by $as_me.
   18239 # Run this file to recreate the current configuration.
   18240 # Compiler output produced by configure, useful for debugging
   18241 # configure, is in config.log if it exists.
   18242 
   18243 debug=false
   18244 ac_cs_recheck=false
   18245 ac_cs_silent=false
   18246 
   18247 SHELL=\${CONFIG_SHELL-$SHELL}
   18248 export SHELL
   18249 _ASEOF
   18250 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18251 ## -------------------- ##
   18252 ## M4sh Initialization. ##
   18253 ## -------------------- ##
   18254 
   18255 # Be more Bourne compatible
   18256 DUALCASE=1; export DUALCASE # for MKS sh
   18257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18258   emulate sh
   18259   NULLCMD=:
   18260   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18261   # is contrary to our usage.  Disable this feature.
   18262   alias -g '${1+"$@"}'='"$@"'
   18263   setopt NO_GLOB_SUBST
   18264 else
   18265   case `(set -o) 2>/dev/null` in #(
   18266   *posix*) :
   18267     set -o posix ;; #(
   18268   *) :
   18269      ;;
   18270 esac
   18271 fi
   18272 
   18273 
   18274 as_nl='
   18275 '
   18276 export as_nl
   18277 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18278 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18279 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18280 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18281 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18282 # but without wasting forks for bash or zsh.
   18283 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18284     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18285   as_echo='print -r --'
   18286   as_echo_n='print -rn --'
   18287 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18288   as_echo='printf %s\n'
   18289   as_echo_n='printf %s'
   18290 else
   18291   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18292     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18293     as_echo_n='/usr/ucb/echo -n'
   18294   else
   18295     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18296     as_echo_n_body='eval
   18297       arg=$1;
   18298       case $arg in #(
   18299       *"$as_nl"*)
   18300 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18301 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18302       esac;
   18303       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18304     '
   18305     export as_echo_n_body
   18306     as_echo_n='sh -c $as_echo_n_body as_echo'
   18307   fi
   18308   export as_echo_body
   18309   as_echo='sh -c $as_echo_body as_echo'
   18310 fi
   18311 
   18312 # The user is always right.
   18313 if test "${PATH_SEPARATOR+set}" != set; then
   18314   PATH_SEPARATOR=:
   18315   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18316     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18317       PATH_SEPARATOR=';'
   18318   }
   18319 fi
   18320 
   18321 
   18322 # IFS
   18323 # We need space, tab and new line, in precisely that order.  Quoting is
   18324 # there to prevent editors from complaining about space-tab.
   18325 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18326 # splitting by setting IFS to empty value.)
   18327 IFS=" ""	$as_nl"
   18328 
   18329 # Find who we are.  Look in the path if we contain no directory separator.
   18330 as_myself=
   18331 case $0 in #((
   18332   *[\\/]* ) as_myself=$0 ;;
   18333   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18334 for as_dir in $PATH
   18335 do
   18336   IFS=$as_save_IFS
   18337   test -z "$as_dir" && as_dir=.
   18338     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18339   done
   18340 IFS=$as_save_IFS
   18341 
   18342      ;;
   18343 esac
   18344 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18345 # in which case we are not to be found in the path.
   18346 if test "x$as_myself" = x; then
   18347   as_myself=$0
   18348 fi
   18349 if test ! -f "$as_myself"; then
   18350   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18351   exit 1
   18352 fi
   18353 
   18354 # Unset variables that we do not need and which cause bugs (e.g. in
   18355 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18356 # suppresses any "Segmentation fault" message there.  '((' could
   18357 # trigger a bug in pdksh 5.2.14.
   18358 for as_var in BASH_ENV ENV MAIL MAILPATH
   18359 do eval test x\${$as_var+set} = xset \
   18360   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18361 done
   18362 PS1='$ '
   18363 PS2='> '
   18364 PS4='+ '
   18365 
   18366 # NLS nuisances.
   18367 LC_ALL=C
   18368 export LC_ALL
   18369 LANGUAGE=C
   18370 export LANGUAGE
   18371 
   18372 # CDPATH.
   18373 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18374 
   18375 
   18376 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18377 # ----------------------------------------
   18378 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18379 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18380 # script with STATUS, using 1 if that was 0.
   18381 as_fn_error ()
   18382 {
   18383   as_status=$1; test $as_status -eq 0 && as_status=1
   18384   if test "$4"; then
   18385     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18386     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18387   fi
   18388   $as_echo "$as_me: error: $2" >&2
   18389   as_fn_exit $as_status
   18390 } # as_fn_error
   18391 
   18392 
   18393 # as_fn_set_status STATUS
   18394 # -----------------------
   18395 # Set $? to STATUS, without forking.
   18396 as_fn_set_status ()
   18397 {
   18398   return $1
   18399 } # as_fn_set_status
   18400 
   18401 # as_fn_exit STATUS
   18402 # -----------------
   18403 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18404 as_fn_exit ()
   18405 {
   18406   set +e
   18407   as_fn_set_status $1
   18408   exit $1
   18409 } # as_fn_exit
   18410 
   18411 # as_fn_unset VAR
   18412 # ---------------
   18413 # Portably unset VAR.
   18414 as_fn_unset ()
   18415 {
   18416   { eval $1=; unset $1;}
   18417 }
   18418 as_unset=as_fn_unset
   18419 # as_fn_append VAR VALUE
   18420 # ----------------------
   18421 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18422 # advantage of any shell optimizations that allow amortized linear growth over
   18423 # repeated appends, instead of the typical quadratic growth present in naive
   18424 # implementations.
   18425 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18426   eval 'as_fn_append ()
   18427   {
   18428     eval $1+=\$2
   18429   }'
   18430 else
   18431   as_fn_append ()
   18432   {
   18433     eval $1=\$$1\$2
   18434   }
   18435 fi # as_fn_append
   18436 
   18437 # as_fn_arith ARG...
   18438 # ------------------
   18439 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18440 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18441 # must be portable across $(()) and expr.
   18442 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18443   eval 'as_fn_arith ()
   18444   {
   18445     as_val=$(( $* ))
   18446   }'
   18447 else
   18448   as_fn_arith ()
   18449   {
   18450     as_val=`expr "$@" || test $? -eq 1`
   18451   }
   18452 fi # as_fn_arith
   18453 
   18454 
   18455 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18456    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18457   as_expr=expr
   18458 else
   18459   as_expr=false
   18460 fi
   18461 
   18462 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18463   as_basename=basename
   18464 else
   18465   as_basename=false
   18466 fi
   18467 
   18468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18469   as_dirname=dirname
   18470 else
   18471   as_dirname=false
   18472 fi
   18473 
   18474 as_me=`$as_basename -- "$0" ||
   18475 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18476 	 X"$0" : 'X\(//\)$' \| \
   18477 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18478 $as_echo X/"$0" |
   18479     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18480 	    s//\1/
   18481 	    q
   18482 	  }
   18483 	  /^X\/\(\/\/\)$/{
   18484 	    s//\1/
   18485 	    q
   18486 	  }
   18487 	  /^X\/\(\/\).*/{
   18488 	    s//\1/
   18489 	    q
   18490 	  }
   18491 	  s/.*/./; q'`
   18492 
   18493 # Avoid depending upon Character Ranges.
   18494 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18495 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18496 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18497 as_cr_digits='0123456789'
   18498 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18499 
   18500 ECHO_C= ECHO_N= ECHO_T=
   18501 case `echo -n x` in #(((((
   18502 -n*)
   18503   case `echo 'xy\c'` in
   18504   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18505   xy)  ECHO_C='\c';;
   18506   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18507        ECHO_T='	';;
   18508   esac;;
   18509 *)
   18510   ECHO_N='-n';;
   18511 esac
   18512 
   18513 rm -f conf$$ conf$$.exe conf$$.file
   18514 if test -d conf$$.dir; then
   18515   rm -f conf$$.dir/conf$$.file
   18516 else
   18517   rm -f conf$$.dir
   18518   mkdir conf$$.dir 2>/dev/null
   18519 fi
   18520 if (echo >conf$$.file) 2>/dev/null; then
   18521   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18522     as_ln_s='ln -s'
   18523     # ... but there are two gotchas:
   18524     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18525     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18526     # In both cases, we have to default to `cp -pR'.
   18527     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18528       as_ln_s='cp -pR'
   18529   elif ln conf$$.file conf$$ 2>/dev/null; then
   18530     as_ln_s=ln
   18531   else
   18532     as_ln_s='cp -pR'
   18533   fi
   18534 else
   18535   as_ln_s='cp -pR'
   18536 fi
   18537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18538 rmdir conf$$.dir 2>/dev/null
   18539 
   18540 
   18541 # as_fn_mkdir_p
   18542 # -------------
   18543 # Create "$as_dir" as a directory, including parents if necessary.
   18544 as_fn_mkdir_p ()
   18545 {
   18546 
   18547   case $as_dir in #(
   18548   -*) as_dir=./$as_dir;;
   18549   esac
   18550   test -d "$as_dir" || eval $as_mkdir_p || {
   18551     as_dirs=
   18552     while :; do
   18553       case $as_dir in #(
   18554       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18555       *) as_qdir=$as_dir;;
   18556       esac
   18557       as_dirs="'$as_qdir' $as_dirs"
   18558       as_dir=`$as_dirname -- "$as_dir" ||
   18559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18560 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18561 	 X"$as_dir" : 'X\(//\)$' \| \
   18562 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18563 $as_echo X"$as_dir" |
   18564     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18565 	    s//\1/
   18566 	    q
   18567 	  }
   18568 	  /^X\(\/\/\)[^/].*/{
   18569 	    s//\1/
   18570 	    q
   18571 	  }
   18572 	  /^X\(\/\/\)$/{
   18573 	    s//\1/
   18574 	    q
   18575 	  }
   18576 	  /^X\(\/\).*/{
   18577 	    s//\1/
   18578 	    q
   18579 	  }
   18580 	  s/.*/./; q'`
   18581       test -d "$as_dir" && break
   18582     done
   18583     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18584   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18585 
   18586 
   18587 } # as_fn_mkdir_p
   18588 if mkdir -p . 2>/dev/null; then
   18589   as_mkdir_p='mkdir -p "$as_dir"'
   18590 else
   18591   test -d ./-p && rmdir ./-p
   18592   as_mkdir_p=false
   18593 fi
   18594 
   18595 
   18596 # as_fn_executable_p FILE
   18597 # -----------------------
   18598 # Test if FILE is an executable regular file.
   18599 as_fn_executable_p ()
   18600 {
   18601   test -f "$1" && test -x "$1"
   18602 } # as_fn_executable_p
   18603 as_test_x='test -x'
   18604 as_executable_p=as_fn_executable_p
   18605 
   18606 # Sed expression to map a string onto a valid CPP name.
   18607 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18608 
   18609 # Sed expression to map a string onto a valid variable name.
   18610 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18611 
   18612 
   18613 exec 6>&1
   18614 ## ----------------------------------- ##
   18615 ## Main body of $CONFIG_STATUS script. ##
   18616 ## ----------------------------------- ##
   18617 _ASEOF
   18618 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18619 
   18620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18621 # Save the log message, to keep $0 and so on meaningful, and to
   18622 # report actual input values of CONFIG_FILES etc. instead of their
   18623 # values after options handling.
   18624 ac_log="
   18625 This file was extended by libXvMC $as_me 1.0.9, which was
   18626 generated by GNU Autoconf 2.69.  Invocation command line was
   18627 
   18628   CONFIG_FILES    = $CONFIG_FILES
   18629   CONFIG_HEADERS  = $CONFIG_HEADERS
   18630   CONFIG_LINKS    = $CONFIG_LINKS
   18631   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18632   $ $0 $@
   18633 
   18634 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18635 "
   18636 
   18637 _ACEOF
   18638 
   18639 case $ac_config_files in *"
   18640 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18641 esac
   18642 
   18643 case $ac_config_headers in *"
   18644 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18645 esac
   18646 
   18647 
   18648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18649 # Files that config.status was made for.
   18650 config_files="$ac_config_files"
   18651 config_headers="$ac_config_headers"
   18652 config_commands="$ac_config_commands"
   18653 
   18654 _ACEOF
   18655 
   18656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18657 ac_cs_usage="\
   18658 \`$as_me' instantiates files and other configuration actions
   18659 from templates according to the current configuration.  Unless the files
   18660 and actions are specified as TAGs, all are instantiated by default.
   18661 
   18662 Usage: $0 [OPTION]... [TAG]...
   18663 
   18664   -h, --help       print this help, then exit
   18665   -V, --version    print version number and configuration settings, then exit
   18666       --config     print configuration, then exit
   18667   -q, --quiet, --silent
   18668                    do not print progress messages
   18669   -d, --debug      don't remove temporary files
   18670       --recheck    update $as_me by reconfiguring in the same conditions
   18671       --file=FILE[:TEMPLATE]
   18672                    instantiate the configuration file FILE
   18673       --header=FILE[:TEMPLATE]
   18674                    instantiate the configuration header FILE
   18675 
   18676 Configuration files:
   18677 $config_files
   18678 
   18679 Configuration headers:
   18680 $config_headers
   18681 
   18682 Configuration commands:
   18683 $config_commands
   18684 
   18685 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18686 
   18687 _ACEOF
   18688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18689 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18690 ac_cs_version="\\
   18691 libXvMC config.status 1.0.9
   18692 configured by $0, generated by GNU Autoconf 2.69,
   18693   with options \\"\$ac_cs_config\\"
   18694 
   18695 Copyright (C) 2012 Free Software Foundation, Inc.
   18696 This config.status script is free software; the Free Software Foundation
   18697 gives unlimited permission to copy, distribute and modify it."
   18698 
   18699 ac_pwd='$ac_pwd'
   18700 srcdir='$srcdir'
   18701 INSTALL='$INSTALL'
   18702 MKDIR_P='$MKDIR_P'
   18703 AWK='$AWK'
   18704 test -n "\$AWK" || AWK=awk
   18705 _ACEOF
   18706 
   18707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18708 # The default lists apply if the user does not specify any file.
   18709 ac_need_defaults=:
   18710 while test $# != 0
   18711 do
   18712   case $1 in
   18713   --*=?*)
   18714     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18715     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18716     ac_shift=:
   18717     ;;
   18718   --*=)
   18719     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18720     ac_optarg=
   18721     ac_shift=:
   18722     ;;
   18723   *)
   18724     ac_option=$1
   18725     ac_optarg=$2
   18726     ac_shift=shift
   18727     ;;
   18728   esac
   18729 
   18730   case $ac_option in
   18731   # Handling of the options.
   18732   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18733     ac_cs_recheck=: ;;
   18734   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18735     $as_echo "$ac_cs_version"; exit ;;
   18736   --config | --confi | --conf | --con | --co | --c )
   18737     $as_echo "$ac_cs_config"; exit ;;
   18738   --debug | --debu | --deb | --de | --d | -d )
   18739     debug=: ;;
   18740   --file | --fil | --fi | --f )
   18741     $ac_shift
   18742     case $ac_optarg in
   18743     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18744     '') as_fn_error $? "missing file argument" ;;
   18745     esac
   18746     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18747     ac_need_defaults=false;;
   18748   --header | --heade | --head | --hea )
   18749     $ac_shift
   18750     case $ac_optarg in
   18751     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18752     esac
   18753     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18754     ac_need_defaults=false;;
   18755   --he | --h)
   18756     # Conflict between --help and --header
   18757     as_fn_error $? "ambiguous option: \`$1'
   18758 Try \`$0 --help' for more information.";;
   18759   --help | --hel | -h )
   18760     $as_echo "$ac_cs_usage"; exit ;;
   18761   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18762   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18763     ac_cs_silent=: ;;
   18764 
   18765   # This is an error.
   18766   -*) as_fn_error $? "unrecognized option: \`$1'
   18767 Try \`$0 --help' for more information." ;;
   18768 
   18769   *) as_fn_append ac_config_targets " $1"
   18770      ac_need_defaults=false ;;
   18771 
   18772   esac
   18773   shift
   18774 done
   18775 
   18776 ac_configure_extra_args=
   18777 
   18778 if $ac_cs_silent; then
   18779   exec 6>/dev/null
   18780   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18781 fi
   18782 
   18783 _ACEOF
   18784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18785 if \$ac_cs_recheck; then
   18786   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18787   shift
   18788   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18789   CONFIG_SHELL='$SHELL'
   18790   export CONFIG_SHELL
   18791   exec "\$@"
   18792 fi
   18793 
   18794 _ACEOF
   18795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18796 exec 5>>config.log
   18797 {
   18798   echo
   18799   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18800 ## Running $as_me. ##
   18801 _ASBOX
   18802   $as_echo "$ac_log"
   18803 } >&5
   18804 
   18805 _ACEOF
   18806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18807 #
   18808 # INIT-COMMANDS
   18809 #
   18810 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18811 
   18812 
   18813 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18814 # if CDPATH is set.
   18815 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18816 
   18817 sed_quote_subst='$sed_quote_subst'
   18818 double_quote_subst='$double_quote_subst'
   18819 delay_variable_subst='$delay_variable_subst'
   18820 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18821 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18822 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18823 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18824 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18825 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18826 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18827 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18828 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18829 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18830 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18831 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18832 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18833 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18834 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18835 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18836 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18837 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18838 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18839 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18840 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18841 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18842 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18843 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18844 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18845 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18846 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18847 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18848 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18849 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18850 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18851 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18852 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18853 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18854 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18855 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18856 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18857 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18858 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18859 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18860 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18861 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18862 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18863 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18864 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18865 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18866 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18867 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18868 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18869 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18870 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18871 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18872 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18873 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18874 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18875 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18876 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"`'
   18877 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18878 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18879 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18880 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18881 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18882 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18883 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18884 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18885 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18886 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18887 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18888 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18889 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18890 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18891 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18892 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18893 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18894 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18895 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18896 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18897 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18898 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18899 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18900 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18901 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18902 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18903 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18904 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18905 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18906 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18907 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18908 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18909 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18910 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18911 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18912 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18913 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18914 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18915 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18916 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18917 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18918 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18919 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18920 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18921 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18922 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18923 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18924 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18925 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18926 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18927 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18928 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18929 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18930 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18931 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18932 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18933 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18934 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18935 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18936 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18937 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18938 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18939 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18940 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18941 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18942 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18943 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18944 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18945 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18946 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18947 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18948 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18949 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18950 
   18951 LTCC='$LTCC'
   18952 LTCFLAGS='$LTCFLAGS'
   18953 compiler='$compiler_DEFAULT'
   18954 
   18955 # A function that is used when there is no print builtin or printf.
   18956 func_fallback_echo ()
   18957 {
   18958   eval 'cat <<_LTECHO_EOF
   18959 \$1
   18960 _LTECHO_EOF'
   18961 }
   18962 
   18963 # Quote evaled strings.
   18964 for var in SHELL \
   18965 ECHO \
   18966 PATH_SEPARATOR \
   18967 SED \
   18968 GREP \
   18969 EGREP \
   18970 FGREP \
   18971 LD \
   18972 NM \
   18973 LN_S \
   18974 lt_SP2NL \
   18975 lt_NL2SP \
   18976 reload_flag \
   18977 OBJDUMP \
   18978 deplibs_check_method \
   18979 file_magic_cmd \
   18980 file_magic_glob \
   18981 want_nocaseglob \
   18982 DLLTOOL \
   18983 sharedlib_from_linklib_cmd \
   18984 AR \
   18985 AR_FLAGS \
   18986 archiver_list_spec \
   18987 STRIP \
   18988 RANLIB \
   18989 CC \
   18990 CFLAGS \
   18991 compiler \
   18992 lt_cv_sys_global_symbol_pipe \
   18993 lt_cv_sys_global_symbol_to_cdecl \
   18994 lt_cv_sys_global_symbol_to_c_name_address \
   18995 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18996 nm_file_list_spec \
   18997 lt_prog_compiler_no_builtin_flag \
   18998 lt_prog_compiler_pic \
   18999 lt_prog_compiler_wl \
   19000 lt_prog_compiler_static \
   19001 lt_cv_prog_compiler_c_o \
   19002 need_locks \
   19003 MANIFEST_TOOL \
   19004 DSYMUTIL \
   19005 NMEDIT \
   19006 LIPO \
   19007 OTOOL \
   19008 OTOOL64 \
   19009 shrext_cmds \
   19010 export_dynamic_flag_spec \
   19011 whole_archive_flag_spec \
   19012 compiler_needs_object \
   19013 with_gnu_ld \
   19014 allow_undefined_flag \
   19015 no_undefined_flag \
   19016 hardcode_libdir_flag_spec \
   19017 hardcode_libdir_separator \
   19018 exclude_expsyms \
   19019 include_expsyms \
   19020 file_list_spec \
   19021 variables_saved_for_relink \
   19022 libname_spec \
   19023 library_names_spec \
   19024 soname_spec \
   19025 install_override_mode \
   19026 finish_eval \
   19027 old_striplib \
   19028 striplib; do
   19029     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19030     *[\\\\\\\`\\"\\\$]*)
   19031       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19032       ;;
   19033     *)
   19034       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19035       ;;
   19036     esac
   19037 done
   19038 
   19039 # Double-quote double-evaled strings.
   19040 for var in reload_cmds \
   19041 old_postinstall_cmds \
   19042 old_postuninstall_cmds \
   19043 old_archive_cmds \
   19044 extract_expsyms_cmds \
   19045 old_archive_from_new_cmds \
   19046 old_archive_from_expsyms_cmds \
   19047 archive_cmds \
   19048 archive_expsym_cmds \
   19049 module_cmds \
   19050 module_expsym_cmds \
   19051 export_symbols_cmds \
   19052 prelink_cmds \
   19053 postlink_cmds \
   19054 postinstall_cmds \
   19055 postuninstall_cmds \
   19056 finish_cmds \
   19057 sys_lib_search_path_spec \
   19058 sys_lib_dlsearch_path_spec; do
   19059     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19060     *[\\\\\\\`\\"\\\$]*)
   19061       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19062       ;;
   19063     *)
   19064       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19065       ;;
   19066     esac
   19067 done
   19068 
   19069 ac_aux_dir='$ac_aux_dir'
   19070 xsi_shell='$xsi_shell'
   19071 lt_shell_append='$lt_shell_append'
   19072 
   19073 # See if we are running on zsh, and set the options which allow our
   19074 # commands through without removal of \ escapes INIT.
   19075 if test -n "\${ZSH_VERSION+set}" ; then
   19076    setopt NO_GLOB_SUBST
   19077 fi
   19078 
   19079 
   19080     PACKAGE='$PACKAGE'
   19081     VERSION='$VERSION'
   19082     TIMESTAMP='$TIMESTAMP'
   19083     RM='$RM'
   19084     ofile='$ofile'
   19085 
   19086 
   19087 
   19088 
   19089 _ACEOF
   19090 
   19091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19092 
   19093 # Handling of arguments.
   19094 for ac_config_target in $ac_config_targets
   19095 do
   19096   case $ac_config_target in
   19097     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19098     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19099     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19100     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19101     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   19102     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   19103     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   19104     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19105     "wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES wrapper/Makefile" ;;
   19106     "xvmc.pc") CONFIG_FILES="$CONFIG_FILES xvmc.pc" ;;
   19107 
   19108   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19109   esac
   19110 done
   19111 
   19112 
   19113 # If the user did not use the arguments to specify the items to instantiate,
   19114 # then the envvar interface is used.  Set only those that are not.
   19115 # We use the long form for the default assignment because of an extremely
   19116 # bizarre bug on SunOS 4.1.3.
   19117 if $ac_need_defaults; then
   19118   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19119   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19120   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19121 fi
   19122 
   19123 # Have a temporary directory for convenience.  Make it in the build tree
   19124 # simply because there is no reason against having it here, and in addition,
   19125 # creating and moving files from /tmp can sometimes cause problems.
   19126 # Hook for its removal unless debugging.
   19127 # Note that there is a small window in which the directory will not be cleaned:
   19128 # after its creation but before its name has been assigned to `$tmp'.
   19129 $debug ||
   19130 {
   19131   tmp= ac_tmp=
   19132   trap 'exit_status=$?
   19133   : "${ac_tmp:=$tmp}"
   19134   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19135 ' 0
   19136   trap 'as_fn_exit 1' 1 2 13 15
   19137 }
   19138 # Create a (secure) tmp directory for tmp files.
   19139 
   19140 {
   19141   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19142   test -d "$tmp"
   19143 }  ||
   19144 {
   19145   tmp=./conf$$-$RANDOM
   19146   (umask 077 && mkdir "$tmp")
   19147 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19148 ac_tmp=$tmp
   19149 
   19150 # Set up the scripts for CONFIG_FILES section.
   19151 # No need to generate them if there are no CONFIG_FILES.
   19152 # This happens for instance with `./config.status config.h'.
   19153 if test -n "$CONFIG_FILES"; then
   19154 
   19155 
   19156 ac_cr=`echo X | tr X '\015'`
   19157 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19158 # But we know of no other shell where ac_cr would be empty at this
   19159 # point, so we can use a bashism as a fallback.
   19160 if test "x$ac_cr" = x; then
   19161   eval ac_cr=\$\'\\r\'
   19162 fi
   19163 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19164 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19165   ac_cs_awk_cr='\\r'
   19166 else
   19167   ac_cs_awk_cr=$ac_cr
   19168 fi
   19169 
   19170 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19171 _ACEOF
   19172 
   19173 
   19174 {
   19175   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19176   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19177   echo "_ACEOF"
   19178 } >conf$$subs.sh ||
   19179   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19181 ac_delim='%!_!# '
   19182 for ac_last_try in false false false false false :; do
   19183   . ./conf$$subs.sh ||
   19184     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19185 
   19186   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19187   if test $ac_delim_n = $ac_delim_num; then
   19188     break
   19189   elif $ac_last_try; then
   19190     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19191   else
   19192     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19193   fi
   19194 done
   19195 rm -f conf$$subs.sh
   19196 
   19197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19198 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19199 _ACEOF
   19200 sed -n '
   19201 h
   19202 s/^/S["/; s/!.*/"]=/
   19203 p
   19204 g
   19205 s/^[^!]*!//
   19206 :repl
   19207 t repl
   19208 s/'"$ac_delim"'$//
   19209 t delim
   19210 :nl
   19211 h
   19212 s/\(.\{148\}\)..*/\1/
   19213 t more1
   19214 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19215 p
   19216 n
   19217 b repl
   19218 :more1
   19219 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19220 p
   19221 g
   19222 s/.\{148\}//
   19223 t nl
   19224 :delim
   19225 h
   19226 s/\(.\{148\}\)..*/\1/
   19227 t more2
   19228 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19229 p
   19230 b
   19231 :more2
   19232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19233 p
   19234 g
   19235 s/.\{148\}//
   19236 t delim
   19237 ' <conf$$subs.awk | sed '
   19238 /^[^""]/{
   19239   N
   19240   s/\n//
   19241 }
   19242 ' >>$CONFIG_STATUS || ac_write_fail=1
   19243 rm -f conf$$subs.awk
   19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19245 _ACAWK
   19246 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19247   for (key in S) S_is_set[key] = 1
   19248   FS = ""
   19249 
   19250 }
   19251 {
   19252   line = $ 0
   19253   nfields = split(line, field, "@")
   19254   substed = 0
   19255   len = length(field[1])
   19256   for (i = 2; i < nfields; i++) {
   19257     key = field[i]
   19258     keylen = length(key)
   19259     if (S_is_set[key]) {
   19260       value = S[key]
   19261       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19262       len += length(value) + length(field[++i])
   19263       substed = 1
   19264     } else
   19265       len += 1 + keylen
   19266   }
   19267 
   19268   print line
   19269 }
   19270 
   19271 _ACAWK
   19272 _ACEOF
   19273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19274 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19275   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19276 else
   19277   cat
   19278 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19279   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19280 _ACEOF
   19281 
   19282 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19283 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19284 # trailing colons and then remove the whole line if VPATH becomes empty
   19285 # (actually we leave an empty line to preserve line numbers).
   19286 if test "x$srcdir" = x.; then
   19287   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19288 h
   19289 s///
   19290 s/^/:/
   19291 s/[	 ]*$/:/
   19292 s/:\$(srcdir):/:/g
   19293 s/:\${srcdir}:/:/g
   19294 s/:@srcdir@:/:/g
   19295 s/^:*//
   19296 s/:*$//
   19297 x
   19298 s/\(=[	 ]*\).*/\1/
   19299 G
   19300 s/\n//
   19301 s/^[^=]*=[	 ]*$//
   19302 }'
   19303 fi
   19304 
   19305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19306 fi # test -n "$CONFIG_FILES"
   19307 
   19308 # Set up the scripts for CONFIG_HEADERS section.
   19309 # No need to generate them if there are no CONFIG_HEADERS.
   19310 # This happens for instance with `./config.status Makefile'.
   19311 if test -n "$CONFIG_HEADERS"; then
   19312 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19313 BEGIN {
   19314 _ACEOF
   19315 
   19316 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19317 # here-document in config.status, that substitutes the proper values into
   19318 # config.h.in to produce config.h.
   19319 
   19320 # Create a delimiter string that does not exist in confdefs.h, to ease
   19321 # handling of long lines.
   19322 ac_delim='%!_!# '
   19323 for ac_last_try in false false :; do
   19324   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19325   if test -z "$ac_tt"; then
   19326     break
   19327   elif $ac_last_try; then
   19328     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19329   else
   19330     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19331   fi
   19332 done
   19333 
   19334 # For the awk script, D is an array of macro values keyed by name,
   19335 # likewise P contains macro parameters if any.  Preserve backslash
   19336 # newline sequences.
   19337 
   19338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19339 sed -n '
   19340 s/.\{148\}/&'"$ac_delim"'/g
   19341 t rset
   19342 :rset
   19343 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19344 t def
   19345 d
   19346 :def
   19347 s/\\$//
   19348 t bsnl
   19349 s/["\\]/\\&/g
   19350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19351 D["\1"]=" \3"/p
   19352 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19353 d
   19354 :bsnl
   19355 s/["\\]/\\&/g
   19356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19357 D["\1"]=" \3\\\\\\n"\\/p
   19358 t cont
   19359 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19360 t cont
   19361 d
   19362 :cont
   19363 n
   19364 s/.\{148\}/&'"$ac_delim"'/g
   19365 t clear
   19366 :clear
   19367 s/\\$//
   19368 t bsnlc
   19369 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19370 d
   19371 :bsnlc
   19372 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19373 b cont
   19374 ' <confdefs.h | sed '
   19375 s/'"$ac_delim"'/"\\\
   19376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19377 
   19378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19379   for (key in D) D_is_set[key] = 1
   19380   FS = ""
   19381 }
   19382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19383   line = \$ 0
   19384   split(line, arg, " ")
   19385   if (arg[1] == "#") {
   19386     defundef = arg[2]
   19387     mac1 = arg[3]
   19388   } else {
   19389     defundef = substr(arg[1], 2)
   19390     mac1 = arg[2]
   19391   }
   19392   split(mac1, mac2, "(") #)
   19393   macro = mac2[1]
   19394   prefix = substr(line, 1, index(line, defundef) - 1)
   19395   if (D_is_set[macro]) {
   19396     # Preserve the white space surrounding the "#".
   19397     print prefix "define", macro P[macro] D[macro]
   19398     next
   19399   } else {
   19400     # Replace #undef with comments.  This is necessary, for example,
   19401     # in the case of _POSIX_SOURCE, which is predefined and required
   19402     # on some systems where configure will not decide to define it.
   19403     if (defundef == "undef") {
   19404       print "/*", prefix defundef, macro, "*/"
   19405       next
   19406     }
   19407   }
   19408 }
   19409 { print }
   19410 _ACAWK
   19411 _ACEOF
   19412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19413   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19414 fi # test -n "$CONFIG_HEADERS"
   19415 
   19416 
   19417 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19418 shift
   19419 for ac_tag
   19420 do
   19421   case $ac_tag in
   19422   :[FHLC]) ac_mode=$ac_tag; continue;;
   19423   esac
   19424   case $ac_mode$ac_tag in
   19425   :[FHL]*:*);;
   19426   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19427   :[FH]-) ac_tag=-:-;;
   19428   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19429   esac
   19430   ac_save_IFS=$IFS
   19431   IFS=:
   19432   set x $ac_tag
   19433   IFS=$ac_save_IFS
   19434   shift
   19435   ac_file=$1
   19436   shift
   19437 
   19438   case $ac_mode in
   19439   :L) ac_source=$1;;
   19440   :[FH])
   19441     ac_file_inputs=
   19442     for ac_f
   19443     do
   19444       case $ac_f in
   19445       -) ac_f="$ac_tmp/stdin";;
   19446       *) # Look for the file first in the build tree, then in the source tree
   19447 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19448 	 # because $ac_f cannot contain `:'.
   19449 	 test -f "$ac_f" ||
   19450 	   case $ac_f in
   19451 	   [\\/$]*) false;;
   19452 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19453 	   esac ||
   19454 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19455       esac
   19456       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19457       as_fn_append ac_file_inputs " '$ac_f'"
   19458     done
   19459 
   19460     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19461     # use $as_me), people would be surprised to read:
   19462     #    /* config.h.  Generated by config.status.  */
   19463     configure_input='Generated from '`
   19464 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19465 	`' by configure.'
   19466     if test x"$ac_file" != x-; then
   19467       configure_input="$ac_file.  $configure_input"
   19468       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19469 $as_echo "$as_me: creating $ac_file" >&6;}
   19470     fi
   19471     # Neutralize special characters interpreted by sed in replacement strings.
   19472     case $configure_input in #(
   19473     *\&* | *\|* | *\\* )
   19474        ac_sed_conf_input=`$as_echo "$configure_input" |
   19475        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19476     *) ac_sed_conf_input=$configure_input;;
   19477     esac
   19478 
   19479     case $ac_tag in
   19480     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19481       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19482     esac
   19483     ;;
   19484   esac
   19485 
   19486   ac_dir=`$as_dirname -- "$ac_file" ||
   19487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19488 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19489 	 X"$ac_file" : 'X\(//\)$' \| \
   19490 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19491 $as_echo X"$ac_file" |
   19492     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19493 	    s//\1/
   19494 	    q
   19495 	  }
   19496 	  /^X\(\/\/\)[^/].*/{
   19497 	    s//\1/
   19498 	    q
   19499 	  }
   19500 	  /^X\(\/\/\)$/{
   19501 	    s//\1/
   19502 	    q
   19503 	  }
   19504 	  /^X\(\/\).*/{
   19505 	    s//\1/
   19506 	    q
   19507 	  }
   19508 	  s/.*/./; q'`
   19509   as_dir="$ac_dir"; as_fn_mkdir_p
   19510   ac_builddir=.
   19511 
   19512 case "$ac_dir" in
   19513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19514 *)
   19515   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19516   # A ".." for each directory in $ac_dir_suffix.
   19517   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19518   case $ac_top_builddir_sub in
   19519   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19520   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19521   esac ;;
   19522 esac
   19523 ac_abs_top_builddir=$ac_pwd
   19524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19525 # for backward compatibility:
   19526 ac_top_builddir=$ac_top_build_prefix
   19527 
   19528 case $srcdir in
   19529   .)  # We are building in place.
   19530     ac_srcdir=.
   19531     ac_top_srcdir=$ac_top_builddir_sub
   19532     ac_abs_top_srcdir=$ac_pwd ;;
   19533   [\\/]* | ?:[\\/]* )  # Absolute name.
   19534     ac_srcdir=$srcdir$ac_dir_suffix;
   19535     ac_top_srcdir=$srcdir
   19536     ac_abs_top_srcdir=$srcdir ;;
   19537   *) # Relative name.
   19538     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19539     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19540     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19541 esac
   19542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19543 
   19544 
   19545   case $ac_mode in
   19546   :F)
   19547   #
   19548   # CONFIG_FILE
   19549   #
   19550 
   19551   case $INSTALL in
   19552   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19553   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19554   esac
   19555   ac_MKDIR_P=$MKDIR_P
   19556   case $MKDIR_P in
   19557   [\\/$]* | ?:[\\/]* ) ;;
   19558   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19559   esac
   19560 _ACEOF
   19561 
   19562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19563 # If the template does not know about datarootdir, expand it.
   19564 # FIXME: This hack should be removed a few years after 2.60.
   19565 ac_datarootdir_hack=; ac_datarootdir_seen=
   19566 ac_sed_dataroot='
   19567 /datarootdir/ {
   19568   p
   19569   q
   19570 }
   19571 /@datadir@/p
   19572 /@docdir@/p
   19573 /@infodir@/p
   19574 /@localedir@/p
   19575 /@mandir@/p'
   19576 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19577 *datarootdir*) ac_datarootdir_seen=yes;;
   19578 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19579   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19580 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19581 _ACEOF
   19582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19583   ac_datarootdir_hack='
   19584   s&@datadir@&$datadir&g
   19585   s&@docdir@&$docdir&g
   19586   s&@infodir@&$infodir&g
   19587   s&@localedir@&$localedir&g
   19588   s&@mandir@&$mandir&g
   19589   s&\\\${datarootdir}&$datarootdir&g' ;;
   19590 esac
   19591 _ACEOF
   19592 
   19593 # Neutralize VPATH when `$srcdir' = `.'.
   19594 # Shell code in configure.ac might set extrasub.
   19595 # FIXME: do we really want to maintain this feature?
   19596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19597 ac_sed_extra="$ac_vpsub
   19598 $extrasub
   19599 _ACEOF
   19600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19601 :t
   19602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19603 s|@configure_input@|$ac_sed_conf_input|;t t
   19604 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19605 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19606 s&@srcdir@&$ac_srcdir&;t t
   19607 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19608 s&@top_srcdir@&$ac_top_srcdir&;t t
   19609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19610 s&@builddir@&$ac_builddir&;t t
   19611 s&@abs_builddir@&$ac_abs_builddir&;t t
   19612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19613 s&@INSTALL@&$ac_INSTALL&;t t
   19614 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19615 $ac_datarootdir_hack
   19616 "
   19617 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19618   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19619 
   19620 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19621   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19622   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19623       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19624   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19625 which seems to be undefined.  Please make sure it is defined" >&5
   19626 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19627 which seems to be undefined.  Please make sure it is defined" >&2;}
   19628 
   19629   rm -f "$ac_tmp/stdin"
   19630   case $ac_file in
   19631   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19632   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19633   esac \
   19634   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19635  ;;
   19636   :H)
   19637   #
   19638   # CONFIG_HEADER
   19639   #
   19640   if test x"$ac_file" != x-; then
   19641     {
   19642       $as_echo "/* $configure_input  */" \
   19643       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19644     } >"$ac_tmp/config.h" \
   19645       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19646     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19647       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19648 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19649     else
   19650       rm -f "$ac_file"
   19651       mv "$ac_tmp/config.h" "$ac_file" \
   19652 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19653     fi
   19654   else
   19655     $as_echo "/* $configure_input  */" \
   19656       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19657       || as_fn_error $? "could not create -" "$LINENO" 5
   19658   fi
   19659 # Compute "$ac_file"'s index in $config_headers.
   19660 _am_arg="$ac_file"
   19661 _am_stamp_count=1
   19662 for _am_header in $config_headers :; do
   19663   case $_am_header in
   19664     $_am_arg | $_am_arg:* )
   19665       break ;;
   19666     * )
   19667       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19668   esac
   19669 done
   19670 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19671 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19672 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19673 	 X"$_am_arg" : 'X\(//\)$' \| \
   19674 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19675 $as_echo X"$_am_arg" |
   19676     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19677 	    s//\1/
   19678 	    q
   19679 	  }
   19680 	  /^X\(\/\/\)[^/].*/{
   19681 	    s//\1/
   19682 	    q
   19683 	  }
   19684 	  /^X\(\/\/\)$/{
   19685 	    s//\1/
   19686 	    q
   19687 	  }
   19688 	  /^X\(\/\).*/{
   19689 	    s//\1/
   19690 	    q
   19691 	  }
   19692 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19693  ;;
   19694 
   19695   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19696 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19697  ;;
   19698   esac
   19699 
   19700 
   19701   case $ac_file$ac_mode in
   19702     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19703   # Older Autoconf quotes --file arguments for eval, but not when files
   19704   # are listed without --file.  Let's play safe and only enable the eval
   19705   # if we detect the quoting.
   19706   case $CONFIG_FILES in
   19707   *\'*) eval set x "$CONFIG_FILES" ;;
   19708   *)   set x $CONFIG_FILES ;;
   19709   esac
   19710   shift
   19711   for mf
   19712   do
   19713     # Strip MF so we end up with the name of the file.
   19714     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19715     # Check whether this is an Automake generated Makefile or not.
   19716     # We used to match only the files named 'Makefile.in', but
   19717     # some people rename them; so instead we look at the file content.
   19718     # Grep'ing the first line is not enough: some people post-process
   19719     # each Makefile.in and add a new line on top of each file to say so.
   19720     # Grep'ing the whole file is not good either: AIX grep has a line
   19721     # limit of 2048, but all sed's we know have understand at least 4000.
   19722     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19723       dirpart=`$as_dirname -- "$mf" ||
   19724 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19725 	 X"$mf" : 'X\(//\)[^/]' \| \
   19726 	 X"$mf" : 'X\(//\)$' \| \
   19727 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19728 $as_echo X"$mf" |
   19729     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19730 	    s//\1/
   19731 	    q
   19732 	  }
   19733 	  /^X\(\/\/\)[^/].*/{
   19734 	    s//\1/
   19735 	    q
   19736 	  }
   19737 	  /^X\(\/\/\)$/{
   19738 	    s//\1/
   19739 	    q
   19740 	  }
   19741 	  /^X\(\/\).*/{
   19742 	    s//\1/
   19743 	    q
   19744 	  }
   19745 	  s/.*/./; q'`
   19746     else
   19747       continue
   19748     fi
   19749     # Extract the definition of DEPDIR, am__include, and am__quote
   19750     # from the Makefile without running 'make'.
   19751     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19752     test -z "$DEPDIR" && continue
   19753     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19754     test -z "$am__include" && continue
   19755     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19756     # Find all dependency output files, they are included files with
   19757     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19758     # simplest approach to changing $(DEPDIR) to its actual value in the
   19759     # expansion.
   19760     for file in `sed -n "
   19761       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19762 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19763       # Make sure the directory exists.
   19764       test -f "$dirpart/$file" && continue
   19765       fdir=`$as_dirname -- "$file" ||
   19766 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19767 	 X"$file" : 'X\(//\)[^/]' \| \
   19768 	 X"$file" : 'X\(//\)$' \| \
   19769 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19770 $as_echo X"$file" |
   19771     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19772 	    s//\1/
   19773 	    q
   19774 	  }
   19775 	  /^X\(\/\/\)[^/].*/{
   19776 	    s//\1/
   19777 	    q
   19778 	  }
   19779 	  /^X\(\/\/\)$/{
   19780 	    s//\1/
   19781 	    q
   19782 	  }
   19783 	  /^X\(\/\).*/{
   19784 	    s//\1/
   19785 	    q
   19786 	  }
   19787 	  s/.*/./; q'`
   19788       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19789       # echo "creating $dirpart/$file"
   19790       echo '# dummy' > "$dirpart/$file"
   19791     done
   19792   done
   19793 }
   19794  ;;
   19795     "libtool":C)
   19796 
   19797     # See if we are running on zsh, and set the options which allow our
   19798     # commands through without removal of \ escapes.
   19799     if test -n "${ZSH_VERSION+set}" ; then
   19800       setopt NO_GLOB_SUBST
   19801     fi
   19802 
   19803     cfgfile="${ofile}T"
   19804     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19805     $RM "$cfgfile"
   19806 
   19807     cat <<_LT_EOF >> "$cfgfile"
   19808 #! $SHELL
   19809 
   19810 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19811 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19812 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19813 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19814 #
   19815 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19816 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19817 #                 Foundation, Inc.
   19818 #   Written by Gordon Matzigkeit, 1996
   19819 #
   19820 #   This file is part of GNU Libtool.
   19821 #
   19822 # GNU Libtool is free software; you can redistribute it and/or
   19823 # modify it under the terms of the GNU General Public License as
   19824 # published by the Free Software Foundation; either version 2 of
   19825 # the License, or (at your option) any later version.
   19826 #
   19827 # As a special exception to the GNU General Public License,
   19828 # if you distribute this file as part of a program or library that
   19829 # is built using GNU Libtool, you may include this file under the
   19830 # same distribution terms that you use for the rest of that program.
   19831 #
   19832 # GNU Libtool is distributed in the hope that it will be useful,
   19833 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19834 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19835 # GNU General Public License for more details.
   19836 #
   19837 # You should have received a copy of the GNU General Public License
   19838 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19839 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19840 # obtained by writing to the Free Software Foundation, Inc.,
   19841 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19842 
   19843 
   19844 # The names of the tagged configurations supported by this script.
   19845 available_tags=""
   19846 
   19847 # ### BEGIN LIBTOOL CONFIG
   19848 
   19849 # Which release of libtool.m4 was used?
   19850 macro_version=$macro_version
   19851 macro_revision=$macro_revision
   19852 
   19853 # Whether or not to build shared libraries.
   19854 build_libtool_libs=$enable_shared
   19855 
   19856 # Whether or not to build static libraries.
   19857 build_old_libs=$enable_static
   19858 
   19859 # What type of objects to build.
   19860 pic_mode=$pic_mode
   19861 
   19862 # Whether or not to optimize for fast installation.
   19863 fast_install=$enable_fast_install
   19864 
   19865 # Shell to use when invoking shell scripts.
   19866 SHELL=$lt_SHELL
   19867 
   19868 # An echo program that protects backslashes.
   19869 ECHO=$lt_ECHO
   19870 
   19871 # The PATH separator for the build system.
   19872 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19873 
   19874 # The host system.
   19875 host_alias=$host_alias
   19876 host=$host
   19877 host_os=$host_os
   19878 
   19879 # The build system.
   19880 build_alias=$build_alias
   19881 build=$build
   19882 build_os=$build_os
   19883 
   19884 # A sed program that does not truncate output.
   19885 SED=$lt_SED
   19886 
   19887 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19888 Xsed="\$SED -e 1s/^X//"
   19889 
   19890 # A grep program that handles long lines.
   19891 GREP=$lt_GREP
   19892 
   19893 # An ERE matcher.
   19894 EGREP=$lt_EGREP
   19895 
   19896 # A literal string matcher.
   19897 FGREP=$lt_FGREP
   19898 
   19899 # A BSD- or MS-compatible name lister.
   19900 NM=$lt_NM
   19901 
   19902 # Whether we need soft or hard links.
   19903 LN_S=$lt_LN_S
   19904 
   19905 # What is the maximum length of a command?
   19906 max_cmd_len=$max_cmd_len
   19907 
   19908 # Object file suffix (normally "o").
   19909 objext=$ac_objext
   19910 
   19911 # Executable file suffix (normally "").
   19912 exeext=$exeext
   19913 
   19914 # whether the shell understands "unset".
   19915 lt_unset=$lt_unset
   19916 
   19917 # turn spaces into newlines.
   19918 SP2NL=$lt_lt_SP2NL
   19919 
   19920 # turn newlines into spaces.
   19921 NL2SP=$lt_lt_NL2SP
   19922 
   19923 # convert \$build file names to \$host format.
   19924 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19925 
   19926 # convert \$build files to toolchain format.
   19927 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19928 
   19929 # An object symbol dumper.
   19930 OBJDUMP=$lt_OBJDUMP
   19931 
   19932 # Method to check whether dependent libraries are shared objects.
   19933 deplibs_check_method=$lt_deplibs_check_method
   19934 
   19935 # Command to use when deplibs_check_method = "file_magic".
   19936 file_magic_cmd=$lt_file_magic_cmd
   19937 
   19938 # How to find potential files when deplibs_check_method = "file_magic".
   19939 file_magic_glob=$lt_file_magic_glob
   19940 
   19941 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19942 want_nocaseglob=$lt_want_nocaseglob
   19943 
   19944 # DLL creation program.
   19945 DLLTOOL=$lt_DLLTOOL
   19946 
   19947 # Command to associate shared and link libraries.
   19948 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19949 
   19950 # The archiver.
   19951 AR=$lt_AR
   19952 
   19953 # Flags to create an archive.
   19954 AR_FLAGS=$lt_AR_FLAGS
   19955 
   19956 # How to feed a file listing to the archiver.
   19957 archiver_list_spec=$lt_archiver_list_spec
   19958 
   19959 # A symbol stripping program.
   19960 STRIP=$lt_STRIP
   19961 
   19962 # Commands used to install an old-style archive.
   19963 RANLIB=$lt_RANLIB
   19964 old_postinstall_cmds=$lt_old_postinstall_cmds
   19965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19966 
   19967 # Whether to use a lock for old archive extraction.
   19968 lock_old_archive_extraction=$lock_old_archive_extraction
   19969 
   19970 # A C compiler.
   19971 LTCC=$lt_CC
   19972 
   19973 # LTCC compiler flags.
   19974 LTCFLAGS=$lt_CFLAGS
   19975 
   19976 # Take the output of nm and produce a listing of raw symbols and C names.
   19977 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19978 
   19979 # Transform the output of nm in a proper C declaration.
   19980 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19981 
   19982 # Transform the output of nm in a C name address pair.
   19983 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19984 
   19985 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19986 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19987 
   19988 # Specify filename containing input files for \$NM.
   19989 nm_file_list_spec=$lt_nm_file_list_spec
   19990 
   19991 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19992 lt_sysroot=$lt_sysroot
   19993 
   19994 # The name of the directory that contains temporary libtool files.
   19995 objdir=$objdir
   19996 
   19997 # Used to examine libraries when file_magic_cmd begins with "file".
   19998 MAGIC_CMD=$MAGIC_CMD
   19999 
   20000 # Must we lock files when doing compilation?
   20001 need_locks=$lt_need_locks
   20002 
   20003 # Manifest tool.
   20004 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20005 
   20006 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20007 DSYMUTIL=$lt_DSYMUTIL
   20008 
   20009 # Tool to change global to local symbols on Mac OS X.
   20010 NMEDIT=$lt_NMEDIT
   20011 
   20012 # Tool to manipulate fat objects and archives on Mac OS X.
   20013 LIPO=$lt_LIPO
   20014 
   20015 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20016 OTOOL=$lt_OTOOL
   20017 
   20018 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20019 OTOOL64=$lt_OTOOL64
   20020 
   20021 # Old archive suffix (normally "a").
   20022 libext=$libext
   20023 
   20024 # Shared library suffix (normally ".so").
   20025 shrext_cmds=$lt_shrext_cmds
   20026 
   20027 # The commands to extract the exported symbol list from a shared archive.
   20028 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20029 
   20030 # Variables whose values should be saved in libtool wrapper scripts and
   20031 # restored at link time.
   20032 variables_saved_for_relink=$lt_variables_saved_for_relink
   20033 
   20034 # Do we need the "lib" prefix for modules?
   20035 need_lib_prefix=$need_lib_prefix
   20036 
   20037 # Do we need a version for libraries?
   20038 need_version=$need_version
   20039 
   20040 # Library versioning type.
   20041 version_type=$version_type
   20042 
   20043 # Shared library runtime path variable.
   20044 runpath_var=$runpath_var
   20045 
   20046 # Shared library path variable.
   20047 shlibpath_var=$shlibpath_var
   20048 
   20049 # Is shlibpath searched before the hard-coded library search path?
   20050 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20051 
   20052 # Format of library name prefix.
   20053 libname_spec=$lt_libname_spec
   20054 
   20055 # List of archive names.  First name is the real one, the rest are links.
   20056 # The last name is the one that the linker finds with -lNAME
   20057 library_names_spec=$lt_library_names_spec
   20058 
   20059 # The coded name of the library, if different from the real name.
   20060 soname_spec=$lt_soname_spec
   20061 
   20062 # Permission mode override for installation of shared libraries.
   20063 install_override_mode=$lt_install_override_mode
   20064 
   20065 # Command to use after installation of a shared archive.
   20066 postinstall_cmds=$lt_postinstall_cmds
   20067 
   20068 # Command to use after uninstallation of a shared archive.
   20069 postuninstall_cmds=$lt_postuninstall_cmds
   20070 
   20071 # Commands used to finish a libtool library installation in a directory.
   20072 finish_cmds=$lt_finish_cmds
   20073 
   20074 # As "finish_cmds", except a single script fragment to be evaled but
   20075 # not shown.
   20076 finish_eval=$lt_finish_eval
   20077 
   20078 # Whether we should hardcode library paths into libraries.
   20079 hardcode_into_libs=$hardcode_into_libs
   20080 
   20081 # Compile-time system search path for libraries.
   20082 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20083 
   20084 # Run-time system search path for libraries.
   20085 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20086 
   20087 # Whether dlopen is supported.
   20088 dlopen_support=$enable_dlopen
   20089 
   20090 # Whether dlopen of programs is supported.
   20091 dlopen_self=$enable_dlopen_self
   20092 
   20093 # Whether dlopen of statically linked programs is supported.
   20094 dlopen_self_static=$enable_dlopen_self_static
   20095 
   20096 # Commands to strip libraries.
   20097 old_striplib=$lt_old_striplib
   20098 striplib=$lt_striplib
   20099 
   20100 
   20101 # The linker used to build libraries.
   20102 LD=$lt_LD
   20103 
   20104 # How to create reloadable object files.
   20105 reload_flag=$lt_reload_flag
   20106 reload_cmds=$lt_reload_cmds
   20107 
   20108 # Commands used to build an old-style archive.
   20109 old_archive_cmds=$lt_old_archive_cmds
   20110 
   20111 # A language specific compiler.
   20112 CC=$lt_compiler
   20113 
   20114 # Is the compiler the GNU compiler?
   20115 with_gcc=$GCC
   20116 
   20117 # Compiler flag to turn off builtin functions.
   20118 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20119 
   20120 # Additional compiler flags for building library objects.
   20121 pic_flag=$lt_lt_prog_compiler_pic
   20122 
   20123 # How to pass a linker flag through the compiler.
   20124 wl=$lt_lt_prog_compiler_wl
   20125 
   20126 # Compiler flag to prevent dynamic linking.
   20127 link_static_flag=$lt_lt_prog_compiler_static
   20128 
   20129 # Does compiler simultaneously support -c and -o options?
   20130 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20131 
   20132 # Whether or not to add -lc for building shared libraries.
   20133 build_libtool_need_lc=$archive_cmds_need_lc
   20134 
   20135 # Whether or not to disallow shared libs when runtime libs are static.
   20136 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20137 
   20138 # Compiler flag to allow reflexive dlopens.
   20139 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20140 
   20141 # Compiler flag to generate shared objects directly from archives.
   20142 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20143 
   20144 # Whether the compiler copes with passing no objects directly.
   20145 compiler_needs_object=$lt_compiler_needs_object
   20146 
   20147 # Create an old-style archive from a shared archive.
   20148 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20149 
   20150 # Create a temporary old-style archive to link instead of a shared archive.
   20151 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20152 
   20153 # Commands used to build a shared archive.
   20154 archive_cmds=$lt_archive_cmds
   20155 archive_expsym_cmds=$lt_archive_expsym_cmds
   20156 
   20157 # Commands used to build a loadable module if different from building
   20158 # a shared archive.
   20159 module_cmds=$lt_module_cmds
   20160 module_expsym_cmds=$lt_module_expsym_cmds
   20161 
   20162 # Whether we are building with GNU ld or not.
   20163 with_gnu_ld=$lt_with_gnu_ld
   20164 
   20165 # Flag that allows shared libraries with undefined symbols to be built.
   20166 allow_undefined_flag=$lt_allow_undefined_flag
   20167 
   20168 # Flag that enforces no undefined symbols.
   20169 no_undefined_flag=$lt_no_undefined_flag
   20170 
   20171 # Flag to hardcode \$libdir into a binary during linking.
   20172 # This must work even if \$libdir does not exist
   20173 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20174 
   20175 # Whether we need a single "-rpath" flag with a separated argument.
   20176 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20177 
   20178 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20179 # DIR into the resulting binary.
   20180 hardcode_direct=$hardcode_direct
   20181 
   20182 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20183 # DIR into the resulting binary and the resulting library dependency is
   20184 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20185 # library is relocated.
   20186 hardcode_direct_absolute=$hardcode_direct_absolute
   20187 
   20188 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20189 # into the resulting binary.
   20190 hardcode_minus_L=$hardcode_minus_L
   20191 
   20192 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20193 # into the resulting binary.
   20194 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20195 
   20196 # Set to "yes" if building a shared library automatically hardcodes DIR
   20197 # into the library and all subsequent libraries and executables linked
   20198 # against it.
   20199 hardcode_automatic=$hardcode_automatic
   20200 
   20201 # Set to yes if linker adds runtime paths of dependent libraries
   20202 # to runtime path list.
   20203 inherit_rpath=$inherit_rpath
   20204 
   20205 # Whether libtool must link a program against all its dependency libraries.
   20206 link_all_deplibs=$link_all_deplibs
   20207 
   20208 # Set to "yes" if exported symbols are required.
   20209 always_export_symbols=$always_export_symbols
   20210 
   20211 # The commands to list exported symbols.
   20212 export_symbols_cmds=$lt_export_symbols_cmds
   20213 
   20214 # Symbols that should not be listed in the preloaded symbols.
   20215 exclude_expsyms=$lt_exclude_expsyms
   20216 
   20217 # Symbols that must always be exported.
   20218 include_expsyms=$lt_include_expsyms
   20219 
   20220 # Commands necessary for linking programs (against libraries) with templates.
   20221 prelink_cmds=$lt_prelink_cmds
   20222 
   20223 # Commands necessary for finishing linking programs.
   20224 postlink_cmds=$lt_postlink_cmds
   20225 
   20226 # Specify filename containing input files.
   20227 file_list_spec=$lt_file_list_spec
   20228 
   20229 # How to hardcode a shared library path into an executable.
   20230 hardcode_action=$hardcode_action
   20231 
   20232 # ### END LIBTOOL CONFIG
   20233 
   20234 _LT_EOF
   20235 
   20236   case $host_os in
   20237   aix3*)
   20238     cat <<\_LT_EOF >> "$cfgfile"
   20239 # AIX sometimes has problems with the GCC collect2 program.  For some
   20240 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20241 # vanish in a puff of smoke.
   20242 if test "X${COLLECT_NAMES+set}" != Xset; then
   20243   COLLECT_NAMES=
   20244   export COLLECT_NAMES
   20245 fi
   20246 _LT_EOF
   20247     ;;
   20248   esac
   20249 
   20250 
   20251 ltmain="$ac_aux_dir/ltmain.sh"
   20252 
   20253 
   20254   # We use sed instead of cat because bash on DJGPP gets confused if
   20255   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20256   # text mode, it properly converts lines to CR/LF.  This bash problem
   20257   # is reportedly fixed, but why not run on old versions too?
   20258   sed '$q' "$ltmain" >> "$cfgfile" \
   20259      || (rm -f "$cfgfile"; exit 1)
   20260 
   20261   if test x"$xsi_shell" = xyes; then
   20262   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20263 func_dirname ()\
   20264 {\
   20265 \    case ${1} in\
   20266 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20267 \      *  ) func_dirname_result="${3}" ;;\
   20268 \    esac\
   20269 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20270   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20271     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20272 test 0 -eq $? || _lt_function_replace_fail=:
   20273 
   20274 
   20275   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20276 func_basename ()\
   20277 {\
   20278 \    func_basename_result="${1##*/}"\
   20279 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20280   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20281     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20282 test 0 -eq $? || _lt_function_replace_fail=:
   20283 
   20284 
   20285   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20286 func_dirname_and_basename ()\
   20287 {\
   20288 \    case ${1} in\
   20289 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20290 \      *  ) func_dirname_result="${3}" ;;\
   20291 \    esac\
   20292 \    func_basename_result="${1##*/}"\
   20293 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20294   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20295     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20296 test 0 -eq $? || _lt_function_replace_fail=:
   20297 
   20298 
   20299   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20300 func_stripname ()\
   20301 {\
   20302 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20303 \    # positional parameters, so assign one to ordinary parameter first.\
   20304 \    func_stripname_result=${3}\
   20305 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20306 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20307 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20308   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20309     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20310 test 0 -eq $? || _lt_function_replace_fail=:
   20311 
   20312 
   20313   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20314 func_split_long_opt ()\
   20315 {\
   20316 \    func_split_long_opt_name=${1%%=*}\
   20317 \    func_split_long_opt_arg=${1#*=}\
   20318 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20319   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20320     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20321 test 0 -eq $? || _lt_function_replace_fail=:
   20322 
   20323 
   20324   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20325 func_split_short_opt ()\
   20326 {\
   20327 \    func_split_short_opt_arg=${1#??}\
   20328 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20329 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20330   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20331     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20332 test 0 -eq $? || _lt_function_replace_fail=:
   20333 
   20334 
   20335   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20336 func_lo2o ()\
   20337 {\
   20338 \    case ${1} in\
   20339 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20340 \      *)    func_lo2o_result=${1} ;;\
   20341 \    esac\
   20342 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20343   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20344     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20345 test 0 -eq $? || _lt_function_replace_fail=:
   20346 
   20347 
   20348   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20349 func_xform ()\
   20350 {\
   20351     func_xform_result=${1%.*}.lo\
   20352 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20353   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20354     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20355 test 0 -eq $? || _lt_function_replace_fail=:
   20356 
   20357 
   20358   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20359 func_arith ()\
   20360 {\
   20361     func_arith_result=$(( $* ))\
   20362 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20363   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20364     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20365 test 0 -eq $? || _lt_function_replace_fail=:
   20366 
   20367 
   20368   sed -e '/^func_len ()$/,/^} # func_len /c\
   20369 func_len ()\
   20370 {\
   20371     func_len_result=${#1}\
   20372 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20373   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20374     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20375 test 0 -eq $? || _lt_function_replace_fail=:
   20376 
   20377 fi
   20378 
   20379 if test x"$lt_shell_append" = xyes; then
   20380   sed -e '/^func_append ()$/,/^} # func_append /c\
   20381 func_append ()\
   20382 {\
   20383     eval "${1}+=\\${2}"\
   20384 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20385   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20386     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20387 test 0 -eq $? || _lt_function_replace_fail=:
   20388 
   20389 
   20390   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20391 func_append_quoted ()\
   20392 {\
   20393 \    func_quote_for_eval "${2}"\
   20394 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20395 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20396   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20397     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20398 test 0 -eq $? || _lt_function_replace_fail=:
   20399 
   20400 
   20401   # Save a `func_append' function call where possible by direct use of '+='
   20402   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20403     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20404       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20405   test 0 -eq $? || _lt_function_replace_fail=:
   20406 else
   20407   # Save a `func_append' function call even when '+=' is not available
   20408   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20409     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20410       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20411   test 0 -eq $? || _lt_function_replace_fail=:
   20412 fi
   20413 
   20414 if test x"$_lt_function_replace_fail" = x":"; then
   20415   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20416 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20417 fi
   20418 
   20419 
   20420    mv -f "$cfgfile" "$ofile" ||
   20421     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20422   chmod +x "$ofile"
   20423 
   20424  ;;
   20425 
   20426   esac
   20427 done # for ac_tag
   20428 
   20429 
   20430 as_fn_exit 0
   20431 _ACEOF
   20432 ac_clean_files=$ac_clean_files_save
   20433 
   20434 test $ac_write_fail = 0 ||
   20435   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20436 
   20437 
   20438 # configure is writing to config.log, and then calls config.status.
   20439 # config.status does its own redirection, appending to config.log.
   20440 # Unfortunately, on DOS this fails, as config.log is still kept open
   20441 # by configure, so config.status won't be able to write to it; its
   20442 # output is simply discarded.  So we exec the FD to /dev/null,
   20443 # effectively closing config.log, so it can be properly (re)opened and
   20444 # appended to by config.status.  When coming back to configure, we
   20445 # need to make the FD available again.
   20446 if test "$no_create" != yes; then
   20447   ac_cs_success=:
   20448   ac_config_status_args=
   20449   test "$silent" = yes &&
   20450     ac_config_status_args="$ac_config_status_args --quiet"
   20451   exec 5>/dev/null
   20452   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20453   exec 5>>config.log
   20454   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20455   # would make configure fail if this is the last instruction.
   20456   $ac_cs_success || as_fn_exit 1
   20457 fi
   20458 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20459   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20460 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20461 fi
   20462 
   20463