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 libXrender 0.9.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='libXrender'
    593 PACKAGE_TARNAME='libXrender'
    594 PACKAGE_VERSION='0.9.9'
    595 PACKAGE_STRING='libXrender 0.9.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 RENDER_LIBS
    641 RENDER_CFLAGS
    642 RENDER_VERSION
    643 XTMALLOC_ZERO_CFLAGS
    644 XMALLOC_ZERO_CFLAGS
    645 MALLOC_ZERO_CFLAGS
    646 MAN_SUBSTS
    647 XORG_MAN_PAGE
    648 ADMIN_MAN_DIR
    649 DRIVER_MAN_DIR
    650 MISC_MAN_DIR
    651 FILE_MAN_DIR
    652 LIB_MAN_DIR
    653 APP_MAN_DIR
    654 ADMIN_MAN_SUFFIX
    655 DRIVER_MAN_SUFFIX
    656 MISC_MAN_SUFFIX
    657 FILE_MAN_SUFFIX
    658 LIB_MAN_SUFFIX
    659 APP_MAN_SUFFIX
    660 INSTALL_CMD
    661 PKG_CONFIG
    662 CHANGELOG_CMD
    663 STRICT_CFLAGS
    664 CWARNFLAGS
    665 BASE_CFLAGS
    666 CPP
    667 OTOOL64
    668 OTOOL
    669 LIPO
    670 NMEDIT
    671 DSYMUTIL
    672 MANIFEST_TOOL
    673 RANLIB
    674 ac_ct_AR
    675 AR
    676 DLLTOOL
    677 OBJDUMP
    678 LN_S
    679 NM
    680 ac_ct_DUMPBIN
    681 DUMPBIN
    682 LD
    683 FGREP
    684 EGREP
    685 GREP
    686 SED
    687 am__fastdepCC_FALSE
    688 am__fastdepCC_TRUE
    689 CCDEPMODE
    690 am__nodep
    691 AMDEPBACKSLASH
    692 AMDEP_FALSE
    693 AMDEP_TRUE
    694 am__quote
    695 am__include
    696 DEPDIR
    697 OBJEXT
    698 EXEEXT
    699 ac_ct_CC
    700 CPPFLAGS
    701 LDFLAGS
    702 CFLAGS
    703 CC
    704 host_os
    705 host_vendor
    706 host_cpu
    707 host
    708 build_os
    709 build_vendor
    710 build_cpu
    711 build
    712 LIBTOOL
    713 AM_BACKSLASH
    714 AM_DEFAULT_VERBOSITY
    715 AM_DEFAULT_V
    716 AM_V
    717 am__untar
    718 am__tar
    719 AMTAR
    720 am__leading_dot
    721 SET_MAKE
    722 AWK
    723 mkdir_p
    724 MKDIR_P
    725 INSTALL_STRIP_PROGRAM
    726 STRIP
    727 install_sh
    728 MAKEINFO
    729 AUTOHEADER
    730 AUTOMAKE
    731 AUTOCONF
    732 ACLOCAL
    733 VERSION
    734 PACKAGE
    735 CYGPATH_W
    736 am__isrc
    737 INSTALL_DATA
    738 INSTALL_SCRIPT
    739 INSTALL_PROGRAM
    740 target_alias
    741 host_alias
    742 build_alias
    743 LIBS
    744 ECHO_T
    745 ECHO_N
    746 ECHO_C
    747 DEFS
    748 mandir
    749 localedir
    750 libdir
    751 psdir
    752 pdfdir
    753 dvidir
    754 htmldir
    755 infodir
    756 docdir
    757 oldincludedir
    758 includedir
    759 localstatedir
    760 sharedstatedir
    761 sysconfdir
    762 datadir
    763 datarootdir
    764 libexecdir
    765 sbindir
    766 bindir
    767 program_transform_name
    768 prefix
    769 exec_prefix
    770 PACKAGE_URL
    771 PACKAGE_BUGREPORT
    772 PACKAGE_STRING
    773 PACKAGE_VERSION
    774 PACKAGE_TARNAME
    775 PACKAGE_NAME
    776 PATH_SEPARATOR
    777 SHELL'
    778 ac_subst_files=''
    779 ac_user_opts='
    780 enable_option_checking
    781 enable_silent_rules
    782 enable_shared
    783 enable_static
    784 with_pic
    785 enable_fast_install
    786 enable_dependency_tracking
    787 with_gnu_ld
    788 with_sysroot
    789 enable_libtool_lock
    790 enable_selective_werror
    791 enable_strict_compilation
    792 enable_malloc0returnsnull
    793 '
    794       ac_precious_vars='build_alias
    795 host_alias
    796 target_alias
    797 CC
    798 CFLAGS
    799 LDFLAGS
    800 LIBS
    801 CPPFLAGS
    802 CPP
    803 PKG_CONFIG
    804 RENDER_CFLAGS
    805 RENDER_LIBS'
    806 
    807 
    808 # Initialize some variables set by options.
    809 ac_init_help=
    810 ac_init_version=false
    811 ac_unrecognized_opts=
    812 ac_unrecognized_sep=
    813 # The variables have the same names as the options, with
    814 # dashes changed to underlines.
    815 cache_file=/dev/null
    816 exec_prefix=NONE
    817 no_create=
    818 no_recursion=
    819 prefix=NONE
    820 program_prefix=NONE
    821 program_suffix=NONE
    822 program_transform_name=s,x,x,
    823 silent=
    824 site=
    825 srcdir=
    826 verbose=
    827 x_includes=NONE
    828 x_libraries=NONE
    829 
    830 # Installation directory options.
    831 # These are left unexpanded so users can "make install exec_prefix=/foo"
    832 # and all the variables that are supposed to be based on exec_prefix
    833 # by default will actually change.
    834 # Use braces instead of parens because sh, perl, etc. also accept them.
    835 # (The list follows the same order as the GNU Coding Standards.)
    836 bindir='${exec_prefix}/bin'
    837 sbindir='${exec_prefix}/sbin'
    838 libexecdir='${exec_prefix}/libexec'
    839 datarootdir='${prefix}/share'
    840 datadir='${datarootdir}'
    841 sysconfdir='${prefix}/etc'
    842 sharedstatedir='${prefix}/com'
    843 localstatedir='${prefix}/var'
    844 includedir='${prefix}/include'
    845 oldincludedir='/usr/include'
    846 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    847 infodir='${datarootdir}/info'
    848 htmldir='${docdir}'
    849 dvidir='${docdir}'
    850 pdfdir='${docdir}'
    851 psdir='${docdir}'
    852 libdir='${exec_prefix}/lib'
    853 localedir='${datarootdir}/locale'
    854 mandir='${datarootdir}/man'
    855 
    856 ac_prev=
    857 ac_dashdash=
    858 for ac_option
    859 do
    860   # If the previous option needs an argument, assign it.
    861   if test -n "$ac_prev"; then
    862     eval $ac_prev=\$ac_option
    863     ac_prev=
    864     continue
    865   fi
    866 
    867   case $ac_option in
    868   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    869   *=)   ac_optarg= ;;
    870   *)    ac_optarg=yes ;;
    871   esac
    872 
    873   # Accept the important Cygnus configure options, so we can diagnose typos.
    874 
    875   case $ac_dashdash$ac_option in
    876   --)
    877     ac_dashdash=yes ;;
    878 
    879   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    880     ac_prev=bindir ;;
    881   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    882     bindir=$ac_optarg ;;
    883 
    884   -build | --build | --buil | --bui | --bu)
    885     ac_prev=build_alias ;;
    886   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    887     build_alias=$ac_optarg ;;
    888 
    889   -cache-file | --cache-file | --cache-fil | --cache-fi \
    890   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    891     ac_prev=cache_file ;;
    892   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    893   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    894     cache_file=$ac_optarg ;;
    895 
    896   --config-cache | -C)
    897     cache_file=config.cache ;;
    898 
    899   -datadir | --datadir | --datadi | --datad)
    900     ac_prev=datadir ;;
    901   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    902     datadir=$ac_optarg ;;
    903 
    904   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    905   | --dataroo | --dataro | --datar)
    906     ac_prev=datarootdir ;;
    907   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    908   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    909     datarootdir=$ac_optarg ;;
    910 
    911   -disable-* | --disable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: $ac_useropt"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=no ;;
    926 
    927   -docdir | --docdir | --docdi | --doc | --do)
    928     ac_prev=docdir ;;
    929   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    930     docdir=$ac_optarg ;;
    931 
    932   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    933     ac_prev=dvidir ;;
    934   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    935     dvidir=$ac_optarg ;;
    936 
    937   -enable-* | --enable-*)
    938     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    939     # Reject names that are not valid shell variable names.
    940     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    941       as_fn_error $? "invalid feature name: $ac_useropt"
    942     ac_useropt_orig=$ac_useropt
    943     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    944     case $ac_user_opts in
    945       *"
    946 "enable_$ac_useropt"
    947 "*) ;;
    948       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    949 	 ac_unrecognized_sep=', ';;
    950     esac
    951     eval enable_$ac_useropt=\$ac_optarg ;;
    952 
    953   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    954   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    955   | --exec | --exe | --ex)
    956     ac_prev=exec_prefix ;;
    957   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    958   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    959   | --exec=* | --exe=* | --ex=*)
    960     exec_prefix=$ac_optarg ;;
    961 
    962   -gas | --gas | --ga | --g)
    963     # Obsolete; use --with-gas.
    964     with_gas=yes ;;
    965 
    966   -help | --help | --hel | --he | -h)
    967     ac_init_help=long ;;
    968   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    969     ac_init_help=recursive ;;
    970   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    971     ac_init_help=short ;;
    972 
    973   -host | --host | --hos | --ho)
    974     ac_prev=host_alias ;;
    975   -host=* | --host=* | --hos=* | --ho=*)
    976     host_alias=$ac_optarg ;;
    977 
    978   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    979     ac_prev=htmldir ;;
    980   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    981   | --ht=*)
    982     htmldir=$ac_optarg ;;
    983 
    984   -includedir | --includedir | --includedi | --included | --include \
    985   | --includ | --inclu | --incl | --inc)
    986     ac_prev=includedir ;;
    987   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    988   | --includ=* | --inclu=* | --incl=* | --inc=*)
    989     includedir=$ac_optarg ;;
    990 
    991   -infodir | --infodir | --infodi | --infod | --info | --inf)
    992     ac_prev=infodir ;;
    993   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    994     infodir=$ac_optarg ;;
    995 
    996   -libdir | --libdir | --libdi | --libd)
    997     ac_prev=libdir ;;
    998   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    999     libdir=$ac_optarg ;;
   1000 
   1001   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1002   | --libexe | --libex | --libe)
   1003     ac_prev=libexecdir ;;
   1004   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1005   | --libexe=* | --libex=* | --libe=*)
   1006     libexecdir=$ac_optarg ;;
   1007 
   1008   -localedir | --localedir | --localedi | --localed | --locale)
   1009     ac_prev=localedir ;;
   1010   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1011     localedir=$ac_optarg ;;
   1012 
   1013   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1014   | --localstate | --localstat | --localsta | --localst | --locals)
   1015     ac_prev=localstatedir ;;
   1016   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1017   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1018     localstatedir=$ac_optarg ;;
   1019 
   1020   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1021     ac_prev=mandir ;;
   1022   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1023     mandir=$ac_optarg ;;
   1024 
   1025   -nfp | --nfp | --nf)
   1026     # Obsolete; use --without-fp.
   1027     with_fp=no ;;
   1028 
   1029   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1030   | --no-cr | --no-c | -n)
   1031     no_create=yes ;;
   1032 
   1033   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1034   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1035     no_recursion=yes ;;
   1036 
   1037   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1038   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1039   | --oldin | --oldi | --old | --ol | --o)
   1040     ac_prev=oldincludedir ;;
   1041   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1042   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1043   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1044     oldincludedir=$ac_optarg ;;
   1045 
   1046   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1047     ac_prev=prefix ;;
   1048   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1049     prefix=$ac_optarg ;;
   1050 
   1051   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1052   | --program-pre | --program-pr | --program-p)
   1053     ac_prev=program_prefix ;;
   1054   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1055   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1056     program_prefix=$ac_optarg ;;
   1057 
   1058   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1059   | --program-suf | --program-su | --program-s)
   1060     ac_prev=program_suffix ;;
   1061   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1062   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1063     program_suffix=$ac_optarg ;;
   1064 
   1065   -program-transform-name | --program-transform-name \
   1066   | --program-transform-nam | --program-transform-na \
   1067   | --program-transform-n | --program-transform- \
   1068   | --program-transform | --program-transfor \
   1069   | --program-transfo | --program-transf \
   1070   | --program-trans | --program-tran \
   1071   | --progr-tra | --program-tr | --program-t)
   1072     ac_prev=program_transform_name ;;
   1073   -program-transform-name=* | --program-transform-name=* \
   1074   | --program-transform-nam=* | --program-transform-na=* \
   1075   | --program-transform-n=* | --program-transform-=* \
   1076   | --program-transform=* | --program-transfor=* \
   1077   | --program-transfo=* | --program-transf=* \
   1078   | --program-trans=* | --program-tran=* \
   1079   | --progr-tra=* | --program-tr=* | --program-t=*)
   1080     program_transform_name=$ac_optarg ;;
   1081 
   1082   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1083     ac_prev=pdfdir ;;
   1084   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1085     pdfdir=$ac_optarg ;;
   1086 
   1087   -psdir | --psdir | --psdi | --psd | --ps)
   1088     ac_prev=psdir ;;
   1089   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1090     psdir=$ac_optarg ;;
   1091 
   1092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1093   | -silent | --silent | --silen | --sile | --sil)
   1094     silent=yes ;;
   1095 
   1096   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1097     ac_prev=sbindir ;;
   1098   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1099   | --sbi=* | --sb=*)
   1100     sbindir=$ac_optarg ;;
   1101 
   1102   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1103   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1104   | --sharedst | --shareds | --shared | --share | --shar \
   1105   | --sha | --sh)
   1106     ac_prev=sharedstatedir ;;
   1107   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1108   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1109   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1110   | --sha=* | --sh=*)
   1111     sharedstatedir=$ac_optarg ;;
   1112 
   1113   -site | --site | --sit)
   1114     ac_prev=site ;;
   1115   -site=* | --site=* | --sit=*)
   1116     site=$ac_optarg ;;
   1117 
   1118   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1119     ac_prev=srcdir ;;
   1120   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1121     srcdir=$ac_optarg ;;
   1122 
   1123   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1124   | --syscon | --sysco | --sysc | --sys | --sy)
   1125     ac_prev=sysconfdir ;;
   1126   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1127   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1128     sysconfdir=$ac_optarg ;;
   1129 
   1130   -target | --target | --targe | --targ | --tar | --ta | --t)
   1131     ac_prev=target_alias ;;
   1132   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1133     target_alias=$ac_optarg ;;
   1134 
   1135   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1136     verbose=yes ;;
   1137 
   1138   -version | --version | --versio | --versi | --vers | -V)
   1139     ac_init_version=: ;;
   1140 
   1141   -with-* | --with-*)
   1142     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1143     # Reject names that are not valid shell variable names.
   1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1145       as_fn_error $? "invalid package name: $ac_useropt"
   1146     ac_useropt_orig=$ac_useropt
   1147     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1148     case $ac_user_opts in
   1149       *"
   1150 "with_$ac_useropt"
   1151 "*) ;;
   1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1153 	 ac_unrecognized_sep=', ';;
   1154     esac
   1155     eval with_$ac_useropt=\$ac_optarg ;;
   1156 
   1157   -without-* | --without-*)
   1158     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1159     # Reject names that are not valid shell variable names.
   1160     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1161       as_fn_error $? "invalid package name: $ac_useropt"
   1162     ac_useropt_orig=$ac_useropt
   1163     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1164     case $ac_user_opts in
   1165       *"
   1166 "with_$ac_useropt"
   1167 "*) ;;
   1168       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1169 	 ac_unrecognized_sep=', ';;
   1170     esac
   1171     eval with_$ac_useropt=no ;;
   1172 
   1173   --x)
   1174     # Obsolete; use --with-x.
   1175     with_x=yes ;;
   1176 
   1177   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1178   | --x-incl | --x-inc | --x-in | --x-i)
   1179     ac_prev=x_includes ;;
   1180   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1181   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1182     x_includes=$ac_optarg ;;
   1183 
   1184   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1185   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1186     ac_prev=x_libraries ;;
   1187   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1188   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1189     x_libraries=$ac_optarg ;;
   1190 
   1191   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1192 Try \`$0 --help' for more information"
   1193     ;;
   1194 
   1195   *=*)
   1196     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1197     # Reject names that are not valid shell variable names.
   1198     case $ac_envvar in #(
   1199       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1200       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1201     esac
   1202     eval $ac_envvar=\$ac_optarg
   1203     export $ac_envvar ;;
   1204 
   1205   *)
   1206     # FIXME: should be removed in autoconf 3.0.
   1207     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1208     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1209       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1210     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1211     ;;
   1212 
   1213   esac
   1214 done
   1215 
   1216 if test -n "$ac_prev"; then
   1217   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1218   as_fn_error $? "missing argument to $ac_option"
   1219 fi
   1220 
   1221 if test -n "$ac_unrecognized_opts"; then
   1222   case $enable_option_checking in
   1223     no) ;;
   1224     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1225     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1226   esac
   1227 fi
   1228 
   1229 # Check all directory arguments for consistency.
   1230 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1231 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1232 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1233 		libdir localedir mandir
   1234 do
   1235   eval ac_val=\$$ac_var
   1236   # Remove trailing slashes.
   1237   case $ac_val in
   1238     */ )
   1239       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1240       eval $ac_var=\$ac_val;;
   1241   esac
   1242   # Be sure to have absolute directory names.
   1243   case $ac_val in
   1244     [\\/$]* | ?:[\\/]* )  continue;;
   1245     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1246   esac
   1247   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1248 done
   1249 
   1250 # There might be people who depend on the old broken behavior: `$host'
   1251 # used to hold the argument of --host etc.
   1252 # FIXME: To remove some day.
   1253 build=$build_alias
   1254 host=$host_alias
   1255 target=$target_alias
   1256 
   1257 # FIXME: To remove some day.
   1258 if test "x$host_alias" != x; then
   1259   if test "x$build_alias" = x; then
   1260     cross_compiling=maybe
   1261   elif test "x$build_alias" != "x$host_alias"; then
   1262     cross_compiling=yes
   1263   fi
   1264 fi
   1265 
   1266 ac_tool_prefix=
   1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1268 
   1269 test "$silent" = yes && exec 6>/dev/null
   1270 
   1271 
   1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1273 ac_ls_di=`ls -di .` &&
   1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1275   as_fn_error $? "working directory cannot be determined"
   1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1277   as_fn_error $? "pwd does not report name of working directory"
   1278 
   1279 
   1280 # Find the source files, if location was not specified.
   1281 if test -z "$srcdir"; then
   1282   ac_srcdir_defaulted=yes
   1283   # Try the directory containing this script, then the parent directory.
   1284   ac_confdir=`$as_dirname -- "$as_myself" ||
   1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1286 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1287 	 X"$as_myself" : 'X\(//\)$' \| \
   1288 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1289 $as_echo X"$as_myself" |
   1290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\/\)[^/].*/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)$/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\).*/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  s/.*/./; q'`
   1307   srcdir=$ac_confdir
   1308   if test ! -r "$srcdir/$ac_unique_file"; then
   1309     srcdir=..
   1310   fi
   1311 else
   1312   ac_srcdir_defaulted=no
   1313 fi
   1314 if test ! -r "$srcdir/$ac_unique_file"; then
   1315   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1316   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1317 fi
   1318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1319 ac_abs_confdir=`(
   1320 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1321 	pwd)`
   1322 # When building in place, set srcdir=.
   1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1324   srcdir=.
   1325 fi
   1326 # Remove unnecessary trailing slashes from srcdir.
   1327 # Double slashes in file names in object file debugging info
   1328 # mess up M-x gdb in Emacs.
   1329 case $srcdir in
   1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1331 esac
   1332 for ac_var in $ac_precious_vars; do
   1333   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1334   eval ac_env_${ac_var}_value=\$${ac_var}
   1335   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1336   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1337 done
   1338 
   1339 #
   1340 # Report the --help message.
   1341 #
   1342 if test "$ac_init_help" = "long"; then
   1343   # Omit some internal or obsolete options to make the list less imposing.
   1344   # This message is too long to be a string in the A/UX 3.1 sh.
   1345   cat <<_ACEOF
   1346 \`configure' configures libXrender 0.9.9 to adapt to many kinds of systems.
   1347 
   1348 Usage: $0 [OPTION]... [VAR=VALUE]...
   1349 
   1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1352 
   1353 Defaults for the options are specified in brackets.
   1354 
   1355 Configuration:
   1356   -h, --help              display this help and exit
   1357       --help=short        display options specific to this package
   1358       --help=recursive    display the short help of all the included packages
   1359   -V, --version           display version information and exit
   1360   -q, --quiet, --silent   do not print \`checking ...' messages
   1361       --cache-file=FILE   cache test results in FILE [disabled]
   1362   -C, --config-cache      alias for \`--cache-file=config.cache'
   1363   -n, --no-create         do not create output files
   1364       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1365 
   1366 Installation directories:
   1367   --prefix=PREFIX         install architecture-independent files in PREFIX
   1368                           [$ac_default_prefix]
   1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1370                           [PREFIX]
   1371 
   1372 By default, \`make install' will install all the files in
   1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1375 for instance \`--prefix=\$HOME'.
   1376 
   1377 For better control, use the options below.
   1378 
   1379 Fine tuning of the installation directories:
   1380   --bindir=DIR            user executables [EPREFIX/bin]
   1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrender]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of libXrender 0.9.9:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1427   --enable-static[=PKGS]  build static libraries [default=yes]
   1428   --enable-fast-install[=PKGS]
   1429                           optimize for fast installation [default=yes]
   1430   --enable-dependency-tracking
   1431                           do not reject slow dependency extractors
   1432   --disable-dependency-tracking
   1433                           speeds up one-time build
   1434   --disable-libtool-lock  avoid locking (might break parallel builds)
   1435   --disable-selective-werror
   1436                           Turn off selective compiler errors. (default:
   1437                           enabled)
   1438   --enable-strict-compilation
   1439                           Enable all warnings from compiler and make them
   1440                           errors (default: disabled)
   1441   --enable-malloc0returnsnull
   1442                           malloc(0) returns NULL (default: auto)
   1443 
   1444 Optional Packages:
   1445   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1446   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1447   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1448                           both]
   1449   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1450   --with-sysroot=DIR Search for dependent libraries within DIR
   1451                         (or the compiler's sysroot if not specified).
   1452 
   1453 Some influential environment variables:
   1454   CC          C compiler command
   1455   CFLAGS      C compiler flags
   1456   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1457               nonstandard directory <lib dir>
   1458   LIBS        libraries to pass to the linker, e.g. -l<library>
   1459   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1460               you have headers in a nonstandard directory <include dir>
   1461   CPP         C preprocessor
   1462   PKG_CONFIG  path to pkg-config utility
   1463   RENDER_CFLAGS
   1464               C compiler flags for RENDER, overriding pkg-config
   1465   RENDER_LIBS linker flags for RENDER, overriding pkg-config
   1466 
   1467 Use these variables to override the choices made by `configure' or to help
   1468 it to find libraries and programs with nonstandard names/locations.
   1469 
   1470 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1471 _ACEOF
   1472 ac_status=$?
   1473 fi
   1474 
   1475 if test "$ac_init_help" = "recursive"; then
   1476   # If there are subdirs, report their specific --help.
   1477   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1478     test -d "$ac_dir" ||
   1479       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1480       continue
   1481     ac_builddir=.
   1482 
   1483 case "$ac_dir" in
   1484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1485 *)
   1486   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1487   # A ".." for each directory in $ac_dir_suffix.
   1488   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1489   case $ac_top_builddir_sub in
   1490   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1491   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1492   esac ;;
   1493 esac
   1494 ac_abs_top_builddir=$ac_pwd
   1495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1496 # for backward compatibility:
   1497 ac_top_builddir=$ac_top_build_prefix
   1498 
   1499 case $srcdir in
   1500   .)  # We are building in place.
   1501     ac_srcdir=.
   1502     ac_top_srcdir=$ac_top_builddir_sub
   1503     ac_abs_top_srcdir=$ac_pwd ;;
   1504   [\\/]* | ?:[\\/]* )  # Absolute name.
   1505     ac_srcdir=$srcdir$ac_dir_suffix;
   1506     ac_top_srcdir=$srcdir
   1507     ac_abs_top_srcdir=$srcdir ;;
   1508   *) # Relative name.
   1509     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1510     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1511     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1512 esac
   1513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1514 
   1515     cd "$ac_dir" || { ac_status=$?; continue; }
   1516     # Check for guested configure.
   1517     if test -f "$ac_srcdir/configure.gnu"; then
   1518       echo &&
   1519       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1520     elif test -f "$ac_srcdir/configure"; then
   1521       echo &&
   1522       $SHELL "$ac_srcdir/configure" --help=recursive
   1523     else
   1524       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1525     fi || ac_status=$?
   1526     cd "$ac_pwd" || { ac_status=$?; break; }
   1527   done
   1528 fi
   1529 
   1530 test -n "$ac_init_help" && exit $ac_status
   1531 if $ac_init_version; then
   1532   cat <<\_ACEOF
   1533 libXrender configure 0.9.9
   1534 generated by GNU Autoconf 2.69
   1535 
   1536 Copyright (C) 2012 Free Software Foundation, Inc.
   1537 This configure script is free software; the Free Software Foundation
   1538 gives unlimited permission to copy, distribute and modify it.
   1539 _ACEOF
   1540   exit
   1541 fi
   1542 
   1543 ## ------------------------ ##
   1544 ## Autoconf initialization. ##
   1545 ## ------------------------ ##
   1546 
   1547 # ac_fn_c_try_compile LINENO
   1548 # --------------------------
   1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1550 ac_fn_c_try_compile ()
   1551 {
   1552   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1553   rm -f conftest.$ac_objext
   1554   if { { ac_try="$ac_compile"
   1555 case "(($ac_try" in
   1556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1557   *) ac_try_echo=$ac_try;;
   1558 esac
   1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1560 $as_echo "$ac_try_echo"; } >&5
   1561   (eval "$ac_compile") 2>conftest.err
   1562   ac_status=$?
   1563   if test -s conftest.err; then
   1564     grep -v '^ *+' conftest.err >conftest.er1
   1565     cat conftest.er1 >&5
   1566     mv -f conftest.er1 conftest.err
   1567   fi
   1568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1569   test $ac_status = 0; } && {
   1570 	 test -z "$ac_c_werror_flag" ||
   1571 	 test ! -s conftest.err
   1572        } && test -s conftest.$ac_objext; then :
   1573   ac_retval=0
   1574 else
   1575   $as_echo "$as_me: failed program was:" >&5
   1576 sed 's/^/| /' conftest.$ac_ext >&5
   1577 
   1578 	ac_retval=1
   1579 fi
   1580   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1581   as_fn_set_status $ac_retval
   1582 
   1583 } # ac_fn_c_try_compile
   1584 
   1585 # ac_fn_c_try_link LINENO
   1586 # -----------------------
   1587 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1588 ac_fn_c_try_link ()
   1589 {
   1590   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1591   rm -f conftest.$ac_objext conftest$ac_exeext
   1592   if { { ac_try="$ac_link"
   1593 case "(($ac_try" in
   1594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1595   *) ac_try_echo=$ac_try;;
   1596 esac
   1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1598 $as_echo "$ac_try_echo"; } >&5
   1599   (eval "$ac_link") 2>conftest.err
   1600   ac_status=$?
   1601   if test -s conftest.err; then
   1602     grep -v '^ *+' conftest.err >conftest.er1
   1603     cat conftest.er1 >&5
   1604     mv -f conftest.er1 conftest.err
   1605   fi
   1606   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1607   test $ac_status = 0; } && {
   1608 	 test -z "$ac_c_werror_flag" ||
   1609 	 test ! -s conftest.err
   1610        } && test -s conftest$ac_exeext && {
   1611 	 test "$cross_compiling" = yes ||
   1612 	 test -x conftest$ac_exeext
   1613        }; then :
   1614   ac_retval=0
   1615 else
   1616   $as_echo "$as_me: failed program was:" >&5
   1617 sed 's/^/| /' conftest.$ac_ext >&5
   1618 
   1619 	ac_retval=1
   1620 fi
   1621   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1622   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1623   # interfere with the next link command; also delete a directory that is
   1624   # left behind by Apple's compiler.  We do this before executing the actions.
   1625   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1626   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1627   as_fn_set_status $ac_retval
   1628 
   1629 } # ac_fn_c_try_link
   1630 
   1631 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1632 # -------------------------------------------------------
   1633 # Tests whether HEADER exists and can be compiled using the include files in
   1634 # INCLUDES, setting the cache variable VAR accordingly.
   1635 ac_fn_c_check_header_compile ()
   1636 {
   1637   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1639 $as_echo_n "checking for $2... " >&6; }
   1640 if eval \${$3+:} false; then :
   1641   $as_echo_n "(cached) " >&6
   1642 else
   1643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1644 /* end confdefs.h.  */
   1645 $4
   1646 #include <$2>
   1647 _ACEOF
   1648 if ac_fn_c_try_compile "$LINENO"; then :
   1649   eval "$3=yes"
   1650 else
   1651   eval "$3=no"
   1652 fi
   1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1654 fi
   1655 eval ac_res=\$$3
   1656 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1657 $as_echo "$ac_res" >&6; }
   1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1659 
   1660 } # ac_fn_c_check_header_compile
   1661 
   1662 # ac_fn_c_try_cpp LINENO
   1663 # ----------------------
   1664 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1665 ac_fn_c_try_cpp ()
   1666 {
   1667   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1668   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1669 case "(($ac_try" in
   1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1671   *) ac_try_echo=$ac_try;;
   1672 esac
   1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1674 $as_echo "$ac_try_echo"; } >&5
   1675   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1676   ac_status=$?
   1677   if test -s conftest.err; then
   1678     grep -v '^ *+' conftest.err >conftest.er1
   1679     cat conftest.er1 >&5
   1680     mv -f conftest.er1 conftest.err
   1681   fi
   1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1683   test $ac_status = 0; } > conftest.i && {
   1684 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1685 	 test ! -s conftest.err
   1686        }; then :
   1687   ac_retval=0
   1688 else
   1689   $as_echo "$as_me: failed program was:" >&5
   1690 sed 's/^/| /' conftest.$ac_ext >&5
   1691 
   1692     ac_retval=1
   1693 fi
   1694   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1695   as_fn_set_status $ac_retval
   1696 
   1697 } # ac_fn_c_try_cpp
   1698 
   1699 # ac_fn_c_try_run LINENO
   1700 # ----------------------
   1701 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1702 # that executables *can* be run.
   1703 ac_fn_c_try_run ()
   1704 {
   1705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1706   if { { ac_try="$ac_link"
   1707 case "(($ac_try" in
   1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1709   *) ac_try_echo=$ac_try;;
   1710 esac
   1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1712 $as_echo "$ac_try_echo"; } >&5
   1713   (eval "$ac_link") 2>&5
   1714   ac_status=$?
   1715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1716   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   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_try") 2>&5
   1724   ac_status=$?
   1725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1726   test $ac_status = 0; }; }; then :
   1727   ac_retval=0
   1728 else
   1729   $as_echo "$as_me: program exited with status $ac_status" >&5
   1730        $as_echo "$as_me: failed program was:" >&5
   1731 sed 's/^/| /' conftest.$ac_ext >&5
   1732 
   1733        ac_retval=$ac_status
   1734 fi
   1735   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1737   as_fn_set_status $ac_retval
   1738 
   1739 } # ac_fn_c_try_run
   1740 
   1741 # ac_fn_c_check_func LINENO FUNC VAR
   1742 # ----------------------------------
   1743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1744 ac_fn_c_check_func ()
   1745 {
   1746   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1748 $as_echo_n "checking for $2... " >&6; }
   1749 if eval \${$3+:} false; then :
   1750   $as_echo_n "(cached) " >&6
   1751 else
   1752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1753 /* end confdefs.h.  */
   1754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1756 #define $2 innocuous_$2
   1757 
   1758 /* System header to define __stub macros and hopefully few prototypes,
   1759     which can conflict with char $2 (); below.
   1760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1761     <limits.h> exists even on freestanding compilers.  */
   1762 
   1763 #ifdef __STDC__
   1764 # include <limits.h>
   1765 #else
   1766 # include <assert.h>
   1767 #endif
   1768 
   1769 #undef $2
   1770 
   1771 /* Override any GCC internal prototype to avoid an error.
   1772    Use char because int might match the return type of a GCC
   1773    builtin and then its argument prototype would still apply.  */
   1774 #ifdef __cplusplus
   1775 extern "C"
   1776 #endif
   1777 char $2 ();
   1778 /* The GNU C library defines this for functions which it implements
   1779     to always fail with ENOSYS.  Some functions are actually named
   1780     something starting with __ and the normal name is an alias.  */
   1781 #if defined __stub_$2 || defined __stub___$2
   1782 choke me
   1783 #endif
   1784 
   1785 int
   1786 main ()
   1787 {
   1788 return $2 ();
   1789   ;
   1790   return 0;
   1791 }
   1792 _ACEOF
   1793 if ac_fn_c_try_link "$LINENO"; then :
   1794   eval "$3=yes"
   1795 else
   1796   eval "$3=no"
   1797 fi
   1798 rm -f core conftest.err conftest.$ac_objext \
   1799     conftest$ac_exeext conftest.$ac_ext
   1800 fi
   1801 eval ac_res=\$$3
   1802 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1803 $as_echo "$ac_res" >&6; }
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805 
   1806 } # ac_fn_c_check_func
   1807 
   1808 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1809 # ---------------------------------------------
   1810 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1811 # accordingly.
   1812 ac_fn_c_check_decl ()
   1813 {
   1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1815   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1816   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1818 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1819 if eval \${$3+:} false; then :
   1820   $as_echo_n "(cached) " >&6
   1821 else
   1822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1823 /* end confdefs.h.  */
   1824 $4
   1825 int
   1826 main ()
   1827 {
   1828 #ifndef $as_decl_name
   1829 #ifdef __cplusplus
   1830   (void) $as_decl_use;
   1831 #else
   1832   (void) $as_decl_name;
   1833 #endif
   1834 #endif
   1835 
   1836   ;
   1837   return 0;
   1838 }
   1839 _ACEOF
   1840 if ac_fn_c_try_compile "$LINENO"; then :
   1841   eval "$3=yes"
   1842 else
   1843   eval "$3=no"
   1844 fi
   1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1846 fi
   1847 eval ac_res=\$$3
   1848 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1849 $as_echo "$ac_res" >&6; }
   1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1851 
   1852 } # ac_fn_c_check_decl
   1853 cat >config.log <<_ACEOF
   1854 This file contains any messages produced by compilers while
   1855 running configure, to aid debugging if configure makes a mistake.
   1856 
   1857 It was created by libXrender $as_me 0.9.9, which was
   1858 generated by GNU Autoconf 2.69.  Invocation command line was
   1859 
   1860   $ $0 $@
   1861 
   1862 _ACEOF
   1863 exec 5>>config.log
   1864 {
   1865 cat <<_ASUNAME
   1866 ## --------- ##
   1867 ## Platform. ##
   1868 ## --------- ##
   1869 
   1870 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1871 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1872 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1873 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1874 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1875 
   1876 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1877 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1878 
   1879 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1880 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1881 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1882 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1883 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1884 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1885 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1886 
   1887 _ASUNAME
   1888 
   1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1890 for as_dir in $PATH
   1891 do
   1892   IFS=$as_save_IFS
   1893   test -z "$as_dir" && as_dir=.
   1894     $as_echo "PATH: $as_dir"
   1895   done
   1896 IFS=$as_save_IFS
   1897 
   1898 } >&5
   1899 
   1900 cat >&5 <<_ACEOF
   1901 
   1902 
   1903 ## ----------- ##
   1904 ## Core tests. ##
   1905 ## ----------- ##
   1906 
   1907 _ACEOF
   1908 
   1909 
   1910 # Keep a trace of the command line.
   1911 # Strip out --no-create and --no-recursion so they do not pile up.
   1912 # Strip out --silent because we don't want to record it for future runs.
   1913 # Also quote any args containing shell meta-characters.
   1914 # Make two passes to allow for proper duplicate-argument suppression.
   1915 ac_configure_args=
   1916 ac_configure_args0=
   1917 ac_configure_args1=
   1918 ac_must_keep_next=false
   1919 for ac_pass in 1 2
   1920 do
   1921   for ac_arg
   1922   do
   1923     case $ac_arg in
   1924     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1925     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1926     | -silent | --silent | --silen | --sile | --sil)
   1927       continue ;;
   1928     *\'*)
   1929       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1930     esac
   1931     case $ac_pass in
   1932     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1933     2)
   1934       as_fn_append ac_configure_args1 " '$ac_arg'"
   1935       if test $ac_must_keep_next = true; then
   1936 	ac_must_keep_next=false # Got value, back to normal.
   1937       else
   1938 	case $ac_arg in
   1939 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1940 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1941 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1942 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1943 	    case "$ac_configure_args0 " in
   1944 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1945 	    esac
   1946 	    ;;
   1947 	  -* ) ac_must_keep_next=true ;;
   1948 	esac
   1949       fi
   1950       as_fn_append ac_configure_args " '$ac_arg'"
   1951       ;;
   1952     esac
   1953   done
   1954 done
   1955 { ac_configure_args0=; unset ac_configure_args0;}
   1956 { ac_configure_args1=; unset ac_configure_args1;}
   1957 
   1958 # When interrupted or exit'd, cleanup temporary files, and complete
   1959 # config.log.  We remove comments because anyway the quotes in there
   1960 # would cause problems or look ugly.
   1961 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1962 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1963 trap 'exit_status=$?
   1964   # Save into config.log some information that might help in debugging.
   1965   {
   1966     echo
   1967 
   1968     $as_echo "## ---------------- ##
   1969 ## Cache variables. ##
   1970 ## ---------------- ##"
   1971     echo
   1972     # The following way of writing the cache mishandles newlines in values,
   1973 (
   1974   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1975     eval ac_val=\$$ac_var
   1976     case $ac_val in #(
   1977     *${as_nl}*)
   1978       case $ac_var in #(
   1979       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1980 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1981       esac
   1982       case $ac_var in #(
   1983       _ | IFS | as_nl) ;; #(
   1984       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1985       *) { eval $ac_var=; unset $ac_var;} ;;
   1986       esac ;;
   1987     esac
   1988   done
   1989   (set) 2>&1 |
   1990     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1991     *${as_nl}ac_space=\ *)
   1992       sed -n \
   1993 	"s/'\''/'\''\\\\'\'''\''/g;
   1994 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1995       ;; #(
   1996     *)
   1997       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1998       ;;
   1999     esac |
   2000     sort
   2001 )
   2002     echo
   2003 
   2004     $as_echo "## ----------------- ##
   2005 ## Output variables. ##
   2006 ## ----------------- ##"
   2007     echo
   2008     for ac_var in $ac_subst_vars
   2009     do
   2010       eval ac_val=\$$ac_var
   2011       case $ac_val in
   2012       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2013       esac
   2014       $as_echo "$ac_var='\''$ac_val'\''"
   2015     done | sort
   2016     echo
   2017 
   2018     if test -n "$ac_subst_files"; then
   2019       $as_echo "## ------------------- ##
   2020 ## File substitutions. ##
   2021 ## ------------------- ##"
   2022       echo
   2023       for ac_var in $ac_subst_files
   2024       do
   2025 	eval ac_val=\$$ac_var
   2026 	case $ac_val in
   2027 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2028 	esac
   2029 	$as_echo "$ac_var='\''$ac_val'\''"
   2030       done | sort
   2031       echo
   2032     fi
   2033 
   2034     if test -s confdefs.h; then
   2035       $as_echo "## ----------- ##
   2036 ## confdefs.h. ##
   2037 ## ----------- ##"
   2038       echo
   2039       cat confdefs.h
   2040       echo
   2041     fi
   2042     test "$ac_signal" != 0 &&
   2043       $as_echo "$as_me: caught signal $ac_signal"
   2044     $as_echo "$as_me: exit $exit_status"
   2045   } >&5
   2046   rm -f core *.core core.conftest.* &&
   2047     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2048     exit $exit_status
   2049 ' 0
   2050 for ac_signal in 1 2 13 15; do
   2051   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2052 done
   2053 ac_signal=0
   2054 
   2055 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2056 rm -f -r conftest* confdefs.h
   2057 
   2058 $as_echo "/* confdefs.h */" > confdefs.h
   2059 
   2060 # Predefined preprocessor variables.
   2061 
   2062 cat >>confdefs.h <<_ACEOF
   2063 #define PACKAGE_NAME "$PACKAGE_NAME"
   2064 _ACEOF
   2065 
   2066 cat >>confdefs.h <<_ACEOF
   2067 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2068 _ACEOF
   2069 
   2070 cat >>confdefs.h <<_ACEOF
   2071 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2072 _ACEOF
   2073 
   2074 cat >>confdefs.h <<_ACEOF
   2075 #define PACKAGE_STRING "$PACKAGE_STRING"
   2076 _ACEOF
   2077 
   2078 cat >>confdefs.h <<_ACEOF
   2079 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2080 _ACEOF
   2081 
   2082 cat >>confdefs.h <<_ACEOF
   2083 #define PACKAGE_URL "$PACKAGE_URL"
   2084 _ACEOF
   2085 
   2086 
   2087 # Let the site file select an alternate cache file if it wants to.
   2088 # Prefer an explicitly selected file to automatically selected ones.
   2089 ac_site_file1=NONE
   2090 ac_site_file2=NONE
   2091 if test -n "$CONFIG_SITE"; then
   2092   # We do not want a PATH search for config.site.
   2093   case $CONFIG_SITE in #((
   2094     -*)  ac_site_file1=./$CONFIG_SITE;;
   2095     */*) ac_site_file1=$CONFIG_SITE;;
   2096     *)   ac_site_file1=./$CONFIG_SITE;;
   2097   esac
   2098 elif test "x$prefix" != xNONE; then
   2099   ac_site_file1=$prefix/share/config.site
   2100   ac_site_file2=$prefix/etc/config.site
   2101 else
   2102   ac_site_file1=$ac_default_prefix/share/config.site
   2103   ac_site_file2=$ac_default_prefix/etc/config.site
   2104 fi
   2105 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2106 do
   2107   test "x$ac_site_file" = xNONE && continue
   2108   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2109     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2110 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2111     sed 's/^/| /' "$ac_site_file" >&5
   2112     . "$ac_site_file" \
   2113       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2115 as_fn_error $? "failed to load site script $ac_site_file
   2116 See \`config.log' for more details" "$LINENO" 5; }
   2117   fi
   2118 done
   2119 
   2120 if test -r "$cache_file"; then
   2121   # Some versions of bash will fail to source /dev/null (special files
   2122   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2123   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2124     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2125 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2126     case $cache_file in
   2127       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2128       *)                      . "./$cache_file";;
   2129     esac
   2130   fi
   2131 else
   2132   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2133 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2134   >$cache_file
   2135 fi
   2136 
   2137 # Check that the precious variables saved in the cache have kept the same
   2138 # value.
   2139 ac_cache_corrupted=false
   2140 for ac_var in $ac_precious_vars; do
   2141   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2142   eval ac_new_set=\$ac_env_${ac_var}_set
   2143   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2144   eval ac_new_val=\$ac_env_${ac_var}_value
   2145   case $ac_old_set,$ac_new_set in
   2146     set,)
   2147       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2148 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2149       ac_cache_corrupted=: ;;
   2150     ,set)
   2151       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2152 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2153       ac_cache_corrupted=: ;;
   2154     ,);;
   2155     *)
   2156       if test "x$ac_old_val" != "x$ac_new_val"; then
   2157 	# differences in whitespace do not lead to failure.
   2158 	ac_old_val_w=`echo x $ac_old_val`
   2159 	ac_new_val_w=`echo x $ac_new_val`
   2160 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2161 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2162 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2163 	  ac_cache_corrupted=:
   2164 	else
   2165 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2166 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2167 	  eval $ac_var=\$ac_old_val
   2168 	fi
   2169 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2170 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2171 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2172 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2173       fi;;
   2174   esac
   2175   # Pass precious variables to config.status.
   2176   if test "$ac_new_set" = set; then
   2177     case $ac_new_val in
   2178     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2179     *) ac_arg=$ac_var=$ac_new_val ;;
   2180     esac
   2181     case " $ac_configure_args " in
   2182       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2183       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2184     esac
   2185   fi
   2186 done
   2187 if $ac_cache_corrupted; then
   2188   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2190   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2191 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2192   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2193 fi
   2194 ## -------------------- ##
   2195 ## Main body of script. ##
   2196 ## -------------------- ##
   2197 
   2198 ac_ext=c
   2199 ac_cpp='$CPP $CPPFLAGS'
   2200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2203 
   2204 
   2205 
   2206 ac_config_headers="$ac_config_headers config.h"
   2207 
   2208 
   2209 # Initialize Automake
   2210 am__api_version='1.15'
   2211 
   2212 ac_aux_dir=
   2213 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2214   if test -f "$ac_dir/install-sh"; then
   2215     ac_aux_dir=$ac_dir
   2216     ac_install_sh="$ac_aux_dir/install-sh -c"
   2217     break
   2218   elif test -f "$ac_dir/install.sh"; then
   2219     ac_aux_dir=$ac_dir
   2220     ac_install_sh="$ac_aux_dir/install.sh -c"
   2221     break
   2222   elif test -f "$ac_dir/shtool"; then
   2223     ac_aux_dir=$ac_dir
   2224     ac_install_sh="$ac_aux_dir/shtool install -c"
   2225     break
   2226   fi
   2227 done
   2228 if test -z "$ac_aux_dir"; then
   2229   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2230 fi
   2231 
   2232 # These three variables are undocumented and unsupported,
   2233 # and are intended to be withdrawn in a future Autoconf release.
   2234 # They can cause serious problems if a builder's source tree is in a directory
   2235 # whose full name contains unusual characters.
   2236 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2237 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2238 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2239 
   2240 
   2241 # Find a good install program.  We prefer a C program (faster),
   2242 # so one script is as good as another.  But avoid the broken or
   2243 # incompatible versions:
   2244 # SysV /etc/install, /usr/sbin/install
   2245 # SunOS /usr/etc/install
   2246 # IRIX /sbin/install
   2247 # AIX /bin/install
   2248 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2249 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2250 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2251 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2252 # OS/2's system install, which has a completely different semantic
   2253 # ./install, which can be erroneously created by make from ./install.sh.
   2254 # Reject install programs that cannot install multiple files.
   2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2256 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2257 if test -z "$INSTALL"; then
   2258 if ${ac_cv_path_install+:} false; then :
   2259   $as_echo_n "(cached) " >&6
   2260 else
   2261   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2262 for as_dir in $PATH
   2263 do
   2264   IFS=$as_save_IFS
   2265   test -z "$as_dir" && as_dir=.
   2266     # Account for people who put trailing slashes in PATH elements.
   2267 case $as_dir/ in #((
   2268   ./ | .// | /[cC]/* | \
   2269   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2270   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2271   /usr/ucb/* ) ;;
   2272   *)
   2273     # OSF1 and SCO ODT 3.0 have their own names for install.
   2274     # Don't use installbsd from OSF since it installs stuff as root
   2275     # by default.
   2276     for ac_prog in ginstall scoinst install; do
   2277       for ac_exec_ext in '' $ac_executable_extensions; do
   2278 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2279 	  if test $ac_prog = install &&
   2280 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2281 	    # AIX install.  It has an incompatible calling convention.
   2282 	    :
   2283 	  elif test $ac_prog = install &&
   2284 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2285 	    # program-specific install script used by HP pwplus--don't use.
   2286 	    :
   2287 	  else
   2288 	    rm -rf conftest.one conftest.two conftest.dir
   2289 	    echo one > conftest.one
   2290 	    echo two > conftest.two
   2291 	    mkdir conftest.dir
   2292 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2293 	      test -s conftest.one && test -s conftest.two &&
   2294 	      test -s conftest.dir/conftest.one &&
   2295 	      test -s conftest.dir/conftest.two
   2296 	    then
   2297 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2298 	      break 3
   2299 	    fi
   2300 	  fi
   2301 	fi
   2302       done
   2303     done
   2304     ;;
   2305 esac
   2306 
   2307   done
   2308 IFS=$as_save_IFS
   2309 
   2310 rm -rf conftest.one conftest.two conftest.dir
   2311 
   2312 fi
   2313   if test "${ac_cv_path_install+set}" = set; then
   2314     INSTALL=$ac_cv_path_install
   2315   else
   2316     # As a last resort, use the slow shell script.  Don't cache a
   2317     # value for INSTALL within a source directory, because that will
   2318     # break other packages using the cache if that directory is
   2319     # removed, or if the value is a relative name.
   2320     INSTALL=$ac_install_sh
   2321   fi
   2322 fi
   2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2324 $as_echo "$INSTALL" >&6; }
   2325 
   2326 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2327 # It thinks the first close brace ends the variable substitution.
   2328 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2329 
   2330 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2331 
   2332 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2333 
   2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2335 $as_echo_n "checking whether build environment is sane... " >&6; }
   2336 # Reject unsafe characters in $srcdir or the absolute working directory
   2337 # name.  Accept space and tab only in the latter.
   2338 am_lf='
   2339 '
   2340 case `pwd` in
   2341   *[\\\"\#\$\&\'\`$am_lf]*)
   2342     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2343 esac
   2344 case $srcdir in
   2345   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2346     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2347 esac
   2348 
   2349 # Do 'set' in a subshell so we don't clobber the current shell's
   2350 # arguments.  Must try -L first in case configure is actually a
   2351 # symlink; some systems play weird games with the mod time of symlinks
   2352 # (eg FreeBSD returns the mod time of the symlink's containing
   2353 # directory).
   2354 if (
   2355    am_has_slept=no
   2356    for am_try in 1 2; do
   2357      echo "timestamp, slept: $am_has_slept" > conftest.file
   2358      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2359      if test "$*" = "X"; then
   2360 	# -L didn't work.
   2361 	set X `ls -t "$srcdir/configure" conftest.file`
   2362      fi
   2363      if test "$*" != "X $srcdir/configure conftest.file" \
   2364 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2365 
   2366 	# If neither matched, then we have a broken ls.  This can happen
   2367 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2368 	# broken ls alias from the environment.  This has actually
   2369 	# happened.  Such a system could not be considered "sane".
   2370 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2371   alias in your environment" "$LINENO" 5
   2372      fi
   2373      if test "$2" = conftest.file || test $am_try -eq 2; then
   2374        break
   2375      fi
   2376      # Just in case.
   2377      sleep 1
   2378      am_has_slept=yes
   2379    done
   2380    test "$2" = conftest.file
   2381    )
   2382 then
   2383    # Ok.
   2384    :
   2385 else
   2386    as_fn_error $? "newly created file is older than distributed files!
   2387 Check your system clock" "$LINENO" 5
   2388 fi
   2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2390 $as_echo "yes" >&6; }
   2391 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2392 # generated files are strictly newer.
   2393 am_sleep_pid=
   2394 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2395   ( sleep 1 ) &
   2396   am_sleep_pid=$!
   2397 fi
   2398 
   2399 rm -f conftest.file
   2400 
   2401 test "$program_prefix" != NONE &&
   2402   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2403 # Use a double $ so make ignores it.
   2404 test "$program_suffix" != NONE &&
   2405   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2406 # Double any \ or $.
   2407 # By default was `s,x,x', remove it if useless.
   2408 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2409 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2410 
   2411 # Expand $ac_aux_dir to an absolute path.
   2412 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2413 
   2414 if test x"${MISSING+set}" != xset; then
   2415   case $am_aux_dir in
   2416   *\ * | *\	*)
   2417     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2418   *)
   2419     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2420   esac
   2421 fi
   2422 # Use eval to expand $SHELL
   2423 if eval "$MISSING --is-lightweight"; then
   2424   am_missing_run="$MISSING "
   2425 else
   2426   am_missing_run=
   2427   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2428 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2429 fi
   2430 
   2431 if test x"${install_sh+set}" != xset; then
   2432   case $am_aux_dir in
   2433   *\ * | *\	*)
   2434     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2435   *)
   2436     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2437   esac
   2438 fi
   2439 
   2440 # Installed binaries are usually stripped using 'strip' when the user
   2441 # run "make install-strip".  However 'strip' might not be the right
   2442 # tool to use in cross-compilation environments, therefore Automake
   2443 # will honor the 'STRIP' environment variable to overrule this program.
   2444 if test "$cross_compiling" != no; then
   2445   if test -n "$ac_tool_prefix"; then
   2446   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2447 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2449 $as_echo_n "checking for $ac_word... " >&6; }
   2450 if ${ac_cv_prog_STRIP+:} false; then :
   2451   $as_echo_n "(cached) " >&6
   2452 else
   2453   if test -n "$STRIP"; then
   2454   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2455 else
   2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2457 for as_dir in $PATH
   2458 do
   2459   IFS=$as_save_IFS
   2460   test -z "$as_dir" && as_dir=.
   2461     for ac_exec_ext in '' $ac_executable_extensions; do
   2462   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2463     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2465     break 2
   2466   fi
   2467 done
   2468   done
   2469 IFS=$as_save_IFS
   2470 
   2471 fi
   2472 fi
   2473 STRIP=$ac_cv_prog_STRIP
   2474 if test -n "$STRIP"; then
   2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2476 $as_echo "$STRIP" >&6; }
   2477 else
   2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2479 $as_echo "no" >&6; }
   2480 fi
   2481 
   2482 
   2483 fi
   2484 if test -z "$ac_cv_prog_STRIP"; then
   2485   ac_ct_STRIP=$STRIP
   2486   # Extract the first word of "strip", so it can be a program name with args.
   2487 set dummy strip; ac_word=$2
   2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2489 $as_echo_n "checking for $ac_word... " >&6; }
   2490 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2491   $as_echo_n "(cached) " >&6
   2492 else
   2493   if test -n "$ac_ct_STRIP"; then
   2494   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2495 else
   2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2497 for as_dir in $PATH
   2498 do
   2499   IFS=$as_save_IFS
   2500   test -z "$as_dir" && as_dir=.
   2501     for ac_exec_ext in '' $ac_executable_extensions; do
   2502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2503     ac_cv_prog_ac_ct_STRIP="strip"
   2504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2505     break 2
   2506   fi
   2507 done
   2508   done
   2509 IFS=$as_save_IFS
   2510 
   2511 fi
   2512 fi
   2513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2514 if test -n "$ac_ct_STRIP"; then
   2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2516 $as_echo "$ac_ct_STRIP" >&6; }
   2517 else
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2519 $as_echo "no" >&6; }
   2520 fi
   2521 
   2522   if test "x$ac_ct_STRIP" = x; then
   2523     STRIP=":"
   2524   else
   2525     case $cross_compiling:$ac_tool_warned in
   2526 yes:)
   2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2529 ac_tool_warned=yes ;;
   2530 esac
   2531     STRIP=$ac_ct_STRIP
   2532   fi
   2533 else
   2534   STRIP="$ac_cv_prog_STRIP"
   2535 fi
   2536 
   2537 fi
   2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2539 
   2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2541 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2542 if test -z "$MKDIR_P"; then
   2543   if ${ac_cv_path_mkdir+:} false; then :
   2544   $as_echo_n "(cached) " >&6
   2545 else
   2546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2547 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2548 do
   2549   IFS=$as_save_IFS
   2550   test -z "$as_dir" && as_dir=.
   2551     for ac_prog in mkdir gmkdir; do
   2552 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2553 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2554 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2555 	     'mkdir (GNU coreutils) '* | \
   2556 	     'mkdir (coreutils) '* | \
   2557 	     'mkdir (fileutils) '4.1*)
   2558 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2559 	       break 3;;
   2560 	   esac
   2561 	 done
   2562        done
   2563   done
   2564 IFS=$as_save_IFS
   2565 
   2566 fi
   2567 
   2568   test -d ./--version && rmdir ./--version
   2569   if test "${ac_cv_path_mkdir+set}" = set; then
   2570     MKDIR_P="$ac_cv_path_mkdir -p"
   2571   else
   2572     # As a last resort, use the slow shell script.  Don't cache a
   2573     # value for MKDIR_P within a source directory, because that will
   2574     # break other packages using the cache if that directory is
   2575     # removed, or if the value is a relative name.
   2576     MKDIR_P="$ac_install_sh -d"
   2577   fi
   2578 fi
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2580 $as_echo "$MKDIR_P" >&6; }
   2581 
   2582 for ac_prog in gawk mawk nawk awk
   2583 do
   2584   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2585 set dummy $ac_prog; ac_word=$2
   2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2587 $as_echo_n "checking for $ac_word... " >&6; }
   2588 if ${ac_cv_prog_AWK+:} false; then :
   2589   $as_echo_n "(cached) " >&6
   2590 else
   2591   if test -n "$AWK"; then
   2592   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2593 else
   2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2595 for as_dir in $PATH
   2596 do
   2597   IFS=$as_save_IFS
   2598   test -z "$as_dir" && as_dir=.
   2599     for ac_exec_ext in '' $ac_executable_extensions; do
   2600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2601     ac_cv_prog_AWK="$ac_prog"
   2602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2603     break 2
   2604   fi
   2605 done
   2606   done
   2607 IFS=$as_save_IFS
   2608 
   2609 fi
   2610 fi
   2611 AWK=$ac_cv_prog_AWK
   2612 if test -n "$AWK"; then
   2613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2614 $as_echo "$AWK" >&6; }
   2615 else
   2616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2617 $as_echo "no" >&6; }
   2618 fi
   2619 
   2620 
   2621   test -n "$AWK" && break
   2622 done
   2623 
   2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2625 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2626 set x ${MAKE-make}
   2627 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2628 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2629   $as_echo_n "(cached) " >&6
   2630 else
   2631   cat >conftest.make <<\_ACEOF
   2632 SHELL = /bin/sh
   2633 all:
   2634 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2635 _ACEOF
   2636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2637 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2638   *@@@%%%=?*=@@@%%%*)
   2639     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2640   *)
   2641     eval ac_cv_prog_make_${ac_make}_set=no;;
   2642 esac
   2643 rm -f conftest.make
   2644 fi
   2645 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2647 $as_echo "yes" >&6; }
   2648   SET_MAKE=
   2649 else
   2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2651 $as_echo "no" >&6; }
   2652   SET_MAKE="MAKE=${MAKE-make}"
   2653 fi
   2654 
   2655 rm -rf .tst 2>/dev/null
   2656 mkdir .tst 2>/dev/null
   2657 if test -d .tst; then
   2658   am__leading_dot=.
   2659 else
   2660   am__leading_dot=_
   2661 fi
   2662 rmdir .tst 2>/dev/null
   2663 
   2664 # Check whether --enable-silent-rules was given.
   2665 if test "${enable_silent_rules+set}" = set; then :
   2666   enableval=$enable_silent_rules;
   2667 fi
   2668 
   2669 case $enable_silent_rules in # (((
   2670   yes) AM_DEFAULT_VERBOSITY=0;;
   2671    no) AM_DEFAULT_VERBOSITY=1;;
   2672     *) AM_DEFAULT_VERBOSITY=1;;
   2673 esac
   2674 am_make=${MAKE-make}
   2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2676 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2677 if ${am_cv_make_support_nested_variables+:} false; then :
   2678   $as_echo_n "(cached) " >&6
   2679 else
   2680   if $as_echo 'TRUE=$(BAR$(V))
   2681 BAR0=false
   2682 BAR1=true
   2683 V=1
   2684 am__doit:
   2685 	@$(TRUE)
   2686 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2687   am_cv_make_support_nested_variables=yes
   2688 else
   2689   am_cv_make_support_nested_variables=no
   2690 fi
   2691 fi
   2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2693 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2694 if test $am_cv_make_support_nested_variables = yes; then
   2695     AM_V='$(V)'
   2696   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2697 else
   2698   AM_V=$AM_DEFAULT_VERBOSITY
   2699   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2700 fi
   2701 AM_BACKSLASH='\'
   2702 
   2703 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2704   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2705   # is not polluted with repeated "-I."
   2706   am__isrc=' -I$(srcdir)'
   2707   # test to see if srcdir already configured
   2708   if test -f $srcdir/config.status; then
   2709     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2710   fi
   2711 fi
   2712 
   2713 # test whether we have cygpath
   2714 if test -z "$CYGPATH_W"; then
   2715   if (cygpath --version) >/dev/null 2>/dev/null; then
   2716     CYGPATH_W='cygpath -w'
   2717   else
   2718     CYGPATH_W=echo
   2719   fi
   2720 fi
   2721 
   2722 
   2723 # Define the identity of the package.
   2724  PACKAGE='libXrender'
   2725  VERSION='0.9.9'
   2726 
   2727 
   2728 cat >>confdefs.h <<_ACEOF
   2729 #define PACKAGE "$PACKAGE"
   2730 _ACEOF
   2731 
   2732 
   2733 cat >>confdefs.h <<_ACEOF
   2734 #define VERSION "$VERSION"
   2735 _ACEOF
   2736 
   2737 # Some tools Automake needs.
   2738 
   2739 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2740 
   2741 
   2742 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2743 
   2744 
   2745 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2746 
   2747 
   2748 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2749 
   2750 
   2751 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2752 
   2753 # For better backward compatibility.  To be removed once Automake 1.9.x
   2754 # dies out for good.  For more background, see:
   2755 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2756 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2757 mkdir_p='$(MKDIR_P)'
   2758 
   2759 # We need awk for the "check" target (and possibly the TAP driver).  The
   2760 # system "awk" is bad on some platforms.
   2761 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2762 # in the wild :-(  We should find a proper way to deprecate it ...
   2763 AMTAR='$${TAR-tar}'
   2764 
   2765 
   2766 # We'll loop over all known methods to create a tar archive until one works.
   2767 _am_tools='gnutar  pax cpio none'
   2768 
   2769 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2770 
   2771 
   2772 
   2773 
   2774 
   2775 
   2776 # POSIX will say in a future version that running "rm -f" with no argument
   2777 # is OK; and we want to be able to make that assumption in our Makefile
   2778 # recipes.  So use an aggressive probe to check that the usage we want is
   2779 # actually supported "in the wild" to an acceptable degree.
   2780 # See automake bug#10828.
   2781 # To make any issue more visible, cause the running configure to be aborted
   2782 # by default if the 'rm' program in use doesn't match our expectations; the
   2783 # user can still override this though.
   2784 if rm -f && rm -fr && rm -rf; then : OK; else
   2785   cat >&2 <<'END'
   2786 Oops!
   2787 
   2788 Your 'rm' program seems unable to run without file operands specified
   2789 on the command line, even when the '-f' option is present.  This is contrary
   2790 to the behaviour of most rm programs out there, and not conforming with
   2791 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2792 
   2793 Please tell bug-automake@gnu.org about your system, including the value
   2794 of your $PATH and any error possibly output before this message.  This
   2795 can help us improve future automake versions.
   2796 
   2797 END
   2798   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2799     echo 'Configuration will proceed anyway, since you have set the' >&2
   2800     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2801     echo >&2
   2802   else
   2803     cat >&2 <<'END'
   2804 Aborting the configuration process, to ensure you take notice of the issue.
   2805 
   2806 You can download and install GNU coreutils to get an 'rm' implementation
   2807 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2808 
   2809 If you want to complete the configuration process using your problematic
   2810 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2811 to "yes", and re-run configure.
   2812 
   2813 END
   2814     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2815   fi
   2816 fi
   2817 
   2818 
   2819 # Initialize libtool
   2820 case `pwd` in
   2821   *\ * | *\	*)
   2822     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2823 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2824 esac
   2825 
   2826 
   2827 
   2828 macro_version='2.4.2'
   2829 macro_revision='1.3337'
   2830 
   2831 
   2832 
   2833 
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 
   2841 
   2842 
   2843 ltmain="$ac_aux_dir/ltmain.sh"
   2844 
   2845 # Make sure we can run config.sub.
   2846 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2847   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2848 
   2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2850 $as_echo_n "checking build system type... " >&6; }
   2851 if ${ac_cv_build+:} false; then :
   2852   $as_echo_n "(cached) " >&6
   2853 else
   2854   ac_build_alias=$build_alias
   2855 test "x$ac_build_alias" = x &&
   2856   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2857 test "x$ac_build_alias" = x &&
   2858   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2859 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2860   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2861 
   2862 fi
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2864 $as_echo "$ac_cv_build" >&6; }
   2865 case $ac_cv_build in
   2866 *-*-*) ;;
   2867 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2868 esac
   2869 build=$ac_cv_build
   2870 ac_save_IFS=$IFS; IFS='-'
   2871 set x $ac_cv_build
   2872 shift
   2873 build_cpu=$1
   2874 build_vendor=$2
   2875 shift; shift
   2876 # Remember, the first character of IFS is used to create $*,
   2877 # except with old shells:
   2878 build_os=$*
   2879 IFS=$ac_save_IFS
   2880 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2881 
   2882 
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2884 $as_echo_n "checking host system type... " >&6; }
   2885 if ${ac_cv_host+:} false; then :
   2886   $as_echo_n "(cached) " >&6
   2887 else
   2888   if test "x$host_alias" = x; then
   2889   ac_cv_host=$ac_cv_build
   2890 else
   2891   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2892     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2893 fi
   2894 
   2895 fi
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2897 $as_echo "$ac_cv_host" >&6; }
   2898 case $ac_cv_host in
   2899 *-*-*) ;;
   2900 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2901 esac
   2902 host=$ac_cv_host
   2903 ac_save_IFS=$IFS; IFS='-'
   2904 set x $ac_cv_host
   2905 shift
   2906 host_cpu=$1
   2907 host_vendor=$2
   2908 shift; shift
   2909 # Remember, the first character of IFS is used to create $*,
   2910 # except with old shells:
   2911 host_os=$*
   2912 IFS=$ac_save_IFS
   2913 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2914 
   2915 
   2916 # Backslashify metacharacters that are still active within
   2917 # double-quoted strings.
   2918 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2919 
   2920 # Same as above, but do not quote variable references.
   2921 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2922 
   2923 # Sed substitution to delay expansion of an escaped shell variable in a
   2924 # double_quote_subst'ed string.
   2925 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2926 
   2927 # Sed substitution to delay expansion of an escaped single quote.
   2928 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2929 
   2930 # Sed substitution to avoid accidental globbing in evaled expressions
   2931 no_glob_subst='s/\*/\\\*/g'
   2932 
   2933 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2934 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2935 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2936 
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2938 $as_echo_n "checking how to print strings... " >&6; }
   2939 # Test print first, because it will be a builtin if present.
   2940 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2941    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2942   ECHO='print -r --'
   2943 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2944   ECHO='printf %s\n'
   2945 else
   2946   # Use this function as a fallback that always works.
   2947   func_fallback_echo ()
   2948   {
   2949     eval 'cat <<_LTECHO_EOF
   2950 $1
   2951 _LTECHO_EOF'
   2952   }
   2953   ECHO='func_fallback_echo'
   2954 fi
   2955 
   2956 # func_echo_all arg...
   2957 # Invoke $ECHO with all args, space-separated.
   2958 func_echo_all ()
   2959 {
   2960     $ECHO ""
   2961 }
   2962 
   2963 case "$ECHO" in
   2964   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2965 $as_echo "printf" >&6; } ;;
   2966   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2967 $as_echo "print -r" >&6; } ;;
   2968   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2969 $as_echo "cat" >&6; } ;;
   2970 esac
   2971 
   2972 
   2973 
   2974 
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 DEPDIR="${am__leading_dot}deps"
   2986 
   2987 ac_config_commands="$ac_config_commands depfiles"
   2988 
   2989 
   2990 am_make=${MAKE-make}
   2991 cat > confinc << 'END'
   2992 am__doit:
   2993 	@echo this is the am__doit target
   2994 .PHONY: am__doit
   2995 END
   2996 # If we don't find an include directive, just comment out the code.
   2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2998 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2999 am__include="#"
   3000 am__quote=
   3001 _am_result=none
   3002 # First try GNU make style include.
   3003 echo "include confinc" > confmf
   3004 # Ignore all kinds of additional output from 'make'.
   3005 case `$am_make -s -f confmf 2> /dev/null` in #(
   3006 *the\ am__doit\ target*)
   3007   am__include=include
   3008   am__quote=
   3009   _am_result=GNU
   3010   ;;
   3011 esac
   3012 # Now try BSD make style include.
   3013 if test "$am__include" = "#"; then
   3014    echo '.include "confinc"' > confmf
   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=BSD
   3020      ;;
   3021    esac
   3022 fi
   3023 
   3024 
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3026 $as_echo "$_am_result" >&6; }
   3027 rm -f confinc confmf
   3028 
   3029 # Check whether --enable-dependency-tracking was given.
   3030 if test "${enable_dependency_tracking+set}" = set; then :
   3031   enableval=$enable_dependency_tracking;
   3032 fi
   3033 
   3034 if test "x$enable_dependency_tracking" != xno; then
   3035   am_depcomp="$ac_aux_dir/depcomp"
   3036   AMDEPBACKSLASH='\'
   3037   am__nodep='_no'
   3038 fi
   3039  if test "x$enable_dependency_tracking" != xno; then
   3040   AMDEP_TRUE=
   3041   AMDEP_FALSE='#'
   3042 else
   3043   AMDEP_TRUE='#'
   3044   AMDEP_FALSE=
   3045 fi
   3046 
   3047 
   3048 ac_ext=c
   3049 ac_cpp='$CPP $CPPFLAGS'
   3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3053 if test -n "$ac_tool_prefix"; then
   3054   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3055 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3057 $as_echo_n "checking for $ac_word... " >&6; }
   3058 if ${ac_cv_prog_CC+:} false; then :
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   if test -n "$CC"; then
   3062   ac_cv_prog_CC="$CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   test -z "$as_dir" && as_dir=.
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi
   3080 fi
   3081 CC=$ac_cv_prog_CC
   3082 if test -n "$CC"; then
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3084 $as_echo "$CC" >&6; }
   3085 else
   3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 $as_echo "no" >&6; }
   3088 fi
   3089 
   3090 
   3091 fi
   3092 if test -z "$ac_cv_prog_CC"; then
   3093   ac_ct_CC=$CC
   3094   # Extract the first word of "gcc", so it can be a program name with args.
   3095 set dummy gcc; ac_word=$2
   3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3097 $as_echo_n "checking for $ac_word... " >&6; }
   3098 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3099   $as_echo_n "(cached) " >&6
   3100 else
   3101   if test -n "$ac_ct_CC"; then
   3102   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3103 else
   3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3105 for as_dir in $PATH
   3106 do
   3107   IFS=$as_save_IFS
   3108   test -z "$as_dir" && as_dir=.
   3109     for ac_exec_ext in '' $ac_executable_extensions; do
   3110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3111     ac_cv_prog_ac_ct_CC="gcc"
   3112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3113     break 2
   3114   fi
   3115 done
   3116   done
   3117 IFS=$as_save_IFS
   3118 
   3119 fi
   3120 fi
   3121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3122 if test -n "$ac_ct_CC"; then
   3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3124 $as_echo "$ac_ct_CC" >&6; }
   3125 else
   3126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3127 $as_echo "no" >&6; }
   3128 fi
   3129 
   3130   if test "x$ac_ct_CC" = x; then
   3131     CC=""
   3132   else
   3133     case $cross_compiling:$ac_tool_warned in
   3134 yes:)
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3137 ac_tool_warned=yes ;;
   3138 esac
   3139     CC=$ac_ct_CC
   3140   fi
   3141 else
   3142   CC="$ac_cv_prog_CC"
   3143 fi
   3144 
   3145 if test -z "$CC"; then
   3146           if test -n "$ac_tool_prefix"; then
   3147     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3148 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3150 $as_echo_n "checking for $ac_word... " >&6; }
   3151 if ${ac_cv_prog_CC+:} false; then :
   3152   $as_echo_n "(cached) " >&6
   3153 else
   3154   if test -n "$CC"; then
   3155   ac_cv_prog_CC="$CC" # Let the user override the test.
   3156 else
   3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3158 for as_dir in $PATH
   3159 do
   3160   IFS=$as_save_IFS
   3161   test -z "$as_dir" && as_dir=.
   3162     for ac_exec_ext in '' $ac_executable_extensions; do
   3163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3164     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3166     break 2
   3167   fi
   3168 done
   3169   done
   3170 IFS=$as_save_IFS
   3171 
   3172 fi
   3173 fi
   3174 CC=$ac_cv_prog_CC
   3175 if test -n "$CC"; then
   3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3177 $as_echo "$CC" >&6; }
   3178 else
   3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3180 $as_echo "no" >&6; }
   3181 fi
   3182 
   3183 
   3184   fi
   3185 fi
   3186 if test -z "$CC"; then
   3187   # Extract the first word of "cc", so it can be a program name with args.
   3188 set dummy cc; ac_word=$2
   3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3190 $as_echo_n "checking for $ac_word... " >&6; }
   3191 if ${ac_cv_prog_CC+:} false; then :
   3192   $as_echo_n "(cached) " >&6
   3193 else
   3194   if test -n "$CC"; then
   3195   ac_cv_prog_CC="$CC" # Let the user override the test.
   3196 else
   3197   ac_prog_rejected=no
   3198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3199 for as_dir in $PATH
   3200 do
   3201   IFS=$as_save_IFS
   3202   test -z "$as_dir" && as_dir=.
   3203     for ac_exec_ext in '' $ac_executable_extensions; do
   3204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3205     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3206        ac_prog_rejected=yes
   3207        continue
   3208      fi
   3209     ac_cv_prog_CC="cc"
   3210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3211     break 2
   3212   fi
   3213 done
   3214   done
   3215 IFS=$as_save_IFS
   3216 
   3217 if test $ac_prog_rejected = yes; then
   3218   # We found a bogon in the path, so make sure we never use it.
   3219   set dummy $ac_cv_prog_CC
   3220   shift
   3221   if test $# != 0; then
   3222     # We chose a different compiler from the bogus one.
   3223     # However, it has the same basename, so the bogon will be chosen
   3224     # first if we set CC to just the basename; use the full file name.
   3225     shift
   3226     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3227   fi
   3228 fi
   3229 fi
   3230 fi
   3231 CC=$ac_cv_prog_CC
   3232 if test -n "$CC"; then
   3233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3234 $as_echo "$CC" >&6; }
   3235 else
   3236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3237 $as_echo "no" >&6; }
   3238 fi
   3239 
   3240 
   3241 fi
   3242 if test -z "$CC"; then
   3243   if test -n "$ac_tool_prefix"; then
   3244   for ac_prog in cl.exe
   3245   do
   3246     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3247 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3249 $as_echo_n "checking for $ac_word... " >&6; }
   3250 if ${ac_cv_prog_CC+:} false; then :
   3251   $as_echo_n "(cached) " >&6
   3252 else
   3253   if test -n "$CC"; then
   3254   ac_cv_prog_CC="$CC" # Let the user override the test.
   3255 else
   3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3257 for as_dir in $PATH
   3258 do
   3259   IFS=$as_save_IFS
   3260   test -z "$as_dir" && as_dir=.
   3261     for ac_exec_ext in '' $ac_executable_extensions; do
   3262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3263     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3265     break 2
   3266   fi
   3267 done
   3268   done
   3269 IFS=$as_save_IFS
   3270 
   3271 fi
   3272 fi
   3273 CC=$ac_cv_prog_CC
   3274 if test -n "$CC"; then
   3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3276 $as_echo "$CC" >&6; }
   3277 else
   3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3279 $as_echo "no" >&6; }
   3280 fi
   3281 
   3282 
   3283     test -n "$CC" && break
   3284   done
   3285 fi
   3286 if test -z "$CC"; then
   3287   ac_ct_CC=$CC
   3288   for ac_prog in cl.exe
   3289 do
   3290   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3291 set dummy $ac_prog; ac_word=$2
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3293 $as_echo_n "checking for $ac_word... " >&6; }
   3294 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   if test -n "$ac_ct_CC"; then
   3298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3299 else
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   test -z "$as_dir" && as_dir=.
   3305     for ac_exec_ext in '' $ac_executable_extensions; do
   3306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3307     ac_cv_prog_ac_ct_CC="$ac_prog"
   3308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3309     break 2
   3310   fi
   3311 done
   3312   done
   3313 IFS=$as_save_IFS
   3314 
   3315 fi
   3316 fi
   3317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3318 if test -n "$ac_ct_CC"; then
   3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3320 $as_echo "$ac_ct_CC" >&6; }
   3321 else
   3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3323 $as_echo "no" >&6; }
   3324 fi
   3325 
   3326 
   3327   test -n "$ac_ct_CC" && break
   3328 done
   3329 
   3330   if test "x$ac_ct_CC" = x; then
   3331     CC=""
   3332   else
   3333     case $cross_compiling:$ac_tool_warned in
   3334 yes:)
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3337 ac_tool_warned=yes ;;
   3338 esac
   3339     CC=$ac_ct_CC
   3340   fi
   3341 fi
   3342 
   3343 fi
   3344 
   3345 
   3346 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3348 as_fn_error $? "no acceptable C compiler found in \$PATH
   3349 See \`config.log' for more details" "$LINENO" 5; }
   3350 
   3351 # Provide some information about the compiler.
   3352 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3353 set X $ac_compile
   3354 ac_compiler=$2
   3355 for ac_option in --version -v -V -qversion; do
   3356   { { ac_try="$ac_compiler $ac_option >&5"
   3357 case "(($ac_try" in
   3358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3359   *) ac_try_echo=$ac_try;;
   3360 esac
   3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3362 $as_echo "$ac_try_echo"; } >&5
   3363   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3364   ac_status=$?
   3365   if test -s conftest.err; then
   3366     sed '10a\
   3367 ... rest of stderr output deleted ...
   3368          10q' conftest.err >conftest.er1
   3369     cat conftest.er1 >&5
   3370   fi
   3371   rm -f conftest.er1 conftest.err
   3372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3373   test $ac_status = 0; }
   3374 done
   3375 
   3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 ac_clean_files_save=$ac_clean_files
   3388 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3389 # Try to create an executable without -o first, disregard a.out.
   3390 # It will help us diagnose broken compilers, and finding out an intuition
   3391 # of exeext.
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3393 $as_echo_n "checking whether the C compiler works... " >&6; }
   3394 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3395 
   3396 # The possible output files:
   3397 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3398 
   3399 ac_rmfiles=
   3400 for ac_file in $ac_files
   3401 do
   3402   case $ac_file in
   3403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3404     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3405   esac
   3406 done
   3407 rm -f $ac_rmfiles
   3408 
   3409 if { { ac_try="$ac_link_default"
   3410 case "(($ac_try" in
   3411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3412   *) ac_try_echo=$ac_try;;
   3413 esac
   3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3415 $as_echo "$ac_try_echo"; } >&5
   3416   (eval "$ac_link_default") 2>&5
   3417   ac_status=$?
   3418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3419   test $ac_status = 0; }; then :
   3420   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3422 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3423 # so that the user can short-circuit this test for compilers unknown to
   3424 # Autoconf.
   3425 for ac_file in $ac_files ''
   3426 do
   3427   test -f "$ac_file" || continue
   3428   case $ac_file in
   3429     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3430 	;;
   3431     [ab].out )
   3432 	# We found the default executable, but exeext='' is most
   3433 	# certainly right.
   3434 	break;;
   3435     *.* )
   3436 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3437 	then :; else
   3438 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3439 	fi
   3440 	# We set ac_cv_exeext here because the later test for it is not
   3441 	# safe: cross compilers may not add the suffix if given an `-o'
   3442 	# argument, so we may need to know it at that point already.
   3443 	# Even if this section looks crufty: it has the advantage of
   3444 	# actually working.
   3445 	break;;
   3446     * )
   3447 	break;;
   3448   esac
   3449 done
   3450 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3451 
   3452 else
   3453   ac_file=''
   3454 fi
   3455 if test -z "$ac_file"; then :
   3456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3457 $as_echo "no" >&6; }
   3458 $as_echo "$as_me: failed program was:" >&5
   3459 sed 's/^/| /' conftest.$ac_ext >&5
   3460 
   3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3463 as_fn_error 77 "C compiler cannot create executables
   3464 See \`config.log' for more details" "$LINENO" 5; }
   3465 else
   3466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3467 $as_echo "yes" >&6; }
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3470 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3472 $as_echo "$ac_file" >&6; }
   3473 ac_exeext=$ac_cv_exeext
   3474 
   3475 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3476 ac_clean_files=$ac_clean_files_save
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3478 $as_echo_n "checking for suffix of executables... " >&6; }
   3479 if { { ac_try="$ac_link"
   3480 case "(($ac_try" in
   3481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3482   *) ac_try_echo=$ac_try;;
   3483 esac
   3484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3485 $as_echo "$ac_try_echo"; } >&5
   3486   (eval "$ac_link") 2>&5
   3487   ac_status=$?
   3488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3489   test $ac_status = 0; }; then :
   3490   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3491 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3492 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3493 # `rm'.
   3494 for ac_file in conftest.exe conftest conftest.*; do
   3495   test -f "$ac_file" || continue
   3496   case $ac_file in
   3497     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3498     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3499 	  break;;
   3500     * ) break;;
   3501   esac
   3502 done
   3503 else
   3504   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3506 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3507 See \`config.log' for more details" "$LINENO" 5; }
   3508 fi
   3509 rm -f conftest conftest$ac_cv_exeext
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3511 $as_echo "$ac_cv_exeext" >&6; }
   3512 
   3513 rm -f conftest.$ac_ext
   3514 EXEEXT=$ac_cv_exeext
   3515 ac_exeext=$EXEEXT
   3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3517 /* end confdefs.h.  */
   3518 #include <stdio.h>
   3519 int
   3520 main ()
   3521 {
   3522 FILE *f = fopen ("conftest.out", "w");
   3523  return ferror (f) || fclose (f) != 0;
   3524 
   3525   ;
   3526   return 0;
   3527 }
   3528 _ACEOF
   3529 ac_clean_files="$ac_clean_files conftest.out"
   3530 # Check that the compiler produces executables we can run.  If not, either
   3531 # the compiler is broken, or we cross compile.
   3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3533 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3534 if test "$cross_compiling" != yes; then
   3535   { { ac_try="$ac_link"
   3536 case "(($ac_try" in
   3537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3538   *) ac_try_echo=$ac_try;;
   3539 esac
   3540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3541 $as_echo "$ac_try_echo"; } >&5
   3542   (eval "$ac_link") 2>&5
   3543   ac_status=$?
   3544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3545   test $ac_status = 0; }
   3546   if { ac_try='./conftest$ac_cv_exeext'
   3547   { { case "(($ac_try" in
   3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3549   *) ac_try_echo=$ac_try;;
   3550 esac
   3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3552 $as_echo "$ac_try_echo"; } >&5
   3553   (eval "$ac_try") 2>&5
   3554   ac_status=$?
   3555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3556   test $ac_status = 0; }; }; then
   3557     cross_compiling=no
   3558   else
   3559     if test "$cross_compiling" = maybe; then
   3560 	cross_compiling=yes
   3561     else
   3562 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3564 as_fn_error $? "cannot run C compiled programs.
   3565 If you meant to cross compile, use \`--host'.
   3566 See \`config.log' for more details" "$LINENO" 5; }
   3567     fi
   3568   fi
   3569 fi
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3571 $as_echo "$cross_compiling" >&6; }
   3572 
   3573 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3574 ac_clean_files=$ac_clean_files_save
   3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3576 $as_echo_n "checking for suffix of object files... " >&6; }
   3577 if ${ac_cv_objext+:} false; then :
   3578   $as_echo_n "(cached) " >&6
   3579 else
   3580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3581 /* end confdefs.h.  */
   3582 
   3583 int
   3584 main ()
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591 rm -f conftest.o conftest.obj
   3592 if { { ac_try="$ac_compile"
   3593 case "(($ac_try" in
   3594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3595   *) ac_try_echo=$ac_try;;
   3596 esac
   3597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3598 $as_echo "$ac_try_echo"; } >&5
   3599   (eval "$ac_compile") 2>&5
   3600   ac_status=$?
   3601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3602   test $ac_status = 0; }; then :
   3603   for ac_file in conftest.o conftest.obj conftest.*; do
   3604   test -f "$ac_file" || continue;
   3605   case $ac_file in
   3606     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3607     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3608        break;;
   3609   esac
   3610 done
   3611 else
   3612   $as_echo "$as_me: failed program was:" >&5
   3613 sed 's/^/| /' conftest.$ac_ext >&5
   3614 
   3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3617 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3618 See \`config.log' for more details" "$LINENO" 5; }
   3619 fi
   3620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3621 fi
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3623 $as_echo "$ac_cv_objext" >&6; }
   3624 OBJEXT=$ac_cv_objext
   3625 ac_objext=$OBJEXT
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3627 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3628 if ${ac_cv_c_compiler_gnu+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3632 /* end confdefs.h.  */
   3633 
   3634 int
   3635 main ()
   3636 {
   3637 #ifndef __GNUC__
   3638        choke me
   3639 #endif
   3640 
   3641   ;
   3642   return 0;
   3643 }
   3644 _ACEOF
   3645 if ac_fn_c_try_compile "$LINENO"; then :
   3646   ac_compiler_gnu=yes
   3647 else
   3648   ac_compiler_gnu=no
   3649 fi
   3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3651 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3652 
   3653 fi
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3655 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3656 if test $ac_compiler_gnu = yes; then
   3657   GCC=yes
   3658 else
   3659   GCC=
   3660 fi
   3661 ac_test_CFLAGS=${CFLAGS+set}
   3662 ac_save_CFLAGS=$CFLAGS
   3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3664 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3665 if ${ac_cv_prog_cc_g+:} false; then :
   3666   $as_echo_n "(cached) " >&6
   3667 else
   3668   ac_save_c_werror_flag=$ac_c_werror_flag
   3669    ac_c_werror_flag=yes
   3670    ac_cv_prog_cc_g=no
   3671    CFLAGS="-g"
   3672    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3673 /* end confdefs.h.  */
   3674 
   3675 int
   3676 main ()
   3677 {
   3678 
   3679   ;
   3680   return 0;
   3681 }
   3682 _ACEOF
   3683 if ac_fn_c_try_compile "$LINENO"; then :
   3684   ac_cv_prog_cc_g=yes
   3685 else
   3686   CFLAGS=""
   3687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3688 /* end confdefs.h.  */
   3689 
   3690 int
   3691 main ()
   3692 {
   3693 
   3694   ;
   3695   return 0;
   3696 }
   3697 _ACEOF
   3698 if ac_fn_c_try_compile "$LINENO"; then :
   3699 
   3700 else
   3701   ac_c_werror_flag=$ac_save_c_werror_flag
   3702 	 CFLAGS="-g"
   3703 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3704 /* end confdefs.h.  */
   3705 
   3706 int
   3707 main ()
   3708 {
   3709 
   3710   ;
   3711   return 0;
   3712 }
   3713 _ACEOF
   3714 if ac_fn_c_try_compile "$LINENO"; then :
   3715   ac_cv_prog_cc_g=yes
   3716 fi
   3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3718 fi
   3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3720 fi
   3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3722    ac_c_werror_flag=$ac_save_c_werror_flag
   3723 fi
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3725 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3726 if test "$ac_test_CFLAGS" = set; then
   3727   CFLAGS=$ac_save_CFLAGS
   3728 elif test $ac_cv_prog_cc_g = yes; then
   3729   if test "$GCC" = yes; then
   3730     CFLAGS="-g -O2"
   3731   else
   3732     CFLAGS="-g"
   3733   fi
   3734 else
   3735   if test "$GCC" = yes; then
   3736     CFLAGS="-O2"
   3737   else
   3738     CFLAGS=
   3739   fi
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3742 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3743 if ${ac_cv_prog_cc_c89+:} false; then :
   3744   $as_echo_n "(cached) " >&6
   3745 else
   3746   ac_cv_prog_cc_c89=no
   3747 ac_save_CC=$CC
   3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3749 /* end confdefs.h.  */
   3750 #include <stdarg.h>
   3751 #include <stdio.h>
   3752 struct stat;
   3753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3754 struct buf { int x; };
   3755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3756 static char *e (p, i)
   3757      char **p;
   3758      int i;
   3759 {
   3760   return p[i];
   3761 }
   3762 static char *f (char * (*g) (char **, int), char **p, ...)
   3763 {
   3764   char *s;
   3765   va_list v;
   3766   va_start (v,p);
   3767   s = g (p, va_arg (v,int));
   3768   va_end (v);
   3769   return s;
   3770 }
   3771 
   3772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3773    function prototypes and stuff, but not '\xHH' hex character constants.
   3774    These don't provoke an error unfortunately, instead are silently treated
   3775    as 'x'.  The following induces an error, until -std is added to get
   3776    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3777    array size at least.  It's necessary to write '\x00'==0 to get something
   3778    that's true only with -std.  */
   3779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3780 
   3781 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3782    inside strings and character constants.  */
   3783 #define FOO(x) 'x'
   3784 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3785 
   3786 int test (int i, double x);
   3787 struct s1 {int (*f) (int a);};
   3788 struct s2 {int (*f) (double a);};
   3789 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3790 int argc;
   3791 char **argv;
   3792 int
   3793 main ()
   3794 {
   3795 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3796   ;
   3797   return 0;
   3798 }
   3799 _ACEOF
   3800 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3801 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3802 do
   3803   CC="$ac_save_CC $ac_arg"
   3804   if ac_fn_c_try_compile "$LINENO"; then :
   3805   ac_cv_prog_cc_c89=$ac_arg
   3806 fi
   3807 rm -f core conftest.err conftest.$ac_objext
   3808   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3809 done
   3810 rm -f conftest.$ac_ext
   3811 CC=$ac_save_CC
   3812 
   3813 fi
   3814 # AC_CACHE_VAL
   3815 case "x$ac_cv_prog_cc_c89" in
   3816   x)
   3817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3818 $as_echo "none needed" >&6; } ;;
   3819   xno)
   3820     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3821 $as_echo "unsupported" >&6; } ;;
   3822   *)
   3823     CC="$CC $ac_cv_prog_cc_c89"
   3824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3825 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3826 esac
   3827 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3828 
   3829 fi
   3830 
   3831 ac_ext=c
   3832 ac_cpp='$CPP $CPPFLAGS'
   3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3836 
   3837 ac_ext=c
   3838 ac_cpp='$CPP $CPPFLAGS'
   3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3843 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3844 if ${am_cv_prog_cc_c_o+:} false; then :
   3845   $as_echo_n "(cached) " >&6
   3846 else
   3847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3848 /* end confdefs.h.  */
   3849 
   3850 int
   3851 main ()
   3852 {
   3853 
   3854   ;
   3855   return 0;
   3856 }
   3857 _ACEOF
   3858   # Make sure it works both with $CC and with simple cc.
   3859   # Following AC_PROG_CC_C_O, we do the test twice because some
   3860   # compilers refuse to overwrite an existing .o file with -o,
   3861   # though they will create one.
   3862   am_cv_prog_cc_c_o=yes
   3863   for am_i in 1 2; do
   3864     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3865    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3866    ac_status=$?
   3867    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3868    (exit $ac_status); } \
   3869          && test -f conftest2.$ac_objext; then
   3870       : OK
   3871     else
   3872       am_cv_prog_cc_c_o=no
   3873       break
   3874     fi
   3875   done
   3876   rm -f core conftest*
   3877   unset am_i
   3878 fi
   3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3880 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3881 if test "$am_cv_prog_cc_c_o" != yes; then
   3882    # Losing compiler, so override with the script.
   3883    # FIXME: It is wrong to rewrite CC.
   3884    # But if we don't then we get into trouble of one sort or another.
   3885    # A longer-term fix would be to have automake use am__CC in this case,
   3886    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3887    CC="$am_aux_dir/compile $CC"
   3888 fi
   3889 ac_ext=c
   3890 ac_cpp='$CPP $CPPFLAGS'
   3891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3894 
   3895 
   3896 depcc="$CC"   am_compiler_list=
   3897 
   3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3899 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3900 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3901   $as_echo_n "(cached) " >&6
   3902 else
   3903   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3904   # We make a subdir and do the tests there.  Otherwise we can end up
   3905   # making bogus files that we don't know about and never remove.  For
   3906   # instance it was reported that on HP-UX the gcc test will end up
   3907   # making a dummy file named 'D' -- because '-MD' means "put the output
   3908   # in D".
   3909   rm -rf conftest.dir
   3910   mkdir conftest.dir
   3911   # Copy depcomp to subdir because otherwise we won't find it if we're
   3912   # using a relative directory.
   3913   cp "$am_depcomp" conftest.dir
   3914   cd conftest.dir
   3915   # We will build objects and dependencies in a subdirectory because
   3916   # it helps to detect inapplicable dependency modes.  For instance
   3917   # both Tru64's cc and ICC support -MD to output dependencies as a
   3918   # side effect of compilation, but ICC will put the dependencies in
   3919   # the current directory while Tru64 will put them in the object
   3920   # directory.
   3921   mkdir sub
   3922 
   3923   am_cv_CC_dependencies_compiler_type=none
   3924   if test "$am_compiler_list" = ""; then
   3925      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3926   fi
   3927   am__universal=false
   3928   case " $depcc " in #(
   3929      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3930      esac
   3931 
   3932   for depmode in $am_compiler_list; do
   3933     # Setup a source with many dependencies, because some compilers
   3934     # like to wrap large dependency lists on column 80 (with \), and
   3935     # we should not choose a depcomp mode which is confused by this.
   3936     #
   3937     # We need to recreate these files for each test, as the compiler may
   3938     # overwrite some of them when testing with obscure command lines.
   3939     # This happens at least with the AIX C compiler.
   3940     : > sub/conftest.c
   3941     for i in 1 2 3 4 5 6; do
   3942       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3943       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3944       # Solaris 10 /bin/sh.
   3945       echo '/* dummy */' > sub/conftst$i.h
   3946     done
   3947     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3948 
   3949     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3950     # mode.  It turns out that the SunPro C++ compiler does not properly
   3951     # handle '-M -o', and we need to detect this.  Also, some Intel
   3952     # versions had trouble with output in subdirs.
   3953     am__obj=sub/conftest.${OBJEXT-o}
   3954     am__minus_obj="-o $am__obj"
   3955     case $depmode in
   3956     gcc)
   3957       # This depmode causes a compiler race in universal mode.
   3958       test "$am__universal" = false || continue
   3959       ;;
   3960     nosideeffect)
   3961       # After this tag, mechanisms are not by side-effect, so they'll
   3962       # only be used when explicitly requested.
   3963       if test "x$enable_dependency_tracking" = xyes; then
   3964 	continue
   3965       else
   3966 	break
   3967       fi
   3968       ;;
   3969     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3970       # This compiler won't grok '-c -o', but also, the minuso test has
   3971       # not run yet.  These depmodes are late enough in the game, and
   3972       # so weak that their functioning should not be impacted.
   3973       am__obj=conftest.${OBJEXT-o}
   3974       am__minus_obj=
   3975       ;;
   3976     none) break ;;
   3977     esac
   3978     if depmode=$depmode \
   3979        source=sub/conftest.c object=$am__obj \
   3980        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3981        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3982          >/dev/null 2>conftest.err &&
   3983        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3984        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3985        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3986        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3987       # icc doesn't choke on unknown options, it will just issue warnings
   3988       # or remarks (even with -Werror).  So we grep stderr for any message
   3989       # that says an option was ignored or not supported.
   3990       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3991       #   icc: Command line warning: ignoring option '-M'; no argument required
   3992       # The diagnosis changed in icc 8.0:
   3993       #   icc: Command line remark: option '-MP' not supported
   3994       if (grep 'ignoring option' conftest.err ||
   3995           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3996         am_cv_CC_dependencies_compiler_type=$depmode
   3997         break
   3998       fi
   3999     fi
   4000   done
   4001 
   4002   cd ..
   4003   rm -rf conftest.dir
   4004 else
   4005   am_cv_CC_dependencies_compiler_type=none
   4006 fi
   4007 
   4008 fi
   4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4010 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4011 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4012 
   4013  if
   4014   test "x$enable_dependency_tracking" != xno \
   4015   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4016   am__fastdepCC_TRUE=
   4017   am__fastdepCC_FALSE='#'
   4018 else
   4019   am__fastdepCC_TRUE='#'
   4020   am__fastdepCC_FALSE=
   4021 fi
   4022 
   4023 
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4025 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4026 if ${ac_cv_path_SED+:} false; then :
   4027   $as_echo_n "(cached) " >&6
   4028 else
   4029             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4030      for ac_i in 1 2 3 4 5 6 7; do
   4031        ac_script="$ac_script$as_nl$ac_script"
   4032      done
   4033      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4034      { ac_script=; unset ac_script;}
   4035      if test -z "$SED"; then
   4036   ac_path_SED_found=false
   4037   # Loop through the user's path and test for each of PROGNAME-LIST
   4038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4039 for as_dir in $PATH
   4040 do
   4041   IFS=$as_save_IFS
   4042   test -z "$as_dir" && as_dir=.
   4043     for ac_prog in sed gsed; do
   4044     for ac_exec_ext in '' $ac_executable_extensions; do
   4045       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4046       as_fn_executable_p "$ac_path_SED" || continue
   4047 # Check for GNU ac_path_SED and select it if it is found.
   4048   # Check for GNU $ac_path_SED
   4049 case `"$ac_path_SED" --version 2>&1` in
   4050 *GNU*)
   4051   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4052 *)
   4053   ac_count=0
   4054   $as_echo_n 0123456789 >"conftest.in"
   4055   while :
   4056   do
   4057     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4058     mv "conftest.tmp" "conftest.in"
   4059     cp "conftest.in" "conftest.nl"
   4060     $as_echo '' >> "conftest.nl"
   4061     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4062     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4063     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4064     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4065       # Best one so far, save it but keep looking for a better one
   4066       ac_cv_path_SED="$ac_path_SED"
   4067       ac_path_SED_max=$ac_count
   4068     fi
   4069     # 10*(2^10) chars as input seems more than enough
   4070     test $ac_count -gt 10 && break
   4071   done
   4072   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4073 esac
   4074 
   4075       $ac_path_SED_found && break 3
   4076     done
   4077   done
   4078   done
   4079 IFS=$as_save_IFS
   4080   if test -z "$ac_cv_path_SED"; then
   4081     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4082   fi
   4083 else
   4084   ac_cv_path_SED=$SED
   4085 fi
   4086 
   4087 fi
   4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4089 $as_echo "$ac_cv_path_SED" >&6; }
   4090  SED="$ac_cv_path_SED"
   4091   rm -f conftest.sed
   4092 
   4093 test -z "$SED" && SED=sed
   4094 Xsed="$SED -e 1s/^X//"
   4095 
   4096 
   4097 
   4098 
   4099 
   4100 
   4101 
   4102 
   4103 
   4104 
   4105 
   4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4107 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4108 if ${ac_cv_path_GREP+:} false; then :
   4109   $as_echo_n "(cached) " >&6
   4110 else
   4111   if test -z "$GREP"; then
   4112   ac_path_GREP_found=false
   4113   # Loop through the user's path and test for each of PROGNAME-LIST
   4114   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4116 do
   4117   IFS=$as_save_IFS
   4118   test -z "$as_dir" && as_dir=.
   4119     for ac_prog in grep ggrep; do
   4120     for ac_exec_ext in '' $ac_executable_extensions; do
   4121       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4122       as_fn_executable_p "$ac_path_GREP" || continue
   4123 # Check for GNU ac_path_GREP and select it if it is found.
   4124   # Check for GNU $ac_path_GREP
   4125 case `"$ac_path_GREP" --version 2>&1` in
   4126 *GNU*)
   4127   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4128 *)
   4129   ac_count=0
   4130   $as_echo_n 0123456789 >"conftest.in"
   4131   while :
   4132   do
   4133     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4134     mv "conftest.tmp" "conftest.in"
   4135     cp "conftest.in" "conftest.nl"
   4136     $as_echo 'GREP' >> "conftest.nl"
   4137     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4138     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4139     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4140     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4141       # Best one so far, save it but keep looking for a better one
   4142       ac_cv_path_GREP="$ac_path_GREP"
   4143       ac_path_GREP_max=$ac_count
   4144     fi
   4145     # 10*(2^10) chars as input seems more than enough
   4146     test $ac_count -gt 10 && break
   4147   done
   4148   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4149 esac
   4150 
   4151       $ac_path_GREP_found && break 3
   4152     done
   4153   done
   4154   done
   4155 IFS=$as_save_IFS
   4156   if test -z "$ac_cv_path_GREP"; then
   4157     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4158   fi
   4159 else
   4160   ac_cv_path_GREP=$GREP
   4161 fi
   4162 
   4163 fi
   4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4165 $as_echo "$ac_cv_path_GREP" >&6; }
   4166  GREP="$ac_cv_path_GREP"
   4167 
   4168 
   4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4170 $as_echo_n "checking for egrep... " >&6; }
   4171 if ${ac_cv_path_EGREP+:} false; then :
   4172   $as_echo_n "(cached) " >&6
   4173 else
   4174   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4175    then ac_cv_path_EGREP="$GREP -E"
   4176    else
   4177      if test -z "$EGREP"; then
   4178   ac_path_EGREP_found=false
   4179   # Loop through the user's path and test for each of PROGNAME-LIST
   4180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4181 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4182 do
   4183   IFS=$as_save_IFS
   4184   test -z "$as_dir" && as_dir=.
   4185     for ac_prog in egrep; do
   4186     for ac_exec_ext in '' $ac_executable_extensions; do
   4187       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4188       as_fn_executable_p "$ac_path_EGREP" || continue
   4189 # Check for GNU ac_path_EGREP and select it if it is found.
   4190   # Check for GNU $ac_path_EGREP
   4191 case `"$ac_path_EGREP" --version 2>&1` in
   4192 *GNU*)
   4193   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4194 *)
   4195   ac_count=0
   4196   $as_echo_n 0123456789 >"conftest.in"
   4197   while :
   4198   do
   4199     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4200     mv "conftest.tmp" "conftest.in"
   4201     cp "conftest.in" "conftest.nl"
   4202     $as_echo 'EGREP' >> "conftest.nl"
   4203     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4204     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4205     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4206     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4207       # Best one so far, save it but keep looking for a better one
   4208       ac_cv_path_EGREP="$ac_path_EGREP"
   4209       ac_path_EGREP_max=$ac_count
   4210     fi
   4211     # 10*(2^10) chars as input seems more than enough
   4212     test $ac_count -gt 10 && break
   4213   done
   4214   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4215 esac
   4216 
   4217       $ac_path_EGREP_found && break 3
   4218     done
   4219   done
   4220   done
   4221 IFS=$as_save_IFS
   4222   if test -z "$ac_cv_path_EGREP"; then
   4223     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4224   fi
   4225 else
   4226   ac_cv_path_EGREP=$EGREP
   4227 fi
   4228 
   4229    fi
   4230 fi
   4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4232 $as_echo "$ac_cv_path_EGREP" >&6; }
   4233  EGREP="$ac_cv_path_EGREP"
   4234 
   4235 
   4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4237 $as_echo_n "checking for fgrep... " >&6; }
   4238 if ${ac_cv_path_FGREP+:} false; then :
   4239   $as_echo_n "(cached) " >&6
   4240 else
   4241   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4242    then ac_cv_path_FGREP="$GREP -F"
   4243    else
   4244      if test -z "$FGREP"; then
   4245   ac_path_FGREP_found=false
   4246   # Loop through the user's path and test for each of PROGNAME-LIST
   4247   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4248 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4249 do
   4250   IFS=$as_save_IFS
   4251   test -z "$as_dir" && as_dir=.
   4252     for ac_prog in fgrep; do
   4253     for ac_exec_ext in '' $ac_executable_extensions; do
   4254       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4255       as_fn_executable_p "$ac_path_FGREP" || continue
   4256 # Check for GNU ac_path_FGREP and select it if it is found.
   4257   # Check for GNU $ac_path_FGREP
   4258 case `"$ac_path_FGREP" --version 2>&1` in
   4259 *GNU*)
   4260   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4261 *)
   4262   ac_count=0
   4263   $as_echo_n 0123456789 >"conftest.in"
   4264   while :
   4265   do
   4266     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4267     mv "conftest.tmp" "conftest.in"
   4268     cp "conftest.in" "conftest.nl"
   4269     $as_echo 'FGREP' >> "conftest.nl"
   4270     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4271     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4272     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4273     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4274       # Best one so far, save it but keep looking for a better one
   4275       ac_cv_path_FGREP="$ac_path_FGREP"
   4276       ac_path_FGREP_max=$ac_count
   4277     fi
   4278     # 10*(2^10) chars as input seems more than enough
   4279     test $ac_count -gt 10 && break
   4280   done
   4281   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4282 esac
   4283 
   4284       $ac_path_FGREP_found && break 3
   4285     done
   4286   done
   4287   done
   4288 IFS=$as_save_IFS
   4289   if test -z "$ac_cv_path_FGREP"; then
   4290     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4291   fi
   4292 else
   4293   ac_cv_path_FGREP=$FGREP
   4294 fi
   4295 
   4296    fi
   4297 fi
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4299 $as_echo "$ac_cv_path_FGREP" >&6; }
   4300  FGREP="$ac_cv_path_FGREP"
   4301 
   4302 
   4303 test -z "$GREP" && GREP=grep
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 
   4316 
   4317 
   4318 
   4319 
   4320 
   4321 
   4322 
   4323 # Check whether --with-gnu-ld was given.
   4324 if test "${with_gnu_ld+set}" = set; then :
   4325   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4326 else
   4327   with_gnu_ld=no
   4328 fi
   4329 
   4330 ac_prog=ld
   4331 if test "$GCC" = yes; then
   4332   # Check if gcc -print-prog-name=ld gives a path.
   4333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4334 $as_echo_n "checking for ld used by $CC... " >&6; }
   4335   case $host in
   4336   *-*-mingw*)
   4337     # gcc leaves a trailing carriage return which upsets mingw
   4338     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4339   *)
   4340     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4341   esac
   4342   case $ac_prog in
   4343     # Accept absolute paths.
   4344     [\\/]* | ?:[\\/]*)
   4345       re_direlt='/[^/][^/]*/\.\./'
   4346       # Canonicalize the pathname of ld
   4347       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4348       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4349 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4350       done
   4351       test -z "$LD" && LD="$ac_prog"
   4352       ;;
   4353   "")
   4354     # If it fails, then pretend we aren't using GCC.
   4355     ac_prog=ld
   4356     ;;
   4357   *)
   4358     # If it is relative, then search for the first ld in PATH.
   4359     with_gnu_ld=unknown
   4360     ;;
   4361   esac
   4362 elif test "$with_gnu_ld" = yes; then
   4363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4364 $as_echo_n "checking for GNU ld... " >&6; }
   4365 else
   4366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4367 $as_echo_n "checking for non-GNU ld... " >&6; }
   4368 fi
   4369 if ${lt_cv_path_LD+:} false; then :
   4370   $as_echo_n "(cached) " >&6
   4371 else
   4372   if test -z "$LD"; then
   4373   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4374   for ac_dir in $PATH; do
   4375     IFS="$lt_save_ifs"
   4376     test -z "$ac_dir" && ac_dir=.
   4377     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4378       lt_cv_path_LD="$ac_dir/$ac_prog"
   4379       # Check to see if the program is GNU ld.  I'd rather use --version,
   4380       # but apparently some variants of GNU ld only accept -v.
   4381       # Break only if it was the GNU/non-GNU ld that we prefer.
   4382       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4383       *GNU* | *'with BFD'*)
   4384 	test "$with_gnu_ld" != no && break
   4385 	;;
   4386       *)
   4387 	test "$with_gnu_ld" != yes && break
   4388 	;;
   4389       esac
   4390     fi
   4391   done
   4392   IFS="$lt_save_ifs"
   4393 else
   4394   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4395 fi
   4396 fi
   4397 
   4398 LD="$lt_cv_path_LD"
   4399 if test -n "$LD"; then
   4400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4401 $as_echo "$LD" >&6; }
   4402 else
   4403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4404 $as_echo "no" >&6; }
   4405 fi
   4406 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4408 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4409 if ${lt_cv_prog_gnu_ld+:} false; then :
   4410   $as_echo_n "(cached) " >&6
   4411 else
   4412   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4413 case `$LD -v 2>&1 </dev/null` in
   4414 *GNU* | *'with BFD'*)
   4415   lt_cv_prog_gnu_ld=yes
   4416   ;;
   4417 *)
   4418   lt_cv_prog_gnu_ld=no
   4419   ;;
   4420 esac
   4421 fi
   4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4423 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4424 with_gnu_ld=$lt_cv_prog_gnu_ld
   4425 
   4426 
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 
   4433 
   4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4435 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4436 if ${lt_cv_path_NM+:} false; then :
   4437   $as_echo_n "(cached) " >&6
   4438 else
   4439   if test -n "$NM"; then
   4440   # Let the user override the test.
   4441   lt_cv_path_NM="$NM"
   4442 else
   4443   lt_nm_to_check="${ac_tool_prefix}nm"
   4444   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4445     lt_nm_to_check="$lt_nm_to_check nm"
   4446   fi
   4447   for lt_tmp_nm in $lt_nm_to_check; do
   4448     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4449     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4450       IFS="$lt_save_ifs"
   4451       test -z "$ac_dir" && ac_dir=.
   4452       tmp_nm="$ac_dir/$lt_tmp_nm"
   4453       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4454 	# Check to see if the nm accepts a BSD-compat flag.
   4455 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4456 	#   nm: unknown option "B" ignored
   4457 	# Tru64's nm complains that /dev/null is an invalid object file
   4458 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4459 	*/dev/null* | *'Invalid file or object type'*)
   4460 	  lt_cv_path_NM="$tmp_nm -B"
   4461 	  break
   4462 	  ;;
   4463 	*)
   4464 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4465 	  */dev/null*)
   4466 	    lt_cv_path_NM="$tmp_nm -p"
   4467 	    break
   4468 	    ;;
   4469 	  *)
   4470 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4471 	    continue # so that we can try to find one that supports BSD flags
   4472 	    ;;
   4473 	  esac
   4474 	  ;;
   4475 	esac
   4476       fi
   4477     done
   4478     IFS="$lt_save_ifs"
   4479   done
   4480   : ${lt_cv_path_NM=no}
   4481 fi
   4482 fi
   4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4484 $as_echo "$lt_cv_path_NM" >&6; }
   4485 if test "$lt_cv_path_NM" != "no"; then
   4486   NM="$lt_cv_path_NM"
   4487 else
   4488   # Didn't find any BSD compatible name lister, look for dumpbin.
   4489   if test -n "$DUMPBIN"; then :
   4490     # Let the user override the test.
   4491   else
   4492     if test -n "$ac_tool_prefix"; then
   4493   for ac_prog in dumpbin "link -dump"
   4494   do
   4495     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4498 $as_echo_n "checking for $ac_word... " >&6; }
   4499 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4500   $as_echo_n "(cached) " >&6
   4501 else
   4502   if test -n "$DUMPBIN"; then
   4503   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4504 else
   4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4506 for as_dir in $PATH
   4507 do
   4508   IFS=$as_save_IFS
   4509   test -z "$as_dir" && as_dir=.
   4510     for ac_exec_ext in '' $ac_executable_extensions; do
   4511   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4512     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4514     break 2
   4515   fi
   4516 done
   4517   done
   4518 IFS=$as_save_IFS
   4519 
   4520 fi
   4521 fi
   4522 DUMPBIN=$ac_cv_prog_DUMPBIN
   4523 if test -n "$DUMPBIN"; then
   4524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4525 $as_echo "$DUMPBIN" >&6; }
   4526 else
   4527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4528 $as_echo "no" >&6; }
   4529 fi
   4530 
   4531 
   4532     test -n "$DUMPBIN" && break
   4533   done
   4534 fi
   4535 if test -z "$DUMPBIN"; then
   4536   ac_ct_DUMPBIN=$DUMPBIN
   4537   for ac_prog in dumpbin "link -dump"
   4538 do
   4539   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4540 set dummy $ac_prog; ac_word=$2
   4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4542 $as_echo_n "checking for $ac_word... " >&6; }
   4543 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4544   $as_echo_n "(cached) " >&6
   4545 else
   4546   if test -n "$ac_ct_DUMPBIN"; then
   4547   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4548 else
   4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4550 for as_dir in $PATH
   4551 do
   4552   IFS=$as_save_IFS
   4553   test -z "$as_dir" && as_dir=.
   4554     for ac_exec_ext in '' $ac_executable_extensions; do
   4555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4556     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4558     break 2
   4559   fi
   4560 done
   4561   done
   4562 IFS=$as_save_IFS
   4563 
   4564 fi
   4565 fi
   4566 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4567 if test -n "$ac_ct_DUMPBIN"; then
   4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4569 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4570 else
   4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4572 $as_echo "no" >&6; }
   4573 fi
   4574 
   4575 
   4576   test -n "$ac_ct_DUMPBIN" && break
   4577 done
   4578 
   4579   if test "x$ac_ct_DUMPBIN" = x; then
   4580     DUMPBIN=":"
   4581   else
   4582     case $cross_compiling:$ac_tool_warned in
   4583 yes:)
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4586 ac_tool_warned=yes ;;
   4587 esac
   4588     DUMPBIN=$ac_ct_DUMPBIN
   4589   fi
   4590 fi
   4591 
   4592     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4593     *COFF*)
   4594       DUMPBIN="$DUMPBIN -symbols"
   4595       ;;
   4596     *)
   4597       DUMPBIN=:
   4598       ;;
   4599     esac
   4600   fi
   4601 
   4602   if test "$DUMPBIN" != ":"; then
   4603     NM="$DUMPBIN"
   4604   fi
   4605 fi
   4606 test -z "$NM" && NM=nm
   4607 
   4608 
   4609 
   4610 
   4611 
   4612 
   4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4614 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4615 if ${lt_cv_nm_interface+:} false; then :
   4616   $as_echo_n "(cached) " >&6
   4617 else
   4618   lt_cv_nm_interface="BSD nm"
   4619   echo "int some_variable = 0;" > conftest.$ac_ext
   4620   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4621   (eval "$ac_compile" 2>conftest.err)
   4622   cat conftest.err >&5
   4623   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4624   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4625   cat conftest.err >&5
   4626   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4627   cat conftest.out >&5
   4628   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4629     lt_cv_nm_interface="MS dumpbin"
   4630   fi
   4631   rm -f conftest*
   4632 fi
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4634 $as_echo "$lt_cv_nm_interface" >&6; }
   4635 
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4637 $as_echo_n "checking whether ln -s works... " >&6; }
   4638 LN_S=$as_ln_s
   4639 if test "$LN_S" = "ln -s"; then
   4640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4641 $as_echo "yes" >&6; }
   4642 else
   4643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4644 $as_echo "no, using $LN_S" >&6; }
   4645 fi
   4646 
   4647 # find the maximum length of command line arguments
   4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4649 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4650 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4651   $as_echo_n "(cached) " >&6
   4652 else
   4653     i=0
   4654   teststring="ABCD"
   4655 
   4656   case $build_os in
   4657   msdosdjgpp*)
   4658     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4659     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4660     # during glob expansion).  Even if it were fixed, the result of this
   4661     # check would be larger than it should be.
   4662     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4663     ;;
   4664 
   4665   gnu*)
   4666     # Under GNU Hurd, this test is not required because there is
   4667     # no limit to the length of command line arguments.
   4668     # Libtool will interpret -1 as no limit whatsoever
   4669     lt_cv_sys_max_cmd_len=-1;
   4670     ;;
   4671 
   4672   cygwin* | mingw* | cegcc*)
   4673     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4674     # about 5 minutes as the teststring grows exponentially.
   4675     # Worse, since 9x/ME are not pre-emptively multitasking,
   4676     # you end up with a "frozen" computer, even though with patience
   4677     # the test eventually succeeds (with a max line length of 256k).
   4678     # Instead, let's just punt: use the minimum linelength reported by
   4679     # all of the supported platforms: 8192 (on NT/2K/XP).
   4680     lt_cv_sys_max_cmd_len=8192;
   4681     ;;
   4682 
   4683   mint*)
   4684     # On MiNT this can take a long time and run out of memory.
   4685     lt_cv_sys_max_cmd_len=8192;
   4686     ;;
   4687 
   4688   amigaos*)
   4689     # On AmigaOS with pdksh, this test takes hours, literally.
   4690     # So we just punt and use a minimum line length of 8192.
   4691     lt_cv_sys_max_cmd_len=8192;
   4692     ;;
   4693 
   4694   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4695     # This has been around since 386BSD, at least.  Likely further.
   4696     if test -x /sbin/sysctl; then
   4697       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4698     elif test -x /usr/sbin/sysctl; then
   4699       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4700     else
   4701       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4702     fi
   4703     # And add a safety zone
   4704     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4705     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4706     ;;
   4707 
   4708   interix*)
   4709     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4710     lt_cv_sys_max_cmd_len=196608
   4711     ;;
   4712 
   4713   os2*)
   4714     # The test takes a long time on OS/2.
   4715     lt_cv_sys_max_cmd_len=8192
   4716     ;;
   4717 
   4718   osf*)
   4719     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4720     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4721     # nice to cause kernel panics so lets avoid the loop below.
   4722     # First set a reasonable default.
   4723     lt_cv_sys_max_cmd_len=16384
   4724     #
   4725     if test -x /sbin/sysconfig; then
   4726       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4727         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4728       esac
   4729     fi
   4730     ;;
   4731   sco3.2v5*)
   4732     lt_cv_sys_max_cmd_len=102400
   4733     ;;
   4734   sysv5* | sco5v6* | sysv4.2uw2*)
   4735     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4736     if test -n "$kargmax"; then
   4737       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4738     else
   4739       lt_cv_sys_max_cmd_len=32768
   4740     fi
   4741     ;;
   4742   *)
   4743     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4744     if test -n "$lt_cv_sys_max_cmd_len"; then
   4745       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4746       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4747     else
   4748       # Make teststring a little bigger before we do anything with it.
   4749       # a 1K string should be a reasonable start.
   4750       for i in 1 2 3 4 5 6 7 8 ; do
   4751         teststring=$teststring$teststring
   4752       done
   4753       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4754       # If test is not a shell built-in, we'll probably end up computing a
   4755       # maximum length that is only half of the actual maximum length, but
   4756       # we can't tell.
   4757       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4758 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4759 	      test $i != 17 # 1/2 MB should be enough
   4760       do
   4761         i=`expr $i + 1`
   4762         teststring=$teststring$teststring
   4763       done
   4764       # Only check the string length outside the loop.
   4765       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4766       teststring=
   4767       # Add a significant safety factor because C++ compilers can tack on
   4768       # massive amounts of additional arguments before passing them to the
   4769       # linker.  It appears as though 1/2 is a usable value.
   4770       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4771     fi
   4772     ;;
   4773   esac
   4774 
   4775 fi
   4776 
   4777 if test -n $lt_cv_sys_max_cmd_len ; then
   4778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4779 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4780 else
   4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4782 $as_echo "none" >&6; }
   4783 fi
   4784 max_cmd_len=$lt_cv_sys_max_cmd_len
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 : ${CP="cp -f"}
   4792 : ${MV="mv -f"}
   4793 : ${RM="rm -f"}
   4794 
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4796 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4797 # Try some XSI features
   4798 xsi_shell=no
   4799 ( _lt_dummy="a/b/c"
   4800   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4801       = c,a/b,b/c, \
   4802     && eval 'test $(( 1 + 1 )) -eq 2 \
   4803     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4804   && xsi_shell=yes
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4806 $as_echo "$xsi_shell" >&6; }
   4807 
   4808 
   4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4810 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4811 lt_shell_append=no
   4812 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4813     >/dev/null 2>&1 \
   4814   && lt_shell_append=yes
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4816 $as_echo "$lt_shell_append" >&6; }
   4817 
   4818 
   4819 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4820   lt_unset=unset
   4821 else
   4822   lt_unset=false
   4823 fi
   4824 
   4825 
   4826 
   4827 
   4828 
   4829 # test EBCDIC or ASCII
   4830 case `echo X|tr X '\101'` in
   4831  A) # ASCII based system
   4832     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4833   lt_SP2NL='tr \040 \012'
   4834   lt_NL2SP='tr \015\012 \040\040'
   4835   ;;
   4836  *) # EBCDIC based system
   4837   lt_SP2NL='tr \100 \n'
   4838   lt_NL2SP='tr \r\n \100\100'
   4839   ;;
   4840 esac
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4851 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4852 if ${lt_cv_to_host_file_cmd+:} false; then :
   4853   $as_echo_n "(cached) " >&6
   4854 else
   4855   case $host in
   4856   *-*-mingw* )
   4857     case $build in
   4858       *-*-mingw* ) # actually msys
   4859         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4860         ;;
   4861       *-*-cygwin* )
   4862         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4863         ;;
   4864       * ) # otherwise, assume *nix
   4865         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4866         ;;
   4867     esac
   4868     ;;
   4869   *-*-cygwin* )
   4870     case $build in
   4871       *-*-mingw* ) # actually msys
   4872         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4873         ;;
   4874       *-*-cygwin* )
   4875         lt_cv_to_host_file_cmd=func_convert_file_noop
   4876         ;;
   4877       * ) # otherwise, assume *nix
   4878         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4879         ;;
   4880     esac
   4881     ;;
   4882   * ) # unhandled hosts (and "normal" native builds)
   4883     lt_cv_to_host_file_cmd=func_convert_file_noop
   4884     ;;
   4885 esac
   4886 
   4887 fi
   4888 
   4889 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4891 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4898 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4899 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4900   $as_echo_n "(cached) " >&6
   4901 else
   4902   #assume ordinary cross tools, or native build.
   4903 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4904 case $host in
   4905   *-*-mingw* )
   4906     case $build in
   4907       *-*-mingw* ) # actually msys
   4908         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4909         ;;
   4910     esac
   4911     ;;
   4912 esac
   4913 
   4914 fi
   4915 
   4916 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4918 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4925 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4926 if ${lt_cv_ld_reload_flag+:} false; then :
   4927   $as_echo_n "(cached) " >&6
   4928 else
   4929   lt_cv_ld_reload_flag='-r'
   4930 fi
   4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4932 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4933 reload_flag=$lt_cv_ld_reload_flag
   4934 case $reload_flag in
   4935 "" | " "*) ;;
   4936 *) reload_flag=" $reload_flag" ;;
   4937 esac
   4938 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4939 case $host_os in
   4940   cygwin* | mingw* | pw32* | cegcc*)
   4941     if test "$GCC" != yes; then
   4942       reload_cmds=false
   4943     fi
   4944     ;;
   4945   darwin*)
   4946     if test "$GCC" = yes; then
   4947       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4948     else
   4949       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4950     fi
   4951     ;;
   4952 esac
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 if test -n "$ac_tool_prefix"; then
   4963   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4964 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4966 $as_echo_n "checking for $ac_word... " >&6; }
   4967 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4968   $as_echo_n "(cached) " >&6
   4969 else
   4970   if test -n "$OBJDUMP"; then
   4971   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4972 else
   4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4974 for as_dir in $PATH
   4975 do
   4976   IFS=$as_save_IFS
   4977   test -z "$as_dir" && as_dir=.
   4978     for ac_exec_ext in '' $ac_executable_extensions; do
   4979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4980     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4982     break 2
   4983   fi
   4984 done
   4985   done
   4986 IFS=$as_save_IFS
   4987 
   4988 fi
   4989 fi
   4990 OBJDUMP=$ac_cv_prog_OBJDUMP
   4991 if test -n "$OBJDUMP"; then
   4992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4993 $as_echo "$OBJDUMP" >&6; }
   4994 else
   4995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4996 $as_echo "no" >&6; }
   4997 fi
   4998 
   4999 
   5000 fi
   5001 if test -z "$ac_cv_prog_OBJDUMP"; then
   5002   ac_ct_OBJDUMP=$OBJDUMP
   5003   # Extract the first word of "objdump", so it can be a program name with args.
   5004 set dummy objdump; ac_word=$2
   5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5006 $as_echo_n "checking for $ac_word... " >&6; }
   5007 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5008   $as_echo_n "(cached) " >&6
   5009 else
   5010   if test -n "$ac_ct_OBJDUMP"; then
   5011   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5012 else
   5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5014 for as_dir in $PATH
   5015 do
   5016   IFS=$as_save_IFS
   5017   test -z "$as_dir" && as_dir=.
   5018     for ac_exec_ext in '' $ac_executable_extensions; do
   5019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5020     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5022     break 2
   5023   fi
   5024 done
   5025   done
   5026 IFS=$as_save_IFS
   5027 
   5028 fi
   5029 fi
   5030 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5031 if test -n "$ac_ct_OBJDUMP"; then
   5032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5033 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5034 else
   5035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5036 $as_echo "no" >&6; }
   5037 fi
   5038 
   5039   if test "x$ac_ct_OBJDUMP" = x; then
   5040     OBJDUMP="false"
   5041   else
   5042     case $cross_compiling:$ac_tool_warned in
   5043 yes:)
   5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5046 ac_tool_warned=yes ;;
   5047 esac
   5048     OBJDUMP=$ac_ct_OBJDUMP
   5049   fi
   5050 else
   5051   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5052 fi
   5053 
   5054 test -z "$OBJDUMP" && OBJDUMP=objdump
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5065 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5066 if ${lt_cv_deplibs_check_method+:} false; then :
   5067   $as_echo_n "(cached) " >&6
   5068 else
   5069   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5070 lt_cv_file_magic_test_file=
   5071 lt_cv_deplibs_check_method='unknown'
   5072 # Need to set the preceding variable on all platforms that support
   5073 # interlibrary dependencies.
   5074 # 'none' -- dependencies not supported.
   5075 # `unknown' -- same as none, but documents that we really don't know.
   5076 # 'pass_all' -- all dependencies passed with no checks.
   5077 # 'test_compile' -- check by making test program.
   5078 # 'file_magic [[regex]]' -- check by looking for files in library path
   5079 # which responds to the $file_magic_cmd with a given extended regex.
   5080 # If you have `file' or equivalent on your system and you're not sure
   5081 # whether `pass_all' will *always* work, you probably want this one.
   5082 
   5083 case $host_os in
   5084 aix[4-9]*)
   5085   lt_cv_deplibs_check_method=pass_all
   5086   ;;
   5087 
   5088 beos*)
   5089   lt_cv_deplibs_check_method=pass_all
   5090   ;;
   5091 
   5092 bsdi[45]*)
   5093   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5094   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5095   lt_cv_file_magic_test_file=/shlib/libc.so
   5096   ;;
   5097 
   5098 cygwin*)
   5099   # func_win32_libid is a shell function defined in ltmain.sh
   5100   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5101   lt_cv_file_magic_cmd='func_win32_libid'
   5102   ;;
   5103 
   5104 mingw* | pw32*)
   5105   # Base MSYS/MinGW do not provide the 'file' command needed by
   5106   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5107   # unless we find 'file', for example because we are cross-compiling.
   5108   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5109   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5110     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5111     lt_cv_file_magic_cmd='func_win32_libid'
   5112   else
   5113     # Keep this pattern in sync with the one in func_win32_libid.
   5114     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5115     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5116   fi
   5117   ;;
   5118 
   5119 cegcc*)
   5120   # use the weaker test based on 'objdump'. See mingw*.
   5121   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5122   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5123   ;;
   5124 
   5125 darwin* | rhapsody*)
   5126   lt_cv_deplibs_check_method=pass_all
   5127   ;;
   5128 
   5129 freebsd* | dragonfly*)
   5130   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5131     case $host_cpu in
   5132     i*86 )
   5133       # Not sure whether the presence of OpenBSD here was a mistake.
   5134       # Let's accept both of them until this is cleared up.
   5135       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5136       lt_cv_file_magic_cmd=/usr/bin/file
   5137       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5138       ;;
   5139     esac
   5140   else
   5141     lt_cv_deplibs_check_method=pass_all
   5142   fi
   5143   ;;
   5144 
   5145 gnu*)
   5146   lt_cv_deplibs_check_method=pass_all
   5147   ;;
   5148 
   5149 haiku*)
   5150   lt_cv_deplibs_check_method=pass_all
   5151   ;;
   5152 
   5153 hpux10.20* | hpux11*)
   5154   lt_cv_file_magic_cmd=/usr/bin/file
   5155   case $host_cpu in
   5156   ia64*)
   5157     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5158     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5159     ;;
   5160   hppa*64*)
   5161     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]'
   5162     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5163     ;;
   5164   *)
   5165     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5166     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5167     ;;
   5168   esac
   5169   ;;
   5170 
   5171 interix[3-9]*)
   5172   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5173   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5174   ;;
   5175 
   5176 irix5* | irix6* | nonstopux*)
   5177   case $LD in
   5178   *-32|*"-32 ") libmagic=32-bit;;
   5179   *-n32|*"-n32 ") libmagic=N32;;
   5180   *-64|*"-64 ") libmagic=64-bit;;
   5181   *) libmagic=never-match;;
   5182   esac
   5183   lt_cv_deplibs_check_method=pass_all
   5184   ;;
   5185 
   5186 # This must be glibc/ELF.
   5187 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5188   lt_cv_deplibs_check_method=pass_all
   5189   ;;
   5190 
   5191 netbsd*)
   5192   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5193     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5194   else
   5195     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5196   fi
   5197   ;;
   5198 
   5199 newos6*)
   5200   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5201   lt_cv_file_magic_cmd=/usr/bin/file
   5202   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5203   ;;
   5204 
   5205 *nto* | *qnx*)
   5206   lt_cv_deplibs_check_method=pass_all
   5207   ;;
   5208 
   5209 openbsd*)
   5210   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5211     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5212   else
   5213     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5214   fi
   5215   ;;
   5216 
   5217 osf3* | osf4* | osf5*)
   5218   lt_cv_deplibs_check_method=pass_all
   5219   ;;
   5220 
   5221 rdos*)
   5222   lt_cv_deplibs_check_method=pass_all
   5223   ;;
   5224 
   5225 solaris*)
   5226   lt_cv_deplibs_check_method=pass_all
   5227   ;;
   5228 
   5229 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5230   lt_cv_deplibs_check_method=pass_all
   5231   ;;
   5232 
   5233 sysv4 | sysv4.3*)
   5234   case $host_vendor in
   5235   motorola)
   5236     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]'
   5237     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5238     ;;
   5239   ncr)
   5240     lt_cv_deplibs_check_method=pass_all
   5241     ;;
   5242   sequent)
   5243     lt_cv_file_magic_cmd='/bin/file'
   5244     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5245     ;;
   5246   sni)
   5247     lt_cv_file_magic_cmd='/bin/file'
   5248     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5249     lt_cv_file_magic_test_file=/lib/libc.so
   5250     ;;
   5251   siemens)
   5252     lt_cv_deplibs_check_method=pass_all
   5253     ;;
   5254   pc)
   5255     lt_cv_deplibs_check_method=pass_all
   5256     ;;
   5257   esac
   5258   ;;
   5259 
   5260 tpf*)
   5261   lt_cv_deplibs_check_method=pass_all
   5262   ;;
   5263 esac
   5264 
   5265 fi
   5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5267 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5268 
   5269 file_magic_glob=
   5270 want_nocaseglob=no
   5271 if test "$build" = "$host"; then
   5272   case $host_os in
   5273   mingw* | pw32*)
   5274     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5275       want_nocaseglob=yes
   5276     else
   5277       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5278     fi
   5279     ;;
   5280   esac
   5281 fi
   5282 
   5283 file_magic_cmd=$lt_cv_file_magic_cmd
   5284 deplibs_check_method=$lt_cv_deplibs_check_method
   5285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 if test -n "$ac_tool_prefix"; then
   5309   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5310 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5312 $as_echo_n "checking for $ac_word... " >&6; }
   5313 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   if test -n "$DLLTOOL"; then
   5317   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5318 else
   5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5320 for as_dir in $PATH
   5321 do
   5322   IFS=$as_save_IFS
   5323   test -z "$as_dir" && as_dir=.
   5324     for ac_exec_ext in '' $ac_executable_extensions; do
   5325   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5326     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5328     break 2
   5329   fi
   5330 done
   5331   done
   5332 IFS=$as_save_IFS
   5333 
   5334 fi
   5335 fi
   5336 DLLTOOL=$ac_cv_prog_DLLTOOL
   5337 if test -n "$DLLTOOL"; then
   5338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5339 $as_echo "$DLLTOOL" >&6; }
   5340 else
   5341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5342 $as_echo "no" >&6; }
   5343 fi
   5344 
   5345 
   5346 fi
   5347 if test -z "$ac_cv_prog_DLLTOOL"; then
   5348   ac_ct_DLLTOOL=$DLLTOOL
   5349   # Extract the first word of "dlltool", so it can be a program name with args.
   5350 set dummy dlltool; ac_word=$2
   5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5352 $as_echo_n "checking for $ac_word... " >&6; }
   5353 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5354   $as_echo_n "(cached) " >&6
   5355 else
   5356   if test -n "$ac_ct_DLLTOOL"; then
   5357   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5358 else
   5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5360 for as_dir in $PATH
   5361 do
   5362   IFS=$as_save_IFS
   5363   test -z "$as_dir" && as_dir=.
   5364     for ac_exec_ext in '' $ac_executable_extensions; do
   5365   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5366     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5368     break 2
   5369   fi
   5370 done
   5371   done
   5372 IFS=$as_save_IFS
   5373 
   5374 fi
   5375 fi
   5376 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5377 if test -n "$ac_ct_DLLTOOL"; then
   5378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5379 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5380 else
   5381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5382 $as_echo "no" >&6; }
   5383 fi
   5384 
   5385   if test "x$ac_ct_DLLTOOL" = x; then
   5386     DLLTOOL="false"
   5387   else
   5388     case $cross_compiling:$ac_tool_warned in
   5389 yes:)
   5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5392 ac_tool_warned=yes ;;
   5393 esac
   5394     DLLTOOL=$ac_ct_DLLTOOL
   5395   fi
   5396 else
   5397   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5398 fi
   5399 
   5400 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5412 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5413 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5414   $as_echo_n "(cached) " >&6
   5415 else
   5416   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5417 
   5418 case $host_os in
   5419 cygwin* | mingw* | pw32* | cegcc*)
   5420   # two different shell functions defined in ltmain.sh
   5421   # decide which to use based on capabilities of $DLLTOOL
   5422   case `$DLLTOOL --help 2>&1` in
   5423   *--identify-strict*)
   5424     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5425     ;;
   5426   *)
   5427     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5428     ;;
   5429   esac
   5430   ;;
   5431 *)
   5432   # fallback: assume linklib IS sharedlib
   5433   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5434   ;;
   5435 esac
   5436 
   5437 fi
   5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5439 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5440 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5441 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 if test -n "$ac_tool_prefix"; then
   5451   for ac_prog in ar
   5452   do
   5453     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5456 $as_echo_n "checking for $ac_word... " >&6; }
   5457 if ${ac_cv_prog_AR+:} false; then :
   5458   $as_echo_n "(cached) " >&6
   5459 else
   5460   if test -n "$AR"; then
   5461   ac_cv_prog_AR="$AR" # Let the user override the test.
   5462 else
   5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5464 for as_dir in $PATH
   5465 do
   5466   IFS=$as_save_IFS
   5467   test -z "$as_dir" && as_dir=.
   5468     for ac_exec_ext in '' $ac_executable_extensions; do
   5469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5470     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5472     break 2
   5473   fi
   5474 done
   5475   done
   5476 IFS=$as_save_IFS
   5477 
   5478 fi
   5479 fi
   5480 AR=$ac_cv_prog_AR
   5481 if test -n "$AR"; then
   5482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5483 $as_echo "$AR" >&6; }
   5484 else
   5485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5486 $as_echo "no" >&6; }
   5487 fi
   5488 
   5489 
   5490     test -n "$AR" && break
   5491   done
   5492 fi
   5493 if test -z "$AR"; then
   5494   ac_ct_AR=$AR
   5495   for ac_prog in ar
   5496 do
   5497   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5498 set dummy $ac_prog; ac_word=$2
   5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5500 $as_echo_n "checking for $ac_word... " >&6; }
   5501 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5502   $as_echo_n "(cached) " >&6
   5503 else
   5504   if test -n "$ac_ct_AR"; then
   5505   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5506 else
   5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5508 for as_dir in $PATH
   5509 do
   5510   IFS=$as_save_IFS
   5511   test -z "$as_dir" && as_dir=.
   5512     for ac_exec_ext in '' $ac_executable_extensions; do
   5513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5514     ac_cv_prog_ac_ct_AR="$ac_prog"
   5515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5516     break 2
   5517   fi
   5518 done
   5519   done
   5520 IFS=$as_save_IFS
   5521 
   5522 fi
   5523 fi
   5524 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5525 if test -n "$ac_ct_AR"; then
   5526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5527 $as_echo "$ac_ct_AR" >&6; }
   5528 else
   5529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5530 $as_echo "no" >&6; }
   5531 fi
   5532 
   5533 
   5534   test -n "$ac_ct_AR" && break
   5535 done
   5536 
   5537   if test "x$ac_ct_AR" = x; then
   5538     AR="false"
   5539   else
   5540     case $cross_compiling:$ac_tool_warned in
   5541 yes:)
   5542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5544 ac_tool_warned=yes ;;
   5545 esac
   5546     AR=$ac_ct_AR
   5547   fi
   5548 fi
   5549 
   5550 : ${AR=ar}
   5551 : ${AR_FLAGS=cru}
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5564 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5565 if ${lt_cv_ar_at_file+:} false; then :
   5566   $as_echo_n "(cached) " >&6
   5567 else
   5568   lt_cv_ar_at_file=no
   5569    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5570 /* end confdefs.h.  */
   5571 
   5572 int
   5573 main ()
   5574 {
   5575 
   5576   ;
   5577   return 0;
   5578 }
   5579 _ACEOF
   5580 if ac_fn_c_try_compile "$LINENO"; then :
   5581   echo conftest.$ac_objext > conftest.lst
   5582       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5583       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5584   (eval $lt_ar_try) 2>&5
   5585   ac_status=$?
   5586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5587   test $ac_status = 0; }
   5588       if test "$ac_status" -eq 0; then
   5589 	# Ensure the archiver fails upon bogus file names.
   5590 	rm -f conftest.$ac_objext libconftest.a
   5591 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5592   (eval $lt_ar_try) 2>&5
   5593   ac_status=$?
   5594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5595   test $ac_status = 0; }
   5596 	if test "$ac_status" -ne 0; then
   5597           lt_cv_ar_at_file=@
   5598         fi
   5599       fi
   5600       rm -f conftest.* libconftest.a
   5601 
   5602 fi
   5603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5604 
   5605 fi
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5607 $as_echo "$lt_cv_ar_at_file" >&6; }
   5608 
   5609 if test "x$lt_cv_ar_at_file" = xno; then
   5610   archiver_list_spec=
   5611 else
   5612   archiver_list_spec=$lt_cv_ar_at_file
   5613 fi
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 if test -n "$ac_tool_prefix"; then
   5622   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5623 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5625 $as_echo_n "checking for $ac_word... " >&6; }
   5626 if ${ac_cv_prog_STRIP+:} false; then :
   5627   $as_echo_n "(cached) " >&6
   5628 else
   5629   if test -n "$STRIP"; then
   5630   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5631 else
   5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5633 for as_dir in $PATH
   5634 do
   5635   IFS=$as_save_IFS
   5636   test -z "$as_dir" && as_dir=.
   5637     for ac_exec_ext in '' $ac_executable_extensions; do
   5638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5639     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5641     break 2
   5642   fi
   5643 done
   5644   done
   5645 IFS=$as_save_IFS
   5646 
   5647 fi
   5648 fi
   5649 STRIP=$ac_cv_prog_STRIP
   5650 if test -n "$STRIP"; then
   5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5652 $as_echo "$STRIP" >&6; }
   5653 else
   5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5655 $as_echo "no" >&6; }
   5656 fi
   5657 
   5658 
   5659 fi
   5660 if test -z "$ac_cv_prog_STRIP"; then
   5661   ac_ct_STRIP=$STRIP
   5662   # Extract the first word of "strip", so it can be a program name with args.
   5663 set dummy strip; ac_word=$2
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5665 $as_echo_n "checking for $ac_word... " >&6; }
   5666 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5667   $as_echo_n "(cached) " >&6
   5668 else
   5669   if test -n "$ac_ct_STRIP"; then
   5670   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5671 else
   5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5673 for as_dir in $PATH
   5674 do
   5675   IFS=$as_save_IFS
   5676   test -z "$as_dir" && as_dir=.
   5677     for ac_exec_ext in '' $ac_executable_extensions; do
   5678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5679     ac_cv_prog_ac_ct_STRIP="strip"
   5680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5681     break 2
   5682   fi
   5683 done
   5684   done
   5685 IFS=$as_save_IFS
   5686 
   5687 fi
   5688 fi
   5689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5690 if test -n "$ac_ct_STRIP"; then
   5691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5692 $as_echo "$ac_ct_STRIP" >&6; }
   5693 else
   5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5695 $as_echo "no" >&6; }
   5696 fi
   5697 
   5698   if test "x$ac_ct_STRIP" = x; then
   5699     STRIP=":"
   5700   else
   5701     case $cross_compiling:$ac_tool_warned in
   5702 yes:)
   5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5705 ac_tool_warned=yes ;;
   5706 esac
   5707     STRIP=$ac_ct_STRIP
   5708   fi
   5709 else
   5710   STRIP="$ac_cv_prog_STRIP"
   5711 fi
   5712 
   5713 test -z "$STRIP" && STRIP=:
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 if test -n "$ac_tool_prefix"; then
   5721   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5722 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5724 $as_echo_n "checking for $ac_word... " >&6; }
   5725 if ${ac_cv_prog_RANLIB+:} false; then :
   5726   $as_echo_n "(cached) " >&6
   5727 else
   5728   if test -n "$RANLIB"; then
   5729   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5730 else
   5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5732 for as_dir in $PATH
   5733 do
   5734   IFS=$as_save_IFS
   5735   test -z "$as_dir" && as_dir=.
   5736     for ac_exec_ext in '' $ac_executable_extensions; do
   5737   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5738     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5740     break 2
   5741   fi
   5742 done
   5743   done
   5744 IFS=$as_save_IFS
   5745 
   5746 fi
   5747 fi
   5748 RANLIB=$ac_cv_prog_RANLIB
   5749 if test -n "$RANLIB"; then
   5750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5751 $as_echo "$RANLIB" >&6; }
   5752 else
   5753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5754 $as_echo "no" >&6; }
   5755 fi
   5756 
   5757 
   5758 fi
   5759 if test -z "$ac_cv_prog_RANLIB"; then
   5760   ac_ct_RANLIB=$RANLIB
   5761   # Extract the first word of "ranlib", so it can be a program name with args.
   5762 set dummy ranlib; ac_word=$2
   5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5764 $as_echo_n "checking for $ac_word... " >&6; }
   5765 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5766   $as_echo_n "(cached) " >&6
   5767 else
   5768   if test -n "$ac_ct_RANLIB"; then
   5769   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5770 else
   5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5772 for as_dir in $PATH
   5773 do
   5774   IFS=$as_save_IFS
   5775   test -z "$as_dir" && as_dir=.
   5776     for ac_exec_ext in '' $ac_executable_extensions; do
   5777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5778     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5780     break 2
   5781   fi
   5782 done
   5783   done
   5784 IFS=$as_save_IFS
   5785 
   5786 fi
   5787 fi
   5788 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5789 if test -n "$ac_ct_RANLIB"; then
   5790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5791 $as_echo "$ac_ct_RANLIB" >&6; }
   5792 else
   5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5794 $as_echo "no" >&6; }
   5795 fi
   5796 
   5797   if test "x$ac_ct_RANLIB" = x; then
   5798     RANLIB=":"
   5799   else
   5800     case $cross_compiling:$ac_tool_warned in
   5801 yes:)
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5804 ac_tool_warned=yes ;;
   5805 esac
   5806     RANLIB=$ac_ct_RANLIB
   5807   fi
   5808 else
   5809   RANLIB="$ac_cv_prog_RANLIB"
   5810 fi
   5811 
   5812 test -z "$RANLIB" && RANLIB=:
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 # Determine commands to create old-style static archives.
   5820 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5821 old_postinstall_cmds='chmod 644 $oldlib'
   5822 old_postuninstall_cmds=
   5823 
   5824 if test -n "$RANLIB"; then
   5825   case $host_os in
   5826   openbsd*)
   5827     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5828     ;;
   5829   *)
   5830     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5831     ;;
   5832   esac
   5833   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5834 fi
   5835 
   5836 case $host_os in
   5837   darwin*)
   5838     lock_old_archive_extraction=yes ;;
   5839   *)
   5840     lock_old_archive_extraction=no ;;
   5841 esac
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   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 # If no C compiler was specified, use CC.
   5882 LTCC=${LTCC-"$CC"}
   5883 
   5884 # If no C compiler flags were specified, use CFLAGS.
   5885 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5886 
   5887 # Allow CC to be a program name with arguments.
   5888 compiler=$CC
   5889 
   5890 
   5891 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5893 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5894 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5895   $as_echo_n "(cached) " >&6
   5896 else
   5897 
   5898 # These are sane defaults that work on at least a few old systems.
   5899 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5900 
   5901 # Character class describing NM global symbol codes.
   5902 symcode='[BCDEGRST]'
   5903 
   5904 # Regexp to match symbols that can be accessed directly from C.
   5905 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5906 
   5907 # Define system-specific variables.
   5908 case $host_os in
   5909 aix*)
   5910   symcode='[BCDT]'
   5911   ;;
   5912 cygwin* | mingw* | pw32* | cegcc*)
   5913   symcode='[ABCDGISTW]'
   5914   ;;
   5915 hpux*)
   5916   if test "$host_cpu" = ia64; then
   5917     symcode='[ABCDEGRST]'
   5918   fi
   5919   ;;
   5920 irix* | nonstopux*)
   5921   symcode='[BCDEGRST]'
   5922   ;;
   5923 osf*)
   5924   symcode='[BCDEGQRST]'
   5925   ;;
   5926 solaris*)
   5927   symcode='[BDRT]'
   5928   ;;
   5929 sco3.2v5*)
   5930   symcode='[DT]'
   5931   ;;
   5932 sysv4.2uw2*)
   5933   symcode='[DT]'
   5934   ;;
   5935 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5936   symcode='[ABDT]'
   5937   ;;
   5938 sysv4)
   5939   symcode='[DFNSTU]'
   5940   ;;
   5941 esac
   5942 
   5943 # If we're using GNU nm, then use its standard symbol codes.
   5944 case `$NM -V 2>&1` in
   5945 *GNU* | *'with BFD'*)
   5946   symcode='[ABCDGIRSTW]' ;;
   5947 esac
   5948 
   5949 # Transform an extracted symbol line into a proper C declaration.
   5950 # Some systems (esp. on ia64) link data and code symbols differently,
   5951 # so use this general approach.
   5952 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5953 
   5954 # Transform an extracted symbol line into symbol name and symbol address
   5955 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5956 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'"
   5957 
   5958 # Handle CRLF in mingw tool chain
   5959 opt_cr=
   5960 case $build_os in
   5961 mingw*)
   5962   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5963   ;;
   5964 esac
   5965 
   5966 # Try without a prefix underscore, then with it.
   5967 for ac_symprfx in "" "_"; do
   5968 
   5969   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5970   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5971 
   5972   # Write the raw and C identifiers.
   5973   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5974     # Fake it for dumpbin and say T for any non-static function
   5975     # and D for any global variable.
   5976     # Also find C++ and __fastcall symbols from MSVC++,
   5977     # which start with @ or ?.
   5978     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5979 "     {last_section=section; section=\$ 3};"\
   5980 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5981 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5982 "     \$ 0!~/External *\|/{next};"\
   5983 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5984 "     {if(hide[section]) next};"\
   5985 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5986 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5987 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5988 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5989 "     ' prfx=^$ac_symprfx"
   5990   else
   5991     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5992   fi
   5993   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5994 
   5995   # Check to see that the pipe works correctly.
   5996   pipe_works=no
   5997 
   5998   rm -f conftest*
   5999   cat > conftest.$ac_ext <<_LT_EOF
   6000 #ifdef __cplusplus
   6001 extern "C" {
   6002 #endif
   6003 char nm_test_var;
   6004 void nm_test_func(void);
   6005 void nm_test_func(void){}
   6006 #ifdef __cplusplus
   6007 }
   6008 #endif
   6009 int main(){nm_test_var='a';nm_test_func();return(0);}
   6010 _LT_EOF
   6011 
   6012   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6013   (eval $ac_compile) 2>&5
   6014   ac_status=$?
   6015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6016   test $ac_status = 0; }; then
   6017     # Now try to grab the symbols.
   6018     nlist=conftest.nm
   6019     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6020   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6021   ac_status=$?
   6022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6023   test $ac_status = 0; } && test -s "$nlist"; then
   6024       # Try sorting and uniquifying the output.
   6025       if sort "$nlist" | uniq > "$nlist"T; then
   6026 	mv -f "$nlist"T "$nlist"
   6027       else
   6028 	rm -f "$nlist"T
   6029       fi
   6030 
   6031       # Make sure that we snagged all the symbols we need.
   6032       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6033 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6034 	  cat <<_LT_EOF > conftest.$ac_ext
   6035 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6036 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6037 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6038    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6039 # define LT_DLSYM_CONST
   6040 #elif defined(__osf__)
   6041 /* This system does not cope well with relocations in const data.  */
   6042 # define LT_DLSYM_CONST
   6043 #else
   6044 # define LT_DLSYM_CONST const
   6045 #endif
   6046 
   6047 #ifdef __cplusplus
   6048 extern "C" {
   6049 #endif
   6050 
   6051 _LT_EOF
   6052 	  # Now generate the symbol file.
   6053 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6054 
   6055 	  cat <<_LT_EOF >> conftest.$ac_ext
   6056 
   6057 /* The mapping between symbol names and symbols.  */
   6058 LT_DLSYM_CONST struct {
   6059   const char *name;
   6060   void       *address;
   6061 }
   6062 lt__PROGRAM__LTX_preloaded_symbols[] =
   6063 {
   6064   { "@PROGRAM@", (void *) 0 },
   6065 _LT_EOF
   6066 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6067 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6068   {0, (void *) 0}
   6069 };
   6070 
   6071 /* This works around a problem in FreeBSD linker */
   6072 #ifdef FREEBSD_WORKAROUND
   6073 static const void *lt_preloaded_setup() {
   6074   return lt__PROGRAM__LTX_preloaded_symbols;
   6075 }
   6076 #endif
   6077 
   6078 #ifdef __cplusplus
   6079 }
   6080 #endif
   6081 _LT_EOF
   6082 	  # Now try linking the two files.
   6083 	  mv conftest.$ac_objext conftstm.$ac_objext
   6084 	  lt_globsym_save_LIBS=$LIBS
   6085 	  lt_globsym_save_CFLAGS=$CFLAGS
   6086 	  LIBS="conftstm.$ac_objext"
   6087 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6088 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6089   (eval $ac_link) 2>&5
   6090   ac_status=$?
   6091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6092   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6093 	    pipe_works=yes
   6094 	  fi
   6095 	  LIBS=$lt_globsym_save_LIBS
   6096 	  CFLAGS=$lt_globsym_save_CFLAGS
   6097 	else
   6098 	  echo "cannot find nm_test_func in $nlist" >&5
   6099 	fi
   6100       else
   6101 	echo "cannot find nm_test_var in $nlist" >&5
   6102       fi
   6103     else
   6104       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6105     fi
   6106   else
   6107     echo "$progname: failed program was:" >&5
   6108     cat conftest.$ac_ext >&5
   6109   fi
   6110   rm -rf conftest* conftst*
   6111 
   6112   # Do not use the global_symbol_pipe unless it works.
   6113   if test "$pipe_works" = yes; then
   6114     break
   6115   else
   6116     lt_cv_sys_global_symbol_pipe=
   6117   fi
   6118 done
   6119 
   6120 fi
   6121 
   6122 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6123   lt_cv_sys_global_symbol_to_cdecl=
   6124 fi
   6125 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6127 $as_echo "failed" >&6; }
   6128 else
   6129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6130 $as_echo "ok" >&6; }
   6131 fi
   6132 
   6133 # Response file support.
   6134 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6135   nm_file_list_spec='@'
   6136 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6137   nm_file_list_spec='@'
   6138 fi
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6167 $as_echo_n "checking for sysroot... " >&6; }
   6168 
   6169 # Check whether --with-sysroot was given.
   6170 if test "${with_sysroot+set}" = set; then :
   6171   withval=$with_sysroot;
   6172 else
   6173   with_sysroot=no
   6174 fi
   6175 
   6176 
   6177 lt_sysroot=
   6178 case ${with_sysroot} in #(
   6179  yes)
   6180    if test "$GCC" = yes; then
   6181      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6182    fi
   6183    ;; #(
   6184  /*)
   6185    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6186    ;; #(
   6187  no|'')
   6188    ;; #(
   6189  *)
   6190    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6191 $as_echo "${with_sysroot}" >&6; }
   6192    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6193    ;;
   6194 esac
   6195 
   6196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6197 $as_echo "${lt_sysroot:-no}" >&6; }
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 # Check whether --enable-libtool-lock was given.
   6204 if test "${enable_libtool_lock+set}" = set; then :
   6205   enableval=$enable_libtool_lock;
   6206 fi
   6207 
   6208 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6209 
   6210 # Some flags need to be propagated to the compiler or linker for good
   6211 # libtool support.
   6212 case $host in
   6213 ia64-*-hpux*)
   6214   # Find out which ABI we are using.
   6215   echo 'int i;' > conftest.$ac_ext
   6216   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6217   (eval $ac_compile) 2>&5
   6218   ac_status=$?
   6219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6220   test $ac_status = 0; }; then
   6221     case `/usr/bin/file conftest.$ac_objext` in
   6222       *ELF-32*)
   6223 	HPUX_IA64_MODE="32"
   6224 	;;
   6225       *ELF-64*)
   6226 	HPUX_IA64_MODE="64"
   6227 	;;
   6228     esac
   6229   fi
   6230   rm -rf conftest*
   6231   ;;
   6232 *-*-irix6*)
   6233   # Find out which ABI we are using.
   6234   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6235   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6236   (eval $ac_compile) 2>&5
   6237   ac_status=$?
   6238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6239   test $ac_status = 0; }; then
   6240     if test "$lt_cv_prog_gnu_ld" = yes; then
   6241       case `/usr/bin/file conftest.$ac_objext` in
   6242 	*32-bit*)
   6243 	  LD="${LD-ld} -melf32bsmip"
   6244 	  ;;
   6245 	*N32*)
   6246 	  LD="${LD-ld} -melf32bmipn32"
   6247 	  ;;
   6248 	*64-bit*)
   6249 	  LD="${LD-ld} -melf64bmip"
   6250 	;;
   6251       esac
   6252     else
   6253       case `/usr/bin/file conftest.$ac_objext` in
   6254 	*32-bit*)
   6255 	  LD="${LD-ld} -32"
   6256 	  ;;
   6257 	*N32*)
   6258 	  LD="${LD-ld} -n32"
   6259 	  ;;
   6260 	*64-bit*)
   6261 	  LD="${LD-ld} -64"
   6262 	  ;;
   6263       esac
   6264     fi
   6265   fi
   6266   rm -rf conftest*
   6267   ;;
   6268 
   6269 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6270 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6271   # Find out which ABI we are using.
   6272   echo 'int i;' > conftest.$ac_ext
   6273   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6274   (eval $ac_compile) 2>&5
   6275   ac_status=$?
   6276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6277   test $ac_status = 0; }; then
   6278     case `/usr/bin/file conftest.o` in
   6279       *32-bit*)
   6280 	case $host in
   6281 	  x86_64-*kfreebsd*-gnu)
   6282 	    LD="${LD-ld} -m elf_i386_fbsd"
   6283 	    ;;
   6284 	  x86_64-*linux*)
   6285 	    LD="${LD-ld} -m elf_i386"
   6286 	    ;;
   6287 	  ppc64-*linux*|powerpc64-*linux*)
   6288 	    LD="${LD-ld} -m elf32ppclinux"
   6289 	    ;;
   6290 	  s390x-*linux*)
   6291 	    LD="${LD-ld} -m elf_s390"
   6292 	    ;;
   6293 	  sparc64-*linux*)
   6294 	    LD="${LD-ld} -m elf32_sparc"
   6295 	    ;;
   6296 	esac
   6297 	;;
   6298       *64-bit*)
   6299 	case $host in
   6300 	  x86_64-*kfreebsd*-gnu)
   6301 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6302 	    ;;
   6303 	  x86_64-*linux*)
   6304 	    LD="${LD-ld} -m elf_x86_64"
   6305 	    ;;
   6306 	  ppc*-*linux*|powerpc*-*linux*)
   6307 	    LD="${LD-ld} -m elf64ppc"
   6308 	    ;;
   6309 	  s390*-*linux*|s390*-*tpf*)
   6310 	    LD="${LD-ld} -m elf64_s390"
   6311 	    ;;
   6312 	  sparc*-*linux*)
   6313 	    LD="${LD-ld} -m elf64_sparc"
   6314 	    ;;
   6315 	esac
   6316 	;;
   6317     esac
   6318   fi
   6319   rm -rf conftest*
   6320   ;;
   6321 
   6322 *-*-sco3.2v5*)
   6323   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6324   SAVE_CFLAGS="$CFLAGS"
   6325   CFLAGS="$CFLAGS -belf"
   6326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6327 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6328 if ${lt_cv_cc_needs_belf+:} false; then :
   6329   $as_echo_n "(cached) " >&6
   6330 else
   6331   ac_ext=c
   6332 ac_cpp='$CPP $CPPFLAGS'
   6333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6336 
   6337      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6338 /* end confdefs.h.  */
   6339 
   6340 int
   6341 main ()
   6342 {
   6343 
   6344   ;
   6345   return 0;
   6346 }
   6347 _ACEOF
   6348 if ac_fn_c_try_link "$LINENO"; then :
   6349   lt_cv_cc_needs_belf=yes
   6350 else
   6351   lt_cv_cc_needs_belf=no
   6352 fi
   6353 rm -f core conftest.err conftest.$ac_objext \
   6354     conftest$ac_exeext conftest.$ac_ext
   6355      ac_ext=c
   6356 ac_cpp='$CPP $CPPFLAGS'
   6357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6360 
   6361 fi
   6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6363 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6364   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6365     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6366     CFLAGS="$SAVE_CFLAGS"
   6367   fi
   6368   ;;
   6369 *-*solaris*)
   6370   # Find out which ABI we are using.
   6371   echo 'int i;' > conftest.$ac_ext
   6372   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6373   (eval $ac_compile) 2>&5
   6374   ac_status=$?
   6375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6376   test $ac_status = 0; }; then
   6377     case `/usr/bin/file conftest.o` in
   6378     *64-bit*)
   6379       case $lt_cv_prog_gnu_ld in
   6380       yes*)
   6381         case $host in
   6382         i?86-*-solaris*)
   6383           LD="${LD-ld} -m elf_x86_64"
   6384           ;;
   6385         sparc*-*-solaris*)
   6386           LD="${LD-ld} -m elf64_sparc"
   6387           ;;
   6388         esac
   6389         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6390         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6391           LD="${LD-ld}_sol2"
   6392         fi
   6393         ;;
   6394       *)
   6395 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6396 	  LD="${LD-ld} -64"
   6397 	fi
   6398 	;;
   6399       esac
   6400       ;;
   6401     esac
   6402   fi
   6403   rm -rf conftest*
   6404   ;;
   6405 esac
   6406 
   6407 need_locks="$enable_libtool_lock"
   6408 
   6409 if test -n "$ac_tool_prefix"; then
   6410   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6411 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6413 $as_echo_n "checking for $ac_word... " >&6; }
   6414 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6415   $as_echo_n "(cached) " >&6
   6416 else
   6417   if test -n "$MANIFEST_TOOL"; then
   6418   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6419 else
   6420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6421 for as_dir in $PATH
   6422 do
   6423   IFS=$as_save_IFS
   6424   test -z "$as_dir" && as_dir=.
   6425     for ac_exec_ext in '' $ac_executable_extensions; do
   6426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6427     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6429     break 2
   6430   fi
   6431 done
   6432   done
   6433 IFS=$as_save_IFS
   6434 
   6435 fi
   6436 fi
   6437 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6438 if test -n "$MANIFEST_TOOL"; then
   6439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6440 $as_echo "$MANIFEST_TOOL" >&6; }
   6441 else
   6442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6443 $as_echo "no" >&6; }
   6444 fi
   6445 
   6446 
   6447 fi
   6448 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6449   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6450   # Extract the first word of "mt", so it can be a program name with args.
   6451 set dummy mt; ac_word=$2
   6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6453 $as_echo_n "checking for $ac_word... " >&6; }
   6454 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6455   $as_echo_n "(cached) " >&6
   6456 else
   6457   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6458   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6459 else
   6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6461 for as_dir in $PATH
   6462 do
   6463   IFS=$as_save_IFS
   6464   test -z "$as_dir" && as_dir=.
   6465     for ac_exec_ext in '' $ac_executable_extensions; do
   6466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6467     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6469     break 2
   6470   fi
   6471 done
   6472   done
   6473 IFS=$as_save_IFS
   6474 
   6475 fi
   6476 fi
   6477 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6478 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6480 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6481 else
   6482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6483 $as_echo "no" >&6; }
   6484 fi
   6485 
   6486   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6487     MANIFEST_TOOL=":"
   6488   else
   6489     case $cross_compiling:$ac_tool_warned in
   6490 yes:)
   6491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6493 ac_tool_warned=yes ;;
   6494 esac
   6495     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6496   fi
   6497 else
   6498   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6499 fi
   6500 
   6501 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6503 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6504 if ${lt_cv_path_mainfest_tool+:} false; then :
   6505   $as_echo_n "(cached) " >&6
   6506 else
   6507   lt_cv_path_mainfest_tool=no
   6508   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6509   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6510   cat conftest.err >&5
   6511   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6512     lt_cv_path_mainfest_tool=yes
   6513   fi
   6514   rm -f conftest*
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6517 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6518 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6519   MANIFEST_TOOL=:
   6520 fi
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527   case $host_os in
   6528     rhapsody* | darwin*)
   6529     if test -n "$ac_tool_prefix"; then
   6530   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6531 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6533 $as_echo_n "checking for $ac_word... " >&6; }
   6534 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   if test -n "$DSYMUTIL"; then
   6538   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6539 else
   6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6541 for as_dir in $PATH
   6542 do
   6543   IFS=$as_save_IFS
   6544   test -z "$as_dir" && as_dir=.
   6545     for ac_exec_ext in '' $ac_executable_extensions; do
   6546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6547     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6549     break 2
   6550   fi
   6551 done
   6552   done
   6553 IFS=$as_save_IFS
   6554 
   6555 fi
   6556 fi
   6557 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6558 if test -n "$DSYMUTIL"; then
   6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6560 $as_echo "$DSYMUTIL" >&6; }
   6561 else
   6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6563 $as_echo "no" >&6; }
   6564 fi
   6565 
   6566 
   6567 fi
   6568 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6569   ac_ct_DSYMUTIL=$DSYMUTIL
   6570   # Extract the first word of "dsymutil", so it can be a program name with args.
   6571 set dummy dsymutil; ac_word=$2
   6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6573 $as_echo_n "checking for $ac_word... " >&6; }
   6574 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6575   $as_echo_n "(cached) " >&6
   6576 else
   6577   if test -n "$ac_ct_DSYMUTIL"; then
   6578   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6579 else
   6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6581 for as_dir in $PATH
   6582 do
   6583   IFS=$as_save_IFS
   6584   test -z "$as_dir" && as_dir=.
   6585     for ac_exec_ext in '' $ac_executable_extensions; do
   6586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6587     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6589     break 2
   6590   fi
   6591 done
   6592   done
   6593 IFS=$as_save_IFS
   6594 
   6595 fi
   6596 fi
   6597 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6598 if test -n "$ac_ct_DSYMUTIL"; then
   6599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6600 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6601 else
   6602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6603 $as_echo "no" >&6; }
   6604 fi
   6605 
   6606   if test "x$ac_ct_DSYMUTIL" = x; then
   6607     DSYMUTIL=":"
   6608   else
   6609     case $cross_compiling:$ac_tool_warned in
   6610 yes:)
   6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6613 ac_tool_warned=yes ;;
   6614 esac
   6615     DSYMUTIL=$ac_ct_DSYMUTIL
   6616   fi
   6617 else
   6618   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6619 fi
   6620 
   6621     if test -n "$ac_tool_prefix"; then
   6622   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6623 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6625 $as_echo_n "checking for $ac_word... " >&6; }
   6626 if ${ac_cv_prog_NMEDIT+:} false; then :
   6627   $as_echo_n "(cached) " >&6
   6628 else
   6629   if test -n "$NMEDIT"; then
   6630   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6631 else
   6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6633 for as_dir in $PATH
   6634 do
   6635   IFS=$as_save_IFS
   6636   test -z "$as_dir" && as_dir=.
   6637     for ac_exec_ext in '' $ac_executable_extensions; do
   6638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6639     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6641     break 2
   6642   fi
   6643 done
   6644   done
   6645 IFS=$as_save_IFS
   6646 
   6647 fi
   6648 fi
   6649 NMEDIT=$ac_cv_prog_NMEDIT
   6650 if test -n "$NMEDIT"; then
   6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6652 $as_echo "$NMEDIT" >&6; }
   6653 else
   6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6655 $as_echo "no" >&6; }
   6656 fi
   6657 
   6658 
   6659 fi
   6660 if test -z "$ac_cv_prog_NMEDIT"; then
   6661   ac_ct_NMEDIT=$NMEDIT
   6662   # Extract the first word of "nmedit", so it can be a program name with args.
   6663 set dummy nmedit; ac_word=$2
   6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6665 $as_echo_n "checking for $ac_word... " >&6; }
   6666 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   if test -n "$ac_ct_NMEDIT"; then
   6670   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6671 else
   6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6673 for as_dir in $PATH
   6674 do
   6675   IFS=$as_save_IFS
   6676   test -z "$as_dir" && as_dir=.
   6677     for ac_exec_ext in '' $ac_executable_extensions; do
   6678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6679     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6681     break 2
   6682   fi
   6683 done
   6684   done
   6685 IFS=$as_save_IFS
   6686 
   6687 fi
   6688 fi
   6689 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6690 if test -n "$ac_ct_NMEDIT"; then
   6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6692 $as_echo "$ac_ct_NMEDIT" >&6; }
   6693 else
   6694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6695 $as_echo "no" >&6; }
   6696 fi
   6697 
   6698   if test "x$ac_ct_NMEDIT" = x; then
   6699     NMEDIT=":"
   6700   else
   6701     case $cross_compiling:$ac_tool_warned in
   6702 yes:)
   6703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6705 ac_tool_warned=yes ;;
   6706 esac
   6707     NMEDIT=$ac_ct_NMEDIT
   6708   fi
   6709 else
   6710   NMEDIT="$ac_cv_prog_NMEDIT"
   6711 fi
   6712 
   6713     if test -n "$ac_tool_prefix"; then
   6714   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6715 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6717 $as_echo_n "checking for $ac_word... " >&6; }
   6718 if ${ac_cv_prog_LIPO+:} false; then :
   6719   $as_echo_n "(cached) " >&6
   6720 else
   6721   if test -n "$LIPO"; then
   6722   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6723 else
   6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6725 for as_dir in $PATH
   6726 do
   6727   IFS=$as_save_IFS
   6728   test -z "$as_dir" && as_dir=.
   6729     for ac_exec_ext in '' $ac_executable_extensions; do
   6730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6731     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6733     break 2
   6734   fi
   6735 done
   6736   done
   6737 IFS=$as_save_IFS
   6738 
   6739 fi
   6740 fi
   6741 LIPO=$ac_cv_prog_LIPO
   6742 if test -n "$LIPO"; then
   6743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6744 $as_echo "$LIPO" >&6; }
   6745 else
   6746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6747 $as_echo "no" >&6; }
   6748 fi
   6749 
   6750 
   6751 fi
   6752 if test -z "$ac_cv_prog_LIPO"; then
   6753   ac_ct_LIPO=$LIPO
   6754   # Extract the first word of "lipo", so it can be a program name with args.
   6755 set dummy lipo; ac_word=$2
   6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6757 $as_echo_n "checking for $ac_word... " >&6; }
   6758 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6759   $as_echo_n "(cached) " >&6
   6760 else
   6761   if test -n "$ac_ct_LIPO"; then
   6762   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6763 else
   6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6765 for as_dir in $PATH
   6766 do
   6767   IFS=$as_save_IFS
   6768   test -z "$as_dir" && as_dir=.
   6769     for ac_exec_ext in '' $ac_executable_extensions; do
   6770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6771     ac_cv_prog_ac_ct_LIPO="lipo"
   6772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6773     break 2
   6774   fi
   6775 done
   6776   done
   6777 IFS=$as_save_IFS
   6778 
   6779 fi
   6780 fi
   6781 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6782 if test -n "$ac_ct_LIPO"; then
   6783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6784 $as_echo "$ac_ct_LIPO" >&6; }
   6785 else
   6786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6787 $as_echo "no" >&6; }
   6788 fi
   6789 
   6790   if test "x$ac_ct_LIPO" = x; then
   6791     LIPO=":"
   6792   else
   6793     case $cross_compiling:$ac_tool_warned in
   6794 yes:)
   6795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6797 ac_tool_warned=yes ;;
   6798 esac
   6799     LIPO=$ac_ct_LIPO
   6800   fi
   6801 else
   6802   LIPO="$ac_cv_prog_LIPO"
   6803 fi
   6804 
   6805     if test -n "$ac_tool_prefix"; then
   6806   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6807 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6809 $as_echo_n "checking for $ac_word... " >&6; }
   6810 if ${ac_cv_prog_OTOOL+:} false; then :
   6811   $as_echo_n "(cached) " >&6
   6812 else
   6813   if test -n "$OTOOL"; then
   6814   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6815 else
   6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6817 for as_dir in $PATH
   6818 do
   6819   IFS=$as_save_IFS
   6820   test -z "$as_dir" && as_dir=.
   6821     for ac_exec_ext in '' $ac_executable_extensions; do
   6822   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6823     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6825     break 2
   6826   fi
   6827 done
   6828   done
   6829 IFS=$as_save_IFS
   6830 
   6831 fi
   6832 fi
   6833 OTOOL=$ac_cv_prog_OTOOL
   6834 if test -n "$OTOOL"; then
   6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6836 $as_echo "$OTOOL" >&6; }
   6837 else
   6838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6839 $as_echo "no" >&6; }
   6840 fi
   6841 
   6842 
   6843 fi
   6844 if test -z "$ac_cv_prog_OTOOL"; then
   6845   ac_ct_OTOOL=$OTOOL
   6846   # Extract the first word of "otool", so it can be a program name with args.
   6847 set dummy otool; ac_word=$2
   6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6849 $as_echo_n "checking for $ac_word... " >&6; }
   6850 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6851   $as_echo_n "(cached) " >&6
   6852 else
   6853   if test -n "$ac_ct_OTOOL"; then
   6854   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6855 else
   6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6857 for as_dir in $PATH
   6858 do
   6859   IFS=$as_save_IFS
   6860   test -z "$as_dir" && as_dir=.
   6861     for ac_exec_ext in '' $ac_executable_extensions; do
   6862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6863     ac_cv_prog_ac_ct_OTOOL="otool"
   6864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6865     break 2
   6866   fi
   6867 done
   6868   done
   6869 IFS=$as_save_IFS
   6870 
   6871 fi
   6872 fi
   6873 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6874 if test -n "$ac_ct_OTOOL"; then
   6875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6876 $as_echo "$ac_ct_OTOOL" >&6; }
   6877 else
   6878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6879 $as_echo "no" >&6; }
   6880 fi
   6881 
   6882   if test "x$ac_ct_OTOOL" = x; then
   6883     OTOOL=":"
   6884   else
   6885     case $cross_compiling:$ac_tool_warned in
   6886 yes:)
   6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6889 ac_tool_warned=yes ;;
   6890 esac
   6891     OTOOL=$ac_ct_OTOOL
   6892   fi
   6893 else
   6894   OTOOL="$ac_cv_prog_OTOOL"
   6895 fi
   6896 
   6897     if test -n "$ac_tool_prefix"; then
   6898   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6899 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6901 $as_echo_n "checking for $ac_word... " >&6; }
   6902 if ${ac_cv_prog_OTOOL64+:} false; then :
   6903   $as_echo_n "(cached) " >&6
   6904 else
   6905   if test -n "$OTOOL64"; then
   6906   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6907 else
   6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6909 for as_dir in $PATH
   6910 do
   6911   IFS=$as_save_IFS
   6912   test -z "$as_dir" && as_dir=.
   6913     for ac_exec_ext in '' $ac_executable_extensions; do
   6914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6915     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6917     break 2
   6918   fi
   6919 done
   6920   done
   6921 IFS=$as_save_IFS
   6922 
   6923 fi
   6924 fi
   6925 OTOOL64=$ac_cv_prog_OTOOL64
   6926 if test -n "$OTOOL64"; then
   6927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6928 $as_echo "$OTOOL64" >&6; }
   6929 else
   6930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6931 $as_echo "no" >&6; }
   6932 fi
   6933 
   6934 
   6935 fi
   6936 if test -z "$ac_cv_prog_OTOOL64"; then
   6937   ac_ct_OTOOL64=$OTOOL64
   6938   # Extract the first word of "otool64", so it can be a program name with args.
   6939 set dummy otool64; ac_word=$2
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6941 $as_echo_n "checking for $ac_word... " >&6; }
   6942 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945   if test -n "$ac_ct_OTOOL64"; then
   6946   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6947 else
   6948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6949 for as_dir in $PATH
   6950 do
   6951   IFS=$as_save_IFS
   6952   test -z "$as_dir" && as_dir=.
   6953     for ac_exec_ext in '' $ac_executable_extensions; do
   6954   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6955     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6957     break 2
   6958   fi
   6959 done
   6960   done
   6961 IFS=$as_save_IFS
   6962 
   6963 fi
   6964 fi
   6965 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6966 if test -n "$ac_ct_OTOOL64"; then
   6967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6968 $as_echo "$ac_ct_OTOOL64" >&6; }
   6969 else
   6970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6971 $as_echo "no" >&6; }
   6972 fi
   6973 
   6974   if test "x$ac_ct_OTOOL64" = x; then
   6975     OTOOL64=":"
   6976   else
   6977     case $cross_compiling:$ac_tool_warned in
   6978 yes:)
   6979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6981 ac_tool_warned=yes ;;
   6982 esac
   6983     OTOOL64=$ac_ct_OTOOL64
   6984   fi
   6985 else
   6986   OTOOL64="$ac_cv_prog_OTOOL64"
   6987 fi
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7016 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7017 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   lt_cv_apple_cc_single_mod=no
   7021       if test -z "${LT_MULTI_MODULE}"; then
   7022 	# By default we will add the -single_module flag. You can override
   7023 	# by either setting the environment variable LT_MULTI_MODULE
   7024 	# non-empty at configure time, or by adding -multi_module to the
   7025 	# link flags.
   7026 	rm -rf libconftest.dylib*
   7027 	echo "int foo(void){return 1;}" > conftest.c
   7028 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7029 -dynamiclib -Wl,-single_module conftest.c" >&5
   7030 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7031 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7032         _lt_result=$?
   7033 	# If there is a non-empty error log, and "single_module"
   7034 	# appears in it, assume the flag caused a linker warning
   7035         if test -s conftest.err && $GREP single_module conftest.err; then
   7036 	  cat conftest.err >&5
   7037 	# Otherwise, if the output was created with a 0 exit code from
   7038 	# the compiler, it worked.
   7039 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7040 	  lt_cv_apple_cc_single_mod=yes
   7041 	else
   7042 	  cat conftest.err >&5
   7043 	fi
   7044 	rm -rf libconftest.dylib*
   7045 	rm -f conftest.*
   7046       fi
   7047 fi
   7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7049 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7050 
   7051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7052 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7053 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7054   $as_echo_n "(cached) " >&6
   7055 else
   7056   lt_cv_ld_exported_symbols_list=no
   7057       save_LDFLAGS=$LDFLAGS
   7058       echo "_main" > conftest.sym
   7059       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 
   7063 int
   7064 main ()
   7065 {
   7066 
   7067   ;
   7068   return 0;
   7069 }
   7070 _ACEOF
   7071 if ac_fn_c_try_link "$LINENO"; then :
   7072   lt_cv_ld_exported_symbols_list=yes
   7073 else
   7074   lt_cv_ld_exported_symbols_list=no
   7075 fi
   7076 rm -f core conftest.err conftest.$ac_objext \
   7077     conftest$ac_exeext conftest.$ac_ext
   7078 	LDFLAGS="$save_LDFLAGS"
   7079 
   7080 fi
   7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7082 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7083 
   7084     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7085 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7086 if ${lt_cv_ld_force_load+:} false; then :
   7087   $as_echo_n "(cached) " >&6
   7088 else
   7089   lt_cv_ld_force_load=no
   7090       cat > conftest.c << _LT_EOF
   7091 int forced_loaded() { return 2;}
   7092 _LT_EOF
   7093       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7094       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7095       echo "$AR cru libconftest.a conftest.o" >&5
   7096       $AR cru libconftest.a conftest.o 2>&5
   7097       echo "$RANLIB libconftest.a" >&5
   7098       $RANLIB libconftest.a 2>&5
   7099       cat > conftest.c << _LT_EOF
   7100 int main() { return 0;}
   7101 _LT_EOF
   7102       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7103       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7104       _lt_result=$?
   7105       if test -s conftest.err && $GREP force_load conftest.err; then
   7106 	cat conftest.err >&5
   7107       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7108 	lt_cv_ld_force_load=yes
   7109       else
   7110 	cat conftest.err >&5
   7111       fi
   7112         rm -f conftest.err libconftest.a conftest conftest.c
   7113         rm -rf conftest.dSYM
   7114 
   7115 fi
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7117 $as_echo "$lt_cv_ld_force_load" >&6; }
   7118     case $host_os in
   7119     rhapsody* | darwin1.[012])
   7120       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7121     darwin1.*)
   7122       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7123     darwin*) # darwin 5.x on
   7124       # if running on 10.5 or later, the deployment target defaults
   7125       # to the OS version, if on x86, and 10.4, the deployment
   7126       # target defaults to 10.4. Don't you love it?
   7127       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7128 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7129 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7130 	10.[012]*)
   7131 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7132 	10.*)
   7133 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7134       esac
   7135     ;;
   7136   esac
   7137     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7138       _lt_dar_single_mod='$single_module'
   7139     fi
   7140     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7141       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7142     else
   7143       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7144     fi
   7145     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7146       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7147     else
   7148       _lt_dsymutil=
   7149     fi
   7150     ;;
   7151   esac
   7152 
   7153 ac_ext=c
   7154 ac_cpp='$CPP $CPPFLAGS'
   7155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7159 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7160 # On Suns, sometimes $CPP names a directory.
   7161 if test -n "$CPP" && test -d "$CPP"; then
   7162   CPP=
   7163 fi
   7164 if test -z "$CPP"; then
   7165   if ${ac_cv_prog_CPP+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168       # Double quotes because CPP needs to be expanded
   7169     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7170     do
   7171       ac_preproc_ok=false
   7172 for ac_c_preproc_warn_flag in '' yes
   7173 do
   7174   # Use a header file that comes with gcc, so configuring glibc
   7175   # with a fresh cross-compiler works.
   7176   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7177   # <limits.h> exists even on freestanding compilers.
   7178   # On the NeXT, cc -E runs the code through the compiler's parser,
   7179   # not just through cpp. "Syntax error" is here to catch this case.
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 #ifdef __STDC__
   7183 # include <limits.h>
   7184 #else
   7185 # include <assert.h>
   7186 #endif
   7187 		     Syntax error
   7188 _ACEOF
   7189 if ac_fn_c_try_cpp "$LINENO"; then :
   7190 
   7191 else
   7192   # Broken: fails on valid input.
   7193 continue
   7194 fi
   7195 rm -f conftest.err conftest.i conftest.$ac_ext
   7196 
   7197   # OK, works on sane cases.  Now check whether nonexistent headers
   7198   # can be detected and how.
   7199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7200 /* end confdefs.h.  */
   7201 #include <ac_nonexistent.h>
   7202 _ACEOF
   7203 if ac_fn_c_try_cpp "$LINENO"; then :
   7204   # Broken: success on invalid input.
   7205 continue
   7206 else
   7207   # Passes both tests.
   7208 ac_preproc_ok=:
   7209 break
   7210 fi
   7211 rm -f conftest.err conftest.i conftest.$ac_ext
   7212 
   7213 done
   7214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7215 rm -f conftest.i conftest.err conftest.$ac_ext
   7216 if $ac_preproc_ok; then :
   7217   break
   7218 fi
   7219 
   7220     done
   7221     ac_cv_prog_CPP=$CPP
   7222 
   7223 fi
   7224   CPP=$ac_cv_prog_CPP
   7225 else
   7226   ac_cv_prog_CPP=$CPP
   7227 fi
   7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7229 $as_echo "$CPP" >&6; }
   7230 ac_preproc_ok=false
   7231 for ac_c_preproc_warn_flag in '' yes
   7232 do
   7233   # Use a header file that comes with gcc, so configuring glibc
   7234   # with a fresh cross-compiler works.
   7235   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7236   # <limits.h> exists even on freestanding compilers.
   7237   # On the NeXT, cc -E runs the code through the compiler's parser,
   7238   # not just through cpp. "Syntax error" is here to catch this case.
   7239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7240 /* end confdefs.h.  */
   7241 #ifdef __STDC__
   7242 # include <limits.h>
   7243 #else
   7244 # include <assert.h>
   7245 #endif
   7246 		     Syntax error
   7247 _ACEOF
   7248 if ac_fn_c_try_cpp "$LINENO"; then :
   7249 
   7250 else
   7251   # Broken: fails on valid input.
   7252 continue
   7253 fi
   7254 rm -f conftest.err conftest.i conftest.$ac_ext
   7255 
   7256   # OK, works on sane cases.  Now check whether nonexistent headers
   7257   # can be detected and how.
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 #include <ac_nonexistent.h>
   7261 _ACEOF
   7262 if ac_fn_c_try_cpp "$LINENO"; then :
   7263   # Broken: success on invalid input.
   7264 continue
   7265 else
   7266   # Passes both tests.
   7267 ac_preproc_ok=:
   7268 break
   7269 fi
   7270 rm -f conftest.err conftest.i conftest.$ac_ext
   7271 
   7272 done
   7273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7274 rm -f conftest.i conftest.err conftest.$ac_ext
   7275 if $ac_preproc_ok; then :
   7276 
   7277 else
   7278   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7280 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7281 See \`config.log' for more details" "$LINENO" 5; }
   7282 fi
   7283 
   7284 ac_ext=c
   7285 ac_cpp='$CPP $CPPFLAGS'
   7286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7289 
   7290 
   7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7292 $as_echo_n "checking for ANSI C header files... " >&6; }
   7293 if ${ac_cv_header_stdc+:} false; then :
   7294   $as_echo_n "(cached) " >&6
   7295 else
   7296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7297 /* end confdefs.h.  */
   7298 #include <stdlib.h>
   7299 #include <stdarg.h>
   7300 #include <string.h>
   7301 #include <float.h>
   7302 
   7303 int
   7304 main ()
   7305 {
   7306 
   7307   ;
   7308   return 0;
   7309 }
   7310 _ACEOF
   7311 if ac_fn_c_try_compile "$LINENO"; then :
   7312   ac_cv_header_stdc=yes
   7313 else
   7314   ac_cv_header_stdc=no
   7315 fi
   7316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7317 
   7318 if test $ac_cv_header_stdc = yes; then
   7319   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7321 /* end confdefs.h.  */
   7322 #include <string.h>
   7323 
   7324 _ACEOF
   7325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7326   $EGREP "memchr" >/dev/null 2>&1; then :
   7327 
   7328 else
   7329   ac_cv_header_stdc=no
   7330 fi
   7331 rm -f conftest*
   7332 
   7333 fi
   7334 
   7335 if test $ac_cv_header_stdc = yes; then
   7336   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 #include <stdlib.h>
   7340 
   7341 _ACEOF
   7342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7343   $EGREP "free" >/dev/null 2>&1; then :
   7344 
   7345 else
   7346   ac_cv_header_stdc=no
   7347 fi
   7348 rm -f conftest*
   7349 
   7350 fi
   7351 
   7352 if test $ac_cv_header_stdc = yes; then
   7353   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7354   if test "$cross_compiling" = yes; then :
   7355   :
   7356 else
   7357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7358 /* end confdefs.h.  */
   7359 #include <ctype.h>
   7360 #include <stdlib.h>
   7361 #if ((' ' & 0x0FF) == 0x020)
   7362 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7363 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7364 #else
   7365 # define ISLOWER(c) \
   7366 		   (('a' <= (c) && (c) <= 'i') \
   7367 		     || ('j' <= (c) && (c) <= 'r') \
   7368 		     || ('s' <= (c) && (c) <= 'z'))
   7369 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7370 #endif
   7371 
   7372 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7373 int
   7374 main ()
   7375 {
   7376   int i;
   7377   for (i = 0; i < 256; i++)
   7378     if (XOR (islower (i), ISLOWER (i))
   7379 	|| toupper (i) != TOUPPER (i))
   7380       return 2;
   7381   return 0;
   7382 }
   7383 _ACEOF
   7384 if ac_fn_c_try_run "$LINENO"; then :
   7385 
   7386 else
   7387   ac_cv_header_stdc=no
   7388 fi
   7389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7390   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7391 fi
   7392 
   7393 fi
   7394 fi
   7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7396 $as_echo "$ac_cv_header_stdc" >&6; }
   7397 if test $ac_cv_header_stdc = yes; then
   7398 
   7399 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7400 
   7401 fi
   7402 
   7403 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7404 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7405 		  inttypes.h stdint.h unistd.h
   7406 do :
   7407   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7408 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7409 "
   7410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7411   cat >>confdefs.h <<_ACEOF
   7412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7413 _ACEOF
   7414 
   7415 fi
   7416 
   7417 done
   7418 
   7419 
   7420 for ac_header in dlfcn.h
   7421 do :
   7422   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7423 "
   7424 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7425   cat >>confdefs.h <<_ACEOF
   7426 #define HAVE_DLFCN_H 1
   7427 _ACEOF
   7428 
   7429 fi
   7430 
   7431 done
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 # Set options
   7438 
   7439 
   7440 
   7441         enable_dlopen=no
   7442 
   7443 
   7444   enable_win32_dll=no
   7445 
   7446 
   7447             # Check whether --enable-shared was given.
   7448 if test "${enable_shared+set}" = set; then :
   7449   enableval=$enable_shared; p=${PACKAGE-default}
   7450     case $enableval in
   7451     yes) enable_shared=yes ;;
   7452     no) enable_shared=no ;;
   7453     *)
   7454       enable_shared=no
   7455       # Look at the argument we got.  We use all the common list separators.
   7456       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7457       for pkg in $enableval; do
   7458 	IFS="$lt_save_ifs"
   7459 	if test "X$pkg" = "X$p"; then
   7460 	  enable_shared=yes
   7461 	fi
   7462       done
   7463       IFS="$lt_save_ifs"
   7464       ;;
   7465     esac
   7466 else
   7467   enable_shared=yes
   7468 fi
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478   # Check whether --enable-static was given.
   7479 if test "${enable_static+set}" = set; then :
   7480   enableval=$enable_static; p=${PACKAGE-default}
   7481     case $enableval in
   7482     yes) enable_static=yes ;;
   7483     no) enable_static=no ;;
   7484     *)
   7485      enable_static=no
   7486       # Look at the argument we got.  We use all the common list separators.
   7487       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7488       for pkg in $enableval; do
   7489 	IFS="$lt_save_ifs"
   7490 	if test "X$pkg" = "X$p"; then
   7491 	  enable_static=yes
   7492 	fi
   7493       done
   7494       IFS="$lt_save_ifs"
   7495       ;;
   7496     esac
   7497 else
   7498   enable_static=yes
   7499 fi
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 # Check whether --with-pic was given.
   7511 if test "${with_pic+set}" = set; then :
   7512   withval=$with_pic; lt_p=${PACKAGE-default}
   7513     case $withval in
   7514     yes|no) pic_mode=$withval ;;
   7515     *)
   7516       pic_mode=default
   7517       # Look at the argument we got.  We use all the common list separators.
   7518       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7519       for lt_pkg in $withval; do
   7520 	IFS="$lt_save_ifs"
   7521 	if test "X$lt_pkg" = "X$lt_p"; then
   7522 	  pic_mode=yes
   7523 	fi
   7524       done
   7525       IFS="$lt_save_ifs"
   7526       ;;
   7527     esac
   7528 else
   7529   pic_mode=default
   7530 fi
   7531 
   7532 
   7533 test -z "$pic_mode" && pic_mode=default
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541   # Check whether --enable-fast-install was given.
   7542 if test "${enable_fast_install+set}" = set; then :
   7543   enableval=$enable_fast_install; p=${PACKAGE-default}
   7544     case $enableval in
   7545     yes) enable_fast_install=yes ;;
   7546     no) enable_fast_install=no ;;
   7547     *)
   7548       enable_fast_install=no
   7549       # Look at the argument we got.  We use all the common list separators.
   7550       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7551       for pkg in $enableval; do
   7552 	IFS="$lt_save_ifs"
   7553 	if test "X$pkg" = "X$p"; then
   7554 	  enable_fast_install=yes
   7555 	fi
   7556       done
   7557       IFS="$lt_save_ifs"
   7558       ;;
   7559     esac
   7560 else
   7561   enable_fast_install=yes
   7562 fi
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 # This can be used to rebuild libtool when needed
   7575 LIBTOOL_DEPS="$ltmain"
   7576 
   7577 # Always use our own libtool.
   7578 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 test -z "$LN_S" && LN_S="ln -s"
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 if test -n "${ZSH_VERSION+set}" ; then
   7625    setopt NO_GLOB_SUBST
   7626 fi
   7627 
   7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7629 $as_echo_n "checking for objdir... " >&6; }
   7630 if ${lt_cv_objdir+:} false; then :
   7631   $as_echo_n "(cached) " >&6
   7632 else
   7633   rm -f .libs 2>/dev/null
   7634 mkdir .libs 2>/dev/null
   7635 if test -d .libs; then
   7636   lt_cv_objdir=.libs
   7637 else
   7638   # MS-DOS does not allow filenames that begin with a dot.
   7639   lt_cv_objdir=_libs
   7640 fi
   7641 rmdir .libs 2>/dev/null
   7642 fi
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7644 $as_echo "$lt_cv_objdir" >&6; }
   7645 objdir=$lt_cv_objdir
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 cat >>confdefs.h <<_ACEOF
   7652 #define LT_OBJDIR "$lt_cv_objdir/"
   7653 _ACEOF
   7654 
   7655 
   7656 
   7657 
   7658 case $host_os in
   7659 aix3*)
   7660   # AIX sometimes has problems with the GCC collect2 program.  For some
   7661   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7662   # vanish in a puff of smoke.
   7663   if test "X${COLLECT_NAMES+set}" != Xset; then
   7664     COLLECT_NAMES=
   7665     export COLLECT_NAMES
   7666   fi
   7667   ;;
   7668 esac
   7669 
   7670 # Global variables:
   7671 ofile=libtool
   7672 can_build_shared=yes
   7673 
   7674 # All known linkers require a `.a' archive for static linking (except MSVC,
   7675 # which needs '.lib').
   7676 libext=a
   7677 
   7678 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7679 
   7680 old_CC="$CC"
   7681 old_CFLAGS="$CFLAGS"
   7682 
   7683 # Set sane defaults for various variables
   7684 test -z "$CC" && CC=cc
   7685 test -z "$LTCC" && LTCC=$CC
   7686 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7687 test -z "$LD" && LD=ld
   7688 test -z "$ac_objext" && ac_objext=o
   7689 
   7690 for cc_temp in $compiler""; do
   7691   case $cc_temp in
   7692     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7693     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7694     \-*) ;;
   7695     *) break;;
   7696   esac
   7697 done
   7698 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7699 
   7700 
   7701 # Only perform the check for file, if the check method requires it
   7702 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7703 case $deplibs_check_method in
   7704 file_magic*)
   7705   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7706     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7707 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7708 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7709   $as_echo_n "(cached) " >&6
   7710 else
   7711   case $MAGIC_CMD in
   7712 [\\/*] |  ?:[\\/]*)
   7713   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7714   ;;
   7715 *)
   7716   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7717   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7718   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7719   for ac_dir in $ac_dummy; do
   7720     IFS="$lt_save_ifs"
   7721     test -z "$ac_dir" && ac_dir=.
   7722     if test -f $ac_dir/${ac_tool_prefix}file; then
   7723       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7724       if test -n "$file_magic_test_file"; then
   7725 	case $deplibs_check_method in
   7726 	"file_magic "*)
   7727 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7728 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7729 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7730 	    $EGREP "$file_magic_regex" > /dev/null; then
   7731 	    :
   7732 	  else
   7733 	    cat <<_LT_EOF 1>&2
   7734 
   7735 *** Warning: the command libtool uses to detect shared libraries,
   7736 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7737 *** The result is that libtool may fail to recognize shared libraries
   7738 *** as such.  This will affect the creation of libtool libraries that
   7739 *** depend on shared libraries, but programs linked with such libtool
   7740 *** libraries will work regardless of this problem.  Nevertheless, you
   7741 *** may want to report the problem to your system manager and/or to
   7742 *** bug-libtool@gnu.org
   7743 
   7744 _LT_EOF
   7745 	  fi ;;
   7746 	esac
   7747       fi
   7748       break
   7749     fi
   7750   done
   7751   IFS="$lt_save_ifs"
   7752   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7753   ;;
   7754 esac
   7755 fi
   7756 
   7757 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7758 if test -n "$MAGIC_CMD"; then
   7759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7760 $as_echo "$MAGIC_CMD" >&6; }
   7761 else
   7762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7763 $as_echo "no" >&6; }
   7764 fi
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7771   if test -n "$ac_tool_prefix"; then
   7772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7773 $as_echo_n "checking for file... " >&6; }
   7774 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7775   $as_echo_n "(cached) " >&6
   7776 else
   7777   case $MAGIC_CMD in
   7778 [\\/*] |  ?:[\\/]*)
   7779   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7780   ;;
   7781 *)
   7782   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7783   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7784   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7785   for ac_dir in $ac_dummy; do
   7786     IFS="$lt_save_ifs"
   7787     test -z "$ac_dir" && ac_dir=.
   7788     if test -f $ac_dir/file; then
   7789       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7790       if test -n "$file_magic_test_file"; then
   7791 	case $deplibs_check_method in
   7792 	"file_magic "*)
   7793 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7794 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7795 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7796 	    $EGREP "$file_magic_regex" > /dev/null; then
   7797 	    :
   7798 	  else
   7799 	    cat <<_LT_EOF 1>&2
   7800 
   7801 *** Warning: the command libtool uses to detect shared libraries,
   7802 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7803 *** The result is that libtool may fail to recognize shared libraries
   7804 *** as such.  This will affect the creation of libtool libraries that
   7805 *** depend on shared libraries, but programs linked with such libtool
   7806 *** libraries will work regardless of this problem.  Nevertheless, you
   7807 *** may want to report the problem to your system manager and/or to
   7808 *** bug-libtool@gnu.org
   7809 
   7810 _LT_EOF
   7811 	  fi ;;
   7812 	esac
   7813       fi
   7814       break
   7815     fi
   7816   done
   7817   IFS="$lt_save_ifs"
   7818   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7819   ;;
   7820 esac
   7821 fi
   7822 
   7823 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7824 if test -n "$MAGIC_CMD"; then
   7825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7826 $as_echo "$MAGIC_CMD" >&6; }
   7827 else
   7828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7829 $as_echo "no" >&6; }
   7830 fi
   7831 
   7832 
   7833   else
   7834     MAGIC_CMD=:
   7835   fi
   7836 fi
   7837 
   7838   fi
   7839   ;;
   7840 esac
   7841 
   7842 # Use C for the default configuration in the libtool script
   7843 
   7844 lt_save_CC="$CC"
   7845 ac_ext=c
   7846 ac_cpp='$CPP $CPPFLAGS'
   7847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7850 
   7851 
   7852 # Source file extension for C test sources.
   7853 ac_ext=c
   7854 
   7855 # Object file extension for compiled C test sources.
   7856 objext=o
   7857 objext=$objext
   7858 
   7859 # Code to be used in simple compile tests
   7860 lt_simple_compile_test_code="int some_variable = 0;"
   7861 
   7862 # Code to be used in simple link tests
   7863 lt_simple_link_test_code='int main(){return(0);}'
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 # If no C compiler was specified, use CC.
   7872 LTCC=${LTCC-"$CC"}
   7873 
   7874 # If no C compiler flags were specified, use CFLAGS.
   7875 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7876 
   7877 # Allow CC to be a program name with arguments.
   7878 compiler=$CC
   7879 
   7880 # Save the default compiler, since it gets overwritten when the other
   7881 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7882 compiler_DEFAULT=$CC
   7883 
   7884 # save warnings/boilerplate of simple test code
   7885 ac_outfile=conftest.$ac_objext
   7886 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7888 _lt_compiler_boilerplate=`cat conftest.err`
   7889 $RM conftest*
   7890 
   7891 ac_outfile=conftest.$ac_objext
   7892 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7894 _lt_linker_boilerplate=`cat conftest.err`
   7895 $RM -r conftest*
   7896 
   7897 
   7898 if test -n "$compiler"; then
   7899 
   7900 lt_prog_compiler_no_builtin_flag=
   7901 
   7902 if test "$GCC" = yes; then
   7903   case $cc_basename in
   7904   nvcc*)
   7905     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7906   *)
   7907     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7908   esac
   7909 
   7910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7911 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7912 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7913   $as_echo_n "(cached) " >&6
   7914 else
   7915   lt_cv_prog_compiler_rtti_exceptions=no
   7916    ac_outfile=conftest.$ac_objext
   7917    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7918    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7919    # Insert the option either (1) after the last *FLAGS variable, or
   7920    # (2) before a word containing "conftest.", or (3) at the end.
   7921    # Note that $ac_compile itself does not contain backslashes and begins
   7922    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7923    # The option is referenced via a variable to avoid confusing sed.
   7924    lt_compile=`echo "$ac_compile" | $SED \
   7925    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7926    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7927    -e 's:$: $lt_compiler_flag:'`
   7928    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7929    (eval "$lt_compile" 2>conftest.err)
   7930    ac_status=$?
   7931    cat conftest.err >&5
   7932    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7933    if (exit $ac_status) && test -s "$ac_outfile"; then
   7934      # The compiler can only warn and ignore the option if not recognized
   7935      # So say no if there are warnings other than the usual output.
   7936      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7937      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7938      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7939        lt_cv_prog_compiler_rtti_exceptions=yes
   7940      fi
   7941    fi
   7942    $RM conftest*
   7943 
   7944 fi
   7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7946 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7947 
   7948 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7949     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7950 else
   7951     :
   7952 fi
   7953 
   7954 fi
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961   lt_prog_compiler_wl=
   7962 lt_prog_compiler_pic=
   7963 lt_prog_compiler_static=
   7964 
   7965 
   7966   if test "$GCC" = yes; then
   7967     lt_prog_compiler_wl='-Wl,'
   7968     lt_prog_compiler_static='-static'
   7969 
   7970     case $host_os in
   7971       aix*)
   7972       # All AIX code is PIC.
   7973       if test "$host_cpu" = ia64; then
   7974 	# AIX 5 now supports IA64 processor
   7975 	lt_prog_compiler_static='-Bstatic'
   7976       fi
   7977       ;;
   7978 
   7979     amigaos*)
   7980       case $host_cpu in
   7981       powerpc)
   7982             # see comment about AmigaOS4 .so support
   7983             lt_prog_compiler_pic='-fPIC'
   7984         ;;
   7985       m68k)
   7986             # FIXME: we need at least 68020 code to build shared libraries, but
   7987             # adding the `-m68020' flag to GCC prevents building anything better,
   7988             # like `-m68040'.
   7989             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7990         ;;
   7991       esac
   7992       ;;
   7993 
   7994     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7995       # PIC is the default for these OSes.
   7996       ;;
   7997 
   7998     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7999       # This hack is so that the source file can tell whether it is being
   8000       # built for inclusion in a dll (and should export symbols for example).
   8001       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8002       # (--disable-auto-import) libraries
   8003       lt_prog_compiler_pic='-DDLL_EXPORT'
   8004       ;;
   8005 
   8006     darwin* | rhapsody*)
   8007       # PIC is the default on this platform
   8008       # Common symbols not allowed in MH_DYLIB files
   8009       lt_prog_compiler_pic='-fno-common'
   8010       ;;
   8011 
   8012     haiku*)
   8013       # PIC is the default for Haiku.
   8014       # The "-static" flag exists, but is broken.
   8015       lt_prog_compiler_static=
   8016       ;;
   8017 
   8018     hpux*)
   8019       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8020       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8021       # sets the default TLS model and affects inlining.
   8022       case $host_cpu in
   8023       hppa*64*)
   8024 	# +Z the default
   8025 	;;
   8026       *)
   8027 	lt_prog_compiler_pic='-fPIC'
   8028 	;;
   8029       esac
   8030       ;;
   8031 
   8032     interix[3-9]*)
   8033       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8034       # Instead, we relocate shared libraries at runtime.
   8035       ;;
   8036 
   8037     msdosdjgpp*)
   8038       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8039       # on systems that don't support them.
   8040       lt_prog_compiler_can_build_shared=no
   8041       enable_shared=no
   8042       ;;
   8043 
   8044     *nto* | *qnx*)
   8045       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8046       # it will coredump.
   8047       lt_prog_compiler_pic='-fPIC -shared'
   8048       ;;
   8049 
   8050     sysv4*MP*)
   8051       if test -d /usr/nec; then
   8052 	lt_prog_compiler_pic=-Kconform_pic
   8053       fi
   8054       ;;
   8055 
   8056     *)
   8057       lt_prog_compiler_pic='-fPIC'
   8058       ;;
   8059     esac
   8060 
   8061     case $cc_basename in
   8062     nvcc*) # Cuda Compiler Driver 2.2
   8063       lt_prog_compiler_wl='-Xlinker '
   8064       if test -n "$lt_prog_compiler_pic"; then
   8065         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8066       fi
   8067       ;;
   8068     esac
   8069   else
   8070     # PORTME Check for flag to pass linker flags through the system compiler.
   8071     case $host_os in
   8072     aix*)
   8073       lt_prog_compiler_wl='-Wl,'
   8074       if test "$host_cpu" = ia64; then
   8075 	# AIX 5 now supports IA64 processor
   8076 	lt_prog_compiler_static='-Bstatic'
   8077       else
   8078 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8079       fi
   8080       ;;
   8081 
   8082     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8083       # This hack is so that the source file can tell whether it is being
   8084       # built for inclusion in a dll (and should export symbols for example).
   8085       lt_prog_compiler_pic='-DDLL_EXPORT'
   8086       ;;
   8087 
   8088     hpux9* | hpux10* | hpux11*)
   8089       lt_prog_compiler_wl='-Wl,'
   8090       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8091       # not for PA HP-UX.
   8092       case $host_cpu in
   8093       hppa*64*|ia64*)
   8094 	# +Z the default
   8095 	;;
   8096       *)
   8097 	lt_prog_compiler_pic='+Z'
   8098 	;;
   8099       esac
   8100       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8101       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8102       ;;
   8103 
   8104     irix5* | irix6* | nonstopux*)
   8105       lt_prog_compiler_wl='-Wl,'
   8106       # PIC (with -KPIC) is the default.
   8107       lt_prog_compiler_static='-non_shared'
   8108       ;;
   8109 
   8110     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8111       case $cc_basename in
   8112       # old Intel for x86_64 which still supported -KPIC.
   8113       ecc*)
   8114 	lt_prog_compiler_wl='-Wl,'
   8115 	lt_prog_compiler_pic='-KPIC'
   8116 	lt_prog_compiler_static='-static'
   8117         ;;
   8118       # icc used to be incompatible with GCC.
   8119       # ICC 10 doesn't accept -KPIC any more.
   8120       icc* | ifort*)
   8121 	lt_prog_compiler_wl='-Wl,'
   8122 	lt_prog_compiler_pic='-fPIC'
   8123 	lt_prog_compiler_static='-static'
   8124         ;;
   8125       # Lahey Fortran 8.1.
   8126       lf95*)
   8127 	lt_prog_compiler_wl='-Wl,'
   8128 	lt_prog_compiler_pic='--shared'
   8129 	lt_prog_compiler_static='--static'
   8130 	;;
   8131       nagfor*)
   8132 	# NAG Fortran compiler
   8133 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8134 	lt_prog_compiler_pic='-PIC'
   8135 	lt_prog_compiler_static='-Bstatic'
   8136 	;;
   8137       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8138         # Portland Group compilers (*not* the Pentium gcc compiler,
   8139 	# which looks to be a dead project)
   8140 	lt_prog_compiler_wl='-Wl,'
   8141 	lt_prog_compiler_pic='-fpic'
   8142 	lt_prog_compiler_static='-Bstatic'
   8143         ;;
   8144       ccc*)
   8145         lt_prog_compiler_wl='-Wl,'
   8146         # All Alpha code is PIC.
   8147         lt_prog_compiler_static='-non_shared'
   8148         ;;
   8149       xl* | bgxl* | bgf* | mpixl*)
   8150 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8151 	lt_prog_compiler_wl='-Wl,'
   8152 	lt_prog_compiler_pic='-qpic'
   8153 	lt_prog_compiler_static='-qstaticlink'
   8154 	;;
   8155       *)
   8156 	case `$CC -V 2>&1 | sed 5q` in
   8157 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8158 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8159 	  lt_prog_compiler_pic='-KPIC'
   8160 	  lt_prog_compiler_static='-Bstatic'
   8161 	  lt_prog_compiler_wl=''
   8162 	  ;;
   8163 	*Sun\ F* | *Sun*Fortran*)
   8164 	  lt_prog_compiler_pic='-KPIC'
   8165 	  lt_prog_compiler_static='-Bstatic'
   8166 	  lt_prog_compiler_wl='-Qoption ld '
   8167 	  ;;
   8168 	*Sun\ C*)
   8169 	  # Sun C 5.9
   8170 	  lt_prog_compiler_pic='-KPIC'
   8171 	  lt_prog_compiler_static='-Bstatic'
   8172 	  lt_prog_compiler_wl='-Wl,'
   8173 	  ;;
   8174         *Intel*\ [CF]*Compiler*)
   8175 	  lt_prog_compiler_wl='-Wl,'
   8176 	  lt_prog_compiler_pic='-fPIC'
   8177 	  lt_prog_compiler_static='-static'
   8178 	  ;;
   8179 	*Portland\ Group*)
   8180 	  lt_prog_compiler_wl='-Wl,'
   8181 	  lt_prog_compiler_pic='-fpic'
   8182 	  lt_prog_compiler_static='-Bstatic'
   8183 	  ;;
   8184 	esac
   8185 	;;
   8186       esac
   8187       ;;
   8188 
   8189     newsos6)
   8190       lt_prog_compiler_pic='-KPIC'
   8191       lt_prog_compiler_static='-Bstatic'
   8192       ;;
   8193 
   8194     *nto* | *qnx*)
   8195       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8196       # it will coredump.
   8197       lt_prog_compiler_pic='-fPIC -shared'
   8198       ;;
   8199 
   8200     osf3* | osf4* | osf5*)
   8201       lt_prog_compiler_wl='-Wl,'
   8202       # All OSF/1 code is PIC.
   8203       lt_prog_compiler_static='-non_shared'
   8204       ;;
   8205 
   8206     rdos*)
   8207       lt_prog_compiler_static='-non_shared'
   8208       ;;
   8209 
   8210     solaris*)
   8211       lt_prog_compiler_pic='-KPIC'
   8212       lt_prog_compiler_static='-Bstatic'
   8213       case $cc_basename in
   8214       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8215 	lt_prog_compiler_wl='-Qoption ld ';;
   8216       *)
   8217 	lt_prog_compiler_wl='-Wl,';;
   8218       esac
   8219       ;;
   8220 
   8221     sunos4*)
   8222       lt_prog_compiler_wl='-Qoption ld '
   8223       lt_prog_compiler_pic='-PIC'
   8224       lt_prog_compiler_static='-Bstatic'
   8225       ;;
   8226 
   8227     sysv4 | sysv4.2uw2* | sysv4.3*)
   8228       lt_prog_compiler_wl='-Wl,'
   8229       lt_prog_compiler_pic='-KPIC'
   8230       lt_prog_compiler_static='-Bstatic'
   8231       ;;
   8232 
   8233     sysv4*MP*)
   8234       if test -d /usr/nec ;then
   8235 	lt_prog_compiler_pic='-Kconform_pic'
   8236 	lt_prog_compiler_static='-Bstatic'
   8237       fi
   8238       ;;
   8239 
   8240     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8241       lt_prog_compiler_wl='-Wl,'
   8242       lt_prog_compiler_pic='-KPIC'
   8243       lt_prog_compiler_static='-Bstatic'
   8244       ;;
   8245 
   8246     unicos*)
   8247       lt_prog_compiler_wl='-Wl,'
   8248       lt_prog_compiler_can_build_shared=no
   8249       ;;
   8250 
   8251     uts4*)
   8252       lt_prog_compiler_pic='-pic'
   8253       lt_prog_compiler_static='-Bstatic'
   8254       ;;
   8255 
   8256     *)
   8257       lt_prog_compiler_can_build_shared=no
   8258       ;;
   8259     esac
   8260   fi
   8261 
   8262 case $host_os in
   8263   # For platforms which do not support PIC, -DPIC is meaningless:
   8264   *djgpp*)
   8265     lt_prog_compiler_pic=
   8266     ;;
   8267   *)
   8268     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8269     ;;
   8270 esac
   8271 
   8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8273 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8274 if ${lt_cv_prog_compiler_pic+:} false; then :
   8275   $as_echo_n "(cached) " >&6
   8276 else
   8277   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8278 fi
   8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8280 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8281 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8282 
   8283 #
   8284 # Check to make sure the PIC flag actually works.
   8285 #
   8286 if test -n "$lt_prog_compiler_pic"; then
   8287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8288 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8289 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8290   $as_echo_n "(cached) " >&6
   8291 else
   8292   lt_cv_prog_compiler_pic_works=no
   8293    ac_outfile=conftest.$ac_objext
   8294    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8295    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8296    # Insert the option either (1) after the last *FLAGS variable, or
   8297    # (2) before a word containing "conftest.", or (3) at the end.
   8298    # Note that $ac_compile itself does not contain backslashes and begins
   8299    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8300    # The option is referenced via a variable to avoid confusing sed.
   8301    lt_compile=`echo "$ac_compile" | $SED \
   8302    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8303    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8304    -e 's:$: $lt_compiler_flag:'`
   8305    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8306    (eval "$lt_compile" 2>conftest.err)
   8307    ac_status=$?
   8308    cat conftest.err >&5
   8309    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8310    if (exit $ac_status) && test -s "$ac_outfile"; then
   8311      # The compiler can only warn and ignore the option if not recognized
   8312      # So say no if there are warnings other than the usual output.
   8313      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8314      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8315      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8316        lt_cv_prog_compiler_pic_works=yes
   8317      fi
   8318    fi
   8319    $RM conftest*
   8320 
   8321 fi
   8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8323 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8324 
   8325 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8326     case $lt_prog_compiler_pic in
   8327      "" | " "*) ;;
   8328      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8329      esac
   8330 else
   8331     lt_prog_compiler_pic=
   8332      lt_prog_compiler_can_build_shared=no
   8333 fi
   8334 
   8335 fi
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 #
   8348 # Check to make sure the static flag actually works.
   8349 #
   8350 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8352 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8353 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8354   $as_echo_n "(cached) " >&6
   8355 else
   8356   lt_cv_prog_compiler_static_works=no
   8357    save_LDFLAGS="$LDFLAGS"
   8358    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8359    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8360    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8361      # The linker can only warn and ignore the option if not recognized
   8362      # So say no if there are warnings
   8363      if test -s conftest.err; then
   8364        # Append any errors to the config.log.
   8365        cat conftest.err 1>&5
   8366        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8367        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8368        if diff conftest.exp conftest.er2 >/dev/null; then
   8369          lt_cv_prog_compiler_static_works=yes
   8370        fi
   8371      else
   8372        lt_cv_prog_compiler_static_works=yes
   8373      fi
   8374    fi
   8375    $RM -r conftest*
   8376    LDFLAGS="$save_LDFLAGS"
   8377 
   8378 fi
   8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8380 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8381 
   8382 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8383     :
   8384 else
   8385     lt_prog_compiler_static=
   8386 fi
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8395 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8396 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8397   $as_echo_n "(cached) " >&6
   8398 else
   8399   lt_cv_prog_compiler_c_o=no
   8400    $RM -r conftest 2>/dev/null
   8401    mkdir conftest
   8402    cd conftest
   8403    mkdir out
   8404    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8405 
   8406    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8407    # Insert the option either (1) after the last *FLAGS variable, or
   8408    # (2) before a word containing "conftest.", or (3) at the end.
   8409    # Note that $ac_compile itself does not contain backslashes and begins
   8410    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8411    lt_compile=`echo "$ac_compile" | $SED \
   8412    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8413    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8414    -e 's:$: $lt_compiler_flag:'`
   8415    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8416    (eval "$lt_compile" 2>out/conftest.err)
   8417    ac_status=$?
   8418    cat out/conftest.err >&5
   8419    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8420    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8421    then
   8422      # The compiler can only warn and ignore the option if not recognized
   8423      # So say no if there are warnings
   8424      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8425      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8426      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8427        lt_cv_prog_compiler_c_o=yes
   8428      fi
   8429    fi
   8430    chmod u+w . 2>&5
   8431    $RM conftest*
   8432    # SGI C++ compiler will create directory out/ii_files/ for
   8433    # template instantiation
   8434    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8435    $RM out/* && rmdir out
   8436    cd ..
   8437    $RM -r conftest
   8438    $RM conftest*
   8439 
   8440 fi
   8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8442 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8450 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8451 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8452   $as_echo_n "(cached) " >&6
   8453 else
   8454   lt_cv_prog_compiler_c_o=no
   8455    $RM -r conftest 2>/dev/null
   8456    mkdir conftest
   8457    cd conftest
   8458    mkdir out
   8459    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8460 
   8461    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8462    # Insert the option either (1) after the last *FLAGS variable, or
   8463    # (2) before a word containing "conftest.", or (3) at the end.
   8464    # Note that $ac_compile itself does not contain backslashes and begins
   8465    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8466    lt_compile=`echo "$ac_compile" | $SED \
   8467    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8468    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8469    -e 's:$: $lt_compiler_flag:'`
   8470    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8471    (eval "$lt_compile" 2>out/conftest.err)
   8472    ac_status=$?
   8473    cat out/conftest.err >&5
   8474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8475    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8476    then
   8477      # The compiler can only warn and ignore the option if not recognized
   8478      # So say no if there are warnings
   8479      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8480      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8481      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8482        lt_cv_prog_compiler_c_o=yes
   8483      fi
   8484    fi
   8485    chmod u+w . 2>&5
   8486    $RM conftest*
   8487    # SGI C++ compiler will create directory out/ii_files/ for
   8488    # template instantiation
   8489    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8490    $RM out/* && rmdir out
   8491    cd ..
   8492    $RM -r conftest
   8493    $RM conftest*
   8494 
   8495 fi
   8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8497 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8498 
   8499 
   8500 
   8501 
   8502 hard_links="nottested"
   8503 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8504   # do not overwrite the value of need_locks provided by the user
   8505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8506 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8507   hard_links=yes
   8508   $RM conftest*
   8509   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8510   touch conftest.a
   8511   ln conftest.a conftest.b 2>&5 || hard_links=no
   8512   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8514 $as_echo "$hard_links" >&6; }
   8515   if test "$hard_links" = no; then
   8516     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8517 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8518     need_locks=warn
   8519   fi
   8520 else
   8521   need_locks=no
   8522 fi
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8530 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8531 
   8532   runpath_var=
   8533   allow_undefined_flag=
   8534   always_export_symbols=no
   8535   archive_cmds=
   8536   archive_expsym_cmds=
   8537   compiler_needs_object=no
   8538   enable_shared_with_static_runtimes=no
   8539   export_dynamic_flag_spec=
   8540   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8541   hardcode_automatic=no
   8542   hardcode_direct=no
   8543   hardcode_direct_absolute=no
   8544   hardcode_libdir_flag_spec=
   8545   hardcode_libdir_separator=
   8546   hardcode_minus_L=no
   8547   hardcode_shlibpath_var=unsupported
   8548   inherit_rpath=no
   8549   link_all_deplibs=unknown
   8550   module_cmds=
   8551   module_expsym_cmds=
   8552   old_archive_from_new_cmds=
   8553   old_archive_from_expsyms_cmds=
   8554   thread_safe_flag_spec=
   8555   whole_archive_flag_spec=
   8556   # include_expsyms should be a list of space-separated symbols to be *always*
   8557   # included in the symbol list
   8558   include_expsyms=
   8559   # exclude_expsyms can be an extended regexp of symbols to exclude
   8560   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8561   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8562   # as well as any symbol that contains `d'.
   8563   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8564   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8565   # platforms (ab)use it in PIC code, but their linkers get confused if
   8566   # the symbol is explicitly referenced.  Since portable code cannot
   8567   # rely on this symbol name, it's probably fine to never include it in
   8568   # preloaded symbol tables.
   8569   # Exclude shared library initialization/finalization symbols.
   8570   extract_expsyms_cmds=
   8571 
   8572   case $host_os in
   8573   cygwin* | mingw* | pw32* | cegcc*)
   8574     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8575     # When not using gcc, we currently assume that we are using
   8576     # Microsoft Visual C++.
   8577     if test "$GCC" != yes; then
   8578       with_gnu_ld=no
   8579     fi
   8580     ;;
   8581   interix*)
   8582     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8583     with_gnu_ld=yes
   8584     ;;
   8585   openbsd*)
   8586     with_gnu_ld=no
   8587     ;;
   8588   esac
   8589 
   8590   ld_shlibs=yes
   8591 
   8592   # On some targets, GNU ld is compatible enough with the native linker
   8593   # that we're better off using the native interface for both.
   8594   lt_use_gnu_ld_interface=no
   8595   if test "$with_gnu_ld" = yes; then
   8596     case $host_os in
   8597       aix*)
   8598 	# The AIX port of GNU ld has always aspired to compatibility
   8599 	# with the native linker.  However, as the warning in the GNU ld
   8600 	# block says, versions before 2.19.5* couldn't really create working
   8601 	# shared libraries, regardless of the interface used.
   8602 	case `$LD -v 2>&1` in
   8603 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8604 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8605 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8606 	  *)
   8607 	    lt_use_gnu_ld_interface=yes
   8608 	    ;;
   8609 	esac
   8610 	;;
   8611       *)
   8612 	lt_use_gnu_ld_interface=yes
   8613 	;;
   8614     esac
   8615   fi
   8616 
   8617   if test "$lt_use_gnu_ld_interface" = yes; then
   8618     # If archive_cmds runs LD, not CC, wlarc should be empty
   8619     wlarc='${wl}'
   8620 
   8621     # Set some defaults for GNU ld with shared library support. These
   8622     # are reset later if shared libraries are not supported. Putting them
   8623     # here allows them to be overridden if necessary.
   8624     runpath_var=LD_RUN_PATH
   8625     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8626     export_dynamic_flag_spec='${wl}--export-dynamic'
   8627     # ancient GNU ld didn't support --whole-archive et. al.
   8628     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8629       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8630     else
   8631       whole_archive_flag_spec=
   8632     fi
   8633     supports_anon_versioning=no
   8634     case `$LD -v 2>&1` in
   8635       *GNU\ gold*) supports_anon_versioning=yes ;;
   8636       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8637       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8638       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8639       *\ 2.11.*) ;; # other 2.11 versions
   8640       *) supports_anon_versioning=yes ;;
   8641     esac
   8642 
   8643     # See if GNU ld supports shared libraries.
   8644     case $host_os in
   8645     aix[3-9]*)
   8646       # On AIX/PPC, the GNU linker is very broken
   8647       if test "$host_cpu" != ia64; then
   8648 	ld_shlibs=no
   8649 	cat <<_LT_EOF 1>&2
   8650 
   8651 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8652 *** to be unable to reliably create shared libraries on AIX.
   8653 *** Therefore, libtool is disabling shared libraries support.  If you
   8654 *** really care for shared libraries, you may want to install binutils
   8655 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8656 *** You will then need to restart the configuration process.
   8657 
   8658 _LT_EOF
   8659       fi
   8660       ;;
   8661 
   8662     amigaos*)
   8663       case $host_cpu in
   8664       powerpc)
   8665             # see comment about AmigaOS4 .so support
   8666             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8667             archive_expsym_cmds=''
   8668         ;;
   8669       m68k)
   8670             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)'
   8671             hardcode_libdir_flag_spec='-L$libdir'
   8672             hardcode_minus_L=yes
   8673         ;;
   8674       esac
   8675       ;;
   8676 
   8677     beos*)
   8678       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8679 	allow_undefined_flag=unsupported
   8680 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8681 	# support --undefined.  This deserves some investigation.  FIXME
   8682 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8683       else
   8684 	ld_shlibs=no
   8685       fi
   8686       ;;
   8687 
   8688     cygwin* | mingw* | pw32* | cegcc*)
   8689       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8690       # as there is no search path for DLLs.
   8691       hardcode_libdir_flag_spec='-L$libdir'
   8692       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8693       allow_undefined_flag=unsupported
   8694       always_export_symbols=no
   8695       enable_shared_with_static_runtimes=yes
   8696       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'
   8697       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8698 
   8699       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8700         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8701 	# If the export-symbols file already is a .def file (1st line
   8702 	# is EXPORTS), use it as is; otherwise, prepend...
   8703 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8704 	  cp $export_symbols $output_objdir/$soname.def;
   8705 	else
   8706 	  echo EXPORTS > $output_objdir/$soname.def;
   8707 	  cat $export_symbols >> $output_objdir/$soname.def;
   8708 	fi~
   8709 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8710       else
   8711 	ld_shlibs=no
   8712       fi
   8713       ;;
   8714 
   8715     haiku*)
   8716       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8717       link_all_deplibs=yes
   8718       ;;
   8719 
   8720     interix[3-9]*)
   8721       hardcode_direct=no
   8722       hardcode_shlibpath_var=no
   8723       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8724       export_dynamic_flag_spec='${wl}-E'
   8725       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8726       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8727       # default) and relocated if they conflict, which is a slow very memory
   8728       # consuming and fragmenting process.  To avoid this, we pick a random,
   8729       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8730       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8731       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8732       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'
   8733       ;;
   8734 
   8735     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8736       tmp_diet=no
   8737       if test "$host_os" = linux-dietlibc; then
   8738 	case $cc_basename in
   8739 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8740 	esac
   8741       fi
   8742       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8743 	 && test "$tmp_diet" = no
   8744       then
   8745 	tmp_addflag=' $pic_flag'
   8746 	tmp_sharedflag='-shared'
   8747 	case $cc_basename,$host_cpu in
   8748         pgcc*)				# Portland Group C compiler
   8749 	  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'
   8750 	  tmp_addflag=' $pic_flag'
   8751 	  ;;
   8752 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8753 					# Portland Group f77 and f90 compilers
   8754 	  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'
   8755 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8756 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8757 	  tmp_addflag=' -i_dynamic' ;;
   8758 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8759 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8760 	ifc* | ifort*)			# Intel Fortran compiler
   8761 	  tmp_addflag=' -nofor_main' ;;
   8762 	lf95*)				# Lahey Fortran 8.1
   8763 	  whole_archive_flag_spec=
   8764 	  tmp_sharedflag='--shared' ;;
   8765 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8766 	  tmp_sharedflag='-qmkshrobj'
   8767 	  tmp_addflag= ;;
   8768 	nvcc*)	# Cuda Compiler Driver 2.2
   8769 	  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'
   8770 	  compiler_needs_object=yes
   8771 	  ;;
   8772 	esac
   8773 	case `$CC -V 2>&1 | sed 5q` in
   8774 	*Sun\ C*)			# Sun C 5.9
   8775 	  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'
   8776 	  compiler_needs_object=yes
   8777 	  tmp_sharedflag='-G' ;;
   8778 	*Sun\ F*)			# Sun Fortran 8.3
   8779 	  tmp_sharedflag='-G' ;;
   8780 	esac
   8781 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8782 
   8783         if test "x$supports_anon_versioning" = xyes; then
   8784           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8785 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8786 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8787 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8788         fi
   8789 
   8790 	case $cc_basename in
   8791 	xlf* | bgf* | bgxlf* | mpixlf*)
   8792 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8793 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8794 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8795 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8796 	  if test "x$supports_anon_versioning" = xyes; then
   8797 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8798 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8799 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8800 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8801 	  fi
   8802 	  ;;
   8803 	esac
   8804       else
   8805         ld_shlibs=no
   8806       fi
   8807       ;;
   8808 
   8809     netbsd*)
   8810       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8811 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8812 	wlarc=
   8813       else
   8814 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8815 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8816       fi
   8817       ;;
   8818 
   8819     solaris*)
   8820       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8821 	ld_shlibs=no
   8822 	cat <<_LT_EOF 1>&2
   8823 
   8824 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8825 *** create shared libraries on Solaris systems.  Therefore, libtool
   8826 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8827 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8828 *** your PATH or compiler configuration so that the native linker is
   8829 *** used, and then restart.
   8830 
   8831 _LT_EOF
   8832       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8833 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8834 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8835       else
   8836 	ld_shlibs=no
   8837       fi
   8838       ;;
   8839 
   8840     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8841       case `$LD -v 2>&1` in
   8842         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8843 	ld_shlibs=no
   8844 	cat <<_LT_EOF 1>&2
   8845 
   8846 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8847 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8848 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8849 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8850 *** your PATH or compiler configuration so that the native linker is
   8851 *** used, and then restart.
   8852 
   8853 _LT_EOF
   8854 	;;
   8855 	*)
   8856 	  # For security reasons, it is highly recommended that you always
   8857 	  # use absolute paths for naming shared libraries, and exclude the
   8858 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8859 	  # requires that you compile everything twice, which is a pain.
   8860 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8861 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8862 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8863 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8864 	  else
   8865 	    ld_shlibs=no
   8866 	  fi
   8867 	;;
   8868       esac
   8869       ;;
   8870 
   8871     sunos4*)
   8872       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8873       wlarc=
   8874       hardcode_direct=yes
   8875       hardcode_shlibpath_var=no
   8876       ;;
   8877 
   8878     *)
   8879       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8880 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8881 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8882       else
   8883 	ld_shlibs=no
   8884       fi
   8885       ;;
   8886     esac
   8887 
   8888     if test "$ld_shlibs" = no; then
   8889       runpath_var=
   8890       hardcode_libdir_flag_spec=
   8891       export_dynamic_flag_spec=
   8892       whole_archive_flag_spec=
   8893     fi
   8894   else
   8895     # PORTME fill in a description of your system's linker (not GNU ld)
   8896     case $host_os in
   8897     aix3*)
   8898       allow_undefined_flag=unsupported
   8899       always_export_symbols=yes
   8900       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'
   8901       # Note: this linker hardcodes the directories in LIBPATH if there
   8902       # are no directories specified by -L.
   8903       hardcode_minus_L=yes
   8904       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8905 	# Neither direct hardcoding nor static linking is supported with a
   8906 	# broken collect2.
   8907 	hardcode_direct=unsupported
   8908       fi
   8909       ;;
   8910 
   8911     aix[4-9]*)
   8912       if test "$host_cpu" = ia64; then
   8913 	# On IA64, the linker does run time linking by default, so we don't
   8914 	# have to do anything special.
   8915 	aix_use_runtimelinking=no
   8916 	exp_sym_flag='-Bexport'
   8917 	no_entry_flag=""
   8918       else
   8919 	# If we're using GNU nm, then we don't want the "-C" option.
   8920 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8921 	# Also, AIX nm treats weak defined symbols like other global
   8922 	# defined symbols, whereas GNU nm marks them as "W".
   8923 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8924 	  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'
   8925 	else
   8926 	  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'
   8927 	fi
   8928 	aix_use_runtimelinking=no
   8929 
   8930 	# Test if we are trying to use run time linking or normal
   8931 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8932 	# need to do runtime linking.
   8933 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8934 	  for ld_flag in $LDFLAGS; do
   8935 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8936 	    aix_use_runtimelinking=yes
   8937 	    break
   8938 	  fi
   8939 	  done
   8940 	  ;;
   8941 	esac
   8942 
   8943 	exp_sym_flag='-bexport'
   8944 	no_entry_flag='-bnoentry'
   8945       fi
   8946 
   8947       # When large executables or shared objects are built, AIX ld can
   8948       # have problems creating the table of contents.  If linking a library
   8949       # or program results in "error TOC overflow" add -mminimal-toc to
   8950       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8951       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8952 
   8953       archive_cmds=''
   8954       hardcode_direct=yes
   8955       hardcode_direct_absolute=yes
   8956       hardcode_libdir_separator=':'
   8957       link_all_deplibs=yes
   8958       file_list_spec='${wl}-f,'
   8959 
   8960       if test "$GCC" = yes; then
   8961 	case $host_os in aix4.[012]|aix4.[012].*)
   8962 	# We only want to do this on AIX 4.2 and lower, the check
   8963 	# below for broken collect2 doesn't work under 4.3+
   8964 	  collect2name=`${CC} -print-prog-name=collect2`
   8965 	  if test -f "$collect2name" &&
   8966 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8967 	  then
   8968 	  # We have reworked collect2
   8969 	  :
   8970 	  else
   8971 	  # We have old collect2
   8972 	  hardcode_direct=unsupported
   8973 	  # It fails to find uninstalled libraries when the uninstalled
   8974 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8975 	  # to unsupported forces relinking
   8976 	  hardcode_minus_L=yes
   8977 	  hardcode_libdir_flag_spec='-L$libdir'
   8978 	  hardcode_libdir_separator=
   8979 	  fi
   8980 	  ;;
   8981 	esac
   8982 	shared_flag='-shared'
   8983 	if test "$aix_use_runtimelinking" = yes; then
   8984 	  shared_flag="$shared_flag "'${wl}-G'
   8985 	fi
   8986       else
   8987 	# not using gcc
   8988 	if test "$host_cpu" = ia64; then
   8989 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8990 	# chokes on -Wl,-G. The following line is correct:
   8991 	  shared_flag='-G'
   8992 	else
   8993 	  if test "$aix_use_runtimelinking" = yes; then
   8994 	    shared_flag='${wl}-G'
   8995 	  else
   8996 	    shared_flag='${wl}-bM:SRE'
   8997 	  fi
   8998 	fi
   8999       fi
   9000 
   9001       export_dynamic_flag_spec='${wl}-bexpall'
   9002       # It seems that -bexpall does not export symbols beginning with
   9003       # underscore (_), so it is better to generate a list of symbols to export.
   9004       always_export_symbols=yes
   9005       if test "$aix_use_runtimelinking" = yes; then
   9006 	# Warning - without using the other runtime loading flags (-brtl),
   9007 	# -berok will link without error, but may produce a broken library.
   9008 	allow_undefined_flag='-berok'
   9009         # Determine the default libpath from the value encoded in an
   9010         # empty executable.
   9011         if test "${lt_cv_aix_libpath+set}" = set; then
   9012   aix_libpath=$lt_cv_aix_libpath
   9013 else
   9014   if ${lt_cv_aix_libpath_+:} false; then :
   9015   $as_echo_n "(cached) " >&6
   9016 else
   9017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9018 /* end confdefs.h.  */
   9019 
   9020 int
   9021 main ()
   9022 {
   9023 
   9024   ;
   9025   return 0;
   9026 }
   9027 _ACEOF
   9028 if ac_fn_c_try_link "$LINENO"; then :
   9029 
   9030   lt_aix_libpath_sed='
   9031       /Import File Strings/,/^$/ {
   9032 	  /^0/ {
   9033 	      s/^0  *\([^ ]*\) *$/\1/
   9034 	      p
   9035 	  }
   9036       }'
   9037   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9038   # Check for a 64-bit object if we didn't find anything.
   9039   if test -z "$lt_cv_aix_libpath_"; then
   9040     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9041   fi
   9042 fi
   9043 rm -f core conftest.err conftest.$ac_objext \
   9044     conftest$ac_exeext conftest.$ac_ext
   9045   if test -z "$lt_cv_aix_libpath_"; then
   9046     lt_cv_aix_libpath_="/usr/lib:/lib"
   9047   fi
   9048 
   9049 fi
   9050 
   9051   aix_libpath=$lt_cv_aix_libpath_
   9052 fi
   9053 
   9054         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9055         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"
   9056       else
   9057 	if test "$host_cpu" = ia64; then
   9058 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9059 	  allow_undefined_flag="-z nodefs"
   9060 	  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"
   9061 	else
   9062 	 # Determine the default libpath from the value encoded in an
   9063 	 # empty executable.
   9064 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9065   aix_libpath=$lt_cv_aix_libpath
   9066 else
   9067   if ${lt_cv_aix_libpath_+:} false; then :
   9068   $as_echo_n "(cached) " >&6
   9069 else
   9070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9071 /* end confdefs.h.  */
   9072 
   9073 int
   9074 main ()
   9075 {
   9076 
   9077   ;
   9078   return 0;
   9079 }
   9080 _ACEOF
   9081 if ac_fn_c_try_link "$LINENO"; then :
   9082 
   9083   lt_aix_libpath_sed='
   9084       /Import File Strings/,/^$/ {
   9085 	  /^0/ {
   9086 	      s/^0  *\([^ ]*\) *$/\1/
   9087 	      p
   9088 	  }
   9089       }'
   9090   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9091   # Check for a 64-bit object if we didn't find anything.
   9092   if test -z "$lt_cv_aix_libpath_"; then
   9093     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9094   fi
   9095 fi
   9096 rm -f core conftest.err conftest.$ac_objext \
   9097     conftest$ac_exeext conftest.$ac_ext
   9098   if test -z "$lt_cv_aix_libpath_"; then
   9099     lt_cv_aix_libpath_="/usr/lib:/lib"
   9100   fi
   9101 
   9102 fi
   9103 
   9104   aix_libpath=$lt_cv_aix_libpath_
   9105 fi
   9106 
   9107 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9108 	  # Warning - without using the other run time loading flags,
   9109 	  # -berok will link without error, but may produce a broken library.
   9110 	  no_undefined_flag=' ${wl}-bernotok'
   9111 	  allow_undefined_flag=' ${wl}-berok'
   9112 	  if test "$with_gnu_ld" = yes; then
   9113 	    # We only use this code for GNU lds that support --whole-archive.
   9114 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9115 	  else
   9116 	    # Exported symbols can be pulled into shared objects from archives
   9117 	    whole_archive_flag_spec='$convenience'
   9118 	  fi
   9119 	  archive_cmds_need_lc=yes
   9120 	  # This is similar to how AIX traditionally builds its shared libraries.
   9121 	  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'
   9122 	fi
   9123       fi
   9124       ;;
   9125 
   9126     amigaos*)
   9127       case $host_cpu in
   9128       powerpc)
   9129             # see comment about AmigaOS4 .so support
   9130             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9131             archive_expsym_cmds=''
   9132         ;;
   9133       m68k)
   9134             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)'
   9135             hardcode_libdir_flag_spec='-L$libdir'
   9136             hardcode_minus_L=yes
   9137         ;;
   9138       esac
   9139       ;;
   9140 
   9141     bsdi[45]*)
   9142       export_dynamic_flag_spec=-rdynamic
   9143       ;;
   9144 
   9145     cygwin* | mingw* | pw32* | cegcc*)
   9146       # When not using gcc, we currently assume that we are using
   9147       # Microsoft Visual C++.
   9148       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9149       # no search path for DLLs.
   9150       case $cc_basename in
   9151       cl*)
   9152 	# Native MSVC
   9153 	hardcode_libdir_flag_spec=' '
   9154 	allow_undefined_flag=unsupported
   9155 	always_export_symbols=yes
   9156 	file_list_spec='@'
   9157 	# Tell ltmain to make .lib files, not .a files.
   9158 	libext=lib
   9159 	# Tell ltmain to make .dll files, not .so files.
   9160 	shrext_cmds=".dll"
   9161 	# FIXME: Setting linknames here is a bad hack.
   9162 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9163 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9164 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9165 	  else
   9166 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9167 	  fi~
   9168 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9169 	  linknames='
   9170 	# The linker will not automatically build a static lib if we build a DLL.
   9171 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9172 	enable_shared_with_static_runtimes=yes
   9173 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9174 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9175 	# Don't use ranlib
   9176 	old_postinstall_cmds='chmod 644 $oldlib'
   9177 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9178 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9179 	  case $lt_outputfile in
   9180 	    *.exe|*.EXE) ;;
   9181 	    *)
   9182 	      lt_outputfile="$lt_outputfile.exe"
   9183 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9184 	      ;;
   9185 	  esac~
   9186 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9187 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9188 	    $RM "$lt_outputfile.manifest";
   9189 	  fi'
   9190 	;;
   9191       *)
   9192 	# Assume MSVC wrapper
   9193 	hardcode_libdir_flag_spec=' '
   9194 	allow_undefined_flag=unsupported
   9195 	# Tell ltmain to make .lib files, not .a files.
   9196 	libext=lib
   9197 	# Tell ltmain to make .dll files, not .so files.
   9198 	shrext_cmds=".dll"
   9199 	# FIXME: Setting linknames here is a bad hack.
   9200 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9201 	# The linker will automatically build a .lib file if we build a DLL.
   9202 	old_archive_from_new_cmds='true'
   9203 	# FIXME: Should let the user specify the lib program.
   9204 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9205 	enable_shared_with_static_runtimes=yes
   9206 	;;
   9207       esac
   9208       ;;
   9209 
   9210     darwin* | rhapsody*)
   9211 
   9212 
   9213   archive_cmds_need_lc=no
   9214   hardcode_direct=no
   9215   hardcode_automatic=yes
   9216   hardcode_shlibpath_var=unsupported
   9217   if test "$lt_cv_ld_force_load" = "yes"; then
   9218     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\"`'
   9219 
   9220   else
   9221     whole_archive_flag_spec=''
   9222   fi
   9223   link_all_deplibs=yes
   9224   allow_undefined_flag="$_lt_dar_allow_undefined"
   9225   case $cc_basename in
   9226      ifort*) _lt_dar_can_shared=yes ;;
   9227      *) _lt_dar_can_shared=$GCC ;;
   9228   esac
   9229   if test "$_lt_dar_can_shared" = "yes"; then
   9230     output_verbose_link_cmd=func_echo_all
   9231     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9232     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9233     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}"
   9234     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}"
   9235 
   9236   else
   9237   ld_shlibs=no
   9238   fi
   9239 
   9240       ;;
   9241 
   9242     dgux*)
   9243       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9244       hardcode_libdir_flag_spec='-L$libdir'
   9245       hardcode_shlibpath_var=no
   9246       ;;
   9247 
   9248     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9249     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9250     # does not break anything, and helps significantly (at the cost of a little
   9251     # extra space).
   9252     freebsd2.2*)
   9253       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9254       hardcode_libdir_flag_spec='-R$libdir'
   9255       hardcode_direct=yes
   9256       hardcode_shlibpath_var=no
   9257       ;;
   9258 
   9259     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9260     freebsd2.*)
   9261       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9262       hardcode_direct=yes
   9263       hardcode_minus_L=yes
   9264       hardcode_shlibpath_var=no
   9265       ;;
   9266 
   9267     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9268     freebsd* | dragonfly*)
   9269       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9270       hardcode_libdir_flag_spec='-R$libdir'
   9271       hardcode_direct=yes
   9272       hardcode_shlibpath_var=no
   9273       ;;
   9274 
   9275     hpux9*)
   9276       if test "$GCC" = yes; then
   9277 	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'
   9278       else
   9279 	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'
   9280       fi
   9281       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9282       hardcode_libdir_separator=:
   9283       hardcode_direct=yes
   9284 
   9285       # hardcode_minus_L: Not really in the search PATH,
   9286       # but as the default location of the library.
   9287       hardcode_minus_L=yes
   9288       export_dynamic_flag_spec='${wl}-E'
   9289       ;;
   9290 
   9291     hpux10*)
   9292       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9293 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9294       else
   9295 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9296       fi
   9297       if test "$with_gnu_ld" = no; then
   9298 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9299 	hardcode_libdir_separator=:
   9300 	hardcode_direct=yes
   9301 	hardcode_direct_absolute=yes
   9302 	export_dynamic_flag_spec='${wl}-E'
   9303 	# hardcode_minus_L: Not really in the search PATH,
   9304 	# but as the default location of the library.
   9305 	hardcode_minus_L=yes
   9306       fi
   9307       ;;
   9308 
   9309     hpux11*)
   9310       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9311 	case $host_cpu in
   9312 	hppa*64*)
   9313 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9314 	  ;;
   9315 	ia64*)
   9316 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9317 	  ;;
   9318 	*)
   9319 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9320 	  ;;
   9321 	esac
   9322       else
   9323 	case $host_cpu in
   9324 	hppa*64*)
   9325 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9326 	  ;;
   9327 	ia64*)
   9328 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9329 	  ;;
   9330 	*)
   9331 
   9332 	  # Older versions of the 11.00 compiler do not understand -b yet
   9333 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9334 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9335 $as_echo_n "checking if $CC understands -b... " >&6; }
   9336 if ${lt_cv_prog_compiler__b+:} false; then :
   9337   $as_echo_n "(cached) " >&6
   9338 else
   9339   lt_cv_prog_compiler__b=no
   9340    save_LDFLAGS="$LDFLAGS"
   9341    LDFLAGS="$LDFLAGS -b"
   9342    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9343    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9344      # The linker can only warn and ignore the option if not recognized
   9345      # So say no if there are warnings
   9346      if test -s conftest.err; then
   9347        # Append any errors to the config.log.
   9348        cat conftest.err 1>&5
   9349        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9350        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9351        if diff conftest.exp conftest.er2 >/dev/null; then
   9352          lt_cv_prog_compiler__b=yes
   9353        fi
   9354      else
   9355        lt_cv_prog_compiler__b=yes
   9356      fi
   9357    fi
   9358    $RM -r conftest*
   9359    LDFLAGS="$save_LDFLAGS"
   9360 
   9361 fi
   9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9363 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9364 
   9365 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9366     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9367 else
   9368     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9369 fi
   9370 
   9371 	  ;;
   9372 	esac
   9373       fi
   9374       if test "$with_gnu_ld" = no; then
   9375 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9376 	hardcode_libdir_separator=:
   9377 
   9378 	case $host_cpu in
   9379 	hppa*64*|ia64*)
   9380 	  hardcode_direct=no
   9381 	  hardcode_shlibpath_var=no
   9382 	  ;;
   9383 	*)
   9384 	  hardcode_direct=yes
   9385 	  hardcode_direct_absolute=yes
   9386 	  export_dynamic_flag_spec='${wl}-E'
   9387 
   9388 	  # hardcode_minus_L: Not really in the search PATH,
   9389 	  # but as the default location of the library.
   9390 	  hardcode_minus_L=yes
   9391 	  ;;
   9392 	esac
   9393       fi
   9394       ;;
   9395 
   9396     irix5* | irix6* | nonstopux*)
   9397       if test "$GCC" = yes; then
   9398 	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'
   9399 	# Try to use the -exported_symbol ld option, if it does not
   9400 	# work, assume that -exports_file does not work either and
   9401 	# implicitly export all symbols.
   9402 	# This should be the same for all languages, so no per-tag cache variable.
   9403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9404 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9405 if ${lt_cv_irix_exported_symbol+:} false; then :
   9406   $as_echo_n "(cached) " >&6
   9407 else
   9408   save_LDFLAGS="$LDFLAGS"
   9409 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9410 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9411 /* end confdefs.h.  */
   9412 int foo (void) { return 0; }
   9413 _ACEOF
   9414 if ac_fn_c_try_link "$LINENO"; then :
   9415   lt_cv_irix_exported_symbol=yes
   9416 else
   9417   lt_cv_irix_exported_symbol=no
   9418 fi
   9419 rm -f core conftest.err conftest.$ac_objext \
   9420     conftest$ac_exeext conftest.$ac_ext
   9421            LDFLAGS="$save_LDFLAGS"
   9422 fi
   9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9424 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9425 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9426           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'
   9427 	fi
   9428       else
   9429 	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'
   9430 	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'
   9431       fi
   9432       archive_cmds_need_lc='no'
   9433       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9434       hardcode_libdir_separator=:
   9435       inherit_rpath=yes
   9436       link_all_deplibs=yes
   9437       ;;
   9438 
   9439     netbsd*)
   9440       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9441 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9442       else
   9443 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9444       fi
   9445       hardcode_libdir_flag_spec='-R$libdir'
   9446       hardcode_direct=yes
   9447       hardcode_shlibpath_var=no
   9448       ;;
   9449 
   9450     newsos6)
   9451       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9452       hardcode_direct=yes
   9453       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9454       hardcode_libdir_separator=:
   9455       hardcode_shlibpath_var=no
   9456       ;;
   9457 
   9458     *nto* | *qnx*)
   9459       ;;
   9460 
   9461     openbsd*)
   9462       if test -f /usr/libexec/ld.so; then
   9463 	hardcode_direct=yes
   9464 	hardcode_shlibpath_var=no
   9465 	hardcode_direct_absolute=yes
   9466 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9467 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9468 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9469 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9470 	  export_dynamic_flag_spec='${wl}-E'
   9471 	else
   9472 	  case $host_os in
   9473 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9474 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9475 	     hardcode_libdir_flag_spec='-R$libdir'
   9476 	     ;;
   9477 	   *)
   9478 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9479 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9480 	     ;;
   9481 	  esac
   9482 	fi
   9483       else
   9484 	ld_shlibs=no
   9485       fi
   9486       ;;
   9487 
   9488     os2*)
   9489       hardcode_libdir_flag_spec='-L$libdir'
   9490       hardcode_minus_L=yes
   9491       allow_undefined_flag=unsupported
   9492       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'
   9493       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9494       ;;
   9495 
   9496     osf3*)
   9497       if test "$GCC" = yes; then
   9498 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9499 	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'
   9500       else
   9501 	allow_undefined_flag=' -expect_unresolved \*'
   9502 	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'
   9503       fi
   9504       archive_cmds_need_lc='no'
   9505       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9506       hardcode_libdir_separator=:
   9507       ;;
   9508 
   9509     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9510       if test "$GCC" = yes; then
   9511 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9512 	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'
   9513 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9514       else
   9515 	allow_undefined_flag=' -expect_unresolved \*'
   9516 	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'
   9517 	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~
   9518 	$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'
   9519 
   9520 	# Both c and cxx compiler support -rpath directly
   9521 	hardcode_libdir_flag_spec='-rpath $libdir'
   9522       fi
   9523       archive_cmds_need_lc='no'
   9524       hardcode_libdir_separator=:
   9525       ;;
   9526 
   9527     solaris*)
   9528       no_undefined_flag=' -z defs'
   9529       if test "$GCC" = yes; then
   9530 	wlarc='${wl}'
   9531 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9532 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9533 	  $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'
   9534       else
   9535 	case `$CC -V 2>&1` in
   9536 	*"Compilers 5.0"*)
   9537 	  wlarc=''
   9538 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9539 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9540 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9541 	  ;;
   9542 	*)
   9543 	  wlarc='${wl}'
   9544 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9545 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9546 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9547 	  ;;
   9548 	esac
   9549       fi
   9550       hardcode_libdir_flag_spec='-R$libdir'
   9551       hardcode_shlibpath_var=no
   9552       case $host_os in
   9553       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9554       *)
   9555 	# The compiler driver will combine and reorder linker options,
   9556 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9557 	# but is careful enough not to reorder.
   9558 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9559 	if test "$GCC" = yes; then
   9560 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9561 	else
   9562 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9563 	fi
   9564 	;;
   9565       esac
   9566       link_all_deplibs=yes
   9567       ;;
   9568 
   9569     sunos4*)
   9570       if test "x$host_vendor" = xsequent; then
   9571 	# Use $CC to link under sequent, because it throws in some extra .o
   9572 	# files that make .init and .fini sections work.
   9573 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9574       else
   9575 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9576       fi
   9577       hardcode_libdir_flag_spec='-L$libdir'
   9578       hardcode_direct=yes
   9579       hardcode_minus_L=yes
   9580       hardcode_shlibpath_var=no
   9581       ;;
   9582 
   9583     sysv4)
   9584       case $host_vendor in
   9585 	sni)
   9586 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9587 	  hardcode_direct=yes # is this really true???
   9588 	;;
   9589 	siemens)
   9590 	  ## LD is ld it makes a PLAMLIB
   9591 	  ## CC just makes a GrossModule.
   9592 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9593 	  reload_cmds='$CC -r -o $output$reload_objs'
   9594 	  hardcode_direct=no
   9595         ;;
   9596 	motorola)
   9597 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9598 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9599 	;;
   9600       esac
   9601       runpath_var='LD_RUN_PATH'
   9602       hardcode_shlibpath_var=no
   9603       ;;
   9604 
   9605     sysv4.3*)
   9606       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9607       hardcode_shlibpath_var=no
   9608       export_dynamic_flag_spec='-Bexport'
   9609       ;;
   9610 
   9611     sysv4*MP*)
   9612       if test -d /usr/nec; then
   9613 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9614 	hardcode_shlibpath_var=no
   9615 	runpath_var=LD_RUN_PATH
   9616 	hardcode_runpath_var=yes
   9617 	ld_shlibs=yes
   9618       fi
   9619       ;;
   9620 
   9621     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9622       no_undefined_flag='${wl}-z,text'
   9623       archive_cmds_need_lc=no
   9624       hardcode_shlibpath_var=no
   9625       runpath_var='LD_RUN_PATH'
   9626 
   9627       if test "$GCC" = yes; then
   9628 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9629 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9630       else
   9631 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9632 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9633       fi
   9634       ;;
   9635 
   9636     sysv5* | sco3.2v5* | sco5v6*)
   9637       # Note: We can NOT use -z defs as we might desire, because we do not
   9638       # link with -lc, and that would cause any symbols used from libc to
   9639       # always be unresolved, which means just about no library would
   9640       # ever link correctly.  If we're not using GNU ld we use -z text
   9641       # though, which does catch some bad symbols but isn't as heavy-handed
   9642       # as -z defs.
   9643       no_undefined_flag='${wl}-z,text'
   9644       allow_undefined_flag='${wl}-z,nodefs'
   9645       archive_cmds_need_lc=no
   9646       hardcode_shlibpath_var=no
   9647       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9648       hardcode_libdir_separator=':'
   9649       link_all_deplibs=yes
   9650       export_dynamic_flag_spec='${wl}-Bexport'
   9651       runpath_var='LD_RUN_PATH'
   9652 
   9653       if test "$GCC" = yes; then
   9654 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9655 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9656       else
   9657 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9658 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9659       fi
   9660       ;;
   9661 
   9662     uts4*)
   9663       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9664       hardcode_libdir_flag_spec='-L$libdir'
   9665       hardcode_shlibpath_var=no
   9666       ;;
   9667 
   9668     *)
   9669       ld_shlibs=no
   9670       ;;
   9671     esac
   9672 
   9673     if test x$host_vendor = xsni; then
   9674       case $host in
   9675       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9676 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9677 	;;
   9678       esac
   9679     fi
   9680   fi
   9681 
   9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9683 $as_echo "$ld_shlibs" >&6; }
   9684 test "$ld_shlibs" = no && can_build_shared=no
   9685 
   9686 with_gnu_ld=$with_gnu_ld
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 #
   9703 # Do we need to explicitly link libc?
   9704 #
   9705 case "x$archive_cmds_need_lc" in
   9706 x|xyes)
   9707   # Assume -lc should be added
   9708   archive_cmds_need_lc=yes
   9709 
   9710   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9711     case $archive_cmds in
   9712     *'~'*)
   9713       # FIXME: we may have to deal with multi-command sequences.
   9714       ;;
   9715     '$CC '*)
   9716       # Test whether the compiler implicitly links with -lc since on some
   9717       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9718       # to ld, don't add -lc before -lgcc.
   9719       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9720 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9721 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9722   $as_echo_n "(cached) " >&6
   9723 else
   9724   $RM conftest*
   9725 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9726 
   9727 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9728   (eval $ac_compile) 2>&5
   9729   ac_status=$?
   9730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9731   test $ac_status = 0; } 2>conftest.err; then
   9732 	  soname=conftest
   9733 	  lib=conftest
   9734 	  libobjs=conftest.$ac_objext
   9735 	  deplibs=
   9736 	  wl=$lt_prog_compiler_wl
   9737 	  pic_flag=$lt_prog_compiler_pic
   9738 	  compiler_flags=-v
   9739 	  linker_flags=-v
   9740 	  verstring=
   9741 	  output_objdir=.
   9742 	  libname=conftest
   9743 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9744 	  allow_undefined_flag=
   9745 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9746   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9747   ac_status=$?
   9748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9749   test $ac_status = 0; }
   9750 	  then
   9751 	    lt_cv_archive_cmds_need_lc=no
   9752 	  else
   9753 	    lt_cv_archive_cmds_need_lc=yes
   9754 	  fi
   9755 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9756 	else
   9757 	  cat conftest.err 1>&5
   9758 	fi
   9759 	$RM conftest*
   9760 
   9761 fi
   9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9763 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9764       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9765       ;;
   9766     esac
   9767   fi
   9768   ;;
   9769 esac
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9923 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9924 
   9925 if test "$GCC" = yes; then
   9926   case $host_os in
   9927     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9928     *) lt_awk_arg="/^libraries:/" ;;
   9929   esac
   9930   case $host_os in
   9931     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9932     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9933   esac
   9934   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9935   case $lt_search_path_spec in
   9936   *\;*)
   9937     # if the path contains ";" then we assume it to be the separator
   9938     # otherwise default to the standard path separator (i.e. ":") - it is
   9939     # assumed that no part of a normal pathname contains ";" but that should
   9940     # okay in the real world where ";" in dirpaths is itself problematic.
   9941     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9942     ;;
   9943   *)
   9944     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9945     ;;
   9946   esac
   9947   # Ok, now we have the path, separated by spaces, we can step through it
   9948   # and add multilib dir if necessary.
   9949   lt_tmp_lt_search_path_spec=
   9950   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9951   for lt_sys_path in $lt_search_path_spec; do
   9952     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9953       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9954     else
   9955       test -d "$lt_sys_path" && \
   9956 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9957     fi
   9958   done
   9959   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9960 BEGIN {RS=" "; FS="/|\n";} {
   9961   lt_foo="";
   9962   lt_count=0;
   9963   for (lt_i = NF; lt_i > 0; lt_i--) {
   9964     if ($lt_i != "" && $lt_i != ".") {
   9965       if ($lt_i == "..") {
   9966         lt_count++;
   9967       } else {
   9968         if (lt_count == 0) {
   9969           lt_foo="/" $lt_i lt_foo;
   9970         } else {
   9971           lt_count--;
   9972         }
   9973       }
   9974     }
   9975   }
   9976   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9977   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9978 }'`
   9979   # AWK program above erroneously prepends '/' to C:/dos/paths
   9980   # for these hosts.
   9981   case $host_os in
   9982     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9983       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9984   esac
   9985   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9986 else
   9987   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9988 fi
   9989 library_names_spec=
   9990 libname_spec='lib$name'
   9991 soname_spec=
   9992 shrext_cmds=".so"
   9993 postinstall_cmds=
   9994 postuninstall_cmds=
   9995 finish_cmds=
   9996 finish_eval=
   9997 shlibpath_var=
   9998 shlibpath_overrides_runpath=unknown
   9999 version_type=none
   10000 dynamic_linker="$host_os ld.so"
   10001 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10002 need_lib_prefix=unknown
   10003 hardcode_into_libs=no
   10004 
   10005 # when you set need_version to no, make sure it does not cause -set_version
   10006 # flags to be left without arguments
   10007 need_version=unknown
   10008 
   10009 case $host_os in
   10010 aix3*)
   10011   version_type=linux # correct to gnu/linux during the next big refactor
   10012   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10013   shlibpath_var=LIBPATH
   10014 
   10015   # AIX 3 has no versioning support, so we append a major version to the name.
   10016   soname_spec='${libname}${release}${shared_ext}$major'
   10017   ;;
   10018 
   10019 aix[4-9]*)
   10020   version_type=linux # correct to gnu/linux during the next big refactor
   10021   need_lib_prefix=no
   10022   need_version=no
   10023   hardcode_into_libs=yes
   10024   if test "$host_cpu" = ia64; then
   10025     # AIX 5 supports IA64
   10026     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10027     shlibpath_var=LD_LIBRARY_PATH
   10028   else
   10029     # With GCC up to 2.95.x, collect2 would create an import file
   10030     # for dependence libraries.  The import file would start with
   10031     # the line `#! .'.  This would cause the generated library to
   10032     # depend on `.', always an invalid library.  This was fixed in
   10033     # development snapshots of GCC prior to 3.0.
   10034     case $host_os in
   10035       aix4 | aix4.[01] | aix4.[01].*)
   10036       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10037 	   echo ' yes '
   10038 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10039 	:
   10040       else
   10041 	can_build_shared=no
   10042       fi
   10043       ;;
   10044     esac
   10045     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10046     # soname into executable. Probably we can add versioning support to
   10047     # collect2, so additional links can be useful in future.
   10048     if test "$aix_use_runtimelinking" = yes; then
   10049       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10050       # instead of lib<name>.a to let people know that these are not
   10051       # typical AIX shared libraries.
   10052       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10053     else
   10054       # We preserve .a as extension for shared libraries through AIX4.2
   10055       # and later when we are not doing run time linking.
   10056       library_names_spec='${libname}${release}.a $libname.a'
   10057       soname_spec='${libname}${release}${shared_ext}$major'
   10058     fi
   10059     shlibpath_var=LIBPATH
   10060   fi
   10061   ;;
   10062 
   10063 amigaos*)
   10064   case $host_cpu in
   10065   powerpc)
   10066     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10067     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10068     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10069     ;;
   10070   m68k)
   10071     library_names_spec='$libname.ixlibrary $libname.a'
   10072     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10073     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'
   10074     ;;
   10075   esac
   10076   ;;
   10077 
   10078 beos*)
   10079   library_names_spec='${libname}${shared_ext}'
   10080   dynamic_linker="$host_os ld.so"
   10081   shlibpath_var=LIBRARY_PATH
   10082   ;;
   10083 
   10084 bsdi[45]*)
   10085   version_type=linux # correct to gnu/linux during the next big refactor
   10086   need_version=no
   10087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10088   soname_spec='${libname}${release}${shared_ext}$major'
   10089   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10090   shlibpath_var=LD_LIBRARY_PATH
   10091   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10092   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10093   # the default ld.so.conf also contains /usr/contrib/lib and
   10094   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10095   # libtool to hard-code these into programs
   10096   ;;
   10097 
   10098 cygwin* | mingw* | pw32* | cegcc*)
   10099   version_type=windows
   10100   shrext_cmds=".dll"
   10101   need_version=no
   10102   need_lib_prefix=no
   10103 
   10104   case $GCC,$cc_basename in
   10105   yes,*)
   10106     # gcc
   10107     library_names_spec='$libname.dll.a'
   10108     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10109     postinstall_cmds='base_file=`basename \${file}`~
   10110       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10111       dldir=$destdir/`dirname \$dlpath`~
   10112       test -d \$dldir || mkdir -p \$dldir~
   10113       $install_prog $dir/$dlname \$dldir/$dlname~
   10114       chmod a+x \$dldir/$dlname~
   10115       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10116         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10117       fi'
   10118     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10119       dlpath=$dir/\$dldll~
   10120        $RM \$dlpath'
   10121     shlibpath_overrides_runpath=yes
   10122 
   10123     case $host_os in
   10124     cygwin*)
   10125       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10126       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10127 
   10128       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10129       ;;
   10130     mingw* | cegcc*)
   10131       # MinGW DLLs use traditional 'lib' prefix
   10132       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10133       ;;
   10134     pw32*)
   10135       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10136       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10137       ;;
   10138     esac
   10139     dynamic_linker='Win32 ld.exe'
   10140     ;;
   10141 
   10142   *,cl*)
   10143     # Native MSVC
   10144     libname_spec='$name'
   10145     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10146     library_names_spec='${libname}.dll.lib'
   10147 
   10148     case $build_os in
   10149     mingw*)
   10150       sys_lib_search_path_spec=
   10151       lt_save_ifs=$IFS
   10152       IFS=';'
   10153       for lt_path in $LIB
   10154       do
   10155         IFS=$lt_save_ifs
   10156         # Let DOS variable expansion print the short 8.3 style file name.
   10157         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10158         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10159       done
   10160       IFS=$lt_save_ifs
   10161       # Convert to MSYS style.
   10162       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10163       ;;
   10164     cygwin*)
   10165       # Convert to unix form, then to dos form, then back to unix form
   10166       # but this time dos style (no spaces!) so that the unix form looks
   10167       # like /cygdrive/c/PROGRA~1:/cygdr...
   10168       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10169       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10170       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10171       ;;
   10172     *)
   10173       sys_lib_search_path_spec="$LIB"
   10174       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10175         # It is most probably a Windows format PATH.
   10176         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10177       else
   10178         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10179       fi
   10180       # FIXME: find the short name or the path components, as spaces are
   10181       # common. (e.g. "Program Files" -> "PROGRA~1")
   10182       ;;
   10183     esac
   10184 
   10185     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10186     postinstall_cmds='base_file=`basename \${file}`~
   10187       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10188       dldir=$destdir/`dirname \$dlpath`~
   10189       test -d \$dldir || mkdir -p \$dldir~
   10190       $install_prog $dir/$dlname \$dldir/$dlname'
   10191     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10192       dlpath=$dir/\$dldll~
   10193        $RM \$dlpath'
   10194     shlibpath_overrides_runpath=yes
   10195     dynamic_linker='Win32 link.exe'
   10196     ;;
   10197 
   10198   *)
   10199     # Assume MSVC wrapper
   10200     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10201     dynamic_linker='Win32 ld.exe'
   10202     ;;
   10203   esac
   10204   # FIXME: first we should search . and the directory the executable is in
   10205   shlibpath_var=PATH
   10206   ;;
   10207 
   10208 darwin* | rhapsody*)
   10209   dynamic_linker="$host_os dyld"
   10210   version_type=darwin
   10211   need_lib_prefix=no
   10212   need_version=no
   10213   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10214   soname_spec='${libname}${release}${major}$shared_ext'
   10215   shlibpath_overrides_runpath=yes
   10216   shlibpath_var=DYLD_LIBRARY_PATH
   10217   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10218 
   10219   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10220   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10221   ;;
   10222 
   10223 dgux*)
   10224   version_type=linux # correct to gnu/linux during the next big refactor
   10225   need_lib_prefix=no
   10226   need_version=no
   10227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10228   soname_spec='${libname}${release}${shared_ext}$major'
   10229   shlibpath_var=LD_LIBRARY_PATH
   10230   ;;
   10231 
   10232 freebsd* | dragonfly*)
   10233   # DragonFly does not have aout.  When/if they implement a new
   10234   # versioning mechanism, adjust this.
   10235   if test -x /usr/bin/objformat; then
   10236     objformat=`/usr/bin/objformat`
   10237   else
   10238     case $host_os in
   10239     freebsd[23].*) objformat=aout ;;
   10240     *) objformat=elf ;;
   10241     esac
   10242   fi
   10243   version_type=freebsd-$objformat
   10244   case $version_type in
   10245     freebsd-elf*)
   10246       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10247       need_version=no
   10248       need_lib_prefix=no
   10249       ;;
   10250     freebsd-*)
   10251       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10252       need_version=yes
   10253       ;;
   10254   esac
   10255   shlibpath_var=LD_LIBRARY_PATH
   10256   case $host_os in
   10257   freebsd2.*)
   10258     shlibpath_overrides_runpath=yes
   10259     ;;
   10260   freebsd3.[01]* | freebsdelf3.[01]*)
   10261     shlibpath_overrides_runpath=yes
   10262     hardcode_into_libs=yes
   10263     ;;
   10264   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10265   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10266     shlibpath_overrides_runpath=no
   10267     hardcode_into_libs=yes
   10268     ;;
   10269   *) # from 4.6 on, and DragonFly
   10270     shlibpath_overrides_runpath=yes
   10271     hardcode_into_libs=yes
   10272     ;;
   10273   esac
   10274   ;;
   10275 
   10276 gnu*)
   10277   version_type=linux # correct to gnu/linux during the next big refactor
   10278   need_lib_prefix=no
   10279   need_version=no
   10280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10281   soname_spec='${libname}${release}${shared_ext}$major'
   10282   shlibpath_var=LD_LIBRARY_PATH
   10283   shlibpath_overrides_runpath=no
   10284   hardcode_into_libs=yes
   10285   ;;
   10286 
   10287 haiku*)
   10288   version_type=linux # correct to gnu/linux during the next big refactor
   10289   need_lib_prefix=no
   10290   need_version=no
   10291   dynamic_linker="$host_os runtime_loader"
   10292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10293   soname_spec='${libname}${release}${shared_ext}$major'
   10294   shlibpath_var=LIBRARY_PATH
   10295   shlibpath_overrides_runpath=yes
   10296   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10297   hardcode_into_libs=yes
   10298   ;;
   10299 
   10300 hpux9* | hpux10* | hpux11*)
   10301   # Give a soname corresponding to the major version so that dld.sl refuses to
   10302   # link against other versions.
   10303   version_type=sunos
   10304   need_lib_prefix=no
   10305   need_version=no
   10306   case $host_cpu in
   10307   ia64*)
   10308     shrext_cmds='.so'
   10309     hardcode_into_libs=yes
   10310     dynamic_linker="$host_os dld.so"
   10311     shlibpath_var=LD_LIBRARY_PATH
   10312     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10313     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10314     soname_spec='${libname}${release}${shared_ext}$major'
   10315     if test "X$HPUX_IA64_MODE" = X32; then
   10316       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10317     else
   10318       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10319     fi
   10320     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10321     ;;
   10322   hppa*64*)
   10323     shrext_cmds='.sl'
   10324     hardcode_into_libs=yes
   10325     dynamic_linker="$host_os dld.sl"
   10326     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10327     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10328     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10329     soname_spec='${libname}${release}${shared_ext}$major'
   10330     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10331     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10332     ;;
   10333   *)
   10334     shrext_cmds='.sl'
   10335     dynamic_linker="$host_os dld.sl"
   10336     shlibpath_var=SHLIB_PATH
   10337     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   10341   esac
   10342   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10343   postinstall_cmds='chmod 555 $lib'
   10344   # or fails outright, so override atomically:
   10345   install_override_mode=555
   10346   ;;
   10347 
   10348 interix[3-9]*)
   10349   version_type=linux # correct to gnu/linux during the next big refactor
   10350   need_lib_prefix=no
   10351   need_version=no
   10352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10353   soname_spec='${libname}${release}${shared_ext}$major'
   10354   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10355   shlibpath_var=LD_LIBRARY_PATH
   10356   shlibpath_overrides_runpath=no
   10357   hardcode_into_libs=yes
   10358   ;;
   10359 
   10360 irix5* | irix6* | nonstopux*)
   10361   case $host_os in
   10362     nonstopux*) version_type=nonstopux ;;
   10363     *)
   10364 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10365 		version_type=linux # correct to gnu/linux during the next big refactor
   10366 	else
   10367 		version_type=irix
   10368 	fi ;;
   10369   esac
   10370   need_lib_prefix=no
   10371   need_version=no
   10372   soname_spec='${libname}${release}${shared_ext}$major'
   10373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10374   case $host_os in
   10375   irix5* | nonstopux*)
   10376     libsuff= shlibsuff=
   10377     ;;
   10378   *)
   10379     case $LD in # libtool.m4 will add one of these switches to LD
   10380     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10381       libsuff= shlibsuff= libmagic=32-bit;;
   10382     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10383       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10384     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10385       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10386     *) libsuff= shlibsuff= libmagic=never-match;;
   10387     esac
   10388     ;;
   10389   esac
   10390   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10391   shlibpath_overrides_runpath=no
   10392   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10393   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10394   hardcode_into_libs=yes
   10395   ;;
   10396 
   10397 # No shared lib support for Linux oldld, aout, or coff.
   10398 linux*oldld* | linux*aout* | linux*coff*)
   10399   dynamic_linker=no
   10400   ;;
   10401 
   10402 # This must be glibc/ELF.
   10403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10404   version_type=linux # correct to gnu/linux during the next big refactor
   10405   need_lib_prefix=no
   10406   need_version=no
   10407   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10408   soname_spec='${libname}${release}${shared_ext}$major'
   10409   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10410   shlibpath_var=LD_LIBRARY_PATH
   10411   shlibpath_overrides_runpath=no
   10412 
   10413   # Some binutils ld are patched to set DT_RUNPATH
   10414   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10415   $as_echo_n "(cached) " >&6
   10416 else
   10417   lt_cv_shlibpath_overrides_runpath=no
   10418     save_LDFLAGS=$LDFLAGS
   10419     save_libdir=$libdir
   10420     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10421 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10422     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10423 /* end confdefs.h.  */
   10424 
   10425 int
   10426 main ()
   10427 {
   10428 
   10429   ;
   10430   return 0;
   10431 }
   10432 _ACEOF
   10433 if ac_fn_c_try_link "$LINENO"; then :
   10434   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10435   lt_cv_shlibpath_overrides_runpath=yes
   10436 fi
   10437 fi
   10438 rm -f core conftest.err conftest.$ac_objext \
   10439     conftest$ac_exeext conftest.$ac_ext
   10440     LDFLAGS=$save_LDFLAGS
   10441     libdir=$save_libdir
   10442 
   10443 fi
   10444 
   10445   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10446 
   10447   # This implies no fast_install, which is unacceptable.
   10448   # Some rework will be needed to allow for fast_install
   10449   # before this can be enabled.
   10450   hardcode_into_libs=yes
   10451 
   10452   # Append ld.so.conf contents to the search path
   10453   if test -f /etc/ld.so.conf; then
   10454     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' ' '`
   10455     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10456   fi
   10457 
   10458   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10459   # powerpc, because MkLinux only supported shared libraries with the
   10460   # GNU dynamic linker.  Since this was broken with cross compilers,
   10461   # most powerpc-linux boxes support dynamic linking these days and
   10462   # people can always --disable-shared, the test was removed, and we
   10463   # assume the GNU/Linux dynamic linker is in use.
   10464   dynamic_linker='GNU/Linux ld.so'
   10465   ;;
   10466 
   10467 netbsd*)
   10468   version_type=sunos
   10469   need_lib_prefix=no
   10470   need_version=no
   10471   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10472     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10473     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10474     dynamic_linker='NetBSD (a.out) ld.so'
   10475   else
   10476     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10477     soname_spec='${libname}${release}${shared_ext}$major'
   10478     dynamic_linker='NetBSD ld.elf_so'
   10479   fi
   10480   shlibpath_var=LD_LIBRARY_PATH
   10481   shlibpath_overrides_runpath=yes
   10482   hardcode_into_libs=yes
   10483   ;;
   10484 
   10485 newsos6)
   10486   version_type=linux # correct to gnu/linux during the next big refactor
   10487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10488   shlibpath_var=LD_LIBRARY_PATH
   10489   shlibpath_overrides_runpath=yes
   10490   ;;
   10491 
   10492 *nto* | *qnx*)
   10493   version_type=qnx
   10494   need_lib_prefix=no
   10495   need_version=no
   10496   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10497   soname_spec='${libname}${release}${shared_ext}$major'
   10498   shlibpath_var=LD_LIBRARY_PATH
   10499   shlibpath_overrides_runpath=no
   10500   hardcode_into_libs=yes
   10501   dynamic_linker='ldqnx.so'
   10502   ;;
   10503 
   10504 openbsd*)
   10505   version_type=sunos
   10506   sys_lib_dlsearch_path_spec="/usr/lib"
   10507   need_lib_prefix=no
   10508   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10509   case $host_os in
   10510     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10511     *)				need_version=no  ;;
   10512   esac
   10513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10514   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10515   shlibpath_var=LD_LIBRARY_PATH
   10516   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10517     case $host_os in
   10518       openbsd2.[89] | openbsd2.[89].*)
   10519 	shlibpath_overrides_runpath=no
   10520 	;;
   10521       *)
   10522 	shlibpath_overrides_runpath=yes
   10523 	;;
   10524       esac
   10525   else
   10526     shlibpath_overrides_runpath=yes
   10527   fi
   10528   ;;
   10529 
   10530 os2*)
   10531   libname_spec='$name'
   10532   shrext_cmds=".dll"
   10533   need_lib_prefix=no
   10534   library_names_spec='$libname${shared_ext} $libname.a'
   10535   dynamic_linker='OS/2 ld.exe'
   10536   shlibpath_var=LIBPATH
   10537   ;;
   10538 
   10539 osf3* | osf4* | osf5*)
   10540   version_type=osf
   10541   need_lib_prefix=no
   10542   need_version=no
   10543   soname_spec='${libname}${release}${shared_ext}$major'
   10544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10545   shlibpath_var=LD_LIBRARY_PATH
   10546   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10547   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10548   ;;
   10549 
   10550 rdos*)
   10551   dynamic_linker=no
   10552   ;;
   10553 
   10554 solaris*)
   10555   version_type=linux # correct to gnu/linux during the next big refactor
   10556   need_lib_prefix=no
   10557   need_version=no
   10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10559   soname_spec='${libname}${release}${shared_ext}$major'
   10560   shlibpath_var=LD_LIBRARY_PATH
   10561   shlibpath_overrides_runpath=yes
   10562   hardcode_into_libs=yes
   10563   # ldd complains unless libraries are executable
   10564   postinstall_cmds='chmod +x $lib'
   10565   ;;
   10566 
   10567 sunos4*)
   10568   version_type=sunos
   10569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10570   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10571   shlibpath_var=LD_LIBRARY_PATH
   10572   shlibpath_overrides_runpath=yes
   10573   if test "$with_gnu_ld" = yes; then
   10574     need_lib_prefix=no
   10575   fi
   10576   need_version=yes
   10577   ;;
   10578 
   10579 sysv4 | sysv4.3*)
   10580   version_type=linux # correct to gnu/linux during the next big refactor
   10581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10582   soname_spec='${libname}${release}${shared_ext}$major'
   10583   shlibpath_var=LD_LIBRARY_PATH
   10584   case $host_vendor in
   10585     sni)
   10586       shlibpath_overrides_runpath=no
   10587       need_lib_prefix=no
   10588       runpath_var=LD_RUN_PATH
   10589       ;;
   10590     siemens)
   10591       need_lib_prefix=no
   10592       ;;
   10593     motorola)
   10594       need_lib_prefix=no
   10595       need_version=no
   10596       shlibpath_overrides_runpath=no
   10597       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10598       ;;
   10599   esac
   10600   ;;
   10601 
   10602 sysv4*MP*)
   10603   if test -d /usr/nec ;then
   10604     version_type=linux # correct to gnu/linux during the next big refactor
   10605     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10606     soname_spec='$libname${shared_ext}.$major'
   10607     shlibpath_var=LD_LIBRARY_PATH
   10608   fi
   10609   ;;
   10610 
   10611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10612   version_type=freebsd-elf
   10613   need_lib_prefix=no
   10614   need_version=no
   10615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10616   soname_spec='${libname}${release}${shared_ext}$major'
   10617   shlibpath_var=LD_LIBRARY_PATH
   10618   shlibpath_overrides_runpath=yes
   10619   hardcode_into_libs=yes
   10620   if test "$with_gnu_ld" = yes; then
   10621     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10622   else
   10623     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10624     case $host_os in
   10625       sco3.2v5*)
   10626         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10627 	;;
   10628     esac
   10629   fi
   10630   sys_lib_dlsearch_path_spec='/usr/lib'
   10631   ;;
   10632 
   10633 tpf*)
   10634   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10635   version_type=linux # correct to gnu/linux during the next big refactor
   10636   need_lib_prefix=no
   10637   need_version=no
   10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10639   shlibpath_var=LD_LIBRARY_PATH
   10640   shlibpath_overrides_runpath=no
   10641   hardcode_into_libs=yes
   10642   ;;
   10643 
   10644 uts4*)
   10645   version_type=linux # correct to gnu/linux during the next big refactor
   10646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10647   soname_spec='${libname}${release}${shared_ext}$major'
   10648   shlibpath_var=LD_LIBRARY_PATH
   10649   ;;
   10650 
   10651 *)
   10652   dynamic_linker=no
   10653   ;;
   10654 esac
   10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10656 $as_echo "$dynamic_linker" >&6; }
   10657 test "$dynamic_linker" = no && can_build_shared=no
   10658 
   10659 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10660 if test "$GCC" = yes; then
   10661   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10662 fi
   10663 
   10664 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10665   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10666 fi
   10667 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10668   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10669 fi
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10763 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10764 hardcode_action=
   10765 if test -n "$hardcode_libdir_flag_spec" ||
   10766    test -n "$runpath_var" ||
   10767    test "X$hardcode_automatic" = "Xyes" ; then
   10768 
   10769   # We can hardcode non-existent directories.
   10770   if test "$hardcode_direct" != no &&
   10771      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10772      # have to relink, otherwise we might link with an installed library
   10773      # when we should be linking with a yet-to-be-installed one
   10774      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10775      test "$hardcode_minus_L" != no; then
   10776     # Linking always hardcodes the temporary library directory.
   10777     hardcode_action=relink
   10778   else
   10779     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10780     hardcode_action=immediate
   10781   fi
   10782 else
   10783   # We cannot hardcode anything, or else we can only hardcode existing
   10784   # directories.
   10785   hardcode_action=unsupported
   10786 fi
   10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10788 $as_echo "$hardcode_action" >&6; }
   10789 
   10790 if test "$hardcode_action" = relink ||
   10791    test "$inherit_rpath" = yes; then
   10792   # Fast installation is not supported
   10793   enable_fast_install=no
   10794 elif test "$shlibpath_overrides_runpath" = yes ||
   10795      test "$enable_shared" = no; then
   10796   # Fast installation is not necessary
   10797   enable_fast_install=needless
   10798 fi
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805   if test "x$enable_dlopen" != xyes; then
   10806   enable_dlopen=unknown
   10807   enable_dlopen_self=unknown
   10808   enable_dlopen_self_static=unknown
   10809 else
   10810   lt_cv_dlopen=no
   10811   lt_cv_dlopen_libs=
   10812 
   10813   case $host_os in
   10814   beos*)
   10815     lt_cv_dlopen="load_add_on"
   10816     lt_cv_dlopen_libs=
   10817     lt_cv_dlopen_self=yes
   10818     ;;
   10819 
   10820   mingw* | pw32* | cegcc*)
   10821     lt_cv_dlopen="LoadLibrary"
   10822     lt_cv_dlopen_libs=
   10823     ;;
   10824 
   10825   cygwin*)
   10826     lt_cv_dlopen="dlopen"
   10827     lt_cv_dlopen_libs=
   10828     ;;
   10829 
   10830   darwin*)
   10831   # if libdl is installed we need to link against it
   10832     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10833 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10834 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10835   $as_echo_n "(cached) " >&6
   10836 else
   10837   ac_check_lib_save_LIBS=$LIBS
   10838 LIBS="-ldl  $LIBS"
   10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10840 /* end confdefs.h.  */
   10841 
   10842 /* Override any GCC internal prototype to avoid an error.
   10843    Use char because int might match the return type of a GCC
   10844    builtin and then its argument prototype would still apply.  */
   10845 #ifdef __cplusplus
   10846 extern "C"
   10847 #endif
   10848 char dlopen ();
   10849 int
   10850 main ()
   10851 {
   10852 return dlopen ();
   10853   ;
   10854   return 0;
   10855 }
   10856 _ACEOF
   10857 if ac_fn_c_try_link "$LINENO"; then :
   10858   ac_cv_lib_dl_dlopen=yes
   10859 else
   10860   ac_cv_lib_dl_dlopen=no
   10861 fi
   10862 rm -f core conftest.err conftest.$ac_objext \
   10863     conftest$ac_exeext conftest.$ac_ext
   10864 LIBS=$ac_check_lib_save_LIBS
   10865 fi
   10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10868 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10869   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10870 else
   10871 
   10872     lt_cv_dlopen="dyld"
   10873     lt_cv_dlopen_libs=
   10874     lt_cv_dlopen_self=yes
   10875 
   10876 fi
   10877 
   10878     ;;
   10879 
   10880   *)
   10881     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10882 if test "x$ac_cv_func_shl_load" = xyes; then :
   10883   lt_cv_dlopen="shl_load"
   10884 else
   10885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10886 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10887 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10888   $as_echo_n "(cached) " >&6
   10889 else
   10890   ac_check_lib_save_LIBS=$LIBS
   10891 LIBS="-ldld  $LIBS"
   10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10893 /* end confdefs.h.  */
   10894 
   10895 /* Override any GCC internal prototype to avoid an error.
   10896    Use char because int might match the return type of a GCC
   10897    builtin and then its argument prototype would still apply.  */
   10898 #ifdef __cplusplus
   10899 extern "C"
   10900 #endif
   10901 char shl_load ();
   10902 int
   10903 main ()
   10904 {
   10905 return shl_load ();
   10906   ;
   10907   return 0;
   10908 }
   10909 _ACEOF
   10910 if ac_fn_c_try_link "$LINENO"; then :
   10911   ac_cv_lib_dld_shl_load=yes
   10912 else
   10913   ac_cv_lib_dld_shl_load=no
   10914 fi
   10915 rm -f core conftest.err conftest.$ac_objext \
   10916     conftest$ac_exeext conftest.$ac_ext
   10917 LIBS=$ac_check_lib_save_LIBS
   10918 fi
   10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10920 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10921 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10922   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10923 else
   10924   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10925 if test "x$ac_cv_func_dlopen" = xyes; then :
   10926   lt_cv_dlopen="dlopen"
   10927 else
   10928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10929 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10930 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10931   $as_echo_n "(cached) " >&6
   10932 else
   10933   ac_check_lib_save_LIBS=$LIBS
   10934 LIBS="-ldl  $LIBS"
   10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10936 /* end confdefs.h.  */
   10937 
   10938 /* Override any GCC internal prototype to avoid an error.
   10939    Use char because int might match the return type of a GCC
   10940    builtin and then its argument prototype would still apply.  */
   10941 #ifdef __cplusplus
   10942 extern "C"
   10943 #endif
   10944 char dlopen ();
   10945 int
   10946 main ()
   10947 {
   10948 return dlopen ();
   10949   ;
   10950   return 0;
   10951 }
   10952 _ACEOF
   10953 if ac_fn_c_try_link "$LINENO"; then :
   10954   ac_cv_lib_dl_dlopen=yes
   10955 else
   10956   ac_cv_lib_dl_dlopen=no
   10957 fi
   10958 rm -f core conftest.err conftest.$ac_objext \
   10959     conftest$ac_exeext conftest.$ac_ext
   10960 LIBS=$ac_check_lib_save_LIBS
   10961 fi
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10963 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10964 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10965   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10966 else
   10967   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10968 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10969 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10970   $as_echo_n "(cached) " >&6
   10971 else
   10972   ac_check_lib_save_LIBS=$LIBS
   10973 LIBS="-lsvld  $LIBS"
   10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10975 /* end confdefs.h.  */
   10976 
   10977 /* Override any GCC internal prototype to avoid an error.
   10978    Use char because int might match the return type of a GCC
   10979    builtin and then its argument prototype would still apply.  */
   10980 #ifdef __cplusplus
   10981 extern "C"
   10982 #endif
   10983 char dlopen ();
   10984 int
   10985 main ()
   10986 {
   10987 return dlopen ();
   10988   ;
   10989   return 0;
   10990 }
   10991 _ACEOF
   10992 if ac_fn_c_try_link "$LINENO"; then :
   10993   ac_cv_lib_svld_dlopen=yes
   10994 else
   10995   ac_cv_lib_svld_dlopen=no
   10996 fi
   10997 rm -f core conftest.err conftest.$ac_objext \
   10998     conftest$ac_exeext conftest.$ac_ext
   10999 LIBS=$ac_check_lib_save_LIBS
   11000 fi
   11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11002 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11003 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11004   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11005 else
   11006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11007 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11008 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11009   $as_echo_n "(cached) " >&6
   11010 else
   11011   ac_check_lib_save_LIBS=$LIBS
   11012 LIBS="-ldld  $LIBS"
   11013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11014 /* end confdefs.h.  */
   11015 
   11016 /* Override any GCC internal prototype to avoid an error.
   11017    Use char because int might match the return type of a GCC
   11018    builtin and then its argument prototype would still apply.  */
   11019 #ifdef __cplusplus
   11020 extern "C"
   11021 #endif
   11022 char dld_link ();
   11023 int
   11024 main ()
   11025 {
   11026 return dld_link ();
   11027   ;
   11028   return 0;
   11029 }
   11030 _ACEOF
   11031 if ac_fn_c_try_link "$LINENO"; then :
   11032   ac_cv_lib_dld_dld_link=yes
   11033 else
   11034   ac_cv_lib_dld_dld_link=no
   11035 fi
   11036 rm -f core conftest.err conftest.$ac_objext \
   11037     conftest$ac_exeext conftest.$ac_ext
   11038 LIBS=$ac_check_lib_save_LIBS
   11039 fi
   11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11041 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11042 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11043   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11044 fi
   11045 
   11046 
   11047 fi
   11048 
   11049 
   11050 fi
   11051 
   11052 
   11053 fi
   11054 
   11055 
   11056 fi
   11057 
   11058 
   11059 fi
   11060 
   11061     ;;
   11062   esac
   11063 
   11064   if test "x$lt_cv_dlopen" != xno; then
   11065     enable_dlopen=yes
   11066   else
   11067     enable_dlopen=no
   11068   fi
   11069 
   11070   case $lt_cv_dlopen in
   11071   dlopen)
   11072     save_CPPFLAGS="$CPPFLAGS"
   11073     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11074 
   11075     save_LDFLAGS="$LDFLAGS"
   11076     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11077 
   11078     save_LIBS="$LIBS"
   11079     LIBS="$lt_cv_dlopen_libs $LIBS"
   11080 
   11081     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11082 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11083 if ${lt_cv_dlopen_self+:} false; then :
   11084   $as_echo_n "(cached) " >&6
   11085 else
   11086   	  if test "$cross_compiling" = yes; then :
   11087   lt_cv_dlopen_self=cross
   11088 else
   11089   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11090   lt_status=$lt_dlunknown
   11091   cat > conftest.$ac_ext <<_LT_EOF
   11092 #line $LINENO "configure"
   11093 #include "confdefs.h"
   11094 
   11095 #if HAVE_DLFCN_H
   11096 #include <dlfcn.h>
   11097 #endif
   11098 
   11099 #include <stdio.h>
   11100 
   11101 #ifdef RTLD_GLOBAL
   11102 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11103 #else
   11104 #  ifdef DL_GLOBAL
   11105 #    define LT_DLGLOBAL		DL_GLOBAL
   11106 #  else
   11107 #    define LT_DLGLOBAL		0
   11108 #  endif
   11109 #endif
   11110 
   11111 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11112    find out it does not work in some platform. */
   11113 #ifndef LT_DLLAZY_OR_NOW
   11114 #  ifdef RTLD_LAZY
   11115 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11116 #  else
   11117 #    ifdef DL_LAZY
   11118 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11119 #    else
   11120 #      ifdef RTLD_NOW
   11121 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11122 #      else
   11123 #        ifdef DL_NOW
   11124 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11125 #        else
   11126 #          define LT_DLLAZY_OR_NOW	0
   11127 #        endif
   11128 #      endif
   11129 #    endif
   11130 #  endif
   11131 #endif
   11132 
   11133 /* When -fvisbility=hidden is used, assume the code has been annotated
   11134    correspondingly for the symbols needed.  */
   11135 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11136 int fnord () __attribute__((visibility("default")));
   11137 #endif
   11138 
   11139 int fnord () { return 42; }
   11140 int main ()
   11141 {
   11142   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11143   int status = $lt_dlunknown;
   11144 
   11145   if (self)
   11146     {
   11147       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11148       else
   11149         {
   11150 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11151           else puts (dlerror ());
   11152 	}
   11153       /* dlclose (self); */
   11154     }
   11155   else
   11156     puts (dlerror ());
   11157 
   11158   return status;
   11159 }
   11160 _LT_EOF
   11161   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11162   (eval $ac_link) 2>&5
   11163   ac_status=$?
   11164   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11165   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11166     (./conftest; exit; ) >&5 2>/dev/null
   11167     lt_status=$?
   11168     case x$lt_status in
   11169       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11170       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11171       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11172     esac
   11173   else :
   11174     # compilation failed
   11175     lt_cv_dlopen_self=no
   11176   fi
   11177 fi
   11178 rm -fr conftest*
   11179 
   11180 
   11181 fi
   11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11183 $as_echo "$lt_cv_dlopen_self" >&6; }
   11184 
   11185     if test "x$lt_cv_dlopen_self" = xyes; then
   11186       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11187       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11188 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11189 if ${lt_cv_dlopen_self_static+:} false; then :
   11190   $as_echo_n "(cached) " >&6
   11191 else
   11192   	  if test "$cross_compiling" = yes; then :
   11193   lt_cv_dlopen_self_static=cross
   11194 else
   11195   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11196   lt_status=$lt_dlunknown
   11197   cat > conftest.$ac_ext <<_LT_EOF
   11198 #line $LINENO "configure"
   11199 #include "confdefs.h"
   11200 
   11201 #if HAVE_DLFCN_H
   11202 #include <dlfcn.h>
   11203 #endif
   11204 
   11205 #include <stdio.h>
   11206 
   11207 #ifdef RTLD_GLOBAL
   11208 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11209 #else
   11210 #  ifdef DL_GLOBAL
   11211 #    define LT_DLGLOBAL		DL_GLOBAL
   11212 #  else
   11213 #    define LT_DLGLOBAL		0
   11214 #  endif
   11215 #endif
   11216 
   11217 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11218    find out it does not work in some platform. */
   11219 #ifndef LT_DLLAZY_OR_NOW
   11220 #  ifdef RTLD_LAZY
   11221 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11222 #  else
   11223 #    ifdef DL_LAZY
   11224 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11225 #    else
   11226 #      ifdef RTLD_NOW
   11227 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11228 #      else
   11229 #        ifdef DL_NOW
   11230 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11231 #        else
   11232 #          define LT_DLLAZY_OR_NOW	0
   11233 #        endif
   11234 #      endif
   11235 #    endif
   11236 #  endif
   11237 #endif
   11238 
   11239 /* When -fvisbility=hidden is used, assume the code has been annotated
   11240    correspondingly for the symbols needed.  */
   11241 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11242 int fnord () __attribute__((visibility("default")));
   11243 #endif
   11244 
   11245 int fnord () { return 42; }
   11246 int main ()
   11247 {
   11248   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11249   int status = $lt_dlunknown;
   11250 
   11251   if (self)
   11252     {
   11253       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11254       else
   11255         {
   11256 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11257           else puts (dlerror ());
   11258 	}
   11259       /* dlclose (self); */
   11260     }
   11261   else
   11262     puts (dlerror ());
   11263 
   11264   return status;
   11265 }
   11266 _LT_EOF
   11267   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11268   (eval $ac_link) 2>&5
   11269   ac_status=$?
   11270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11271   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11272     (./conftest; exit; ) >&5 2>/dev/null
   11273     lt_status=$?
   11274     case x$lt_status in
   11275       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11276       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11277       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11278     esac
   11279   else :
   11280     # compilation failed
   11281     lt_cv_dlopen_self_static=no
   11282   fi
   11283 fi
   11284 rm -fr conftest*
   11285 
   11286 
   11287 fi
   11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11289 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11290     fi
   11291 
   11292     CPPFLAGS="$save_CPPFLAGS"
   11293     LDFLAGS="$save_LDFLAGS"
   11294     LIBS="$save_LIBS"
   11295     ;;
   11296   esac
   11297 
   11298   case $lt_cv_dlopen_self in
   11299   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11300   *) enable_dlopen_self=unknown ;;
   11301   esac
   11302 
   11303   case $lt_cv_dlopen_self_static in
   11304   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11305   *) enable_dlopen_self_static=unknown ;;
   11306   esac
   11307 fi
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 striplib=
   11326 old_striplib=
   11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11328 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11329 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11330   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11331   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11333 $as_echo "yes" >&6; }
   11334 else
   11335 # FIXME - insert some real tests, host_os isn't really good enough
   11336   case $host_os in
   11337   darwin*)
   11338     if test -n "$STRIP" ; then
   11339       striplib="$STRIP -x"
   11340       old_striplib="$STRIP -S"
   11341       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11342 $as_echo "yes" >&6; }
   11343     else
   11344       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11345 $as_echo "no" >&6; }
   11346     fi
   11347     ;;
   11348   *)
   11349     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11350 $as_echo "no" >&6; }
   11351     ;;
   11352   esac
   11353 fi
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366   # Report which library types will actually be built
   11367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11368 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11370 $as_echo "$can_build_shared" >&6; }
   11371 
   11372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11373 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11374   test "$can_build_shared" = "no" && enable_shared=no
   11375 
   11376   # On AIX, shared libraries and static libraries use the same namespace, and
   11377   # are all built from PIC.
   11378   case $host_os in
   11379   aix3*)
   11380     test "$enable_shared" = yes && enable_static=no
   11381     if test -n "$RANLIB"; then
   11382       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11383       postinstall_cmds='$RANLIB $lib'
   11384     fi
   11385     ;;
   11386 
   11387   aix[4-9]*)
   11388     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11389       test "$enable_shared" = yes && enable_static=no
   11390     fi
   11391     ;;
   11392   esac
   11393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11394 $as_echo "$enable_shared" >&6; }
   11395 
   11396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11397 $as_echo_n "checking whether to build static libraries... " >&6; }
   11398   # Make sure either enable_shared or enable_static is yes.
   11399   test "$enable_shared" = yes || enable_static=yes
   11400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11401 $as_echo "$enable_static" >&6; }
   11402 
   11403 
   11404 
   11405 
   11406 fi
   11407 ac_ext=c
   11408 ac_cpp='$CPP $CPPFLAGS'
   11409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11412 
   11413 CC="$lt_save_CC"
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429         ac_config_commands="$ac_config_commands libtool"
   11430 
   11431 
   11432 
   11433 
   11434 # Only expand once:
   11435 
   11436 
   11437 
   11438 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11451 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11452 if ${ac_cv_prog_cc_c99+:} false; then :
   11453   $as_echo_n "(cached) " >&6
   11454 else
   11455   ac_cv_prog_cc_c99=no
   11456 ac_save_CC=$CC
   11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11458 /* end confdefs.h.  */
   11459 #include <stdarg.h>
   11460 #include <stdbool.h>
   11461 #include <stdlib.h>
   11462 #include <wchar.h>
   11463 #include <stdio.h>
   11464 
   11465 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11466 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11467 #define showlist(...) puts (#__VA_ARGS__)
   11468 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11469 static void
   11470 test_varargs_macros (void)
   11471 {
   11472   int x = 1234;
   11473   int y = 5678;
   11474   debug ("Flag");
   11475   debug ("X = %d\n", x);
   11476   showlist (The first, second, and third items.);
   11477   report (x>y, "x is %d but y is %d", x, y);
   11478 }
   11479 
   11480 // Check long long types.
   11481 #define BIG64 18446744073709551615ull
   11482 #define BIG32 4294967295ul
   11483 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11484 #if !BIG_OK
   11485   your preprocessor is broken;
   11486 #endif
   11487 #if BIG_OK
   11488 #else
   11489   your preprocessor is broken;
   11490 #endif
   11491 static long long int bignum = -9223372036854775807LL;
   11492 static unsigned long long int ubignum = BIG64;
   11493 
   11494 struct incomplete_array
   11495 {
   11496   int datasize;
   11497   double data[];
   11498 };
   11499 
   11500 struct named_init {
   11501   int number;
   11502   const wchar_t *name;
   11503   double average;
   11504 };
   11505 
   11506 typedef const char *ccp;
   11507 
   11508 static inline int
   11509 test_restrict (ccp restrict text)
   11510 {
   11511   // See if C++-style comments work.
   11512   // Iterate through items via the restricted pointer.
   11513   // Also check for declarations in for loops.
   11514   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11515     continue;
   11516   return 0;
   11517 }
   11518 
   11519 // Check varargs and va_copy.
   11520 static void
   11521 test_varargs (const char *format, ...)
   11522 {
   11523   va_list args;
   11524   va_start (args, format);
   11525   va_list args_copy;
   11526   va_copy (args_copy, args);
   11527 
   11528   const char *str;
   11529   int number;
   11530   float fnumber;
   11531 
   11532   while (*format)
   11533     {
   11534       switch (*format++)
   11535 	{
   11536 	case 's': // string
   11537 	  str = va_arg (args_copy, const char *);
   11538 	  break;
   11539 	case 'd': // int
   11540 	  number = va_arg (args_copy, int);
   11541 	  break;
   11542 	case 'f': // float
   11543 	  fnumber = va_arg (args_copy, double);
   11544 	  break;
   11545 	default:
   11546 	  break;
   11547 	}
   11548     }
   11549   va_end (args_copy);
   11550   va_end (args);
   11551 }
   11552 
   11553 int
   11554 main ()
   11555 {
   11556 
   11557   // Check bool.
   11558   _Bool success = false;
   11559 
   11560   // Check restrict.
   11561   if (test_restrict ("String literal") == 0)
   11562     success = true;
   11563   char *restrict newvar = "Another string";
   11564 
   11565   // Check varargs.
   11566   test_varargs ("s, d' f .", "string", 65, 34.234);
   11567   test_varargs_macros ();
   11568 
   11569   // Check flexible array members.
   11570   struct incomplete_array *ia =
   11571     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11572   ia->datasize = 10;
   11573   for (int i = 0; i < ia->datasize; ++i)
   11574     ia->data[i] = i * 1.234;
   11575 
   11576   // Check named initializers.
   11577   struct named_init ni = {
   11578     .number = 34,
   11579     .name = L"Test wide string",
   11580     .average = 543.34343,
   11581   };
   11582 
   11583   ni.number = 58;
   11584 
   11585   int dynamic_array[ni.number];
   11586   dynamic_array[ni.number - 1] = 543;
   11587 
   11588   // work around unused variable warnings
   11589   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11590 	  || dynamic_array[ni.number - 1] != 543);
   11591 
   11592   ;
   11593   return 0;
   11594 }
   11595 _ACEOF
   11596 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11597 do
   11598   CC="$ac_save_CC $ac_arg"
   11599   if ac_fn_c_try_compile "$LINENO"; then :
   11600   ac_cv_prog_cc_c99=$ac_arg
   11601 fi
   11602 rm -f core conftest.err conftest.$ac_objext
   11603   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11604 done
   11605 rm -f conftest.$ac_ext
   11606 CC=$ac_save_CC
   11607 
   11608 fi
   11609 # AC_CACHE_VAL
   11610 case "x$ac_cv_prog_cc_c99" in
   11611   x)
   11612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11613 $as_echo "none needed" >&6; } ;;
   11614   xno)
   11615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11616 $as_echo "unsupported" >&6; } ;;
   11617   *)
   11618     CC="$CC $ac_cv_prog_cc_c99"
   11619     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11620 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11621 esac
   11622 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11623 
   11624 fi
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11632 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11633   CLANGCC="yes"
   11634 else
   11635   CLANGCC="no"
   11636 fi
   11637 
   11638 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11639 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11640   INTELCC="yes"
   11641 else
   11642   INTELCC="no"
   11643 fi
   11644 
   11645 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11646 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11647   SUNCC="yes"
   11648 else
   11649   SUNCC="no"
   11650 fi
   11651 
   11652 
   11653 
   11654 
   11655 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11656 	if test -n "$ac_tool_prefix"; then
   11657   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11658 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11660 $as_echo_n "checking for $ac_word... " >&6; }
   11661 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11662   $as_echo_n "(cached) " >&6
   11663 else
   11664   case $PKG_CONFIG in
   11665   [\\/]* | ?:[\\/]*)
   11666   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11667   ;;
   11668   *)
   11669   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11670 for as_dir in $PATH
   11671 do
   11672   IFS=$as_save_IFS
   11673   test -z "$as_dir" && as_dir=.
   11674     for ac_exec_ext in '' $ac_executable_extensions; do
   11675   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11676     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11678     break 2
   11679   fi
   11680 done
   11681   done
   11682 IFS=$as_save_IFS
   11683 
   11684   ;;
   11685 esac
   11686 fi
   11687 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11688 if test -n "$PKG_CONFIG"; then
   11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11690 $as_echo "$PKG_CONFIG" >&6; }
   11691 else
   11692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11693 $as_echo "no" >&6; }
   11694 fi
   11695 
   11696 
   11697 fi
   11698 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11699   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11700   # Extract the first word of "pkg-config", so it can be a program name with args.
   11701 set dummy pkg-config; ac_word=$2
   11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11703 $as_echo_n "checking for $ac_word... " >&6; }
   11704 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11705   $as_echo_n "(cached) " >&6
   11706 else
   11707   case $ac_pt_PKG_CONFIG in
   11708   [\\/]* | ?:[\\/]*)
   11709   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11710   ;;
   11711   *)
   11712   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11713 for as_dir in $PATH
   11714 do
   11715   IFS=$as_save_IFS
   11716   test -z "$as_dir" && as_dir=.
   11717     for ac_exec_ext in '' $ac_executable_extensions; do
   11718   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11719     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11721     break 2
   11722   fi
   11723 done
   11724   done
   11725 IFS=$as_save_IFS
   11726 
   11727   ;;
   11728 esac
   11729 fi
   11730 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11731 if test -n "$ac_pt_PKG_CONFIG"; then
   11732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11733 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11734 else
   11735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11736 $as_echo "no" >&6; }
   11737 fi
   11738 
   11739   if test "x$ac_pt_PKG_CONFIG" = x; then
   11740     PKG_CONFIG=""
   11741   else
   11742     case $cross_compiling:$ac_tool_warned in
   11743 yes:)
   11744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11746 ac_tool_warned=yes ;;
   11747 esac
   11748     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11749   fi
   11750 else
   11751   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11752 fi
   11753 
   11754 fi
   11755 if test -n "$PKG_CONFIG"; then
   11756 	_pkg_min_version=0.9.0
   11757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11758 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11759 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11761 $as_echo "yes" >&6; }
   11762 	else
   11763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11764 $as_echo "no" >&6; }
   11765 		PKG_CONFIG=""
   11766 	fi
   11767 
   11768 fi
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 # Check whether --enable-selective-werror was given.
   11775 if test "${enable_selective_werror+set}" = set; then :
   11776   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11777 else
   11778   SELECTIVE_WERROR=yes
   11779 fi
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11786 if test "x$SUNCC" = "xyes"; then
   11787     BASE_CFLAGS="-v"
   11788 else
   11789     BASE_CFLAGS=""
   11790 fi
   11791 
   11792 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 xorg_testset_save_CFLAGS="$CFLAGS"
   11807 
   11808 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11809 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11811 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11812 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11813   $as_echo_n "(cached) " >&6
   11814 else
   11815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11816 /* end confdefs.h.  */
   11817 int i;
   11818 _ACEOF
   11819 if ac_fn_c_try_compile "$LINENO"; then :
   11820   xorg_cv_cc_flag_unknown_warning_option=yes
   11821 else
   11822   xorg_cv_cc_flag_unknown_warning_option=no
   11823 fi
   11824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11825 fi
   11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11827 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11828 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11829 	CFLAGS="$xorg_testset_save_CFLAGS"
   11830 fi
   11831 
   11832 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11833 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11834 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11835 	fi
   11836 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11837 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11838 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11839 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11840   $as_echo_n "(cached) " >&6
   11841 else
   11842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11843 /* end confdefs.h.  */
   11844 int i;
   11845 _ACEOF
   11846 if ac_fn_c_try_compile "$LINENO"; then :
   11847   xorg_cv_cc_flag_unused_command_line_argument=yes
   11848 else
   11849   xorg_cv_cc_flag_unused_command_line_argument=no
   11850 fi
   11851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11852 fi
   11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11854 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11856 	CFLAGS="$xorg_testset_save_CFLAGS"
   11857 fi
   11858 
   11859 found="no"
   11860 
   11861 	if test $found = "no" ; then
   11862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11864 		fi
   11865 
   11866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11868 		fi
   11869 
   11870 		CFLAGS="$CFLAGS -Wall"
   11871 
   11872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11873 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11874 		cacheid=xorg_cv_cc_flag__Wall
   11875 		if eval \${$cacheid+:} false; then :
   11876   $as_echo_n "(cached) " >&6
   11877 else
   11878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11879 /* end confdefs.h.  */
   11880 int i;
   11881 int
   11882 main ()
   11883 {
   11884 
   11885   ;
   11886   return 0;
   11887 }
   11888 _ACEOF
   11889 if ac_fn_c_try_link "$LINENO"; then :
   11890   eval $cacheid=yes
   11891 else
   11892   eval $cacheid=no
   11893 fi
   11894 rm -f core conftest.err conftest.$ac_objext \
   11895     conftest$ac_exeext conftest.$ac_ext
   11896 fi
   11897 
   11898 
   11899 		CFLAGS="$xorg_testset_save_CFLAGS"
   11900 
   11901 		eval supported=\$$cacheid
   11902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11903 $as_echo "$supported" >&6; }
   11904 		if test "$supported" = "yes" ; then
   11905 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11906 			found="yes"
   11907 		fi
   11908 	fi
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 xorg_testset_save_CFLAGS="$CFLAGS"
   11925 
   11926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11929 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11930 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11931   $as_echo_n "(cached) " >&6
   11932 else
   11933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11934 /* end confdefs.h.  */
   11935 int i;
   11936 _ACEOF
   11937 if ac_fn_c_try_compile "$LINENO"; then :
   11938   xorg_cv_cc_flag_unknown_warning_option=yes
   11939 else
   11940   xorg_cv_cc_flag_unknown_warning_option=no
   11941 fi
   11942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11943 fi
   11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11945 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11947 	CFLAGS="$xorg_testset_save_CFLAGS"
   11948 fi
   11949 
   11950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11953 	fi
   11954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11956 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11957 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11958   $as_echo_n "(cached) " >&6
   11959 else
   11960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11961 /* end confdefs.h.  */
   11962 int i;
   11963 _ACEOF
   11964 if ac_fn_c_try_compile "$LINENO"; then :
   11965   xorg_cv_cc_flag_unused_command_line_argument=yes
   11966 else
   11967   xorg_cv_cc_flag_unused_command_line_argument=no
   11968 fi
   11969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11970 fi
   11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11972 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11974 	CFLAGS="$xorg_testset_save_CFLAGS"
   11975 fi
   11976 
   11977 found="no"
   11978 
   11979 	if test $found = "no" ; then
   11980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11982 		fi
   11983 
   11984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11986 		fi
   11987 
   11988 		CFLAGS="$CFLAGS -Wpointer-arith"
   11989 
   11990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11991 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11992 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11993 		if eval \${$cacheid+:} false; then :
   11994   $as_echo_n "(cached) " >&6
   11995 else
   11996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11997 /* end confdefs.h.  */
   11998 int i;
   11999 int
   12000 main ()
   12001 {
   12002 
   12003   ;
   12004   return 0;
   12005 }
   12006 _ACEOF
   12007 if ac_fn_c_try_link "$LINENO"; then :
   12008   eval $cacheid=yes
   12009 else
   12010   eval $cacheid=no
   12011 fi
   12012 rm -f core conftest.err conftest.$ac_objext \
   12013     conftest$ac_exeext conftest.$ac_ext
   12014 fi
   12015 
   12016 
   12017 		CFLAGS="$xorg_testset_save_CFLAGS"
   12018 
   12019 		eval supported=\$$cacheid
   12020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12021 $as_echo "$supported" >&6; }
   12022 		if test "$supported" = "yes" ; then
   12023 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12024 			found="yes"
   12025 		fi
   12026 	fi
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 xorg_testset_save_CFLAGS="$CFLAGS"
   12043 
   12044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12047 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12048 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12049   $as_echo_n "(cached) " >&6
   12050 else
   12051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12052 /* end confdefs.h.  */
   12053 int i;
   12054 _ACEOF
   12055 if ac_fn_c_try_compile "$LINENO"; then :
   12056   xorg_cv_cc_flag_unknown_warning_option=yes
   12057 else
   12058   xorg_cv_cc_flag_unknown_warning_option=no
   12059 fi
   12060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12061 fi
   12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12063 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12065 	CFLAGS="$xorg_testset_save_CFLAGS"
   12066 fi
   12067 
   12068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12071 	fi
   12072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12074 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12075 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12076   $as_echo_n "(cached) " >&6
   12077 else
   12078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12079 /* end confdefs.h.  */
   12080 int i;
   12081 _ACEOF
   12082 if ac_fn_c_try_compile "$LINENO"; then :
   12083   xorg_cv_cc_flag_unused_command_line_argument=yes
   12084 else
   12085   xorg_cv_cc_flag_unused_command_line_argument=no
   12086 fi
   12087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12088 fi
   12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12090 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12092 	CFLAGS="$xorg_testset_save_CFLAGS"
   12093 fi
   12094 
   12095 found="no"
   12096 
   12097 	if test $found = "no" ; then
   12098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12100 		fi
   12101 
   12102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12104 		fi
   12105 
   12106 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12107 
   12108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12109 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12110 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12111 		if eval \${$cacheid+:} false; then :
   12112   $as_echo_n "(cached) " >&6
   12113 else
   12114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12115 /* end confdefs.h.  */
   12116 int i;
   12117 int
   12118 main ()
   12119 {
   12120 
   12121   ;
   12122   return 0;
   12123 }
   12124 _ACEOF
   12125 if ac_fn_c_try_link "$LINENO"; then :
   12126   eval $cacheid=yes
   12127 else
   12128   eval $cacheid=no
   12129 fi
   12130 rm -f core conftest.err conftest.$ac_objext \
   12131     conftest$ac_exeext conftest.$ac_ext
   12132 fi
   12133 
   12134 
   12135 		CFLAGS="$xorg_testset_save_CFLAGS"
   12136 
   12137 		eval supported=\$$cacheid
   12138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12139 $as_echo "$supported" >&6; }
   12140 		if test "$supported" = "yes" ; then
   12141 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12142 			found="yes"
   12143 		fi
   12144 	fi
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 xorg_testset_save_CFLAGS="$CFLAGS"
   12161 
   12162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12165 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12166 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12167   $as_echo_n "(cached) " >&6
   12168 else
   12169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12170 /* end confdefs.h.  */
   12171 int i;
   12172 _ACEOF
   12173 if ac_fn_c_try_compile "$LINENO"; then :
   12174   xorg_cv_cc_flag_unknown_warning_option=yes
   12175 else
   12176   xorg_cv_cc_flag_unknown_warning_option=no
   12177 fi
   12178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12179 fi
   12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12181 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12183 	CFLAGS="$xorg_testset_save_CFLAGS"
   12184 fi
   12185 
   12186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12189 	fi
   12190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12192 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12193 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12194   $as_echo_n "(cached) " >&6
   12195 else
   12196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12197 /* end confdefs.h.  */
   12198 int i;
   12199 _ACEOF
   12200 if ac_fn_c_try_compile "$LINENO"; then :
   12201   xorg_cv_cc_flag_unused_command_line_argument=yes
   12202 else
   12203   xorg_cv_cc_flag_unused_command_line_argument=no
   12204 fi
   12205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12206 fi
   12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12208 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12210 	CFLAGS="$xorg_testset_save_CFLAGS"
   12211 fi
   12212 
   12213 found="no"
   12214 
   12215 	if test $found = "no" ; then
   12216 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12218 		fi
   12219 
   12220 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12222 		fi
   12223 
   12224 		CFLAGS="$CFLAGS -Wformat=2"
   12225 
   12226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12227 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12228 		cacheid=xorg_cv_cc_flag__Wformat_2
   12229 		if eval \${$cacheid+:} false; then :
   12230   $as_echo_n "(cached) " >&6
   12231 else
   12232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12233 /* end confdefs.h.  */
   12234 int i;
   12235 int
   12236 main ()
   12237 {
   12238 
   12239   ;
   12240   return 0;
   12241 }
   12242 _ACEOF
   12243 if ac_fn_c_try_link "$LINENO"; then :
   12244   eval $cacheid=yes
   12245 else
   12246   eval $cacheid=no
   12247 fi
   12248 rm -f core conftest.err conftest.$ac_objext \
   12249     conftest$ac_exeext conftest.$ac_ext
   12250 fi
   12251 
   12252 
   12253 		CFLAGS="$xorg_testset_save_CFLAGS"
   12254 
   12255 		eval supported=\$$cacheid
   12256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12257 $as_echo "$supported" >&6; }
   12258 		if test "$supported" = "yes" ; then
   12259 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12260 			found="yes"
   12261 		fi
   12262 	fi
   12263 
   12264 	if test $found = "no" ; then
   12265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12267 		fi
   12268 
   12269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12271 		fi
   12272 
   12273 		CFLAGS="$CFLAGS -Wformat"
   12274 
   12275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12276 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12277 		cacheid=xorg_cv_cc_flag__Wformat
   12278 		if eval \${$cacheid+:} false; then :
   12279   $as_echo_n "(cached) " >&6
   12280 else
   12281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12282 /* end confdefs.h.  */
   12283 int i;
   12284 int
   12285 main ()
   12286 {
   12287 
   12288   ;
   12289   return 0;
   12290 }
   12291 _ACEOF
   12292 if ac_fn_c_try_link "$LINENO"; then :
   12293   eval $cacheid=yes
   12294 else
   12295   eval $cacheid=no
   12296 fi
   12297 rm -f core conftest.err conftest.$ac_objext \
   12298     conftest$ac_exeext conftest.$ac_ext
   12299 fi
   12300 
   12301 
   12302 		CFLAGS="$xorg_testset_save_CFLAGS"
   12303 
   12304 		eval supported=\$$cacheid
   12305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12306 $as_echo "$supported" >&6; }
   12307 		if test "$supported" = "yes" ; then
   12308 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12309 			found="yes"
   12310 		fi
   12311 	fi
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 xorg_testset_save_CFLAGS="$CFLAGS"
   12330 
   12331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12334 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12335 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12336   $as_echo_n "(cached) " >&6
   12337 else
   12338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12339 /* end confdefs.h.  */
   12340 int i;
   12341 _ACEOF
   12342 if ac_fn_c_try_compile "$LINENO"; then :
   12343   xorg_cv_cc_flag_unknown_warning_option=yes
   12344 else
   12345   xorg_cv_cc_flag_unknown_warning_option=no
   12346 fi
   12347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12348 fi
   12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12350 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12352 	CFLAGS="$xorg_testset_save_CFLAGS"
   12353 fi
   12354 
   12355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12358 	fi
   12359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12361 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12362 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12363   $as_echo_n "(cached) " >&6
   12364 else
   12365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12366 /* end confdefs.h.  */
   12367 int i;
   12368 _ACEOF
   12369 if ac_fn_c_try_compile "$LINENO"; then :
   12370   xorg_cv_cc_flag_unused_command_line_argument=yes
   12371 else
   12372   xorg_cv_cc_flag_unused_command_line_argument=no
   12373 fi
   12374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12375 fi
   12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12377 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12378 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12379 	CFLAGS="$xorg_testset_save_CFLAGS"
   12380 fi
   12381 
   12382 found="no"
   12383 
   12384 	if test $found = "no" ; then
   12385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12387 		fi
   12388 
   12389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12391 		fi
   12392 
   12393 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12394 
   12395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12396 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12397 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12398 		if eval \${$cacheid+:} false; then :
   12399   $as_echo_n "(cached) " >&6
   12400 else
   12401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12402 /* end confdefs.h.  */
   12403 int i;
   12404 int
   12405 main ()
   12406 {
   12407 
   12408   ;
   12409   return 0;
   12410 }
   12411 _ACEOF
   12412 if ac_fn_c_try_link "$LINENO"; then :
   12413   eval $cacheid=yes
   12414 else
   12415   eval $cacheid=no
   12416 fi
   12417 rm -f core conftest.err conftest.$ac_objext \
   12418     conftest$ac_exeext conftest.$ac_ext
   12419 fi
   12420 
   12421 
   12422 		CFLAGS="$xorg_testset_save_CFLAGS"
   12423 
   12424 		eval supported=\$$cacheid
   12425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12426 $as_echo "$supported" >&6; }
   12427 		if test "$supported" = "yes" ; then
   12428 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12429 			found="yes"
   12430 		fi
   12431 	fi
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 xorg_testset_save_CFLAGS="$CFLAGS"
   12448 
   12449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12454   $as_echo_n "(cached) " >&6
   12455 else
   12456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12457 /* end confdefs.h.  */
   12458 int i;
   12459 _ACEOF
   12460 if ac_fn_c_try_compile "$LINENO"; then :
   12461   xorg_cv_cc_flag_unknown_warning_option=yes
   12462 else
   12463   xorg_cv_cc_flag_unknown_warning_option=no
   12464 fi
   12465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12466 fi
   12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12470 	CFLAGS="$xorg_testset_save_CFLAGS"
   12471 fi
   12472 
   12473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12476 	fi
   12477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12481   $as_echo_n "(cached) " >&6
   12482 else
   12483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12484 /* end confdefs.h.  */
   12485 int i;
   12486 _ACEOF
   12487 if ac_fn_c_try_compile "$LINENO"; then :
   12488   xorg_cv_cc_flag_unused_command_line_argument=yes
   12489 else
   12490   xorg_cv_cc_flag_unused_command_line_argument=no
   12491 fi
   12492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12493 fi
   12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12497 	CFLAGS="$xorg_testset_save_CFLAGS"
   12498 fi
   12499 
   12500 found="no"
   12501 
   12502 	if test $found = "no" ; then
   12503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12505 		fi
   12506 
   12507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12509 		fi
   12510 
   12511 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12512 
   12513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12514 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12515 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12516 		if eval \${$cacheid+:} false; then :
   12517   $as_echo_n "(cached) " >&6
   12518 else
   12519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12520 /* end confdefs.h.  */
   12521 int i;
   12522 int
   12523 main ()
   12524 {
   12525 
   12526   ;
   12527   return 0;
   12528 }
   12529 _ACEOF
   12530 if ac_fn_c_try_link "$LINENO"; then :
   12531   eval $cacheid=yes
   12532 else
   12533   eval $cacheid=no
   12534 fi
   12535 rm -f core conftest.err conftest.$ac_objext \
   12536     conftest$ac_exeext conftest.$ac_ext
   12537 fi
   12538 
   12539 
   12540 		CFLAGS="$xorg_testset_save_CFLAGS"
   12541 
   12542 		eval supported=\$$cacheid
   12543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12544 $as_echo "$supported" >&6; }
   12545 		if test "$supported" = "yes" ; then
   12546 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12547 			found="yes"
   12548 		fi
   12549 	fi
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 xorg_testset_save_CFLAGS="$CFLAGS"
   12566 
   12567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12570 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12571 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12572   $as_echo_n "(cached) " >&6
   12573 else
   12574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12575 /* end confdefs.h.  */
   12576 int i;
   12577 _ACEOF
   12578 if ac_fn_c_try_compile "$LINENO"; then :
   12579   xorg_cv_cc_flag_unknown_warning_option=yes
   12580 else
   12581   xorg_cv_cc_flag_unknown_warning_option=no
   12582 fi
   12583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12584 fi
   12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12586 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12588 	CFLAGS="$xorg_testset_save_CFLAGS"
   12589 fi
   12590 
   12591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12594 	fi
   12595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12597 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12598 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12599   $as_echo_n "(cached) " >&6
   12600 else
   12601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12602 /* end confdefs.h.  */
   12603 int i;
   12604 _ACEOF
   12605 if ac_fn_c_try_compile "$LINENO"; then :
   12606   xorg_cv_cc_flag_unused_command_line_argument=yes
   12607 else
   12608   xorg_cv_cc_flag_unused_command_line_argument=no
   12609 fi
   12610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12611 fi
   12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12613 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12615 	CFLAGS="$xorg_testset_save_CFLAGS"
   12616 fi
   12617 
   12618 found="no"
   12619 
   12620 	if test $found = "no" ; then
   12621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12623 		fi
   12624 
   12625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12627 		fi
   12628 
   12629 		CFLAGS="$CFLAGS -Wnested-externs"
   12630 
   12631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12632 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12633 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12634 		if eval \${$cacheid+:} false; then :
   12635   $as_echo_n "(cached) " >&6
   12636 else
   12637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12638 /* end confdefs.h.  */
   12639 int i;
   12640 int
   12641 main ()
   12642 {
   12643 
   12644   ;
   12645   return 0;
   12646 }
   12647 _ACEOF
   12648 if ac_fn_c_try_link "$LINENO"; then :
   12649   eval $cacheid=yes
   12650 else
   12651   eval $cacheid=no
   12652 fi
   12653 rm -f core conftest.err conftest.$ac_objext \
   12654     conftest$ac_exeext conftest.$ac_ext
   12655 fi
   12656 
   12657 
   12658 		CFLAGS="$xorg_testset_save_CFLAGS"
   12659 
   12660 		eval supported=\$$cacheid
   12661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12662 $as_echo "$supported" >&6; }
   12663 		if test "$supported" = "yes" ; then
   12664 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12665 			found="yes"
   12666 		fi
   12667 	fi
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 xorg_testset_save_CFLAGS="$CFLAGS"
   12684 
   12685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12690   $as_echo_n "(cached) " >&6
   12691 else
   12692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12693 /* end confdefs.h.  */
   12694 int i;
   12695 _ACEOF
   12696 if ac_fn_c_try_compile "$LINENO"; then :
   12697   xorg_cv_cc_flag_unknown_warning_option=yes
   12698 else
   12699   xorg_cv_cc_flag_unknown_warning_option=no
   12700 fi
   12701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12702 fi
   12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12706 	CFLAGS="$xorg_testset_save_CFLAGS"
   12707 fi
   12708 
   12709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12712 	fi
   12713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12717   $as_echo_n "(cached) " >&6
   12718 else
   12719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12720 /* end confdefs.h.  */
   12721 int i;
   12722 _ACEOF
   12723 if ac_fn_c_try_compile "$LINENO"; then :
   12724   xorg_cv_cc_flag_unused_command_line_argument=yes
   12725 else
   12726   xorg_cv_cc_flag_unused_command_line_argument=no
   12727 fi
   12728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12729 fi
   12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12733 	CFLAGS="$xorg_testset_save_CFLAGS"
   12734 fi
   12735 
   12736 found="no"
   12737 
   12738 	if test $found = "no" ; then
   12739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12741 		fi
   12742 
   12743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12745 		fi
   12746 
   12747 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12748 
   12749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12750 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12751 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12752 		if eval \${$cacheid+:} false; then :
   12753   $as_echo_n "(cached) " >&6
   12754 else
   12755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12756 /* end confdefs.h.  */
   12757 int i;
   12758 int
   12759 main ()
   12760 {
   12761 
   12762   ;
   12763   return 0;
   12764 }
   12765 _ACEOF
   12766 if ac_fn_c_try_link "$LINENO"; then :
   12767   eval $cacheid=yes
   12768 else
   12769   eval $cacheid=no
   12770 fi
   12771 rm -f core conftest.err conftest.$ac_objext \
   12772     conftest$ac_exeext conftest.$ac_ext
   12773 fi
   12774 
   12775 
   12776 		CFLAGS="$xorg_testset_save_CFLAGS"
   12777 
   12778 		eval supported=\$$cacheid
   12779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12780 $as_echo "$supported" >&6; }
   12781 		if test "$supported" = "yes" ; then
   12782 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12783 			found="yes"
   12784 		fi
   12785 	fi
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 xorg_testset_save_CFLAGS="$CFLAGS"
   12802 
   12803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12808   $as_echo_n "(cached) " >&6
   12809 else
   12810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12811 /* end confdefs.h.  */
   12812 int i;
   12813 _ACEOF
   12814 if ac_fn_c_try_compile "$LINENO"; then :
   12815   xorg_cv_cc_flag_unknown_warning_option=yes
   12816 else
   12817   xorg_cv_cc_flag_unknown_warning_option=no
   12818 fi
   12819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12820 fi
   12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12824 	CFLAGS="$xorg_testset_save_CFLAGS"
   12825 fi
   12826 
   12827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12830 	fi
   12831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12835   $as_echo_n "(cached) " >&6
   12836 else
   12837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12838 /* end confdefs.h.  */
   12839 int i;
   12840 _ACEOF
   12841 if ac_fn_c_try_compile "$LINENO"; then :
   12842   xorg_cv_cc_flag_unused_command_line_argument=yes
   12843 else
   12844   xorg_cv_cc_flag_unused_command_line_argument=no
   12845 fi
   12846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12847 fi
   12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12851 	CFLAGS="$xorg_testset_save_CFLAGS"
   12852 fi
   12853 
   12854 found="no"
   12855 
   12856 	if test $found = "no" ; then
   12857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12859 		fi
   12860 
   12861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12863 		fi
   12864 
   12865 		CFLAGS="$CFLAGS -Wold-style-definition"
   12866 
   12867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12868 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12869 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12870 		if eval \${$cacheid+:} false; then :
   12871   $as_echo_n "(cached) " >&6
   12872 else
   12873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12874 /* end confdefs.h.  */
   12875 int i;
   12876 int
   12877 main ()
   12878 {
   12879 
   12880   ;
   12881   return 0;
   12882 }
   12883 _ACEOF
   12884 if ac_fn_c_try_link "$LINENO"; then :
   12885   eval $cacheid=yes
   12886 else
   12887   eval $cacheid=no
   12888 fi
   12889 rm -f core conftest.err conftest.$ac_objext \
   12890     conftest$ac_exeext conftest.$ac_ext
   12891 fi
   12892 
   12893 
   12894 		CFLAGS="$xorg_testset_save_CFLAGS"
   12895 
   12896 		eval supported=\$$cacheid
   12897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12898 $as_echo "$supported" >&6; }
   12899 		if test "$supported" = "yes" ; then
   12900 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12901 			found="yes"
   12902 		fi
   12903 	fi
   12904 
   12905 	if test $found = "no" ; then
   12906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12908 		fi
   12909 
   12910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12912 		fi
   12913 
   12914 		CFLAGS="$CFLAGS -fd"
   12915 
   12916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   12917 $as_echo_n "checking if $CC supports -fd... " >&6; }
   12918 		cacheid=xorg_cv_cc_flag__fd
   12919 		if eval \${$cacheid+:} false; then :
   12920   $as_echo_n "(cached) " >&6
   12921 else
   12922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12923 /* end confdefs.h.  */
   12924 int i;
   12925 int
   12926 main ()
   12927 {
   12928 
   12929   ;
   12930   return 0;
   12931 }
   12932 _ACEOF
   12933 if ac_fn_c_try_link "$LINENO"; then :
   12934   eval $cacheid=yes
   12935 else
   12936   eval $cacheid=no
   12937 fi
   12938 rm -f core conftest.err conftest.$ac_objext \
   12939     conftest$ac_exeext conftest.$ac_ext
   12940 fi
   12941 
   12942 
   12943 		CFLAGS="$xorg_testset_save_CFLAGS"
   12944 
   12945 		eval supported=\$$cacheid
   12946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12947 $as_echo "$supported" >&6; }
   12948 		if test "$supported" = "yes" ; then
   12949 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   12950 			found="yes"
   12951 		fi
   12952 	fi
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 xorg_testset_save_CFLAGS="$CFLAGS"
   12969 
   12970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12975   $as_echo_n "(cached) " >&6
   12976 else
   12977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12978 /* end confdefs.h.  */
   12979 int i;
   12980 _ACEOF
   12981 if ac_fn_c_try_compile "$LINENO"; then :
   12982   xorg_cv_cc_flag_unknown_warning_option=yes
   12983 else
   12984   xorg_cv_cc_flag_unknown_warning_option=no
   12985 fi
   12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12987 fi
   12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12991 	CFLAGS="$xorg_testset_save_CFLAGS"
   12992 fi
   12993 
   12994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12997 	fi
   12998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13002   $as_echo_n "(cached) " >&6
   13003 else
   13004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13005 /* end confdefs.h.  */
   13006 int i;
   13007 _ACEOF
   13008 if ac_fn_c_try_compile "$LINENO"; then :
   13009   xorg_cv_cc_flag_unused_command_line_argument=yes
   13010 else
   13011   xorg_cv_cc_flag_unused_command_line_argument=no
   13012 fi
   13013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13014 fi
   13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13018 	CFLAGS="$xorg_testset_save_CFLAGS"
   13019 fi
   13020 
   13021 found="no"
   13022 
   13023 	if test $found = "no" ; then
   13024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13026 		fi
   13027 
   13028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13030 		fi
   13031 
   13032 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13033 
   13034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13035 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13036 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13037 		if eval \${$cacheid+:} false; then :
   13038   $as_echo_n "(cached) " >&6
   13039 else
   13040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13041 /* end confdefs.h.  */
   13042 int i;
   13043 int
   13044 main ()
   13045 {
   13046 
   13047   ;
   13048   return 0;
   13049 }
   13050 _ACEOF
   13051 if ac_fn_c_try_link "$LINENO"; then :
   13052   eval $cacheid=yes
   13053 else
   13054   eval $cacheid=no
   13055 fi
   13056 rm -f core conftest.err conftest.$ac_objext \
   13057     conftest$ac_exeext conftest.$ac_ext
   13058 fi
   13059 
   13060 
   13061 		CFLAGS="$xorg_testset_save_CFLAGS"
   13062 
   13063 		eval supported=\$$cacheid
   13064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13065 $as_echo "$supported" >&6; }
   13066 		if test "$supported" = "yes" ; then
   13067 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13068 			found="yes"
   13069 		fi
   13070 	fi
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 # This chunk adds additional warnings that could catch undesired effects.
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 xorg_testset_save_CFLAGS="$CFLAGS"
   13091 
   13092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13097   $as_echo_n "(cached) " >&6
   13098 else
   13099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13100 /* end confdefs.h.  */
   13101 int i;
   13102 _ACEOF
   13103 if ac_fn_c_try_compile "$LINENO"; then :
   13104   xorg_cv_cc_flag_unknown_warning_option=yes
   13105 else
   13106   xorg_cv_cc_flag_unknown_warning_option=no
   13107 fi
   13108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13109 fi
   13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13113 	CFLAGS="$xorg_testset_save_CFLAGS"
   13114 fi
   13115 
   13116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13119 	fi
   13120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13124   $as_echo_n "(cached) " >&6
   13125 else
   13126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13127 /* end confdefs.h.  */
   13128 int i;
   13129 _ACEOF
   13130 if ac_fn_c_try_compile "$LINENO"; then :
   13131   xorg_cv_cc_flag_unused_command_line_argument=yes
   13132 else
   13133   xorg_cv_cc_flag_unused_command_line_argument=no
   13134 fi
   13135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13136 fi
   13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13140 	CFLAGS="$xorg_testset_save_CFLAGS"
   13141 fi
   13142 
   13143 found="no"
   13144 
   13145 	if test $found = "no" ; then
   13146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13148 		fi
   13149 
   13150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13152 		fi
   13153 
   13154 		CFLAGS="$CFLAGS -Wunused"
   13155 
   13156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13157 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13158 		cacheid=xorg_cv_cc_flag__Wunused
   13159 		if eval \${$cacheid+:} false; then :
   13160   $as_echo_n "(cached) " >&6
   13161 else
   13162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13163 /* end confdefs.h.  */
   13164 int i;
   13165 int
   13166 main ()
   13167 {
   13168 
   13169   ;
   13170   return 0;
   13171 }
   13172 _ACEOF
   13173 if ac_fn_c_try_link "$LINENO"; then :
   13174   eval $cacheid=yes
   13175 else
   13176   eval $cacheid=no
   13177 fi
   13178 rm -f core conftest.err conftest.$ac_objext \
   13179     conftest$ac_exeext conftest.$ac_ext
   13180 fi
   13181 
   13182 
   13183 		CFLAGS="$xorg_testset_save_CFLAGS"
   13184 
   13185 		eval supported=\$$cacheid
   13186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13187 $as_echo "$supported" >&6; }
   13188 		if test "$supported" = "yes" ; then
   13189 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13190 			found="yes"
   13191 		fi
   13192 	fi
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 xorg_testset_save_CFLAGS="$CFLAGS"
   13209 
   13210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13215   $as_echo_n "(cached) " >&6
   13216 else
   13217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13218 /* end confdefs.h.  */
   13219 int i;
   13220 _ACEOF
   13221 if ac_fn_c_try_compile "$LINENO"; then :
   13222   xorg_cv_cc_flag_unknown_warning_option=yes
   13223 else
   13224   xorg_cv_cc_flag_unknown_warning_option=no
   13225 fi
   13226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13227 fi
   13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13231 	CFLAGS="$xorg_testset_save_CFLAGS"
   13232 fi
   13233 
   13234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13237 	fi
   13238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13242   $as_echo_n "(cached) " >&6
   13243 else
   13244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13245 /* end confdefs.h.  */
   13246 int i;
   13247 _ACEOF
   13248 if ac_fn_c_try_compile "$LINENO"; then :
   13249   xorg_cv_cc_flag_unused_command_line_argument=yes
   13250 else
   13251   xorg_cv_cc_flag_unused_command_line_argument=no
   13252 fi
   13253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13254 fi
   13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13258 	CFLAGS="$xorg_testset_save_CFLAGS"
   13259 fi
   13260 
   13261 found="no"
   13262 
   13263 	if test $found = "no" ; then
   13264 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13266 		fi
   13267 
   13268 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13270 		fi
   13271 
   13272 		CFLAGS="$CFLAGS -Wuninitialized"
   13273 
   13274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13275 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13276 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13277 		if eval \${$cacheid+:} false; then :
   13278   $as_echo_n "(cached) " >&6
   13279 else
   13280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13281 /* end confdefs.h.  */
   13282 int i;
   13283 int
   13284 main ()
   13285 {
   13286 
   13287   ;
   13288   return 0;
   13289 }
   13290 _ACEOF
   13291 if ac_fn_c_try_link "$LINENO"; then :
   13292   eval $cacheid=yes
   13293 else
   13294   eval $cacheid=no
   13295 fi
   13296 rm -f core conftest.err conftest.$ac_objext \
   13297     conftest$ac_exeext conftest.$ac_ext
   13298 fi
   13299 
   13300 
   13301 		CFLAGS="$xorg_testset_save_CFLAGS"
   13302 
   13303 		eval supported=\$$cacheid
   13304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13305 $as_echo "$supported" >&6; }
   13306 		if test "$supported" = "yes" ; then
   13307 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13308 			found="yes"
   13309 		fi
   13310 	fi
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 xorg_testset_save_CFLAGS="$CFLAGS"
   13327 
   13328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13331 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13332 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13333   $as_echo_n "(cached) " >&6
   13334 else
   13335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13336 /* end confdefs.h.  */
   13337 int i;
   13338 _ACEOF
   13339 if ac_fn_c_try_compile "$LINENO"; then :
   13340   xorg_cv_cc_flag_unknown_warning_option=yes
   13341 else
   13342   xorg_cv_cc_flag_unknown_warning_option=no
   13343 fi
   13344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13345 fi
   13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13347 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13349 	CFLAGS="$xorg_testset_save_CFLAGS"
   13350 fi
   13351 
   13352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13355 	fi
   13356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13358 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13359 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13360   $as_echo_n "(cached) " >&6
   13361 else
   13362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13363 /* end confdefs.h.  */
   13364 int i;
   13365 _ACEOF
   13366 if ac_fn_c_try_compile "$LINENO"; then :
   13367   xorg_cv_cc_flag_unused_command_line_argument=yes
   13368 else
   13369   xorg_cv_cc_flag_unused_command_line_argument=no
   13370 fi
   13371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13372 fi
   13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13374 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13376 	CFLAGS="$xorg_testset_save_CFLAGS"
   13377 fi
   13378 
   13379 found="no"
   13380 
   13381 	if test $found = "no" ; then
   13382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13384 		fi
   13385 
   13386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13388 		fi
   13389 
   13390 		CFLAGS="$CFLAGS -Wshadow"
   13391 
   13392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13393 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13394 		cacheid=xorg_cv_cc_flag__Wshadow
   13395 		if eval \${$cacheid+:} false; then :
   13396   $as_echo_n "(cached) " >&6
   13397 else
   13398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13399 /* end confdefs.h.  */
   13400 int i;
   13401 int
   13402 main ()
   13403 {
   13404 
   13405   ;
   13406   return 0;
   13407 }
   13408 _ACEOF
   13409 if ac_fn_c_try_link "$LINENO"; then :
   13410   eval $cacheid=yes
   13411 else
   13412   eval $cacheid=no
   13413 fi
   13414 rm -f core conftest.err conftest.$ac_objext \
   13415     conftest$ac_exeext conftest.$ac_ext
   13416 fi
   13417 
   13418 
   13419 		CFLAGS="$xorg_testset_save_CFLAGS"
   13420 
   13421 		eval supported=\$$cacheid
   13422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13423 $as_echo "$supported" >&6; }
   13424 		if test "$supported" = "yes" ; then
   13425 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13426 			found="yes"
   13427 		fi
   13428 	fi
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 xorg_testset_save_CFLAGS="$CFLAGS"
   13445 
   13446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13451   $as_echo_n "(cached) " >&6
   13452 else
   13453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13454 /* end confdefs.h.  */
   13455 int i;
   13456 _ACEOF
   13457 if ac_fn_c_try_compile "$LINENO"; then :
   13458   xorg_cv_cc_flag_unknown_warning_option=yes
   13459 else
   13460   xorg_cv_cc_flag_unknown_warning_option=no
   13461 fi
   13462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13463 fi
   13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13467 	CFLAGS="$xorg_testset_save_CFLAGS"
   13468 fi
   13469 
   13470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13473 	fi
   13474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13478   $as_echo_n "(cached) " >&6
   13479 else
   13480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13481 /* end confdefs.h.  */
   13482 int i;
   13483 _ACEOF
   13484 if ac_fn_c_try_compile "$LINENO"; then :
   13485   xorg_cv_cc_flag_unused_command_line_argument=yes
   13486 else
   13487   xorg_cv_cc_flag_unused_command_line_argument=no
   13488 fi
   13489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13490 fi
   13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13494 	CFLAGS="$xorg_testset_save_CFLAGS"
   13495 fi
   13496 
   13497 found="no"
   13498 
   13499 	if test $found = "no" ; then
   13500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13502 		fi
   13503 
   13504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13506 		fi
   13507 
   13508 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13509 
   13510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13511 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13512 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13513 		if eval \${$cacheid+:} false; then :
   13514   $as_echo_n "(cached) " >&6
   13515 else
   13516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13517 /* end confdefs.h.  */
   13518 int i;
   13519 int
   13520 main ()
   13521 {
   13522 
   13523   ;
   13524   return 0;
   13525 }
   13526 _ACEOF
   13527 if ac_fn_c_try_link "$LINENO"; then :
   13528   eval $cacheid=yes
   13529 else
   13530   eval $cacheid=no
   13531 fi
   13532 rm -f core conftest.err conftest.$ac_objext \
   13533     conftest$ac_exeext conftest.$ac_ext
   13534 fi
   13535 
   13536 
   13537 		CFLAGS="$xorg_testset_save_CFLAGS"
   13538 
   13539 		eval supported=\$$cacheid
   13540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13541 $as_echo "$supported" >&6; }
   13542 		if test "$supported" = "yes" ; then
   13543 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13544 			found="yes"
   13545 		fi
   13546 	fi
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 
   13561 
   13562 xorg_testset_save_CFLAGS="$CFLAGS"
   13563 
   13564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13569   $as_echo_n "(cached) " >&6
   13570 else
   13571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13572 /* end confdefs.h.  */
   13573 int i;
   13574 _ACEOF
   13575 if ac_fn_c_try_compile "$LINENO"; then :
   13576   xorg_cv_cc_flag_unknown_warning_option=yes
   13577 else
   13578   xorg_cv_cc_flag_unknown_warning_option=no
   13579 fi
   13580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13581 fi
   13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13585 	CFLAGS="$xorg_testset_save_CFLAGS"
   13586 fi
   13587 
   13588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13591 	fi
   13592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13596   $as_echo_n "(cached) " >&6
   13597 else
   13598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13599 /* end confdefs.h.  */
   13600 int i;
   13601 _ACEOF
   13602 if ac_fn_c_try_compile "$LINENO"; then :
   13603   xorg_cv_cc_flag_unused_command_line_argument=yes
   13604 else
   13605   xorg_cv_cc_flag_unused_command_line_argument=no
   13606 fi
   13607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13608 fi
   13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13612 	CFLAGS="$xorg_testset_save_CFLAGS"
   13613 fi
   13614 
   13615 found="no"
   13616 
   13617 	if test $found = "no" ; then
   13618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13620 		fi
   13621 
   13622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13624 		fi
   13625 
   13626 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13627 
   13628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13629 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13630 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13631 		if eval \${$cacheid+:} false; then :
   13632   $as_echo_n "(cached) " >&6
   13633 else
   13634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13635 /* end confdefs.h.  */
   13636 int i;
   13637 int
   13638 main ()
   13639 {
   13640 
   13641   ;
   13642   return 0;
   13643 }
   13644 _ACEOF
   13645 if ac_fn_c_try_link "$LINENO"; then :
   13646   eval $cacheid=yes
   13647 else
   13648   eval $cacheid=no
   13649 fi
   13650 rm -f core conftest.err conftest.$ac_objext \
   13651     conftest$ac_exeext conftest.$ac_ext
   13652 fi
   13653 
   13654 
   13655 		CFLAGS="$xorg_testset_save_CFLAGS"
   13656 
   13657 		eval supported=\$$cacheid
   13658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13659 $as_echo "$supported" >&6; }
   13660 		if test "$supported" = "yes" ; then
   13661 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13662 			found="yes"
   13663 		fi
   13664 	fi
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 
   13676 
   13677 
   13678 
   13679 
   13680 xorg_testset_save_CFLAGS="$CFLAGS"
   13681 
   13682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13687   $as_echo_n "(cached) " >&6
   13688 else
   13689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13690 /* end confdefs.h.  */
   13691 int i;
   13692 _ACEOF
   13693 if ac_fn_c_try_compile "$LINENO"; then :
   13694   xorg_cv_cc_flag_unknown_warning_option=yes
   13695 else
   13696   xorg_cv_cc_flag_unknown_warning_option=no
   13697 fi
   13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13699 fi
   13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13703 	CFLAGS="$xorg_testset_save_CFLAGS"
   13704 fi
   13705 
   13706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13709 	fi
   13710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13714   $as_echo_n "(cached) " >&6
   13715 else
   13716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13717 /* end confdefs.h.  */
   13718 int i;
   13719 _ACEOF
   13720 if ac_fn_c_try_compile "$LINENO"; then :
   13721   xorg_cv_cc_flag_unused_command_line_argument=yes
   13722 else
   13723   xorg_cv_cc_flag_unused_command_line_argument=no
   13724 fi
   13725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13726 fi
   13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13730 	CFLAGS="$xorg_testset_save_CFLAGS"
   13731 fi
   13732 
   13733 found="no"
   13734 
   13735 	if test $found = "no" ; then
   13736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13738 		fi
   13739 
   13740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13742 		fi
   13743 
   13744 		CFLAGS="$CFLAGS -Wredundant-decls"
   13745 
   13746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13747 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13748 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13749 		if eval \${$cacheid+:} false; then :
   13750   $as_echo_n "(cached) " >&6
   13751 else
   13752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13753 /* end confdefs.h.  */
   13754 int i;
   13755 int
   13756 main ()
   13757 {
   13758 
   13759   ;
   13760   return 0;
   13761 }
   13762 _ACEOF
   13763 if ac_fn_c_try_link "$LINENO"; then :
   13764   eval $cacheid=yes
   13765 else
   13766   eval $cacheid=no
   13767 fi
   13768 rm -f core conftest.err conftest.$ac_objext \
   13769     conftest$ac_exeext conftest.$ac_ext
   13770 fi
   13771 
   13772 
   13773 		CFLAGS="$xorg_testset_save_CFLAGS"
   13774 
   13775 		eval supported=\$$cacheid
   13776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13777 $as_echo "$supported" >&6; }
   13778 		if test "$supported" = "yes" ; then
   13779 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13780 			found="yes"
   13781 		fi
   13782 	fi
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 xorg_testset_save_CFLAGS="$CFLAGS"
   13799 
   13800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13805   $as_echo_n "(cached) " >&6
   13806 else
   13807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13808 /* end confdefs.h.  */
   13809 int i;
   13810 _ACEOF
   13811 if ac_fn_c_try_compile "$LINENO"; then :
   13812   xorg_cv_cc_flag_unknown_warning_option=yes
   13813 else
   13814   xorg_cv_cc_flag_unknown_warning_option=no
   13815 fi
   13816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13817 fi
   13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13821 	CFLAGS="$xorg_testset_save_CFLAGS"
   13822 fi
   13823 
   13824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13827 	fi
   13828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13832   $as_echo_n "(cached) " >&6
   13833 else
   13834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13835 /* end confdefs.h.  */
   13836 int i;
   13837 _ACEOF
   13838 if ac_fn_c_try_compile "$LINENO"; then :
   13839   xorg_cv_cc_flag_unused_command_line_argument=yes
   13840 else
   13841   xorg_cv_cc_flag_unused_command_line_argument=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13844 fi
   13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13848 	CFLAGS="$xorg_testset_save_CFLAGS"
   13849 fi
   13850 
   13851 found="no"
   13852 
   13853 	if test $found = "no" ; then
   13854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13856 		fi
   13857 
   13858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13860 		fi
   13861 
   13862 		CFLAGS="$CFLAGS -Wlogical-op"
   13863 
   13864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13865 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13866 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13867 		if eval \${$cacheid+:} false; then :
   13868   $as_echo_n "(cached) " >&6
   13869 else
   13870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13871 /* end confdefs.h.  */
   13872 int i;
   13873 int
   13874 main ()
   13875 {
   13876 
   13877   ;
   13878   return 0;
   13879 }
   13880 _ACEOF
   13881 if ac_fn_c_try_link "$LINENO"; then :
   13882   eval $cacheid=yes
   13883 else
   13884   eval $cacheid=no
   13885 fi
   13886 rm -f core conftest.err conftest.$ac_objext \
   13887     conftest$ac_exeext conftest.$ac_ext
   13888 fi
   13889 
   13890 
   13891 		CFLAGS="$xorg_testset_save_CFLAGS"
   13892 
   13893 		eval supported=\$$cacheid
   13894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13895 $as_echo "$supported" >&6; }
   13896 		if test "$supported" = "yes" ; then
   13897 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   13898 			found="yes"
   13899 		fi
   13900 	fi
   13901 
   13902 
   13903 
   13904 # These are currently disabled because they are noisy.  They will be enabled
   13905 # in the future once the codebase is sufficiently modernized to silence
   13906 # them.  For now, I don't want them to drown out the other warnings.
   13907 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13908 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13909 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   13910 
   13911 # Turn some warnings into errors, so we don't accidently get successful builds
   13912 # when there are problems that should be fixed.
   13913 
   13914 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 xorg_testset_save_CFLAGS="$CFLAGS"
   13929 
   13930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13935   $as_echo_n "(cached) " >&6
   13936 else
   13937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13938 /* end confdefs.h.  */
   13939 int i;
   13940 _ACEOF
   13941 if ac_fn_c_try_compile "$LINENO"; then :
   13942   xorg_cv_cc_flag_unknown_warning_option=yes
   13943 else
   13944   xorg_cv_cc_flag_unknown_warning_option=no
   13945 fi
   13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13947 fi
   13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13951 	CFLAGS="$xorg_testset_save_CFLAGS"
   13952 fi
   13953 
   13954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13957 	fi
   13958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13962   $as_echo_n "(cached) " >&6
   13963 else
   13964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13965 /* end confdefs.h.  */
   13966 int i;
   13967 _ACEOF
   13968 if ac_fn_c_try_compile "$LINENO"; then :
   13969   xorg_cv_cc_flag_unused_command_line_argument=yes
   13970 else
   13971   xorg_cv_cc_flag_unused_command_line_argument=no
   13972 fi
   13973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13974 fi
   13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13978 	CFLAGS="$xorg_testset_save_CFLAGS"
   13979 fi
   13980 
   13981 found="no"
   13982 
   13983 	if test $found = "no" ; then
   13984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13986 		fi
   13987 
   13988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13990 		fi
   13991 
   13992 		CFLAGS="$CFLAGS -Werror=implicit"
   13993 
   13994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13995 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13996 		cacheid=xorg_cv_cc_flag__Werror_implicit
   13997 		if eval \${$cacheid+:} false; then :
   13998   $as_echo_n "(cached) " >&6
   13999 else
   14000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14001 /* end confdefs.h.  */
   14002 int i;
   14003 int
   14004 main ()
   14005 {
   14006 
   14007   ;
   14008   return 0;
   14009 }
   14010 _ACEOF
   14011 if ac_fn_c_try_link "$LINENO"; then :
   14012   eval $cacheid=yes
   14013 else
   14014   eval $cacheid=no
   14015 fi
   14016 rm -f core conftest.err conftest.$ac_objext \
   14017     conftest$ac_exeext conftest.$ac_ext
   14018 fi
   14019 
   14020 
   14021 		CFLAGS="$xorg_testset_save_CFLAGS"
   14022 
   14023 		eval supported=\$$cacheid
   14024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14025 $as_echo "$supported" >&6; }
   14026 		if test "$supported" = "yes" ; then
   14027 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14028 			found="yes"
   14029 		fi
   14030 	fi
   14031 
   14032 	if test $found = "no" ; then
   14033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14035 		fi
   14036 
   14037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14039 		fi
   14040 
   14041 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14042 
   14043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14044 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14045 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14046 		if eval \${$cacheid+:} false; then :
   14047   $as_echo_n "(cached) " >&6
   14048 else
   14049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14050 /* end confdefs.h.  */
   14051 int i;
   14052 int
   14053 main ()
   14054 {
   14055 
   14056   ;
   14057   return 0;
   14058 }
   14059 _ACEOF
   14060 if ac_fn_c_try_link "$LINENO"; then :
   14061   eval $cacheid=yes
   14062 else
   14063   eval $cacheid=no
   14064 fi
   14065 rm -f core conftest.err conftest.$ac_objext \
   14066     conftest$ac_exeext conftest.$ac_ext
   14067 fi
   14068 
   14069 
   14070 		CFLAGS="$xorg_testset_save_CFLAGS"
   14071 
   14072 		eval supported=\$$cacheid
   14073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14074 $as_echo "$supported" >&6; }
   14075 		if test "$supported" = "yes" ; then
   14076 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14077 			found="yes"
   14078 		fi
   14079 	fi
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 xorg_testset_save_CFLAGS="$CFLAGS"
   14096 
   14097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14102   $as_echo_n "(cached) " >&6
   14103 else
   14104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14105 /* end confdefs.h.  */
   14106 int i;
   14107 _ACEOF
   14108 if ac_fn_c_try_compile "$LINENO"; then :
   14109   xorg_cv_cc_flag_unknown_warning_option=yes
   14110 else
   14111   xorg_cv_cc_flag_unknown_warning_option=no
   14112 fi
   14113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14114 fi
   14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14118 	CFLAGS="$xorg_testset_save_CFLAGS"
   14119 fi
   14120 
   14121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14124 	fi
   14125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14129   $as_echo_n "(cached) " >&6
   14130 else
   14131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14132 /* end confdefs.h.  */
   14133 int i;
   14134 _ACEOF
   14135 if ac_fn_c_try_compile "$LINENO"; then :
   14136   xorg_cv_cc_flag_unused_command_line_argument=yes
   14137 else
   14138   xorg_cv_cc_flag_unused_command_line_argument=no
   14139 fi
   14140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14141 fi
   14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14145 	CFLAGS="$xorg_testset_save_CFLAGS"
   14146 fi
   14147 
   14148 found="no"
   14149 
   14150 	if test $found = "no" ; then
   14151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14153 		fi
   14154 
   14155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14157 		fi
   14158 
   14159 		CFLAGS="$CFLAGS -Werror=nonnull"
   14160 
   14161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14162 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14163 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14164 		if eval \${$cacheid+:} false; then :
   14165   $as_echo_n "(cached) " >&6
   14166 else
   14167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14168 /* end confdefs.h.  */
   14169 int i;
   14170 int
   14171 main ()
   14172 {
   14173 
   14174   ;
   14175   return 0;
   14176 }
   14177 _ACEOF
   14178 if ac_fn_c_try_link "$LINENO"; then :
   14179   eval $cacheid=yes
   14180 else
   14181   eval $cacheid=no
   14182 fi
   14183 rm -f core conftest.err conftest.$ac_objext \
   14184     conftest$ac_exeext conftest.$ac_ext
   14185 fi
   14186 
   14187 
   14188 		CFLAGS="$xorg_testset_save_CFLAGS"
   14189 
   14190 		eval supported=\$$cacheid
   14191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14192 $as_echo "$supported" >&6; }
   14193 		if test "$supported" = "yes" ; then
   14194 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14195 			found="yes"
   14196 		fi
   14197 	fi
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 xorg_testset_save_CFLAGS="$CFLAGS"
   14214 
   14215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14218 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14219 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14220   $as_echo_n "(cached) " >&6
   14221 else
   14222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14223 /* end confdefs.h.  */
   14224 int i;
   14225 _ACEOF
   14226 if ac_fn_c_try_compile "$LINENO"; then :
   14227   xorg_cv_cc_flag_unknown_warning_option=yes
   14228 else
   14229   xorg_cv_cc_flag_unknown_warning_option=no
   14230 fi
   14231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14232 fi
   14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14234 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14236 	CFLAGS="$xorg_testset_save_CFLAGS"
   14237 fi
   14238 
   14239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14242 	fi
   14243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14245 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14246 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14247   $as_echo_n "(cached) " >&6
   14248 else
   14249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14250 /* end confdefs.h.  */
   14251 int i;
   14252 _ACEOF
   14253 if ac_fn_c_try_compile "$LINENO"; then :
   14254   xorg_cv_cc_flag_unused_command_line_argument=yes
   14255 else
   14256   xorg_cv_cc_flag_unused_command_line_argument=no
   14257 fi
   14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14259 fi
   14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14261 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14263 	CFLAGS="$xorg_testset_save_CFLAGS"
   14264 fi
   14265 
   14266 found="no"
   14267 
   14268 	if test $found = "no" ; then
   14269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14271 		fi
   14272 
   14273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14275 		fi
   14276 
   14277 		CFLAGS="$CFLAGS -Werror=init-self"
   14278 
   14279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14280 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14281 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14282 		if eval \${$cacheid+:} false; then :
   14283   $as_echo_n "(cached) " >&6
   14284 else
   14285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14286 /* end confdefs.h.  */
   14287 int i;
   14288 int
   14289 main ()
   14290 {
   14291 
   14292   ;
   14293   return 0;
   14294 }
   14295 _ACEOF
   14296 if ac_fn_c_try_link "$LINENO"; then :
   14297   eval $cacheid=yes
   14298 else
   14299   eval $cacheid=no
   14300 fi
   14301 rm -f core conftest.err conftest.$ac_objext \
   14302     conftest$ac_exeext conftest.$ac_ext
   14303 fi
   14304 
   14305 
   14306 		CFLAGS="$xorg_testset_save_CFLAGS"
   14307 
   14308 		eval supported=\$$cacheid
   14309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14310 $as_echo "$supported" >&6; }
   14311 		if test "$supported" = "yes" ; then
   14312 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14313 			found="yes"
   14314 		fi
   14315 	fi
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 xorg_testset_save_CFLAGS="$CFLAGS"
   14332 
   14333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14336 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14337 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14338   $as_echo_n "(cached) " >&6
   14339 else
   14340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14341 /* end confdefs.h.  */
   14342 int i;
   14343 _ACEOF
   14344 if ac_fn_c_try_compile "$LINENO"; then :
   14345   xorg_cv_cc_flag_unknown_warning_option=yes
   14346 else
   14347   xorg_cv_cc_flag_unknown_warning_option=no
   14348 fi
   14349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14350 fi
   14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14352 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14354 	CFLAGS="$xorg_testset_save_CFLAGS"
   14355 fi
   14356 
   14357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14360 	fi
   14361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14363 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14364 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14365   $as_echo_n "(cached) " >&6
   14366 else
   14367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14368 /* end confdefs.h.  */
   14369 int i;
   14370 _ACEOF
   14371 if ac_fn_c_try_compile "$LINENO"; then :
   14372   xorg_cv_cc_flag_unused_command_line_argument=yes
   14373 else
   14374   xorg_cv_cc_flag_unused_command_line_argument=no
   14375 fi
   14376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14377 fi
   14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14379 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14381 	CFLAGS="$xorg_testset_save_CFLAGS"
   14382 fi
   14383 
   14384 found="no"
   14385 
   14386 	if test $found = "no" ; then
   14387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14389 		fi
   14390 
   14391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14393 		fi
   14394 
   14395 		CFLAGS="$CFLAGS -Werror=main"
   14396 
   14397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14398 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14399 		cacheid=xorg_cv_cc_flag__Werror_main
   14400 		if eval \${$cacheid+:} false; then :
   14401   $as_echo_n "(cached) " >&6
   14402 else
   14403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14404 /* end confdefs.h.  */
   14405 int i;
   14406 int
   14407 main ()
   14408 {
   14409 
   14410   ;
   14411   return 0;
   14412 }
   14413 _ACEOF
   14414 if ac_fn_c_try_link "$LINENO"; then :
   14415   eval $cacheid=yes
   14416 else
   14417   eval $cacheid=no
   14418 fi
   14419 rm -f core conftest.err conftest.$ac_objext \
   14420     conftest$ac_exeext conftest.$ac_ext
   14421 fi
   14422 
   14423 
   14424 		CFLAGS="$xorg_testset_save_CFLAGS"
   14425 
   14426 		eval supported=\$$cacheid
   14427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14428 $as_echo "$supported" >&6; }
   14429 		if test "$supported" = "yes" ; then
   14430 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14431 			found="yes"
   14432 		fi
   14433 	fi
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 xorg_testset_save_CFLAGS="$CFLAGS"
   14450 
   14451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14454 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14455 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14456   $as_echo_n "(cached) " >&6
   14457 else
   14458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14459 /* end confdefs.h.  */
   14460 int i;
   14461 _ACEOF
   14462 if ac_fn_c_try_compile "$LINENO"; then :
   14463   xorg_cv_cc_flag_unknown_warning_option=yes
   14464 else
   14465   xorg_cv_cc_flag_unknown_warning_option=no
   14466 fi
   14467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14468 fi
   14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14470 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14472 	CFLAGS="$xorg_testset_save_CFLAGS"
   14473 fi
   14474 
   14475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14478 	fi
   14479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14480 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14481 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14482 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14483   $as_echo_n "(cached) " >&6
   14484 else
   14485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14486 /* end confdefs.h.  */
   14487 int i;
   14488 _ACEOF
   14489 if ac_fn_c_try_compile "$LINENO"; then :
   14490   xorg_cv_cc_flag_unused_command_line_argument=yes
   14491 else
   14492   xorg_cv_cc_flag_unused_command_line_argument=no
   14493 fi
   14494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14495 fi
   14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14497 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14499 	CFLAGS="$xorg_testset_save_CFLAGS"
   14500 fi
   14501 
   14502 found="no"
   14503 
   14504 	if test $found = "no" ; then
   14505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14507 		fi
   14508 
   14509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14511 		fi
   14512 
   14513 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14514 
   14515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14516 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14517 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14518 		if eval \${$cacheid+:} false; then :
   14519   $as_echo_n "(cached) " >&6
   14520 else
   14521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14522 /* end confdefs.h.  */
   14523 int i;
   14524 int
   14525 main ()
   14526 {
   14527 
   14528   ;
   14529   return 0;
   14530 }
   14531 _ACEOF
   14532 if ac_fn_c_try_link "$LINENO"; then :
   14533   eval $cacheid=yes
   14534 else
   14535   eval $cacheid=no
   14536 fi
   14537 rm -f core conftest.err conftest.$ac_objext \
   14538     conftest$ac_exeext conftest.$ac_ext
   14539 fi
   14540 
   14541 
   14542 		CFLAGS="$xorg_testset_save_CFLAGS"
   14543 
   14544 		eval supported=\$$cacheid
   14545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14546 $as_echo "$supported" >&6; }
   14547 		if test "$supported" = "yes" ; then
   14548 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14549 			found="yes"
   14550 		fi
   14551 	fi
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 xorg_testset_save_CFLAGS="$CFLAGS"
   14568 
   14569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14572 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14573 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14574   $as_echo_n "(cached) " >&6
   14575 else
   14576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14577 /* end confdefs.h.  */
   14578 int i;
   14579 _ACEOF
   14580 if ac_fn_c_try_compile "$LINENO"; then :
   14581   xorg_cv_cc_flag_unknown_warning_option=yes
   14582 else
   14583   xorg_cv_cc_flag_unknown_warning_option=no
   14584 fi
   14585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14586 fi
   14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14588 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14589 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14590 	CFLAGS="$xorg_testset_save_CFLAGS"
   14591 fi
   14592 
   14593 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14594 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14596 	fi
   14597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14599 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14600 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14601   $as_echo_n "(cached) " >&6
   14602 else
   14603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14604 /* end confdefs.h.  */
   14605 int i;
   14606 _ACEOF
   14607 if ac_fn_c_try_compile "$LINENO"; then :
   14608   xorg_cv_cc_flag_unused_command_line_argument=yes
   14609 else
   14610   xorg_cv_cc_flag_unused_command_line_argument=no
   14611 fi
   14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14613 fi
   14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14615 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14617 	CFLAGS="$xorg_testset_save_CFLAGS"
   14618 fi
   14619 
   14620 found="no"
   14621 
   14622 	if test $found = "no" ; then
   14623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14625 		fi
   14626 
   14627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14629 		fi
   14630 
   14631 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14632 
   14633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14634 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14635 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14636 		if eval \${$cacheid+:} false; then :
   14637   $as_echo_n "(cached) " >&6
   14638 else
   14639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14640 /* end confdefs.h.  */
   14641 int i;
   14642 int
   14643 main ()
   14644 {
   14645 
   14646   ;
   14647   return 0;
   14648 }
   14649 _ACEOF
   14650 if ac_fn_c_try_link "$LINENO"; then :
   14651   eval $cacheid=yes
   14652 else
   14653   eval $cacheid=no
   14654 fi
   14655 rm -f core conftest.err conftest.$ac_objext \
   14656     conftest$ac_exeext conftest.$ac_ext
   14657 fi
   14658 
   14659 
   14660 		CFLAGS="$xorg_testset_save_CFLAGS"
   14661 
   14662 		eval supported=\$$cacheid
   14663 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14664 $as_echo "$supported" >&6; }
   14665 		if test "$supported" = "yes" ; then
   14666 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14667 			found="yes"
   14668 		fi
   14669 	fi
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 xorg_testset_save_CFLAGS="$CFLAGS"
   14686 
   14687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14690 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14691 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14692   $as_echo_n "(cached) " >&6
   14693 else
   14694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14695 /* end confdefs.h.  */
   14696 int i;
   14697 _ACEOF
   14698 if ac_fn_c_try_compile "$LINENO"; then :
   14699   xorg_cv_cc_flag_unknown_warning_option=yes
   14700 else
   14701   xorg_cv_cc_flag_unknown_warning_option=no
   14702 fi
   14703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14704 fi
   14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14706 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14707 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14708 	CFLAGS="$xorg_testset_save_CFLAGS"
   14709 fi
   14710 
   14711 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14712 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14713 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14714 	fi
   14715 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14717 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14718 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14719   $as_echo_n "(cached) " >&6
   14720 else
   14721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14722 /* end confdefs.h.  */
   14723 int i;
   14724 _ACEOF
   14725 if ac_fn_c_try_compile "$LINENO"; then :
   14726   xorg_cv_cc_flag_unused_command_line_argument=yes
   14727 else
   14728   xorg_cv_cc_flag_unused_command_line_argument=no
   14729 fi
   14730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14731 fi
   14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14733 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14735 	CFLAGS="$xorg_testset_save_CFLAGS"
   14736 fi
   14737 
   14738 found="no"
   14739 
   14740 	if test $found = "no" ; then
   14741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14743 		fi
   14744 
   14745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14747 		fi
   14748 
   14749 		CFLAGS="$CFLAGS -Werror=return-type"
   14750 
   14751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14752 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14753 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14754 		if eval \${$cacheid+:} false; then :
   14755   $as_echo_n "(cached) " >&6
   14756 else
   14757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14758 /* end confdefs.h.  */
   14759 int i;
   14760 int
   14761 main ()
   14762 {
   14763 
   14764   ;
   14765   return 0;
   14766 }
   14767 _ACEOF
   14768 if ac_fn_c_try_link "$LINENO"; then :
   14769   eval $cacheid=yes
   14770 else
   14771   eval $cacheid=no
   14772 fi
   14773 rm -f core conftest.err conftest.$ac_objext \
   14774     conftest$ac_exeext conftest.$ac_ext
   14775 fi
   14776 
   14777 
   14778 		CFLAGS="$xorg_testset_save_CFLAGS"
   14779 
   14780 		eval supported=\$$cacheid
   14781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14782 $as_echo "$supported" >&6; }
   14783 		if test "$supported" = "yes" ; then
   14784 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14785 			found="yes"
   14786 		fi
   14787 	fi
   14788 
   14789 	if test $found = "no" ; then
   14790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14792 		fi
   14793 
   14794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14796 		fi
   14797 
   14798 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14799 
   14800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14801 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14802 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14803 		if eval \${$cacheid+:} false; then :
   14804   $as_echo_n "(cached) " >&6
   14805 else
   14806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14807 /* end confdefs.h.  */
   14808 int i;
   14809 int
   14810 main ()
   14811 {
   14812 
   14813   ;
   14814   return 0;
   14815 }
   14816 _ACEOF
   14817 if ac_fn_c_try_link "$LINENO"; then :
   14818   eval $cacheid=yes
   14819 else
   14820   eval $cacheid=no
   14821 fi
   14822 rm -f core conftest.err conftest.$ac_objext \
   14823     conftest$ac_exeext conftest.$ac_ext
   14824 fi
   14825 
   14826 
   14827 		CFLAGS="$xorg_testset_save_CFLAGS"
   14828 
   14829 		eval supported=\$$cacheid
   14830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14831 $as_echo "$supported" >&6; }
   14832 		if test "$supported" = "yes" ; then
   14833 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14834 			found="yes"
   14835 		fi
   14836 	fi
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 xorg_testset_save_CFLAGS="$CFLAGS"
   14853 
   14854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14859   $as_echo_n "(cached) " >&6
   14860 else
   14861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14862 /* end confdefs.h.  */
   14863 int i;
   14864 _ACEOF
   14865 if ac_fn_c_try_compile "$LINENO"; then :
   14866   xorg_cv_cc_flag_unknown_warning_option=yes
   14867 else
   14868   xorg_cv_cc_flag_unknown_warning_option=no
   14869 fi
   14870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14871 fi
   14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14875 	CFLAGS="$xorg_testset_save_CFLAGS"
   14876 fi
   14877 
   14878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14881 	fi
   14882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14886   $as_echo_n "(cached) " >&6
   14887 else
   14888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14889 /* end confdefs.h.  */
   14890 int i;
   14891 _ACEOF
   14892 if ac_fn_c_try_compile "$LINENO"; then :
   14893   xorg_cv_cc_flag_unused_command_line_argument=yes
   14894 else
   14895   xorg_cv_cc_flag_unused_command_line_argument=no
   14896 fi
   14897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14898 fi
   14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14902 	CFLAGS="$xorg_testset_save_CFLAGS"
   14903 fi
   14904 
   14905 found="no"
   14906 
   14907 	if test $found = "no" ; then
   14908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14910 		fi
   14911 
   14912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14914 		fi
   14915 
   14916 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14917 
   14918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14919 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14920 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14921 		if eval \${$cacheid+:} false; then :
   14922   $as_echo_n "(cached) " >&6
   14923 else
   14924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14925 /* end confdefs.h.  */
   14926 int i;
   14927 int
   14928 main ()
   14929 {
   14930 
   14931   ;
   14932   return 0;
   14933 }
   14934 _ACEOF
   14935 if ac_fn_c_try_link "$LINENO"; then :
   14936   eval $cacheid=yes
   14937 else
   14938   eval $cacheid=no
   14939 fi
   14940 rm -f core conftest.err conftest.$ac_objext \
   14941     conftest$ac_exeext conftest.$ac_ext
   14942 fi
   14943 
   14944 
   14945 		CFLAGS="$xorg_testset_save_CFLAGS"
   14946 
   14947 		eval supported=\$$cacheid
   14948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14949 $as_echo "$supported" >&6; }
   14950 		if test "$supported" = "yes" ; then
   14951 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14952 			found="yes"
   14953 		fi
   14954 	fi
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 xorg_testset_save_CFLAGS="$CFLAGS"
   14971 
   14972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14975 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14976 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14977   $as_echo_n "(cached) " >&6
   14978 else
   14979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14980 /* end confdefs.h.  */
   14981 int i;
   14982 _ACEOF
   14983 if ac_fn_c_try_compile "$LINENO"; then :
   14984   xorg_cv_cc_flag_unknown_warning_option=yes
   14985 else
   14986   xorg_cv_cc_flag_unknown_warning_option=no
   14987 fi
   14988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14989 fi
   14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14991 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14993 	CFLAGS="$xorg_testset_save_CFLAGS"
   14994 fi
   14995 
   14996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14999 	fi
   15000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15002 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15003 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15004   $as_echo_n "(cached) " >&6
   15005 else
   15006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15007 /* end confdefs.h.  */
   15008 int i;
   15009 _ACEOF
   15010 if ac_fn_c_try_compile "$LINENO"; then :
   15011   xorg_cv_cc_flag_unused_command_line_argument=yes
   15012 else
   15013   xorg_cv_cc_flag_unused_command_line_argument=no
   15014 fi
   15015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15016 fi
   15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15018 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15020 	CFLAGS="$xorg_testset_save_CFLAGS"
   15021 fi
   15022 
   15023 found="no"
   15024 
   15025 	if test $found = "no" ; then
   15026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15028 		fi
   15029 
   15030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15032 		fi
   15033 
   15034 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15035 
   15036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15037 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15038 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15039 		if eval \${$cacheid+:} false; then :
   15040   $as_echo_n "(cached) " >&6
   15041 else
   15042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15043 /* end confdefs.h.  */
   15044 int i;
   15045 int
   15046 main ()
   15047 {
   15048 
   15049   ;
   15050   return 0;
   15051 }
   15052 _ACEOF
   15053 if ac_fn_c_try_link "$LINENO"; then :
   15054   eval $cacheid=yes
   15055 else
   15056   eval $cacheid=no
   15057 fi
   15058 rm -f core conftest.err conftest.$ac_objext \
   15059     conftest$ac_exeext conftest.$ac_ext
   15060 fi
   15061 
   15062 
   15063 		CFLAGS="$xorg_testset_save_CFLAGS"
   15064 
   15065 		eval supported=\$$cacheid
   15066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15067 $as_echo "$supported" >&6; }
   15068 		if test "$supported" = "yes" ; then
   15069 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15070 			found="yes"
   15071 		fi
   15072 	fi
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 
   15085 
   15086 
   15087 
   15088 xorg_testset_save_CFLAGS="$CFLAGS"
   15089 
   15090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15095   $as_echo_n "(cached) " >&6
   15096 else
   15097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15098 /* end confdefs.h.  */
   15099 int i;
   15100 _ACEOF
   15101 if ac_fn_c_try_compile "$LINENO"; then :
   15102   xorg_cv_cc_flag_unknown_warning_option=yes
   15103 else
   15104   xorg_cv_cc_flag_unknown_warning_option=no
   15105 fi
   15106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15107 fi
   15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15111 	CFLAGS="$xorg_testset_save_CFLAGS"
   15112 fi
   15113 
   15114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15117 	fi
   15118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15122   $as_echo_n "(cached) " >&6
   15123 else
   15124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15125 /* end confdefs.h.  */
   15126 int i;
   15127 _ACEOF
   15128 if ac_fn_c_try_compile "$LINENO"; then :
   15129   xorg_cv_cc_flag_unused_command_line_argument=yes
   15130 else
   15131   xorg_cv_cc_flag_unused_command_line_argument=no
   15132 fi
   15133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15134 fi
   15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15138 	CFLAGS="$xorg_testset_save_CFLAGS"
   15139 fi
   15140 
   15141 found="no"
   15142 
   15143 	if test $found = "no" ; then
   15144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15146 		fi
   15147 
   15148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15150 		fi
   15151 
   15152 		CFLAGS="$CFLAGS -Werror=write-strings"
   15153 
   15154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15155 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15156 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15157 		if eval \${$cacheid+:} false; then :
   15158   $as_echo_n "(cached) " >&6
   15159 else
   15160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15161 /* end confdefs.h.  */
   15162 int i;
   15163 int
   15164 main ()
   15165 {
   15166 
   15167   ;
   15168   return 0;
   15169 }
   15170 _ACEOF
   15171 if ac_fn_c_try_link "$LINENO"; then :
   15172   eval $cacheid=yes
   15173 else
   15174   eval $cacheid=no
   15175 fi
   15176 rm -f core conftest.err conftest.$ac_objext \
   15177     conftest$ac_exeext conftest.$ac_ext
   15178 fi
   15179 
   15180 
   15181 		CFLAGS="$xorg_testset_save_CFLAGS"
   15182 
   15183 		eval supported=\$$cacheid
   15184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15185 $as_echo "$supported" >&6; }
   15186 		if test "$supported" = "yes" ; then
   15187 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15188 			found="yes"
   15189 		fi
   15190 	fi
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 xorg_testset_save_CFLAGS="$CFLAGS"
   15207 
   15208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15213   $as_echo_n "(cached) " >&6
   15214 else
   15215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15216 /* end confdefs.h.  */
   15217 int i;
   15218 _ACEOF
   15219 if ac_fn_c_try_compile "$LINENO"; then :
   15220   xorg_cv_cc_flag_unknown_warning_option=yes
   15221 else
   15222   xorg_cv_cc_flag_unknown_warning_option=no
   15223 fi
   15224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15225 fi
   15226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15229 	CFLAGS="$xorg_testset_save_CFLAGS"
   15230 fi
   15231 
   15232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15235 	fi
   15236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15240   $as_echo_n "(cached) " >&6
   15241 else
   15242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15243 /* end confdefs.h.  */
   15244 int i;
   15245 _ACEOF
   15246 if ac_fn_c_try_compile "$LINENO"; then :
   15247   xorg_cv_cc_flag_unused_command_line_argument=yes
   15248 else
   15249   xorg_cv_cc_flag_unused_command_line_argument=no
   15250 fi
   15251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15252 fi
   15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15256 	CFLAGS="$xorg_testset_save_CFLAGS"
   15257 fi
   15258 
   15259 found="no"
   15260 
   15261 	if test $found = "no" ; then
   15262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15264 		fi
   15265 
   15266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15268 		fi
   15269 
   15270 		CFLAGS="$CFLAGS -Werror=address"
   15271 
   15272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15273 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15274 		cacheid=xorg_cv_cc_flag__Werror_address
   15275 		if eval \${$cacheid+:} false; then :
   15276   $as_echo_n "(cached) " >&6
   15277 else
   15278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15279 /* end confdefs.h.  */
   15280 int i;
   15281 int
   15282 main ()
   15283 {
   15284 
   15285   ;
   15286   return 0;
   15287 }
   15288 _ACEOF
   15289 if ac_fn_c_try_link "$LINENO"; then :
   15290   eval $cacheid=yes
   15291 else
   15292   eval $cacheid=no
   15293 fi
   15294 rm -f core conftest.err conftest.$ac_objext \
   15295     conftest$ac_exeext conftest.$ac_ext
   15296 fi
   15297 
   15298 
   15299 		CFLAGS="$xorg_testset_save_CFLAGS"
   15300 
   15301 		eval supported=\$$cacheid
   15302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15303 $as_echo "$supported" >&6; }
   15304 		if test "$supported" = "yes" ; then
   15305 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15306 			found="yes"
   15307 		fi
   15308 	fi
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 
   15316 
   15317 
   15318 
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 xorg_testset_save_CFLAGS="$CFLAGS"
   15325 
   15326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15331   $as_echo_n "(cached) " >&6
   15332 else
   15333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15334 /* end confdefs.h.  */
   15335 int i;
   15336 _ACEOF
   15337 if ac_fn_c_try_compile "$LINENO"; then :
   15338   xorg_cv_cc_flag_unknown_warning_option=yes
   15339 else
   15340   xorg_cv_cc_flag_unknown_warning_option=no
   15341 fi
   15342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15343 fi
   15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15347 	CFLAGS="$xorg_testset_save_CFLAGS"
   15348 fi
   15349 
   15350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15353 	fi
   15354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15358   $as_echo_n "(cached) " >&6
   15359 else
   15360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15361 /* end confdefs.h.  */
   15362 int i;
   15363 _ACEOF
   15364 if ac_fn_c_try_compile "$LINENO"; then :
   15365   xorg_cv_cc_flag_unused_command_line_argument=yes
   15366 else
   15367   xorg_cv_cc_flag_unused_command_line_argument=no
   15368 fi
   15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15370 fi
   15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15374 	CFLAGS="$xorg_testset_save_CFLAGS"
   15375 fi
   15376 
   15377 found="no"
   15378 
   15379 	if test $found = "no" ; then
   15380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15382 		fi
   15383 
   15384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15386 		fi
   15387 
   15388 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15389 
   15390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15391 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15392 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15393 		if eval \${$cacheid+:} false; then :
   15394   $as_echo_n "(cached) " >&6
   15395 else
   15396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15397 /* end confdefs.h.  */
   15398 int i;
   15399 int
   15400 main ()
   15401 {
   15402 
   15403   ;
   15404   return 0;
   15405 }
   15406 _ACEOF
   15407 if ac_fn_c_try_link "$LINENO"; then :
   15408   eval $cacheid=yes
   15409 else
   15410   eval $cacheid=no
   15411 fi
   15412 rm -f core conftest.err conftest.$ac_objext \
   15413     conftest$ac_exeext conftest.$ac_ext
   15414 fi
   15415 
   15416 
   15417 		CFLAGS="$xorg_testset_save_CFLAGS"
   15418 
   15419 		eval supported=\$$cacheid
   15420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15421 $as_echo "$supported" >&6; }
   15422 		if test "$supported" = "yes" ; then
   15423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15424 			found="yes"
   15425 		fi
   15426 	fi
   15427 
   15428 	if test $found = "no" ; then
   15429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15431 		fi
   15432 
   15433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15435 		fi
   15436 
   15437 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15438 
   15439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15440 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15441 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15442 		if eval \${$cacheid+:} false; then :
   15443   $as_echo_n "(cached) " >&6
   15444 else
   15445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15446 /* end confdefs.h.  */
   15447 int i;
   15448 int
   15449 main ()
   15450 {
   15451 
   15452   ;
   15453   return 0;
   15454 }
   15455 _ACEOF
   15456 if ac_fn_c_try_link "$LINENO"; then :
   15457   eval $cacheid=yes
   15458 else
   15459   eval $cacheid=no
   15460 fi
   15461 rm -f core conftest.err conftest.$ac_objext \
   15462     conftest$ac_exeext conftest.$ac_ext
   15463 fi
   15464 
   15465 
   15466 		CFLAGS="$xorg_testset_save_CFLAGS"
   15467 
   15468 		eval supported=\$$cacheid
   15469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15470 $as_echo "$supported" >&6; }
   15471 		if test "$supported" = "yes" ; then
   15472 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15473 			found="yes"
   15474 		fi
   15475 	fi
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 xorg_testset_save_CFLAGS="$CFLAGS"
   15492 
   15493 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15494 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15495 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15496 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15497 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15498   $as_echo_n "(cached) " >&6
   15499 else
   15500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15501 /* end confdefs.h.  */
   15502 int i;
   15503 _ACEOF
   15504 if ac_fn_c_try_compile "$LINENO"; then :
   15505   xorg_cv_cc_flag_unknown_warning_option=yes
   15506 else
   15507   xorg_cv_cc_flag_unknown_warning_option=no
   15508 fi
   15509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15510 fi
   15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15512 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15514 	CFLAGS="$xorg_testset_save_CFLAGS"
   15515 fi
   15516 
   15517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15520 	fi
   15521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15523 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15524 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15525   $as_echo_n "(cached) " >&6
   15526 else
   15527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15528 /* end confdefs.h.  */
   15529 int i;
   15530 _ACEOF
   15531 if ac_fn_c_try_compile "$LINENO"; then :
   15532   xorg_cv_cc_flag_unused_command_line_argument=yes
   15533 else
   15534   xorg_cv_cc_flag_unused_command_line_argument=no
   15535 fi
   15536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15537 fi
   15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15539 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15540 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15541 	CFLAGS="$xorg_testset_save_CFLAGS"
   15542 fi
   15543 
   15544 found="no"
   15545 
   15546 	if test $found = "no" ; then
   15547 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15548 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15549 		fi
   15550 
   15551 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15552 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15553 		fi
   15554 
   15555 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15556 
   15557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15558 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15559 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15560 		if eval \${$cacheid+:} false; then :
   15561   $as_echo_n "(cached) " >&6
   15562 else
   15563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15564 /* end confdefs.h.  */
   15565 int i;
   15566 int
   15567 main ()
   15568 {
   15569 
   15570   ;
   15571   return 0;
   15572 }
   15573 _ACEOF
   15574 if ac_fn_c_try_link "$LINENO"; then :
   15575   eval $cacheid=yes
   15576 else
   15577   eval $cacheid=no
   15578 fi
   15579 rm -f core conftest.err conftest.$ac_objext \
   15580     conftest$ac_exeext conftest.$ac_ext
   15581 fi
   15582 
   15583 
   15584 		CFLAGS="$xorg_testset_save_CFLAGS"
   15585 
   15586 		eval supported=\$$cacheid
   15587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15588 $as_echo "$supported" >&6; }
   15589 		if test "$supported" = "yes" ; then
   15590 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15591 			found="yes"
   15592 		fi
   15593 	fi
   15594 
   15595  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15596 else
   15597 { $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
   15598 $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;}
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 xorg_testset_save_CFLAGS="$CFLAGS"
   15613 
   15614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15617 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15618 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15619   $as_echo_n "(cached) " >&6
   15620 else
   15621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15622 /* end confdefs.h.  */
   15623 int i;
   15624 _ACEOF
   15625 if ac_fn_c_try_compile "$LINENO"; then :
   15626   xorg_cv_cc_flag_unknown_warning_option=yes
   15627 else
   15628   xorg_cv_cc_flag_unknown_warning_option=no
   15629 fi
   15630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15631 fi
   15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15633 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15635 	CFLAGS="$xorg_testset_save_CFLAGS"
   15636 fi
   15637 
   15638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15641 	fi
   15642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15644 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15645 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15646   $as_echo_n "(cached) " >&6
   15647 else
   15648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15649 /* end confdefs.h.  */
   15650 int i;
   15651 _ACEOF
   15652 if ac_fn_c_try_compile "$LINENO"; then :
   15653   xorg_cv_cc_flag_unused_command_line_argument=yes
   15654 else
   15655   xorg_cv_cc_flag_unused_command_line_argument=no
   15656 fi
   15657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15658 fi
   15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15660 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15662 	CFLAGS="$xorg_testset_save_CFLAGS"
   15663 fi
   15664 
   15665 found="no"
   15666 
   15667 	if test $found = "no" ; then
   15668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15670 		fi
   15671 
   15672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15674 		fi
   15675 
   15676 		CFLAGS="$CFLAGS -Wimplicit"
   15677 
   15678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15679 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15680 		cacheid=xorg_cv_cc_flag__Wimplicit
   15681 		if eval \${$cacheid+:} false; then :
   15682   $as_echo_n "(cached) " >&6
   15683 else
   15684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15685 /* end confdefs.h.  */
   15686 int i;
   15687 int
   15688 main ()
   15689 {
   15690 
   15691   ;
   15692   return 0;
   15693 }
   15694 _ACEOF
   15695 if ac_fn_c_try_link "$LINENO"; then :
   15696   eval $cacheid=yes
   15697 else
   15698   eval $cacheid=no
   15699 fi
   15700 rm -f core conftest.err conftest.$ac_objext \
   15701     conftest$ac_exeext conftest.$ac_ext
   15702 fi
   15703 
   15704 
   15705 		CFLAGS="$xorg_testset_save_CFLAGS"
   15706 
   15707 		eval supported=\$$cacheid
   15708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15709 $as_echo "$supported" >&6; }
   15710 		if test "$supported" = "yes" ; then
   15711 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15712 			found="yes"
   15713 		fi
   15714 	fi
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 
   15728 
   15729 
   15730 xorg_testset_save_CFLAGS="$CFLAGS"
   15731 
   15732 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15733 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15734 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15735 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15736 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15737   $as_echo_n "(cached) " >&6
   15738 else
   15739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15740 /* end confdefs.h.  */
   15741 int i;
   15742 _ACEOF
   15743 if ac_fn_c_try_compile "$LINENO"; then :
   15744   xorg_cv_cc_flag_unknown_warning_option=yes
   15745 else
   15746   xorg_cv_cc_flag_unknown_warning_option=no
   15747 fi
   15748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15749 fi
   15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15751 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15752 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15753 	CFLAGS="$xorg_testset_save_CFLAGS"
   15754 fi
   15755 
   15756 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15757 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15758 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15759 	fi
   15760 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15762 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15763 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15764   $as_echo_n "(cached) " >&6
   15765 else
   15766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15767 /* end confdefs.h.  */
   15768 int i;
   15769 _ACEOF
   15770 if ac_fn_c_try_compile "$LINENO"; then :
   15771   xorg_cv_cc_flag_unused_command_line_argument=yes
   15772 else
   15773   xorg_cv_cc_flag_unused_command_line_argument=no
   15774 fi
   15775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15776 fi
   15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15778 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15780 	CFLAGS="$xorg_testset_save_CFLAGS"
   15781 fi
   15782 
   15783 found="no"
   15784 
   15785 	if test $found = "no" ; then
   15786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15788 		fi
   15789 
   15790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15792 		fi
   15793 
   15794 		CFLAGS="$CFLAGS -Wnonnull"
   15795 
   15796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15797 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15798 		cacheid=xorg_cv_cc_flag__Wnonnull
   15799 		if eval \${$cacheid+:} false; then :
   15800   $as_echo_n "(cached) " >&6
   15801 else
   15802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15803 /* end confdefs.h.  */
   15804 int i;
   15805 int
   15806 main ()
   15807 {
   15808 
   15809   ;
   15810   return 0;
   15811 }
   15812 _ACEOF
   15813 if ac_fn_c_try_link "$LINENO"; then :
   15814   eval $cacheid=yes
   15815 else
   15816   eval $cacheid=no
   15817 fi
   15818 rm -f core conftest.err conftest.$ac_objext \
   15819     conftest$ac_exeext conftest.$ac_ext
   15820 fi
   15821 
   15822 
   15823 		CFLAGS="$xorg_testset_save_CFLAGS"
   15824 
   15825 		eval supported=\$$cacheid
   15826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15827 $as_echo "$supported" >&6; }
   15828 		if test "$supported" = "yes" ; then
   15829 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15830 			found="yes"
   15831 		fi
   15832 	fi
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 xorg_testset_save_CFLAGS="$CFLAGS"
   15849 
   15850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15855   $as_echo_n "(cached) " >&6
   15856 else
   15857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15858 /* end confdefs.h.  */
   15859 int i;
   15860 _ACEOF
   15861 if ac_fn_c_try_compile "$LINENO"; then :
   15862   xorg_cv_cc_flag_unknown_warning_option=yes
   15863 else
   15864   xorg_cv_cc_flag_unknown_warning_option=no
   15865 fi
   15866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15867 fi
   15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15871 	CFLAGS="$xorg_testset_save_CFLAGS"
   15872 fi
   15873 
   15874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15877 	fi
   15878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15882   $as_echo_n "(cached) " >&6
   15883 else
   15884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15885 /* end confdefs.h.  */
   15886 int i;
   15887 _ACEOF
   15888 if ac_fn_c_try_compile "$LINENO"; then :
   15889   xorg_cv_cc_flag_unused_command_line_argument=yes
   15890 else
   15891   xorg_cv_cc_flag_unused_command_line_argument=no
   15892 fi
   15893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15894 fi
   15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15898 	CFLAGS="$xorg_testset_save_CFLAGS"
   15899 fi
   15900 
   15901 found="no"
   15902 
   15903 	if test $found = "no" ; then
   15904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15906 		fi
   15907 
   15908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15910 		fi
   15911 
   15912 		CFLAGS="$CFLAGS -Winit-self"
   15913 
   15914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15915 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15916 		cacheid=xorg_cv_cc_flag__Winit_self
   15917 		if eval \${$cacheid+:} false; then :
   15918   $as_echo_n "(cached) " >&6
   15919 else
   15920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15921 /* end confdefs.h.  */
   15922 int i;
   15923 int
   15924 main ()
   15925 {
   15926 
   15927   ;
   15928   return 0;
   15929 }
   15930 _ACEOF
   15931 if ac_fn_c_try_link "$LINENO"; then :
   15932   eval $cacheid=yes
   15933 else
   15934   eval $cacheid=no
   15935 fi
   15936 rm -f core conftest.err conftest.$ac_objext \
   15937     conftest$ac_exeext conftest.$ac_ext
   15938 fi
   15939 
   15940 
   15941 		CFLAGS="$xorg_testset_save_CFLAGS"
   15942 
   15943 		eval supported=\$$cacheid
   15944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15945 $as_echo "$supported" >&6; }
   15946 		if test "$supported" = "yes" ; then
   15947 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15948 			found="yes"
   15949 		fi
   15950 	fi
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 xorg_testset_save_CFLAGS="$CFLAGS"
   15967 
   15968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15973   $as_echo_n "(cached) " >&6
   15974 else
   15975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15976 /* end confdefs.h.  */
   15977 int i;
   15978 _ACEOF
   15979 if ac_fn_c_try_compile "$LINENO"; then :
   15980   xorg_cv_cc_flag_unknown_warning_option=yes
   15981 else
   15982   xorg_cv_cc_flag_unknown_warning_option=no
   15983 fi
   15984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15985 fi
   15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15989 	CFLAGS="$xorg_testset_save_CFLAGS"
   15990 fi
   15991 
   15992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15995 	fi
   15996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16000   $as_echo_n "(cached) " >&6
   16001 else
   16002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16003 /* end confdefs.h.  */
   16004 int i;
   16005 _ACEOF
   16006 if ac_fn_c_try_compile "$LINENO"; then :
   16007   xorg_cv_cc_flag_unused_command_line_argument=yes
   16008 else
   16009   xorg_cv_cc_flag_unused_command_line_argument=no
   16010 fi
   16011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16012 fi
   16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16016 	CFLAGS="$xorg_testset_save_CFLAGS"
   16017 fi
   16018 
   16019 found="no"
   16020 
   16021 	if test $found = "no" ; then
   16022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16024 		fi
   16025 
   16026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16028 		fi
   16029 
   16030 		CFLAGS="$CFLAGS -Wmain"
   16031 
   16032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16033 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16034 		cacheid=xorg_cv_cc_flag__Wmain
   16035 		if eval \${$cacheid+:} false; then :
   16036   $as_echo_n "(cached) " >&6
   16037 else
   16038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16039 /* end confdefs.h.  */
   16040 int i;
   16041 int
   16042 main ()
   16043 {
   16044 
   16045   ;
   16046   return 0;
   16047 }
   16048 _ACEOF
   16049 if ac_fn_c_try_link "$LINENO"; then :
   16050   eval $cacheid=yes
   16051 else
   16052   eval $cacheid=no
   16053 fi
   16054 rm -f core conftest.err conftest.$ac_objext \
   16055     conftest$ac_exeext conftest.$ac_ext
   16056 fi
   16057 
   16058 
   16059 		CFLAGS="$xorg_testset_save_CFLAGS"
   16060 
   16061 		eval supported=\$$cacheid
   16062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16063 $as_echo "$supported" >&6; }
   16064 		if test "$supported" = "yes" ; then
   16065 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16066 			found="yes"
   16067 		fi
   16068 	fi
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 xorg_testset_save_CFLAGS="$CFLAGS"
   16085 
   16086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16091   $as_echo_n "(cached) " >&6
   16092 else
   16093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16094 /* end confdefs.h.  */
   16095 int i;
   16096 _ACEOF
   16097 if ac_fn_c_try_compile "$LINENO"; then :
   16098   xorg_cv_cc_flag_unknown_warning_option=yes
   16099 else
   16100   xorg_cv_cc_flag_unknown_warning_option=no
   16101 fi
   16102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16103 fi
   16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16107 	CFLAGS="$xorg_testset_save_CFLAGS"
   16108 fi
   16109 
   16110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16113 	fi
   16114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16118   $as_echo_n "(cached) " >&6
   16119 else
   16120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16121 /* end confdefs.h.  */
   16122 int i;
   16123 _ACEOF
   16124 if ac_fn_c_try_compile "$LINENO"; then :
   16125   xorg_cv_cc_flag_unused_command_line_argument=yes
   16126 else
   16127   xorg_cv_cc_flag_unused_command_line_argument=no
   16128 fi
   16129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16130 fi
   16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16134 	CFLAGS="$xorg_testset_save_CFLAGS"
   16135 fi
   16136 
   16137 found="no"
   16138 
   16139 	if test $found = "no" ; then
   16140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16142 		fi
   16143 
   16144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16146 		fi
   16147 
   16148 		CFLAGS="$CFLAGS -Wmissing-braces"
   16149 
   16150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16151 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16152 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16153 		if eval \${$cacheid+:} false; then :
   16154   $as_echo_n "(cached) " >&6
   16155 else
   16156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16157 /* end confdefs.h.  */
   16158 int i;
   16159 int
   16160 main ()
   16161 {
   16162 
   16163   ;
   16164   return 0;
   16165 }
   16166 _ACEOF
   16167 if ac_fn_c_try_link "$LINENO"; then :
   16168   eval $cacheid=yes
   16169 else
   16170   eval $cacheid=no
   16171 fi
   16172 rm -f core conftest.err conftest.$ac_objext \
   16173     conftest$ac_exeext conftest.$ac_ext
   16174 fi
   16175 
   16176 
   16177 		CFLAGS="$xorg_testset_save_CFLAGS"
   16178 
   16179 		eval supported=\$$cacheid
   16180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16181 $as_echo "$supported" >&6; }
   16182 		if test "$supported" = "yes" ; then
   16183 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16184 			found="yes"
   16185 		fi
   16186 	fi
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 xorg_testset_save_CFLAGS="$CFLAGS"
   16203 
   16204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16209   $as_echo_n "(cached) " >&6
   16210 else
   16211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16212 /* end confdefs.h.  */
   16213 int i;
   16214 _ACEOF
   16215 if ac_fn_c_try_compile "$LINENO"; then :
   16216   xorg_cv_cc_flag_unknown_warning_option=yes
   16217 else
   16218   xorg_cv_cc_flag_unknown_warning_option=no
   16219 fi
   16220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16221 fi
   16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16225 	CFLAGS="$xorg_testset_save_CFLAGS"
   16226 fi
   16227 
   16228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16231 	fi
   16232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16236   $as_echo_n "(cached) " >&6
   16237 else
   16238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16239 /* end confdefs.h.  */
   16240 int i;
   16241 _ACEOF
   16242 if ac_fn_c_try_compile "$LINENO"; then :
   16243   xorg_cv_cc_flag_unused_command_line_argument=yes
   16244 else
   16245   xorg_cv_cc_flag_unused_command_line_argument=no
   16246 fi
   16247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16248 fi
   16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16252 	CFLAGS="$xorg_testset_save_CFLAGS"
   16253 fi
   16254 
   16255 found="no"
   16256 
   16257 	if test $found = "no" ; then
   16258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16260 		fi
   16261 
   16262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16264 		fi
   16265 
   16266 		CFLAGS="$CFLAGS -Wsequence-point"
   16267 
   16268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16269 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16270 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16271 		if eval \${$cacheid+:} false; then :
   16272   $as_echo_n "(cached) " >&6
   16273 else
   16274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16275 /* end confdefs.h.  */
   16276 int i;
   16277 int
   16278 main ()
   16279 {
   16280 
   16281   ;
   16282   return 0;
   16283 }
   16284 _ACEOF
   16285 if ac_fn_c_try_link "$LINENO"; then :
   16286   eval $cacheid=yes
   16287 else
   16288   eval $cacheid=no
   16289 fi
   16290 rm -f core conftest.err conftest.$ac_objext \
   16291     conftest$ac_exeext conftest.$ac_ext
   16292 fi
   16293 
   16294 
   16295 		CFLAGS="$xorg_testset_save_CFLAGS"
   16296 
   16297 		eval supported=\$$cacheid
   16298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16299 $as_echo "$supported" >&6; }
   16300 		if test "$supported" = "yes" ; then
   16301 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16302 			found="yes"
   16303 		fi
   16304 	fi
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 
   16320 xorg_testset_save_CFLAGS="$CFLAGS"
   16321 
   16322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16325 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16326 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16327   $as_echo_n "(cached) " >&6
   16328 else
   16329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16330 /* end confdefs.h.  */
   16331 int i;
   16332 _ACEOF
   16333 if ac_fn_c_try_compile "$LINENO"; then :
   16334   xorg_cv_cc_flag_unknown_warning_option=yes
   16335 else
   16336   xorg_cv_cc_flag_unknown_warning_option=no
   16337 fi
   16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16339 fi
   16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16341 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16343 	CFLAGS="$xorg_testset_save_CFLAGS"
   16344 fi
   16345 
   16346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16349 	fi
   16350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16352 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16353 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16354   $as_echo_n "(cached) " >&6
   16355 else
   16356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16357 /* end confdefs.h.  */
   16358 int i;
   16359 _ACEOF
   16360 if ac_fn_c_try_compile "$LINENO"; then :
   16361   xorg_cv_cc_flag_unused_command_line_argument=yes
   16362 else
   16363   xorg_cv_cc_flag_unused_command_line_argument=no
   16364 fi
   16365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16366 fi
   16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16368 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16370 	CFLAGS="$xorg_testset_save_CFLAGS"
   16371 fi
   16372 
   16373 found="no"
   16374 
   16375 	if test $found = "no" ; then
   16376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16378 		fi
   16379 
   16380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16382 		fi
   16383 
   16384 		CFLAGS="$CFLAGS -Wreturn-type"
   16385 
   16386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16387 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16388 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16389 		if eval \${$cacheid+:} false; then :
   16390   $as_echo_n "(cached) " >&6
   16391 else
   16392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16393 /* end confdefs.h.  */
   16394 int i;
   16395 int
   16396 main ()
   16397 {
   16398 
   16399   ;
   16400   return 0;
   16401 }
   16402 _ACEOF
   16403 if ac_fn_c_try_link "$LINENO"; then :
   16404   eval $cacheid=yes
   16405 else
   16406   eval $cacheid=no
   16407 fi
   16408 rm -f core conftest.err conftest.$ac_objext \
   16409     conftest$ac_exeext conftest.$ac_ext
   16410 fi
   16411 
   16412 
   16413 		CFLAGS="$xorg_testset_save_CFLAGS"
   16414 
   16415 		eval supported=\$$cacheid
   16416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16417 $as_echo "$supported" >&6; }
   16418 		if test "$supported" = "yes" ; then
   16419 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16420 			found="yes"
   16421 		fi
   16422 	fi
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 xorg_testset_save_CFLAGS="$CFLAGS"
   16439 
   16440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16443 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16444 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16445   $as_echo_n "(cached) " >&6
   16446 else
   16447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16448 /* end confdefs.h.  */
   16449 int i;
   16450 _ACEOF
   16451 if ac_fn_c_try_compile "$LINENO"; then :
   16452   xorg_cv_cc_flag_unknown_warning_option=yes
   16453 else
   16454   xorg_cv_cc_flag_unknown_warning_option=no
   16455 fi
   16456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16457 fi
   16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16459 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16461 	CFLAGS="$xorg_testset_save_CFLAGS"
   16462 fi
   16463 
   16464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16467 	fi
   16468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16470 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16471 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16472   $as_echo_n "(cached) " >&6
   16473 else
   16474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16475 /* end confdefs.h.  */
   16476 int i;
   16477 _ACEOF
   16478 if ac_fn_c_try_compile "$LINENO"; then :
   16479   xorg_cv_cc_flag_unused_command_line_argument=yes
   16480 else
   16481   xorg_cv_cc_flag_unused_command_line_argument=no
   16482 fi
   16483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16484 fi
   16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16486 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16488 	CFLAGS="$xorg_testset_save_CFLAGS"
   16489 fi
   16490 
   16491 found="no"
   16492 
   16493 	if test $found = "no" ; then
   16494 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16496 		fi
   16497 
   16498 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16500 		fi
   16501 
   16502 		CFLAGS="$CFLAGS -Wtrigraphs"
   16503 
   16504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16505 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16506 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16507 		if eval \${$cacheid+:} false; then :
   16508   $as_echo_n "(cached) " >&6
   16509 else
   16510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16511 /* end confdefs.h.  */
   16512 int i;
   16513 int
   16514 main ()
   16515 {
   16516 
   16517   ;
   16518   return 0;
   16519 }
   16520 _ACEOF
   16521 if ac_fn_c_try_link "$LINENO"; then :
   16522   eval $cacheid=yes
   16523 else
   16524   eval $cacheid=no
   16525 fi
   16526 rm -f core conftest.err conftest.$ac_objext \
   16527     conftest$ac_exeext conftest.$ac_ext
   16528 fi
   16529 
   16530 
   16531 		CFLAGS="$xorg_testset_save_CFLAGS"
   16532 
   16533 		eval supported=\$$cacheid
   16534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16535 $as_echo "$supported" >&6; }
   16536 		if test "$supported" = "yes" ; then
   16537 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16538 			found="yes"
   16539 		fi
   16540 	fi
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 xorg_testset_save_CFLAGS="$CFLAGS"
   16557 
   16558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16562 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16563   $as_echo_n "(cached) " >&6
   16564 else
   16565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16566 /* end confdefs.h.  */
   16567 int i;
   16568 _ACEOF
   16569 if ac_fn_c_try_compile "$LINENO"; then :
   16570   xorg_cv_cc_flag_unknown_warning_option=yes
   16571 else
   16572   xorg_cv_cc_flag_unknown_warning_option=no
   16573 fi
   16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16575 fi
   16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16577 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16579 	CFLAGS="$xorg_testset_save_CFLAGS"
   16580 fi
   16581 
   16582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16585 	fi
   16586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16588 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16589 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16590   $as_echo_n "(cached) " >&6
   16591 else
   16592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16593 /* end confdefs.h.  */
   16594 int i;
   16595 _ACEOF
   16596 if ac_fn_c_try_compile "$LINENO"; then :
   16597   xorg_cv_cc_flag_unused_command_line_argument=yes
   16598 else
   16599   xorg_cv_cc_flag_unused_command_line_argument=no
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16602 fi
   16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16604 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16606 	CFLAGS="$xorg_testset_save_CFLAGS"
   16607 fi
   16608 
   16609 found="no"
   16610 
   16611 	if test $found = "no" ; then
   16612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16614 		fi
   16615 
   16616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16618 		fi
   16619 
   16620 		CFLAGS="$CFLAGS -Warray-bounds"
   16621 
   16622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16623 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16624 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16625 		if eval \${$cacheid+:} false; then :
   16626   $as_echo_n "(cached) " >&6
   16627 else
   16628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16629 /* end confdefs.h.  */
   16630 int i;
   16631 int
   16632 main ()
   16633 {
   16634 
   16635   ;
   16636   return 0;
   16637 }
   16638 _ACEOF
   16639 if ac_fn_c_try_link "$LINENO"; then :
   16640   eval $cacheid=yes
   16641 else
   16642   eval $cacheid=no
   16643 fi
   16644 rm -f core conftest.err conftest.$ac_objext \
   16645     conftest$ac_exeext conftest.$ac_ext
   16646 fi
   16647 
   16648 
   16649 		CFLAGS="$xorg_testset_save_CFLAGS"
   16650 
   16651 		eval supported=\$$cacheid
   16652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16653 $as_echo "$supported" >&6; }
   16654 		if test "$supported" = "yes" ; then
   16655 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16656 			found="yes"
   16657 		fi
   16658 	fi
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 xorg_testset_save_CFLAGS="$CFLAGS"
   16675 
   16676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16681   $as_echo_n "(cached) " >&6
   16682 else
   16683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16684 /* end confdefs.h.  */
   16685 int i;
   16686 _ACEOF
   16687 if ac_fn_c_try_compile "$LINENO"; then :
   16688   xorg_cv_cc_flag_unknown_warning_option=yes
   16689 else
   16690   xorg_cv_cc_flag_unknown_warning_option=no
   16691 fi
   16692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16693 fi
   16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16697 	CFLAGS="$xorg_testset_save_CFLAGS"
   16698 fi
   16699 
   16700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16703 	fi
   16704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16708   $as_echo_n "(cached) " >&6
   16709 else
   16710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16711 /* end confdefs.h.  */
   16712 int i;
   16713 _ACEOF
   16714 if ac_fn_c_try_compile "$LINENO"; then :
   16715   xorg_cv_cc_flag_unused_command_line_argument=yes
   16716 else
   16717   xorg_cv_cc_flag_unused_command_line_argument=no
   16718 fi
   16719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16720 fi
   16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16724 	CFLAGS="$xorg_testset_save_CFLAGS"
   16725 fi
   16726 
   16727 found="no"
   16728 
   16729 	if test $found = "no" ; then
   16730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16732 		fi
   16733 
   16734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16736 		fi
   16737 
   16738 		CFLAGS="$CFLAGS -Wwrite-strings"
   16739 
   16740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16741 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16742 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16743 		if eval \${$cacheid+:} false; then :
   16744   $as_echo_n "(cached) " >&6
   16745 else
   16746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16747 /* end confdefs.h.  */
   16748 int i;
   16749 int
   16750 main ()
   16751 {
   16752 
   16753   ;
   16754   return 0;
   16755 }
   16756 _ACEOF
   16757 if ac_fn_c_try_link "$LINENO"; then :
   16758   eval $cacheid=yes
   16759 else
   16760   eval $cacheid=no
   16761 fi
   16762 rm -f core conftest.err conftest.$ac_objext \
   16763     conftest$ac_exeext conftest.$ac_ext
   16764 fi
   16765 
   16766 
   16767 		CFLAGS="$xorg_testset_save_CFLAGS"
   16768 
   16769 		eval supported=\$$cacheid
   16770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16771 $as_echo "$supported" >&6; }
   16772 		if test "$supported" = "yes" ; then
   16773 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16774 			found="yes"
   16775 		fi
   16776 	fi
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 xorg_testset_save_CFLAGS="$CFLAGS"
   16793 
   16794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16799   $as_echo_n "(cached) " >&6
   16800 else
   16801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16802 /* end confdefs.h.  */
   16803 int i;
   16804 _ACEOF
   16805 if ac_fn_c_try_compile "$LINENO"; then :
   16806   xorg_cv_cc_flag_unknown_warning_option=yes
   16807 else
   16808   xorg_cv_cc_flag_unknown_warning_option=no
   16809 fi
   16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16811 fi
   16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16815 	CFLAGS="$xorg_testset_save_CFLAGS"
   16816 fi
   16817 
   16818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16821 	fi
   16822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16826   $as_echo_n "(cached) " >&6
   16827 else
   16828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16829 /* end confdefs.h.  */
   16830 int i;
   16831 _ACEOF
   16832 if ac_fn_c_try_compile "$LINENO"; then :
   16833   xorg_cv_cc_flag_unused_command_line_argument=yes
   16834 else
   16835   xorg_cv_cc_flag_unused_command_line_argument=no
   16836 fi
   16837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16838 fi
   16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16842 	CFLAGS="$xorg_testset_save_CFLAGS"
   16843 fi
   16844 
   16845 found="no"
   16846 
   16847 	if test $found = "no" ; then
   16848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16850 		fi
   16851 
   16852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16854 		fi
   16855 
   16856 		CFLAGS="$CFLAGS -Waddress"
   16857 
   16858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16859 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16860 		cacheid=xorg_cv_cc_flag__Waddress
   16861 		if eval \${$cacheid+:} false; then :
   16862   $as_echo_n "(cached) " >&6
   16863 else
   16864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16865 /* end confdefs.h.  */
   16866 int i;
   16867 int
   16868 main ()
   16869 {
   16870 
   16871   ;
   16872   return 0;
   16873 }
   16874 _ACEOF
   16875 if ac_fn_c_try_link "$LINENO"; then :
   16876   eval $cacheid=yes
   16877 else
   16878   eval $cacheid=no
   16879 fi
   16880 rm -f core conftest.err conftest.$ac_objext \
   16881     conftest$ac_exeext conftest.$ac_ext
   16882 fi
   16883 
   16884 
   16885 		CFLAGS="$xorg_testset_save_CFLAGS"
   16886 
   16887 		eval supported=\$$cacheid
   16888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16889 $as_echo "$supported" >&6; }
   16890 		if test "$supported" = "yes" ; then
   16891 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16892 			found="yes"
   16893 		fi
   16894 	fi
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 xorg_testset_save_CFLAGS="$CFLAGS"
   16911 
   16912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16917   $as_echo_n "(cached) " >&6
   16918 else
   16919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16920 /* end confdefs.h.  */
   16921 int i;
   16922 _ACEOF
   16923 if ac_fn_c_try_compile "$LINENO"; then :
   16924   xorg_cv_cc_flag_unknown_warning_option=yes
   16925 else
   16926   xorg_cv_cc_flag_unknown_warning_option=no
   16927 fi
   16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16929 fi
   16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16933 	CFLAGS="$xorg_testset_save_CFLAGS"
   16934 fi
   16935 
   16936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16939 	fi
   16940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16944   $as_echo_n "(cached) " >&6
   16945 else
   16946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16947 /* end confdefs.h.  */
   16948 int i;
   16949 _ACEOF
   16950 if ac_fn_c_try_compile "$LINENO"; then :
   16951   xorg_cv_cc_flag_unused_command_line_argument=yes
   16952 else
   16953   xorg_cv_cc_flag_unused_command_line_argument=no
   16954 fi
   16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16956 fi
   16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16960 	CFLAGS="$xorg_testset_save_CFLAGS"
   16961 fi
   16962 
   16963 found="no"
   16964 
   16965 	if test $found = "no" ; then
   16966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16968 		fi
   16969 
   16970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16972 		fi
   16973 
   16974 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16975 
   16976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16977 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16978 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16979 		if eval \${$cacheid+:} false; then :
   16980   $as_echo_n "(cached) " >&6
   16981 else
   16982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16983 /* end confdefs.h.  */
   16984 int i;
   16985 int
   16986 main ()
   16987 {
   16988 
   16989   ;
   16990   return 0;
   16991 }
   16992 _ACEOF
   16993 if ac_fn_c_try_link "$LINENO"; then :
   16994   eval $cacheid=yes
   16995 else
   16996   eval $cacheid=no
   16997 fi
   16998 rm -f core conftest.err conftest.$ac_objext \
   16999     conftest$ac_exeext conftest.$ac_ext
   17000 fi
   17001 
   17002 
   17003 		CFLAGS="$xorg_testset_save_CFLAGS"
   17004 
   17005 		eval supported=\$$cacheid
   17006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17007 $as_echo "$supported" >&6; }
   17008 		if test "$supported" = "yes" ; then
   17009 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17010 			found="yes"
   17011 		fi
   17012 	fi
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 xorg_testset_save_CFLAGS="$CFLAGS"
   17029 
   17030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17035   $as_echo_n "(cached) " >&6
   17036 else
   17037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17038 /* end confdefs.h.  */
   17039 int i;
   17040 _ACEOF
   17041 if ac_fn_c_try_compile "$LINENO"; then :
   17042   xorg_cv_cc_flag_unknown_warning_option=yes
   17043 else
   17044   xorg_cv_cc_flag_unknown_warning_option=no
   17045 fi
   17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17047 fi
   17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17051 	CFLAGS="$xorg_testset_save_CFLAGS"
   17052 fi
   17053 
   17054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17057 	fi
   17058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17062   $as_echo_n "(cached) " >&6
   17063 else
   17064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17065 /* end confdefs.h.  */
   17066 int i;
   17067 _ACEOF
   17068 if ac_fn_c_try_compile "$LINENO"; then :
   17069   xorg_cv_cc_flag_unused_command_line_argument=yes
   17070 else
   17071   xorg_cv_cc_flag_unused_command_line_argument=no
   17072 fi
   17073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17074 fi
   17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17078 	CFLAGS="$xorg_testset_save_CFLAGS"
   17079 fi
   17080 
   17081 found="no"
   17082 
   17083 	if test $found = "no" ; then
   17084 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17086 		fi
   17087 
   17088 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17090 		fi
   17091 
   17092 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17093 
   17094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17095 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17096 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17097 		if eval \${$cacheid+:} false; then :
   17098   $as_echo_n "(cached) " >&6
   17099 else
   17100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17101 /* end confdefs.h.  */
   17102 int i;
   17103 int
   17104 main ()
   17105 {
   17106 
   17107   ;
   17108   return 0;
   17109 }
   17110 _ACEOF
   17111 if ac_fn_c_try_link "$LINENO"; then :
   17112   eval $cacheid=yes
   17113 else
   17114   eval $cacheid=no
   17115 fi
   17116 rm -f core conftest.err conftest.$ac_objext \
   17117     conftest$ac_exeext conftest.$ac_ext
   17118 fi
   17119 
   17120 
   17121 		CFLAGS="$xorg_testset_save_CFLAGS"
   17122 
   17123 		eval supported=\$$cacheid
   17124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17125 $as_echo "$supported" >&6; }
   17126 		if test "$supported" = "yes" ; then
   17127 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17128 			found="yes"
   17129 		fi
   17130 	fi
   17131 
   17132 
   17133 fi
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 		CWARNFLAGS="$BASE_CFLAGS"
   17142 		if  test "x$GCC" = xyes ; then
   17143 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17144 		fi
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152 
   17153 # Check whether --enable-strict-compilation was given.
   17154 if test "${enable_strict_compilation+set}" = set; then :
   17155   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17156 else
   17157   STRICT_COMPILE=no
   17158 fi
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 STRICT_CFLAGS=""
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 
   17175 
   17176 
   17177 
   17178 
   17179 xorg_testset_save_CFLAGS="$CFLAGS"
   17180 
   17181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17186   $as_echo_n "(cached) " >&6
   17187 else
   17188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17189 /* end confdefs.h.  */
   17190 int i;
   17191 _ACEOF
   17192 if ac_fn_c_try_compile "$LINENO"; then :
   17193   xorg_cv_cc_flag_unknown_warning_option=yes
   17194 else
   17195   xorg_cv_cc_flag_unknown_warning_option=no
   17196 fi
   17197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17198 fi
   17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17202 	CFLAGS="$xorg_testset_save_CFLAGS"
   17203 fi
   17204 
   17205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17208 	fi
   17209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17213   $as_echo_n "(cached) " >&6
   17214 else
   17215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17216 /* end confdefs.h.  */
   17217 int i;
   17218 _ACEOF
   17219 if ac_fn_c_try_compile "$LINENO"; then :
   17220   xorg_cv_cc_flag_unused_command_line_argument=yes
   17221 else
   17222   xorg_cv_cc_flag_unused_command_line_argument=no
   17223 fi
   17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17225 fi
   17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17229 	CFLAGS="$xorg_testset_save_CFLAGS"
   17230 fi
   17231 
   17232 found="no"
   17233 
   17234 	if test $found = "no" ; then
   17235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17237 		fi
   17238 
   17239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17241 		fi
   17242 
   17243 		CFLAGS="$CFLAGS -pedantic"
   17244 
   17245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17246 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17247 		cacheid=xorg_cv_cc_flag__pedantic
   17248 		if eval \${$cacheid+:} false; then :
   17249   $as_echo_n "(cached) " >&6
   17250 else
   17251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17252 /* end confdefs.h.  */
   17253 int i;
   17254 int
   17255 main ()
   17256 {
   17257 
   17258   ;
   17259   return 0;
   17260 }
   17261 _ACEOF
   17262 if ac_fn_c_try_link "$LINENO"; then :
   17263   eval $cacheid=yes
   17264 else
   17265   eval $cacheid=no
   17266 fi
   17267 rm -f core conftest.err conftest.$ac_objext \
   17268     conftest$ac_exeext conftest.$ac_ext
   17269 fi
   17270 
   17271 
   17272 		CFLAGS="$xorg_testset_save_CFLAGS"
   17273 
   17274 		eval supported=\$$cacheid
   17275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17276 $as_echo "$supported" >&6; }
   17277 		if test "$supported" = "yes" ; then
   17278 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17279 			found="yes"
   17280 		fi
   17281 	fi
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 xorg_testset_save_CFLAGS="$CFLAGS"
   17298 
   17299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17304   $as_echo_n "(cached) " >&6
   17305 else
   17306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17307 /* end confdefs.h.  */
   17308 int i;
   17309 _ACEOF
   17310 if ac_fn_c_try_compile "$LINENO"; then :
   17311   xorg_cv_cc_flag_unknown_warning_option=yes
   17312 else
   17313   xorg_cv_cc_flag_unknown_warning_option=no
   17314 fi
   17315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17316 fi
   17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17320 	CFLAGS="$xorg_testset_save_CFLAGS"
   17321 fi
   17322 
   17323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17326 	fi
   17327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17331   $as_echo_n "(cached) " >&6
   17332 else
   17333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17334 /* end confdefs.h.  */
   17335 int i;
   17336 _ACEOF
   17337 if ac_fn_c_try_compile "$LINENO"; then :
   17338   xorg_cv_cc_flag_unused_command_line_argument=yes
   17339 else
   17340   xorg_cv_cc_flag_unused_command_line_argument=no
   17341 fi
   17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17343 fi
   17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17347 	CFLAGS="$xorg_testset_save_CFLAGS"
   17348 fi
   17349 
   17350 found="no"
   17351 
   17352 	if test $found = "no" ; then
   17353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17355 		fi
   17356 
   17357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17359 		fi
   17360 
   17361 		CFLAGS="$CFLAGS -Werror"
   17362 
   17363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17364 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17365 		cacheid=xorg_cv_cc_flag__Werror
   17366 		if eval \${$cacheid+:} false; then :
   17367   $as_echo_n "(cached) " >&6
   17368 else
   17369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17370 /* end confdefs.h.  */
   17371 int i;
   17372 int
   17373 main ()
   17374 {
   17375 
   17376   ;
   17377   return 0;
   17378 }
   17379 _ACEOF
   17380 if ac_fn_c_try_link "$LINENO"; then :
   17381   eval $cacheid=yes
   17382 else
   17383   eval $cacheid=no
   17384 fi
   17385 rm -f core conftest.err conftest.$ac_objext \
   17386     conftest$ac_exeext conftest.$ac_ext
   17387 fi
   17388 
   17389 
   17390 		CFLAGS="$xorg_testset_save_CFLAGS"
   17391 
   17392 		eval supported=\$$cacheid
   17393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17394 $as_echo "$supported" >&6; }
   17395 		if test "$supported" = "yes" ; then
   17396 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17397 			found="yes"
   17398 		fi
   17399 	fi
   17400 
   17401 	if test $found = "no" ; then
   17402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17404 		fi
   17405 
   17406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17408 		fi
   17409 
   17410 		CFLAGS="$CFLAGS -errwarn"
   17411 
   17412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17413 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17414 		cacheid=xorg_cv_cc_flag__errwarn
   17415 		if eval \${$cacheid+:} false; then :
   17416   $as_echo_n "(cached) " >&6
   17417 else
   17418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17419 /* end confdefs.h.  */
   17420 int i;
   17421 int
   17422 main ()
   17423 {
   17424 
   17425   ;
   17426   return 0;
   17427 }
   17428 _ACEOF
   17429 if ac_fn_c_try_link "$LINENO"; then :
   17430   eval $cacheid=yes
   17431 else
   17432   eval $cacheid=no
   17433 fi
   17434 rm -f core conftest.err conftest.$ac_objext \
   17435     conftest$ac_exeext conftest.$ac_ext
   17436 fi
   17437 
   17438 
   17439 		CFLAGS="$xorg_testset_save_CFLAGS"
   17440 
   17441 		eval supported=\$$cacheid
   17442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17443 $as_echo "$supported" >&6; }
   17444 		if test "$supported" = "yes" ; then
   17445 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17446 			found="yes"
   17447 		fi
   17448 	fi
   17449 
   17450 
   17451 
   17452 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17453 # activate it with -Werror, so we add it here explicitly.
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 xorg_testset_save_CFLAGS="$CFLAGS"
   17468 
   17469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17472 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17473 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17474   $as_echo_n "(cached) " >&6
   17475 else
   17476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17477 /* end confdefs.h.  */
   17478 int i;
   17479 _ACEOF
   17480 if ac_fn_c_try_compile "$LINENO"; then :
   17481   xorg_cv_cc_flag_unknown_warning_option=yes
   17482 else
   17483   xorg_cv_cc_flag_unknown_warning_option=no
   17484 fi
   17485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17486 fi
   17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17488 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17490 	CFLAGS="$xorg_testset_save_CFLAGS"
   17491 fi
   17492 
   17493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17496 	fi
   17497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17499 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17500 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17501   $as_echo_n "(cached) " >&6
   17502 else
   17503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17504 /* end confdefs.h.  */
   17505 int i;
   17506 _ACEOF
   17507 if ac_fn_c_try_compile "$LINENO"; then :
   17508   xorg_cv_cc_flag_unused_command_line_argument=yes
   17509 else
   17510   xorg_cv_cc_flag_unused_command_line_argument=no
   17511 fi
   17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17513 fi
   17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17515 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17517 	CFLAGS="$xorg_testset_save_CFLAGS"
   17518 fi
   17519 
   17520 found="no"
   17521 
   17522 	if test $found = "no" ; then
   17523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17525 		fi
   17526 
   17527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17529 		fi
   17530 
   17531 		CFLAGS="$CFLAGS -Werror=attributes"
   17532 
   17533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17534 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17535 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17536 		if eval \${$cacheid+:} false; then :
   17537   $as_echo_n "(cached) " >&6
   17538 else
   17539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17540 /* end confdefs.h.  */
   17541 int i;
   17542 int
   17543 main ()
   17544 {
   17545 
   17546   ;
   17547   return 0;
   17548 }
   17549 _ACEOF
   17550 if ac_fn_c_try_link "$LINENO"; then :
   17551   eval $cacheid=yes
   17552 else
   17553   eval $cacheid=no
   17554 fi
   17555 rm -f core conftest.err conftest.$ac_objext \
   17556     conftest$ac_exeext conftest.$ac_ext
   17557 fi
   17558 
   17559 
   17560 		CFLAGS="$xorg_testset_save_CFLAGS"
   17561 
   17562 		eval supported=\$$cacheid
   17563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17564 $as_echo "$supported" >&6; }
   17565 		if test "$supported" = "yes" ; then
   17566 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17567 			found="yes"
   17568 		fi
   17569 	fi
   17570 
   17571 
   17572 
   17573 if test "x$STRICT_COMPILE" = "xyes"; then
   17574     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17575     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17576 fi
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 cat >>confdefs.h <<_ACEOF
   17584 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17585 _ACEOF
   17586 
   17587 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17588 	if test "x$PVM" = "x"; then
   17589 		PVM="0"
   17590 	fi
   17591 
   17592 cat >>confdefs.h <<_ACEOF
   17593 #define PACKAGE_VERSION_MINOR $PVM
   17594 _ACEOF
   17595 
   17596 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17597 	if test "x$PVP" = "x"; then
   17598 		PVP="0"
   17599 	fi
   17600 
   17601 cat >>confdefs.h <<_ACEOF
   17602 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17603 _ACEOF
   17604 
   17605 
   17606 
   17607 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17608 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17609 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17610 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17611 
   17612 
   17613 
   17614 
   17615 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17616 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17617 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17618 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17619 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 if test x$APP_MAN_SUFFIX = x    ; then
   17627     APP_MAN_SUFFIX=1
   17628 fi
   17629 if test x$APP_MAN_DIR = x    ; then
   17630     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17631 fi
   17632 
   17633 if test x$LIB_MAN_SUFFIX = x    ; then
   17634     LIB_MAN_SUFFIX=3
   17635 fi
   17636 if test x$LIB_MAN_DIR = x    ; then
   17637     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17638 fi
   17639 
   17640 if test x$FILE_MAN_SUFFIX = x    ; then
   17641     case $host_os in
   17642 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17643 	*)		FILE_MAN_SUFFIX=5  ;;
   17644     esac
   17645 fi
   17646 if test x$FILE_MAN_DIR = x    ; then
   17647     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17648 fi
   17649 
   17650 if test x$MISC_MAN_SUFFIX = x    ; then
   17651     case $host_os in
   17652 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17653 	*)		MISC_MAN_SUFFIX=7  ;;
   17654     esac
   17655 fi
   17656 if test x$MISC_MAN_DIR = x    ; then
   17657     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17658 fi
   17659 
   17660 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17661     case $host_os in
   17662 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17663 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17664     esac
   17665 fi
   17666 if test x$DRIVER_MAN_DIR = x    ; then
   17667     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17668 fi
   17669 
   17670 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17671     case $host_os in
   17672 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17673 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17674     esac
   17675 fi
   17676 if test x$ADMIN_MAN_DIR = x    ; then
   17677     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17678 fi
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 XORG_MAN_PAGE="X Version 11"
   17695 
   17696 MAN_SUBSTS="\
   17697 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17698 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17699 	-e 's|__xservername__|Xorg|g' \
   17700 	-e 's|__xconfigfile__|xorg.conf|g' \
   17701 	-e 's|__projectroot__|\$(prefix)|g' \
   17702 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17703 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17704 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17705 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17706 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17707 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17708 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17709 
   17710 
   17711 
   17712 # Check whether --enable-silent-rules was given.
   17713 if test "${enable_silent_rules+set}" = set; then :
   17714   enableval=$enable_silent_rules;
   17715 fi
   17716 
   17717 case $enable_silent_rules in # (((
   17718   yes) AM_DEFAULT_VERBOSITY=0;;
   17719    no) AM_DEFAULT_VERBOSITY=1;;
   17720     *) AM_DEFAULT_VERBOSITY=0;;
   17721 esac
   17722 am_make=${MAKE-make}
   17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17724 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17725 if ${am_cv_make_support_nested_variables+:} false; then :
   17726   $as_echo_n "(cached) " >&6
   17727 else
   17728   if $as_echo 'TRUE=$(BAR$(V))
   17729 BAR0=false
   17730 BAR1=true
   17731 V=1
   17732 am__doit:
   17733 	@$(TRUE)
   17734 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17735   am_cv_make_support_nested_variables=yes
   17736 else
   17737   am_cv_make_support_nested_variables=no
   17738 fi
   17739 fi
   17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17741 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17742 if test $am_cv_make_support_nested_variables = yes; then
   17743     AM_V='$(V)'
   17744   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17745 else
   17746   AM_V=$AM_DEFAULT_VERBOSITY
   17747   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17748 fi
   17749 AM_BACKSLASH='\'
   17750 
   17751 
   17752 
   17753 # Check whether --enable-malloc0returnsnull was given.
   17754 if test "${enable_malloc0returnsnull+set}" = set; then :
   17755   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17756 else
   17757   MALLOC_ZERO_RETURNS_NULL=auto
   17758 fi
   17759 
   17760 
   17761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17762 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17763 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17764 if ${xorg_cv_malloc0_returns_null+:} false; then :
   17765   $as_echo_n "(cached) " >&6
   17766 else
   17767   if test "$cross_compiling" = yes; then :
   17768   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17770 as_fn_error $? "cannot run test program while cross compiling
   17771 See \`config.log' for more details" "$LINENO" 5; }
   17772 else
   17773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17774 /* end confdefs.h.  */
   17775 
   17776 #include <stdlib.h>
   17777 
   17778 int
   17779 main ()
   17780 {
   17781 
   17782     char *m0, *r0, *c0, *p;
   17783     m0 = malloc(0);
   17784     p = malloc(10);
   17785     r0 = realloc(p,0);
   17786     c0 = calloc(0,10);
   17787     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17788 
   17789   ;
   17790   return 0;
   17791 }
   17792 _ACEOF
   17793 if ac_fn_c_try_run "$LINENO"; then :
   17794   xorg_cv_malloc0_returns_null=yes
   17795 else
   17796   xorg_cv_malloc0_returns_null=no
   17797 fi
   17798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17799   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17800 fi
   17801 
   17802 fi
   17803 
   17804 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   17805 fi
   17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17807 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17808 
   17809 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17810 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17811 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17812 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17813 else
   17814 	MALLOC_ZERO_CFLAGS=""
   17815 	XMALLOC_ZERO_CFLAGS=""
   17816 	XTMALLOC_ZERO_CFLAGS=""
   17817 fi
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 # Check render configuration, strip extra digits from package version to
   17825 # find the required protocol version
   17826 if test "$VERSION" = "" ; then
   17827        VERSION=$PACKAGE_VERSION;
   17828 fi
   17829 RENDER_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17830 
   17831 
   17832 # Obtain compiler/linker options for depedencies
   17833 
   17834 pkg_failed=no
   17835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RENDER" >&5
   17836 $as_echo_n "checking for RENDER... " >&6; }
   17837 
   17838 if test -n "$RENDER_CFLAGS"; then
   17839     pkg_cv_RENDER_CFLAGS="$RENDER_CFLAGS"
   17840  elif test -n "$PKG_CONFIG"; then
   17841     if test -n "$PKG_CONFIG" && \
   17842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 renderproto >= \$RENDER_VERSION\""; } >&5
   17843   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 renderproto >= $RENDER_VERSION") 2>&5
   17844   ac_status=$?
   17845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17846   test $ac_status = 0; }; then
   17847   pkg_cv_RENDER_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>/dev/null`
   17848 else
   17849   pkg_failed=yes
   17850 fi
   17851  else
   17852     pkg_failed=untried
   17853 fi
   17854 if test -n "$RENDER_LIBS"; then
   17855     pkg_cv_RENDER_LIBS="$RENDER_LIBS"
   17856  elif test -n "$PKG_CONFIG"; then
   17857     if test -n "$PKG_CONFIG" && \
   17858     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 renderproto >= \$RENDER_VERSION\""; } >&5
   17859   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 renderproto >= $RENDER_VERSION") 2>&5
   17860   ac_status=$?
   17861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17862   test $ac_status = 0; }; then
   17863   pkg_cv_RENDER_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>/dev/null`
   17864 else
   17865   pkg_failed=yes
   17866 fi
   17867  else
   17868     pkg_failed=untried
   17869 fi
   17870 
   17871 
   17872 
   17873 if test $pkg_failed = yes; then
   17874 
   17875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17876         _pkg_short_errors_supported=yes
   17877 else
   17878         _pkg_short_errors_supported=no
   17879 fi
   17880         if test $_pkg_short_errors_supported = yes; then
   17881 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>&1`
   17882         else
   17883 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>&1`
   17884         fi
   17885 	# Put the nasty error message in config.log where it belongs
   17886 	echo "$RENDER_PKG_ERRORS" >&5
   17887 
   17888 	as_fn_error $? "Package requirements (x11 >= 1.6 renderproto >= $RENDER_VERSION) were not met:
   17889 
   17890 $RENDER_PKG_ERRORS
   17891 
   17892 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17893 installed software in a non-standard prefix.
   17894 
   17895 Alternatively, you may set the environment variables RENDER_CFLAGS
   17896 and RENDER_LIBS to avoid the need to call pkg-config.
   17897 See the pkg-config man page for more details.
   17898 " "$LINENO" 5
   17899 elif test $pkg_failed = untried; then
   17900 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17902 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17903 is in your PATH or set the PKG_CONFIG environment variable to the full
   17904 path to pkg-config.
   17905 
   17906 Alternatively, you may set the environment variables RENDER_CFLAGS
   17907 and RENDER_LIBS to avoid the need to call pkg-config.
   17908 See the pkg-config man page for more details.
   17909 
   17910 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17911 See \`config.log' for more details" "$LINENO" 5; }
   17912 else
   17913 	RENDER_CFLAGS=$pkg_cv_RENDER_CFLAGS
   17914 	RENDER_LIBS=$pkg_cv_RENDER_LIBS
   17915         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17916 $as_echo "yes" >&6; }
   17917 	:
   17918 fi
   17919 
   17920 ac_config_files="$ac_config_files Makefile src/Makefile xrender.pc"
   17921 
   17922 cat >confcache <<\_ACEOF
   17923 # This file is a shell script that caches the results of configure
   17924 # tests run on this system so they can be shared between configure
   17925 # scripts and configure runs, see configure's option --config-cache.
   17926 # It is not useful on other systems.  If it contains results you don't
   17927 # want to keep, you may remove or edit it.
   17928 #
   17929 # config.status only pays attention to the cache file if you give it
   17930 # the --recheck option to rerun configure.
   17931 #
   17932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17934 # following values.
   17935 
   17936 _ACEOF
   17937 
   17938 # The following way of writing the cache mishandles newlines in values,
   17939 # but we know of no workaround that is simple, portable, and efficient.
   17940 # So, we kill variables containing newlines.
   17941 # Ultrix sh set writes to stderr and can't be redirected directly,
   17942 # and sets the high bit in the cache file unless we assign to the vars.
   17943 (
   17944   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17945     eval ac_val=\$$ac_var
   17946     case $ac_val in #(
   17947     *${as_nl}*)
   17948       case $ac_var in #(
   17949       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17951       esac
   17952       case $ac_var in #(
   17953       _ | IFS | as_nl) ;; #(
   17954       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17955       *) { eval $ac_var=; unset $ac_var;} ;;
   17956       esac ;;
   17957     esac
   17958   done
   17959 
   17960   (set) 2>&1 |
   17961     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17962     *${as_nl}ac_space=\ *)
   17963       # `set' does not quote correctly, so add quotes: double-quote
   17964       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17965       sed -n \
   17966 	"s/'/'\\\\''/g;
   17967 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17968       ;; #(
   17969     *)
   17970       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17971       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17972       ;;
   17973     esac |
   17974     sort
   17975 ) |
   17976   sed '
   17977      /^ac_cv_env_/b end
   17978      t clear
   17979      :clear
   17980      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17981      t end
   17982      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17983      :end' >>confcache
   17984 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17985   if test -w "$cache_file"; then
   17986     if test "x$cache_file" != "x/dev/null"; then
   17987       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17988 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17989       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17990 	cat confcache >"$cache_file"
   17991       else
   17992         case $cache_file in #(
   17993         */* | ?:*)
   17994 	  mv -f confcache "$cache_file"$$ &&
   17995 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17996         *)
   17997 	  mv -f confcache "$cache_file" ;;
   17998 	esac
   17999       fi
   18000     fi
   18001   else
   18002     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18003 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18004   fi
   18005 fi
   18006 rm -f confcache
   18007 
   18008 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18009 # Let make expand exec_prefix.
   18010 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18011 
   18012 DEFS=-DHAVE_CONFIG_H
   18013 
   18014 ac_libobjs=
   18015 ac_ltlibobjs=
   18016 U=
   18017 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18018   # 1. Remove the extension, and $U if already installed.
   18019   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18020   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18021   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18022   #    will be set to the directory where LIBOBJS objects are built.
   18023   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18024   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18025 done
   18026 LIBOBJS=$ac_libobjs
   18027 
   18028 LTLIBOBJS=$ac_ltlibobjs
   18029 
   18030 
   18031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18032 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18033    if test -n "$am_sleep_pid"; then
   18034      # Hide warnings about reused PIDs.
   18035      wait $am_sleep_pid 2>/dev/null
   18036    fi
   18037    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18038 $as_echo "done" >&6; }
   18039  if test -n "$EXEEXT"; then
   18040   am__EXEEXT_TRUE=
   18041   am__EXEEXT_FALSE='#'
   18042 else
   18043   am__EXEEXT_TRUE='#'
   18044   am__EXEEXT_FALSE=
   18045 fi
   18046 
   18047 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18048   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18050 fi
   18051 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18052   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18054 fi
   18055 
   18056 : "${CONFIG_STATUS=./config.status}"
   18057 ac_write_fail=0
   18058 ac_clean_files_save=$ac_clean_files
   18059 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18060 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18061 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18062 as_write_fail=0
   18063 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18064 #! $SHELL
   18065 # Generated by $as_me.
   18066 # Run this file to recreate the current configuration.
   18067 # Compiler output produced by configure, useful for debugging
   18068 # configure, is in config.log if it exists.
   18069 
   18070 debug=false
   18071 ac_cs_recheck=false
   18072 ac_cs_silent=false
   18073 
   18074 SHELL=\${CONFIG_SHELL-$SHELL}
   18075 export SHELL
   18076 _ASEOF
   18077 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18078 ## -------------------- ##
   18079 ## M4sh Initialization. ##
   18080 ## -------------------- ##
   18081 
   18082 # Be more Bourne compatible
   18083 DUALCASE=1; export DUALCASE # for MKS sh
   18084 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18085   emulate sh
   18086   NULLCMD=:
   18087   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18088   # is contrary to our usage.  Disable this feature.
   18089   alias -g '${1+"$@"}'='"$@"'
   18090   setopt NO_GLOB_SUBST
   18091 else
   18092   case `(set -o) 2>/dev/null` in #(
   18093   *posix*) :
   18094     set -o posix ;; #(
   18095   *) :
   18096      ;;
   18097 esac
   18098 fi
   18099 
   18100 
   18101 as_nl='
   18102 '
   18103 export as_nl
   18104 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18105 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18106 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18107 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18108 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18109 # but without wasting forks for bash or zsh.
   18110 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18111     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18112   as_echo='print -r --'
   18113   as_echo_n='print -rn --'
   18114 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18115   as_echo='printf %s\n'
   18116   as_echo_n='printf %s'
   18117 else
   18118   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18119     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18120     as_echo_n='/usr/ucb/echo -n'
   18121   else
   18122     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18123     as_echo_n_body='eval
   18124       arg=$1;
   18125       case $arg in #(
   18126       *"$as_nl"*)
   18127 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18128 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18129       esac;
   18130       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18131     '
   18132     export as_echo_n_body
   18133     as_echo_n='sh -c $as_echo_n_body as_echo'
   18134   fi
   18135   export as_echo_body
   18136   as_echo='sh -c $as_echo_body as_echo'
   18137 fi
   18138 
   18139 # The user is always right.
   18140 if test "${PATH_SEPARATOR+set}" != set; then
   18141   PATH_SEPARATOR=:
   18142   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18143     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18144       PATH_SEPARATOR=';'
   18145   }
   18146 fi
   18147 
   18148 
   18149 # IFS
   18150 # We need space, tab and new line, in precisely that order.  Quoting is
   18151 # there to prevent editors from complaining about space-tab.
   18152 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18153 # splitting by setting IFS to empty value.)
   18154 IFS=" ""	$as_nl"
   18155 
   18156 # Find who we are.  Look in the path if we contain no directory separator.
   18157 as_myself=
   18158 case $0 in #((
   18159   *[\\/]* ) as_myself=$0 ;;
   18160   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18161 for as_dir in $PATH
   18162 do
   18163   IFS=$as_save_IFS
   18164   test -z "$as_dir" && as_dir=.
   18165     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18166   done
   18167 IFS=$as_save_IFS
   18168 
   18169      ;;
   18170 esac
   18171 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18172 # in which case we are not to be found in the path.
   18173 if test "x$as_myself" = x; then
   18174   as_myself=$0
   18175 fi
   18176 if test ! -f "$as_myself"; then
   18177   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18178   exit 1
   18179 fi
   18180 
   18181 # Unset variables that we do not need and which cause bugs (e.g. in
   18182 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18183 # suppresses any "Segmentation fault" message there.  '((' could
   18184 # trigger a bug in pdksh 5.2.14.
   18185 for as_var in BASH_ENV ENV MAIL MAILPATH
   18186 do eval test x\${$as_var+set} = xset \
   18187   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18188 done
   18189 PS1='$ '
   18190 PS2='> '
   18191 PS4='+ '
   18192 
   18193 # NLS nuisances.
   18194 LC_ALL=C
   18195 export LC_ALL
   18196 LANGUAGE=C
   18197 export LANGUAGE
   18198 
   18199 # CDPATH.
   18200 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18201 
   18202 
   18203 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18204 # ----------------------------------------
   18205 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18206 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18207 # script with STATUS, using 1 if that was 0.
   18208 as_fn_error ()
   18209 {
   18210   as_status=$1; test $as_status -eq 0 && as_status=1
   18211   if test "$4"; then
   18212     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18213     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18214   fi
   18215   $as_echo "$as_me: error: $2" >&2
   18216   as_fn_exit $as_status
   18217 } # as_fn_error
   18218 
   18219 
   18220 # as_fn_set_status STATUS
   18221 # -----------------------
   18222 # Set $? to STATUS, without forking.
   18223 as_fn_set_status ()
   18224 {
   18225   return $1
   18226 } # as_fn_set_status
   18227 
   18228 # as_fn_exit STATUS
   18229 # -----------------
   18230 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18231 as_fn_exit ()
   18232 {
   18233   set +e
   18234   as_fn_set_status $1
   18235   exit $1
   18236 } # as_fn_exit
   18237 
   18238 # as_fn_unset VAR
   18239 # ---------------
   18240 # Portably unset VAR.
   18241 as_fn_unset ()
   18242 {
   18243   { eval $1=; unset $1;}
   18244 }
   18245 as_unset=as_fn_unset
   18246 # as_fn_append VAR VALUE
   18247 # ----------------------
   18248 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18249 # advantage of any shell optimizations that allow amortized linear growth over
   18250 # repeated appends, instead of the typical quadratic growth present in naive
   18251 # implementations.
   18252 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18253   eval 'as_fn_append ()
   18254   {
   18255     eval $1+=\$2
   18256   }'
   18257 else
   18258   as_fn_append ()
   18259   {
   18260     eval $1=\$$1\$2
   18261   }
   18262 fi # as_fn_append
   18263 
   18264 # as_fn_arith ARG...
   18265 # ------------------
   18266 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18267 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18268 # must be portable across $(()) and expr.
   18269 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18270   eval 'as_fn_arith ()
   18271   {
   18272     as_val=$(( $* ))
   18273   }'
   18274 else
   18275   as_fn_arith ()
   18276   {
   18277     as_val=`expr "$@" || test $? -eq 1`
   18278   }
   18279 fi # as_fn_arith
   18280 
   18281 
   18282 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18283    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18284   as_expr=expr
   18285 else
   18286   as_expr=false
   18287 fi
   18288 
   18289 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18290   as_basename=basename
   18291 else
   18292   as_basename=false
   18293 fi
   18294 
   18295 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18296   as_dirname=dirname
   18297 else
   18298   as_dirname=false
   18299 fi
   18300 
   18301 as_me=`$as_basename -- "$0" ||
   18302 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18303 	 X"$0" : 'X\(//\)$' \| \
   18304 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18305 $as_echo X/"$0" |
   18306     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18307 	    s//\1/
   18308 	    q
   18309 	  }
   18310 	  /^X\/\(\/\/\)$/{
   18311 	    s//\1/
   18312 	    q
   18313 	  }
   18314 	  /^X\/\(\/\).*/{
   18315 	    s//\1/
   18316 	    q
   18317 	  }
   18318 	  s/.*/./; q'`
   18319 
   18320 # Avoid depending upon Character Ranges.
   18321 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18322 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18323 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18324 as_cr_digits='0123456789'
   18325 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18326 
   18327 ECHO_C= ECHO_N= ECHO_T=
   18328 case `echo -n x` in #(((((
   18329 -n*)
   18330   case `echo 'xy\c'` in
   18331   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18332   xy)  ECHO_C='\c';;
   18333   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18334        ECHO_T='	';;
   18335   esac;;
   18336 *)
   18337   ECHO_N='-n';;
   18338 esac
   18339 
   18340 rm -f conf$$ conf$$.exe conf$$.file
   18341 if test -d conf$$.dir; then
   18342   rm -f conf$$.dir/conf$$.file
   18343 else
   18344   rm -f conf$$.dir
   18345   mkdir conf$$.dir 2>/dev/null
   18346 fi
   18347 if (echo >conf$$.file) 2>/dev/null; then
   18348   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18349     as_ln_s='ln -s'
   18350     # ... but there are two gotchas:
   18351     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18352     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18353     # In both cases, we have to default to `cp -pR'.
   18354     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18355       as_ln_s='cp -pR'
   18356   elif ln conf$$.file conf$$ 2>/dev/null; then
   18357     as_ln_s=ln
   18358   else
   18359     as_ln_s='cp -pR'
   18360   fi
   18361 else
   18362   as_ln_s='cp -pR'
   18363 fi
   18364 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18365 rmdir conf$$.dir 2>/dev/null
   18366 
   18367 
   18368 # as_fn_mkdir_p
   18369 # -------------
   18370 # Create "$as_dir" as a directory, including parents if necessary.
   18371 as_fn_mkdir_p ()
   18372 {
   18373 
   18374   case $as_dir in #(
   18375   -*) as_dir=./$as_dir;;
   18376   esac
   18377   test -d "$as_dir" || eval $as_mkdir_p || {
   18378     as_dirs=
   18379     while :; do
   18380       case $as_dir in #(
   18381       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18382       *) as_qdir=$as_dir;;
   18383       esac
   18384       as_dirs="'$as_qdir' $as_dirs"
   18385       as_dir=`$as_dirname -- "$as_dir" ||
   18386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18387 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18388 	 X"$as_dir" : 'X\(//\)$' \| \
   18389 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18390 $as_echo X"$as_dir" |
   18391     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18392 	    s//\1/
   18393 	    q
   18394 	  }
   18395 	  /^X\(\/\/\)[^/].*/{
   18396 	    s//\1/
   18397 	    q
   18398 	  }
   18399 	  /^X\(\/\/\)$/{
   18400 	    s//\1/
   18401 	    q
   18402 	  }
   18403 	  /^X\(\/\).*/{
   18404 	    s//\1/
   18405 	    q
   18406 	  }
   18407 	  s/.*/./; q'`
   18408       test -d "$as_dir" && break
   18409     done
   18410     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18411   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18412 
   18413 
   18414 } # as_fn_mkdir_p
   18415 if mkdir -p . 2>/dev/null; then
   18416   as_mkdir_p='mkdir -p "$as_dir"'
   18417 else
   18418   test -d ./-p && rmdir ./-p
   18419   as_mkdir_p=false
   18420 fi
   18421 
   18422 
   18423 # as_fn_executable_p FILE
   18424 # -----------------------
   18425 # Test if FILE is an executable regular file.
   18426 as_fn_executable_p ()
   18427 {
   18428   test -f "$1" && test -x "$1"
   18429 } # as_fn_executable_p
   18430 as_test_x='test -x'
   18431 as_executable_p=as_fn_executable_p
   18432 
   18433 # Sed expression to map a string onto a valid CPP name.
   18434 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18435 
   18436 # Sed expression to map a string onto a valid variable name.
   18437 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18438 
   18439 
   18440 exec 6>&1
   18441 ## ----------------------------------- ##
   18442 ## Main body of $CONFIG_STATUS script. ##
   18443 ## ----------------------------------- ##
   18444 _ASEOF
   18445 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18446 
   18447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18448 # Save the log message, to keep $0 and so on meaningful, and to
   18449 # report actual input values of CONFIG_FILES etc. instead of their
   18450 # values after options handling.
   18451 ac_log="
   18452 This file was extended by libXrender $as_me 0.9.9, which was
   18453 generated by GNU Autoconf 2.69.  Invocation command line was
   18454 
   18455   CONFIG_FILES    = $CONFIG_FILES
   18456   CONFIG_HEADERS  = $CONFIG_HEADERS
   18457   CONFIG_LINKS    = $CONFIG_LINKS
   18458   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18459   $ $0 $@
   18460 
   18461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18462 "
   18463 
   18464 _ACEOF
   18465 
   18466 case $ac_config_files in *"
   18467 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18468 esac
   18469 
   18470 case $ac_config_headers in *"
   18471 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18472 esac
   18473 
   18474 
   18475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18476 # Files that config.status was made for.
   18477 config_files="$ac_config_files"
   18478 config_headers="$ac_config_headers"
   18479 config_commands="$ac_config_commands"
   18480 
   18481 _ACEOF
   18482 
   18483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18484 ac_cs_usage="\
   18485 \`$as_me' instantiates files and other configuration actions
   18486 from templates according to the current configuration.  Unless the files
   18487 and actions are specified as TAGs, all are instantiated by default.
   18488 
   18489 Usage: $0 [OPTION]... [TAG]...
   18490 
   18491   -h, --help       print this help, then exit
   18492   -V, --version    print version number and configuration settings, then exit
   18493       --config     print configuration, then exit
   18494   -q, --quiet, --silent
   18495                    do not print progress messages
   18496   -d, --debug      don't remove temporary files
   18497       --recheck    update $as_me by reconfiguring in the same conditions
   18498       --file=FILE[:TEMPLATE]
   18499                    instantiate the configuration file FILE
   18500       --header=FILE[:TEMPLATE]
   18501                    instantiate the configuration header FILE
   18502 
   18503 Configuration files:
   18504 $config_files
   18505 
   18506 Configuration headers:
   18507 $config_headers
   18508 
   18509 Configuration commands:
   18510 $config_commands
   18511 
   18512 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18513 
   18514 _ACEOF
   18515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18517 ac_cs_version="\\
   18518 libXrender config.status 0.9.9
   18519 configured by $0, generated by GNU Autoconf 2.69,
   18520   with options \\"\$ac_cs_config\\"
   18521 
   18522 Copyright (C) 2012 Free Software Foundation, Inc.
   18523 This config.status script is free software; the Free Software Foundation
   18524 gives unlimited permission to copy, distribute and modify it."
   18525 
   18526 ac_pwd='$ac_pwd'
   18527 srcdir='$srcdir'
   18528 INSTALL='$INSTALL'
   18529 MKDIR_P='$MKDIR_P'
   18530 AWK='$AWK'
   18531 test -n "\$AWK" || AWK=awk
   18532 _ACEOF
   18533 
   18534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18535 # The default lists apply if the user does not specify any file.
   18536 ac_need_defaults=:
   18537 while test $# != 0
   18538 do
   18539   case $1 in
   18540   --*=?*)
   18541     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18542     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18543     ac_shift=:
   18544     ;;
   18545   --*=)
   18546     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18547     ac_optarg=
   18548     ac_shift=:
   18549     ;;
   18550   *)
   18551     ac_option=$1
   18552     ac_optarg=$2
   18553     ac_shift=shift
   18554     ;;
   18555   esac
   18556 
   18557   case $ac_option in
   18558   # Handling of the options.
   18559   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18560     ac_cs_recheck=: ;;
   18561   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18562     $as_echo "$ac_cs_version"; exit ;;
   18563   --config | --confi | --conf | --con | --co | --c )
   18564     $as_echo "$ac_cs_config"; exit ;;
   18565   --debug | --debu | --deb | --de | --d | -d )
   18566     debug=: ;;
   18567   --file | --fil | --fi | --f )
   18568     $ac_shift
   18569     case $ac_optarg in
   18570     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18571     '') as_fn_error $? "missing file argument" ;;
   18572     esac
   18573     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18574     ac_need_defaults=false;;
   18575   --header | --heade | --head | --hea )
   18576     $ac_shift
   18577     case $ac_optarg in
   18578     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18579     esac
   18580     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18581     ac_need_defaults=false;;
   18582   --he | --h)
   18583     # Conflict between --help and --header
   18584     as_fn_error $? "ambiguous option: \`$1'
   18585 Try \`$0 --help' for more information.";;
   18586   --help | --hel | -h )
   18587     $as_echo "$ac_cs_usage"; exit ;;
   18588   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18589   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18590     ac_cs_silent=: ;;
   18591 
   18592   # This is an error.
   18593   -*) as_fn_error $? "unrecognized option: \`$1'
   18594 Try \`$0 --help' for more information." ;;
   18595 
   18596   *) as_fn_append ac_config_targets " $1"
   18597      ac_need_defaults=false ;;
   18598 
   18599   esac
   18600   shift
   18601 done
   18602 
   18603 ac_configure_extra_args=
   18604 
   18605 if $ac_cs_silent; then
   18606   exec 6>/dev/null
   18607   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18608 fi
   18609 
   18610 _ACEOF
   18611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18612 if \$ac_cs_recheck; then
   18613   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18614   shift
   18615   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18616   CONFIG_SHELL='$SHELL'
   18617   export CONFIG_SHELL
   18618   exec "\$@"
   18619 fi
   18620 
   18621 _ACEOF
   18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18623 exec 5>>config.log
   18624 {
   18625   echo
   18626   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18627 ## Running $as_me. ##
   18628 _ASBOX
   18629   $as_echo "$ac_log"
   18630 } >&5
   18631 
   18632 _ACEOF
   18633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18634 #
   18635 # INIT-COMMANDS
   18636 #
   18637 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18638 
   18639 
   18640 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18641 # if CDPATH is set.
   18642 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18643 
   18644 sed_quote_subst='$sed_quote_subst'
   18645 double_quote_subst='$double_quote_subst'
   18646 delay_variable_subst='$delay_variable_subst'
   18647 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18648 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18649 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18650 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18651 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18652 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18653 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18654 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18655 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18656 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18657 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18658 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18659 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18660 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18661 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18662 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18663 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18664 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18665 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18666 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18667 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18668 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18669 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18670 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18671 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18672 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18673 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18674 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18675 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18676 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18677 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18678 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18679 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18680 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18681 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18682 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18683 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18684 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18685 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18686 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18687 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18688 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18689 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18690 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18691 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18692 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18693 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18694 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18695 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18696 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18697 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18698 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18699 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18700 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18701 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18702 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18703 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"`'
   18704 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18705 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18706 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18707 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18708 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18709 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18710 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18711 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18712 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18713 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18714 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18715 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18716 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18717 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18718 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18719 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18720 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18721 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18722 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18723 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18724 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18725 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18726 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18727 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18728 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18729 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18730 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18731 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18732 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18733 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18734 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18735 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18736 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18737 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18738 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18739 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18740 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18741 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18742 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18743 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18744 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18745 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18746 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18747 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18748 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18749 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18750 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18751 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18752 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18753 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18754 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18755 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18756 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18757 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18758 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18759 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18760 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18761 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18762 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18763 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18764 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18765 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18766 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18767 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18768 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18769 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18770 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18771 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18772 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18773 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18774 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18775 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18776 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18777 
   18778 LTCC='$LTCC'
   18779 LTCFLAGS='$LTCFLAGS'
   18780 compiler='$compiler_DEFAULT'
   18781 
   18782 # A function that is used when there is no print builtin or printf.
   18783 func_fallback_echo ()
   18784 {
   18785   eval 'cat <<_LTECHO_EOF
   18786 \$1
   18787 _LTECHO_EOF'
   18788 }
   18789 
   18790 # Quote evaled strings.
   18791 for var in SHELL \
   18792 ECHO \
   18793 PATH_SEPARATOR \
   18794 SED \
   18795 GREP \
   18796 EGREP \
   18797 FGREP \
   18798 LD \
   18799 NM \
   18800 LN_S \
   18801 lt_SP2NL \
   18802 lt_NL2SP \
   18803 reload_flag \
   18804 OBJDUMP \
   18805 deplibs_check_method \
   18806 file_magic_cmd \
   18807 file_magic_glob \
   18808 want_nocaseglob \
   18809 DLLTOOL \
   18810 sharedlib_from_linklib_cmd \
   18811 AR \
   18812 AR_FLAGS \
   18813 archiver_list_spec \
   18814 STRIP \
   18815 RANLIB \
   18816 CC \
   18817 CFLAGS \
   18818 compiler \
   18819 lt_cv_sys_global_symbol_pipe \
   18820 lt_cv_sys_global_symbol_to_cdecl \
   18821 lt_cv_sys_global_symbol_to_c_name_address \
   18822 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18823 nm_file_list_spec \
   18824 lt_prog_compiler_no_builtin_flag \
   18825 lt_prog_compiler_pic \
   18826 lt_prog_compiler_wl \
   18827 lt_prog_compiler_static \
   18828 lt_cv_prog_compiler_c_o \
   18829 need_locks \
   18830 MANIFEST_TOOL \
   18831 DSYMUTIL \
   18832 NMEDIT \
   18833 LIPO \
   18834 OTOOL \
   18835 OTOOL64 \
   18836 shrext_cmds \
   18837 export_dynamic_flag_spec \
   18838 whole_archive_flag_spec \
   18839 compiler_needs_object \
   18840 with_gnu_ld \
   18841 allow_undefined_flag \
   18842 no_undefined_flag \
   18843 hardcode_libdir_flag_spec \
   18844 hardcode_libdir_separator \
   18845 exclude_expsyms \
   18846 include_expsyms \
   18847 file_list_spec \
   18848 variables_saved_for_relink \
   18849 libname_spec \
   18850 library_names_spec \
   18851 soname_spec \
   18852 install_override_mode \
   18853 finish_eval \
   18854 old_striplib \
   18855 striplib; do
   18856     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18857     *[\\\\\\\`\\"\\\$]*)
   18858       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18859       ;;
   18860     *)
   18861       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18862       ;;
   18863     esac
   18864 done
   18865 
   18866 # Double-quote double-evaled strings.
   18867 for var in reload_cmds \
   18868 old_postinstall_cmds \
   18869 old_postuninstall_cmds \
   18870 old_archive_cmds \
   18871 extract_expsyms_cmds \
   18872 old_archive_from_new_cmds \
   18873 old_archive_from_expsyms_cmds \
   18874 archive_cmds \
   18875 archive_expsym_cmds \
   18876 module_cmds \
   18877 module_expsym_cmds \
   18878 export_symbols_cmds \
   18879 prelink_cmds \
   18880 postlink_cmds \
   18881 postinstall_cmds \
   18882 postuninstall_cmds \
   18883 finish_cmds \
   18884 sys_lib_search_path_spec \
   18885 sys_lib_dlsearch_path_spec; do
   18886     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18887     *[\\\\\\\`\\"\\\$]*)
   18888       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18889       ;;
   18890     *)
   18891       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18892       ;;
   18893     esac
   18894 done
   18895 
   18896 ac_aux_dir='$ac_aux_dir'
   18897 xsi_shell='$xsi_shell'
   18898 lt_shell_append='$lt_shell_append'
   18899 
   18900 # See if we are running on zsh, and set the options which allow our
   18901 # commands through without removal of \ escapes INIT.
   18902 if test -n "\${ZSH_VERSION+set}" ; then
   18903    setopt NO_GLOB_SUBST
   18904 fi
   18905 
   18906 
   18907     PACKAGE='$PACKAGE'
   18908     VERSION='$VERSION'
   18909     TIMESTAMP='$TIMESTAMP'
   18910     RM='$RM'
   18911     ofile='$ofile'
   18912 
   18913 
   18914 
   18915 
   18916 _ACEOF
   18917 
   18918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18919 
   18920 # Handling of arguments.
   18921 for ac_config_target in $ac_config_targets
   18922 do
   18923   case $ac_config_target in
   18924     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18925     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18926     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18927     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18928     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18929     "xrender.pc") CONFIG_FILES="$CONFIG_FILES xrender.pc" ;;
   18930 
   18931   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18932   esac
   18933 done
   18934 
   18935 
   18936 # If the user did not use the arguments to specify the items to instantiate,
   18937 # then the envvar interface is used.  Set only those that are not.
   18938 # We use the long form for the default assignment because of an extremely
   18939 # bizarre bug on SunOS 4.1.3.
   18940 if $ac_need_defaults; then
   18941   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18942   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18943   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18944 fi
   18945 
   18946 # Have a temporary directory for convenience.  Make it in the build tree
   18947 # simply because there is no reason against having it here, and in addition,
   18948 # creating and moving files from /tmp can sometimes cause problems.
   18949 # Hook for its removal unless debugging.
   18950 # Note that there is a small window in which the directory will not be cleaned:
   18951 # after its creation but before its name has been assigned to `$tmp'.
   18952 $debug ||
   18953 {
   18954   tmp= ac_tmp=
   18955   trap 'exit_status=$?
   18956   : "${ac_tmp:=$tmp}"
   18957   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18958 ' 0
   18959   trap 'as_fn_exit 1' 1 2 13 15
   18960 }
   18961 # Create a (secure) tmp directory for tmp files.
   18962 
   18963 {
   18964   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18965   test -d "$tmp"
   18966 }  ||
   18967 {
   18968   tmp=./conf$$-$RANDOM
   18969   (umask 077 && mkdir "$tmp")
   18970 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18971 ac_tmp=$tmp
   18972 
   18973 # Set up the scripts for CONFIG_FILES section.
   18974 # No need to generate them if there are no CONFIG_FILES.
   18975 # This happens for instance with `./config.status config.h'.
   18976 if test -n "$CONFIG_FILES"; then
   18977 
   18978 
   18979 ac_cr=`echo X | tr X '\015'`
   18980 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18981 # But we know of no other shell where ac_cr would be empty at this
   18982 # point, so we can use a bashism as a fallback.
   18983 if test "x$ac_cr" = x; then
   18984   eval ac_cr=\$\'\\r\'
   18985 fi
   18986 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18987 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18988   ac_cs_awk_cr='\\r'
   18989 else
   18990   ac_cs_awk_cr=$ac_cr
   18991 fi
   18992 
   18993 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18994 _ACEOF
   18995 
   18996 
   18997 {
   18998   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18999   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19000   echo "_ACEOF"
   19001 } >conf$$subs.sh ||
   19002   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19003 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19004 ac_delim='%!_!# '
   19005 for ac_last_try in false false false false false :; do
   19006   . ./conf$$subs.sh ||
   19007     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19008 
   19009   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19010   if test $ac_delim_n = $ac_delim_num; then
   19011     break
   19012   elif $ac_last_try; then
   19013     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19014   else
   19015     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19016   fi
   19017 done
   19018 rm -f conf$$subs.sh
   19019 
   19020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19021 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19022 _ACEOF
   19023 sed -n '
   19024 h
   19025 s/^/S["/; s/!.*/"]=/
   19026 p
   19027 g
   19028 s/^[^!]*!//
   19029 :repl
   19030 t repl
   19031 s/'"$ac_delim"'$//
   19032 t delim
   19033 :nl
   19034 h
   19035 s/\(.\{148\}\)..*/\1/
   19036 t more1
   19037 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19038 p
   19039 n
   19040 b repl
   19041 :more1
   19042 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19043 p
   19044 g
   19045 s/.\{148\}//
   19046 t nl
   19047 :delim
   19048 h
   19049 s/\(.\{148\}\)..*/\1/
   19050 t more2
   19051 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19052 p
   19053 b
   19054 :more2
   19055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19056 p
   19057 g
   19058 s/.\{148\}//
   19059 t delim
   19060 ' <conf$$subs.awk | sed '
   19061 /^[^""]/{
   19062   N
   19063   s/\n//
   19064 }
   19065 ' >>$CONFIG_STATUS || ac_write_fail=1
   19066 rm -f conf$$subs.awk
   19067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19068 _ACAWK
   19069 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19070   for (key in S) S_is_set[key] = 1
   19071   FS = ""
   19072 
   19073 }
   19074 {
   19075   line = $ 0
   19076   nfields = split(line, field, "@")
   19077   substed = 0
   19078   len = length(field[1])
   19079   for (i = 2; i < nfields; i++) {
   19080     key = field[i]
   19081     keylen = length(key)
   19082     if (S_is_set[key]) {
   19083       value = S[key]
   19084       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19085       len += length(value) + length(field[++i])
   19086       substed = 1
   19087     } else
   19088       len += 1 + keylen
   19089   }
   19090 
   19091   print line
   19092 }
   19093 
   19094 _ACAWK
   19095 _ACEOF
   19096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19097 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19098   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19099 else
   19100   cat
   19101 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19102   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19103 _ACEOF
   19104 
   19105 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19106 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19107 # trailing colons and then remove the whole line if VPATH becomes empty
   19108 # (actually we leave an empty line to preserve line numbers).
   19109 if test "x$srcdir" = x.; then
   19110   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19111 h
   19112 s///
   19113 s/^/:/
   19114 s/[	 ]*$/:/
   19115 s/:\$(srcdir):/:/g
   19116 s/:\${srcdir}:/:/g
   19117 s/:@srcdir@:/:/g
   19118 s/^:*//
   19119 s/:*$//
   19120 x
   19121 s/\(=[	 ]*\).*/\1/
   19122 G
   19123 s/\n//
   19124 s/^[^=]*=[	 ]*$//
   19125 }'
   19126 fi
   19127 
   19128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19129 fi # test -n "$CONFIG_FILES"
   19130 
   19131 # Set up the scripts for CONFIG_HEADERS section.
   19132 # No need to generate them if there are no CONFIG_HEADERS.
   19133 # This happens for instance with `./config.status Makefile'.
   19134 if test -n "$CONFIG_HEADERS"; then
   19135 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19136 BEGIN {
   19137 _ACEOF
   19138 
   19139 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19140 # here-document in config.status, that substitutes the proper values into
   19141 # config.h.in to produce config.h.
   19142 
   19143 # Create a delimiter string that does not exist in confdefs.h, to ease
   19144 # handling of long lines.
   19145 ac_delim='%!_!# '
   19146 for ac_last_try in false false :; do
   19147   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19148   if test -z "$ac_tt"; then
   19149     break
   19150   elif $ac_last_try; then
   19151     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19152   else
   19153     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19154   fi
   19155 done
   19156 
   19157 # For the awk script, D is an array of macro values keyed by name,
   19158 # likewise P contains macro parameters if any.  Preserve backslash
   19159 # newline sequences.
   19160 
   19161 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19162 sed -n '
   19163 s/.\{148\}/&'"$ac_delim"'/g
   19164 t rset
   19165 :rset
   19166 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19167 t def
   19168 d
   19169 :def
   19170 s/\\$//
   19171 t bsnl
   19172 s/["\\]/\\&/g
   19173 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19174 D["\1"]=" \3"/p
   19175 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19176 d
   19177 :bsnl
   19178 s/["\\]/\\&/g
   19179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19180 D["\1"]=" \3\\\\\\n"\\/p
   19181 t cont
   19182 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19183 t cont
   19184 d
   19185 :cont
   19186 n
   19187 s/.\{148\}/&'"$ac_delim"'/g
   19188 t clear
   19189 :clear
   19190 s/\\$//
   19191 t bsnlc
   19192 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19193 d
   19194 :bsnlc
   19195 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19196 b cont
   19197 ' <confdefs.h | sed '
   19198 s/'"$ac_delim"'/"\\\
   19199 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19200 
   19201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19202   for (key in D) D_is_set[key] = 1
   19203   FS = ""
   19204 }
   19205 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19206   line = \$ 0
   19207   split(line, arg, " ")
   19208   if (arg[1] == "#") {
   19209     defundef = arg[2]
   19210     mac1 = arg[3]
   19211   } else {
   19212     defundef = substr(arg[1], 2)
   19213     mac1 = arg[2]
   19214   }
   19215   split(mac1, mac2, "(") #)
   19216   macro = mac2[1]
   19217   prefix = substr(line, 1, index(line, defundef) - 1)
   19218   if (D_is_set[macro]) {
   19219     # Preserve the white space surrounding the "#".
   19220     print prefix "define", macro P[macro] D[macro]
   19221     next
   19222   } else {
   19223     # Replace #undef with comments.  This is necessary, for example,
   19224     # in the case of _POSIX_SOURCE, which is predefined and required
   19225     # on some systems where configure will not decide to define it.
   19226     if (defundef == "undef") {
   19227       print "/*", prefix defundef, macro, "*/"
   19228       next
   19229     }
   19230   }
   19231 }
   19232 { print }
   19233 _ACAWK
   19234 _ACEOF
   19235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19236   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19237 fi # test -n "$CONFIG_HEADERS"
   19238 
   19239 
   19240 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19241 shift
   19242 for ac_tag
   19243 do
   19244   case $ac_tag in
   19245   :[FHLC]) ac_mode=$ac_tag; continue;;
   19246   esac
   19247   case $ac_mode$ac_tag in
   19248   :[FHL]*:*);;
   19249   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19250   :[FH]-) ac_tag=-:-;;
   19251   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19252   esac
   19253   ac_save_IFS=$IFS
   19254   IFS=:
   19255   set x $ac_tag
   19256   IFS=$ac_save_IFS
   19257   shift
   19258   ac_file=$1
   19259   shift
   19260 
   19261   case $ac_mode in
   19262   :L) ac_source=$1;;
   19263   :[FH])
   19264     ac_file_inputs=
   19265     for ac_f
   19266     do
   19267       case $ac_f in
   19268       -) ac_f="$ac_tmp/stdin";;
   19269       *) # Look for the file first in the build tree, then in the source tree
   19270 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19271 	 # because $ac_f cannot contain `:'.
   19272 	 test -f "$ac_f" ||
   19273 	   case $ac_f in
   19274 	   [\\/$]*) false;;
   19275 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19276 	   esac ||
   19277 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19278       esac
   19279       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19280       as_fn_append ac_file_inputs " '$ac_f'"
   19281     done
   19282 
   19283     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19284     # use $as_me), people would be surprised to read:
   19285     #    /* config.h.  Generated by config.status.  */
   19286     configure_input='Generated from '`
   19287 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19288 	`' by configure.'
   19289     if test x"$ac_file" != x-; then
   19290       configure_input="$ac_file.  $configure_input"
   19291       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19292 $as_echo "$as_me: creating $ac_file" >&6;}
   19293     fi
   19294     # Neutralize special characters interpreted by sed in replacement strings.
   19295     case $configure_input in #(
   19296     *\&* | *\|* | *\\* )
   19297        ac_sed_conf_input=`$as_echo "$configure_input" |
   19298        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19299     *) ac_sed_conf_input=$configure_input;;
   19300     esac
   19301 
   19302     case $ac_tag in
   19303     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19304       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19305     esac
   19306     ;;
   19307   esac
   19308 
   19309   ac_dir=`$as_dirname -- "$ac_file" ||
   19310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19311 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19312 	 X"$ac_file" : 'X\(//\)$' \| \
   19313 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19314 $as_echo X"$ac_file" |
   19315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19316 	    s//\1/
   19317 	    q
   19318 	  }
   19319 	  /^X\(\/\/\)[^/].*/{
   19320 	    s//\1/
   19321 	    q
   19322 	  }
   19323 	  /^X\(\/\/\)$/{
   19324 	    s//\1/
   19325 	    q
   19326 	  }
   19327 	  /^X\(\/\).*/{
   19328 	    s//\1/
   19329 	    q
   19330 	  }
   19331 	  s/.*/./; q'`
   19332   as_dir="$ac_dir"; as_fn_mkdir_p
   19333   ac_builddir=.
   19334 
   19335 case "$ac_dir" in
   19336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19337 *)
   19338   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19339   # A ".." for each directory in $ac_dir_suffix.
   19340   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19341   case $ac_top_builddir_sub in
   19342   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19343   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19344   esac ;;
   19345 esac
   19346 ac_abs_top_builddir=$ac_pwd
   19347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19348 # for backward compatibility:
   19349 ac_top_builddir=$ac_top_build_prefix
   19350 
   19351 case $srcdir in
   19352   .)  # We are building in place.
   19353     ac_srcdir=.
   19354     ac_top_srcdir=$ac_top_builddir_sub
   19355     ac_abs_top_srcdir=$ac_pwd ;;
   19356   [\\/]* | ?:[\\/]* )  # Absolute name.
   19357     ac_srcdir=$srcdir$ac_dir_suffix;
   19358     ac_top_srcdir=$srcdir
   19359     ac_abs_top_srcdir=$srcdir ;;
   19360   *) # Relative name.
   19361     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19362     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19363     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19364 esac
   19365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19366 
   19367 
   19368   case $ac_mode in
   19369   :F)
   19370   #
   19371   # CONFIG_FILE
   19372   #
   19373 
   19374   case $INSTALL in
   19375   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19376   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19377   esac
   19378   ac_MKDIR_P=$MKDIR_P
   19379   case $MKDIR_P in
   19380   [\\/$]* | ?:[\\/]* ) ;;
   19381   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19382   esac
   19383 _ACEOF
   19384 
   19385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19386 # If the template does not know about datarootdir, expand it.
   19387 # FIXME: This hack should be removed a few years after 2.60.
   19388 ac_datarootdir_hack=; ac_datarootdir_seen=
   19389 ac_sed_dataroot='
   19390 /datarootdir/ {
   19391   p
   19392   q
   19393 }
   19394 /@datadir@/p
   19395 /@docdir@/p
   19396 /@infodir@/p
   19397 /@localedir@/p
   19398 /@mandir@/p'
   19399 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19400 *datarootdir*) ac_datarootdir_seen=yes;;
   19401 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19402   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19403 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19404 _ACEOF
   19405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19406   ac_datarootdir_hack='
   19407   s&@datadir@&$datadir&g
   19408   s&@docdir@&$docdir&g
   19409   s&@infodir@&$infodir&g
   19410   s&@localedir@&$localedir&g
   19411   s&@mandir@&$mandir&g
   19412   s&\\\${datarootdir}&$datarootdir&g' ;;
   19413 esac
   19414 _ACEOF
   19415 
   19416 # Neutralize VPATH when `$srcdir' = `.'.
   19417 # Shell code in configure.ac might set extrasub.
   19418 # FIXME: do we really want to maintain this feature?
   19419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19420 ac_sed_extra="$ac_vpsub
   19421 $extrasub
   19422 _ACEOF
   19423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19424 :t
   19425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19426 s|@configure_input@|$ac_sed_conf_input|;t t
   19427 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19428 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19429 s&@srcdir@&$ac_srcdir&;t t
   19430 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19431 s&@top_srcdir@&$ac_top_srcdir&;t t
   19432 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19433 s&@builddir@&$ac_builddir&;t t
   19434 s&@abs_builddir@&$ac_abs_builddir&;t t
   19435 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19436 s&@INSTALL@&$ac_INSTALL&;t t
   19437 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19438 $ac_datarootdir_hack
   19439 "
   19440 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19441   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19442 
   19443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19444   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19445   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19446       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19448 which seems to be undefined.  Please make sure it is defined" >&5
   19449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19450 which seems to be undefined.  Please make sure it is defined" >&2;}
   19451 
   19452   rm -f "$ac_tmp/stdin"
   19453   case $ac_file in
   19454   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19455   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19456   esac \
   19457   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19458  ;;
   19459   :H)
   19460   #
   19461   # CONFIG_HEADER
   19462   #
   19463   if test x"$ac_file" != x-; then
   19464     {
   19465       $as_echo "/* $configure_input  */" \
   19466       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19467     } >"$ac_tmp/config.h" \
   19468       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19469     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19470       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19472     else
   19473       rm -f "$ac_file"
   19474       mv "$ac_tmp/config.h" "$ac_file" \
   19475 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19476     fi
   19477   else
   19478     $as_echo "/* $configure_input  */" \
   19479       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19480       || as_fn_error $? "could not create -" "$LINENO" 5
   19481   fi
   19482 # Compute "$ac_file"'s index in $config_headers.
   19483 _am_arg="$ac_file"
   19484 _am_stamp_count=1
   19485 for _am_header in $config_headers :; do
   19486   case $_am_header in
   19487     $_am_arg | $_am_arg:* )
   19488       break ;;
   19489     * )
   19490       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19491   esac
   19492 done
   19493 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19494 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19495 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19496 	 X"$_am_arg" : 'X\(//\)$' \| \
   19497 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19498 $as_echo X"$_am_arg" |
   19499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19500 	    s//\1/
   19501 	    q
   19502 	  }
   19503 	  /^X\(\/\/\)[^/].*/{
   19504 	    s//\1/
   19505 	    q
   19506 	  }
   19507 	  /^X\(\/\/\)$/{
   19508 	    s//\1/
   19509 	    q
   19510 	  }
   19511 	  /^X\(\/\).*/{
   19512 	    s//\1/
   19513 	    q
   19514 	  }
   19515 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19516  ;;
   19517 
   19518   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19519 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19520  ;;
   19521   esac
   19522 
   19523 
   19524   case $ac_file$ac_mode in
   19525     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19526   # Older Autoconf quotes --file arguments for eval, but not when files
   19527   # are listed without --file.  Let's play safe and only enable the eval
   19528   # if we detect the quoting.
   19529   case $CONFIG_FILES in
   19530   *\'*) eval set x "$CONFIG_FILES" ;;
   19531   *)   set x $CONFIG_FILES ;;
   19532   esac
   19533   shift
   19534   for mf
   19535   do
   19536     # Strip MF so we end up with the name of the file.
   19537     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19538     # Check whether this is an Automake generated Makefile or not.
   19539     # We used to match only the files named 'Makefile.in', but
   19540     # some people rename them; so instead we look at the file content.
   19541     # Grep'ing the first line is not enough: some people post-process
   19542     # each Makefile.in and add a new line on top of each file to say so.
   19543     # Grep'ing the whole file is not good either: AIX grep has a line
   19544     # limit of 2048, but all sed's we know have understand at least 4000.
   19545     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19546       dirpart=`$as_dirname -- "$mf" ||
   19547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19548 	 X"$mf" : 'X\(//\)[^/]' \| \
   19549 	 X"$mf" : 'X\(//\)$' \| \
   19550 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19551 $as_echo X"$mf" |
   19552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19553 	    s//\1/
   19554 	    q
   19555 	  }
   19556 	  /^X\(\/\/\)[^/].*/{
   19557 	    s//\1/
   19558 	    q
   19559 	  }
   19560 	  /^X\(\/\/\)$/{
   19561 	    s//\1/
   19562 	    q
   19563 	  }
   19564 	  /^X\(\/\).*/{
   19565 	    s//\1/
   19566 	    q
   19567 	  }
   19568 	  s/.*/./; q'`
   19569     else
   19570       continue
   19571     fi
   19572     # Extract the definition of DEPDIR, am__include, and am__quote
   19573     # from the Makefile without running 'make'.
   19574     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19575     test -z "$DEPDIR" && continue
   19576     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19577     test -z "$am__include" && continue
   19578     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19579     # Find all dependency output files, they are included files with
   19580     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19581     # simplest approach to changing $(DEPDIR) to its actual value in the
   19582     # expansion.
   19583     for file in `sed -n "
   19584       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19585 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19586       # Make sure the directory exists.
   19587       test -f "$dirpart/$file" && continue
   19588       fdir=`$as_dirname -- "$file" ||
   19589 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19590 	 X"$file" : 'X\(//\)[^/]' \| \
   19591 	 X"$file" : 'X\(//\)$' \| \
   19592 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19593 $as_echo X"$file" |
   19594     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19595 	    s//\1/
   19596 	    q
   19597 	  }
   19598 	  /^X\(\/\/\)[^/].*/{
   19599 	    s//\1/
   19600 	    q
   19601 	  }
   19602 	  /^X\(\/\/\)$/{
   19603 	    s//\1/
   19604 	    q
   19605 	  }
   19606 	  /^X\(\/\).*/{
   19607 	    s//\1/
   19608 	    q
   19609 	  }
   19610 	  s/.*/./; q'`
   19611       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19612       # echo "creating $dirpart/$file"
   19613       echo '# dummy' > "$dirpart/$file"
   19614     done
   19615   done
   19616 }
   19617  ;;
   19618     "libtool":C)
   19619 
   19620     # See if we are running on zsh, and set the options which allow our
   19621     # commands through without removal of \ escapes.
   19622     if test -n "${ZSH_VERSION+set}" ; then
   19623       setopt NO_GLOB_SUBST
   19624     fi
   19625 
   19626     cfgfile="${ofile}T"
   19627     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19628     $RM "$cfgfile"
   19629 
   19630     cat <<_LT_EOF >> "$cfgfile"
   19631 #! $SHELL
   19632 
   19633 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19634 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19635 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19636 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19637 #
   19638 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19639 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19640 #                 Foundation, Inc.
   19641 #   Written by Gordon Matzigkeit, 1996
   19642 #
   19643 #   This file is part of GNU Libtool.
   19644 #
   19645 # GNU Libtool is free software; you can redistribute it and/or
   19646 # modify it under the terms of the GNU General Public License as
   19647 # published by the Free Software Foundation; either version 2 of
   19648 # the License, or (at your option) any later version.
   19649 #
   19650 # As a special exception to the GNU General Public License,
   19651 # if you distribute this file as part of a program or library that
   19652 # is built using GNU Libtool, you may include this file under the
   19653 # same distribution terms that you use for the rest of that program.
   19654 #
   19655 # GNU Libtool is distributed in the hope that it will be useful,
   19656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19658 # GNU General Public License for more details.
   19659 #
   19660 # You should have received a copy of the GNU General Public License
   19661 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19662 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19663 # obtained by writing to the Free Software Foundation, Inc.,
   19664 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19665 
   19666 
   19667 # The names of the tagged configurations supported by this script.
   19668 available_tags=""
   19669 
   19670 # ### BEGIN LIBTOOL CONFIG
   19671 
   19672 # Which release of libtool.m4 was used?
   19673 macro_version=$macro_version
   19674 macro_revision=$macro_revision
   19675 
   19676 # Whether or not to build shared libraries.
   19677 build_libtool_libs=$enable_shared
   19678 
   19679 # Whether or not to build static libraries.
   19680 build_old_libs=$enable_static
   19681 
   19682 # What type of objects to build.
   19683 pic_mode=$pic_mode
   19684 
   19685 # Whether or not to optimize for fast installation.
   19686 fast_install=$enable_fast_install
   19687 
   19688 # Shell to use when invoking shell scripts.
   19689 SHELL=$lt_SHELL
   19690 
   19691 # An echo program that protects backslashes.
   19692 ECHO=$lt_ECHO
   19693 
   19694 # The PATH separator for the build system.
   19695 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19696 
   19697 # The host system.
   19698 host_alias=$host_alias
   19699 host=$host
   19700 host_os=$host_os
   19701 
   19702 # The build system.
   19703 build_alias=$build_alias
   19704 build=$build
   19705 build_os=$build_os
   19706 
   19707 # A sed program that does not truncate output.
   19708 SED=$lt_SED
   19709 
   19710 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19711 Xsed="\$SED -e 1s/^X//"
   19712 
   19713 # A grep program that handles long lines.
   19714 GREP=$lt_GREP
   19715 
   19716 # An ERE matcher.
   19717 EGREP=$lt_EGREP
   19718 
   19719 # A literal string matcher.
   19720 FGREP=$lt_FGREP
   19721 
   19722 # A BSD- or MS-compatible name lister.
   19723 NM=$lt_NM
   19724 
   19725 # Whether we need soft or hard links.
   19726 LN_S=$lt_LN_S
   19727 
   19728 # What is the maximum length of a command?
   19729 max_cmd_len=$max_cmd_len
   19730 
   19731 # Object file suffix (normally "o").
   19732 objext=$ac_objext
   19733 
   19734 # Executable file suffix (normally "").
   19735 exeext=$exeext
   19736 
   19737 # whether the shell understands "unset".
   19738 lt_unset=$lt_unset
   19739 
   19740 # turn spaces into newlines.
   19741 SP2NL=$lt_lt_SP2NL
   19742 
   19743 # turn newlines into spaces.
   19744 NL2SP=$lt_lt_NL2SP
   19745 
   19746 # convert \$build file names to \$host format.
   19747 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19748 
   19749 # convert \$build files to toolchain format.
   19750 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19751 
   19752 # An object symbol dumper.
   19753 OBJDUMP=$lt_OBJDUMP
   19754 
   19755 # Method to check whether dependent libraries are shared objects.
   19756 deplibs_check_method=$lt_deplibs_check_method
   19757 
   19758 # Command to use when deplibs_check_method = "file_magic".
   19759 file_magic_cmd=$lt_file_magic_cmd
   19760 
   19761 # How to find potential files when deplibs_check_method = "file_magic".
   19762 file_magic_glob=$lt_file_magic_glob
   19763 
   19764 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19765 want_nocaseglob=$lt_want_nocaseglob
   19766 
   19767 # DLL creation program.
   19768 DLLTOOL=$lt_DLLTOOL
   19769 
   19770 # Command to associate shared and link libraries.
   19771 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19772 
   19773 # The archiver.
   19774 AR=$lt_AR
   19775 
   19776 # Flags to create an archive.
   19777 AR_FLAGS=$lt_AR_FLAGS
   19778 
   19779 # How to feed a file listing to the archiver.
   19780 archiver_list_spec=$lt_archiver_list_spec
   19781 
   19782 # A symbol stripping program.
   19783 STRIP=$lt_STRIP
   19784 
   19785 # Commands used to install an old-style archive.
   19786 RANLIB=$lt_RANLIB
   19787 old_postinstall_cmds=$lt_old_postinstall_cmds
   19788 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19789 
   19790 # Whether to use a lock for old archive extraction.
   19791 lock_old_archive_extraction=$lock_old_archive_extraction
   19792 
   19793 # A C compiler.
   19794 LTCC=$lt_CC
   19795 
   19796 # LTCC compiler flags.
   19797 LTCFLAGS=$lt_CFLAGS
   19798 
   19799 # Take the output of nm and produce a listing of raw symbols and C names.
   19800 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19801 
   19802 # Transform the output of nm in a proper C declaration.
   19803 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19804 
   19805 # Transform the output of nm in a C name address pair.
   19806 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19807 
   19808 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19809 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19810 
   19811 # Specify filename containing input files for \$NM.
   19812 nm_file_list_spec=$lt_nm_file_list_spec
   19813 
   19814 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19815 lt_sysroot=$lt_sysroot
   19816 
   19817 # The name of the directory that contains temporary libtool files.
   19818 objdir=$objdir
   19819 
   19820 # Used to examine libraries when file_magic_cmd begins with "file".
   19821 MAGIC_CMD=$MAGIC_CMD
   19822 
   19823 # Must we lock files when doing compilation?
   19824 need_locks=$lt_need_locks
   19825 
   19826 # Manifest tool.
   19827 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19828 
   19829 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19830 DSYMUTIL=$lt_DSYMUTIL
   19831 
   19832 # Tool to change global to local symbols on Mac OS X.
   19833 NMEDIT=$lt_NMEDIT
   19834 
   19835 # Tool to manipulate fat objects and archives on Mac OS X.
   19836 LIPO=$lt_LIPO
   19837 
   19838 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19839 OTOOL=$lt_OTOOL
   19840 
   19841 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19842 OTOOL64=$lt_OTOOL64
   19843 
   19844 # Old archive suffix (normally "a").
   19845 libext=$libext
   19846 
   19847 # Shared library suffix (normally ".so").
   19848 shrext_cmds=$lt_shrext_cmds
   19849 
   19850 # The commands to extract the exported symbol list from a shared archive.
   19851 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19852 
   19853 # Variables whose values should be saved in libtool wrapper scripts and
   19854 # restored at link time.
   19855 variables_saved_for_relink=$lt_variables_saved_for_relink
   19856 
   19857 # Do we need the "lib" prefix for modules?
   19858 need_lib_prefix=$need_lib_prefix
   19859 
   19860 # Do we need a version for libraries?
   19861 need_version=$need_version
   19862 
   19863 # Library versioning type.
   19864 version_type=$version_type
   19865 
   19866 # Shared library runtime path variable.
   19867 runpath_var=$runpath_var
   19868 
   19869 # Shared library path variable.
   19870 shlibpath_var=$shlibpath_var
   19871 
   19872 # Is shlibpath searched before the hard-coded library search path?
   19873 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19874 
   19875 # Format of library name prefix.
   19876 libname_spec=$lt_libname_spec
   19877 
   19878 # List of archive names.  First name is the real one, the rest are links.
   19879 # The last name is the one that the linker finds with -lNAME
   19880 library_names_spec=$lt_library_names_spec
   19881 
   19882 # The coded name of the library, if different from the real name.
   19883 soname_spec=$lt_soname_spec
   19884 
   19885 # Permission mode override for installation of shared libraries.
   19886 install_override_mode=$lt_install_override_mode
   19887 
   19888 # Command to use after installation of a shared archive.
   19889 postinstall_cmds=$lt_postinstall_cmds
   19890 
   19891 # Command to use after uninstallation of a shared archive.
   19892 postuninstall_cmds=$lt_postuninstall_cmds
   19893 
   19894 # Commands used to finish a libtool library installation in a directory.
   19895 finish_cmds=$lt_finish_cmds
   19896 
   19897 # As "finish_cmds", except a single script fragment to be evaled but
   19898 # not shown.
   19899 finish_eval=$lt_finish_eval
   19900 
   19901 # Whether we should hardcode library paths into libraries.
   19902 hardcode_into_libs=$hardcode_into_libs
   19903 
   19904 # Compile-time system search path for libraries.
   19905 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19906 
   19907 # Run-time system search path for libraries.
   19908 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19909 
   19910 # Whether dlopen is supported.
   19911 dlopen_support=$enable_dlopen
   19912 
   19913 # Whether dlopen of programs is supported.
   19914 dlopen_self=$enable_dlopen_self
   19915 
   19916 # Whether dlopen of statically linked programs is supported.
   19917 dlopen_self_static=$enable_dlopen_self_static
   19918 
   19919 # Commands to strip libraries.
   19920 old_striplib=$lt_old_striplib
   19921 striplib=$lt_striplib
   19922 
   19923 
   19924 # The linker used to build libraries.
   19925 LD=$lt_LD
   19926 
   19927 # How to create reloadable object files.
   19928 reload_flag=$lt_reload_flag
   19929 reload_cmds=$lt_reload_cmds
   19930 
   19931 # Commands used to build an old-style archive.
   19932 old_archive_cmds=$lt_old_archive_cmds
   19933 
   19934 # A language specific compiler.
   19935 CC=$lt_compiler
   19936 
   19937 # Is the compiler the GNU compiler?
   19938 with_gcc=$GCC
   19939 
   19940 # Compiler flag to turn off builtin functions.
   19941 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19942 
   19943 # Additional compiler flags for building library objects.
   19944 pic_flag=$lt_lt_prog_compiler_pic
   19945 
   19946 # How to pass a linker flag through the compiler.
   19947 wl=$lt_lt_prog_compiler_wl
   19948 
   19949 # Compiler flag to prevent dynamic linking.
   19950 link_static_flag=$lt_lt_prog_compiler_static
   19951 
   19952 # Does compiler simultaneously support -c and -o options?
   19953 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19954 
   19955 # Whether or not to add -lc for building shared libraries.
   19956 build_libtool_need_lc=$archive_cmds_need_lc
   19957 
   19958 # Whether or not to disallow shared libs when runtime libs are static.
   19959 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19960 
   19961 # Compiler flag to allow reflexive dlopens.
   19962 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19963 
   19964 # Compiler flag to generate shared objects directly from archives.
   19965 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19966 
   19967 # Whether the compiler copes with passing no objects directly.
   19968 compiler_needs_object=$lt_compiler_needs_object
   19969 
   19970 # Create an old-style archive from a shared archive.
   19971 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19972 
   19973 # Create a temporary old-style archive to link instead of a shared archive.
   19974 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19975 
   19976 # Commands used to build a shared archive.
   19977 archive_cmds=$lt_archive_cmds
   19978 archive_expsym_cmds=$lt_archive_expsym_cmds
   19979 
   19980 # Commands used to build a loadable module if different from building
   19981 # a shared archive.
   19982 module_cmds=$lt_module_cmds
   19983 module_expsym_cmds=$lt_module_expsym_cmds
   19984 
   19985 # Whether we are building with GNU ld or not.
   19986 with_gnu_ld=$lt_with_gnu_ld
   19987 
   19988 # Flag that allows shared libraries with undefined symbols to be built.
   19989 allow_undefined_flag=$lt_allow_undefined_flag
   19990 
   19991 # Flag that enforces no undefined symbols.
   19992 no_undefined_flag=$lt_no_undefined_flag
   19993 
   19994 # Flag to hardcode \$libdir into a binary during linking.
   19995 # This must work even if \$libdir does not exist
   19996 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19997 
   19998 # Whether we need a single "-rpath" flag with a separated argument.
   19999 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20000 
   20001 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20002 # DIR into the resulting binary.
   20003 hardcode_direct=$hardcode_direct
   20004 
   20005 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20006 # DIR into the resulting binary and the resulting library dependency is
   20007 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20008 # library is relocated.
   20009 hardcode_direct_absolute=$hardcode_direct_absolute
   20010 
   20011 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20012 # into the resulting binary.
   20013 hardcode_minus_L=$hardcode_minus_L
   20014 
   20015 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20016 # into the resulting binary.
   20017 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20018 
   20019 # Set to "yes" if building a shared library automatically hardcodes DIR
   20020 # into the library and all subsequent libraries and executables linked
   20021 # against it.
   20022 hardcode_automatic=$hardcode_automatic
   20023 
   20024 # Set to yes if linker adds runtime paths of dependent libraries
   20025 # to runtime path list.
   20026 inherit_rpath=$inherit_rpath
   20027 
   20028 # Whether libtool must link a program against all its dependency libraries.
   20029 link_all_deplibs=$link_all_deplibs
   20030 
   20031 # Set to "yes" if exported symbols are required.
   20032 always_export_symbols=$always_export_symbols
   20033 
   20034 # The commands to list exported symbols.
   20035 export_symbols_cmds=$lt_export_symbols_cmds
   20036 
   20037 # Symbols that should not be listed in the preloaded symbols.
   20038 exclude_expsyms=$lt_exclude_expsyms
   20039 
   20040 # Symbols that must always be exported.
   20041 include_expsyms=$lt_include_expsyms
   20042 
   20043 # Commands necessary for linking programs (against libraries) with templates.
   20044 prelink_cmds=$lt_prelink_cmds
   20045 
   20046 # Commands necessary for finishing linking programs.
   20047 postlink_cmds=$lt_postlink_cmds
   20048 
   20049 # Specify filename containing input files.
   20050 file_list_spec=$lt_file_list_spec
   20051 
   20052 # How to hardcode a shared library path into an executable.
   20053 hardcode_action=$hardcode_action
   20054 
   20055 # ### END LIBTOOL CONFIG
   20056 
   20057 _LT_EOF
   20058 
   20059   case $host_os in
   20060   aix3*)
   20061     cat <<\_LT_EOF >> "$cfgfile"
   20062 # AIX sometimes has problems with the GCC collect2 program.  For some
   20063 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20064 # vanish in a puff of smoke.
   20065 if test "X${COLLECT_NAMES+set}" != Xset; then
   20066   COLLECT_NAMES=
   20067   export COLLECT_NAMES
   20068 fi
   20069 _LT_EOF
   20070     ;;
   20071   esac
   20072 
   20073 
   20074 ltmain="$ac_aux_dir/ltmain.sh"
   20075 
   20076 
   20077   # We use sed instead of cat because bash on DJGPP gets confused if
   20078   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20079   # text mode, it properly converts lines to CR/LF.  This bash problem
   20080   # is reportedly fixed, but why not run on old versions too?
   20081   sed '$q' "$ltmain" >> "$cfgfile" \
   20082      || (rm -f "$cfgfile"; exit 1)
   20083 
   20084   if test x"$xsi_shell" = xyes; then
   20085   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20086 func_dirname ()\
   20087 {\
   20088 \    case ${1} in\
   20089 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20090 \      *  ) func_dirname_result="${3}" ;;\
   20091 \    esac\
   20092 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20093   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20094     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20095 test 0 -eq $? || _lt_function_replace_fail=:
   20096 
   20097 
   20098   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20099 func_basename ()\
   20100 {\
   20101 \    func_basename_result="${1##*/}"\
   20102 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20103   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20104     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20105 test 0 -eq $? || _lt_function_replace_fail=:
   20106 
   20107 
   20108   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20109 func_dirname_and_basename ()\
   20110 {\
   20111 \    case ${1} in\
   20112 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20113 \      *  ) func_dirname_result="${3}" ;;\
   20114 \    esac\
   20115 \    func_basename_result="${1##*/}"\
   20116 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20117   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20118     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20119 test 0 -eq $? || _lt_function_replace_fail=:
   20120 
   20121 
   20122   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20123 func_stripname ()\
   20124 {\
   20125 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20126 \    # positional parameters, so assign one to ordinary parameter first.\
   20127 \    func_stripname_result=${3}\
   20128 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20129 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20130 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20131   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20132     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20133 test 0 -eq $? || _lt_function_replace_fail=:
   20134 
   20135 
   20136   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20137 func_split_long_opt ()\
   20138 {\
   20139 \    func_split_long_opt_name=${1%%=*}\
   20140 \    func_split_long_opt_arg=${1#*=}\
   20141 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20142   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20143     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20144 test 0 -eq $? || _lt_function_replace_fail=:
   20145 
   20146 
   20147   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20148 func_split_short_opt ()\
   20149 {\
   20150 \    func_split_short_opt_arg=${1#??}\
   20151 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20152 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20153   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20154     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20155 test 0 -eq $? || _lt_function_replace_fail=:
   20156 
   20157 
   20158   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20159 func_lo2o ()\
   20160 {\
   20161 \    case ${1} in\
   20162 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20163 \      *)    func_lo2o_result=${1} ;;\
   20164 \    esac\
   20165 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20166   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20167     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20168 test 0 -eq $? || _lt_function_replace_fail=:
   20169 
   20170 
   20171   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20172 func_xform ()\
   20173 {\
   20174     func_xform_result=${1%.*}.lo\
   20175 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20176   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20177     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20178 test 0 -eq $? || _lt_function_replace_fail=:
   20179 
   20180 
   20181   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20182 func_arith ()\
   20183 {\
   20184     func_arith_result=$(( $* ))\
   20185 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20186   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20187     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20188 test 0 -eq $? || _lt_function_replace_fail=:
   20189 
   20190 
   20191   sed -e '/^func_len ()$/,/^} # func_len /c\
   20192 func_len ()\
   20193 {\
   20194     func_len_result=${#1}\
   20195 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20196   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20197     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20198 test 0 -eq $? || _lt_function_replace_fail=:
   20199 
   20200 fi
   20201 
   20202 if test x"$lt_shell_append" = xyes; then
   20203   sed -e '/^func_append ()$/,/^} # func_append /c\
   20204 func_append ()\
   20205 {\
   20206     eval "${1}+=\\${2}"\
   20207 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20208   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20209     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20210 test 0 -eq $? || _lt_function_replace_fail=:
   20211 
   20212 
   20213   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20214 func_append_quoted ()\
   20215 {\
   20216 \    func_quote_for_eval "${2}"\
   20217 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20218 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20219   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20220     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20221 test 0 -eq $? || _lt_function_replace_fail=:
   20222 
   20223 
   20224   # Save a `func_append' function call where possible by direct use of '+='
   20225   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20226     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20227       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20228   test 0 -eq $? || _lt_function_replace_fail=:
   20229 else
   20230   # Save a `func_append' function call even when '+=' is not available
   20231   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20232     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20233       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20234   test 0 -eq $? || _lt_function_replace_fail=:
   20235 fi
   20236 
   20237 if test x"$_lt_function_replace_fail" = x":"; then
   20238   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20239 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20240 fi
   20241 
   20242 
   20243    mv -f "$cfgfile" "$ofile" ||
   20244     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20245   chmod +x "$ofile"
   20246 
   20247  ;;
   20248 
   20249   esac
   20250 done # for ac_tag
   20251 
   20252 
   20253 as_fn_exit 0
   20254 _ACEOF
   20255 ac_clean_files=$ac_clean_files_save
   20256 
   20257 test $ac_write_fail = 0 ||
   20258   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20259 
   20260 
   20261 # configure is writing to config.log, and then calls config.status.
   20262 # config.status does its own redirection, appending to config.log.
   20263 # Unfortunately, on DOS this fails, as config.log is still kept open
   20264 # by configure, so config.status won't be able to write to it; its
   20265 # output is simply discarded.  So we exec the FD to /dev/null,
   20266 # effectively closing config.log, so it can be properly (re)opened and
   20267 # appended to by config.status.  When coming back to configure, we
   20268 # need to make the FD available again.
   20269 if test "$no_create" != yes; then
   20270   ac_cs_success=:
   20271   ac_config_status_args=
   20272   test "$silent" = yes &&
   20273     ac_config_status_args="$ac_config_status_args --quiet"
   20274   exec 5>/dev/null
   20275   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20276   exec 5>>config.log
   20277   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20278   # would make configure fail if this is the last instruction.
   20279   $ac_cs_success || as_fn_exit 1
   20280 fi
   20281 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20282   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20283 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20284 fi
   20285 
   20286