Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXrender 0.9.8.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXrender'
    573 PACKAGE_TARNAME='libXrender'
    574 PACKAGE_VERSION='0.9.8'
    575 PACKAGE_STRING='libXrender 0.9.8'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 RENDER_LIBS
    621 RENDER_CFLAGS
    622 RENDER_VERSION
    623 XTMALLOC_ZERO_CFLAGS
    624 XMALLOC_ZERO_CFLAGS
    625 MALLOC_ZERO_CFLAGS
    626 MAN_SUBSTS
    627 XORG_MAN_PAGE
    628 ADMIN_MAN_DIR
    629 DRIVER_MAN_DIR
    630 MISC_MAN_DIR
    631 FILE_MAN_DIR
    632 LIB_MAN_DIR
    633 APP_MAN_DIR
    634 ADMIN_MAN_SUFFIX
    635 DRIVER_MAN_SUFFIX
    636 MISC_MAN_SUFFIX
    637 FILE_MAN_SUFFIX
    638 LIB_MAN_SUFFIX
    639 APP_MAN_SUFFIX
    640 INSTALL_CMD
    641 PKG_CONFIG
    642 CHANGELOG_CMD
    643 STRICT_CFLAGS
    644 CWARNFLAGS
    645 BASE_CFLAGS
    646 CPP
    647 OTOOL64
    648 OTOOL
    649 LIPO
    650 NMEDIT
    651 DSYMUTIL
    652 MANIFEST_TOOL
    653 RANLIB
    654 ac_ct_AR
    655 AR
    656 DLLTOOL
    657 OBJDUMP
    658 LN_S
    659 NM
    660 ac_ct_DUMPBIN
    661 DUMPBIN
    662 LD
    663 FGREP
    664 EGREP
    665 GREP
    666 SED
    667 am__fastdepCC_FALSE
    668 am__fastdepCC_TRUE
    669 CCDEPMODE
    670 am__nodep
    671 AMDEPBACKSLASH
    672 AMDEP_FALSE
    673 AMDEP_TRUE
    674 am__quote
    675 am__include
    676 DEPDIR
    677 OBJEXT
    678 EXEEXT
    679 ac_ct_CC
    680 CPPFLAGS
    681 LDFLAGS
    682 CFLAGS
    683 CC
    684 host_os
    685 host_vendor
    686 host_cpu
    687 host
    688 build_os
    689 build_vendor
    690 build_cpu
    691 build
    692 LIBTOOL
    693 AM_BACKSLASH
    694 AM_DEFAULT_VERBOSITY
    695 AM_DEFAULT_V
    696 AM_V
    697 am__untar
    698 am__tar
    699 AMTAR
    700 am__leading_dot
    701 SET_MAKE
    702 AWK
    703 mkdir_p
    704 MKDIR_P
    705 INSTALL_STRIP_PROGRAM
    706 STRIP
    707 install_sh
    708 MAKEINFO
    709 AUTOHEADER
    710 AUTOMAKE
    711 AUTOCONF
    712 ACLOCAL
    713 VERSION
    714 PACKAGE
    715 CYGPATH_W
    716 am__isrc
    717 INSTALL_DATA
    718 INSTALL_SCRIPT
    719 INSTALL_PROGRAM
    720 target_alias
    721 host_alias
    722 build_alias
    723 LIBS
    724 ECHO_T
    725 ECHO_N
    726 ECHO_C
    727 DEFS
    728 mandir
    729 localedir
    730 libdir
    731 psdir
    732 pdfdir
    733 dvidir
    734 htmldir
    735 infodir
    736 docdir
    737 oldincludedir
    738 includedir
    739 localstatedir
    740 sharedstatedir
    741 sysconfdir
    742 datadir
    743 datarootdir
    744 libexecdir
    745 sbindir
    746 bindir
    747 program_transform_name
    748 prefix
    749 exec_prefix
    750 PACKAGE_URL
    751 PACKAGE_BUGREPORT
    752 PACKAGE_STRING
    753 PACKAGE_VERSION
    754 PACKAGE_TARNAME
    755 PACKAGE_NAME
    756 PATH_SEPARATOR
    757 SHELL'
    758 ac_subst_files=''
    759 ac_user_opts='
    760 enable_option_checking
    761 enable_silent_rules
    762 enable_shared
    763 enable_static
    764 with_pic
    765 enable_fast_install
    766 enable_dependency_tracking
    767 with_gnu_ld
    768 with_sysroot
    769 enable_libtool_lock
    770 enable_selective_werror
    771 enable_strict_compilation
    772 enable_malloc0returnsnull
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 CPP
    783 PKG_CONFIG
    784 RENDER_CFLAGS
    785 RENDER_LIBS'
    786 
    787 
    788 # Initialize some variables set by options.
    789 ac_init_help=
    790 ac_init_version=false
    791 ac_unrecognized_opts=
    792 ac_unrecognized_sep=
    793 # The variables have the same names as the options, with
    794 # dashes changed to underlines.
    795 cache_file=/dev/null
    796 exec_prefix=NONE
    797 no_create=
    798 no_recursion=
    799 prefix=NONE
    800 program_prefix=NONE
    801 program_suffix=NONE
    802 program_transform_name=s,x,x,
    803 silent=
    804 site=
    805 srcdir=
    806 verbose=
    807 x_includes=NONE
    808 x_libraries=NONE
    809 
    810 # Installation directory options.
    811 # These are left unexpanded so users can "make install exec_prefix=/foo"
    812 # and all the variables that are supposed to be based on exec_prefix
    813 # by default will actually change.
    814 # Use braces instead of parens because sh, perl, etc. also accept them.
    815 # (The list follows the same order as the GNU Coding Standards.)
    816 bindir='${exec_prefix}/bin'
    817 sbindir='${exec_prefix}/sbin'
    818 libexecdir='${exec_prefix}/libexec'
    819 datarootdir='${prefix}/share'
    820 datadir='${datarootdir}'
    821 sysconfdir='${prefix}/etc'
    822 sharedstatedir='${prefix}/com'
    823 localstatedir='${prefix}/var'
    824 includedir='${prefix}/include'
    825 oldincludedir='/usr/include'
    826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    827 infodir='${datarootdir}/info'
    828 htmldir='${docdir}'
    829 dvidir='${docdir}'
    830 pdfdir='${docdir}'
    831 psdir='${docdir}'
    832 libdir='${exec_prefix}/lib'
    833 localedir='${datarootdir}/locale'
    834 mandir='${datarootdir}/man'
    835 
    836 ac_prev=
    837 ac_dashdash=
    838 for ac_option
    839 do
    840   # If the previous option needs an argument, assign it.
    841   if test -n "$ac_prev"; then
    842     eval $ac_prev=\$ac_option
    843     ac_prev=
    844     continue
    845   fi
    846 
    847   case $ac_option in
    848   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    849   *=)   ac_optarg= ;;
    850   *)    ac_optarg=yes ;;
    851   esac
    852 
    853   # Accept the important Cygnus configure options, so we can diagnose typos.
    854 
    855   case $ac_dashdash$ac_option in
    856   --)
    857     ac_dashdash=yes ;;
    858 
    859   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    860     ac_prev=bindir ;;
    861   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    862     bindir=$ac_optarg ;;
    863 
    864   -build | --build | --buil | --bui | --bu)
    865     ac_prev=build_alias ;;
    866   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    867     build_alias=$ac_optarg ;;
    868 
    869   -cache-file | --cache-file | --cache-fil | --cache-fi \
    870   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    871     ac_prev=cache_file ;;
    872   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    873   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    874     cache_file=$ac_optarg ;;
    875 
    876   --config-cache | -C)
    877     cache_file=config.cache ;;
    878 
    879   -datadir | --datadir | --datadi | --datad)
    880     ac_prev=datadir ;;
    881   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    882     datadir=$ac_optarg ;;
    883 
    884   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    885   | --dataroo | --dataro | --datar)
    886     ac_prev=datarootdir ;;
    887   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    888   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    889     datarootdir=$ac_optarg ;;
    890 
    891   -disable-* | --disable-*)
    892     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    893     # Reject names that are not valid shell variable names.
    894     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    895       as_fn_error $? "invalid feature name: $ac_useropt"
    896     ac_useropt_orig=$ac_useropt
    897     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    898     case $ac_user_opts in
    899       *"
    900 "enable_$ac_useropt"
    901 "*) ;;
    902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    903 	 ac_unrecognized_sep=', ';;
    904     esac
    905     eval enable_$ac_useropt=no ;;
    906 
    907   -docdir | --docdir | --docdi | --doc | --do)
    908     ac_prev=docdir ;;
    909   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    910     docdir=$ac_optarg ;;
    911 
    912   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    913     ac_prev=dvidir ;;
    914   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    915     dvidir=$ac_optarg ;;
    916 
    917   -enable-* | --enable-*)
    918     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    919     # Reject names that are not valid shell variable names.
    920     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    921       as_fn_error $? "invalid feature name: $ac_useropt"
    922     ac_useropt_orig=$ac_useropt
    923     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    924     case $ac_user_opts in
    925       *"
    926 "enable_$ac_useropt"
    927 "*) ;;
    928       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    929 	 ac_unrecognized_sep=', ';;
    930     esac
    931     eval enable_$ac_useropt=\$ac_optarg ;;
    932 
    933   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    934   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    935   | --exec | --exe | --ex)
    936     ac_prev=exec_prefix ;;
    937   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    938   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    939   | --exec=* | --exe=* | --ex=*)
    940     exec_prefix=$ac_optarg ;;
    941 
    942   -gas | --gas | --ga | --g)
    943     # Obsolete; use --with-gas.
    944     with_gas=yes ;;
    945 
    946   -help | --help | --hel | --he | -h)
    947     ac_init_help=long ;;
    948   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    949     ac_init_help=recursive ;;
    950   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    951     ac_init_help=short ;;
    952 
    953   -host | --host | --hos | --ho)
    954     ac_prev=host_alias ;;
    955   -host=* | --host=* | --hos=* | --ho=*)
    956     host_alias=$ac_optarg ;;
    957 
    958   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    959     ac_prev=htmldir ;;
    960   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    961   | --ht=*)
    962     htmldir=$ac_optarg ;;
    963 
    964   -includedir | --includedir | --includedi | --included | --include \
    965   | --includ | --inclu | --incl | --inc)
    966     ac_prev=includedir ;;
    967   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    968   | --includ=* | --inclu=* | --incl=* | --inc=*)
    969     includedir=$ac_optarg ;;
    970 
    971   -infodir | --infodir | --infodi | --infod | --info | --inf)
    972     ac_prev=infodir ;;
    973   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    974     infodir=$ac_optarg ;;
    975 
    976   -libdir | --libdir | --libdi | --libd)
    977     ac_prev=libdir ;;
    978   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    979     libdir=$ac_optarg ;;
    980 
    981   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    982   | --libexe | --libex | --libe)
    983     ac_prev=libexecdir ;;
    984   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    985   | --libexe=* | --libex=* | --libe=*)
    986     libexecdir=$ac_optarg ;;
    987 
    988   -localedir | --localedir | --localedi | --localed | --locale)
    989     ac_prev=localedir ;;
    990   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    991     localedir=$ac_optarg ;;
    992 
    993   -localstatedir | --localstatedir | --localstatedi | --localstated \
    994   | --localstate | --localstat | --localsta | --localst | --locals)
    995     ac_prev=localstatedir ;;
    996   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    997   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    998     localstatedir=$ac_optarg ;;
    999 
   1000   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1001     ac_prev=mandir ;;
   1002   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1003     mandir=$ac_optarg ;;
   1004 
   1005   -nfp | --nfp | --nf)
   1006     # Obsolete; use --without-fp.
   1007     with_fp=no ;;
   1008 
   1009   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1010   | --no-cr | --no-c | -n)
   1011     no_create=yes ;;
   1012 
   1013   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1014   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1015     no_recursion=yes ;;
   1016 
   1017   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1018   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1019   | --oldin | --oldi | --old | --ol | --o)
   1020     ac_prev=oldincludedir ;;
   1021   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1022   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1023   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1024     oldincludedir=$ac_optarg ;;
   1025 
   1026   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1027     ac_prev=prefix ;;
   1028   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1029     prefix=$ac_optarg ;;
   1030 
   1031   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1032   | --program-pre | --program-pr | --program-p)
   1033     ac_prev=program_prefix ;;
   1034   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1035   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1036     program_prefix=$ac_optarg ;;
   1037 
   1038   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1039   | --program-suf | --program-su | --program-s)
   1040     ac_prev=program_suffix ;;
   1041   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1042   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1043     program_suffix=$ac_optarg ;;
   1044 
   1045   -program-transform-name | --program-transform-name \
   1046   | --program-transform-nam | --program-transform-na \
   1047   | --program-transform-n | --program-transform- \
   1048   | --program-transform | --program-transfor \
   1049   | --program-transfo | --program-transf \
   1050   | --program-trans | --program-tran \
   1051   | --progr-tra | --program-tr | --program-t)
   1052     ac_prev=program_transform_name ;;
   1053   -program-transform-name=* | --program-transform-name=* \
   1054   | --program-transform-nam=* | --program-transform-na=* \
   1055   | --program-transform-n=* | --program-transform-=* \
   1056   | --program-transform=* | --program-transfor=* \
   1057   | --program-transfo=* | --program-transf=* \
   1058   | --program-trans=* | --program-tran=* \
   1059   | --progr-tra=* | --program-tr=* | --program-t=*)
   1060     program_transform_name=$ac_optarg ;;
   1061 
   1062   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1063     ac_prev=pdfdir ;;
   1064   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1065     pdfdir=$ac_optarg ;;
   1066 
   1067   -psdir | --psdir | --psdi | --psd | --ps)
   1068     ac_prev=psdir ;;
   1069   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1070     psdir=$ac_optarg ;;
   1071 
   1072   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1073   | -silent | --silent | --silen | --sile | --sil)
   1074     silent=yes ;;
   1075 
   1076   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1077     ac_prev=sbindir ;;
   1078   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1079   | --sbi=* | --sb=*)
   1080     sbindir=$ac_optarg ;;
   1081 
   1082   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1083   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1084   | --sharedst | --shareds | --shared | --share | --shar \
   1085   | --sha | --sh)
   1086     ac_prev=sharedstatedir ;;
   1087   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1088   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1089   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1090   | --sha=* | --sh=*)
   1091     sharedstatedir=$ac_optarg ;;
   1092 
   1093   -site | --site | --sit)
   1094     ac_prev=site ;;
   1095   -site=* | --site=* | --sit=*)
   1096     site=$ac_optarg ;;
   1097 
   1098   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1099     ac_prev=srcdir ;;
   1100   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1101     srcdir=$ac_optarg ;;
   1102 
   1103   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1104   | --syscon | --sysco | --sysc | --sys | --sy)
   1105     ac_prev=sysconfdir ;;
   1106   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1107   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1108     sysconfdir=$ac_optarg ;;
   1109 
   1110   -target | --target | --targe | --targ | --tar | --ta | --t)
   1111     ac_prev=target_alias ;;
   1112   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1113     target_alias=$ac_optarg ;;
   1114 
   1115   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1116     verbose=yes ;;
   1117 
   1118   -version | --version | --versio | --versi | --vers | -V)
   1119     ac_init_version=: ;;
   1120 
   1121   -with-* | --with-*)
   1122     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1123     # Reject names that are not valid shell variable names.
   1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1125       as_fn_error $? "invalid package name: $ac_useropt"
   1126     ac_useropt_orig=$ac_useropt
   1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1128     case $ac_user_opts in
   1129       *"
   1130 "with_$ac_useropt"
   1131 "*) ;;
   1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1133 	 ac_unrecognized_sep=', ';;
   1134     esac
   1135     eval with_$ac_useropt=\$ac_optarg ;;
   1136 
   1137   -without-* | --without-*)
   1138     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1139     # Reject names that are not valid shell variable names.
   1140     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1141       as_fn_error $? "invalid package name: $ac_useropt"
   1142     ac_useropt_orig=$ac_useropt
   1143     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1144     case $ac_user_opts in
   1145       *"
   1146 "with_$ac_useropt"
   1147 "*) ;;
   1148       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1149 	 ac_unrecognized_sep=', ';;
   1150     esac
   1151     eval with_$ac_useropt=no ;;
   1152 
   1153   --x)
   1154     # Obsolete; use --with-x.
   1155     with_x=yes ;;
   1156 
   1157   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1158   | --x-incl | --x-inc | --x-in | --x-i)
   1159     ac_prev=x_includes ;;
   1160   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1161   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1162     x_includes=$ac_optarg ;;
   1163 
   1164   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1165   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1166     ac_prev=x_libraries ;;
   1167   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1168   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1169     x_libraries=$ac_optarg ;;
   1170 
   1171   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1172 Try \`$0 --help' for more information"
   1173     ;;
   1174 
   1175   *=*)
   1176     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1177     # Reject names that are not valid shell variable names.
   1178     case $ac_envvar in #(
   1179       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1180       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1181     esac
   1182     eval $ac_envvar=\$ac_optarg
   1183     export $ac_envvar ;;
   1184 
   1185   *)
   1186     # FIXME: should be removed in autoconf 3.0.
   1187     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1188     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1189       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1190     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1191     ;;
   1192 
   1193   esac
   1194 done
   1195 
   1196 if test -n "$ac_prev"; then
   1197   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1198   as_fn_error $? "missing argument to $ac_option"
   1199 fi
   1200 
   1201 if test -n "$ac_unrecognized_opts"; then
   1202   case $enable_option_checking in
   1203     no) ;;
   1204     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1205     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1206   esac
   1207 fi
   1208 
   1209 # Check all directory arguments for consistency.
   1210 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1211 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1212 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1213 		libdir localedir mandir
   1214 do
   1215   eval ac_val=\$$ac_var
   1216   # Remove trailing slashes.
   1217   case $ac_val in
   1218     */ )
   1219       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1220       eval $ac_var=\$ac_val;;
   1221   esac
   1222   # Be sure to have absolute directory names.
   1223   case $ac_val in
   1224     [\\/$]* | ?:[\\/]* )  continue;;
   1225     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1226   esac
   1227   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1228 done
   1229 
   1230 # There might be people who depend on the old broken behavior: `$host'
   1231 # used to hold the argument of --host etc.
   1232 # FIXME: To remove some day.
   1233 build=$build_alias
   1234 host=$host_alias
   1235 target=$target_alias
   1236 
   1237 # FIXME: To remove some day.
   1238 if test "x$host_alias" != x; then
   1239   if test "x$build_alias" = x; then
   1240     cross_compiling=maybe
   1241     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1242     If a cross compiler is detected then cross compile mode will be used" >&2
   1243   elif test "x$build_alias" != "x$host_alias"; then
   1244     cross_compiling=yes
   1245   fi
   1246 fi
   1247 
   1248 ac_tool_prefix=
   1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1250 
   1251 test "$silent" = yes && exec 6>/dev/null
   1252 
   1253 
   1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1255 ac_ls_di=`ls -di .` &&
   1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1257   as_fn_error $? "working directory cannot be determined"
   1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1259   as_fn_error $? "pwd does not report name of working directory"
   1260 
   1261 
   1262 # Find the source files, if location was not specified.
   1263 if test -z "$srcdir"; then
   1264   ac_srcdir_defaulted=yes
   1265   # Try the directory containing this script, then the parent directory.
   1266   ac_confdir=`$as_dirname -- "$as_myself" ||
   1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1268 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1269 	 X"$as_myself" : 'X\(//\)$' \| \
   1270 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1271 $as_echo X"$as_myself" |
   1272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)[^/].*/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\/\)$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\).*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  s/.*/./; q'`
   1289   srcdir=$ac_confdir
   1290   if test ! -r "$srcdir/$ac_unique_file"; then
   1291     srcdir=..
   1292   fi
   1293 else
   1294   ac_srcdir_defaulted=no
   1295 fi
   1296 if test ! -r "$srcdir/$ac_unique_file"; then
   1297   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1298   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1299 fi
   1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1301 ac_abs_confdir=`(
   1302 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1303 	pwd)`
   1304 # When building in place, set srcdir=.
   1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1306   srcdir=.
   1307 fi
   1308 # Remove unnecessary trailing slashes from srcdir.
   1309 # Double slashes in file names in object file debugging info
   1310 # mess up M-x gdb in Emacs.
   1311 case $srcdir in
   1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1313 esac
   1314 for ac_var in $ac_precious_vars; do
   1315   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1316   eval ac_env_${ac_var}_value=\$${ac_var}
   1317   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1319 done
   1320 
   1321 #
   1322 # Report the --help message.
   1323 #
   1324 if test "$ac_init_help" = "long"; then
   1325   # Omit some internal or obsolete options to make the list less imposing.
   1326   # This message is too long to be a string in the A/UX 3.1 sh.
   1327   cat <<_ACEOF
   1328 \`configure' configures libXrender 0.9.8 to adapt to many kinds of systems.
   1329 
   1330 Usage: $0 [OPTION]... [VAR=VALUE]...
   1331 
   1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1333 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1334 
   1335 Defaults for the options are specified in brackets.
   1336 
   1337 Configuration:
   1338   -h, --help              display this help and exit
   1339       --help=short        display options specific to this package
   1340       --help=recursive    display the short help of all the included packages
   1341   -V, --version           display version information and exit
   1342   -q, --quiet, --silent   do not print \`checking ...' messages
   1343       --cache-file=FILE   cache test results in FILE [disabled]
   1344   -C, --config-cache      alias for \`--cache-file=config.cache'
   1345   -n, --no-create         do not create output files
   1346       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1347 
   1348 Installation directories:
   1349   --prefix=PREFIX         install architecture-independent files in PREFIX
   1350                           [$ac_default_prefix]
   1351   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1352                           [PREFIX]
   1353 
   1354 By default, \`make install' will install all the files in
   1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1357 for instance \`--prefix=\$HOME'.
   1358 
   1359 For better control, use the options below.
   1360 
   1361 Fine tuning of the installation directories:
   1362   --bindir=DIR            user executables [EPREFIX/bin]
   1363   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1364   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1365   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1366   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1367   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1368   --libdir=DIR            object code libraries [EPREFIX/lib]
   1369   --includedir=DIR        C header files [PREFIX/include]
   1370   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1371   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1372   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1373   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1374   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1375   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1376   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrender]
   1377   --htmldir=DIR           html documentation [DOCDIR]
   1378   --dvidir=DIR            dvi documentation [DOCDIR]
   1379   --pdfdir=DIR            pdf documentation [DOCDIR]
   1380   --psdir=DIR             ps documentation [DOCDIR]
   1381 _ACEOF
   1382 
   1383   cat <<\_ACEOF
   1384 
   1385 Program names:
   1386   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1387   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1388   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1389 
   1390 System types:
   1391   --build=BUILD     configure for building on BUILD [guessed]
   1392   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1393 _ACEOF
   1394 fi
   1395 
   1396 if test -n "$ac_init_help"; then
   1397   case $ac_init_help in
   1398      short | recursive ) echo "Configuration of libXrender 0.9.8:";;
   1399    esac
   1400   cat <<\_ACEOF
   1401 
   1402 Optional Features:
   1403   --disable-option-checking  ignore unrecognized --enable/--with options
   1404   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1405   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1406   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1407   --disable-silent-rules  verbose build output (undo: "make V=0")
   1408   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1409   --enable-static[=PKGS]  build static libraries [default=yes]
   1410   --enable-fast-install[=PKGS]
   1411                           optimize for fast installation [default=yes]
   1412   --enable-dependency-tracking
   1413                           do not reject slow dependency extractors
   1414   --disable-dependency-tracking
   1415                           speeds up one-time build
   1416   --disable-libtool-lock  avoid locking (might break parallel builds)
   1417   --disable-selective-werror
   1418                           Turn off selective compiler errors. (default:
   1419                           enabled)
   1420   --enable-strict-compilation
   1421                           Enable all warnings from compiler and make them
   1422                           errors (default: disabled)
   1423   --enable-malloc0returnsnull
   1424                           malloc(0) returns NULL (default: auto)
   1425 
   1426 Optional Packages:
   1427   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1428   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1429   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1430                           both]
   1431   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1432   --with-sysroot=DIR Search for dependent libraries within DIR
   1433                         (or the compiler's sysroot if not specified).
   1434 
   1435 Some influential environment variables:
   1436   CC          C compiler command
   1437   CFLAGS      C compiler flags
   1438   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1439               nonstandard directory <lib dir>
   1440   LIBS        libraries to pass to the linker, e.g. -l<library>
   1441   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1442               you have headers in a nonstandard directory <include dir>
   1443   CPP         C preprocessor
   1444   PKG_CONFIG  path to pkg-config utility
   1445   RENDER_CFLAGS
   1446               C compiler flags for RENDER, overriding pkg-config
   1447   RENDER_LIBS linker flags for RENDER, overriding pkg-config
   1448 
   1449 Use these variables to override the choices made by `configure' or to help
   1450 it to find libraries and programs with nonstandard names/locations.
   1451 
   1452 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1453 _ACEOF
   1454 ac_status=$?
   1455 fi
   1456 
   1457 if test "$ac_init_help" = "recursive"; then
   1458   # If there are subdirs, report their specific --help.
   1459   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1460     test -d "$ac_dir" ||
   1461       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1462       continue
   1463     ac_builddir=.
   1464 
   1465 case "$ac_dir" in
   1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1467 *)
   1468   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1469   # A ".." for each directory in $ac_dir_suffix.
   1470   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1471   case $ac_top_builddir_sub in
   1472   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1473   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1474   esac ;;
   1475 esac
   1476 ac_abs_top_builddir=$ac_pwd
   1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1478 # for backward compatibility:
   1479 ac_top_builddir=$ac_top_build_prefix
   1480 
   1481 case $srcdir in
   1482   .)  # We are building in place.
   1483     ac_srcdir=.
   1484     ac_top_srcdir=$ac_top_builddir_sub
   1485     ac_abs_top_srcdir=$ac_pwd ;;
   1486   [\\/]* | ?:[\\/]* )  # Absolute name.
   1487     ac_srcdir=$srcdir$ac_dir_suffix;
   1488     ac_top_srcdir=$srcdir
   1489     ac_abs_top_srcdir=$srcdir ;;
   1490   *) # Relative name.
   1491     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1492     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1493     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1494 esac
   1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1496 
   1497     cd "$ac_dir" || { ac_status=$?; continue; }
   1498     # Check for guested configure.
   1499     if test -f "$ac_srcdir/configure.gnu"; then
   1500       echo &&
   1501       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1502     elif test -f "$ac_srcdir/configure"; then
   1503       echo &&
   1504       $SHELL "$ac_srcdir/configure" --help=recursive
   1505     else
   1506       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1507     fi || ac_status=$?
   1508     cd "$ac_pwd" || { ac_status=$?; break; }
   1509   done
   1510 fi
   1511 
   1512 test -n "$ac_init_help" && exit $ac_status
   1513 if $ac_init_version; then
   1514   cat <<\_ACEOF
   1515 libXrender configure 0.9.8
   1516 generated by GNU Autoconf 2.68
   1517 
   1518 Copyright (C) 2010 Free Software Foundation, Inc.
   1519 This configure script is free software; the Free Software Foundation
   1520 gives unlimited permission to copy, distribute and modify it.
   1521 _ACEOF
   1522   exit
   1523 fi
   1524 
   1525 ## ------------------------ ##
   1526 ## Autoconf initialization. ##
   1527 ## ------------------------ ##
   1528 
   1529 # ac_fn_c_try_compile LINENO
   1530 # --------------------------
   1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1532 ac_fn_c_try_compile ()
   1533 {
   1534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1535   rm -f conftest.$ac_objext
   1536   if { { ac_try="$ac_compile"
   1537 case "(($ac_try" in
   1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1539   *) ac_try_echo=$ac_try;;
   1540 esac
   1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1542 $as_echo "$ac_try_echo"; } >&5
   1543   (eval "$ac_compile") 2>conftest.err
   1544   ac_status=$?
   1545   if test -s conftest.err; then
   1546     grep -v '^ *+' conftest.err >conftest.er1
   1547     cat conftest.er1 >&5
   1548     mv -f conftest.er1 conftest.err
   1549   fi
   1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1551   test $ac_status = 0; } && {
   1552 	 test -z "$ac_c_werror_flag" ||
   1553 	 test ! -s conftest.err
   1554        } && test -s conftest.$ac_objext; then :
   1555   ac_retval=0
   1556 else
   1557   $as_echo "$as_me: failed program was:" >&5
   1558 sed 's/^/| /' conftest.$ac_ext >&5
   1559 
   1560 	ac_retval=1
   1561 fi
   1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1563   as_fn_set_status $ac_retval
   1564 
   1565 } # ac_fn_c_try_compile
   1566 
   1567 # ac_fn_c_try_link LINENO
   1568 # -----------------------
   1569 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1570 ac_fn_c_try_link ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   rm -f conftest.$ac_objext conftest$ac_exeext
   1574   if { { ac_try="$ac_link"
   1575 case "(($ac_try" in
   1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1577   *) ac_try_echo=$ac_try;;
   1578 esac
   1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1580 $as_echo "$ac_try_echo"; } >&5
   1581   (eval "$ac_link") 2>conftest.err
   1582   ac_status=$?
   1583   if test -s conftest.err; then
   1584     grep -v '^ *+' conftest.err >conftest.er1
   1585     cat conftest.er1 >&5
   1586     mv -f conftest.er1 conftest.err
   1587   fi
   1588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1589   test $ac_status = 0; } && {
   1590 	 test -z "$ac_c_werror_flag" ||
   1591 	 test ! -s conftest.err
   1592        } && test -s conftest$ac_exeext && {
   1593 	 test "$cross_compiling" = yes ||
   1594 	 $as_test_x conftest$ac_exeext
   1595        }; then :
   1596   ac_retval=0
   1597 else
   1598   $as_echo "$as_me: failed program was:" >&5
   1599 sed 's/^/| /' conftest.$ac_ext >&5
   1600 
   1601 	ac_retval=1
   1602 fi
   1603   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1604   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1605   # interfere with the next link command; also delete a directory that is
   1606   # left behind by Apple's compiler.  We do this before executing the actions.
   1607   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1608   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1609   as_fn_set_status $ac_retval
   1610 
   1611 } # ac_fn_c_try_link
   1612 
   1613 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1614 # -------------------------------------------------------
   1615 # Tests whether HEADER exists and can be compiled using the include files in
   1616 # INCLUDES, setting the cache variable VAR accordingly.
   1617 ac_fn_c_check_header_compile ()
   1618 {
   1619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1621 $as_echo_n "checking for $2... " >&6; }
   1622 if eval \${$3+:} false; then :
   1623   $as_echo_n "(cached) " >&6
   1624 else
   1625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1626 /* end confdefs.h.  */
   1627 $4
   1628 #include <$2>
   1629 _ACEOF
   1630 if ac_fn_c_try_compile "$LINENO"; then :
   1631   eval "$3=yes"
   1632 else
   1633   eval "$3=no"
   1634 fi
   1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 $as_echo "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_c_check_header_compile
   1643 
   1644 # ac_fn_c_try_cpp LINENO
   1645 # ----------------------
   1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_cpp ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } > conftest.i && {
   1666 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674     ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_cpp
   1680 
   1681 # ac_fn_c_try_run LINENO
   1682 # ----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1684 # that executables *can* be run.
   1685 ac_fn_c_try_run ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>&5
   1696   ac_status=$?
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1699   { { case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_try") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; }; }; then :
   1709   ac_retval=0
   1710 else
   1711   $as_echo "$as_me: program exited with status $ac_status" >&5
   1712        $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715        ac_retval=$ac_status
   1716 fi
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_run
   1722 
   1723 # ac_fn_c_check_func LINENO FUNC VAR
   1724 # ----------------------------------
   1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1726 ac_fn_c_check_func ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1735 /* end confdefs.h.  */
   1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1738 #define $2 innocuous_$2
   1739 
   1740 /* System header to define __stub macros and hopefully few prototypes,
   1741     which can conflict with char $2 (); below.
   1742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1743     <limits.h> exists even on freestanding compilers.  */
   1744 
   1745 #ifdef __STDC__
   1746 # include <limits.h>
   1747 #else
   1748 # include <assert.h>
   1749 #endif
   1750 
   1751 #undef $2
   1752 
   1753 /* Override any GCC internal prototype to avoid an error.
   1754    Use char because int might match the return type of a GCC
   1755    builtin and then its argument prototype would still apply.  */
   1756 #ifdef __cplusplus
   1757 extern "C"
   1758 #endif
   1759 char $2 ();
   1760 /* The GNU C library defines this for functions which it implements
   1761     to always fail with ENOSYS.  Some functions are actually named
   1762     something starting with __ and the normal name is an alias.  */
   1763 #if defined __stub_$2 || defined __stub___$2
   1764 choke me
   1765 #endif
   1766 
   1767 int
   1768 main ()
   1769 {
   1770 return $2 ();
   1771   ;
   1772   return 0;
   1773 }
   1774 _ACEOF
   1775 if ac_fn_c_try_link "$LINENO"; then :
   1776   eval "$3=yes"
   1777 else
   1778   eval "$3=no"
   1779 fi
   1780 rm -f core conftest.err conftest.$ac_objext \
   1781     conftest$ac_exeext conftest.$ac_ext
   1782 fi
   1783 eval ac_res=\$$3
   1784 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1785 $as_echo "$ac_res" >&6; }
   1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1787 
   1788 } # ac_fn_c_check_func
   1789 
   1790 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1791 # ---------------------------------------------
   1792 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1793 # accordingly.
   1794 ac_fn_c_check_decl ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1798   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1800 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1801 if eval \${$3+:} false; then :
   1802   $as_echo_n "(cached) " >&6
   1803 else
   1804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1805 /* end confdefs.h.  */
   1806 $4
   1807 int
   1808 main ()
   1809 {
   1810 #ifndef $as_decl_name
   1811 #ifdef __cplusplus
   1812   (void) $as_decl_use;
   1813 #else
   1814   (void) $as_decl_name;
   1815 #endif
   1816 #endif
   1817 
   1818   ;
   1819   return 0;
   1820 }
   1821 _ACEOF
   1822 if ac_fn_c_try_compile "$LINENO"; then :
   1823   eval "$3=yes"
   1824 else
   1825   eval "$3=no"
   1826 fi
   1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1828 fi
   1829 eval ac_res=\$$3
   1830 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1831 $as_echo "$ac_res" >&6; }
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833 
   1834 } # ac_fn_c_check_decl
   1835 cat >config.log <<_ACEOF
   1836 This file contains any messages produced by compilers while
   1837 running configure, to aid debugging if configure makes a mistake.
   1838 
   1839 It was created by libXrender $as_me 0.9.8, which was
   1840 generated by GNU Autoconf 2.68.  Invocation command line was
   1841 
   1842   $ $0 $@
   1843 
   1844 _ACEOF
   1845 exec 5>>config.log
   1846 {
   1847 cat <<_ASUNAME
   1848 ## --------- ##
   1849 ## Platform. ##
   1850 ## --------- ##
   1851 
   1852 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1853 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1854 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1855 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1856 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1857 
   1858 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1859 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1860 
   1861 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1862 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1863 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1864 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1865 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1866 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1867 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1868 
   1869 _ASUNAME
   1870 
   1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1872 for as_dir in $PATH
   1873 do
   1874   IFS=$as_save_IFS
   1875   test -z "$as_dir" && as_dir=.
   1876     $as_echo "PATH: $as_dir"
   1877   done
   1878 IFS=$as_save_IFS
   1879 
   1880 } >&5
   1881 
   1882 cat >&5 <<_ACEOF
   1883 
   1884 
   1885 ## ----------- ##
   1886 ## Core tests. ##
   1887 ## ----------- ##
   1888 
   1889 _ACEOF
   1890 
   1891 
   1892 # Keep a trace of the command line.
   1893 # Strip out --no-create and --no-recursion so they do not pile up.
   1894 # Strip out --silent because we don't want to record it for future runs.
   1895 # Also quote any args containing shell meta-characters.
   1896 # Make two passes to allow for proper duplicate-argument suppression.
   1897 ac_configure_args=
   1898 ac_configure_args0=
   1899 ac_configure_args1=
   1900 ac_must_keep_next=false
   1901 for ac_pass in 1 2
   1902 do
   1903   for ac_arg
   1904   do
   1905     case $ac_arg in
   1906     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1907     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1908     | -silent | --silent | --silen | --sile | --sil)
   1909       continue ;;
   1910     *\'*)
   1911       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1912     esac
   1913     case $ac_pass in
   1914     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1915     2)
   1916       as_fn_append ac_configure_args1 " '$ac_arg'"
   1917       if test $ac_must_keep_next = true; then
   1918 	ac_must_keep_next=false # Got value, back to normal.
   1919       else
   1920 	case $ac_arg in
   1921 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1922 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1923 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1924 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1925 	    case "$ac_configure_args0 " in
   1926 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1927 	    esac
   1928 	    ;;
   1929 	  -* ) ac_must_keep_next=true ;;
   1930 	esac
   1931       fi
   1932       as_fn_append ac_configure_args " '$ac_arg'"
   1933       ;;
   1934     esac
   1935   done
   1936 done
   1937 { ac_configure_args0=; unset ac_configure_args0;}
   1938 { ac_configure_args1=; unset ac_configure_args1;}
   1939 
   1940 # When interrupted or exit'd, cleanup temporary files, and complete
   1941 # config.log.  We remove comments because anyway the quotes in there
   1942 # would cause problems or look ugly.
   1943 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1944 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1945 trap 'exit_status=$?
   1946   # Save into config.log some information that might help in debugging.
   1947   {
   1948     echo
   1949 
   1950     $as_echo "## ---------------- ##
   1951 ## Cache variables. ##
   1952 ## ---------------- ##"
   1953     echo
   1954     # The following way of writing the cache mishandles newlines in values,
   1955 (
   1956   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1957     eval ac_val=\$$ac_var
   1958     case $ac_val in #(
   1959     *${as_nl}*)
   1960       case $ac_var in #(
   1961       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1962 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1963       esac
   1964       case $ac_var in #(
   1965       _ | IFS | as_nl) ;; #(
   1966       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1967       *) { eval $ac_var=; unset $ac_var;} ;;
   1968       esac ;;
   1969     esac
   1970   done
   1971   (set) 2>&1 |
   1972     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1973     *${as_nl}ac_space=\ *)
   1974       sed -n \
   1975 	"s/'\''/'\''\\\\'\'''\''/g;
   1976 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1977       ;; #(
   1978     *)
   1979       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1980       ;;
   1981     esac |
   1982     sort
   1983 )
   1984     echo
   1985 
   1986     $as_echo "## ----------------- ##
   1987 ## Output variables. ##
   1988 ## ----------------- ##"
   1989     echo
   1990     for ac_var in $ac_subst_vars
   1991     do
   1992       eval ac_val=\$$ac_var
   1993       case $ac_val in
   1994       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1995       esac
   1996       $as_echo "$ac_var='\''$ac_val'\''"
   1997     done | sort
   1998     echo
   1999 
   2000     if test -n "$ac_subst_files"; then
   2001       $as_echo "## ------------------- ##
   2002 ## File substitutions. ##
   2003 ## ------------------- ##"
   2004       echo
   2005       for ac_var in $ac_subst_files
   2006       do
   2007 	eval ac_val=\$$ac_var
   2008 	case $ac_val in
   2009 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2010 	esac
   2011 	$as_echo "$ac_var='\''$ac_val'\''"
   2012       done | sort
   2013       echo
   2014     fi
   2015 
   2016     if test -s confdefs.h; then
   2017       $as_echo "## ----------- ##
   2018 ## confdefs.h. ##
   2019 ## ----------- ##"
   2020       echo
   2021       cat confdefs.h
   2022       echo
   2023     fi
   2024     test "$ac_signal" != 0 &&
   2025       $as_echo "$as_me: caught signal $ac_signal"
   2026     $as_echo "$as_me: exit $exit_status"
   2027   } >&5
   2028   rm -f core *.core core.conftest.* &&
   2029     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2030     exit $exit_status
   2031 ' 0
   2032 for ac_signal in 1 2 13 15; do
   2033   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2034 done
   2035 ac_signal=0
   2036 
   2037 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2038 rm -f -r conftest* confdefs.h
   2039 
   2040 $as_echo "/* confdefs.h */" > confdefs.h
   2041 
   2042 # Predefined preprocessor variables.
   2043 
   2044 cat >>confdefs.h <<_ACEOF
   2045 #define PACKAGE_NAME "$PACKAGE_NAME"
   2046 _ACEOF
   2047 
   2048 cat >>confdefs.h <<_ACEOF
   2049 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2050 _ACEOF
   2051 
   2052 cat >>confdefs.h <<_ACEOF
   2053 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2054 _ACEOF
   2055 
   2056 cat >>confdefs.h <<_ACEOF
   2057 #define PACKAGE_STRING "$PACKAGE_STRING"
   2058 _ACEOF
   2059 
   2060 cat >>confdefs.h <<_ACEOF
   2061 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2062 _ACEOF
   2063 
   2064 cat >>confdefs.h <<_ACEOF
   2065 #define PACKAGE_URL "$PACKAGE_URL"
   2066 _ACEOF
   2067 
   2068 
   2069 # Let the site file select an alternate cache file if it wants to.
   2070 # Prefer an explicitly selected file to automatically selected ones.
   2071 ac_site_file1=NONE
   2072 ac_site_file2=NONE
   2073 if test -n "$CONFIG_SITE"; then
   2074   # We do not want a PATH search for config.site.
   2075   case $CONFIG_SITE in #((
   2076     -*)  ac_site_file1=./$CONFIG_SITE;;
   2077     */*) ac_site_file1=$CONFIG_SITE;;
   2078     *)   ac_site_file1=./$CONFIG_SITE;;
   2079   esac
   2080 elif test "x$prefix" != xNONE; then
   2081   ac_site_file1=$prefix/share/config.site
   2082   ac_site_file2=$prefix/etc/config.site
   2083 else
   2084   ac_site_file1=$ac_default_prefix/share/config.site
   2085   ac_site_file2=$ac_default_prefix/etc/config.site
   2086 fi
   2087 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2088 do
   2089   test "x$ac_site_file" = xNONE && continue
   2090   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2091     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2092 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2093     sed 's/^/| /' "$ac_site_file" >&5
   2094     . "$ac_site_file" \
   2095       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2097 as_fn_error $? "failed to load site script $ac_site_file
   2098 See \`config.log' for more details" "$LINENO" 5; }
   2099   fi
   2100 done
   2101 
   2102 if test -r "$cache_file"; then
   2103   # Some versions of bash will fail to source /dev/null (special files
   2104   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2105   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2106     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2107 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2108     case $cache_file in
   2109       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2110       *)                      . "./$cache_file";;
   2111     esac
   2112   fi
   2113 else
   2114   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2115 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2116   >$cache_file
   2117 fi
   2118 
   2119 # Check that the precious variables saved in the cache have kept the same
   2120 # value.
   2121 ac_cache_corrupted=false
   2122 for ac_var in $ac_precious_vars; do
   2123   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2124   eval ac_new_set=\$ac_env_${ac_var}_set
   2125   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2126   eval ac_new_val=\$ac_env_${ac_var}_value
   2127   case $ac_old_set,$ac_new_set in
   2128     set,)
   2129       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2130 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2131       ac_cache_corrupted=: ;;
   2132     ,set)
   2133       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2134 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2135       ac_cache_corrupted=: ;;
   2136     ,);;
   2137     *)
   2138       if test "x$ac_old_val" != "x$ac_new_val"; then
   2139 	# differences in whitespace do not lead to failure.
   2140 	ac_old_val_w=`echo x $ac_old_val`
   2141 	ac_new_val_w=`echo x $ac_new_val`
   2142 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2143 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2144 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2145 	  ac_cache_corrupted=:
   2146 	else
   2147 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2148 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2149 	  eval $ac_var=\$ac_old_val
   2150 	fi
   2151 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2152 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2153 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2154 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2155       fi;;
   2156   esac
   2157   # Pass precious variables to config.status.
   2158   if test "$ac_new_set" = set; then
   2159     case $ac_new_val in
   2160     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2161     *) ac_arg=$ac_var=$ac_new_val ;;
   2162     esac
   2163     case " $ac_configure_args " in
   2164       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2165       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2166     esac
   2167   fi
   2168 done
   2169 if $ac_cache_corrupted; then
   2170   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2172   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2173 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2174   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2175 fi
   2176 ## -------------------- ##
   2177 ## Main body of script. ##
   2178 ## -------------------- ##
   2179 
   2180 ac_ext=c
   2181 ac_cpp='$CPP $CPPFLAGS'
   2182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2185 
   2186 
   2187 
   2188 ac_config_headers="$ac_config_headers config.h"
   2189 
   2190 
   2191 # Initialize Automake
   2192 am__api_version='1.13'
   2193 
   2194 ac_aux_dir=
   2195 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2196   if test -f "$ac_dir/install-sh"; then
   2197     ac_aux_dir=$ac_dir
   2198     ac_install_sh="$ac_aux_dir/install-sh -c"
   2199     break
   2200   elif test -f "$ac_dir/install.sh"; then
   2201     ac_aux_dir=$ac_dir
   2202     ac_install_sh="$ac_aux_dir/install.sh -c"
   2203     break
   2204   elif test -f "$ac_dir/shtool"; then
   2205     ac_aux_dir=$ac_dir
   2206     ac_install_sh="$ac_aux_dir/shtool install -c"
   2207     break
   2208   fi
   2209 done
   2210 if test -z "$ac_aux_dir"; then
   2211   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2212 fi
   2213 
   2214 # These three variables are undocumented and unsupported,
   2215 # and are intended to be withdrawn in a future Autoconf release.
   2216 # They can cause serious problems if a builder's source tree is in a directory
   2217 # whose full name contains unusual characters.
   2218 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2219 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2220 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2221 
   2222 
   2223 # Find a good install program.  We prefer a C program (faster),
   2224 # so one script is as good as another.  But avoid the broken or
   2225 # incompatible versions:
   2226 # SysV /etc/install, /usr/sbin/install
   2227 # SunOS /usr/etc/install
   2228 # IRIX /sbin/install
   2229 # AIX /bin/install
   2230 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2231 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2232 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2233 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2234 # OS/2's system install, which has a completely different semantic
   2235 # ./install, which can be erroneously created by make from ./install.sh.
   2236 # Reject install programs that cannot install multiple files.
   2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2238 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2239 if test -z "$INSTALL"; then
   2240 if ${ac_cv_path_install+:} false; then :
   2241   $as_echo_n "(cached) " >&6
   2242 else
   2243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2244 for as_dir in $PATH
   2245 do
   2246   IFS=$as_save_IFS
   2247   test -z "$as_dir" && as_dir=.
   2248     # Account for people who put trailing slashes in PATH elements.
   2249 case $as_dir/ in #((
   2250   ./ | .// | /[cC]/* | \
   2251   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2252   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2253   /usr/ucb/* ) ;;
   2254   *)
   2255     # OSF1 and SCO ODT 3.0 have their own names for install.
   2256     # Don't use installbsd from OSF since it installs stuff as root
   2257     # by default.
   2258     for ac_prog in ginstall scoinst install; do
   2259       for ac_exec_ext in '' $ac_executable_extensions; do
   2260 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2261 	  if test $ac_prog = install &&
   2262 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2263 	    # AIX install.  It has an incompatible calling convention.
   2264 	    :
   2265 	  elif test $ac_prog = install &&
   2266 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2267 	    # program-specific install script used by HP pwplus--don't use.
   2268 	    :
   2269 	  else
   2270 	    rm -rf conftest.one conftest.two conftest.dir
   2271 	    echo one > conftest.one
   2272 	    echo two > conftest.two
   2273 	    mkdir conftest.dir
   2274 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2275 	      test -s conftest.one && test -s conftest.two &&
   2276 	      test -s conftest.dir/conftest.one &&
   2277 	      test -s conftest.dir/conftest.two
   2278 	    then
   2279 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2280 	      break 3
   2281 	    fi
   2282 	  fi
   2283 	fi
   2284       done
   2285     done
   2286     ;;
   2287 esac
   2288 
   2289   done
   2290 IFS=$as_save_IFS
   2291 
   2292 rm -rf conftest.one conftest.two conftest.dir
   2293 
   2294 fi
   2295   if test "${ac_cv_path_install+set}" = set; then
   2296     INSTALL=$ac_cv_path_install
   2297   else
   2298     # As a last resort, use the slow shell script.  Don't cache a
   2299     # value for INSTALL within a source directory, because that will
   2300     # break other packages using the cache if that directory is
   2301     # removed, or if the value is a relative name.
   2302     INSTALL=$ac_install_sh
   2303   fi
   2304 fi
   2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2306 $as_echo "$INSTALL" >&6; }
   2307 
   2308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2309 # It thinks the first close brace ends the variable substitution.
   2310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2311 
   2312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2313 
   2314 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2315 
   2316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2317 $as_echo_n "checking whether build environment is sane... " >&6; }
   2318 # Reject unsafe characters in $srcdir or the absolute working directory
   2319 # name.  Accept space and tab only in the latter.
   2320 am_lf='
   2321 '
   2322 case `pwd` in
   2323   *[\\\"\#\$\&\'\`$am_lf]*)
   2324     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2325 esac
   2326 case $srcdir in
   2327   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2328     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2329 esac
   2330 
   2331 # Do 'set' in a subshell so we don't clobber the current shell's
   2332 # arguments.  Must try -L first in case configure is actually a
   2333 # symlink; some systems play weird games with the mod time of symlinks
   2334 # (eg FreeBSD returns the mod time of the symlink's containing
   2335 # directory).
   2336 if (
   2337    am_has_slept=no
   2338    for am_try in 1 2; do
   2339      echo "timestamp, slept: $am_has_slept" > conftest.file
   2340      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2341      if test "$*" = "X"; then
   2342 	# -L didn't work.
   2343 	set X `ls -t "$srcdir/configure" conftest.file`
   2344      fi
   2345      if test "$*" != "X $srcdir/configure conftest.file" \
   2346 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2347 
   2348 	# If neither matched, then we have a broken ls.  This can happen
   2349 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2350 	# broken ls alias from the environment.  This has actually
   2351 	# happened.  Such a system could not be considered "sane".
   2352 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2353   alias in your environment" "$LINENO" 5
   2354      fi
   2355      if test "$2" = conftest.file || test $am_try -eq 2; then
   2356        break
   2357      fi
   2358      # Just in case.
   2359      sleep 1
   2360      am_has_slept=yes
   2361    done
   2362    test "$2" = conftest.file
   2363    )
   2364 then
   2365    # Ok.
   2366    :
   2367 else
   2368    as_fn_error $? "newly created file is older than distributed files!
   2369 Check your system clock" "$LINENO" 5
   2370 fi
   2371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2372 $as_echo "yes" >&6; }
   2373 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2374 # generated files are strictly newer.
   2375 am_sleep_pid=
   2376 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2377   ( sleep 1 ) &
   2378   am_sleep_pid=$!
   2379 fi
   2380 
   2381 rm -f conftest.file
   2382 
   2383 test "$program_prefix" != NONE &&
   2384   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2385 # Use a double $ so make ignores it.
   2386 test "$program_suffix" != NONE &&
   2387   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2388 # Double any \ or $.
   2389 # By default was `s,x,x', remove it if useless.
   2390 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2391 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2392 
   2393 # expand $ac_aux_dir to an absolute path
   2394 am_aux_dir=`cd $ac_aux_dir && pwd`
   2395 
   2396 if test x"${MISSING+set}" != xset; then
   2397   case $am_aux_dir in
   2398   *\ * | *\	*)
   2399     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2400   *)
   2401     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2402   esac
   2403 fi
   2404 # Use eval to expand $SHELL
   2405 if eval "$MISSING --is-lightweight"; then
   2406   am_missing_run="$MISSING "
   2407 else
   2408   am_missing_run=
   2409   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2410 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2411 fi
   2412 
   2413 if test x"${install_sh}" != xset; then
   2414   case $am_aux_dir in
   2415   *\ * | *\	*)
   2416     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2417   *)
   2418     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2419   esac
   2420 fi
   2421 
   2422 # Installed binaries are usually stripped using 'strip' when the user
   2423 # run "make install-strip".  However 'strip' might not be the right
   2424 # tool to use in cross-compilation environments, therefore Automake
   2425 # will honor the 'STRIP' environment variable to overrule this program.
   2426 if test "$cross_compiling" != no; then
   2427   if test -n "$ac_tool_prefix"; then
   2428   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2429 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2431 $as_echo_n "checking for $ac_word... " >&6; }
   2432 if ${ac_cv_prog_STRIP+:} false; then :
   2433   $as_echo_n "(cached) " >&6
   2434 else
   2435   if test -n "$STRIP"; then
   2436   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2437 else
   2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2439 for as_dir in $PATH
   2440 do
   2441   IFS=$as_save_IFS
   2442   test -z "$as_dir" && as_dir=.
   2443     for ac_exec_ext in '' $ac_executable_extensions; do
   2444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2445     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2447     break 2
   2448   fi
   2449 done
   2450   done
   2451 IFS=$as_save_IFS
   2452 
   2453 fi
   2454 fi
   2455 STRIP=$ac_cv_prog_STRIP
   2456 if test -n "$STRIP"; then
   2457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2458 $as_echo "$STRIP" >&6; }
   2459 else
   2460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2461 $as_echo "no" >&6; }
   2462 fi
   2463 
   2464 
   2465 fi
   2466 if test -z "$ac_cv_prog_STRIP"; then
   2467   ac_ct_STRIP=$STRIP
   2468   # Extract the first word of "strip", so it can be a program name with args.
   2469 set dummy strip; ac_word=$2
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2471 $as_echo_n "checking for $ac_word... " >&6; }
   2472 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test -n "$ac_ct_STRIP"; then
   2476   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2477 else
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483     for ac_exec_ext in '' $ac_executable_extensions; do
   2484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2485     ac_cv_prog_ac_ct_STRIP="strip"
   2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490   done
   2491 IFS=$as_save_IFS
   2492 
   2493 fi
   2494 fi
   2495 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2496 if test -n "$ac_ct_STRIP"; then
   2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2498 $as_echo "$ac_ct_STRIP" >&6; }
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2501 $as_echo "no" >&6; }
   2502 fi
   2503 
   2504   if test "x$ac_ct_STRIP" = x; then
   2505     STRIP=":"
   2506   else
   2507     case $cross_compiling:$ac_tool_warned in
   2508 yes:)
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2511 ac_tool_warned=yes ;;
   2512 esac
   2513     STRIP=$ac_ct_STRIP
   2514   fi
   2515 else
   2516   STRIP="$ac_cv_prog_STRIP"
   2517 fi
   2518 
   2519 fi
   2520 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2521 
   2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2523 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2524 if test -z "$MKDIR_P"; then
   2525   if ${ac_cv_path_mkdir+:} false; then :
   2526   $as_echo_n "(cached) " >&6
   2527 else
   2528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2529 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2530 do
   2531   IFS=$as_save_IFS
   2532   test -z "$as_dir" && as_dir=.
   2533     for ac_prog in mkdir gmkdir; do
   2534 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2535 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2536 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2537 	     'mkdir (GNU coreutils) '* | \
   2538 	     'mkdir (coreutils) '* | \
   2539 	     'mkdir (fileutils) '4.1*)
   2540 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2541 	       break 3;;
   2542 	   esac
   2543 	 done
   2544        done
   2545   done
   2546 IFS=$as_save_IFS
   2547 
   2548 fi
   2549 
   2550   test -d ./--version && rmdir ./--version
   2551   if test "${ac_cv_path_mkdir+set}" = set; then
   2552     MKDIR_P="$ac_cv_path_mkdir -p"
   2553   else
   2554     # As a last resort, use the slow shell script.  Don't cache a
   2555     # value for MKDIR_P within a source directory, because that will
   2556     # break other packages using the cache if that directory is
   2557     # removed, or if the value is a relative name.
   2558     MKDIR_P="$ac_install_sh -d"
   2559   fi
   2560 fi
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2562 $as_echo "$MKDIR_P" >&6; }
   2563 
   2564 for ac_prog in gawk mawk nawk awk
   2565 do
   2566   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2567 set dummy $ac_prog; ac_word=$2
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2569 $as_echo_n "checking for $ac_word... " >&6; }
   2570 if ${ac_cv_prog_AWK+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   if test -n "$AWK"; then
   2574   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2575 else
   2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2577 for as_dir in $PATH
   2578 do
   2579   IFS=$as_save_IFS
   2580   test -z "$as_dir" && as_dir=.
   2581     for ac_exec_ext in '' $ac_executable_extensions; do
   2582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2583     ac_cv_prog_AWK="$ac_prog"
   2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2585     break 2
   2586   fi
   2587 done
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 fi
   2592 fi
   2593 AWK=$ac_cv_prog_AWK
   2594 if test -n "$AWK"; then
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2596 $as_echo "$AWK" >&6; }
   2597 else
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2599 $as_echo "no" >&6; }
   2600 fi
   2601 
   2602 
   2603   test -n "$AWK" && break
   2604 done
   2605 
   2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2607 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2608 set x ${MAKE-make}
   2609 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2610 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   cat >conftest.make <<\_ACEOF
   2614 SHELL = /bin/sh
   2615 all:
   2616 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2617 _ACEOF
   2618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2619 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2620   *@@@%%%=?*=@@@%%%*)
   2621     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2622   *)
   2623     eval ac_cv_prog_make_${ac_make}_set=no;;
   2624 esac
   2625 rm -f conftest.make
   2626 fi
   2627 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2629 $as_echo "yes" >&6; }
   2630   SET_MAKE=
   2631 else
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2633 $as_echo "no" >&6; }
   2634   SET_MAKE="MAKE=${MAKE-make}"
   2635 fi
   2636 
   2637 rm -rf .tst 2>/dev/null
   2638 mkdir .tst 2>/dev/null
   2639 if test -d .tst; then
   2640   am__leading_dot=.
   2641 else
   2642   am__leading_dot=_
   2643 fi
   2644 rmdir .tst 2>/dev/null
   2645 
   2646 # Check whether --enable-silent-rules was given.
   2647 if test "${enable_silent_rules+set}" = set; then :
   2648   enableval=$enable_silent_rules;
   2649 fi
   2650 
   2651 case $enable_silent_rules in # (((
   2652   yes) AM_DEFAULT_VERBOSITY=0;;
   2653    no) AM_DEFAULT_VERBOSITY=1;;
   2654     *) AM_DEFAULT_VERBOSITY=1;;
   2655 esac
   2656 am_make=${MAKE-make}
   2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2658 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2659 if ${am_cv_make_support_nested_variables+:} false; then :
   2660   $as_echo_n "(cached) " >&6
   2661 else
   2662   if $as_echo 'TRUE=$(BAR$(V))
   2663 BAR0=false
   2664 BAR1=true
   2665 V=1
   2666 am__doit:
   2667 	@$(TRUE)
   2668 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2669   am_cv_make_support_nested_variables=yes
   2670 else
   2671   am_cv_make_support_nested_variables=no
   2672 fi
   2673 fi
   2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2675 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2676 if test $am_cv_make_support_nested_variables = yes; then
   2677     AM_V='$(V)'
   2678   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2679 else
   2680   AM_V=$AM_DEFAULT_VERBOSITY
   2681   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2682 fi
   2683 AM_BACKSLASH='\'
   2684 
   2685 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2686   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2687   # is not polluted with repeated "-I."
   2688   am__isrc=' -I$(srcdir)'
   2689   # test to see if srcdir already configured
   2690   if test -f $srcdir/config.status; then
   2691     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2692   fi
   2693 fi
   2694 
   2695 # test whether we have cygpath
   2696 if test -z "$CYGPATH_W"; then
   2697   if (cygpath --version) >/dev/null 2>/dev/null; then
   2698     CYGPATH_W='cygpath -w'
   2699   else
   2700     CYGPATH_W=echo
   2701   fi
   2702 fi
   2703 
   2704 
   2705 # Define the identity of the package.
   2706  PACKAGE='libXrender'
   2707  VERSION='0.9.8'
   2708 
   2709 
   2710 cat >>confdefs.h <<_ACEOF
   2711 #define PACKAGE "$PACKAGE"
   2712 _ACEOF
   2713 
   2714 
   2715 cat >>confdefs.h <<_ACEOF
   2716 #define VERSION "$VERSION"
   2717 _ACEOF
   2718 
   2719 # Some tools Automake needs.
   2720 
   2721 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2722 
   2723 
   2724 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2725 
   2726 
   2727 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2728 
   2729 
   2730 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2731 
   2732 
   2733 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2734 
   2735 # For better backward compatibility.  To be removed once Automake 1.9.x
   2736 # dies out for good.  For more background, see:
   2737 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2738 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2739 mkdir_p='$(MKDIR_P)'
   2740 
   2741 # We need awk for the "check" target.  The system "awk" is bad on
   2742 # some platforms.
   2743 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2744 # in the wild :-(  We should find a proper way to deprecate it ...
   2745 AMTAR='$${TAR-tar}'
   2746 
   2747 
   2748 # We'll loop over all known methods to create a tar archive until one works.
   2749 _am_tools='gnutar  pax cpio none'
   2750 
   2751 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2752 
   2753 
   2754 
   2755 
   2756 
   2757 
   2758 
   2759 # Initialize libtool
   2760 case `pwd` in
   2761   *\ * | *\	*)
   2762     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2763 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2764 esac
   2765 
   2766 
   2767 
   2768 macro_version='2.4.2'
   2769 macro_revision='1.3337'
   2770 
   2771 
   2772 
   2773 
   2774 
   2775 
   2776 
   2777 
   2778 
   2779 
   2780 
   2781 
   2782 
   2783 ltmain="$ac_aux_dir/ltmain.sh"
   2784 
   2785 # Make sure we can run config.sub.
   2786 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2787   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2788 
   2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2790 $as_echo_n "checking build system type... " >&6; }
   2791 if ${ac_cv_build+:} false; then :
   2792   $as_echo_n "(cached) " >&6
   2793 else
   2794   ac_build_alias=$build_alias
   2795 test "x$ac_build_alias" = x &&
   2796   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2797 test "x$ac_build_alias" = x &&
   2798   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2799 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2800   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2801 
   2802 fi
   2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2804 $as_echo "$ac_cv_build" >&6; }
   2805 case $ac_cv_build in
   2806 *-*-*) ;;
   2807 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2808 esac
   2809 build=$ac_cv_build
   2810 ac_save_IFS=$IFS; IFS='-'
   2811 set x $ac_cv_build
   2812 shift
   2813 build_cpu=$1
   2814 build_vendor=$2
   2815 shift; shift
   2816 # Remember, the first character of IFS is used to create $*,
   2817 # except with old shells:
   2818 build_os=$*
   2819 IFS=$ac_save_IFS
   2820 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2821 
   2822 
   2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2824 $as_echo_n "checking host system type... " >&6; }
   2825 if ${ac_cv_host+:} false; then :
   2826   $as_echo_n "(cached) " >&6
   2827 else
   2828   if test "x$host_alias" = x; then
   2829   ac_cv_host=$ac_cv_build
   2830 else
   2831   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2832     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2833 fi
   2834 
   2835 fi
   2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2837 $as_echo "$ac_cv_host" >&6; }
   2838 case $ac_cv_host in
   2839 *-*-*) ;;
   2840 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2841 esac
   2842 host=$ac_cv_host
   2843 ac_save_IFS=$IFS; IFS='-'
   2844 set x $ac_cv_host
   2845 shift
   2846 host_cpu=$1
   2847 host_vendor=$2
   2848 shift; shift
   2849 # Remember, the first character of IFS is used to create $*,
   2850 # except with old shells:
   2851 host_os=$*
   2852 IFS=$ac_save_IFS
   2853 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2854 
   2855 
   2856 # Backslashify metacharacters that are still active within
   2857 # double-quoted strings.
   2858 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2859 
   2860 # Same as above, but do not quote variable references.
   2861 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2862 
   2863 # Sed substitution to delay expansion of an escaped shell variable in a
   2864 # double_quote_subst'ed string.
   2865 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2866 
   2867 # Sed substitution to delay expansion of an escaped single quote.
   2868 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2869 
   2870 # Sed substitution to avoid accidental globbing in evaled expressions
   2871 no_glob_subst='s/\*/\\\*/g'
   2872 
   2873 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2874 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2875 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2876 
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2878 $as_echo_n "checking how to print strings... " >&6; }
   2879 # Test print first, because it will be a builtin if present.
   2880 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2881    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2882   ECHO='print -r --'
   2883 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2884   ECHO='printf %s\n'
   2885 else
   2886   # Use this function as a fallback that always works.
   2887   func_fallback_echo ()
   2888   {
   2889     eval 'cat <<_LTECHO_EOF
   2890 $1
   2891 _LTECHO_EOF'
   2892   }
   2893   ECHO='func_fallback_echo'
   2894 fi
   2895 
   2896 # func_echo_all arg...
   2897 # Invoke $ECHO with all args, space-separated.
   2898 func_echo_all ()
   2899 {
   2900     $ECHO ""
   2901 }
   2902 
   2903 case "$ECHO" in
   2904   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2905 $as_echo "printf" >&6; } ;;
   2906   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2907 $as_echo "print -r" >&6; } ;;
   2908   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2909 $as_echo "cat" >&6; } ;;
   2910 esac
   2911 
   2912 
   2913 
   2914 
   2915 
   2916 
   2917 
   2918 
   2919 
   2920 
   2921 
   2922 
   2923 
   2924 
   2925 DEPDIR="${am__leading_dot}deps"
   2926 
   2927 ac_config_commands="$ac_config_commands depfiles"
   2928 
   2929 
   2930 am_make=${MAKE-make}
   2931 cat > confinc << 'END'
   2932 am__doit:
   2933 	@echo this is the am__doit target
   2934 .PHONY: am__doit
   2935 END
   2936 # If we don't find an include directive, just comment out the code.
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2938 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2939 am__include="#"
   2940 am__quote=
   2941 _am_result=none
   2942 # First try GNU make style include.
   2943 echo "include confinc" > confmf
   2944 # Ignore all kinds of additional output from 'make'.
   2945 case `$am_make -s -f confmf 2> /dev/null` in #(
   2946 *the\ am__doit\ target*)
   2947   am__include=include
   2948   am__quote=
   2949   _am_result=GNU
   2950   ;;
   2951 esac
   2952 # Now try BSD make style include.
   2953 if test "$am__include" = "#"; then
   2954    echo '.include "confinc"' > confmf
   2955    case `$am_make -s -f confmf 2> /dev/null` in #(
   2956    *the\ am__doit\ target*)
   2957      am__include=.include
   2958      am__quote="\""
   2959      _am_result=BSD
   2960      ;;
   2961    esac
   2962 fi
   2963 
   2964 
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2966 $as_echo "$_am_result" >&6; }
   2967 rm -f confinc confmf
   2968 
   2969 # Check whether --enable-dependency-tracking was given.
   2970 if test "${enable_dependency_tracking+set}" = set; then :
   2971   enableval=$enable_dependency_tracking;
   2972 fi
   2973 
   2974 if test "x$enable_dependency_tracking" != xno; then
   2975   am_depcomp="$ac_aux_dir/depcomp"
   2976   AMDEPBACKSLASH='\'
   2977   am__nodep='_no'
   2978 fi
   2979  if test "x$enable_dependency_tracking" != xno; then
   2980   AMDEP_TRUE=
   2981   AMDEP_FALSE='#'
   2982 else
   2983   AMDEP_TRUE='#'
   2984   AMDEP_FALSE=
   2985 fi
   2986 
   2987 
   2988 ac_ext=c
   2989 ac_cpp='$CPP $CPPFLAGS'
   2990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2993 if test -n "$ac_tool_prefix"; then
   2994   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2995 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2997 $as_echo_n "checking for $ac_word... " >&6; }
   2998 if ${ac_cv_prog_CC+:} false; then :
   2999   $as_echo_n "(cached) " >&6
   3000 else
   3001   if test -n "$CC"; then
   3002   ac_cv_prog_CC="$CC" # Let the user override the test.
   3003 else
   3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3005 for as_dir in $PATH
   3006 do
   3007   IFS=$as_save_IFS
   3008   test -z "$as_dir" && as_dir=.
   3009     for ac_exec_ext in '' $ac_executable_extensions; do
   3010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3011     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3013     break 2
   3014   fi
   3015 done
   3016   done
   3017 IFS=$as_save_IFS
   3018 
   3019 fi
   3020 fi
   3021 CC=$ac_cv_prog_CC
   3022 if test -n "$CC"; then
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3024 $as_echo "$CC" >&6; }
   3025 else
   3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3027 $as_echo "no" >&6; }
   3028 fi
   3029 
   3030 
   3031 fi
   3032 if test -z "$ac_cv_prog_CC"; then
   3033   ac_ct_CC=$CC
   3034   # Extract the first word of "gcc", so it can be a program name with args.
   3035 set dummy gcc; ac_word=$2
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3037 $as_echo_n "checking for $ac_word... " >&6; }
   3038 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$ac_ct_CC"; then
   3042   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3043 else
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   test -z "$as_dir" && as_dir=.
   3049     for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3051     ac_cv_prog_ac_ct_CC="gcc"
   3052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3053     break 2
   3054   fi
   3055 done
   3056   done
   3057 IFS=$as_save_IFS
   3058 
   3059 fi
   3060 fi
   3061 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3062 if test -n "$ac_ct_CC"; then
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3064 $as_echo "$ac_ct_CC" >&6; }
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 fi
   3069 
   3070   if test "x$ac_ct_CC" = x; then
   3071     CC=""
   3072   else
   3073     case $cross_compiling:$ac_tool_warned in
   3074 yes:)
   3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3077 ac_tool_warned=yes ;;
   3078 esac
   3079     CC=$ac_ct_CC
   3080   fi
   3081 else
   3082   CC="$ac_cv_prog_CC"
   3083 fi
   3084 
   3085 if test -z "$CC"; then
   3086           if test -n "$ac_tool_prefix"; then
   3087     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3088 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3090 $as_echo_n "checking for $ac_word... " >&6; }
   3091 if ${ac_cv_prog_CC+:} false; then :
   3092   $as_echo_n "(cached) " >&6
   3093 else
   3094   if test -n "$CC"; then
   3095   ac_cv_prog_CC="$CC" # Let the user override the test.
   3096 else
   3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3098 for as_dir in $PATH
   3099 do
   3100   IFS=$as_save_IFS
   3101   test -z "$as_dir" && as_dir=.
   3102     for ac_exec_ext in '' $ac_executable_extensions; do
   3103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3104     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3106     break 2
   3107   fi
   3108 done
   3109   done
   3110 IFS=$as_save_IFS
   3111 
   3112 fi
   3113 fi
   3114 CC=$ac_cv_prog_CC
   3115 if test -n "$CC"; then
   3116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3117 $as_echo "$CC" >&6; }
   3118 else
   3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3120 $as_echo "no" >&6; }
   3121 fi
   3122 
   3123 
   3124   fi
   3125 fi
   3126 if test -z "$CC"; then
   3127   # Extract the first word of "cc", so it can be a program name with args.
   3128 set dummy cc; ac_word=$2
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3130 $as_echo_n "checking for $ac_word... " >&6; }
   3131 if ${ac_cv_prog_CC+:} false; then :
   3132   $as_echo_n "(cached) " >&6
   3133 else
   3134   if test -n "$CC"; then
   3135   ac_cv_prog_CC="$CC" # Let the user override the test.
   3136 else
   3137   ac_prog_rejected=no
   3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3139 for as_dir in $PATH
   3140 do
   3141   IFS=$as_save_IFS
   3142   test -z "$as_dir" && as_dir=.
   3143     for ac_exec_ext in '' $ac_executable_extensions; do
   3144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3145     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3146        ac_prog_rejected=yes
   3147        continue
   3148      fi
   3149     ac_cv_prog_CC="cc"
   3150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3151     break 2
   3152   fi
   3153 done
   3154   done
   3155 IFS=$as_save_IFS
   3156 
   3157 if test $ac_prog_rejected = yes; then
   3158   # We found a bogon in the path, so make sure we never use it.
   3159   set dummy $ac_cv_prog_CC
   3160   shift
   3161   if test $# != 0; then
   3162     # We chose a different compiler from the bogus one.
   3163     # However, it has the same basename, so the bogon will be chosen
   3164     # first if we set CC to just the basename; use the full file name.
   3165     shift
   3166     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3167   fi
   3168 fi
   3169 fi
   3170 fi
   3171 CC=$ac_cv_prog_CC
   3172 if test -n "$CC"; then
   3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3174 $as_echo "$CC" >&6; }
   3175 else
   3176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3177 $as_echo "no" >&6; }
   3178 fi
   3179 
   3180 
   3181 fi
   3182 if test -z "$CC"; then
   3183   if test -n "$ac_tool_prefix"; then
   3184   for ac_prog in cl.exe
   3185   do
   3186     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3187 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3189 $as_echo_n "checking for $ac_word... " >&6; }
   3190 if ${ac_cv_prog_CC+:} false; then :
   3191   $as_echo_n "(cached) " >&6
   3192 else
   3193   if test -n "$CC"; then
   3194   ac_cv_prog_CC="$CC" # Let the user override the test.
   3195 else
   3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3197 for as_dir in $PATH
   3198 do
   3199   IFS=$as_save_IFS
   3200   test -z "$as_dir" && as_dir=.
   3201     for ac_exec_ext in '' $ac_executable_extensions; do
   3202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3203     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3205     break 2
   3206   fi
   3207 done
   3208   done
   3209 IFS=$as_save_IFS
   3210 
   3211 fi
   3212 fi
   3213 CC=$ac_cv_prog_CC
   3214 if test -n "$CC"; then
   3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3216 $as_echo "$CC" >&6; }
   3217 else
   3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3219 $as_echo "no" >&6; }
   3220 fi
   3221 
   3222 
   3223     test -n "$CC" && break
   3224   done
   3225 fi
   3226 if test -z "$CC"; then
   3227   ac_ct_CC=$CC
   3228   for ac_prog in cl.exe
   3229 do
   3230   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3231 set dummy $ac_prog; ac_word=$2
   3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3233 $as_echo_n "checking for $ac_word... " >&6; }
   3234 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3235   $as_echo_n "(cached) " >&6
   3236 else
   3237   if test -n "$ac_ct_CC"; then
   3238   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3239 else
   3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3241 for as_dir in $PATH
   3242 do
   3243   IFS=$as_save_IFS
   3244   test -z "$as_dir" && as_dir=.
   3245     for ac_exec_ext in '' $ac_executable_extensions; do
   3246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3247     ac_cv_prog_ac_ct_CC="$ac_prog"
   3248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3249     break 2
   3250   fi
   3251 done
   3252   done
   3253 IFS=$as_save_IFS
   3254 
   3255 fi
   3256 fi
   3257 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3258 if test -n "$ac_ct_CC"; then
   3259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3260 $as_echo "$ac_ct_CC" >&6; }
   3261 else
   3262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3263 $as_echo "no" >&6; }
   3264 fi
   3265 
   3266 
   3267   test -n "$ac_ct_CC" && break
   3268 done
   3269 
   3270   if test "x$ac_ct_CC" = x; then
   3271     CC=""
   3272   else
   3273     case $cross_compiling:$ac_tool_warned in
   3274 yes:)
   3275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3277 ac_tool_warned=yes ;;
   3278 esac
   3279     CC=$ac_ct_CC
   3280   fi
   3281 fi
   3282 
   3283 fi
   3284 
   3285 
   3286 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3288 as_fn_error $? "no acceptable C compiler found in \$PATH
   3289 See \`config.log' for more details" "$LINENO" 5; }
   3290 
   3291 # Provide some information about the compiler.
   3292 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3293 set X $ac_compile
   3294 ac_compiler=$2
   3295 for ac_option in --version -v -V -qversion; do
   3296   { { ac_try="$ac_compiler $ac_option >&5"
   3297 case "(($ac_try" in
   3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3299   *) ac_try_echo=$ac_try;;
   3300 esac
   3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3302 $as_echo "$ac_try_echo"; } >&5
   3303   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3304   ac_status=$?
   3305   if test -s conftest.err; then
   3306     sed '10a\
   3307 ... rest of stderr output deleted ...
   3308          10q' conftest.err >conftest.er1
   3309     cat conftest.er1 >&5
   3310   fi
   3311   rm -f conftest.er1 conftest.err
   3312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3313   test $ac_status = 0; }
   3314 done
   3315 
   3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3317 /* end confdefs.h.  */
   3318 
   3319 int
   3320 main ()
   3321 {
   3322 
   3323   ;
   3324   return 0;
   3325 }
   3326 _ACEOF
   3327 ac_clean_files_save=$ac_clean_files
   3328 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3329 # Try to create an executable without -o first, disregard a.out.
   3330 # It will help us diagnose broken compilers, and finding out an intuition
   3331 # of exeext.
   3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3333 $as_echo_n "checking whether the C compiler works... " >&6; }
   3334 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3335 
   3336 # The possible output files:
   3337 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3338 
   3339 ac_rmfiles=
   3340 for ac_file in $ac_files
   3341 do
   3342   case $ac_file in
   3343     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3344     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3345   esac
   3346 done
   3347 rm -f $ac_rmfiles
   3348 
   3349 if { { ac_try="$ac_link_default"
   3350 case "(($ac_try" in
   3351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3352   *) ac_try_echo=$ac_try;;
   3353 esac
   3354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3355 $as_echo "$ac_try_echo"; } >&5
   3356   (eval "$ac_link_default") 2>&5
   3357   ac_status=$?
   3358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3359   test $ac_status = 0; }; then :
   3360   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3361 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3362 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3363 # so that the user can short-circuit this test for compilers unknown to
   3364 # Autoconf.
   3365 for ac_file in $ac_files ''
   3366 do
   3367   test -f "$ac_file" || continue
   3368   case $ac_file in
   3369     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3370 	;;
   3371     [ab].out )
   3372 	# We found the default executable, but exeext='' is most
   3373 	# certainly right.
   3374 	break;;
   3375     *.* )
   3376 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3377 	then :; else
   3378 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3379 	fi
   3380 	# We set ac_cv_exeext here because the later test for it is not
   3381 	# safe: cross compilers may not add the suffix if given an `-o'
   3382 	# argument, so we may need to know it at that point already.
   3383 	# Even if this section looks crufty: it has the advantage of
   3384 	# actually working.
   3385 	break;;
   3386     * )
   3387 	break;;
   3388   esac
   3389 done
   3390 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3391 
   3392 else
   3393   ac_file=''
   3394 fi
   3395 if test -z "$ac_file"; then :
   3396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3397 $as_echo "no" >&6; }
   3398 $as_echo "$as_me: failed program was:" >&5
   3399 sed 's/^/| /' conftest.$ac_ext >&5
   3400 
   3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3403 as_fn_error 77 "C compiler cannot create executables
   3404 See \`config.log' for more details" "$LINENO" 5; }
   3405 else
   3406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3407 $as_echo "yes" >&6; }
   3408 fi
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3410 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3412 $as_echo "$ac_file" >&6; }
   3413 ac_exeext=$ac_cv_exeext
   3414 
   3415 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3416 ac_clean_files=$ac_clean_files_save
   3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3418 $as_echo_n "checking for suffix of executables... " >&6; }
   3419 if { { ac_try="$ac_link"
   3420 case "(($ac_try" in
   3421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3422   *) ac_try_echo=$ac_try;;
   3423 esac
   3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3425 $as_echo "$ac_try_echo"; } >&5
   3426   (eval "$ac_link") 2>&5
   3427   ac_status=$?
   3428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3429   test $ac_status = 0; }; then :
   3430   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3431 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3432 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3433 # `rm'.
   3434 for ac_file in conftest.exe conftest conftest.*; do
   3435   test -f "$ac_file" || continue
   3436   case $ac_file in
   3437     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3438     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3439 	  break;;
   3440     * ) break;;
   3441   esac
   3442 done
   3443 else
   3444   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3446 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3447 See \`config.log' for more details" "$LINENO" 5; }
   3448 fi
   3449 rm -f conftest conftest$ac_cv_exeext
   3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3451 $as_echo "$ac_cv_exeext" >&6; }
   3452 
   3453 rm -f conftest.$ac_ext
   3454 EXEEXT=$ac_cv_exeext
   3455 ac_exeext=$EXEEXT
   3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3457 /* end confdefs.h.  */
   3458 #include <stdio.h>
   3459 int
   3460 main ()
   3461 {
   3462 FILE *f = fopen ("conftest.out", "w");
   3463  return ferror (f) || fclose (f) != 0;
   3464 
   3465   ;
   3466   return 0;
   3467 }
   3468 _ACEOF
   3469 ac_clean_files="$ac_clean_files conftest.out"
   3470 # Check that the compiler produces executables we can run.  If not, either
   3471 # the compiler is broken, or we cross compile.
   3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3473 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3474 if test "$cross_compiling" != yes; then
   3475   { { ac_try="$ac_link"
   3476 case "(($ac_try" in
   3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3478   *) ac_try_echo=$ac_try;;
   3479 esac
   3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3481 $as_echo "$ac_try_echo"; } >&5
   3482   (eval "$ac_link") 2>&5
   3483   ac_status=$?
   3484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3485   test $ac_status = 0; }
   3486   if { ac_try='./conftest$ac_cv_exeext'
   3487   { { case "(($ac_try" in
   3488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3489   *) ac_try_echo=$ac_try;;
   3490 esac
   3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3492 $as_echo "$ac_try_echo"; } >&5
   3493   (eval "$ac_try") 2>&5
   3494   ac_status=$?
   3495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3496   test $ac_status = 0; }; }; then
   3497     cross_compiling=no
   3498   else
   3499     if test "$cross_compiling" = maybe; then
   3500 	cross_compiling=yes
   3501     else
   3502 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3504 as_fn_error $? "cannot run C compiled programs.
   3505 If you meant to cross compile, use \`--host'.
   3506 See \`config.log' for more details" "$LINENO" 5; }
   3507     fi
   3508   fi
   3509 fi
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3511 $as_echo "$cross_compiling" >&6; }
   3512 
   3513 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3514 ac_clean_files=$ac_clean_files_save
   3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3516 $as_echo_n "checking for suffix of object files... " >&6; }
   3517 if ${ac_cv_objext+:} false; then :
   3518   $as_echo_n "(cached) " >&6
   3519 else
   3520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3521 /* end confdefs.h.  */
   3522 
   3523 int
   3524 main ()
   3525 {
   3526 
   3527   ;
   3528   return 0;
   3529 }
   3530 _ACEOF
   3531 rm -f conftest.o conftest.obj
   3532 if { { ac_try="$ac_compile"
   3533 case "(($ac_try" in
   3534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3535   *) ac_try_echo=$ac_try;;
   3536 esac
   3537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3538 $as_echo "$ac_try_echo"; } >&5
   3539   (eval "$ac_compile") 2>&5
   3540   ac_status=$?
   3541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3542   test $ac_status = 0; }; then :
   3543   for ac_file in conftest.o conftest.obj conftest.*; do
   3544   test -f "$ac_file" || continue;
   3545   case $ac_file in
   3546     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3547     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3548        break;;
   3549   esac
   3550 done
   3551 else
   3552   $as_echo "$as_me: failed program was:" >&5
   3553 sed 's/^/| /' conftest.$ac_ext >&5
   3554 
   3555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3557 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3558 See \`config.log' for more details" "$LINENO" 5; }
   3559 fi
   3560 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3561 fi
   3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3563 $as_echo "$ac_cv_objext" >&6; }
   3564 OBJEXT=$ac_cv_objext
   3565 ac_objext=$OBJEXT
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3567 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3568 if ${ac_cv_c_compiler_gnu+:} false; then :
   3569   $as_echo_n "(cached) " >&6
   3570 else
   3571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 
   3574 int
   3575 main ()
   3576 {
   3577 #ifndef __GNUC__
   3578        choke me
   3579 #endif
   3580 
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 if ac_fn_c_try_compile "$LINENO"; then :
   3586   ac_compiler_gnu=yes
   3587 else
   3588   ac_compiler_gnu=no
   3589 fi
   3590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3592 
   3593 fi
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3595 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3596 if test $ac_compiler_gnu = yes; then
   3597   GCC=yes
   3598 else
   3599   GCC=
   3600 fi
   3601 ac_test_CFLAGS=${CFLAGS+set}
   3602 ac_save_CFLAGS=$CFLAGS
   3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3604 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3605 if ${ac_cv_prog_cc_g+:} false; then :
   3606   $as_echo_n "(cached) " >&6
   3607 else
   3608   ac_save_c_werror_flag=$ac_c_werror_flag
   3609    ac_c_werror_flag=yes
   3610    ac_cv_prog_cc_g=no
   3611    CFLAGS="-g"
   3612    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3613 /* end confdefs.h.  */
   3614 
   3615 int
   3616 main ()
   3617 {
   3618 
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 if ac_fn_c_try_compile "$LINENO"; then :
   3624   ac_cv_prog_cc_g=yes
   3625 else
   3626   CFLAGS=""
   3627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3628 /* end confdefs.h.  */
   3629 
   3630 int
   3631 main ()
   3632 {
   3633 
   3634   ;
   3635   return 0;
   3636 }
   3637 _ACEOF
   3638 if ac_fn_c_try_compile "$LINENO"; then :
   3639 
   3640 else
   3641   ac_c_werror_flag=$ac_save_c_werror_flag
   3642 	 CFLAGS="-g"
   3643 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3644 /* end confdefs.h.  */
   3645 
   3646 int
   3647 main ()
   3648 {
   3649 
   3650   ;
   3651   return 0;
   3652 }
   3653 _ACEOF
   3654 if ac_fn_c_try_compile "$LINENO"; then :
   3655   ac_cv_prog_cc_g=yes
   3656 fi
   3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3658 fi
   3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3660 fi
   3661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3662    ac_c_werror_flag=$ac_save_c_werror_flag
   3663 fi
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3665 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3666 if test "$ac_test_CFLAGS" = set; then
   3667   CFLAGS=$ac_save_CFLAGS
   3668 elif test $ac_cv_prog_cc_g = yes; then
   3669   if test "$GCC" = yes; then
   3670     CFLAGS="-g -O2"
   3671   else
   3672     CFLAGS="-g"
   3673   fi
   3674 else
   3675   if test "$GCC" = yes; then
   3676     CFLAGS="-O2"
   3677   else
   3678     CFLAGS=
   3679   fi
   3680 fi
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3682 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3683 if ${ac_cv_prog_cc_c89+:} false; then :
   3684   $as_echo_n "(cached) " >&6
   3685 else
   3686   ac_cv_prog_cc_c89=no
   3687 ac_save_CC=$CC
   3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3689 /* end confdefs.h.  */
   3690 #include <stdarg.h>
   3691 #include <stdio.h>
   3692 #include <sys/types.h>
   3693 #include <sys/stat.h>
   3694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3695 struct buf { int x; };
   3696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3697 static char *e (p, i)
   3698      char **p;
   3699      int i;
   3700 {
   3701   return p[i];
   3702 }
   3703 static char *f (char * (*g) (char **, int), char **p, ...)
   3704 {
   3705   char *s;
   3706   va_list v;
   3707   va_start (v,p);
   3708   s = g (p, va_arg (v,int));
   3709   va_end (v);
   3710   return s;
   3711 }
   3712 
   3713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3714    function prototypes and stuff, but not '\xHH' hex character constants.
   3715    These don't provoke an error unfortunately, instead are silently treated
   3716    as 'x'.  The following induces an error, until -std is added to get
   3717    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3718    array size at least.  It's necessary to write '\x00'==0 to get something
   3719    that's true only with -std.  */
   3720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3721 
   3722 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3723    inside strings and character constants.  */
   3724 #define FOO(x) 'x'
   3725 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3726 
   3727 int test (int i, double x);
   3728 struct s1 {int (*f) (int a);};
   3729 struct s2 {int (*f) (double a);};
   3730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3731 int argc;
   3732 char **argv;
   3733 int
   3734 main ()
   3735 {
   3736 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3737   ;
   3738   return 0;
   3739 }
   3740 _ACEOF
   3741 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3742 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3743 do
   3744   CC="$ac_save_CC $ac_arg"
   3745   if ac_fn_c_try_compile "$LINENO"; then :
   3746   ac_cv_prog_cc_c89=$ac_arg
   3747 fi
   3748 rm -f core conftest.err conftest.$ac_objext
   3749   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3750 done
   3751 rm -f conftest.$ac_ext
   3752 CC=$ac_save_CC
   3753 
   3754 fi
   3755 # AC_CACHE_VAL
   3756 case "x$ac_cv_prog_cc_c89" in
   3757   x)
   3758     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3759 $as_echo "none needed" >&6; } ;;
   3760   xno)
   3761     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3762 $as_echo "unsupported" >&6; } ;;
   3763   *)
   3764     CC="$CC $ac_cv_prog_cc_c89"
   3765     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3766 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3767 esac
   3768 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3769 
   3770 fi
   3771 
   3772 ac_ext=c
   3773 ac_cpp='$CPP $CPPFLAGS'
   3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3777 
   3778 depcc="$CC"   am_compiler_list=
   3779 
   3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3781 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3782 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3783   $as_echo_n "(cached) " >&6
   3784 else
   3785   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3786   # We make a subdir and do the tests there.  Otherwise we can end up
   3787   # making bogus files that we don't know about and never remove.  For
   3788   # instance it was reported that on HP-UX the gcc test will end up
   3789   # making a dummy file named 'D' -- because '-MD' means "put the output
   3790   # in D".
   3791   rm -rf conftest.dir
   3792   mkdir conftest.dir
   3793   # Copy depcomp to subdir because otherwise we won't find it if we're
   3794   # using a relative directory.
   3795   cp "$am_depcomp" conftest.dir
   3796   cd conftest.dir
   3797   # We will build objects and dependencies in a subdirectory because
   3798   # it helps to detect inapplicable dependency modes.  For instance
   3799   # both Tru64's cc and ICC support -MD to output dependencies as a
   3800   # side effect of compilation, but ICC will put the dependencies in
   3801   # the current directory while Tru64 will put them in the object
   3802   # directory.
   3803   mkdir sub
   3804 
   3805   am_cv_CC_dependencies_compiler_type=none
   3806   if test "$am_compiler_list" = ""; then
   3807      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3808   fi
   3809   am__universal=false
   3810   case " $depcc " in #(
   3811      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3812      esac
   3813 
   3814   for depmode in $am_compiler_list; do
   3815     # Setup a source with many dependencies, because some compilers
   3816     # like to wrap large dependency lists on column 80 (with \), and
   3817     # we should not choose a depcomp mode which is confused by this.
   3818     #
   3819     # We need to recreate these files for each test, as the compiler may
   3820     # overwrite some of them when testing with obscure command lines.
   3821     # This happens at least with the AIX C compiler.
   3822     : > sub/conftest.c
   3823     for i in 1 2 3 4 5 6; do
   3824       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3825       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3826       # Solaris 10 /bin/sh.
   3827       echo '/* dummy */' > sub/conftst$i.h
   3828     done
   3829     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3830 
   3831     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3832     # mode.  It turns out that the SunPro C++ compiler does not properly
   3833     # handle '-M -o', and we need to detect this.  Also, some Intel
   3834     # versions had trouble with output in subdirs.
   3835     am__obj=sub/conftest.${OBJEXT-o}
   3836     am__minus_obj="-o $am__obj"
   3837     case $depmode in
   3838     gcc)
   3839       # This depmode causes a compiler race in universal mode.
   3840       test "$am__universal" = false || continue
   3841       ;;
   3842     nosideeffect)
   3843       # After this tag, mechanisms are not by side-effect, so they'll
   3844       # only be used when explicitly requested.
   3845       if test "x$enable_dependency_tracking" = xyes; then
   3846 	continue
   3847       else
   3848 	break
   3849       fi
   3850       ;;
   3851     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3852       # This compiler won't grok '-c -o', but also, the minuso test has
   3853       # not run yet.  These depmodes are late enough in the game, and
   3854       # so weak that their functioning should not be impacted.
   3855       am__obj=conftest.${OBJEXT-o}
   3856       am__minus_obj=
   3857       ;;
   3858     none) break ;;
   3859     esac
   3860     if depmode=$depmode \
   3861        source=sub/conftest.c object=$am__obj \
   3862        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3863        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3864          >/dev/null 2>conftest.err &&
   3865        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3866        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3867        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3868        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3869       # icc doesn't choke on unknown options, it will just issue warnings
   3870       # or remarks (even with -Werror).  So we grep stderr for any message
   3871       # that says an option was ignored or not supported.
   3872       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3873       #   icc: Command line warning: ignoring option '-M'; no argument required
   3874       # The diagnosis changed in icc 8.0:
   3875       #   icc: Command line remark: option '-MP' not supported
   3876       if (grep 'ignoring option' conftest.err ||
   3877           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3878         am_cv_CC_dependencies_compiler_type=$depmode
   3879         break
   3880       fi
   3881     fi
   3882   done
   3883 
   3884   cd ..
   3885   rm -rf conftest.dir
   3886 else
   3887   am_cv_CC_dependencies_compiler_type=none
   3888 fi
   3889 
   3890 fi
   3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3892 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3893 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3894 
   3895  if
   3896   test "x$enable_dependency_tracking" != xno \
   3897   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3898   am__fastdepCC_TRUE=
   3899   am__fastdepCC_FALSE='#'
   3900 else
   3901   am__fastdepCC_TRUE='#'
   3902   am__fastdepCC_FALSE=
   3903 fi
   3904 
   3905 
   3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3907 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3908 if ${ac_cv_path_SED+:} false; then :
   3909   $as_echo_n "(cached) " >&6
   3910 else
   3911             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3912      for ac_i in 1 2 3 4 5 6 7; do
   3913        ac_script="$ac_script$as_nl$ac_script"
   3914      done
   3915      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3916      { ac_script=; unset ac_script;}
   3917      if test -z "$SED"; then
   3918   ac_path_SED_found=false
   3919   # Loop through the user's path and test for each of PROGNAME-LIST
   3920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3921 for as_dir in $PATH
   3922 do
   3923   IFS=$as_save_IFS
   3924   test -z "$as_dir" && as_dir=.
   3925     for ac_prog in sed gsed; do
   3926     for ac_exec_ext in '' $ac_executable_extensions; do
   3927       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3928       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3929 # Check for GNU ac_path_SED and select it if it is found.
   3930   # Check for GNU $ac_path_SED
   3931 case `"$ac_path_SED" --version 2>&1` in
   3932 *GNU*)
   3933   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3934 *)
   3935   ac_count=0
   3936   $as_echo_n 0123456789 >"conftest.in"
   3937   while :
   3938   do
   3939     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3940     mv "conftest.tmp" "conftest.in"
   3941     cp "conftest.in" "conftest.nl"
   3942     $as_echo '' >> "conftest.nl"
   3943     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3944     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3945     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3946     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3947       # Best one so far, save it but keep looking for a better one
   3948       ac_cv_path_SED="$ac_path_SED"
   3949       ac_path_SED_max=$ac_count
   3950     fi
   3951     # 10*(2^10) chars as input seems more than enough
   3952     test $ac_count -gt 10 && break
   3953   done
   3954   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3955 esac
   3956 
   3957       $ac_path_SED_found && break 3
   3958     done
   3959   done
   3960   done
   3961 IFS=$as_save_IFS
   3962   if test -z "$ac_cv_path_SED"; then
   3963     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3964   fi
   3965 else
   3966   ac_cv_path_SED=$SED
   3967 fi
   3968 
   3969 fi
   3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3971 $as_echo "$ac_cv_path_SED" >&6; }
   3972  SED="$ac_cv_path_SED"
   3973   rm -f conftest.sed
   3974 
   3975 test -z "$SED" && SED=sed
   3976 Xsed="$SED -e 1s/^X//"
   3977 
   3978 
   3979 
   3980 
   3981 
   3982 
   3983 
   3984 
   3985 
   3986 
   3987 
   3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3989 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3990 if ${ac_cv_path_GREP+:} false; then :
   3991   $as_echo_n "(cached) " >&6
   3992 else
   3993   if test -z "$GREP"; then
   3994   ac_path_GREP_found=false
   3995   # Loop through the user's path and test for each of PROGNAME-LIST
   3996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3998 do
   3999   IFS=$as_save_IFS
   4000   test -z "$as_dir" && as_dir=.
   4001     for ac_prog in grep ggrep; do
   4002     for ac_exec_ext in '' $ac_executable_extensions; do
   4003       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4004       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4005 # Check for GNU ac_path_GREP and select it if it is found.
   4006   # Check for GNU $ac_path_GREP
   4007 case `"$ac_path_GREP" --version 2>&1` in
   4008 *GNU*)
   4009   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4010 *)
   4011   ac_count=0
   4012   $as_echo_n 0123456789 >"conftest.in"
   4013   while :
   4014   do
   4015     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4016     mv "conftest.tmp" "conftest.in"
   4017     cp "conftest.in" "conftest.nl"
   4018     $as_echo 'GREP' >> "conftest.nl"
   4019     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4021     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4022     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4023       # Best one so far, save it but keep looking for a better one
   4024       ac_cv_path_GREP="$ac_path_GREP"
   4025       ac_path_GREP_max=$ac_count
   4026     fi
   4027     # 10*(2^10) chars as input seems more than enough
   4028     test $ac_count -gt 10 && break
   4029   done
   4030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4031 esac
   4032 
   4033       $ac_path_GREP_found && break 3
   4034     done
   4035   done
   4036   done
   4037 IFS=$as_save_IFS
   4038   if test -z "$ac_cv_path_GREP"; then
   4039     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4040   fi
   4041 else
   4042   ac_cv_path_GREP=$GREP
   4043 fi
   4044 
   4045 fi
   4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4047 $as_echo "$ac_cv_path_GREP" >&6; }
   4048  GREP="$ac_cv_path_GREP"
   4049 
   4050 
   4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4052 $as_echo_n "checking for egrep... " >&6; }
   4053 if ${ac_cv_path_EGREP+:} false; then :
   4054   $as_echo_n "(cached) " >&6
   4055 else
   4056   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4057    then ac_cv_path_EGREP="$GREP -E"
   4058    else
   4059      if test -z "$EGREP"; then
   4060   ac_path_EGREP_found=false
   4061   # Loop through the user's path and test for each of PROGNAME-LIST
   4062   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4064 do
   4065   IFS=$as_save_IFS
   4066   test -z "$as_dir" && as_dir=.
   4067     for ac_prog in egrep; do
   4068     for ac_exec_ext in '' $ac_executable_extensions; do
   4069       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4070       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4071 # Check for GNU ac_path_EGREP and select it if it is found.
   4072   # Check for GNU $ac_path_EGREP
   4073 case `"$ac_path_EGREP" --version 2>&1` in
   4074 *GNU*)
   4075   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4076 *)
   4077   ac_count=0
   4078   $as_echo_n 0123456789 >"conftest.in"
   4079   while :
   4080   do
   4081     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4082     mv "conftest.tmp" "conftest.in"
   4083     cp "conftest.in" "conftest.nl"
   4084     $as_echo 'EGREP' >> "conftest.nl"
   4085     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4086     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4087     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4088     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4089       # Best one so far, save it but keep looking for a better one
   4090       ac_cv_path_EGREP="$ac_path_EGREP"
   4091       ac_path_EGREP_max=$ac_count
   4092     fi
   4093     # 10*(2^10) chars as input seems more than enough
   4094     test $ac_count -gt 10 && break
   4095   done
   4096   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4097 esac
   4098 
   4099       $ac_path_EGREP_found && break 3
   4100     done
   4101   done
   4102   done
   4103 IFS=$as_save_IFS
   4104   if test -z "$ac_cv_path_EGREP"; then
   4105     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4106   fi
   4107 else
   4108   ac_cv_path_EGREP=$EGREP
   4109 fi
   4110 
   4111    fi
   4112 fi
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4114 $as_echo "$ac_cv_path_EGREP" >&6; }
   4115  EGREP="$ac_cv_path_EGREP"
   4116 
   4117 
   4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4119 $as_echo_n "checking for fgrep... " >&6; }
   4120 if ${ac_cv_path_FGREP+:} false; then :
   4121   $as_echo_n "(cached) " >&6
   4122 else
   4123   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4124    then ac_cv_path_FGREP="$GREP -F"
   4125    else
   4126      if test -z "$FGREP"; then
   4127   ac_path_FGREP_found=false
   4128   # Loop through the user's path and test for each of PROGNAME-LIST
   4129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4131 do
   4132   IFS=$as_save_IFS
   4133   test -z "$as_dir" && as_dir=.
   4134     for ac_prog in fgrep; do
   4135     for ac_exec_ext in '' $ac_executable_extensions; do
   4136       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4137       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4138 # Check for GNU ac_path_FGREP and select it if it is found.
   4139   # Check for GNU $ac_path_FGREP
   4140 case `"$ac_path_FGREP" --version 2>&1` in
   4141 *GNU*)
   4142   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4143 *)
   4144   ac_count=0
   4145   $as_echo_n 0123456789 >"conftest.in"
   4146   while :
   4147   do
   4148     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4149     mv "conftest.tmp" "conftest.in"
   4150     cp "conftest.in" "conftest.nl"
   4151     $as_echo 'FGREP' >> "conftest.nl"
   4152     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4154     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4155     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4156       # Best one so far, save it but keep looking for a better one
   4157       ac_cv_path_FGREP="$ac_path_FGREP"
   4158       ac_path_FGREP_max=$ac_count
   4159     fi
   4160     # 10*(2^10) chars as input seems more than enough
   4161     test $ac_count -gt 10 && break
   4162   done
   4163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4164 esac
   4165 
   4166       $ac_path_FGREP_found && break 3
   4167     done
   4168   done
   4169   done
   4170 IFS=$as_save_IFS
   4171   if test -z "$ac_cv_path_FGREP"; then
   4172     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4173   fi
   4174 else
   4175   ac_cv_path_FGREP=$FGREP
   4176 fi
   4177 
   4178    fi
   4179 fi
   4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4181 $as_echo "$ac_cv_path_FGREP" >&6; }
   4182  FGREP="$ac_cv_path_FGREP"
   4183 
   4184 
   4185 test -z "$GREP" && GREP=grep
   4186 
   4187 
   4188 
   4189 
   4190 
   4191 
   4192 
   4193 
   4194 
   4195 
   4196 
   4197 
   4198 
   4199 
   4200 
   4201 
   4202 
   4203 
   4204 
   4205 # Check whether --with-gnu-ld was given.
   4206 if test "${with_gnu_ld+set}" = set; then :
   4207   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4208 else
   4209   with_gnu_ld=no
   4210 fi
   4211 
   4212 ac_prog=ld
   4213 if test "$GCC" = yes; then
   4214   # Check if gcc -print-prog-name=ld gives a path.
   4215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4216 $as_echo_n "checking for ld used by $CC... " >&6; }
   4217   case $host in
   4218   *-*-mingw*)
   4219     # gcc leaves a trailing carriage return which upsets mingw
   4220     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4221   *)
   4222     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4223   esac
   4224   case $ac_prog in
   4225     # Accept absolute paths.
   4226     [\\/]* | ?:[\\/]*)
   4227       re_direlt='/[^/][^/]*/\.\./'
   4228       # Canonicalize the pathname of ld
   4229       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4230       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4231 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4232       done
   4233       test -z "$LD" && LD="$ac_prog"
   4234       ;;
   4235   "")
   4236     # If it fails, then pretend we aren't using GCC.
   4237     ac_prog=ld
   4238     ;;
   4239   *)
   4240     # If it is relative, then search for the first ld in PATH.
   4241     with_gnu_ld=unknown
   4242     ;;
   4243   esac
   4244 elif test "$with_gnu_ld" = yes; then
   4245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4246 $as_echo_n "checking for GNU ld... " >&6; }
   4247 else
   4248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4249 $as_echo_n "checking for non-GNU ld... " >&6; }
   4250 fi
   4251 if ${lt_cv_path_LD+:} false; then :
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   if test -z "$LD"; then
   4255   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4256   for ac_dir in $PATH; do
   4257     IFS="$lt_save_ifs"
   4258     test -z "$ac_dir" && ac_dir=.
   4259     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4260       lt_cv_path_LD="$ac_dir/$ac_prog"
   4261       # Check to see if the program is GNU ld.  I'd rather use --version,
   4262       # but apparently some variants of GNU ld only accept -v.
   4263       # Break only if it was the GNU/non-GNU ld that we prefer.
   4264       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4265       *GNU* | *'with BFD'*)
   4266 	test "$with_gnu_ld" != no && break
   4267 	;;
   4268       *)
   4269 	test "$with_gnu_ld" != yes && break
   4270 	;;
   4271       esac
   4272     fi
   4273   done
   4274   IFS="$lt_save_ifs"
   4275 else
   4276   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4277 fi
   4278 fi
   4279 
   4280 LD="$lt_cv_path_LD"
   4281 if test -n "$LD"; then
   4282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4283 $as_echo "$LD" >&6; }
   4284 else
   4285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4286 $as_echo "no" >&6; }
   4287 fi
   4288 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4290 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4291 if ${lt_cv_prog_gnu_ld+:} false; then :
   4292   $as_echo_n "(cached) " >&6
   4293 else
   4294   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4295 case `$LD -v 2>&1 </dev/null` in
   4296 *GNU* | *'with BFD'*)
   4297   lt_cv_prog_gnu_ld=yes
   4298   ;;
   4299 *)
   4300   lt_cv_prog_gnu_ld=no
   4301   ;;
   4302 esac
   4303 fi
   4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4305 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4306 with_gnu_ld=$lt_cv_prog_gnu_ld
   4307 
   4308 
   4309 
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 
   4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4317 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4318 if ${lt_cv_path_NM+:} false; then :
   4319   $as_echo_n "(cached) " >&6
   4320 else
   4321   if test -n "$NM"; then
   4322   # Let the user override the test.
   4323   lt_cv_path_NM="$NM"
   4324 else
   4325   lt_nm_to_check="${ac_tool_prefix}nm"
   4326   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4327     lt_nm_to_check="$lt_nm_to_check nm"
   4328   fi
   4329   for lt_tmp_nm in $lt_nm_to_check; do
   4330     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4331     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4332       IFS="$lt_save_ifs"
   4333       test -z "$ac_dir" && ac_dir=.
   4334       tmp_nm="$ac_dir/$lt_tmp_nm"
   4335       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4336 	# Check to see if the nm accepts a BSD-compat flag.
   4337 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4338 	#   nm: unknown option "B" ignored
   4339 	# Tru64's nm complains that /dev/null is an invalid object file
   4340 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4341 	*/dev/null* | *'Invalid file or object type'*)
   4342 	  lt_cv_path_NM="$tmp_nm -B"
   4343 	  break
   4344 	  ;;
   4345 	*)
   4346 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4347 	  */dev/null*)
   4348 	    lt_cv_path_NM="$tmp_nm -p"
   4349 	    break
   4350 	    ;;
   4351 	  *)
   4352 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4353 	    continue # so that we can try to find one that supports BSD flags
   4354 	    ;;
   4355 	  esac
   4356 	  ;;
   4357 	esac
   4358       fi
   4359     done
   4360     IFS="$lt_save_ifs"
   4361   done
   4362   : ${lt_cv_path_NM=no}
   4363 fi
   4364 fi
   4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4366 $as_echo "$lt_cv_path_NM" >&6; }
   4367 if test "$lt_cv_path_NM" != "no"; then
   4368   NM="$lt_cv_path_NM"
   4369 else
   4370   # Didn't find any BSD compatible name lister, look for dumpbin.
   4371   if test -n "$DUMPBIN"; then :
   4372     # Let the user override the test.
   4373   else
   4374     if test -n "$ac_tool_prefix"; then
   4375   for ac_prog in dumpbin "link -dump"
   4376   do
   4377     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4380 $as_echo_n "checking for $ac_word... " >&6; }
   4381 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4382   $as_echo_n "(cached) " >&6
   4383 else
   4384   if test -n "$DUMPBIN"; then
   4385   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4386 else
   4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4388 for as_dir in $PATH
   4389 do
   4390   IFS=$as_save_IFS
   4391   test -z "$as_dir" && as_dir=.
   4392     for ac_exec_ext in '' $ac_executable_extensions; do
   4393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4394     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4396     break 2
   4397   fi
   4398 done
   4399   done
   4400 IFS=$as_save_IFS
   4401 
   4402 fi
   4403 fi
   4404 DUMPBIN=$ac_cv_prog_DUMPBIN
   4405 if test -n "$DUMPBIN"; then
   4406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4407 $as_echo "$DUMPBIN" >&6; }
   4408 else
   4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4410 $as_echo "no" >&6; }
   4411 fi
   4412 
   4413 
   4414     test -n "$DUMPBIN" && break
   4415   done
   4416 fi
   4417 if test -z "$DUMPBIN"; then
   4418   ac_ct_DUMPBIN=$DUMPBIN
   4419   for ac_prog in dumpbin "link -dump"
   4420 do
   4421   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4422 set dummy $ac_prog; ac_word=$2
   4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4424 $as_echo_n "checking for $ac_word... " >&6; }
   4425 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4426   $as_echo_n "(cached) " >&6
   4427 else
   4428   if test -n "$ac_ct_DUMPBIN"; then
   4429   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4430 else
   4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4432 for as_dir in $PATH
   4433 do
   4434   IFS=$as_save_IFS
   4435   test -z "$as_dir" && as_dir=.
   4436     for ac_exec_ext in '' $ac_executable_extensions; do
   4437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4438     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4440     break 2
   4441   fi
   4442 done
   4443   done
   4444 IFS=$as_save_IFS
   4445 
   4446 fi
   4447 fi
   4448 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4449 if test -n "$ac_ct_DUMPBIN"; then
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4451 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4452 else
   4453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4454 $as_echo "no" >&6; }
   4455 fi
   4456 
   4457 
   4458   test -n "$ac_ct_DUMPBIN" && break
   4459 done
   4460 
   4461   if test "x$ac_ct_DUMPBIN" = x; then
   4462     DUMPBIN=":"
   4463   else
   4464     case $cross_compiling:$ac_tool_warned in
   4465 yes:)
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4468 ac_tool_warned=yes ;;
   4469 esac
   4470     DUMPBIN=$ac_ct_DUMPBIN
   4471   fi
   4472 fi
   4473 
   4474     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4475     *COFF*)
   4476       DUMPBIN="$DUMPBIN -symbols"
   4477       ;;
   4478     *)
   4479       DUMPBIN=:
   4480       ;;
   4481     esac
   4482   fi
   4483 
   4484   if test "$DUMPBIN" != ":"; then
   4485     NM="$DUMPBIN"
   4486   fi
   4487 fi
   4488 test -z "$NM" && NM=nm
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4496 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4497 if ${lt_cv_nm_interface+:} false; then :
   4498   $as_echo_n "(cached) " >&6
   4499 else
   4500   lt_cv_nm_interface="BSD nm"
   4501   echo "int some_variable = 0;" > conftest.$ac_ext
   4502   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4503   (eval "$ac_compile" 2>conftest.err)
   4504   cat conftest.err >&5
   4505   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4506   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4507   cat conftest.err >&5
   4508   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4509   cat conftest.out >&5
   4510   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4511     lt_cv_nm_interface="MS dumpbin"
   4512   fi
   4513   rm -f conftest*
   4514 fi
   4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4516 $as_echo "$lt_cv_nm_interface" >&6; }
   4517 
   4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4519 $as_echo_n "checking whether ln -s works... " >&6; }
   4520 LN_S=$as_ln_s
   4521 if test "$LN_S" = "ln -s"; then
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4523 $as_echo "yes" >&6; }
   4524 else
   4525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4526 $as_echo "no, using $LN_S" >&6; }
   4527 fi
   4528 
   4529 # find the maximum length of command line arguments
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4531 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4532 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4533   $as_echo_n "(cached) " >&6
   4534 else
   4535     i=0
   4536   teststring="ABCD"
   4537 
   4538   case $build_os in
   4539   msdosdjgpp*)
   4540     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4541     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4542     # during glob expansion).  Even if it were fixed, the result of this
   4543     # check would be larger than it should be.
   4544     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4545     ;;
   4546 
   4547   gnu*)
   4548     # Under GNU Hurd, this test is not required because there is
   4549     # no limit to the length of command line arguments.
   4550     # Libtool will interpret -1 as no limit whatsoever
   4551     lt_cv_sys_max_cmd_len=-1;
   4552     ;;
   4553 
   4554   cygwin* | mingw* | cegcc*)
   4555     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4556     # about 5 minutes as the teststring grows exponentially.
   4557     # Worse, since 9x/ME are not pre-emptively multitasking,
   4558     # you end up with a "frozen" computer, even though with patience
   4559     # the test eventually succeeds (with a max line length of 256k).
   4560     # Instead, let's just punt: use the minimum linelength reported by
   4561     # all of the supported platforms: 8192 (on NT/2K/XP).
   4562     lt_cv_sys_max_cmd_len=8192;
   4563     ;;
   4564 
   4565   mint*)
   4566     # On MiNT this can take a long time and run out of memory.
   4567     lt_cv_sys_max_cmd_len=8192;
   4568     ;;
   4569 
   4570   amigaos*)
   4571     # On AmigaOS with pdksh, this test takes hours, literally.
   4572     # So we just punt and use a minimum line length of 8192.
   4573     lt_cv_sys_max_cmd_len=8192;
   4574     ;;
   4575 
   4576   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4577     # This has been around since 386BSD, at least.  Likely further.
   4578     if test -x /sbin/sysctl; then
   4579       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4580     elif test -x /usr/sbin/sysctl; then
   4581       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4582     else
   4583       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4584     fi
   4585     # And add a safety zone
   4586     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4587     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4588     ;;
   4589 
   4590   interix*)
   4591     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4592     lt_cv_sys_max_cmd_len=196608
   4593     ;;
   4594 
   4595   os2*)
   4596     # The test takes a long time on OS/2.
   4597     lt_cv_sys_max_cmd_len=8192
   4598     ;;
   4599 
   4600   osf*)
   4601     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4602     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4603     # nice to cause kernel panics so lets avoid the loop below.
   4604     # First set a reasonable default.
   4605     lt_cv_sys_max_cmd_len=16384
   4606     #
   4607     if test -x /sbin/sysconfig; then
   4608       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4609         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4610       esac
   4611     fi
   4612     ;;
   4613   sco3.2v5*)
   4614     lt_cv_sys_max_cmd_len=102400
   4615     ;;
   4616   sysv5* | sco5v6* | sysv4.2uw2*)
   4617     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4618     if test -n "$kargmax"; then
   4619       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4620     else
   4621       lt_cv_sys_max_cmd_len=32768
   4622     fi
   4623     ;;
   4624   *)
   4625     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4626     if test -n "$lt_cv_sys_max_cmd_len"; then
   4627       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4628       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4629     else
   4630       # Make teststring a little bigger before we do anything with it.
   4631       # a 1K string should be a reasonable start.
   4632       for i in 1 2 3 4 5 6 7 8 ; do
   4633         teststring=$teststring$teststring
   4634       done
   4635       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4636       # If test is not a shell built-in, we'll probably end up computing a
   4637       # maximum length that is only half of the actual maximum length, but
   4638       # we can't tell.
   4639       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4640 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4641 	      test $i != 17 # 1/2 MB should be enough
   4642       do
   4643         i=`expr $i + 1`
   4644         teststring=$teststring$teststring
   4645       done
   4646       # Only check the string length outside the loop.
   4647       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4648       teststring=
   4649       # Add a significant safety factor because C++ compilers can tack on
   4650       # massive amounts of additional arguments before passing them to the
   4651       # linker.  It appears as though 1/2 is a usable value.
   4652       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4653     fi
   4654     ;;
   4655   esac
   4656 
   4657 fi
   4658 
   4659 if test -n $lt_cv_sys_max_cmd_len ; then
   4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4662 else
   4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4664 $as_echo "none" >&6; }
   4665 fi
   4666 max_cmd_len=$lt_cv_sys_max_cmd_len
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 : ${CP="cp -f"}
   4674 : ${MV="mv -f"}
   4675 : ${RM="rm -f"}
   4676 
   4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4679 # Try some XSI features
   4680 xsi_shell=no
   4681 ( _lt_dummy="a/b/c"
   4682   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4683       = c,a/b,b/c, \
   4684     && eval 'test $(( 1 + 1 )) -eq 2 \
   4685     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4686   && xsi_shell=yes
   4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4688 $as_echo "$xsi_shell" >&6; }
   4689 
   4690 
   4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4692 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4693 lt_shell_append=no
   4694 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4695     >/dev/null 2>&1 \
   4696   && lt_shell_append=yes
   4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4698 $as_echo "$lt_shell_append" >&6; }
   4699 
   4700 
   4701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4702   lt_unset=unset
   4703 else
   4704   lt_unset=false
   4705 fi
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 # test EBCDIC or ASCII
   4712 case `echo X|tr X '\101'` in
   4713  A) # ASCII based system
   4714     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4715   lt_SP2NL='tr \040 \012'
   4716   lt_NL2SP='tr \015\012 \040\040'
   4717   ;;
   4718  *) # EBCDIC based system
   4719   lt_SP2NL='tr \100 \n'
   4720   lt_NL2SP='tr \r\n \100\100'
   4721   ;;
   4722 esac
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4733 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4734 if ${lt_cv_to_host_file_cmd+:} false; then :
   4735   $as_echo_n "(cached) " >&6
   4736 else
   4737   case $host in
   4738   *-*-mingw* )
   4739     case $build in
   4740       *-*-mingw* ) # actually msys
   4741         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4742         ;;
   4743       *-*-cygwin* )
   4744         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4745         ;;
   4746       * ) # otherwise, assume *nix
   4747         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4748         ;;
   4749     esac
   4750     ;;
   4751   *-*-cygwin* )
   4752     case $build in
   4753       *-*-mingw* ) # actually msys
   4754         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4755         ;;
   4756       *-*-cygwin* )
   4757         lt_cv_to_host_file_cmd=func_convert_file_noop
   4758         ;;
   4759       * ) # otherwise, assume *nix
   4760         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4761         ;;
   4762     esac
   4763     ;;
   4764   * ) # unhandled hosts (and "normal" native builds)
   4765     lt_cv_to_host_file_cmd=func_convert_file_noop
   4766     ;;
   4767 esac
   4768 
   4769 fi
   4770 
   4771 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4773 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4780 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4781 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784   #assume ordinary cross tools, or native build.
   4785 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4786 case $host in
   4787   *-*-mingw* )
   4788     case $build in
   4789       *-*-mingw* ) # actually msys
   4790         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4791         ;;
   4792     esac
   4793     ;;
   4794 esac
   4795 
   4796 fi
   4797 
   4798 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4800 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4807 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4808 if ${lt_cv_ld_reload_flag+:} false; then :
   4809   $as_echo_n "(cached) " >&6
   4810 else
   4811   lt_cv_ld_reload_flag='-r'
   4812 fi
   4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4814 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4815 reload_flag=$lt_cv_ld_reload_flag
   4816 case $reload_flag in
   4817 "" | " "*) ;;
   4818 *) reload_flag=" $reload_flag" ;;
   4819 esac
   4820 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4821 case $host_os in
   4822   cygwin* | mingw* | pw32* | cegcc*)
   4823     if test "$GCC" != yes; then
   4824       reload_cmds=false
   4825     fi
   4826     ;;
   4827   darwin*)
   4828     if test "$GCC" = yes; then
   4829       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4830     else
   4831       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4832     fi
   4833     ;;
   4834 esac
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 
   4844 if test -n "$ac_tool_prefix"; then
   4845   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4846 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4848 $as_echo_n "checking for $ac_word... " >&6; }
   4849 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4850   $as_echo_n "(cached) " >&6
   4851 else
   4852   if test -n "$OBJDUMP"; then
   4853   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4854 else
   4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4856 for as_dir in $PATH
   4857 do
   4858   IFS=$as_save_IFS
   4859   test -z "$as_dir" && as_dir=.
   4860     for ac_exec_ext in '' $ac_executable_extensions; do
   4861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4862     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4864     break 2
   4865   fi
   4866 done
   4867   done
   4868 IFS=$as_save_IFS
   4869 
   4870 fi
   4871 fi
   4872 OBJDUMP=$ac_cv_prog_OBJDUMP
   4873 if test -n "$OBJDUMP"; then
   4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4875 $as_echo "$OBJDUMP" >&6; }
   4876 else
   4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4878 $as_echo "no" >&6; }
   4879 fi
   4880 
   4881 
   4882 fi
   4883 if test -z "$ac_cv_prog_OBJDUMP"; then
   4884   ac_ct_OBJDUMP=$OBJDUMP
   4885   # Extract the first word of "objdump", so it can be a program name with args.
   4886 set dummy objdump; ac_word=$2
   4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4888 $as_echo_n "checking for $ac_word... " >&6; }
   4889 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   if test -n "$ac_ct_OBJDUMP"; then
   4893   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4894 else
   4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4896 for as_dir in $PATH
   4897 do
   4898   IFS=$as_save_IFS
   4899   test -z "$as_dir" && as_dir=.
   4900     for ac_exec_ext in '' $ac_executable_extensions; do
   4901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4902     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4904     break 2
   4905   fi
   4906 done
   4907   done
   4908 IFS=$as_save_IFS
   4909 
   4910 fi
   4911 fi
   4912 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4913 if test -n "$ac_ct_OBJDUMP"; then
   4914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4915 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4916 else
   4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4918 $as_echo "no" >&6; }
   4919 fi
   4920 
   4921   if test "x$ac_ct_OBJDUMP" = x; then
   4922     OBJDUMP="false"
   4923   else
   4924     case $cross_compiling:$ac_tool_warned in
   4925 yes:)
   4926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4928 ac_tool_warned=yes ;;
   4929 esac
   4930     OBJDUMP=$ac_ct_OBJDUMP
   4931   fi
   4932 else
   4933   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4934 fi
   4935 
   4936 test -z "$OBJDUMP" && OBJDUMP=objdump
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4947 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4948 if ${lt_cv_deplibs_check_method+:} false; then :
   4949   $as_echo_n "(cached) " >&6
   4950 else
   4951   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4952 lt_cv_file_magic_test_file=
   4953 lt_cv_deplibs_check_method='unknown'
   4954 # Need to set the preceding variable on all platforms that support
   4955 # interlibrary dependencies.
   4956 # 'none' -- dependencies not supported.
   4957 # `unknown' -- same as none, but documents that we really don't know.
   4958 # 'pass_all' -- all dependencies passed with no checks.
   4959 # 'test_compile' -- check by making test program.
   4960 # 'file_magic [[regex]]' -- check by looking for files in library path
   4961 # which responds to the $file_magic_cmd with a given extended regex.
   4962 # If you have `file' or equivalent on your system and you're not sure
   4963 # whether `pass_all' will *always* work, you probably want this one.
   4964 
   4965 case $host_os in
   4966 aix[4-9]*)
   4967   lt_cv_deplibs_check_method=pass_all
   4968   ;;
   4969 
   4970 beos*)
   4971   lt_cv_deplibs_check_method=pass_all
   4972   ;;
   4973 
   4974 bsdi[45]*)
   4975   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4976   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4977   lt_cv_file_magic_test_file=/shlib/libc.so
   4978   ;;
   4979 
   4980 cygwin*)
   4981   # func_win32_libid is a shell function defined in ltmain.sh
   4982   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4983   lt_cv_file_magic_cmd='func_win32_libid'
   4984   ;;
   4985 
   4986 mingw* | pw32*)
   4987   # Base MSYS/MinGW do not provide the 'file' command needed by
   4988   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4989   # unless we find 'file', for example because we are cross-compiling.
   4990   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   4991   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   4992     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4993     lt_cv_file_magic_cmd='func_win32_libid'
   4994   else
   4995     # Keep this pattern in sync with the one in func_win32_libid.
   4996     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   4997     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4998   fi
   4999   ;;
   5000 
   5001 cegcc*)
   5002   # use the weaker test based on 'objdump'. See mingw*.
   5003   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5004   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5005   ;;
   5006 
   5007 darwin* | rhapsody*)
   5008   lt_cv_deplibs_check_method=pass_all
   5009   ;;
   5010 
   5011 freebsd* | dragonfly*)
   5012   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5013     case $host_cpu in
   5014     i*86 )
   5015       # Not sure whether the presence of OpenBSD here was a mistake.
   5016       # Let's accept both of them until this is cleared up.
   5017       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5018       lt_cv_file_magic_cmd=/usr/bin/file
   5019       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5020       ;;
   5021     esac
   5022   else
   5023     lt_cv_deplibs_check_method=pass_all
   5024   fi
   5025   ;;
   5026 
   5027 gnu*)
   5028   lt_cv_deplibs_check_method=pass_all
   5029   ;;
   5030 
   5031 haiku*)
   5032   lt_cv_deplibs_check_method=pass_all
   5033   ;;
   5034 
   5035 hpux10.20* | hpux11*)
   5036   lt_cv_file_magic_cmd=/usr/bin/file
   5037   case $host_cpu in
   5038   ia64*)
   5039     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5040     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5041     ;;
   5042   hppa*64*)
   5043     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]'
   5044     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5045     ;;
   5046   *)
   5047     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5048     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5049     ;;
   5050   esac
   5051   ;;
   5052 
   5053 interix[3-9]*)
   5054   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5055   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5056   ;;
   5057 
   5058 irix5* | irix6* | nonstopux*)
   5059   case $LD in
   5060   *-32|*"-32 ") libmagic=32-bit;;
   5061   *-n32|*"-n32 ") libmagic=N32;;
   5062   *-64|*"-64 ") libmagic=64-bit;;
   5063   *) libmagic=never-match;;
   5064   esac
   5065   lt_cv_deplibs_check_method=pass_all
   5066   ;;
   5067 
   5068 # This must be glibc/ELF.
   5069 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5070   lt_cv_deplibs_check_method=pass_all
   5071   ;;
   5072 
   5073 netbsd*)
   5074   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5075     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5076   else
   5077     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5078   fi
   5079   ;;
   5080 
   5081 newos6*)
   5082   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5083   lt_cv_file_magic_cmd=/usr/bin/file
   5084   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5085   ;;
   5086 
   5087 *nto* | *qnx*)
   5088   lt_cv_deplibs_check_method=pass_all
   5089   ;;
   5090 
   5091 openbsd*)
   5092   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5093     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5094   else
   5095     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5096   fi
   5097   ;;
   5098 
   5099 osf3* | osf4* | osf5*)
   5100   lt_cv_deplibs_check_method=pass_all
   5101   ;;
   5102 
   5103 rdos*)
   5104   lt_cv_deplibs_check_method=pass_all
   5105   ;;
   5106 
   5107 solaris*)
   5108   lt_cv_deplibs_check_method=pass_all
   5109   ;;
   5110 
   5111 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5112   lt_cv_deplibs_check_method=pass_all
   5113   ;;
   5114 
   5115 sysv4 | sysv4.3*)
   5116   case $host_vendor in
   5117   motorola)
   5118     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]'
   5119     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5120     ;;
   5121   ncr)
   5122     lt_cv_deplibs_check_method=pass_all
   5123     ;;
   5124   sequent)
   5125     lt_cv_file_magic_cmd='/bin/file'
   5126     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5127     ;;
   5128   sni)
   5129     lt_cv_file_magic_cmd='/bin/file'
   5130     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5131     lt_cv_file_magic_test_file=/lib/libc.so
   5132     ;;
   5133   siemens)
   5134     lt_cv_deplibs_check_method=pass_all
   5135     ;;
   5136   pc)
   5137     lt_cv_deplibs_check_method=pass_all
   5138     ;;
   5139   esac
   5140   ;;
   5141 
   5142 tpf*)
   5143   lt_cv_deplibs_check_method=pass_all
   5144   ;;
   5145 esac
   5146 
   5147 fi
   5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5149 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5150 
   5151 file_magic_glob=
   5152 want_nocaseglob=no
   5153 if test "$build" = "$host"; then
   5154   case $host_os in
   5155   mingw* | pw32*)
   5156     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5157       want_nocaseglob=yes
   5158     else
   5159       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5160     fi
   5161     ;;
   5162   esac
   5163 fi
   5164 
   5165 file_magic_cmd=$lt_cv_file_magic_cmd
   5166 deplibs_check_method=$lt_cv_deplibs_check_method
   5167 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 if test -n "$ac_tool_prefix"; then
   5191   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5192 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5194 $as_echo_n "checking for $ac_word... " >&6; }
   5195 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5196   $as_echo_n "(cached) " >&6
   5197 else
   5198   if test -n "$DLLTOOL"; then
   5199   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5200 else
   5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5202 for as_dir in $PATH
   5203 do
   5204   IFS=$as_save_IFS
   5205   test -z "$as_dir" && as_dir=.
   5206     for ac_exec_ext in '' $ac_executable_extensions; do
   5207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5208     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5210     break 2
   5211   fi
   5212 done
   5213   done
   5214 IFS=$as_save_IFS
   5215 
   5216 fi
   5217 fi
   5218 DLLTOOL=$ac_cv_prog_DLLTOOL
   5219 if test -n "$DLLTOOL"; then
   5220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5221 $as_echo "$DLLTOOL" >&6; }
   5222 else
   5223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5224 $as_echo "no" >&6; }
   5225 fi
   5226 
   5227 
   5228 fi
   5229 if test -z "$ac_cv_prog_DLLTOOL"; then
   5230   ac_ct_DLLTOOL=$DLLTOOL
   5231   # Extract the first word of "dlltool", so it can be a program name with args.
   5232 set dummy dlltool; ac_word=$2
   5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5234 $as_echo_n "checking for $ac_word... " >&6; }
   5235 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5236   $as_echo_n "(cached) " >&6
   5237 else
   5238   if test -n "$ac_ct_DLLTOOL"; then
   5239   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5240 else
   5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5242 for as_dir in $PATH
   5243 do
   5244   IFS=$as_save_IFS
   5245   test -z "$as_dir" && as_dir=.
   5246     for ac_exec_ext in '' $ac_executable_extensions; do
   5247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5248     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5250     break 2
   5251   fi
   5252 done
   5253   done
   5254 IFS=$as_save_IFS
   5255 
   5256 fi
   5257 fi
   5258 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5259 if test -n "$ac_ct_DLLTOOL"; then
   5260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5261 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5262 else
   5263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5264 $as_echo "no" >&6; }
   5265 fi
   5266 
   5267   if test "x$ac_ct_DLLTOOL" = x; then
   5268     DLLTOOL="false"
   5269   else
   5270     case $cross_compiling:$ac_tool_warned in
   5271 yes:)
   5272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5274 ac_tool_warned=yes ;;
   5275 esac
   5276     DLLTOOL=$ac_ct_DLLTOOL
   5277   fi
   5278 else
   5279   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5280 fi
   5281 
   5282 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5294 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5295 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5296   $as_echo_n "(cached) " >&6
   5297 else
   5298   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5299 
   5300 case $host_os in
   5301 cygwin* | mingw* | pw32* | cegcc*)
   5302   # two different shell functions defined in ltmain.sh
   5303   # decide which to use based on capabilities of $DLLTOOL
   5304   case `$DLLTOOL --help 2>&1` in
   5305   *--identify-strict*)
   5306     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5307     ;;
   5308   *)
   5309     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5310     ;;
   5311   esac
   5312   ;;
   5313 *)
   5314   # fallback: assume linklib IS sharedlib
   5315   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5316   ;;
   5317 esac
   5318 
   5319 fi
   5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5321 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5322 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5323 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 if test -n "$ac_tool_prefix"; then
   5333   for ac_prog in ar
   5334   do
   5335     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5336 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5338 $as_echo_n "checking for $ac_word... " >&6; }
   5339 if ${ac_cv_prog_AR+:} false; then :
   5340   $as_echo_n "(cached) " >&6
   5341 else
   5342   if test -n "$AR"; then
   5343   ac_cv_prog_AR="$AR" # Let the user override the test.
   5344 else
   5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5346 for as_dir in $PATH
   5347 do
   5348   IFS=$as_save_IFS
   5349   test -z "$as_dir" && as_dir=.
   5350     for ac_exec_ext in '' $ac_executable_extensions; do
   5351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5352     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5354     break 2
   5355   fi
   5356 done
   5357   done
   5358 IFS=$as_save_IFS
   5359 
   5360 fi
   5361 fi
   5362 AR=$ac_cv_prog_AR
   5363 if test -n "$AR"; then
   5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5365 $as_echo "$AR" >&6; }
   5366 else
   5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5368 $as_echo "no" >&6; }
   5369 fi
   5370 
   5371 
   5372     test -n "$AR" && break
   5373   done
   5374 fi
   5375 if test -z "$AR"; then
   5376   ac_ct_AR=$AR
   5377   for ac_prog in ar
   5378 do
   5379   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5380 set dummy $ac_prog; ac_word=$2
   5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5382 $as_echo_n "checking for $ac_word... " >&6; }
   5383 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5384   $as_echo_n "(cached) " >&6
   5385 else
   5386   if test -n "$ac_ct_AR"; then
   5387   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5388 else
   5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5390 for as_dir in $PATH
   5391 do
   5392   IFS=$as_save_IFS
   5393   test -z "$as_dir" && as_dir=.
   5394     for ac_exec_ext in '' $ac_executable_extensions; do
   5395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5396     ac_cv_prog_ac_ct_AR="$ac_prog"
   5397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5398     break 2
   5399   fi
   5400 done
   5401   done
   5402 IFS=$as_save_IFS
   5403 
   5404 fi
   5405 fi
   5406 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5407 if test -n "$ac_ct_AR"; then
   5408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5409 $as_echo "$ac_ct_AR" >&6; }
   5410 else
   5411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5412 $as_echo "no" >&6; }
   5413 fi
   5414 
   5415 
   5416   test -n "$ac_ct_AR" && break
   5417 done
   5418 
   5419   if test "x$ac_ct_AR" = x; then
   5420     AR="false"
   5421   else
   5422     case $cross_compiling:$ac_tool_warned in
   5423 yes:)
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5426 ac_tool_warned=yes ;;
   5427 esac
   5428     AR=$ac_ct_AR
   5429   fi
   5430 fi
   5431 
   5432 : ${AR=ar}
   5433 : ${AR_FLAGS=cru}
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5446 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5447 if ${lt_cv_ar_at_file+:} false; then :
   5448   $as_echo_n "(cached) " >&6
   5449 else
   5450   lt_cv_ar_at_file=no
   5451    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 
   5454 int
   5455 main ()
   5456 {
   5457 
   5458   ;
   5459   return 0;
   5460 }
   5461 _ACEOF
   5462 if ac_fn_c_try_compile "$LINENO"; then :
   5463   echo conftest.$ac_objext > conftest.lst
   5464       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5465       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5466   (eval $lt_ar_try) 2>&5
   5467   ac_status=$?
   5468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5469   test $ac_status = 0; }
   5470       if test "$ac_status" -eq 0; then
   5471 	# Ensure the archiver fails upon bogus file names.
   5472 	rm -f conftest.$ac_objext libconftest.a
   5473 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5474   (eval $lt_ar_try) 2>&5
   5475   ac_status=$?
   5476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5477   test $ac_status = 0; }
   5478 	if test "$ac_status" -ne 0; then
   5479           lt_cv_ar_at_file=@
   5480         fi
   5481       fi
   5482       rm -f conftest.* libconftest.a
   5483 
   5484 fi
   5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5486 
   5487 fi
   5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5489 $as_echo "$lt_cv_ar_at_file" >&6; }
   5490 
   5491 if test "x$lt_cv_ar_at_file" = xno; then
   5492   archiver_list_spec=
   5493 else
   5494   archiver_list_spec=$lt_cv_ar_at_file
   5495 fi
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 if test -n "$ac_tool_prefix"; then
   5504   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5505 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5507 $as_echo_n "checking for $ac_word... " >&6; }
   5508 if ${ac_cv_prog_STRIP+:} false; then :
   5509   $as_echo_n "(cached) " >&6
   5510 else
   5511   if test -n "$STRIP"; then
   5512   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5513 else
   5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5515 for as_dir in $PATH
   5516 do
   5517   IFS=$as_save_IFS
   5518   test -z "$as_dir" && as_dir=.
   5519     for ac_exec_ext in '' $ac_executable_extensions; do
   5520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5521     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5523     break 2
   5524   fi
   5525 done
   5526   done
   5527 IFS=$as_save_IFS
   5528 
   5529 fi
   5530 fi
   5531 STRIP=$ac_cv_prog_STRIP
   5532 if test -n "$STRIP"; then
   5533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5534 $as_echo "$STRIP" >&6; }
   5535 else
   5536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5537 $as_echo "no" >&6; }
   5538 fi
   5539 
   5540 
   5541 fi
   5542 if test -z "$ac_cv_prog_STRIP"; then
   5543   ac_ct_STRIP=$STRIP
   5544   # Extract the first word of "strip", so it can be a program name with args.
   5545 set dummy strip; ac_word=$2
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5547 $as_echo_n "checking for $ac_word... " >&6; }
   5548 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   if test -n "$ac_ct_STRIP"; then
   5552   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5553 else
   5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5555 for as_dir in $PATH
   5556 do
   5557   IFS=$as_save_IFS
   5558   test -z "$as_dir" && as_dir=.
   5559     for ac_exec_ext in '' $ac_executable_extensions; do
   5560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5561     ac_cv_prog_ac_ct_STRIP="strip"
   5562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5563     break 2
   5564   fi
   5565 done
   5566   done
   5567 IFS=$as_save_IFS
   5568 
   5569 fi
   5570 fi
   5571 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5572 if test -n "$ac_ct_STRIP"; then
   5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5574 $as_echo "$ac_ct_STRIP" >&6; }
   5575 else
   5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5577 $as_echo "no" >&6; }
   5578 fi
   5579 
   5580   if test "x$ac_ct_STRIP" = x; then
   5581     STRIP=":"
   5582   else
   5583     case $cross_compiling:$ac_tool_warned in
   5584 yes:)
   5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5587 ac_tool_warned=yes ;;
   5588 esac
   5589     STRIP=$ac_ct_STRIP
   5590   fi
   5591 else
   5592   STRIP="$ac_cv_prog_STRIP"
   5593 fi
   5594 
   5595 test -z "$STRIP" && STRIP=:
   5596 
   5597 
   5598 
   5599 
   5600 
   5601 
   5602 if test -n "$ac_tool_prefix"; then
   5603   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5604 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5606 $as_echo_n "checking for $ac_word... " >&6; }
   5607 if ${ac_cv_prog_RANLIB+:} false; then :
   5608   $as_echo_n "(cached) " >&6
   5609 else
   5610   if test -n "$RANLIB"; then
   5611   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5612 else
   5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5614 for as_dir in $PATH
   5615 do
   5616   IFS=$as_save_IFS
   5617   test -z "$as_dir" && as_dir=.
   5618     for ac_exec_ext in '' $ac_executable_extensions; do
   5619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5620     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5622     break 2
   5623   fi
   5624 done
   5625   done
   5626 IFS=$as_save_IFS
   5627 
   5628 fi
   5629 fi
   5630 RANLIB=$ac_cv_prog_RANLIB
   5631 if test -n "$RANLIB"; then
   5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5633 $as_echo "$RANLIB" >&6; }
   5634 else
   5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5636 $as_echo "no" >&6; }
   5637 fi
   5638 
   5639 
   5640 fi
   5641 if test -z "$ac_cv_prog_RANLIB"; then
   5642   ac_ct_RANLIB=$RANLIB
   5643   # Extract the first word of "ranlib", so it can be a program name with args.
   5644 set dummy ranlib; ac_word=$2
   5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5646 $as_echo_n "checking for $ac_word... " >&6; }
   5647 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5648   $as_echo_n "(cached) " >&6
   5649 else
   5650   if test -n "$ac_ct_RANLIB"; then
   5651   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5652 else
   5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5654 for as_dir in $PATH
   5655 do
   5656   IFS=$as_save_IFS
   5657   test -z "$as_dir" && as_dir=.
   5658     for ac_exec_ext in '' $ac_executable_extensions; do
   5659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5660     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5662     break 2
   5663   fi
   5664 done
   5665   done
   5666 IFS=$as_save_IFS
   5667 
   5668 fi
   5669 fi
   5670 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5671 if test -n "$ac_ct_RANLIB"; then
   5672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5673 $as_echo "$ac_ct_RANLIB" >&6; }
   5674 else
   5675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5676 $as_echo "no" >&6; }
   5677 fi
   5678 
   5679   if test "x$ac_ct_RANLIB" = x; then
   5680     RANLIB=":"
   5681   else
   5682     case $cross_compiling:$ac_tool_warned in
   5683 yes:)
   5684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5686 ac_tool_warned=yes ;;
   5687 esac
   5688     RANLIB=$ac_ct_RANLIB
   5689   fi
   5690 else
   5691   RANLIB="$ac_cv_prog_RANLIB"
   5692 fi
   5693 
   5694 test -z "$RANLIB" && RANLIB=:
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 # Determine commands to create old-style static archives.
   5702 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5703 old_postinstall_cmds='chmod 644 $oldlib'
   5704 old_postuninstall_cmds=
   5705 
   5706 if test -n "$RANLIB"; then
   5707   case $host_os in
   5708   openbsd*)
   5709     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5710     ;;
   5711   *)
   5712     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5713     ;;
   5714   esac
   5715   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5716 fi
   5717 
   5718 case $host_os in
   5719   darwin*)
   5720     lock_old_archive_extraction=yes ;;
   5721   *)
   5722     lock_old_archive_extraction=no ;;
   5723 esac
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 # If no C compiler was specified, use CC.
   5764 LTCC=${LTCC-"$CC"}
   5765 
   5766 # If no C compiler flags were specified, use CFLAGS.
   5767 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5768 
   5769 # Allow CC to be a program name with arguments.
   5770 compiler=$CC
   5771 
   5772 
   5773 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5775 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5776 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5777   $as_echo_n "(cached) " >&6
   5778 else
   5779 
   5780 # These are sane defaults that work on at least a few old systems.
   5781 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5782 
   5783 # Character class describing NM global symbol codes.
   5784 symcode='[BCDEGRST]'
   5785 
   5786 # Regexp to match symbols that can be accessed directly from C.
   5787 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5788 
   5789 # Define system-specific variables.
   5790 case $host_os in
   5791 aix*)
   5792   symcode='[BCDT]'
   5793   ;;
   5794 cygwin* | mingw* | pw32* | cegcc*)
   5795   symcode='[ABCDGISTW]'
   5796   ;;
   5797 hpux*)
   5798   if test "$host_cpu" = ia64; then
   5799     symcode='[ABCDEGRST]'
   5800   fi
   5801   ;;
   5802 irix* | nonstopux*)
   5803   symcode='[BCDEGRST]'
   5804   ;;
   5805 osf*)
   5806   symcode='[BCDEGQRST]'
   5807   ;;
   5808 solaris*)
   5809   symcode='[BDRT]'
   5810   ;;
   5811 sco3.2v5*)
   5812   symcode='[DT]'
   5813   ;;
   5814 sysv4.2uw2*)
   5815   symcode='[DT]'
   5816   ;;
   5817 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5818   symcode='[ABDT]'
   5819   ;;
   5820 sysv4)
   5821   symcode='[DFNSTU]'
   5822   ;;
   5823 esac
   5824 
   5825 # If we're using GNU nm, then use its standard symbol codes.
   5826 case `$NM -V 2>&1` in
   5827 *GNU* | *'with BFD'*)
   5828   symcode='[ABCDGIRSTW]' ;;
   5829 esac
   5830 
   5831 # Transform an extracted symbol line into a proper C declaration.
   5832 # Some systems (esp. on ia64) link data and code symbols differently,
   5833 # so use this general approach.
   5834 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5835 
   5836 # Transform an extracted symbol line into symbol name and symbol address
   5837 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5838 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'"
   5839 
   5840 # Handle CRLF in mingw tool chain
   5841 opt_cr=
   5842 case $build_os in
   5843 mingw*)
   5844   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5845   ;;
   5846 esac
   5847 
   5848 # Try without a prefix underscore, then with it.
   5849 for ac_symprfx in "" "_"; do
   5850 
   5851   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5852   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5853 
   5854   # Write the raw and C identifiers.
   5855   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5856     # Fake it for dumpbin and say T for any non-static function
   5857     # and D for any global variable.
   5858     # Also find C++ and __fastcall symbols from MSVC++,
   5859     # which start with @ or ?.
   5860     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5861 "     {last_section=section; section=\$ 3};"\
   5862 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5863 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5864 "     \$ 0!~/External *\|/{next};"\
   5865 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5866 "     {if(hide[section]) next};"\
   5867 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5868 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5869 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5870 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5871 "     ' prfx=^$ac_symprfx"
   5872   else
   5873     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5874   fi
   5875   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5876 
   5877   # Check to see that the pipe works correctly.
   5878   pipe_works=no
   5879 
   5880   rm -f conftest*
   5881   cat > conftest.$ac_ext <<_LT_EOF
   5882 #ifdef __cplusplus
   5883 extern "C" {
   5884 #endif
   5885 char nm_test_var;
   5886 void nm_test_func(void);
   5887 void nm_test_func(void){}
   5888 #ifdef __cplusplus
   5889 }
   5890 #endif
   5891 int main(){nm_test_var='a';nm_test_func();return(0);}
   5892 _LT_EOF
   5893 
   5894   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5895   (eval $ac_compile) 2>&5
   5896   ac_status=$?
   5897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5898   test $ac_status = 0; }; then
   5899     # Now try to grab the symbols.
   5900     nlist=conftest.nm
   5901     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5902   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5903   ac_status=$?
   5904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5905   test $ac_status = 0; } && test -s "$nlist"; then
   5906       # Try sorting and uniquifying the output.
   5907       if sort "$nlist" | uniq > "$nlist"T; then
   5908 	mv -f "$nlist"T "$nlist"
   5909       else
   5910 	rm -f "$nlist"T
   5911       fi
   5912 
   5913       # Make sure that we snagged all the symbols we need.
   5914       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5915 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5916 	  cat <<_LT_EOF > conftest.$ac_ext
   5917 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5918 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5919 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5920    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5921 # define LT_DLSYM_CONST
   5922 #elif defined(__osf__)
   5923 /* This system does not cope well with relocations in const data.  */
   5924 # define LT_DLSYM_CONST
   5925 #else
   5926 # define LT_DLSYM_CONST const
   5927 #endif
   5928 
   5929 #ifdef __cplusplus
   5930 extern "C" {
   5931 #endif
   5932 
   5933 _LT_EOF
   5934 	  # Now generate the symbol file.
   5935 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5936 
   5937 	  cat <<_LT_EOF >> conftest.$ac_ext
   5938 
   5939 /* The mapping between symbol names and symbols.  */
   5940 LT_DLSYM_CONST struct {
   5941   const char *name;
   5942   void       *address;
   5943 }
   5944 lt__PROGRAM__LTX_preloaded_symbols[] =
   5945 {
   5946   { "@PROGRAM@", (void *) 0 },
   5947 _LT_EOF
   5948 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5949 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5950   {0, (void *) 0}
   5951 };
   5952 
   5953 /* This works around a problem in FreeBSD linker */
   5954 #ifdef FREEBSD_WORKAROUND
   5955 static const void *lt_preloaded_setup() {
   5956   return lt__PROGRAM__LTX_preloaded_symbols;
   5957 }
   5958 #endif
   5959 
   5960 #ifdef __cplusplus
   5961 }
   5962 #endif
   5963 _LT_EOF
   5964 	  # Now try linking the two files.
   5965 	  mv conftest.$ac_objext conftstm.$ac_objext
   5966 	  lt_globsym_save_LIBS=$LIBS
   5967 	  lt_globsym_save_CFLAGS=$CFLAGS
   5968 	  LIBS="conftstm.$ac_objext"
   5969 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5970 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5971   (eval $ac_link) 2>&5
   5972   ac_status=$?
   5973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5974   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5975 	    pipe_works=yes
   5976 	  fi
   5977 	  LIBS=$lt_globsym_save_LIBS
   5978 	  CFLAGS=$lt_globsym_save_CFLAGS
   5979 	else
   5980 	  echo "cannot find nm_test_func in $nlist" >&5
   5981 	fi
   5982       else
   5983 	echo "cannot find nm_test_var in $nlist" >&5
   5984       fi
   5985     else
   5986       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5987     fi
   5988   else
   5989     echo "$progname: failed program was:" >&5
   5990     cat conftest.$ac_ext >&5
   5991   fi
   5992   rm -rf conftest* conftst*
   5993 
   5994   # Do not use the global_symbol_pipe unless it works.
   5995   if test "$pipe_works" = yes; then
   5996     break
   5997   else
   5998     lt_cv_sys_global_symbol_pipe=
   5999   fi
   6000 done
   6001 
   6002 fi
   6003 
   6004 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6005   lt_cv_sys_global_symbol_to_cdecl=
   6006 fi
   6007 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6009 $as_echo "failed" >&6; }
   6010 else
   6011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6012 $as_echo "ok" >&6; }
   6013 fi
   6014 
   6015 # Response file support.
   6016 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6017   nm_file_list_spec='@'
   6018 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6019   nm_file_list_spec='@'
   6020 fi
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6049 $as_echo_n "checking for sysroot... " >&6; }
   6050 
   6051 # Check whether --with-sysroot was given.
   6052 if test "${with_sysroot+set}" = set; then :
   6053   withval=$with_sysroot;
   6054 else
   6055   with_sysroot=no
   6056 fi
   6057 
   6058 
   6059 lt_sysroot=
   6060 case ${with_sysroot} in #(
   6061  yes)
   6062    if test "$GCC" = yes; then
   6063      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6064    fi
   6065    ;; #(
   6066  /*)
   6067    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6068    ;; #(
   6069  no|'')
   6070    ;; #(
   6071  *)
   6072    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6073 $as_echo "${with_sysroot}" >&6; }
   6074    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6075    ;;
   6076 esac
   6077 
   6078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6079 $as_echo "${lt_sysroot:-no}" >&6; }
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 # Check whether --enable-libtool-lock was given.
   6086 if test "${enable_libtool_lock+set}" = set; then :
   6087   enableval=$enable_libtool_lock;
   6088 fi
   6089 
   6090 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6091 
   6092 # Some flags need to be propagated to the compiler or linker for good
   6093 # libtool support.
   6094 case $host in
   6095 ia64-*-hpux*)
   6096   # Find out which ABI we are using.
   6097   echo 'int i;' > conftest.$ac_ext
   6098   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6099   (eval $ac_compile) 2>&5
   6100   ac_status=$?
   6101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6102   test $ac_status = 0; }; then
   6103     case `/usr/bin/file conftest.$ac_objext` in
   6104       *ELF-32*)
   6105 	HPUX_IA64_MODE="32"
   6106 	;;
   6107       *ELF-64*)
   6108 	HPUX_IA64_MODE="64"
   6109 	;;
   6110     esac
   6111   fi
   6112   rm -rf conftest*
   6113   ;;
   6114 *-*-irix6*)
   6115   # Find out which ABI we are using.
   6116   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6117   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6118   (eval $ac_compile) 2>&5
   6119   ac_status=$?
   6120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6121   test $ac_status = 0; }; then
   6122     if test "$lt_cv_prog_gnu_ld" = yes; then
   6123       case `/usr/bin/file conftest.$ac_objext` in
   6124 	*32-bit*)
   6125 	  LD="${LD-ld} -melf32bsmip"
   6126 	  ;;
   6127 	*N32*)
   6128 	  LD="${LD-ld} -melf32bmipn32"
   6129 	  ;;
   6130 	*64-bit*)
   6131 	  LD="${LD-ld} -melf64bmip"
   6132 	;;
   6133       esac
   6134     else
   6135       case `/usr/bin/file conftest.$ac_objext` in
   6136 	*32-bit*)
   6137 	  LD="${LD-ld} -32"
   6138 	  ;;
   6139 	*N32*)
   6140 	  LD="${LD-ld} -n32"
   6141 	  ;;
   6142 	*64-bit*)
   6143 	  LD="${LD-ld} -64"
   6144 	  ;;
   6145       esac
   6146     fi
   6147   fi
   6148   rm -rf conftest*
   6149   ;;
   6150 
   6151 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6152 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6153   # Find out which ABI we are using.
   6154   echo 'int i;' > conftest.$ac_ext
   6155   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6156   (eval $ac_compile) 2>&5
   6157   ac_status=$?
   6158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6159   test $ac_status = 0; }; then
   6160     case `/usr/bin/file conftest.o` in
   6161       *32-bit*)
   6162 	case $host in
   6163 	  x86_64-*kfreebsd*-gnu)
   6164 	    LD="${LD-ld} -m elf_i386_fbsd"
   6165 	    ;;
   6166 	  x86_64-*linux*)
   6167 	    LD="${LD-ld} -m elf_i386"
   6168 	    ;;
   6169 	  ppc64-*linux*|powerpc64-*linux*)
   6170 	    LD="${LD-ld} -m elf32ppclinux"
   6171 	    ;;
   6172 	  s390x-*linux*)
   6173 	    LD="${LD-ld} -m elf_s390"
   6174 	    ;;
   6175 	  sparc64-*linux*)
   6176 	    LD="${LD-ld} -m elf32_sparc"
   6177 	    ;;
   6178 	esac
   6179 	;;
   6180       *64-bit*)
   6181 	case $host in
   6182 	  x86_64-*kfreebsd*-gnu)
   6183 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6184 	    ;;
   6185 	  x86_64-*linux*)
   6186 	    LD="${LD-ld} -m elf_x86_64"
   6187 	    ;;
   6188 	  ppc*-*linux*|powerpc*-*linux*)
   6189 	    LD="${LD-ld} -m elf64ppc"
   6190 	    ;;
   6191 	  s390*-*linux*|s390*-*tpf*)
   6192 	    LD="${LD-ld} -m elf64_s390"
   6193 	    ;;
   6194 	  sparc*-*linux*)
   6195 	    LD="${LD-ld} -m elf64_sparc"
   6196 	    ;;
   6197 	esac
   6198 	;;
   6199     esac
   6200   fi
   6201   rm -rf conftest*
   6202   ;;
   6203 
   6204 *-*-sco3.2v5*)
   6205   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6206   SAVE_CFLAGS="$CFLAGS"
   6207   CFLAGS="$CFLAGS -belf"
   6208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6209 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6210 if ${lt_cv_cc_needs_belf+:} false; then :
   6211   $as_echo_n "(cached) " >&6
   6212 else
   6213   ac_ext=c
   6214 ac_cpp='$CPP $CPPFLAGS'
   6215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6218 
   6219      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6220 /* end confdefs.h.  */
   6221 
   6222 int
   6223 main ()
   6224 {
   6225 
   6226   ;
   6227   return 0;
   6228 }
   6229 _ACEOF
   6230 if ac_fn_c_try_link "$LINENO"; then :
   6231   lt_cv_cc_needs_belf=yes
   6232 else
   6233   lt_cv_cc_needs_belf=no
   6234 fi
   6235 rm -f core conftest.err conftest.$ac_objext \
   6236     conftest$ac_exeext conftest.$ac_ext
   6237      ac_ext=c
   6238 ac_cpp='$CPP $CPPFLAGS'
   6239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6242 
   6243 fi
   6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6245 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6246   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6247     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6248     CFLAGS="$SAVE_CFLAGS"
   6249   fi
   6250   ;;
   6251 *-*solaris*)
   6252   # Find out which ABI we are using.
   6253   echo 'int i;' > conftest.$ac_ext
   6254   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6255   (eval $ac_compile) 2>&5
   6256   ac_status=$?
   6257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6258   test $ac_status = 0; }; then
   6259     case `/usr/bin/file conftest.o` in
   6260     *64-bit*)
   6261       case $lt_cv_prog_gnu_ld in
   6262       yes*)
   6263         case $host in
   6264         i?86-*-solaris*)
   6265           LD="${LD-ld} -m elf_x86_64"
   6266           ;;
   6267         sparc*-*-solaris*)
   6268           LD="${LD-ld} -m elf64_sparc"
   6269           ;;
   6270         esac
   6271         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6272         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6273           LD="${LD-ld}_sol2"
   6274         fi
   6275         ;;
   6276       *)
   6277 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6278 	  LD="${LD-ld} -64"
   6279 	fi
   6280 	;;
   6281       esac
   6282       ;;
   6283     esac
   6284   fi
   6285   rm -rf conftest*
   6286   ;;
   6287 esac
   6288 
   6289 need_locks="$enable_libtool_lock"
   6290 
   6291 if test -n "$ac_tool_prefix"; then
   6292   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6293 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6295 $as_echo_n "checking for $ac_word... " >&6; }
   6296 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   if test -n "$MANIFEST_TOOL"; then
   6300   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6301 else
   6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6303 for as_dir in $PATH
   6304 do
   6305   IFS=$as_save_IFS
   6306   test -z "$as_dir" && as_dir=.
   6307     for ac_exec_ext in '' $ac_executable_extensions; do
   6308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6309     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6311     break 2
   6312   fi
   6313 done
   6314   done
   6315 IFS=$as_save_IFS
   6316 
   6317 fi
   6318 fi
   6319 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6320 if test -n "$MANIFEST_TOOL"; then
   6321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6322 $as_echo "$MANIFEST_TOOL" >&6; }
   6323 else
   6324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6325 $as_echo "no" >&6; }
   6326 fi
   6327 
   6328 
   6329 fi
   6330 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6331   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6332   # Extract the first word of "mt", so it can be a program name with args.
   6333 set dummy mt; ac_word=$2
   6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6335 $as_echo_n "checking for $ac_word... " >&6; }
   6336 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6337   $as_echo_n "(cached) " >&6
   6338 else
   6339   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6340   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6341 else
   6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6343 for as_dir in $PATH
   6344 do
   6345   IFS=$as_save_IFS
   6346   test -z "$as_dir" && as_dir=.
   6347     for ac_exec_ext in '' $ac_executable_extensions; do
   6348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6349     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6351     break 2
   6352   fi
   6353 done
   6354   done
   6355 IFS=$as_save_IFS
   6356 
   6357 fi
   6358 fi
   6359 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6360 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6362 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6363 else
   6364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6365 $as_echo "no" >&6; }
   6366 fi
   6367 
   6368   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6369     MANIFEST_TOOL=":"
   6370   else
   6371     case $cross_compiling:$ac_tool_warned in
   6372 yes:)
   6373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6375 ac_tool_warned=yes ;;
   6376 esac
   6377     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6378   fi
   6379 else
   6380   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6381 fi
   6382 
   6383 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6385 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6386 if ${lt_cv_path_mainfest_tool+:} false; then :
   6387   $as_echo_n "(cached) " >&6
   6388 else
   6389   lt_cv_path_mainfest_tool=no
   6390   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6391   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6392   cat conftest.err >&5
   6393   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6394     lt_cv_path_mainfest_tool=yes
   6395   fi
   6396   rm -f conftest*
   6397 fi
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6399 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6400 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6401   MANIFEST_TOOL=:
   6402 fi
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409   case $host_os in
   6410     rhapsody* | darwin*)
   6411     if test -n "$ac_tool_prefix"; then
   6412   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6413 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6415 $as_echo_n "checking for $ac_word... " >&6; }
   6416 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6417   $as_echo_n "(cached) " >&6
   6418 else
   6419   if test -n "$DSYMUTIL"; then
   6420   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6421 else
   6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6423 for as_dir in $PATH
   6424 do
   6425   IFS=$as_save_IFS
   6426   test -z "$as_dir" && as_dir=.
   6427     for ac_exec_ext in '' $ac_executable_extensions; do
   6428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6429     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6431     break 2
   6432   fi
   6433 done
   6434   done
   6435 IFS=$as_save_IFS
   6436 
   6437 fi
   6438 fi
   6439 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6440 if test -n "$DSYMUTIL"; then
   6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6442 $as_echo "$DSYMUTIL" >&6; }
   6443 else
   6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6445 $as_echo "no" >&6; }
   6446 fi
   6447 
   6448 
   6449 fi
   6450 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6451   ac_ct_DSYMUTIL=$DSYMUTIL
   6452   # Extract the first word of "dsymutil", so it can be a program name with args.
   6453 set dummy dsymutil; ac_word=$2
   6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6455 $as_echo_n "checking for $ac_word... " >&6; }
   6456 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6457   $as_echo_n "(cached) " >&6
   6458 else
   6459   if test -n "$ac_ct_DSYMUTIL"; then
   6460   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6461 else
   6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6463 for as_dir in $PATH
   6464 do
   6465   IFS=$as_save_IFS
   6466   test -z "$as_dir" && as_dir=.
   6467     for ac_exec_ext in '' $ac_executable_extensions; do
   6468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6469     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6471     break 2
   6472   fi
   6473 done
   6474   done
   6475 IFS=$as_save_IFS
   6476 
   6477 fi
   6478 fi
   6479 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6480 if test -n "$ac_ct_DSYMUTIL"; then
   6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6482 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6483 else
   6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6485 $as_echo "no" >&6; }
   6486 fi
   6487 
   6488   if test "x$ac_ct_DSYMUTIL" = x; then
   6489     DSYMUTIL=":"
   6490   else
   6491     case $cross_compiling:$ac_tool_warned in
   6492 yes:)
   6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6495 ac_tool_warned=yes ;;
   6496 esac
   6497     DSYMUTIL=$ac_ct_DSYMUTIL
   6498   fi
   6499 else
   6500   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6501 fi
   6502 
   6503     if test -n "$ac_tool_prefix"; then
   6504   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6505 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6507 $as_echo_n "checking for $ac_word... " >&6; }
   6508 if ${ac_cv_prog_NMEDIT+:} false; then :
   6509   $as_echo_n "(cached) " >&6
   6510 else
   6511   if test -n "$NMEDIT"; then
   6512   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6513 else
   6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6515 for as_dir in $PATH
   6516 do
   6517   IFS=$as_save_IFS
   6518   test -z "$as_dir" && as_dir=.
   6519     for ac_exec_ext in '' $ac_executable_extensions; do
   6520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6521     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6523     break 2
   6524   fi
   6525 done
   6526   done
   6527 IFS=$as_save_IFS
   6528 
   6529 fi
   6530 fi
   6531 NMEDIT=$ac_cv_prog_NMEDIT
   6532 if test -n "$NMEDIT"; then
   6533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6534 $as_echo "$NMEDIT" >&6; }
   6535 else
   6536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6537 $as_echo "no" >&6; }
   6538 fi
   6539 
   6540 
   6541 fi
   6542 if test -z "$ac_cv_prog_NMEDIT"; then
   6543   ac_ct_NMEDIT=$NMEDIT
   6544   # Extract the first word of "nmedit", so it can be a program name with args.
   6545 set dummy nmedit; ac_word=$2
   6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6547 $as_echo_n "checking for $ac_word... " >&6; }
   6548 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6549   $as_echo_n "(cached) " >&6
   6550 else
   6551   if test -n "$ac_ct_NMEDIT"; then
   6552   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6553 else
   6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6555 for as_dir in $PATH
   6556 do
   6557   IFS=$as_save_IFS
   6558   test -z "$as_dir" && as_dir=.
   6559     for ac_exec_ext in '' $ac_executable_extensions; do
   6560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6561     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6563     break 2
   6564   fi
   6565 done
   6566   done
   6567 IFS=$as_save_IFS
   6568 
   6569 fi
   6570 fi
   6571 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6572 if test -n "$ac_ct_NMEDIT"; then
   6573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6574 $as_echo "$ac_ct_NMEDIT" >&6; }
   6575 else
   6576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6577 $as_echo "no" >&6; }
   6578 fi
   6579 
   6580   if test "x$ac_ct_NMEDIT" = x; then
   6581     NMEDIT=":"
   6582   else
   6583     case $cross_compiling:$ac_tool_warned in
   6584 yes:)
   6585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6587 ac_tool_warned=yes ;;
   6588 esac
   6589     NMEDIT=$ac_ct_NMEDIT
   6590   fi
   6591 else
   6592   NMEDIT="$ac_cv_prog_NMEDIT"
   6593 fi
   6594 
   6595     if test -n "$ac_tool_prefix"; then
   6596   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6597 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6599 $as_echo_n "checking for $ac_word... " >&6; }
   6600 if ${ac_cv_prog_LIPO+:} false; then :
   6601   $as_echo_n "(cached) " >&6
   6602 else
   6603   if test -n "$LIPO"; then
   6604   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6605 else
   6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6607 for as_dir in $PATH
   6608 do
   6609   IFS=$as_save_IFS
   6610   test -z "$as_dir" && as_dir=.
   6611     for ac_exec_ext in '' $ac_executable_extensions; do
   6612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6613     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6615     break 2
   6616   fi
   6617 done
   6618   done
   6619 IFS=$as_save_IFS
   6620 
   6621 fi
   6622 fi
   6623 LIPO=$ac_cv_prog_LIPO
   6624 if test -n "$LIPO"; then
   6625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6626 $as_echo "$LIPO" >&6; }
   6627 else
   6628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6629 $as_echo "no" >&6; }
   6630 fi
   6631 
   6632 
   6633 fi
   6634 if test -z "$ac_cv_prog_LIPO"; then
   6635   ac_ct_LIPO=$LIPO
   6636   # Extract the first word of "lipo", so it can be a program name with args.
   6637 set dummy lipo; ac_word=$2
   6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6639 $as_echo_n "checking for $ac_word... " >&6; }
   6640 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6641   $as_echo_n "(cached) " >&6
   6642 else
   6643   if test -n "$ac_ct_LIPO"; then
   6644   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6645 else
   6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6647 for as_dir in $PATH
   6648 do
   6649   IFS=$as_save_IFS
   6650   test -z "$as_dir" && as_dir=.
   6651     for ac_exec_ext in '' $ac_executable_extensions; do
   6652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6653     ac_cv_prog_ac_ct_LIPO="lipo"
   6654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6655     break 2
   6656   fi
   6657 done
   6658   done
   6659 IFS=$as_save_IFS
   6660 
   6661 fi
   6662 fi
   6663 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6664 if test -n "$ac_ct_LIPO"; then
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6666 $as_echo "$ac_ct_LIPO" >&6; }
   6667 else
   6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6669 $as_echo "no" >&6; }
   6670 fi
   6671 
   6672   if test "x$ac_ct_LIPO" = x; then
   6673     LIPO=":"
   6674   else
   6675     case $cross_compiling:$ac_tool_warned in
   6676 yes:)
   6677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6679 ac_tool_warned=yes ;;
   6680 esac
   6681     LIPO=$ac_ct_LIPO
   6682   fi
   6683 else
   6684   LIPO="$ac_cv_prog_LIPO"
   6685 fi
   6686 
   6687     if test -n "$ac_tool_prefix"; then
   6688   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6689 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6691 $as_echo_n "checking for $ac_word... " >&6; }
   6692 if ${ac_cv_prog_OTOOL+:} false; then :
   6693   $as_echo_n "(cached) " >&6
   6694 else
   6695   if test -n "$OTOOL"; then
   6696   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6697 else
   6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6699 for as_dir in $PATH
   6700 do
   6701   IFS=$as_save_IFS
   6702   test -z "$as_dir" && as_dir=.
   6703     for ac_exec_ext in '' $ac_executable_extensions; do
   6704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6705     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6707     break 2
   6708   fi
   6709 done
   6710   done
   6711 IFS=$as_save_IFS
   6712 
   6713 fi
   6714 fi
   6715 OTOOL=$ac_cv_prog_OTOOL
   6716 if test -n "$OTOOL"; then
   6717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6718 $as_echo "$OTOOL" >&6; }
   6719 else
   6720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6721 $as_echo "no" >&6; }
   6722 fi
   6723 
   6724 
   6725 fi
   6726 if test -z "$ac_cv_prog_OTOOL"; then
   6727   ac_ct_OTOOL=$OTOOL
   6728   # Extract the first word of "otool", so it can be a program name with args.
   6729 set dummy otool; ac_word=$2
   6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6731 $as_echo_n "checking for $ac_word... " >&6; }
   6732 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6733   $as_echo_n "(cached) " >&6
   6734 else
   6735   if test -n "$ac_ct_OTOOL"; then
   6736   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6737 else
   6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6739 for as_dir in $PATH
   6740 do
   6741   IFS=$as_save_IFS
   6742   test -z "$as_dir" && as_dir=.
   6743     for ac_exec_ext in '' $ac_executable_extensions; do
   6744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6745     ac_cv_prog_ac_ct_OTOOL="otool"
   6746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6747     break 2
   6748   fi
   6749 done
   6750   done
   6751 IFS=$as_save_IFS
   6752 
   6753 fi
   6754 fi
   6755 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6756 if test -n "$ac_ct_OTOOL"; then
   6757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6758 $as_echo "$ac_ct_OTOOL" >&6; }
   6759 else
   6760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6761 $as_echo "no" >&6; }
   6762 fi
   6763 
   6764   if test "x$ac_ct_OTOOL" = x; then
   6765     OTOOL=":"
   6766   else
   6767     case $cross_compiling:$ac_tool_warned in
   6768 yes:)
   6769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6771 ac_tool_warned=yes ;;
   6772 esac
   6773     OTOOL=$ac_ct_OTOOL
   6774   fi
   6775 else
   6776   OTOOL="$ac_cv_prog_OTOOL"
   6777 fi
   6778 
   6779     if test -n "$ac_tool_prefix"; then
   6780   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6781 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6783 $as_echo_n "checking for $ac_word... " >&6; }
   6784 if ${ac_cv_prog_OTOOL64+:} false; then :
   6785   $as_echo_n "(cached) " >&6
   6786 else
   6787   if test -n "$OTOOL64"; then
   6788   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6789 else
   6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6791 for as_dir in $PATH
   6792 do
   6793   IFS=$as_save_IFS
   6794   test -z "$as_dir" && as_dir=.
   6795     for ac_exec_ext in '' $ac_executable_extensions; do
   6796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6797     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6799     break 2
   6800   fi
   6801 done
   6802   done
   6803 IFS=$as_save_IFS
   6804 
   6805 fi
   6806 fi
   6807 OTOOL64=$ac_cv_prog_OTOOL64
   6808 if test -n "$OTOOL64"; then
   6809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6810 $as_echo "$OTOOL64" >&6; }
   6811 else
   6812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6813 $as_echo "no" >&6; }
   6814 fi
   6815 
   6816 
   6817 fi
   6818 if test -z "$ac_cv_prog_OTOOL64"; then
   6819   ac_ct_OTOOL64=$OTOOL64
   6820   # Extract the first word of "otool64", so it can be a program name with args.
   6821 set dummy otool64; ac_word=$2
   6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6823 $as_echo_n "checking for $ac_word... " >&6; }
   6824 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   if test -n "$ac_ct_OTOOL64"; then
   6828   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6829 else
   6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6831 for as_dir in $PATH
   6832 do
   6833   IFS=$as_save_IFS
   6834   test -z "$as_dir" && as_dir=.
   6835     for ac_exec_ext in '' $ac_executable_extensions; do
   6836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6837     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6839     break 2
   6840   fi
   6841 done
   6842   done
   6843 IFS=$as_save_IFS
   6844 
   6845 fi
   6846 fi
   6847 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6848 if test -n "$ac_ct_OTOOL64"; then
   6849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6850 $as_echo "$ac_ct_OTOOL64" >&6; }
   6851 else
   6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6853 $as_echo "no" >&6; }
   6854 fi
   6855 
   6856   if test "x$ac_ct_OTOOL64" = x; then
   6857     OTOOL64=":"
   6858   else
   6859     case $cross_compiling:$ac_tool_warned in
   6860 yes:)
   6861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6863 ac_tool_warned=yes ;;
   6864 esac
   6865     OTOOL64=$ac_ct_OTOOL64
   6866   fi
   6867 else
   6868   OTOOL64="$ac_cv_prog_OTOOL64"
   6869 fi
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6898 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6899 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6900   $as_echo_n "(cached) " >&6
   6901 else
   6902   lt_cv_apple_cc_single_mod=no
   6903       if test -z "${LT_MULTI_MODULE}"; then
   6904 	# By default we will add the -single_module flag. You can override
   6905 	# by either setting the environment variable LT_MULTI_MODULE
   6906 	# non-empty at configure time, or by adding -multi_module to the
   6907 	# link flags.
   6908 	rm -rf libconftest.dylib*
   6909 	echo "int foo(void){return 1;}" > conftest.c
   6910 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6911 -dynamiclib -Wl,-single_module conftest.c" >&5
   6912 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6913 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6914         _lt_result=$?
   6915 	# If there is a non-empty error log, and "single_module"
   6916 	# appears in it, assume the flag caused a linker warning
   6917         if test -s conftest.err && $GREP single_module conftest.err; then
   6918 	  cat conftest.err >&5
   6919 	# Otherwise, if the output was created with a 0 exit code from
   6920 	# the compiler, it worked.
   6921 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6922 	  lt_cv_apple_cc_single_mod=yes
   6923 	else
   6924 	  cat conftest.err >&5
   6925 	fi
   6926 	rm -rf libconftest.dylib*
   6927 	rm -f conftest.*
   6928       fi
   6929 fi
   6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6931 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6932 
   6933     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6934 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6935 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   lt_cv_ld_exported_symbols_list=no
   6939       save_LDFLAGS=$LDFLAGS
   6940       echo "_main" > conftest.sym
   6941       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6943 /* end confdefs.h.  */
   6944 
   6945 int
   6946 main ()
   6947 {
   6948 
   6949   ;
   6950   return 0;
   6951 }
   6952 _ACEOF
   6953 if ac_fn_c_try_link "$LINENO"; then :
   6954   lt_cv_ld_exported_symbols_list=yes
   6955 else
   6956   lt_cv_ld_exported_symbols_list=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext \
   6959     conftest$ac_exeext conftest.$ac_ext
   6960 	LDFLAGS="$save_LDFLAGS"
   6961 
   6962 fi
   6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6964 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6965 
   6966     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6967 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6968 if ${lt_cv_ld_force_load+:} false; then :
   6969   $as_echo_n "(cached) " >&6
   6970 else
   6971   lt_cv_ld_force_load=no
   6972       cat > conftest.c << _LT_EOF
   6973 int forced_loaded() { return 2;}
   6974 _LT_EOF
   6975       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6976       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6977       echo "$AR cru libconftest.a conftest.o" >&5
   6978       $AR cru libconftest.a conftest.o 2>&5
   6979       echo "$RANLIB libconftest.a" >&5
   6980       $RANLIB libconftest.a 2>&5
   6981       cat > conftest.c << _LT_EOF
   6982 int main() { return 0;}
   6983 _LT_EOF
   6984       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6985       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6986       _lt_result=$?
   6987       if test -s conftest.err && $GREP force_load conftest.err; then
   6988 	cat conftest.err >&5
   6989       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   6990 	lt_cv_ld_force_load=yes
   6991       else
   6992 	cat conftest.err >&5
   6993       fi
   6994         rm -f conftest.err libconftest.a conftest conftest.c
   6995         rm -rf conftest.dSYM
   6996 
   6997 fi
   6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   6999 $as_echo "$lt_cv_ld_force_load" >&6; }
   7000     case $host_os in
   7001     rhapsody* | darwin1.[012])
   7002       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7003     darwin1.*)
   7004       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7005     darwin*) # darwin 5.x on
   7006       # if running on 10.5 or later, the deployment target defaults
   7007       # to the OS version, if on x86, and 10.4, the deployment
   7008       # target defaults to 10.4. Don't you love it?
   7009       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7010 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7011 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7012 	10.[012]*)
   7013 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7014 	10.*)
   7015 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7016       esac
   7017     ;;
   7018   esac
   7019     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7020       _lt_dar_single_mod='$single_module'
   7021     fi
   7022     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7023       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7024     else
   7025       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7026     fi
   7027     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7028       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7029     else
   7030       _lt_dsymutil=
   7031     fi
   7032     ;;
   7033   esac
   7034 
   7035 ac_ext=c
   7036 ac_cpp='$CPP $CPPFLAGS'
   7037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7041 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7042 # On Suns, sometimes $CPP names a directory.
   7043 if test -n "$CPP" && test -d "$CPP"; then
   7044   CPP=
   7045 fi
   7046 if test -z "$CPP"; then
   7047   if ${ac_cv_prog_CPP+:} false; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050       # Double quotes because CPP needs to be expanded
   7051     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7052     do
   7053       ac_preproc_ok=false
   7054 for ac_c_preproc_warn_flag in '' yes
   7055 do
   7056   # Use a header file that comes with gcc, so configuring glibc
   7057   # with a fresh cross-compiler works.
   7058   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7059   # <limits.h> exists even on freestanding compilers.
   7060   # On the NeXT, cc -E runs the code through the compiler's parser,
   7061   # not just through cpp. "Syntax error" is here to catch this case.
   7062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7063 /* end confdefs.h.  */
   7064 #ifdef __STDC__
   7065 # include <limits.h>
   7066 #else
   7067 # include <assert.h>
   7068 #endif
   7069 		     Syntax error
   7070 _ACEOF
   7071 if ac_fn_c_try_cpp "$LINENO"; then :
   7072 
   7073 else
   7074   # Broken: fails on valid input.
   7075 continue
   7076 fi
   7077 rm -f conftest.err conftest.i conftest.$ac_ext
   7078 
   7079   # OK, works on sane cases.  Now check whether nonexistent headers
   7080   # can be detected and how.
   7081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7082 /* end confdefs.h.  */
   7083 #include <ac_nonexistent.h>
   7084 _ACEOF
   7085 if ac_fn_c_try_cpp "$LINENO"; then :
   7086   # Broken: success on invalid input.
   7087 continue
   7088 else
   7089   # Passes both tests.
   7090 ac_preproc_ok=:
   7091 break
   7092 fi
   7093 rm -f conftest.err conftest.i conftest.$ac_ext
   7094 
   7095 done
   7096 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7097 rm -f conftest.i conftest.err conftest.$ac_ext
   7098 if $ac_preproc_ok; then :
   7099   break
   7100 fi
   7101 
   7102     done
   7103     ac_cv_prog_CPP=$CPP
   7104 
   7105 fi
   7106   CPP=$ac_cv_prog_CPP
   7107 else
   7108   ac_cv_prog_CPP=$CPP
   7109 fi
   7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7111 $as_echo "$CPP" >&6; }
   7112 ac_preproc_ok=false
   7113 for ac_c_preproc_warn_flag in '' yes
   7114 do
   7115   # Use a header file that comes with gcc, so configuring glibc
   7116   # with a fresh cross-compiler works.
   7117   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7118   # <limits.h> exists even on freestanding compilers.
   7119   # On the NeXT, cc -E runs the code through the compiler's parser,
   7120   # not just through cpp. "Syntax error" is here to catch this case.
   7121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7122 /* end confdefs.h.  */
   7123 #ifdef __STDC__
   7124 # include <limits.h>
   7125 #else
   7126 # include <assert.h>
   7127 #endif
   7128 		     Syntax error
   7129 _ACEOF
   7130 if ac_fn_c_try_cpp "$LINENO"; then :
   7131 
   7132 else
   7133   # Broken: fails on valid input.
   7134 continue
   7135 fi
   7136 rm -f conftest.err conftest.i conftest.$ac_ext
   7137 
   7138   # OK, works on sane cases.  Now check whether nonexistent headers
   7139   # can be detected and how.
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 #include <ac_nonexistent.h>
   7143 _ACEOF
   7144 if ac_fn_c_try_cpp "$LINENO"; then :
   7145   # Broken: success on invalid input.
   7146 continue
   7147 else
   7148   # Passes both tests.
   7149 ac_preproc_ok=:
   7150 break
   7151 fi
   7152 rm -f conftest.err conftest.i conftest.$ac_ext
   7153 
   7154 done
   7155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7156 rm -f conftest.i conftest.err conftest.$ac_ext
   7157 if $ac_preproc_ok; then :
   7158 
   7159 else
   7160   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7162 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7163 See \`config.log' for more details" "$LINENO" 5; }
   7164 fi
   7165 
   7166 ac_ext=c
   7167 ac_cpp='$CPP $CPPFLAGS'
   7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7171 
   7172 
   7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7174 $as_echo_n "checking for ANSI C header files... " >&6; }
   7175 if ${ac_cv_header_stdc+:} false; then :
   7176   $as_echo_n "(cached) " >&6
   7177 else
   7178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7179 /* end confdefs.h.  */
   7180 #include <stdlib.h>
   7181 #include <stdarg.h>
   7182 #include <string.h>
   7183 #include <float.h>
   7184 
   7185 int
   7186 main ()
   7187 {
   7188 
   7189   ;
   7190   return 0;
   7191 }
   7192 _ACEOF
   7193 if ac_fn_c_try_compile "$LINENO"; then :
   7194   ac_cv_header_stdc=yes
   7195 else
   7196   ac_cv_header_stdc=no
   7197 fi
   7198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7199 
   7200 if test $ac_cv_header_stdc = yes; then
   7201   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7203 /* end confdefs.h.  */
   7204 #include <string.h>
   7205 
   7206 _ACEOF
   7207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7208   $EGREP "memchr" >/dev/null 2>&1; then :
   7209 
   7210 else
   7211   ac_cv_header_stdc=no
   7212 fi
   7213 rm -f conftest*
   7214 
   7215 fi
   7216 
   7217 if test $ac_cv_header_stdc = yes; then
   7218   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 #include <stdlib.h>
   7222 
   7223 _ACEOF
   7224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7225   $EGREP "free" >/dev/null 2>&1; then :
   7226 
   7227 else
   7228   ac_cv_header_stdc=no
   7229 fi
   7230 rm -f conftest*
   7231 
   7232 fi
   7233 
   7234 if test $ac_cv_header_stdc = yes; then
   7235   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7236   if test "$cross_compiling" = yes; then :
   7237   :
   7238 else
   7239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7240 /* end confdefs.h.  */
   7241 #include <ctype.h>
   7242 #include <stdlib.h>
   7243 #if ((' ' & 0x0FF) == 0x020)
   7244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7246 #else
   7247 # define ISLOWER(c) \
   7248 		   (('a' <= (c) && (c) <= 'i') \
   7249 		     || ('j' <= (c) && (c) <= 'r') \
   7250 		     || ('s' <= (c) && (c) <= 'z'))
   7251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7252 #endif
   7253 
   7254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7255 int
   7256 main ()
   7257 {
   7258   int i;
   7259   for (i = 0; i < 256; i++)
   7260     if (XOR (islower (i), ISLOWER (i))
   7261 	|| toupper (i) != TOUPPER (i))
   7262       return 2;
   7263   return 0;
   7264 }
   7265 _ACEOF
   7266 if ac_fn_c_try_run "$LINENO"; then :
   7267 
   7268 else
   7269   ac_cv_header_stdc=no
   7270 fi
   7271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7272   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7273 fi
   7274 
   7275 fi
   7276 fi
   7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7278 $as_echo "$ac_cv_header_stdc" >&6; }
   7279 if test $ac_cv_header_stdc = yes; then
   7280 
   7281 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7282 
   7283 fi
   7284 
   7285 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7286 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7287 		  inttypes.h stdint.h unistd.h
   7288 do :
   7289   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7291 "
   7292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7293   cat >>confdefs.h <<_ACEOF
   7294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7295 _ACEOF
   7296 
   7297 fi
   7298 
   7299 done
   7300 
   7301 
   7302 for ac_header in dlfcn.h
   7303 do :
   7304   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7305 "
   7306 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7307   cat >>confdefs.h <<_ACEOF
   7308 #define HAVE_DLFCN_H 1
   7309 _ACEOF
   7310 
   7311 fi
   7312 
   7313 done
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 # Set options
   7320 
   7321 
   7322 
   7323         enable_dlopen=no
   7324 
   7325 
   7326   enable_win32_dll=no
   7327 
   7328 
   7329             # Check whether --enable-shared was given.
   7330 if test "${enable_shared+set}" = set; then :
   7331   enableval=$enable_shared; p=${PACKAGE-default}
   7332     case $enableval in
   7333     yes) enable_shared=yes ;;
   7334     no) enable_shared=no ;;
   7335     *)
   7336       enable_shared=no
   7337       # Look at the argument we got.  We use all the common list separators.
   7338       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7339       for pkg in $enableval; do
   7340 	IFS="$lt_save_ifs"
   7341 	if test "X$pkg" = "X$p"; then
   7342 	  enable_shared=yes
   7343 	fi
   7344       done
   7345       IFS="$lt_save_ifs"
   7346       ;;
   7347     esac
   7348 else
   7349   enable_shared=yes
   7350 fi
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360   # Check whether --enable-static was given.
   7361 if test "${enable_static+set}" = set; then :
   7362   enableval=$enable_static; p=${PACKAGE-default}
   7363     case $enableval in
   7364     yes) enable_static=yes ;;
   7365     no) enable_static=no ;;
   7366     *)
   7367      enable_static=no
   7368       # Look at the argument we got.  We use all the common list separators.
   7369       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7370       for pkg in $enableval; do
   7371 	IFS="$lt_save_ifs"
   7372 	if test "X$pkg" = "X$p"; then
   7373 	  enable_static=yes
   7374 	fi
   7375       done
   7376       IFS="$lt_save_ifs"
   7377       ;;
   7378     esac
   7379 else
   7380   enable_static=yes
   7381 fi
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 # Check whether --with-pic was given.
   7393 if test "${with_pic+set}" = set; then :
   7394   withval=$with_pic; lt_p=${PACKAGE-default}
   7395     case $withval in
   7396     yes|no) pic_mode=$withval ;;
   7397     *)
   7398       pic_mode=default
   7399       # Look at the argument we got.  We use all the common list separators.
   7400       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7401       for lt_pkg in $withval; do
   7402 	IFS="$lt_save_ifs"
   7403 	if test "X$lt_pkg" = "X$lt_p"; then
   7404 	  pic_mode=yes
   7405 	fi
   7406       done
   7407       IFS="$lt_save_ifs"
   7408       ;;
   7409     esac
   7410 else
   7411   pic_mode=default
   7412 fi
   7413 
   7414 
   7415 test -z "$pic_mode" && pic_mode=default
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423   # Check whether --enable-fast-install was given.
   7424 if test "${enable_fast_install+set}" = set; then :
   7425   enableval=$enable_fast_install; p=${PACKAGE-default}
   7426     case $enableval in
   7427     yes) enable_fast_install=yes ;;
   7428     no) enable_fast_install=no ;;
   7429     *)
   7430       enable_fast_install=no
   7431       # Look at the argument we got.  We use all the common list separators.
   7432       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7433       for pkg in $enableval; do
   7434 	IFS="$lt_save_ifs"
   7435 	if test "X$pkg" = "X$p"; then
   7436 	  enable_fast_install=yes
   7437 	fi
   7438       done
   7439       IFS="$lt_save_ifs"
   7440       ;;
   7441     esac
   7442 else
   7443   enable_fast_install=yes
   7444 fi
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 # This can be used to rebuild libtool when needed
   7457 LIBTOOL_DEPS="$ltmain"
   7458 
   7459 # Always use our own libtool.
   7460 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 test -z "$LN_S" && LN_S="ln -s"
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 if test -n "${ZSH_VERSION+set}" ; then
   7507    setopt NO_GLOB_SUBST
   7508 fi
   7509 
   7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7511 $as_echo_n "checking for objdir... " >&6; }
   7512 if ${lt_cv_objdir+:} false; then :
   7513   $as_echo_n "(cached) " >&6
   7514 else
   7515   rm -f .libs 2>/dev/null
   7516 mkdir .libs 2>/dev/null
   7517 if test -d .libs; then
   7518   lt_cv_objdir=.libs
   7519 else
   7520   # MS-DOS does not allow filenames that begin with a dot.
   7521   lt_cv_objdir=_libs
   7522 fi
   7523 rmdir .libs 2>/dev/null
   7524 fi
   7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7526 $as_echo "$lt_cv_objdir" >&6; }
   7527 objdir=$lt_cv_objdir
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 cat >>confdefs.h <<_ACEOF
   7534 #define LT_OBJDIR "$lt_cv_objdir/"
   7535 _ACEOF
   7536 
   7537 
   7538 
   7539 
   7540 case $host_os in
   7541 aix3*)
   7542   # AIX sometimes has problems with the GCC collect2 program.  For some
   7543   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7544   # vanish in a puff of smoke.
   7545   if test "X${COLLECT_NAMES+set}" != Xset; then
   7546     COLLECT_NAMES=
   7547     export COLLECT_NAMES
   7548   fi
   7549   ;;
   7550 esac
   7551 
   7552 # Global variables:
   7553 ofile=libtool
   7554 can_build_shared=yes
   7555 
   7556 # All known linkers require a `.a' archive for static linking (except MSVC,
   7557 # which needs '.lib').
   7558 libext=a
   7559 
   7560 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7561 
   7562 old_CC="$CC"
   7563 old_CFLAGS="$CFLAGS"
   7564 
   7565 # Set sane defaults for various variables
   7566 test -z "$CC" && CC=cc
   7567 test -z "$LTCC" && LTCC=$CC
   7568 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7569 test -z "$LD" && LD=ld
   7570 test -z "$ac_objext" && ac_objext=o
   7571 
   7572 for cc_temp in $compiler""; do
   7573   case $cc_temp in
   7574     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7575     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7576     \-*) ;;
   7577     *) break;;
   7578   esac
   7579 done
   7580 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7581 
   7582 
   7583 # Only perform the check for file, if the check method requires it
   7584 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7585 case $deplibs_check_method in
   7586 file_magic*)
   7587   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7588     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7589 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7590 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7591   $as_echo_n "(cached) " >&6
   7592 else
   7593   case $MAGIC_CMD in
   7594 [\\/*] |  ?:[\\/]*)
   7595   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7596   ;;
   7597 *)
   7598   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7599   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7600   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7601   for ac_dir in $ac_dummy; do
   7602     IFS="$lt_save_ifs"
   7603     test -z "$ac_dir" && ac_dir=.
   7604     if test -f $ac_dir/${ac_tool_prefix}file; then
   7605       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7606       if test -n "$file_magic_test_file"; then
   7607 	case $deplibs_check_method in
   7608 	"file_magic "*)
   7609 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7610 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7611 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7612 	    $EGREP "$file_magic_regex" > /dev/null; then
   7613 	    :
   7614 	  else
   7615 	    cat <<_LT_EOF 1>&2
   7616 
   7617 *** Warning: the command libtool uses to detect shared libraries,
   7618 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7619 *** The result is that libtool may fail to recognize shared libraries
   7620 *** as such.  This will affect the creation of libtool libraries that
   7621 *** depend on shared libraries, but programs linked with such libtool
   7622 *** libraries will work regardless of this problem.  Nevertheless, you
   7623 *** may want to report the problem to your system manager and/or to
   7624 *** bug-libtool@gnu.org
   7625 
   7626 _LT_EOF
   7627 	  fi ;;
   7628 	esac
   7629       fi
   7630       break
   7631     fi
   7632   done
   7633   IFS="$lt_save_ifs"
   7634   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7635   ;;
   7636 esac
   7637 fi
   7638 
   7639 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7640 if test -n "$MAGIC_CMD"; then
   7641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7642 $as_echo "$MAGIC_CMD" >&6; }
   7643 else
   7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7645 $as_echo "no" >&6; }
   7646 fi
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7653   if test -n "$ac_tool_prefix"; then
   7654     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7655 $as_echo_n "checking for file... " >&6; }
   7656 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7657   $as_echo_n "(cached) " >&6
   7658 else
   7659   case $MAGIC_CMD in
   7660 [\\/*] |  ?:[\\/]*)
   7661   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7662   ;;
   7663 *)
   7664   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7665   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7666   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7667   for ac_dir in $ac_dummy; do
   7668     IFS="$lt_save_ifs"
   7669     test -z "$ac_dir" && ac_dir=.
   7670     if test -f $ac_dir/file; then
   7671       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7672       if test -n "$file_magic_test_file"; then
   7673 	case $deplibs_check_method in
   7674 	"file_magic "*)
   7675 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7676 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7677 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7678 	    $EGREP "$file_magic_regex" > /dev/null; then
   7679 	    :
   7680 	  else
   7681 	    cat <<_LT_EOF 1>&2
   7682 
   7683 *** Warning: the command libtool uses to detect shared libraries,
   7684 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7685 *** The result is that libtool may fail to recognize shared libraries
   7686 *** as such.  This will affect the creation of libtool libraries that
   7687 *** depend on shared libraries, but programs linked with such libtool
   7688 *** libraries will work regardless of this problem.  Nevertheless, you
   7689 *** may want to report the problem to your system manager and/or to
   7690 *** bug-libtool@gnu.org
   7691 
   7692 _LT_EOF
   7693 	  fi ;;
   7694 	esac
   7695       fi
   7696       break
   7697     fi
   7698   done
   7699   IFS="$lt_save_ifs"
   7700   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7701   ;;
   7702 esac
   7703 fi
   7704 
   7705 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7706 if test -n "$MAGIC_CMD"; then
   7707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7708 $as_echo "$MAGIC_CMD" >&6; }
   7709 else
   7710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7711 $as_echo "no" >&6; }
   7712 fi
   7713 
   7714 
   7715   else
   7716     MAGIC_CMD=:
   7717   fi
   7718 fi
   7719 
   7720   fi
   7721   ;;
   7722 esac
   7723 
   7724 # Use C for the default configuration in the libtool script
   7725 
   7726 lt_save_CC="$CC"
   7727 ac_ext=c
   7728 ac_cpp='$CPP $CPPFLAGS'
   7729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7732 
   7733 
   7734 # Source file extension for C test sources.
   7735 ac_ext=c
   7736 
   7737 # Object file extension for compiled C test sources.
   7738 objext=o
   7739 objext=$objext
   7740 
   7741 # Code to be used in simple compile tests
   7742 lt_simple_compile_test_code="int some_variable = 0;"
   7743 
   7744 # Code to be used in simple link tests
   7745 lt_simple_link_test_code='int main(){return(0);}'
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 # If no C compiler was specified, use CC.
   7754 LTCC=${LTCC-"$CC"}
   7755 
   7756 # If no C compiler flags were specified, use CFLAGS.
   7757 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7758 
   7759 # Allow CC to be a program name with arguments.
   7760 compiler=$CC
   7761 
   7762 # Save the default compiler, since it gets overwritten when the other
   7763 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7764 compiler_DEFAULT=$CC
   7765 
   7766 # save warnings/boilerplate of simple test code
   7767 ac_outfile=conftest.$ac_objext
   7768 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7769 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7770 _lt_compiler_boilerplate=`cat conftest.err`
   7771 $RM conftest*
   7772 
   7773 ac_outfile=conftest.$ac_objext
   7774 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7775 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7776 _lt_linker_boilerplate=`cat conftest.err`
   7777 $RM -r conftest*
   7778 
   7779 
   7780 if test -n "$compiler"; then
   7781 
   7782 lt_prog_compiler_no_builtin_flag=
   7783 
   7784 if test "$GCC" = yes; then
   7785   case $cc_basename in
   7786   nvcc*)
   7787     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7788   *)
   7789     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7790   esac
   7791 
   7792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7793 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7794 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7795   $as_echo_n "(cached) " >&6
   7796 else
   7797   lt_cv_prog_compiler_rtti_exceptions=no
   7798    ac_outfile=conftest.$ac_objext
   7799    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7800    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7801    # Insert the option either (1) after the last *FLAGS variable, or
   7802    # (2) before a word containing "conftest.", or (3) at the end.
   7803    # Note that $ac_compile itself does not contain backslashes and begins
   7804    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7805    # The option is referenced via a variable to avoid confusing sed.
   7806    lt_compile=`echo "$ac_compile" | $SED \
   7807    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7808    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7809    -e 's:$: $lt_compiler_flag:'`
   7810    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7811    (eval "$lt_compile" 2>conftest.err)
   7812    ac_status=$?
   7813    cat conftest.err >&5
   7814    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7815    if (exit $ac_status) && test -s "$ac_outfile"; then
   7816      # The compiler can only warn and ignore the option if not recognized
   7817      # So say no if there are warnings other than the usual output.
   7818      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7819      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7820      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7821        lt_cv_prog_compiler_rtti_exceptions=yes
   7822      fi
   7823    fi
   7824    $RM conftest*
   7825 
   7826 fi
   7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7828 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7829 
   7830 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7831     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7832 else
   7833     :
   7834 fi
   7835 
   7836 fi
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843   lt_prog_compiler_wl=
   7844 lt_prog_compiler_pic=
   7845 lt_prog_compiler_static=
   7846 
   7847 
   7848   if test "$GCC" = yes; then
   7849     lt_prog_compiler_wl='-Wl,'
   7850     lt_prog_compiler_static='-static'
   7851 
   7852     case $host_os in
   7853       aix*)
   7854       # All AIX code is PIC.
   7855       if test "$host_cpu" = ia64; then
   7856 	# AIX 5 now supports IA64 processor
   7857 	lt_prog_compiler_static='-Bstatic'
   7858       fi
   7859       ;;
   7860 
   7861     amigaos*)
   7862       case $host_cpu in
   7863       powerpc)
   7864             # see comment about AmigaOS4 .so support
   7865             lt_prog_compiler_pic='-fPIC'
   7866         ;;
   7867       m68k)
   7868             # FIXME: we need at least 68020 code to build shared libraries, but
   7869             # adding the `-m68020' flag to GCC prevents building anything better,
   7870             # like `-m68040'.
   7871             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7872         ;;
   7873       esac
   7874       ;;
   7875 
   7876     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7877       # PIC is the default for these OSes.
   7878       ;;
   7879 
   7880     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7881       # This hack is so that the source file can tell whether it is being
   7882       # built for inclusion in a dll (and should export symbols for example).
   7883       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7884       # (--disable-auto-import) libraries
   7885       lt_prog_compiler_pic='-DDLL_EXPORT'
   7886       ;;
   7887 
   7888     darwin* | rhapsody*)
   7889       # PIC is the default on this platform
   7890       # Common symbols not allowed in MH_DYLIB files
   7891       lt_prog_compiler_pic='-fno-common'
   7892       ;;
   7893 
   7894     haiku*)
   7895       # PIC is the default for Haiku.
   7896       # The "-static" flag exists, but is broken.
   7897       lt_prog_compiler_static=
   7898       ;;
   7899 
   7900     hpux*)
   7901       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7902       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7903       # sets the default TLS model and affects inlining.
   7904       case $host_cpu in
   7905       hppa*64*)
   7906 	# +Z the default
   7907 	;;
   7908       *)
   7909 	lt_prog_compiler_pic='-fPIC'
   7910 	;;
   7911       esac
   7912       ;;
   7913 
   7914     interix[3-9]*)
   7915       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7916       # Instead, we relocate shared libraries at runtime.
   7917       ;;
   7918 
   7919     msdosdjgpp*)
   7920       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7921       # on systems that don't support them.
   7922       lt_prog_compiler_can_build_shared=no
   7923       enable_shared=no
   7924       ;;
   7925 
   7926     *nto* | *qnx*)
   7927       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7928       # it will coredump.
   7929       lt_prog_compiler_pic='-fPIC -shared'
   7930       ;;
   7931 
   7932     sysv4*MP*)
   7933       if test -d /usr/nec; then
   7934 	lt_prog_compiler_pic=-Kconform_pic
   7935       fi
   7936       ;;
   7937 
   7938     *)
   7939       lt_prog_compiler_pic='-fPIC'
   7940       ;;
   7941     esac
   7942 
   7943     case $cc_basename in
   7944     nvcc*) # Cuda Compiler Driver 2.2
   7945       lt_prog_compiler_wl='-Xlinker '
   7946       if test -n "$lt_prog_compiler_pic"; then
   7947         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7948       fi
   7949       ;;
   7950     esac
   7951   else
   7952     # PORTME Check for flag to pass linker flags through the system compiler.
   7953     case $host_os in
   7954     aix*)
   7955       lt_prog_compiler_wl='-Wl,'
   7956       if test "$host_cpu" = ia64; then
   7957 	# AIX 5 now supports IA64 processor
   7958 	lt_prog_compiler_static='-Bstatic'
   7959       else
   7960 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7961       fi
   7962       ;;
   7963 
   7964     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7965       # This hack is so that the source file can tell whether it is being
   7966       # built for inclusion in a dll (and should export symbols for example).
   7967       lt_prog_compiler_pic='-DDLL_EXPORT'
   7968       ;;
   7969 
   7970     hpux9* | hpux10* | hpux11*)
   7971       lt_prog_compiler_wl='-Wl,'
   7972       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7973       # not for PA HP-UX.
   7974       case $host_cpu in
   7975       hppa*64*|ia64*)
   7976 	# +Z the default
   7977 	;;
   7978       *)
   7979 	lt_prog_compiler_pic='+Z'
   7980 	;;
   7981       esac
   7982       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7983       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7984       ;;
   7985 
   7986     irix5* | irix6* | nonstopux*)
   7987       lt_prog_compiler_wl='-Wl,'
   7988       # PIC (with -KPIC) is the default.
   7989       lt_prog_compiler_static='-non_shared'
   7990       ;;
   7991 
   7992     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7993       case $cc_basename in
   7994       # old Intel for x86_64 which still supported -KPIC.
   7995       ecc*)
   7996 	lt_prog_compiler_wl='-Wl,'
   7997 	lt_prog_compiler_pic='-KPIC'
   7998 	lt_prog_compiler_static='-static'
   7999         ;;
   8000       # icc used to be incompatible with GCC.
   8001       # ICC 10 doesn't accept -KPIC any more.
   8002       icc* | ifort*)
   8003 	lt_prog_compiler_wl='-Wl,'
   8004 	lt_prog_compiler_pic='-fPIC'
   8005 	lt_prog_compiler_static='-static'
   8006         ;;
   8007       # Lahey Fortran 8.1.
   8008       lf95*)
   8009 	lt_prog_compiler_wl='-Wl,'
   8010 	lt_prog_compiler_pic='--shared'
   8011 	lt_prog_compiler_static='--static'
   8012 	;;
   8013       nagfor*)
   8014 	# NAG Fortran compiler
   8015 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8016 	lt_prog_compiler_pic='-PIC'
   8017 	lt_prog_compiler_static='-Bstatic'
   8018 	;;
   8019       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8020         # Portland Group compilers (*not* the Pentium gcc compiler,
   8021 	# which looks to be a dead project)
   8022 	lt_prog_compiler_wl='-Wl,'
   8023 	lt_prog_compiler_pic='-fpic'
   8024 	lt_prog_compiler_static='-Bstatic'
   8025         ;;
   8026       ccc*)
   8027         lt_prog_compiler_wl='-Wl,'
   8028         # All Alpha code is PIC.
   8029         lt_prog_compiler_static='-non_shared'
   8030         ;;
   8031       xl* | bgxl* | bgf* | mpixl*)
   8032 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8033 	lt_prog_compiler_wl='-Wl,'
   8034 	lt_prog_compiler_pic='-qpic'
   8035 	lt_prog_compiler_static='-qstaticlink'
   8036 	;;
   8037       *)
   8038 	case `$CC -V 2>&1 | sed 5q` in
   8039 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8040 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8041 	  lt_prog_compiler_pic='-KPIC'
   8042 	  lt_prog_compiler_static='-Bstatic'
   8043 	  lt_prog_compiler_wl=''
   8044 	  ;;
   8045 	*Sun\ F* | *Sun*Fortran*)
   8046 	  lt_prog_compiler_pic='-KPIC'
   8047 	  lt_prog_compiler_static='-Bstatic'
   8048 	  lt_prog_compiler_wl='-Qoption ld '
   8049 	  ;;
   8050 	*Sun\ C*)
   8051 	  # Sun C 5.9
   8052 	  lt_prog_compiler_pic='-KPIC'
   8053 	  lt_prog_compiler_static='-Bstatic'
   8054 	  lt_prog_compiler_wl='-Wl,'
   8055 	  ;;
   8056         *Intel*\ [CF]*Compiler*)
   8057 	  lt_prog_compiler_wl='-Wl,'
   8058 	  lt_prog_compiler_pic='-fPIC'
   8059 	  lt_prog_compiler_static='-static'
   8060 	  ;;
   8061 	*Portland\ Group*)
   8062 	  lt_prog_compiler_wl='-Wl,'
   8063 	  lt_prog_compiler_pic='-fpic'
   8064 	  lt_prog_compiler_static='-Bstatic'
   8065 	  ;;
   8066 	esac
   8067 	;;
   8068       esac
   8069       ;;
   8070 
   8071     newsos6)
   8072       lt_prog_compiler_pic='-KPIC'
   8073       lt_prog_compiler_static='-Bstatic'
   8074       ;;
   8075 
   8076     *nto* | *qnx*)
   8077       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8078       # it will coredump.
   8079       lt_prog_compiler_pic='-fPIC -shared'
   8080       ;;
   8081 
   8082     osf3* | osf4* | osf5*)
   8083       lt_prog_compiler_wl='-Wl,'
   8084       # All OSF/1 code is PIC.
   8085       lt_prog_compiler_static='-non_shared'
   8086       ;;
   8087 
   8088     rdos*)
   8089       lt_prog_compiler_static='-non_shared'
   8090       ;;
   8091 
   8092     solaris*)
   8093       lt_prog_compiler_pic='-KPIC'
   8094       lt_prog_compiler_static='-Bstatic'
   8095       case $cc_basename in
   8096       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8097 	lt_prog_compiler_wl='-Qoption ld ';;
   8098       *)
   8099 	lt_prog_compiler_wl='-Wl,';;
   8100       esac
   8101       ;;
   8102 
   8103     sunos4*)
   8104       lt_prog_compiler_wl='-Qoption ld '
   8105       lt_prog_compiler_pic='-PIC'
   8106       lt_prog_compiler_static='-Bstatic'
   8107       ;;
   8108 
   8109     sysv4 | sysv4.2uw2* | sysv4.3*)
   8110       lt_prog_compiler_wl='-Wl,'
   8111       lt_prog_compiler_pic='-KPIC'
   8112       lt_prog_compiler_static='-Bstatic'
   8113       ;;
   8114 
   8115     sysv4*MP*)
   8116       if test -d /usr/nec ;then
   8117 	lt_prog_compiler_pic='-Kconform_pic'
   8118 	lt_prog_compiler_static='-Bstatic'
   8119       fi
   8120       ;;
   8121 
   8122     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8123       lt_prog_compiler_wl='-Wl,'
   8124       lt_prog_compiler_pic='-KPIC'
   8125       lt_prog_compiler_static='-Bstatic'
   8126       ;;
   8127 
   8128     unicos*)
   8129       lt_prog_compiler_wl='-Wl,'
   8130       lt_prog_compiler_can_build_shared=no
   8131       ;;
   8132 
   8133     uts4*)
   8134       lt_prog_compiler_pic='-pic'
   8135       lt_prog_compiler_static='-Bstatic'
   8136       ;;
   8137 
   8138     *)
   8139       lt_prog_compiler_can_build_shared=no
   8140       ;;
   8141     esac
   8142   fi
   8143 
   8144 case $host_os in
   8145   # For platforms which do not support PIC, -DPIC is meaningless:
   8146   *djgpp*)
   8147     lt_prog_compiler_pic=
   8148     ;;
   8149   *)
   8150     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8151     ;;
   8152 esac
   8153 
   8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8155 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8156 if ${lt_cv_prog_compiler_pic+:} false; then :
   8157   $as_echo_n "(cached) " >&6
   8158 else
   8159   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8160 fi
   8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8162 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8163 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8164 
   8165 #
   8166 # Check to make sure the PIC flag actually works.
   8167 #
   8168 if test -n "$lt_prog_compiler_pic"; then
   8169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8170 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8171 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8172   $as_echo_n "(cached) " >&6
   8173 else
   8174   lt_cv_prog_compiler_pic_works=no
   8175    ac_outfile=conftest.$ac_objext
   8176    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8177    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8178    # Insert the option either (1) after the last *FLAGS variable, or
   8179    # (2) before a word containing "conftest.", or (3) at the end.
   8180    # Note that $ac_compile itself does not contain backslashes and begins
   8181    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8182    # The option is referenced via a variable to avoid confusing sed.
   8183    lt_compile=`echo "$ac_compile" | $SED \
   8184    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8185    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8186    -e 's:$: $lt_compiler_flag:'`
   8187    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8188    (eval "$lt_compile" 2>conftest.err)
   8189    ac_status=$?
   8190    cat conftest.err >&5
   8191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8192    if (exit $ac_status) && test -s "$ac_outfile"; then
   8193      # The compiler can only warn and ignore the option if not recognized
   8194      # So say no if there are warnings other than the usual output.
   8195      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8196      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8197      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8198        lt_cv_prog_compiler_pic_works=yes
   8199      fi
   8200    fi
   8201    $RM conftest*
   8202 
   8203 fi
   8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8205 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8206 
   8207 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8208     case $lt_prog_compiler_pic in
   8209      "" | " "*) ;;
   8210      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8211      esac
   8212 else
   8213     lt_prog_compiler_pic=
   8214      lt_prog_compiler_can_build_shared=no
   8215 fi
   8216 
   8217 fi
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 #
   8230 # Check to make sure the static flag actually works.
   8231 #
   8232 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8234 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8235 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8236   $as_echo_n "(cached) " >&6
   8237 else
   8238   lt_cv_prog_compiler_static_works=no
   8239    save_LDFLAGS="$LDFLAGS"
   8240    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8241    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8242    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8243      # The linker can only warn and ignore the option if not recognized
   8244      # So say no if there are warnings
   8245      if test -s conftest.err; then
   8246        # Append any errors to the config.log.
   8247        cat conftest.err 1>&5
   8248        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8249        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8250        if diff conftest.exp conftest.er2 >/dev/null; then
   8251          lt_cv_prog_compiler_static_works=yes
   8252        fi
   8253      else
   8254        lt_cv_prog_compiler_static_works=yes
   8255      fi
   8256    fi
   8257    $RM -r conftest*
   8258    LDFLAGS="$save_LDFLAGS"
   8259 
   8260 fi
   8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8262 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8263 
   8264 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8265     :
   8266 else
   8267     lt_prog_compiler_static=
   8268 fi
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8278 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8279   $as_echo_n "(cached) " >&6
   8280 else
   8281   lt_cv_prog_compiler_c_o=no
   8282    $RM -r conftest 2>/dev/null
   8283    mkdir conftest
   8284    cd conftest
   8285    mkdir out
   8286    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8287 
   8288    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8289    # Insert the option either (1) after the last *FLAGS variable, or
   8290    # (2) before a word containing "conftest.", or (3) at the end.
   8291    # Note that $ac_compile itself does not contain backslashes and begins
   8292    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8293    lt_compile=`echo "$ac_compile" | $SED \
   8294    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8295    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8296    -e 's:$: $lt_compiler_flag:'`
   8297    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8298    (eval "$lt_compile" 2>out/conftest.err)
   8299    ac_status=$?
   8300    cat out/conftest.err >&5
   8301    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8302    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8303    then
   8304      # The compiler can only warn and ignore the option if not recognized
   8305      # So say no if there are warnings
   8306      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8307      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8308      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8309        lt_cv_prog_compiler_c_o=yes
   8310      fi
   8311    fi
   8312    chmod u+w . 2>&5
   8313    $RM conftest*
   8314    # SGI C++ compiler will create directory out/ii_files/ for
   8315    # template instantiation
   8316    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8317    $RM out/* && rmdir out
   8318    cd ..
   8319    $RM -r conftest
   8320    $RM conftest*
   8321 
   8322 fi
   8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8324 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8332 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8333 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8334   $as_echo_n "(cached) " >&6
   8335 else
   8336   lt_cv_prog_compiler_c_o=no
   8337    $RM -r conftest 2>/dev/null
   8338    mkdir conftest
   8339    cd conftest
   8340    mkdir out
   8341    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8342 
   8343    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8344    # Insert the option either (1) after the last *FLAGS variable, or
   8345    # (2) before a word containing "conftest.", or (3) at the end.
   8346    # Note that $ac_compile itself does not contain backslashes and begins
   8347    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8348    lt_compile=`echo "$ac_compile" | $SED \
   8349    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8350    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8351    -e 's:$: $lt_compiler_flag:'`
   8352    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8353    (eval "$lt_compile" 2>out/conftest.err)
   8354    ac_status=$?
   8355    cat out/conftest.err >&5
   8356    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8357    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8358    then
   8359      # The compiler can only warn and ignore the option if not recognized
   8360      # So say no if there are warnings
   8361      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8362      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8363      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8364        lt_cv_prog_compiler_c_o=yes
   8365      fi
   8366    fi
   8367    chmod u+w . 2>&5
   8368    $RM conftest*
   8369    # SGI C++ compiler will create directory out/ii_files/ for
   8370    # template instantiation
   8371    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8372    $RM out/* && rmdir out
   8373    cd ..
   8374    $RM -r conftest
   8375    $RM conftest*
   8376 
   8377 fi
   8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8379 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8380 
   8381 
   8382 
   8383 
   8384 hard_links="nottested"
   8385 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8386   # do not overwrite the value of need_locks provided by the user
   8387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8388 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8389   hard_links=yes
   8390   $RM conftest*
   8391   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8392   touch conftest.a
   8393   ln conftest.a conftest.b 2>&5 || hard_links=no
   8394   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8396 $as_echo "$hard_links" >&6; }
   8397   if test "$hard_links" = no; then
   8398     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8399 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8400     need_locks=warn
   8401   fi
   8402 else
   8403   need_locks=no
   8404 fi
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8412 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8413 
   8414   runpath_var=
   8415   allow_undefined_flag=
   8416   always_export_symbols=no
   8417   archive_cmds=
   8418   archive_expsym_cmds=
   8419   compiler_needs_object=no
   8420   enable_shared_with_static_runtimes=no
   8421   export_dynamic_flag_spec=
   8422   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8423   hardcode_automatic=no
   8424   hardcode_direct=no
   8425   hardcode_direct_absolute=no
   8426   hardcode_libdir_flag_spec=
   8427   hardcode_libdir_separator=
   8428   hardcode_minus_L=no
   8429   hardcode_shlibpath_var=unsupported
   8430   inherit_rpath=no
   8431   link_all_deplibs=unknown
   8432   module_cmds=
   8433   module_expsym_cmds=
   8434   old_archive_from_new_cmds=
   8435   old_archive_from_expsyms_cmds=
   8436   thread_safe_flag_spec=
   8437   whole_archive_flag_spec=
   8438   # include_expsyms should be a list of space-separated symbols to be *always*
   8439   # included in the symbol list
   8440   include_expsyms=
   8441   # exclude_expsyms can be an extended regexp of symbols to exclude
   8442   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8443   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8444   # as well as any symbol that contains `d'.
   8445   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8446   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8447   # platforms (ab)use it in PIC code, but their linkers get confused if
   8448   # the symbol is explicitly referenced.  Since portable code cannot
   8449   # rely on this symbol name, it's probably fine to never include it in
   8450   # preloaded symbol tables.
   8451   # Exclude shared library initialization/finalization symbols.
   8452   extract_expsyms_cmds=
   8453 
   8454   case $host_os in
   8455   cygwin* | mingw* | pw32* | cegcc*)
   8456     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8457     # When not using gcc, we currently assume that we are using
   8458     # Microsoft Visual C++.
   8459     if test "$GCC" != yes; then
   8460       with_gnu_ld=no
   8461     fi
   8462     ;;
   8463   interix*)
   8464     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8465     with_gnu_ld=yes
   8466     ;;
   8467   openbsd*)
   8468     with_gnu_ld=no
   8469     ;;
   8470   esac
   8471 
   8472   ld_shlibs=yes
   8473 
   8474   # On some targets, GNU ld is compatible enough with the native linker
   8475   # that we're better off using the native interface for both.
   8476   lt_use_gnu_ld_interface=no
   8477   if test "$with_gnu_ld" = yes; then
   8478     case $host_os in
   8479       aix*)
   8480 	# The AIX port of GNU ld has always aspired to compatibility
   8481 	# with the native linker.  However, as the warning in the GNU ld
   8482 	# block says, versions before 2.19.5* couldn't really create working
   8483 	# shared libraries, regardless of the interface used.
   8484 	case `$LD -v 2>&1` in
   8485 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8486 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8487 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8488 	  *)
   8489 	    lt_use_gnu_ld_interface=yes
   8490 	    ;;
   8491 	esac
   8492 	;;
   8493       *)
   8494 	lt_use_gnu_ld_interface=yes
   8495 	;;
   8496     esac
   8497   fi
   8498 
   8499   if test "$lt_use_gnu_ld_interface" = yes; then
   8500     # If archive_cmds runs LD, not CC, wlarc should be empty
   8501     wlarc='${wl}'
   8502 
   8503     # Set some defaults for GNU ld with shared library support. These
   8504     # are reset later if shared libraries are not supported. Putting them
   8505     # here allows them to be overridden if necessary.
   8506     runpath_var=LD_RUN_PATH
   8507     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8508     export_dynamic_flag_spec='${wl}--export-dynamic'
   8509     # ancient GNU ld didn't support --whole-archive et. al.
   8510     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8511       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8512     else
   8513       whole_archive_flag_spec=
   8514     fi
   8515     supports_anon_versioning=no
   8516     case `$LD -v 2>&1` in
   8517       *GNU\ gold*) supports_anon_versioning=yes ;;
   8518       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8519       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8520       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8521       *\ 2.11.*) ;; # other 2.11 versions
   8522       *) supports_anon_versioning=yes ;;
   8523     esac
   8524 
   8525     # See if GNU ld supports shared libraries.
   8526     case $host_os in
   8527     aix[3-9]*)
   8528       # On AIX/PPC, the GNU linker is very broken
   8529       if test "$host_cpu" != ia64; then
   8530 	ld_shlibs=no
   8531 	cat <<_LT_EOF 1>&2
   8532 
   8533 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8534 *** to be unable to reliably create shared libraries on AIX.
   8535 *** Therefore, libtool is disabling shared libraries support.  If you
   8536 *** really care for shared libraries, you may want to install binutils
   8537 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8538 *** You will then need to restart the configuration process.
   8539 
   8540 _LT_EOF
   8541       fi
   8542       ;;
   8543 
   8544     amigaos*)
   8545       case $host_cpu in
   8546       powerpc)
   8547             # see comment about AmigaOS4 .so support
   8548             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8549             archive_expsym_cmds=''
   8550         ;;
   8551       m68k)
   8552             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)'
   8553             hardcode_libdir_flag_spec='-L$libdir'
   8554             hardcode_minus_L=yes
   8555         ;;
   8556       esac
   8557       ;;
   8558 
   8559     beos*)
   8560       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8561 	allow_undefined_flag=unsupported
   8562 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8563 	# support --undefined.  This deserves some investigation.  FIXME
   8564 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8565       else
   8566 	ld_shlibs=no
   8567       fi
   8568       ;;
   8569 
   8570     cygwin* | mingw* | pw32* | cegcc*)
   8571       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8572       # as there is no search path for DLLs.
   8573       hardcode_libdir_flag_spec='-L$libdir'
   8574       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8575       allow_undefined_flag=unsupported
   8576       always_export_symbols=no
   8577       enable_shared_with_static_runtimes=yes
   8578       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'
   8579       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8580 
   8581       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8582         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8583 	# If the export-symbols file already is a .def file (1st line
   8584 	# is EXPORTS), use it as is; otherwise, prepend...
   8585 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8586 	  cp $export_symbols $output_objdir/$soname.def;
   8587 	else
   8588 	  echo EXPORTS > $output_objdir/$soname.def;
   8589 	  cat $export_symbols >> $output_objdir/$soname.def;
   8590 	fi~
   8591 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8592       else
   8593 	ld_shlibs=no
   8594       fi
   8595       ;;
   8596 
   8597     haiku*)
   8598       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8599       link_all_deplibs=yes
   8600       ;;
   8601 
   8602     interix[3-9]*)
   8603       hardcode_direct=no
   8604       hardcode_shlibpath_var=no
   8605       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8606       export_dynamic_flag_spec='${wl}-E'
   8607       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8608       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8609       # default) and relocated if they conflict, which is a slow very memory
   8610       # consuming and fragmenting process.  To avoid this, we pick a random,
   8611       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8612       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8613       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8614       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'
   8615       ;;
   8616 
   8617     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8618       tmp_diet=no
   8619       if test "$host_os" = linux-dietlibc; then
   8620 	case $cc_basename in
   8621 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8622 	esac
   8623       fi
   8624       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8625 	 && test "$tmp_diet" = no
   8626       then
   8627 	tmp_addflag=' $pic_flag'
   8628 	tmp_sharedflag='-shared'
   8629 	case $cc_basename,$host_cpu in
   8630         pgcc*)				# Portland Group C compiler
   8631 	  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'
   8632 	  tmp_addflag=' $pic_flag'
   8633 	  ;;
   8634 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8635 					# Portland Group f77 and f90 compilers
   8636 	  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'
   8637 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8638 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8639 	  tmp_addflag=' -i_dynamic' ;;
   8640 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8641 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8642 	ifc* | ifort*)			# Intel Fortran compiler
   8643 	  tmp_addflag=' -nofor_main' ;;
   8644 	lf95*)				# Lahey Fortran 8.1
   8645 	  whole_archive_flag_spec=
   8646 	  tmp_sharedflag='--shared' ;;
   8647 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8648 	  tmp_sharedflag='-qmkshrobj'
   8649 	  tmp_addflag= ;;
   8650 	nvcc*)	# Cuda Compiler Driver 2.2
   8651 	  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'
   8652 	  compiler_needs_object=yes
   8653 	  ;;
   8654 	esac
   8655 	case `$CC -V 2>&1 | sed 5q` in
   8656 	*Sun\ C*)			# Sun C 5.9
   8657 	  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'
   8658 	  compiler_needs_object=yes
   8659 	  tmp_sharedflag='-G' ;;
   8660 	*Sun\ F*)			# Sun Fortran 8.3
   8661 	  tmp_sharedflag='-G' ;;
   8662 	esac
   8663 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8664 
   8665         if test "x$supports_anon_versioning" = xyes; then
   8666           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8667 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8668 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8669 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8670         fi
   8671 
   8672 	case $cc_basename in
   8673 	xlf* | bgf* | bgxlf* | mpixlf*)
   8674 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8675 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8676 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8677 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8678 	  if test "x$supports_anon_versioning" = xyes; then
   8679 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8680 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8681 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8682 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8683 	  fi
   8684 	  ;;
   8685 	esac
   8686       else
   8687         ld_shlibs=no
   8688       fi
   8689       ;;
   8690 
   8691     netbsd*)
   8692       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8693 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8694 	wlarc=
   8695       else
   8696 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8697 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8698       fi
   8699       ;;
   8700 
   8701     solaris*)
   8702       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8703 	ld_shlibs=no
   8704 	cat <<_LT_EOF 1>&2
   8705 
   8706 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8707 *** create shared libraries on Solaris systems.  Therefore, libtool
   8708 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8709 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8710 *** your PATH or compiler configuration so that the native linker is
   8711 *** used, and then restart.
   8712 
   8713 _LT_EOF
   8714       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8715 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8716 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8717       else
   8718 	ld_shlibs=no
   8719       fi
   8720       ;;
   8721 
   8722     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8723       case `$LD -v 2>&1` in
   8724         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8725 	ld_shlibs=no
   8726 	cat <<_LT_EOF 1>&2
   8727 
   8728 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8729 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8730 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8731 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8732 *** your PATH or compiler configuration so that the native linker is
   8733 *** used, and then restart.
   8734 
   8735 _LT_EOF
   8736 	;;
   8737 	*)
   8738 	  # For security reasons, it is highly recommended that you always
   8739 	  # use absolute paths for naming shared libraries, and exclude the
   8740 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8741 	  # requires that you compile everything twice, which is a pain.
   8742 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8743 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8744 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8745 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8746 	  else
   8747 	    ld_shlibs=no
   8748 	  fi
   8749 	;;
   8750       esac
   8751       ;;
   8752 
   8753     sunos4*)
   8754       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8755       wlarc=
   8756       hardcode_direct=yes
   8757       hardcode_shlibpath_var=no
   8758       ;;
   8759 
   8760     *)
   8761       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8762 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8763 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8764       else
   8765 	ld_shlibs=no
   8766       fi
   8767       ;;
   8768     esac
   8769 
   8770     if test "$ld_shlibs" = no; then
   8771       runpath_var=
   8772       hardcode_libdir_flag_spec=
   8773       export_dynamic_flag_spec=
   8774       whole_archive_flag_spec=
   8775     fi
   8776   else
   8777     # PORTME fill in a description of your system's linker (not GNU ld)
   8778     case $host_os in
   8779     aix3*)
   8780       allow_undefined_flag=unsupported
   8781       always_export_symbols=yes
   8782       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'
   8783       # Note: this linker hardcodes the directories in LIBPATH if there
   8784       # are no directories specified by -L.
   8785       hardcode_minus_L=yes
   8786       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8787 	# Neither direct hardcoding nor static linking is supported with a
   8788 	# broken collect2.
   8789 	hardcode_direct=unsupported
   8790       fi
   8791       ;;
   8792 
   8793     aix[4-9]*)
   8794       if test "$host_cpu" = ia64; then
   8795 	# On IA64, the linker does run time linking by default, so we don't
   8796 	# have to do anything special.
   8797 	aix_use_runtimelinking=no
   8798 	exp_sym_flag='-Bexport'
   8799 	no_entry_flag=""
   8800       else
   8801 	# If we're using GNU nm, then we don't want the "-C" option.
   8802 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8803 	# Also, AIX nm treats weak defined symbols like other global
   8804 	# defined symbols, whereas GNU nm marks them as "W".
   8805 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8806 	  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'
   8807 	else
   8808 	  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'
   8809 	fi
   8810 	aix_use_runtimelinking=no
   8811 
   8812 	# Test if we are trying to use run time linking or normal
   8813 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8814 	# need to do runtime linking.
   8815 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8816 	  for ld_flag in $LDFLAGS; do
   8817 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8818 	    aix_use_runtimelinking=yes
   8819 	    break
   8820 	  fi
   8821 	  done
   8822 	  ;;
   8823 	esac
   8824 
   8825 	exp_sym_flag='-bexport'
   8826 	no_entry_flag='-bnoentry'
   8827       fi
   8828 
   8829       # When large executables or shared objects are built, AIX ld can
   8830       # have problems creating the table of contents.  If linking a library
   8831       # or program results in "error TOC overflow" add -mminimal-toc to
   8832       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8833       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8834 
   8835       archive_cmds=''
   8836       hardcode_direct=yes
   8837       hardcode_direct_absolute=yes
   8838       hardcode_libdir_separator=':'
   8839       link_all_deplibs=yes
   8840       file_list_spec='${wl}-f,'
   8841 
   8842       if test "$GCC" = yes; then
   8843 	case $host_os in aix4.[012]|aix4.[012].*)
   8844 	# We only want to do this on AIX 4.2 and lower, the check
   8845 	# below for broken collect2 doesn't work under 4.3+
   8846 	  collect2name=`${CC} -print-prog-name=collect2`
   8847 	  if test -f "$collect2name" &&
   8848 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8849 	  then
   8850 	  # We have reworked collect2
   8851 	  :
   8852 	  else
   8853 	  # We have old collect2
   8854 	  hardcode_direct=unsupported
   8855 	  # It fails to find uninstalled libraries when the uninstalled
   8856 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8857 	  # to unsupported forces relinking
   8858 	  hardcode_minus_L=yes
   8859 	  hardcode_libdir_flag_spec='-L$libdir'
   8860 	  hardcode_libdir_separator=
   8861 	  fi
   8862 	  ;;
   8863 	esac
   8864 	shared_flag='-shared'
   8865 	if test "$aix_use_runtimelinking" = yes; then
   8866 	  shared_flag="$shared_flag "'${wl}-G'
   8867 	fi
   8868       else
   8869 	# not using gcc
   8870 	if test "$host_cpu" = ia64; then
   8871 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8872 	# chokes on -Wl,-G. The following line is correct:
   8873 	  shared_flag='-G'
   8874 	else
   8875 	  if test "$aix_use_runtimelinking" = yes; then
   8876 	    shared_flag='${wl}-G'
   8877 	  else
   8878 	    shared_flag='${wl}-bM:SRE'
   8879 	  fi
   8880 	fi
   8881       fi
   8882 
   8883       export_dynamic_flag_spec='${wl}-bexpall'
   8884       # It seems that -bexpall does not export symbols beginning with
   8885       # underscore (_), so it is better to generate a list of symbols to export.
   8886       always_export_symbols=yes
   8887       if test "$aix_use_runtimelinking" = yes; then
   8888 	# Warning - without using the other runtime loading flags (-brtl),
   8889 	# -berok will link without error, but may produce a broken library.
   8890 	allow_undefined_flag='-berok'
   8891         # Determine the default libpath from the value encoded in an
   8892         # empty executable.
   8893         if test "${lt_cv_aix_libpath+set}" = set; then
   8894   aix_libpath=$lt_cv_aix_libpath
   8895 else
   8896   if ${lt_cv_aix_libpath_+:} false; then :
   8897   $as_echo_n "(cached) " >&6
   8898 else
   8899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8900 /* end confdefs.h.  */
   8901 
   8902 int
   8903 main ()
   8904 {
   8905 
   8906   ;
   8907   return 0;
   8908 }
   8909 _ACEOF
   8910 if ac_fn_c_try_link "$LINENO"; then :
   8911 
   8912   lt_aix_libpath_sed='
   8913       /Import File Strings/,/^$/ {
   8914 	  /^0/ {
   8915 	      s/^0  *\([^ ]*\) *$/\1/
   8916 	      p
   8917 	  }
   8918       }'
   8919   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8920   # Check for a 64-bit object if we didn't find anything.
   8921   if test -z "$lt_cv_aix_libpath_"; then
   8922     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8923   fi
   8924 fi
   8925 rm -f core conftest.err conftest.$ac_objext \
   8926     conftest$ac_exeext conftest.$ac_ext
   8927   if test -z "$lt_cv_aix_libpath_"; then
   8928     lt_cv_aix_libpath_="/usr/lib:/lib"
   8929   fi
   8930 
   8931 fi
   8932 
   8933   aix_libpath=$lt_cv_aix_libpath_
   8934 fi
   8935 
   8936         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8937         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"
   8938       else
   8939 	if test "$host_cpu" = ia64; then
   8940 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8941 	  allow_undefined_flag="-z nodefs"
   8942 	  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"
   8943 	else
   8944 	 # Determine the default libpath from the value encoded in an
   8945 	 # empty executable.
   8946 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8947   aix_libpath=$lt_cv_aix_libpath
   8948 else
   8949   if ${lt_cv_aix_libpath_+:} false; then :
   8950   $as_echo_n "(cached) " >&6
   8951 else
   8952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8953 /* end confdefs.h.  */
   8954 
   8955 int
   8956 main ()
   8957 {
   8958 
   8959   ;
   8960   return 0;
   8961 }
   8962 _ACEOF
   8963 if ac_fn_c_try_link "$LINENO"; then :
   8964 
   8965   lt_aix_libpath_sed='
   8966       /Import File Strings/,/^$/ {
   8967 	  /^0/ {
   8968 	      s/^0  *\([^ ]*\) *$/\1/
   8969 	      p
   8970 	  }
   8971       }'
   8972   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8973   # Check for a 64-bit object if we didn't find anything.
   8974   if test -z "$lt_cv_aix_libpath_"; then
   8975     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8976   fi
   8977 fi
   8978 rm -f core conftest.err conftest.$ac_objext \
   8979     conftest$ac_exeext conftest.$ac_ext
   8980   if test -z "$lt_cv_aix_libpath_"; then
   8981     lt_cv_aix_libpath_="/usr/lib:/lib"
   8982   fi
   8983 
   8984 fi
   8985 
   8986   aix_libpath=$lt_cv_aix_libpath_
   8987 fi
   8988 
   8989 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8990 	  # Warning - without using the other run time loading flags,
   8991 	  # -berok will link without error, but may produce a broken library.
   8992 	  no_undefined_flag=' ${wl}-bernotok'
   8993 	  allow_undefined_flag=' ${wl}-berok'
   8994 	  if test "$with_gnu_ld" = yes; then
   8995 	    # We only use this code for GNU lds that support --whole-archive.
   8996 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8997 	  else
   8998 	    # Exported symbols can be pulled into shared objects from archives
   8999 	    whole_archive_flag_spec='$convenience'
   9000 	  fi
   9001 	  archive_cmds_need_lc=yes
   9002 	  # This is similar to how AIX traditionally builds its shared libraries.
   9003 	  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'
   9004 	fi
   9005       fi
   9006       ;;
   9007 
   9008     amigaos*)
   9009       case $host_cpu in
   9010       powerpc)
   9011             # see comment about AmigaOS4 .so support
   9012             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9013             archive_expsym_cmds=''
   9014         ;;
   9015       m68k)
   9016             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)'
   9017             hardcode_libdir_flag_spec='-L$libdir'
   9018             hardcode_minus_L=yes
   9019         ;;
   9020       esac
   9021       ;;
   9022 
   9023     bsdi[45]*)
   9024       export_dynamic_flag_spec=-rdynamic
   9025       ;;
   9026 
   9027     cygwin* | mingw* | pw32* | cegcc*)
   9028       # When not using gcc, we currently assume that we are using
   9029       # Microsoft Visual C++.
   9030       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9031       # no search path for DLLs.
   9032       case $cc_basename in
   9033       cl*)
   9034 	# Native MSVC
   9035 	hardcode_libdir_flag_spec=' '
   9036 	allow_undefined_flag=unsupported
   9037 	always_export_symbols=yes
   9038 	file_list_spec='@'
   9039 	# Tell ltmain to make .lib files, not .a files.
   9040 	libext=lib
   9041 	# Tell ltmain to make .dll files, not .so files.
   9042 	shrext_cmds=".dll"
   9043 	# FIXME: Setting linknames here is a bad hack.
   9044 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9045 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9046 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9047 	  else
   9048 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9049 	  fi~
   9050 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9051 	  linknames='
   9052 	# The linker will not automatically build a static lib if we build a DLL.
   9053 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9054 	enable_shared_with_static_runtimes=yes
   9055 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9056 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9057 	# Don't use ranlib
   9058 	old_postinstall_cmds='chmod 644 $oldlib'
   9059 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9060 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9061 	  case $lt_outputfile in
   9062 	    *.exe|*.EXE) ;;
   9063 	    *)
   9064 	      lt_outputfile="$lt_outputfile.exe"
   9065 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9066 	      ;;
   9067 	  esac~
   9068 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9069 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9070 	    $RM "$lt_outputfile.manifest";
   9071 	  fi'
   9072 	;;
   9073       *)
   9074 	# Assume MSVC wrapper
   9075 	hardcode_libdir_flag_spec=' '
   9076 	allow_undefined_flag=unsupported
   9077 	# Tell ltmain to make .lib files, not .a files.
   9078 	libext=lib
   9079 	# Tell ltmain to make .dll files, not .so files.
   9080 	shrext_cmds=".dll"
   9081 	# FIXME: Setting linknames here is a bad hack.
   9082 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9083 	# The linker will automatically build a .lib file if we build a DLL.
   9084 	old_archive_from_new_cmds='true'
   9085 	# FIXME: Should let the user specify the lib program.
   9086 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9087 	enable_shared_with_static_runtimes=yes
   9088 	;;
   9089       esac
   9090       ;;
   9091 
   9092     darwin* | rhapsody*)
   9093 
   9094 
   9095   archive_cmds_need_lc=no
   9096   hardcode_direct=no
   9097   hardcode_automatic=yes
   9098   hardcode_shlibpath_var=unsupported
   9099   if test "$lt_cv_ld_force_load" = "yes"; then
   9100     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\"`'
   9101 
   9102   else
   9103     whole_archive_flag_spec=''
   9104   fi
   9105   link_all_deplibs=yes
   9106   allow_undefined_flag="$_lt_dar_allow_undefined"
   9107   case $cc_basename in
   9108      ifort*) _lt_dar_can_shared=yes ;;
   9109      *) _lt_dar_can_shared=$GCC ;;
   9110   esac
   9111   if test "$_lt_dar_can_shared" = "yes"; then
   9112     output_verbose_link_cmd=func_echo_all
   9113     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9114     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9115     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}"
   9116     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}"
   9117 
   9118   else
   9119   ld_shlibs=no
   9120   fi
   9121 
   9122       ;;
   9123 
   9124     dgux*)
   9125       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9126       hardcode_libdir_flag_spec='-L$libdir'
   9127       hardcode_shlibpath_var=no
   9128       ;;
   9129 
   9130     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9131     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9132     # does not break anything, and helps significantly (at the cost of a little
   9133     # extra space).
   9134     freebsd2.2*)
   9135       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9136       hardcode_libdir_flag_spec='-R$libdir'
   9137       hardcode_direct=yes
   9138       hardcode_shlibpath_var=no
   9139       ;;
   9140 
   9141     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9142     freebsd2.*)
   9143       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9144       hardcode_direct=yes
   9145       hardcode_minus_L=yes
   9146       hardcode_shlibpath_var=no
   9147       ;;
   9148 
   9149     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9150     freebsd* | dragonfly*)
   9151       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9152       hardcode_libdir_flag_spec='-R$libdir'
   9153       hardcode_direct=yes
   9154       hardcode_shlibpath_var=no
   9155       ;;
   9156 
   9157     hpux9*)
   9158       if test "$GCC" = yes; then
   9159 	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'
   9160       else
   9161 	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'
   9162       fi
   9163       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9164       hardcode_libdir_separator=:
   9165       hardcode_direct=yes
   9166 
   9167       # hardcode_minus_L: Not really in the search PATH,
   9168       # but as the default location of the library.
   9169       hardcode_minus_L=yes
   9170       export_dynamic_flag_spec='${wl}-E'
   9171       ;;
   9172 
   9173     hpux10*)
   9174       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9175 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9176       else
   9177 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9178       fi
   9179       if test "$with_gnu_ld" = no; then
   9180 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9181 	hardcode_libdir_separator=:
   9182 	hardcode_direct=yes
   9183 	hardcode_direct_absolute=yes
   9184 	export_dynamic_flag_spec='${wl}-E'
   9185 	# hardcode_minus_L: Not really in the search PATH,
   9186 	# but as the default location of the library.
   9187 	hardcode_minus_L=yes
   9188       fi
   9189       ;;
   9190 
   9191     hpux11*)
   9192       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9193 	case $host_cpu in
   9194 	hppa*64*)
   9195 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9196 	  ;;
   9197 	ia64*)
   9198 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9199 	  ;;
   9200 	*)
   9201 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9202 	  ;;
   9203 	esac
   9204       else
   9205 	case $host_cpu in
   9206 	hppa*64*)
   9207 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9208 	  ;;
   9209 	ia64*)
   9210 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9211 	  ;;
   9212 	*)
   9213 
   9214 	  # Older versions of the 11.00 compiler do not understand -b yet
   9215 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9217 $as_echo_n "checking if $CC understands -b... " >&6; }
   9218 if ${lt_cv_prog_compiler__b+:} false; then :
   9219   $as_echo_n "(cached) " >&6
   9220 else
   9221   lt_cv_prog_compiler__b=no
   9222    save_LDFLAGS="$LDFLAGS"
   9223    LDFLAGS="$LDFLAGS -b"
   9224    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9225    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9226      # The linker can only warn and ignore the option if not recognized
   9227      # So say no if there are warnings
   9228      if test -s conftest.err; then
   9229        # Append any errors to the config.log.
   9230        cat conftest.err 1>&5
   9231        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9232        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9233        if diff conftest.exp conftest.er2 >/dev/null; then
   9234          lt_cv_prog_compiler__b=yes
   9235        fi
   9236      else
   9237        lt_cv_prog_compiler__b=yes
   9238      fi
   9239    fi
   9240    $RM -r conftest*
   9241    LDFLAGS="$save_LDFLAGS"
   9242 
   9243 fi
   9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9245 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9246 
   9247 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9248     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9249 else
   9250     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9251 fi
   9252 
   9253 	  ;;
   9254 	esac
   9255       fi
   9256       if test "$with_gnu_ld" = no; then
   9257 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9258 	hardcode_libdir_separator=:
   9259 
   9260 	case $host_cpu in
   9261 	hppa*64*|ia64*)
   9262 	  hardcode_direct=no
   9263 	  hardcode_shlibpath_var=no
   9264 	  ;;
   9265 	*)
   9266 	  hardcode_direct=yes
   9267 	  hardcode_direct_absolute=yes
   9268 	  export_dynamic_flag_spec='${wl}-E'
   9269 
   9270 	  # hardcode_minus_L: Not really in the search PATH,
   9271 	  # but as the default location of the library.
   9272 	  hardcode_minus_L=yes
   9273 	  ;;
   9274 	esac
   9275       fi
   9276       ;;
   9277 
   9278     irix5* | irix6* | nonstopux*)
   9279       if test "$GCC" = yes; then
   9280 	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'
   9281 	# Try to use the -exported_symbol ld option, if it does not
   9282 	# work, assume that -exports_file does not work either and
   9283 	# implicitly export all symbols.
   9284 	# This should be the same for all languages, so no per-tag cache variable.
   9285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9286 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9287 if ${lt_cv_irix_exported_symbol+:} false; then :
   9288   $as_echo_n "(cached) " >&6
   9289 else
   9290   save_LDFLAGS="$LDFLAGS"
   9291 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9292 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9293 /* end confdefs.h.  */
   9294 int foo (void) { return 0; }
   9295 _ACEOF
   9296 if ac_fn_c_try_link "$LINENO"; then :
   9297   lt_cv_irix_exported_symbol=yes
   9298 else
   9299   lt_cv_irix_exported_symbol=no
   9300 fi
   9301 rm -f core conftest.err conftest.$ac_objext \
   9302     conftest$ac_exeext conftest.$ac_ext
   9303            LDFLAGS="$save_LDFLAGS"
   9304 fi
   9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9306 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9307 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9308           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'
   9309 	fi
   9310       else
   9311 	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'
   9312 	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'
   9313       fi
   9314       archive_cmds_need_lc='no'
   9315       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9316       hardcode_libdir_separator=:
   9317       inherit_rpath=yes
   9318       link_all_deplibs=yes
   9319       ;;
   9320 
   9321     netbsd*)
   9322       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9323 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9324       else
   9325 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9326       fi
   9327       hardcode_libdir_flag_spec='-R$libdir'
   9328       hardcode_direct=yes
   9329       hardcode_shlibpath_var=no
   9330       ;;
   9331 
   9332     newsos6)
   9333       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9334       hardcode_direct=yes
   9335       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9336       hardcode_libdir_separator=:
   9337       hardcode_shlibpath_var=no
   9338       ;;
   9339 
   9340     *nto* | *qnx*)
   9341       ;;
   9342 
   9343     openbsd*)
   9344       if test -f /usr/libexec/ld.so; then
   9345 	hardcode_direct=yes
   9346 	hardcode_shlibpath_var=no
   9347 	hardcode_direct_absolute=yes
   9348 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9349 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9350 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9351 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9352 	  export_dynamic_flag_spec='${wl}-E'
   9353 	else
   9354 	  case $host_os in
   9355 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9356 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9357 	     hardcode_libdir_flag_spec='-R$libdir'
   9358 	     ;;
   9359 	   *)
   9360 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9361 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9362 	     ;;
   9363 	  esac
   9364 	fi
   9365       else
   9366 	ld_shlibs=no
   9367       fi
   9368       ;;
   9369 
   9370     os2*)
   9371       hardcode_libdir_flag_spec='-L$libdir'
   9372       hardcode_minus_L=yes
   9373       allow_undefined_flag=unsupported
   9374       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'
   9375       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9376       ;;
   9377 
   9378     osf3*)
   9379       if test "$GCC" = yes; then
   9380 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9381 	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'
   9382       else
   9383 	allow_undefined_flag=' -expect_unresolved \*'
   9384 	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'
   9385       fi
   9386       archive_cmds_need_lc='no'
   9387       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9388       hardcode_libdir_separator=:
   9389       ;;
   9390 
   9391     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9392       if test "$GCC" = yes; then
   9393 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9394 	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'
   9395 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9396       else
   9397 	allow_undefined_flag=' -expect_unresolved \*'
   9398 	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'
   9399 	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~
   9400 	$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'
   9401 
   9402 	# Both c and cxx compiler support -rpath directly
   9403 	hardcode_libdir_flag_spec='-rpath $libdir'
   9404       fi
   9405       archive_cmds_need_lc='no'
   9406       hardcode_libdir_separator=:
   9407       ;;
   9408 
   9409     solaris*)
   9410       no_undefined_flag=' -z defs'
   9411       if test "$GCC" = yes; then
   9412 	wlarc='${wl}'
   9413 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9414 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9415 	  $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'
   9416       else
   9417 	case `$CC -V 2>&1` in
   9418 	*"Compilers 5.0"*)
   9419 	  wlarc=''
   9420 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9421 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9422 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9423 	  ;;
   9424 	*)
   9425 	  wlarc='${wl}'
   9426 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9427 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9428 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9429 	  ;;
   9430 	esac
   9431       fi
   9432       hardcode_libdir_flag_spec='-R$libdir'
   9433       hardcode_shlibpath_var=no
   9434       case $host_os in
   9435       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9436       *)
   9437 	# The compiler driver will combine and reorder linker options,
   9438 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9439 	# but is careful enough not to reorder.
   9440 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9441 	if test "$GCC" = yes; then
   9442 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9443 	else
   9444 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9445 	fi
   9446 	;;
   9447       esac
   9448       link_all_deplibs=yes
   9449       ;;
   9450 
   9451     sunos4*)
   9452       if test "x$host_vendor" = xsequent; then
   9453 	# Use $CC to link under sequent, because it throws in some extra .o
   9454 	# files that make .init and .fini sections work.
   9455 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9456       else
   9457 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9458       fi
   9459       hardcode_libdir_flag_spec='-L$libdir'
   9460       hardcode_direct=yes
   9461       hardcode_minus_L=yes
   9462       hardcode_shlibpath_var=no
   9463       ;;
   9464 
   9465     sysv4)
   9466       case $host_vendor in
   9467 	sni)
   9468 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9469 	  hardcode_direct=yes # is this really true???
   9470 	;;
   9471 	siemens)
   9472 	  ## LD is ld it makes a PLAMLIB
   9473 	  ## CC just makes a GrossModule.
   9474 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9475 	  reload_cmds='$CC -r -o $output$reload_objs'
   9476 	  hardcode_direct=no
   9477         ;;
   9478 	motorola)
   9479 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9480 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9481 	;;
   9482       esac
   9483       runpath_var='LD_RUN_PATH'
   9484       hardcode_shlibpath_var=no
   9485       ;;
   9486 
   9487     sysv4.3*)
   9488       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9489       hardcode_shlibpath_var=no
   9490       export_dynamic_flag_spec='-Bexport'
   9491       ;;
   9492 
   9493     sysv4*MP*)
   9494       if test -d /usr/nec; then
   9495 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9496 	hardcode_shlibpath_var=no
   9497 	runpath_var=LD_RUN_PATH
   9498 	hardcode_runpath_var=yes
   9499 	ld_shlibs=yes
   9500       fi
   9501       ;;
   9502 
   9503     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9504       no_undefined_flag='${wl}-z,text'
   9505       archive_cmds_need_lc=no
   9506       hardcode_shlibpath_var=no
   9507       runpath_var='LD_RUN_PATH'
   9508 
   9509       if test "$GCC" = yes; then
   9510 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9511 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9512       else
   9513 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9514 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9515       fi
   9516       ;;
   9517 
   9518     sysv5* | sco3.2v5* | sco5v6*)
   9519       # Note: We can NOT use -z defs as we might desire, because we do not
   9520       # link with -lc, and that would cause any symbols used from libc to
   9521       # always be unresolved, which means just about no library would
   9522       # ever link correctly.  If we're not using GNU ld we use -z text
   9523       # though, which does catch some bad symbols but isn't as heavy-handed
   9524       # as -z defs.
   9525       no_undefined_flag='${wl}-z,text'
   9526       allow_undefined_flag='${wl}-z,nodefs'
   9527       archive_cmds_need_lc=no
   9528       hardcode_shlibpath_var=no
   9529       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9530       hardcode_libdir_separator=':'
   9531       link_all_deplibs=yes
   9532       export_dynamic_flag_spec='${wl}-Bexport'
   9533       runpath_var='LD_RUN_PATH'
   9534 
   9535       if test "$GCC" = yes; then
   9536 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9537 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9538       else
   9539 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9540 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9541       fi
   9542       ;;
   9543 
   9544     uts4*)
   9545       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9546       hardcode_libdir_flag_spec='-L$libdir'
   9547       hardcode_shlibpath_var=no
   9548       ;;
   9549 
   9550     *)
   9551       ld_shlibs=no
   9552       ;;
   9553     esac
   9554 
   9555     if test x$host_vendor = xsni; then
   9556       case $host in
   9557       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9558 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9559 	;;
   9560       esac
   9561     fi
   9562   fi
   9563 
   9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9565 $as_echo "$ld_shlibs" >&6; }
   9566 test "$ld_shlibs" = no && can_build_shared=no
   9567 
   9568 with_gnu_ld=$with_gnu_ld
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 #
   9585 # Do we need to explicitly link libc?
   9586 #
   9587 case "x$archive_cmds_need_lc" in
   9588 x|xyes)
   9589   # Assume -lc should be added
   9590   archive_cmds_need_lc=yes
   9591 
   9592   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9593     case $archive_cmds in
   9594     *'~'*)
   9595       # FIXME: we may have to deal with multi-command sequences.
   9596       ;;
   9597     '$CC '*)
   9598       # Test whether the compiler implicitly links with -lc since on some
   9599       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9600       # to ld, don't add -lc before -lgcc.
   9601       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9602 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9603 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9604   $as_echo_n "(cached) " >&6
   9605 else
   9606   $RM conftest*
   9607 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9608 
   9609 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9610   (eval $ac_compile) 2>&5
   9611   ac_status=$?
   9612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9613   test $ac_status = 0; } 2>conftest.err; then
   9614 	  soname=conftest
   9615 	  lib=conftest
   9616 	  libobjs=conftest.$ac_objext
   9617 	  deplibs=
   9618 	  wl=$lt_prog_compiler_wl
   9619 	  pic_flag=$lt_prog_compiler_pic
   9620 	  compiler_flags=-v
   9621 	  linker_flags=-v
   9622 	  verstring=
   9623 	  output_objdir=.
   9624 	  libname=conftest
   9625 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9626 	  allow_undefined_flag=
   9627 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9628   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9629   ac_status=$?
   9630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9631   test $ac_status = 0; }
   9632 	  then
   9633 	    lt_cv_archive_cmds_need_lc=no
   9634 	  else
   9635 	    lt_cv_archive_cmds_need_lc=yes
   9636 	  fi
   9637 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9638 	else
   9639 	  cat conftest.err 1>&5
   9640 	fi
   9641 	$RM conftest*
   9642 
   9643 fi
   9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9645 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9646       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9647       ;;
   9648     esac
   9649   fi
   9650   ;;
   9651 esac
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9805 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9806 
   9807 if test "$GCC" = yes; then
   9808   case $host_os in
   9809     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9810     *) lt_awk_arg="/^libraries:/" ;;
   9811   esac
   9812   case $host_os in
   9813     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9814     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9815   esac
   9816   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9817   case $lt_search_path_spec in
   9818   *\;*)
   9819     # if the path contains ";" then we assume it to be the separator
   9820     # otherwise default to the standard path separator (i.e. ":") - it is
   9821     # assumed that no part of a normal pathname contains ";" but that should
   9822     # okay in the real world where ";" in dirpaths is itself problematic.
   9823     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9824     ;;
   9825   *)
   9826     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9827     ;;
   9828   esac
   9829   # Ok, now we have the path, separated by spaces, we can step through it
   9830   # and add multilib dir if necessary.
   9831   lt_tmp_lt_search_path_spec=
   9832   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9833   for lt_sys_path in $lt_search_path_spec; do
   9834     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9835       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9836     else
   9837       test -d "$lt_sys_path" && \
   9838 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9839     fi
   9840   done
   9841   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9842 BEGIN {RS=" "; FS="/|\n";} {
   9843   lt_foo="";
   9844   lt_count=0;
   9845   for (lt_i = NF; lt_i > 0; lt_i--) {
   9846     if ($lt_i != "" && $lt_i != ".") {
   9847       if ($lt_i == "..") {
   9848         lt_count++;
   9849       } else {
   9850         if (lt_count == 0) {
   9851           lt_foo="/" $lt_i lt_foo;
   9852         } else {
   9853           lt_count--;
   9854         }
   9855       }
   9856     }
   9857   }
   9858   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9859   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9860 }'`
   9861   # AWK program above erroneously prepends '/' to C:/dos/paths
   9862   # for these hosts.
   9863   case $host_os in
   9864     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9865       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9866   esac
   9867   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9868 else
   9869   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9870 fi
   9871 library_names_spec=
   9872 libname_spec='lib$name'
   9873 soname_spec=
   9874 shrext_cmds=".so"
   9875 postinstall_cmds=
   9876 postuninstall_cmds=
   9877 finish_cmds=
   9878 finish_eval=
   9879 shlibpath_var=
   9880 shlibpath_overrides_runpath=unknown
   9881 version_type=none
   9882 dynamic_linker="$host_os ld.so"
   9883 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9884 need_lib_prefix=unknown
   9885 hardcode_into_libs=no
   9886 
   9887 # when you set need_version to no, make sure it does not cause -set_version
   9888 # flags to be left without arguments
   9889 need_version=unknown
   9890 
   9891 case $host_os in
   9892 aix3*)
   9893   version_type=linux # correct to gnu/linux during the next big refactor
   9894   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9895   shlibpath_var=LIBPATH
   9896 
   9897   # AIX 3 has no versioning support, so we append a major version to the name.
   9898   soname_spec='${libname}${release}${shared_ext}$major'
   9899   ;;
   9900 
   9901 aix[4-9]*)
   9902   version_type=linux # correct to gnu/linux during the next big refactor
   9903   need_lib_prefix=no
   9904   need_version=no
   9905   hardcode_into_libs=yes
   9906   if test "$host_cpu" = ia64; then
   9907     # AIX 5 supports IA64
   9908     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9909     shlibpath_var=LD_LIBRARY_PATH
   9910   else
   9911     # With GCC up to 2.95.x, collect2 would create an import file
   9912     # for dependence libraries.  The import file would start with
   9913     # the line `#! .'.  This would cause the generated library to
   9914     # depend on `.', always an invalid library.  This was fixed in
   9915     # development snapshots of GCC prior to 3.0.
   9916     case $host_os in
   9917       aix4 | aix4.[01] | aix4.[01].*)
   9918       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9919 	   echo ' yes '
   9920 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9921 	:
   9922       else
   9923 	can_build_shared=no
   9924       fi
   9925       ;;
   9926     esac
   9927     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9928     # soname into executable. Probably we can add versioning support to
   9929     # collect2, so additional links can be useful in future.
   9930     if test "$aix_use_runtimelinking" = yes; then
   9931       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9932       # instead of lib<name>.a to let people know that these are not
   9933       # typical AIX shared libraries.
   9934       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9935     else
   9936       # We preserve .a as extension for shared libraries through AIX4.2
   9937       # and later when we are not doing run time linking.
   9938       library_names_spec='${libname}${release}.a $libname.a'
   9939       soname_spec='${libname}${release}${shared_ext}$major'
   9940     fi
   9941     shlibpath_var=LIBPATH
   9942   fi
   9943   ;;
   9944 
   9945 amigaos*)
   9946   case $host_cpu in
   9947   powerpc)
   9948     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9949     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9950     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9951     ;;
   9952   m68k)
   9953     library_names_spec='$libname.ixlibrary $libname.a'
   9954     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9955     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'
   9956     ;;
   9957   esac
   9958   ;;
   9959 
   9960 beos*)
   9961   library_names_spec='${libname}${shared_ext}'
   9962   dynamic_linker="$host_os ld.so"
   9963   shlibpath_var=LIBRARY_PATH
   9964   ;;
   9965 
   9966 bsdi[45]*)
   9967   version_type=linux # correct to gnu/linux during the next big refactor
   9968   need_version=no
   9969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9970   soname_spec='${libname}${release}${shared_ext}$major'
   9971   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9972   shlibpath_var=LD_LIBRARY_PATH
   9973   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9974   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9975   # the default ld.so.conf also contains /usr/contrib/lib and
   9976   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9977   # libtool to hard-code these into programs
   9978   ;;
   9979 
   9980 cygwin* | mingw* | pw32* | cegcc*)
   9981   version_type=windows
   9982   shrext_cmds=".dll"
   9983   need_version=no
   9984   need_lib_prefix=no
   9985 
   9986   case $GCC,$cc_basename in
   9987   yes,*)
   9988     # gcc
   9989     library_names_spec='$libname.dll.a'
   9990     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9991     postinstall_cmds='base_file=`basename \${file}`~
   9992       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9993       dldir=$destdir/`dirname \$dlpath`~
   9994       test -d \$dldir || mkdir -p \$dldir~
   9995       $install_prog $dir/$dlname \$dldir/$dlname~
   9996       chmod a+x \$dldir/$dlname~
   9997       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9998         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9999       fi'
   10000     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10001       dlpath=$dir/\$dldll~
   10002        $RM \$dlpath'
   10003     shlibpath_overrides_runpath=yes
   10004 
   10005     case $host_os in
   10006     cygwin*)
   10007       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10008       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10009 
   10010       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10011       ;;
   10012     mingw* | cegcc*)
   10013       # MinGW DLLs use traditional 'lib' prefix
   10014       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10015       ;;
   10016     pw32*)
   10017       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10018       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10019       ;;
   10020     esac
   10021     dynamic_linker='Win32 ld.exe'
   10022     ;;
   10023 
   10024   *,cl*)
   10025     # Native MSVC
   10026     libname_spec='$name'
   10027     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10028     library_names_spec='${libname}.dll.lib'
   10029 
   10030     case $build_os in
   10031     mingw*)
   10032       sys_lib_search_path_spec=
   10033       lt_save_ifs=$IFS
   10034       IFS=';'
   10035       for lt_path in $LIB
   10036       do
   10037         IFS=$lt_save_ifs
   10038         # Let DOS variable expansion print the short 8.3 style file name.
   10039         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10040         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10041       done
   10042       IFS=$lt_save_ifs
   10043       # Convert to MSYS style.
   10044       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10045       ;;
   10046     cygwin*)
   10047       # Convert to unix form, then to dos form, then back to unix form
   10048       # but this time dos style (no spaces!) so that the unix form looks
   10049       # like /cygdrive/c/PROGRA~1:/cygdr...
   10050       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10051       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10052       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10053       ;;
   10054     *)
   10055       sys_lib_search_path_spec="$LIB"
   10056       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10057         # It is most probably a Windows format PATH.
   10058         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10059       else
   10060         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10061       fi
   10062       # FIXME: find the short name or the path components, as spaces are
   10063       # common. (e.g. "Program Files" -> "PROGRA~1")
   10064       ;;
   10065     esac
   10066 
   10067     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10068     postinstall_cmds='base_file=`basename \${file}`~
   10069       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10070       dldir=$destdir/`dirname \$dlpath`~
   10071       test -d \$dldir || mkdir -p \$dldir~
   10072       $install_prog $dir/$dlname \$dldir/$dlname'
   10073     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10074       dlpath=$dir/\$dldll~
   10075        $RM \$dlpath'
   10076     shlibpath_overrides_runpath=yes
   10077     dynamic_linker='Win32 link.exe'
   10078     ;;
   10079 
   10080   *)
   10081     # Assume MSVC wrapper
   10082     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10083     dynamic_linker='Win32 ld.exe'
   10084     ;;
   10085   esac
   10086   # FIXME: first we should search . and the directory the executable is in
   10087   shlibpath_var=PATH
   10088   ;;
   10089 
   10090 darwin* | rhapsody*)
   10091   dynamic_linker="$host_os dyld"
   10092   version_type=darwin
   10093   need_lib_prefix=no
   10094   need_version=no
   10095   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10096   soname_spec='${libname}${release}${major}$shared_ext'
   10097   shlibpath_overrides_runpath=yes
   10098   shlibpath_var=DYLD_LIBRARY_PATH
   10099   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10100 
   10101   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10102   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10103   ;;
   10104 
   10105 dgux*)
   10106   version_type=linux # correct to gnu/linux during the next big refactor
   10107   need_lib_prefix=no
   10108   need_version=no
   10109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10110   soname_spec='${libname}${release}${shared_ext}$major'
   10111   shlibpath_var=LD_LIBRARY_PATH
   10112   ;;
   10113 
   10114 freebsd* | dragonfly*)
   10115   # DragonFly does not have aout.  When/if they implement a new
   10116   # versioning mechanism, adjust this.
   10117   if test -x /usr/bin/objformat; then
   10118     objformat=`/usr/bin/objformat`
   10119   else
   10120     case $host_os in
   10121     freebsd[23].*) objformat=aout ;;
   10122     *) objformat=elf ;;
   10123     esac
   10124   fi
   10125   version_type=freebsd-$objformat
   10126   case $version_type in
   10127     freebsd-elf*)
   10128       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10129       need_version=no
   10130       need_lib_prefix=no
   10131       ;;
   10132     freebsd-*)
   10133       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10134       need_version=yes
   10135       ;;
   10136   esac
   10137   shlibpath_var=LD_LIBRARY_PATH
   10138   case $host_os in
   10139   freebsd2.*)
   10140     shlibpath_overrides_runpath=yes
   10141     ;;
   10142   freebsd3.[01]* | freebsdelf3.[01]*)
   10143     shlibpath_overrides_runpath=yes
   10144     hardcode_into_libs=yes
   10145     ;;
   10146   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10147   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10148     shlibpath_overrides_runpath=no
   10149     hardcode_into_libs=yes
   10150     ;;
   10151   *) # from 4.6 on, and DragonFly
   10152     shlibpath_overrides_runpath=yes
   10153     hardcode_into_libs=yes
   10154     ;;
   10155   esac
   10156   ;;
   10157 
   10158 gnu*)
   10159   version_type=linux # correct to gnu/linux during the next big refactor
   10160   need_lib_prefix=no
   10161   need_version=no
   10162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10163   soname_spec='${libname}${release}${shared_ext}$major'
   10164   shlibpath_var=LD_LIBRARY_PATH
   10165   shlibpath_overrides_runpath=no
   10166   hardcode_into_libs=yes
   10167   ;;
   10168 
   10169 haiku*)
   10170   version_type=linux # correct to gnu/linux during the next big refactor
   10171   need_lib_prefix=no
   10172   need_version=no
   10173   dynamic_linker="$host_os runtime_loader"
   10174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10175   soname_spec='${libname}${release}${shared_ext}$major'
   10176   shlibpath_var=LIBRARY_PATH
   10177   shlibpath_overrides_runpath=yes
   10178   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10179   hardcode_into_libs=yes
   10180   ;;
   10181 
   10182 hpux9* | hpux10* | hpux11*)
   10183   # Give a soname corresponding to the major version so that dld.sl refuses to
   10184   # link against other versions.
   10185   version_type=sunos
   10186   need_lib_prefix=no
   10187   need_version=no
   10188   case $host_cpu in
   10189   ia64*)
   10190     shrext_cmds='.so'
   10191     hardcode_into_libs=yes
   10192     dynamic_linker="$host_os dld.so"
   10193     shlibpath_var=LD_LIBRARY_PATH
   10194     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10195     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10196     soname_spec='${libname}${release}${shared_ext}$major'
   10197     if test "X$HPUX_IA64_MODE" = X32; then
   10198       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10199     else
   10200       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10201     fi
   10202     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10203     ;;
   10204   hppa*64*)
   10205     shrext_cmds='.sl'
   10206     hardcode_into_libs=yes
   10207     dynamic_linker="$host_os dld.sl"
   10208     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10209     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10211     soname_spec='${libname}${release}${shared_ext}$major'
   10212     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10213     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10214     ;;
   10215   *)
   10216     shrext_cmds='.sl'
   10217     dynamic_linker="$host_os dld.sl"
   10218     shlibpath_var=SHLIB_PATH
   10219     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10220     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10221     soname_spec='${libname}${release}${shared_ext}$major'
   10222     ;;
   10223   esac
   10224   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10225   postinstall_cmds='chmod 555 $lib'
   10226   # or fails outright, so override atomically:
   10227   install_override_mode=555
   10228   ;;
   10229 
   10230 interix[3-9]*)
   10231   version_type=linux # correct to gnu/linux during the next big refactor
   10232   need_lib_prefix=no
   10233   need_version=no
   10234   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10235   soname_spec='${libname}${release}${shared_ext}$major'
   10236   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10237   shlibpath_var=LD_LIBRARY_PATH
   10238   shlibpath_overrides_runpath=no
   10239   hardcode_into_libs=yes
   10240   ;;
   10241 
   10242 irix5* | irix6* | nonstopux*)
   10243   case $host_os in
   10244     nonstopux*) version_type=nonstopux ;;
   10245     *)
   10246 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10247 		version_type=linux # correct to gnu/linux during the next big refactor
   10248 	else
   10249 		version_type=irix
   10250 	fi ;;
   10251   esac
   10252   need_lib_prefix=no
   10253   need_version=no
   10254   soname_spec='${libname}${release}${shared_ext}$major'
   10255   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10256   case $host_os in
   10257   irix5* | nonstopux*)
   10258     libsuff= shlibsuff=
   10259     ;;
   10260   *)
   10261     case $LD in # libtool.m4 will add one of these switches to LD
   10262     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10263       libsuff= shlibsuff= libmagic=32-bit;;
   10264     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10265       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10266     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10267       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10268     *) libsuff= shlibsuff= libmagic=never-match;;
   10269     esac
   10270     ;;
   10271   esac
   10272   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10273   shlibpath_overrides_runpath=no
   10274   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10275   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10276   hardcode_into_libs=yes
   10277   ;;
   10278 
   10279 # No shared lib support for Linux oldld, aout, or coff.
   10280 linux*oldld* | linux*aout* | linux*coff*)
   10281   dynamic_linker=no
   10282   ;;
   10283 
   10284 # This must be glibc/ELF.
   10285 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10286   version_type=linux # correct to gnu/linux during the next big refactor
   10287   need_lib_prefix=no
   10288   need_version=no
   10289   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10290   soname_spec='${libname}${release}${shared_ext}$major'
   10291   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10292   shlibpath_var=LD_LIBRARY_PATH
   10293   shlibpath_overrides_runpath=no
   10294 
   10295   # Some binutils ld are patched to set DT_RUNPATH
   10296   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   lt_cv_shlibpath_overrides_runpath=no
   10300     save_LDFLAGS=$LDFLAGS
   10301     save_libdir=$libdir
   10302     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10303 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10304     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10305 /* end confdefs.h.  */
   10306 
   10307 int
   10308 main ()
   10309 {
   10310 
   10311   ;
   10312   return 0;
   10313 }
   10314 _ACEOF
   10315 if ac_fn_c_try_link "$LINENO"; then :
   10316   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10317   lt_cv_shlibpath_overrides_runpath=yes
   10318 fi
   10319 fi
   10320 rm -f core conftest.err conftest.$ac_objext \
   10321     conftest$ac_exeext conftest.$ac_ext
   10322     LDFLAGS=$save_LDFLAGS
   10323     libdir=$save_libdir
   10324 
   10325 fi
   10326 
   10327   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10328 
   10329   # This implies no fast_install, which is unacceptable.
   10330   # Some rework will be needed to allow for fast_install
   10331   # before this can be enabled.
   10332   hardcode_into_libs=yes
   10333 
   10334   # Append ld.so.conf contents to the search path
   10335   if test -f /etc/ld.so.conf; then
   10336     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' ' '`
   10337     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10338   fi
   10339 
   10340   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10341   # powerpc, because MkLinux only supported shared libraries with the
   10342   # GNU dynamic linker.  Since this was broken with cross compilers,
   10343   # most powerpc-linux boxes support dynamic linking these days and
   10344   # people can always --disable-shared, the test was removed, and we
   10345   # assume the GNU/Linux dynamic linker is in use.
   10346   dynamic_linker='GNU/Linux ld.so'
   10347   ;;
   10348 
   10349 netbsd*)
   10350   version_type=sunos
   10351   need_lib_prefix=no
   10352   need_version=no
   10353   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10354     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10355     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10356     dynamic_linker='NetBSD (a.out) ld.so'
   10357   else
   10358     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10359     soname_spec='${libname}${release}${shared_ext}$major'
   10360     dynamic_linker='NetBSD ld.elf_so'
   10361   fi
   10362   shlibpath_var=LD_LIBRARY_PATH
   10363   shlibpath_overrides_runpath=yes
   10364   hardcode_into_libs=yes
   10365   ;;
   10366 
   10367 newsos6)
   10368   version_type=linux # correct to gnu/linux during the next big refactor
   10369   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10370   shlibpath_var=LD_LIBRARY_PATH
   10371   shlibpath_overrides_runpath=yes
   10372   ;;
   10373 
   10374 *nto* | *qnx*)
   10375   version_type=qnx
   10376   need_lib_prefix=no
   10377   need_version=no
   10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10379   soname_spec='${libname}${release}${shared_ext}$major'
   10380   shlibpath_var=LD_LIBRARY_PATH
   10381   shlibpath_overrides_runpath=no
   10382   hardcode_into_libs=yes
   10383   dynamic_linker='ldqnx.so'
   10384   ;;
   10385 
   10386 openbsd*)
   10387   version_type=sunos
   10388   sys_lib_dlsearch_path_spec="/usr/lib"
   10389   need_lib_prefix=no
   10390   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10391   case $host_os in
   10392     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10393     *)				need_version=no  ;;
   10394   esac
   10395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10396   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10397   shlibpath_var=LD_LIBRARY_PATH
   10398   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10399     case $host_os in
   10400       openbsd2.[89] | openbsd2.[89].*)
   10401 	shlibpath_overrides_runpath=no
   10402 	;;
   10403       *)
   10404 	shlibpath_overrides_runpath=yes
   10405 	;;
   10406       esac
   10407   else
   10408     shlibpath_overrides_runpath=yes
   10409   fi
   10410   ;;
   10411 
   10412 os2*)
   10413   libname_spec='$name'
   10414   shrext_cmds=".dll"
   10415   need_lib_prefix=no
   10416   library_names_spec='$libname${shared_ext} $libname.a'
   10417   dynamic_linker='OS/2 ld.exe'
   10418   shlibpath_var=LIBPATH
   10419   ;;
   10420 
   10421 osf3* | osf4* | osf5*)
   10422   version_type=osf
   10423   need_lib_prefix=no
   10424   need_version=no
   10425   soname_spec='${libname}${release}${shared_ext}$major'
   10426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10427   shlibpath_var=LD_LIBRARY_PATH
   10428   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10429   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10430   ;;
   10431 
   10432 rdos*)
   10433   dynamic_linker=no
   10434   ;;
   10435 
   10436 solaris*)
   10437   version_type=linux # correct to gnu/linux during the next big refactor
   10438   need_lib_prefix=no
   10439   need_version=no
   10440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10441   soname_spec='${libname}${release}${shared_ext}$major'
   10442   shlibpath_var=LD_LIBRARY_PATH
   10443   shlibpath_overrides_runpath=yes
   10444   hardcode_into_libs=yes
   10445   # ldd complains unless libraries are executable
   10446   postinstall_cmds='chmod +x $lib'
   10447   ;;
   10448 
   10449 sunos4*)
   10450   version_type=sunos
   10451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10452   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10453   shlibpath_var=LD_LIBRARY_PATH
   10454   shlibpath_overrides_runpath=yes
   10455   if test "$with_gnu_ld" = yes; then
   10456     need_lib_prefix=no
   10457   fi
   10458   need_version=yes
   10459   ;;
   10460 
   10461 sysv4 | sysv4.3*)
   10462   version_type=linux # correct to gnu/linux during the next big refactor
   10463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10464   soname_spec='${libname}${release}${shared_ext}$major'
   10465   shlibpath_var=LD_LIBRARY_PATH
   10466   case $host_vendor in
   10467     sni)
   10468       shlibpath_overrides_runpath=no
   10469       need_lib_prefix=no
   10470       runpath_var=LD_RUN_PATH
   10471       ;;
   10472     siemens)
   10473       need_lib_prefix=no
   10474       ;;
   10475     motorola)
   10476       need_lib_prefix=no
   10477       need_version=no
   10478       shlibpath_overrides_runpath=no
   10479       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10480       ;;
   10481   esac
   10482   ;;
   10483 
   10484 sysv4*MP*)
   10485   if test -d /usr/nec ;then
   10486     version_type=linux # correct to gnu/linux during the next big refactor
   10487     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10488     soname_spec='$libname${shared_ext}.$major'
   10489     shlibpath_var=LD_LIBRARY_PATH
   10490   fi
   10491   ;;
   10492 
   10493 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10494   version_type=freebsd-elf
   10495   need_lib_prefix=no
   10496   need_version=no
   10497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10498   soname_spec='${libname}${release}${shared_ext}$major'
   10499   shlibpath_var=LD_LIBRARY_PATH
   10500   shlibpath_overrides_runpath=yes
   10501   hardcode_into_libs=yes
   10502   if test "$with_gnu_ld" = yes; then
   10503     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10504   else
   10505     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10506     case $host_os in
   10507       sco3.2v5*)
   10508         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10509 	;;
   10510     esac
   10511   fi
   10512   sys_lib_dlsearch_path_spec='/usr/lib'
   10513   ;;
   10514 
   10515 tpf*)
   10516   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10517   version_type=linux # correct to gnu/linux during the next big refactor
   10518   need_lib_prefix=no
   10519   need_version=no
   10520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10521   shlibpath_var=LD_LIBRARY_PATH
   10522   shlibpath_overrides_runpath=no
   10523   hardcode_into_libs=yes
   10524   ;;
   10525 
   10526 uts4*)
   10527   version_type=linux # correct to gnu/linux during the next big refactor
   10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10529   soname_spec='${libname}${release}${shared_ext}$major'
   10530   shlibpath_var=LD_LIBRARY_PATH
   10531   ;;
   10532 
   10533 *)
   10534   dynamic_linker=no
   10535   ;;
   10536 esac
   10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10538 $as_echo "$dynamic_linker" >&6; }
   10539 test "$dynamic_linker" = no && can_build_shared=no
   10540 
   10541 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10542 if test "$GCC" = yes; then
   10543   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10544 fi
   10545 
   10546 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10547   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10548 fi
   10549 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10550   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10551 fi
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10645 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10646 hardcode_action=
   10647 if test -n "$hardcode_libdir_flag_spec" ||
   10648    test -n "$runpath_var" ||
   10649    test "X$hardcode_automatic" = "Xyes" ; then
   10650 
   10651   # We can hardcode non-existent directories.
   10652   if test "$hardcode_direct" != no &&
   10653      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10654      # have to relink, otherwise we might link with an installed library
   10655      # when we should be linking with a yet-to-be-installed one
   10656      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10657      test "$hardcode_minus_L" != no; then
   10658     # Linking always hardcodes the temporary library directory.
   10659     hardcode_action=relink
   10660   else
   10661     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10662     hardcode_action=immediate
   10663   fi
   10664 else
   10665   # We cannot hardcode anything, or else we can only hardcode existing
   10666   # directories.
   10667   hardcode_action=unsupported
   10668 fi
   10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10670 $as_echo "$hardcode_action" >&6; }
   10671 
   10672 if test "$hardcode_action" = relink ||
   10673    test "$inherit_rpath" = yes; then
   10674   # Fast installation is not supported
   10675   enable_fast_install=no
   10676 elif test "$shlibpath_overrides_runpath" = yes ||
   10677      test "$enable_shared" = no; then
   10678   # Fast installation is not necessary
   10679   enable_fast_install=needless
   10680 fi
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687   if test "x$enable_dlopen" != xyes; then
   10688   enable_dlopen=unknown
   10689   enable_dlopen_self=unknown
   10690   enable_dlopen_self_static=unknown
   10691 else
   10692   lt_cv_dlopen=no
   10693   lt_cv_dlopen_libs=
   10694 
   10695   case $host_os in
   10696   beos*)
   10697     lt_cv_dlopen="load_add_on"
   10698     lt_cv_dlopen_libs=
   10699     lt_cv_dlopen_self=yes
   10700     ;;
   10701 
   10702   mingw* | pw32* | cegcc*)
   10703     lt_cv_dlopen="LoadLibrary"
   10704     lt_cv_dlopen_libs=
   10705     ;;
   10706 
   10707   cygwin*)
   10708     lt_cv_dlopen="dlopen"
   10709     lt_cv_dlopen_libs=
   10710     ;;
   10711 
   10712   darwin*)
   10713   # if libdl is installed we need to link against it
   10714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10715 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10716 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10717   $as_echo_n "(cached) " >&6
   10718 else
   10719   ac_check_lib_save_LIBS=$LIBS
   10720 LIBS="-ldl  $LIBS"
   10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10722 /* end confdefs.h.  */
   10723 
   10724 /* Override any GCC internal prototype to avoid an error.
   10725    Use char because int might match the return type of a GCC
   10726    builtin and then its argument prototype would still apply.  */
   10727 #ifdef __cplusplus
   10728 extern "C"
   10729 #endif
   10730 char dlopen ();
   10731 int
   10732 main ()
   10733 {
   10734 return dlopen ();
   10735   ;
   10736   return 0;
   10737 }
   10738 _ACEOF
   10739 if ac_fn_c_try_link "$LINENO"; then :
   10740   ac_cv_lib_dl_dlopen=yes
   10741 else
   10742   ac_cv_lib_dl_dlopen=no
   10743 fi
   10744 rm -f core conftest.err conftest.$ac_objext \
   10745     conftest$ac_exeext conftest.$ac_ext
   10746 LIBS=$ac_check_lib_save_LIBS
   10747 fi
   10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10749 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10750 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10751   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10752 else
   10753 
   10754     lt_cv_dlopen="dyld"
   10755     lt_cv_dlopen_libs=
   10756     lt_cv_dlopen_self=yes
   10757 
   10758 fi
   10759 
   10760     ;;
   10761 
   10762   *)
   10763     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10764 if test "x$ac_cv_func_shl_load" = xyes; then :
   10765   lt_cv_dlopen="shl_load"
   10766 else
   10767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10768 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10769 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10770   $as_echo_n "(cached) " >&6
   10771 else
   10772   ac_check_lib_save_LIBS=$LIBS
   10773 LIBS="-ldld  $LIBS"
   10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10775 /* end confdefs.h.  */
   10776 
   10777 /* Override any GCC internal prototype to avoid an error.
   10778    Use char because int might match the return type of a GCC
   10779    builtin and then its argument prototype would still apply.  */
   10780 #ifdef __cplusplus
   10781 extern "C"
   10782 #endif
   10783 char shl_load ();
   10784 int
   10785 main ()
   10786 {
   10787 return shl_load ();
   10788   ;
   10789   return 0;
   10790 }
   10791 _ACEOF
   10792 if ac_fn_c_try_link "$LINENO"; then :
   10793   ac_cv_lib_dld_shl_load=yes
   10794 else
   10795   ac_cv_lib_dld_shl_load=no
   10796 fi
   10797 rm -f core conftest.err conftest.$ac_objext \
   10798     conftest$ac_exeext conftest.$ac_ext
   10799 LIBS=$ac_check_lib_save_LIBS
   10800 fi
   10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10802 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10803 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10804   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10805 else
   10806   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10807 if test "x$ac_cv_func_dlopen" = xyes; then :
   10808   lt_cv_dlopen="dlopen"
   10809 else
   10810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10811 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10812 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10813   $as_echo_n "(cached) " >&6
   10814 else
   10815   ac_check_lib_save_LIBS=$LIBS
   10816 LIBS="-ldl  $LIBS"
   10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10818 /* end confdefs.h.  */
   10819 
   10820 /* Override any GCC internal prototype to avoid an error.
   10821    Use char because int might match the return type of a GCC
   10822    builtin and then its argument prototype would still apply.  */
   10823 #ifdef __cplusplus
   10824 extern "C"
   10825 #endif
   10826 char dlopen ();
   10827 int
   10828 main ()
   10829 {
   10830 return dlopen ();
   10831   ;
   10832   return 0;
   10833 }
   10834 _ACEOF
   10835 if ac_fn_c_try_link "$LINENO"; then :
   10836   ac_cv_lib_dl_dlopen=yes
   10837 else
   10838   ac_cv_lib_dl_dlopen=no
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext \
   10841     conftest$ac_exeext conftest.$ac_ext
   10842 LIBS=$ac_check_lib_save_LIBS
   10843 fi
   10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10845 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10846 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10847   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10848 else
   10849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10850 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10851 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10852   $as_echo_n "(cached) " >&6
   10853 else
   10854   ac_check_lib_save_LIBS=$LIBS
   10855 LIBS="-lsvld  $LIBS"
   10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10857 /* end confdefs.h.  */
   10858 
   10859 /* Override any GCC internal prototype to avoid an error.
   10860    Use char because int might match the return type of a GCC
   10861    builtin and then its argument prototype would still apply.  */
   10862 #ifdef __cplusplus
   10863 extern "C"
   10864 #endif
   10865 char dlopen ();
   10866 int
   10867 main ()
   10868 {
   10869 return dlopen ();
   10870   ;
   10871   return 0;
   10872 }
   10873 _ACEOF
   10874 if ac_fn_c_try_link "$LINENO"; then :
   10875   ac_cv_lib_svld_dlopen=yes
   10876 else
   10877   ac_cv_lib_svld_dlopen=no
   10878 fi
   10879 rm -f core conftest.err conftest.$ac_objext \
   10880     conftest$ac_exeext conftest.$ac_ext
   10881 LIBS=$ac_check_lib_save_LIBS
   10882 fi
   10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10884 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10885 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10886   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10887 else
   10888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10889 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10890 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10891   $as_echo_n "(cached) " >&6
   10892 else
   10893   ac_check_lib_save_LIBS=$LIBS
   10894 LIBS="-ldld  $LIBS"
   10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10896 /* end confdefs.h.  */
   10897 
   10898 /* Override any GCC internal prototype to avoid an error.
   10899    Use char because int might match the return type of a GCC
   10900    builtin and then its argument prototype would still apply.  */
   10901 #ifdef __cplusplus
   10902 extern "C"
   10903 #endif
   10904 char dld_link ();
   10905 int
   10906 main ()
   10907 {
   10908 return dld_link ();
   10909   ;
   10910   return 0;
   10911 }
   10912 _ACEOF
   10913 if ac_fn_c_try_link "$LINENO"; then :
   10914   ac_cv_lib_dld_dld_link=yes
   10915 else
   10916   ac_cv_lib_dld_dld_link=no
   10917 fi
   10918 rm -f core conftest.err conftest.$ac_objext \
   10919     conftest$ac_exeext conftest.$ac_ext
   10920 LIBS=$ac_check_lib_save_LIBS
   10921 fi
   10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10923 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10924 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10925   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10926 fi
   10927 
   10928 
   10929 fi
   10930 
   10931 
   10932 fi
   10933 
   10934 
   10935 fi
   10936 
   10937 
   10938 fi
   10939 
   10940 
   10941 fi
   10942 
   10943     ;;
   10944   esac
   10945 
   10946   if test "x$lt_cv_dlopen" != xno; then
   10947     enable_dlopen=yes
   10948   else
   10949     enable_dlopen=no
   10950   fi
   10951 
   10952   case $lt_cv_dlopen in
   10953   dlopen)
   10954     save_CPPFLAGS="$CPPFLAGS"
   10955     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10956 
   10957     save_LDFLAGS="$LDFLAGS"
   10958     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10959 
   10960     save_LIBS="$LIBS"
   10961     LIBS="$lt_cv_dlopen_libs $LIBS"
   10962 
   10963     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10964 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10965 if ${lt_cv_dlopen_self+:} false; then :
   10966   $as_echo_n "(cached) " >&6
   10967 else
   10968   	  if test "$cross_compiling" = yes; then :
   10969   lt_cv_dlopen_self=cross
   10970 else
   10971   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10972   lt_status=$lt_dlunknown
   10973   cat > conftest.$ac_ext <<_LT_EOF
   10974 #line $LINENO "configure"
   10975 #include "confdefs.h"
   10976 
   10977 #if HAVE_DLFCN_H
   10978 #include <dlfcn.h>
   10979 #endif
   10980 
   10981 #include <stdio.h>
   10982 
   10983 #ifdef RTLD_GLOBAL
   10984 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10985 #else
   10986 #  ifdef DL_GLOBAL
   10987 #    define LT_DLGLOBAL		DL_GLOBAL
   10988 #  else
   10989 #    define LT_DLGLOBAL		0
   10990 #  endif
   10991 #endif
   10992 
   10993 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10994    find out it does not work in some platform. */
   10995 #ifndef LT_DLLAZY_OR_NOW
   10996 #  ifdef RTLD_LAZY
   10997 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10998 #  else
   10999 #    ifdef DL_LAZY
   11000 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11001 #    else
   11002 #      ifdef RTLD_NOW
   11003 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11004 #      else
   11005 #        ifdef DL_NOW
   11006 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11007 #        else
   11008 #          define LT_DLLAZY_OR_NOW	0
   11009 #        endif
   11010 #      endif
   11011 #    endif
   11012 #  endif
   11013 #endif
   11014 
   11015 /* When -fvisbility=hidden is used, assume the code has been annotated
   11016    correspondingly for the symbols needed.  */
   11017 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11018 int fnord () __attribute__((visibility("default")));
   11019 #endif
   11020 
   11021 int fnord () { return 42; }
   11022 int main ()
   11023 {
   11024   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11025   int status = $lt_dlunknown;
   11026 
   11027   if (self)
   11028     {
   11029       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11030       else
   11031         {
   11032 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11033           else puts (dlerror ());
   11034 	}
   11035       /* dlclose (self); */
   11036     }
   11037   else
   11038     puts (dlerror ());
   11039 
   11040   return status;
   11041 }
   11042 _LT_EOF
   11043   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11044   (eval $ac_link) 2>&5
   11045   ac_status=$?
   11046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11047   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11048     (./conftest; exit; ) >&5 2>/dev/null
   11049     lt_status=$?
   11050     case x$lt_status in
   11051       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11052       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11053       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11054     esac
   11055   else :
   11056     # compilation failed
   11057     lt_cv_dlopen_self=no
   11058   fi
   11059 fi
   11060 rm -fr conftest*
   11061 
   11062 
   11063 fi
   11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11065 $as_echo "$lt_cv_dlopen_self" >&6; }
   11066 
   11067     if test "x$lt_cv_dlopen_self" = xyes; then
   11068       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11069       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11070 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11071 if ${lt_cv_dlopen_self_static+:} false; then :
   11072   $as_echo_n "(cached) " >&6
   11073 else
   11074   	  if test "$cross_compiling" = yes; then :
   11075   lt_cv_dlopen_self_static=cross
   11076 else
   11077   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11078   lt_status=$lt_dlunknown
   11079   cat > conftest.$ac_ext <<_LT_EOF
   11080 #line $LINENO "configure"
   11081 #include "confdefs.h"
   11082 
   11083 #if HAVE_DLFCN_H
   11084 #include <dlfcn.h>
   11085 #endif
   11086 
   11087 #include <stdio.h>
   11088 
   11089 #ifdef RTLD_GLOBAL
   11090 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11091 #else
   11092 #  ifdef DL_GLOBAL
   11093 #    define LT_DLGLOBAL		DL_GLOBAL
   11094 #  else
   11095 #    define LT_DLGLOBAL		0
   11096 #  endif
   11097 #endif
   11098 
   11099 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11100    find out it does not work in some platform. */
   11101 #ifndef LT_DLLAZY_OR_NOW
   11102 #  ifdef RTLD_LAZY
   11103 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11104 #  else
   11105 #    ifdef DL_LAZY
   11106 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11107 #    else
   11108 #      ifdef RTLD_NOW
   11109 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11110 #      else
   11111 #        ifdef DL_NOW
   11112 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11113 #        else
   11114 #          define LT_DLLAZY_OR_NOW	0
   11115 #        endif
   11116 #      endif
   11117 #    endif
   11118 #  endif
   11119 #endif
   11120 
   11121 /* When -fvisbility=hidden is used, assume the code has been annotated
   11122    correspondingly for the symbols needed.  */
   11123 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11124 int fnord () __attribute__((visibility("default")));
   11125 #endif
   11126 
   11127 int fnord () { return 42; }
   11128 int main ()
   11129 {
   11130   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11131   int status = $lt_dlunknown;
   11132 
   11133   if (self)
   11134     {
   11135       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11136       else
   11137         {
   11138 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11139           else puts (dlerror ());
   11140 	}
   11141       /* dlclose (self); */
   11142     }
   11143   else
   11144     puts (dlerror ());
   11145 
   11146   return status;
   11147 }
   11148 _LT_EOF
   11149   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11150   (eval $ac_link) 2>&5
   11151   ac_status=$?
   11152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11153   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11154     (./conftest; exit; ) >&5 2>/dev/null
   11155     lt_status=$?
   11156     case x$lt_status in
   11157       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11158       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11159       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11160     esac
   11161   else :
   11162     # compilation failed
   11163     lt_cv_dlopen_self_static=no
   11164   fi
   11165 fi
   11166 rm -fr conftest*
   11167 
   11168 
   11169 fi
   11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11171 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11172     fi
   11173 
   11174     CPPFLAGS="$save_CPPFLAGS"
   11175     LDFLAGS="$save_LDFLAGS"
   11176     LIBS="$save_LIBS"
   11177     ;;
   11178   esac
   11179 
   11180   case $lt_cv_dlopen_self in
   11181   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11182   *) enable_dlopen_self=unknown ;;
   11183   esac
   11184 
   11185   case $lt_cv_dlopen_self_static in
   11186   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11187   *) enable_dlopen_self_static=unknown ;;
   11188   esac
   11189 fi
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 striplib=
   11208 old_striplib=
   11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11210 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11211 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11212   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11213   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11215 $as_echo "yes" >&6; }
   11216 else
   11217 # FIXME - insert some real tests, host_os isn't really good enough
   11218   case $host_os in
   11219   darwin*)
   11220     if test -n "$STRIP" ; then
   11221       striplib="$STRIP -x"
   11222       old_striplib="$STRIP -S"
   11223       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11224 $as_echo "yes" >&6; }
   11225     else
   11226       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11227 $as_echo "no" >&6; }
   11228     fi
   11229     ;;
   11230   *)
   11231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11232 $as_echo "no" >&6; }
   11233     ;;
   11234   esac
   11235 fi
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248   # Report which library types will actually be built
   11249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11250 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11252 $as_echo "$can_build_shared" >&6; }
   11253 
   11254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11255 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11256   test "$can_build_shared" = "no" && enable_shared=no
   11257 
   11258   # On AIX, shared libraries and static libraries use the same namespace, and
   11259   # are all built from PIC.
   11260   case $host_os in
   11261   aix3*)
   11262     test "$enable_shared" = yes && enable_static=no
   11263     if test -n "$RANLIB"; then
   11264       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11265       postinstall_cmds='$RANLIB $lib'
   11266     fi
   11267     ;;
   11268 
   11269   aix[4-9]*)
   11270     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11271       test "$enable_shared" = yes && enable_static=no
   11272     fi
   11273     ;;
   11274   esac
   11275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11276 $as_echo "$enable_shared" >&6; }
   11277 
   11278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11279 $as_echo_n "checking whether to build static libraries... " >&6; }
   11280   # Make sure either enable_shared or enable_static is yes.
   11281   test "$enable_shared" = yes || enable_static=yes
   11282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11283 $as_echo "$enable_static" >&6; }
   11284 
   11285 
   11286 
   11287 
   11288 fi
   11289 ac_ext=c
   11290 ac_cpp='$CPP $CPPFLAGS'
   11291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11294 
   11295 CC="$lt_save_CC"
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311         ac_config_commands="$ac_config_commands libtool"
   11312 
   11313 
   11314 
   11315 
   11316 # Only expand once:
   11317 
   11318 
   11319 
   11320 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11333 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11334 if ${ac_cv_prog_cc_c99+:} false; then :
   11335   $as_echo_n "(cached) " >&6
   11336 else
   11337   ac_cv_prog_cc_c99=no
   11338 ac_save_CC=$CC
   11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11340 /* end confdefs.h.  */
   11341 #include <stdarg.h>
   11342 #include <stdbool.h>
   11343 #include <stdlib.h>
   11344 #include <wchar.h>
   11345 #include <stdio.h>
   11346 
   11347 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11348 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11349 #define showlist(...) puts (#__VA_ARGS__)
   11350 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11351 static void
   11352 test_varargs_macros (void)
   11353 {
   11354   int x = 1234;
   11355   int y = 5678;
   11356   debug ("Flag");
   11357   debug ("X = %d\n", x);
   11358   showlist (The first, second, and third items.);
   11359   report (x>y, "x is %d but y is %d", x, y);
   11360 }
   11361 
   11362 // Check long long types.
   11363 #define BIG64 18446744073709551615ull
   11364 #define BIG32 4294967295ul
   11365 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11366 #if !BIG_OK
   11367   your preprocessor is broken;
   11368 #endif
   11369 #if BIG_OK
   11370 #else
   11371   your preprocessor is broken;
   11372 #endif
   11373 static long long int bignum = -9223372036854775807LL;
   11374 static unsigned long long int ubignum = BIG64;
   11375 
   11376 struct incomplete_array
   11377 {
   11378   int datasize;
   11379   double data[];
   11380 };
   11381 
   11382 struct named_init {
   11383   int number;
   11384   const wchar_t *name;
   11385   double average;
   11386 };
   11387 
   11388 typedef const char *ccp;
   11389 
   11390 static inline int
   11391 test_restrict (ccp restrict text)
   11392 {
   11393   // See if C++-style comments work.
   11394   // Iterate through items via the restricted pointer.
   11395   // Also check for declarations in for loops.
   11396   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11397     continue;
   11398   return 0;
   11399 }
   11400 
   11401 // Check varargs and va_copy.
   11402 static void
   11403 test_varargs (const char *format, ...)
   11404 {
   11405   va_list args;
   11406   va_start (args, format);
   11407   va_list args_copy;
   11408   va_copy (args_copy, args);
   11409 
   11410   const char *str;
   11411   int number;
   11412   float fnumber;
   11413 
   11414   while (*format)
   11415     {
   11416       switch (*format++)
   11417 	{
   11418 	case 's': // string
   11419 	  str = va_arg (args_copy, const char *);
   11420 	  break;
   11421 	case 'd': // int
   11422 	  number = va_arg (args_copy, int);
   11423 	  break;
   11424 	case 'f': // float
   11425 	  fnumber = va_arg (args_copy, double);
   11426 	  break;
   11427 	default:
   11428 	  break;
   11429 	}
   11430     }
   11431   va_end (args_copy);
   11432   va_end (args);
   11433 }
   11434 
   11435 int
   11436 main ()
   11437 {
   11438 
   11439   // Check bool.
   11440   _Bool success = false;
   11441 
   11442   // Check restrict.
   11443   if (test_restrict ("String literal") == 0)
   11444     success = true;
   11445   char *restrict newvar = "Another string";
   11446 
   11447   // Check varargs.
   11448   test_varargs ("s, d' f .", "string", 65, 34.234);
   11449   test_varargs_macros ();
   11450 
   11451   // Check flexible array members.
   11452   struct incomplete_array *ia =
   11453     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11454   ia->datasize = 10;
   11455   for (int i = 0; i < ia->datasize; ++i)
   11456     ia->data[i] = i * 1.234;
   11457 
   11458   // Check named initializers.
   11459   struct named_init ni = {
   11460     .number = 34,
   11461     .name = L"Test wide string",
   11462     .average = 543.34343,
   11463   };
   11464 
   11465   ni.number = 58;
   11466 
   11467   int dynamic_array[ni.number];
   11468   dynamic_array[ni.number - 1] = 543;
   11469 
   11470   // work around unused variable warnings
   11471   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11472 	  || dynamic_array[ni.number - 1] != 543);
   11473 
   11474   ;
   11475   return 0;
   11476 }
   11477 _ACEOF
   11478 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11479 do
   11480   CC="$ac_save_CC $ac_arg"
   11481   if ac_fn_c_try_compile "$LINENO"; then :
   11482   ac_cv_prog_cc_c99=$ac_arg
   11483 fi
   11484 rm -f core conftest.err conftest.$ac_objext
   11485   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11486 done
   11487 rm -f conftest.$ac_ext
   11488 CC=$ac_save_CC
   11489 
   11490 fi
   11491 # AC_CACHE_VAL
   11492 case "x$ac_cv_prog_cc_c99" in
   11493   x)
   11494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11495 $as_echo "none needed" >&6; } ;;
   11496   xno)
   11497     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11498 $as_echo "unsupported" >&6; } ;;
   11499   *)
   11500     CC="$CC $ac_cv_prog_cc_c99"
   11501     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11502 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11503 esac
   11504 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11505 
   11506 fi
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11514 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11515   CLANGCC="yes"
   11516 else
   11517   CLANGCC="no"
   11518 fi
   11519 
   11520 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11521 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11522   INTELCC="yes"
   11523 else
   11524   INTELCC="no"
   11525 fi
   11526 
   11527 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11528 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11529   SUNCC="yes"
   11530 else
   11531   SUNCC="no"
   11532 fi
   11533 
   11534 
   11535 
   11536 
   11537 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11538 	if test -n "$ac_tool_prefix"; then
   11539   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11540 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11542 $as_echo_n "checking for $ac_word... " >&6; }
   11543 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11544   $as_echo_n "(cached) " >&6
   11545 else
   11546   case $PKG_CONFIG in
   11547   [\\/]* | ?:[\\/]*)
   11548   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11549   ;;
   11550   *)
   11551   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11552 for as_dir in $PATH
   11553 do
   11554   IFS=$as_save_IFS
   11555   test -z "$as_dir" && as_dir=.
   11556     for ac_exec_ext in '' $ac_executable_extensions; do
   11557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11558     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11560     break 2
   11561   fi
   11562 done
   11563   done
   11564 IFS=$as_save_IFS
   11565 
   11566   ;;
   11567 esac
   11568 fi
   11569 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11570 if test -n "$PKG_CONFIG"; then
   11571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11572 $as_echo "$PKG_CONFIG" >&6; }
   11573 else
   11574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11575 $as_echo "no" >&6; }
   11576 fi
   11577 
   11578 
   11579 fi
   11580 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11581   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11582   # Extract the first word of "pkg-config", so it can be a program name with args.
   11583 set dummy pkg-config; ac_word=$2
   11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11585 $as_echo_n "checking for $ac_word... " >&6; }
   11586 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11587   $as_echo_n "(cached) " >&6
   11588 else
   11589   case $ac_pt_PKG_CONFIG in
   11590   [\\/]* | ?:[\\/]*)
   11591   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11592   ;;
   11593   *)
   11594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11595 for as_dir in $PATH
   11596 do
   11597   IFS=$as_save_IFS
   11598   test -z "$as_dir" && as_dir=.
   11599     for ac_exec_ext in '' $ac_executable_extensions; do
   11600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11601     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11603     break 2
   11604   fi
   11605 done
   11606   done
   11607 IFS=$as_save_IFS
   11608 
   11609   ;;
   11610 esac
   11611 fi
   11612 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11613 if test -n "$ac_pt_PKG_CONFIG"; then
   11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11615 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11616 else
   11617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11618 $as_echo "no" >&6; }
   11619 fi
   11620 
   11621   if test "x$ac_pt_PKG_CONFIG" = x; then
   11622     PKG_CONFIG=""
   11623   else
   11624     case $cross_compiling:$ac_tool_warned in
   11625 yes:)
   11626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11628 ac_tool_warned=yes ;;
   11629 esac
   11630     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11631   fi
   11632 else
   11633   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11634 fi
   11635 
   11636 fi
   11637 if test -n "$PKG_CONFIG"; then
   11638 	_pkg_min_version=0.9.0
   11639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11640 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11641 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11643 $as_echo "yes" >&6; }
   11644 	else
   11645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11646 $as_echo "no" >&6; }
   11647 		PKG_CONFIG=""
   11648 	fi
   11649 
   11650 fi
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 # Check whether --enable-selective-werror was given.
   11657 if test "${enable_selective_werror+set}" = set; then :
   11658   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11659 else
   11660   SELECTIVE_WERROR=yes
   11661 fi
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11668 if test "x$SUNCC" = "xyes"; then
   11669     BASE_CFLAGS="-v"
   11670 else
   11671     BASE_CFLAGS=""
   11672 fi
   11673 
   11674 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 xorg_testset_save_CFLAGS="$CFLAGS"
   11689 
   11690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11693 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11694 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11695   $as_echo_n "(cached) " >&6
   11696 else
   11697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11698 /* end confdefs.h.  */
   11699 int i;
   11700 _ACEOF
   11701 if ac_fn_c_try_compile "$LINENO"; then :
   11702   xorg_cv_cc_flag_unknown_warning_option=yes
   11703 else
   11704   xorg_cv_cc_flag_unknown_warning_option=no
   11705 fi
   11706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11707 fi
   11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11709 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11711 	CFLAGS="$xorg_testset_save_CFLAGS"
   11712 fi
   11713 
   11714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11717 	fi
   11718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11720 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11721 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11722   $as_echo_n "(cached) " >&6
   11723 else
   11724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11725 /* end confdefs.h.  */
   11726 int i;
   11727 _ACEOF
   11728 if ac_fn_c_try_compile "$LINENO"; then :
   11729   xorg_cv_cc_flag_unused_command_line_argument=yes
   11730 else
   11731   xorg_cv_cc_flag_unused_command_line_argument=no
   11732 fi
   11733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11734 fi
   11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11736 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11737 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11738 	CFLAGS="$xorg_testset_save_CFLAGS"
   11739 fi
   11740 
   11741 found="no"
   11742 
   11743 	if test $found = "no" ; then
   11744 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11745 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11746 		fi
   11747 
   11748 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11749 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11750 		fi
   11751 
   11752 		CFLAGS="$CFLAGS -Wall"
   11753 
   11754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11755 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11756 		cacheid=xorg_cv_cc_flag__Wall
   11757 		if eval \${$cacheid+:} false; then :
   11758   $as_echo_n "(cached) " >&6
   11759 else
   11760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11761 /* end confdefs.h.  */
   11762 int i;
   11763 int
   11764 main ()
   11765 {
   11766 
   11767   ;
   11768   return 0;
   11769 }
   11770 _ACEOF
   11771 if ac_fn_c_try_link "$LINENO"; then :
   11772   eval $cacheid=yes
   11773 else
   11774   eval $cacheid=no
   11775 fi
   11776 rm -f core conftest.err conftest.$ac_objext \
   11777     conftest$ac_exeext conftest.$ac_ext
   11778 fi
   11779 
   11780 
   11781 		CFLAGS="$xorg_testset_save_CFLAGS"
   11782 
   11783 		eval supported=\$$cacheid
   11784 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11785 $as_echo "$supported" >&6; }
   11786 		if test "$supported" = "yes" ; then
   11787 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11788 			found="yes"
   11789 		fi
   11790 	fi
   11791 
   11792 
   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_unknown_warning_option" = "xyes" ; then
   11863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11864 		fi
   11865 
   11866 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11868 		fi
   11869 
   11870 		CFLAGS="$CFLAGS -Wpointer-arith"
   11871 
   11872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11873 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11874 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   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 -Wpointer-arith"
   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_unknown_warning_option" = "xyes" ; then
   11981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11982 		fi
   11983 
   11984 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11986 		fi
   11987 
   11988 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11989 
   11990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11991 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11992 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   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 -Wmissing-declarations"
   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_unknown_warning_option" = "xyes" ; then
   12099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12100 		fi
   12101 
   12102 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12104 		fi
   12105 
   12106 		CFLAGS="$CFLAGS -Wformat=2"
   12107 
   12108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12109 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12110 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   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 -Wformat=2"
   12142 			found="yes"
   12143 		fi
   12144 	fi
   12145 
   12146 	if test $found = "no" ; then
   12147 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12149 		fi
   12150 
   12151 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12153 		fi
   12154 
   12155 		CFLAGS="$CFLAGS -Wformat"
   12156 
   12157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12158 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12159 		cacheid=xorg_cv_cc_flag__Wformat
   12160 		if eval \${$cacheid+:} false; then :
   12161   $as_echo_n "(cached) " >&6
   12162 else
   12163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12164 /* end confdefs.h.  */
   12165 int i;
   12166 int
   12167 main ()
   12168 {
   12169 
   12170   ;
   12171   return 0;
   12172 }
   12173 _ACEOF
   12174 if ac_fn_c_try_link "$LINENO"; then :
   12175   eval $cacheid=yes
   12176 else
   12177   eval $cacheid=no
   12178 fi
   12179 rm -f core conftest.err conftest.$ac_objext \
   12180     conftest$ac_exeext conftest.$ac_ext
   12181 fi
   12182 
   12183 
   12184 		CFLAGS="$xorg_testset_save_CFLAGS"
   12185 
   12186 		eval supported=\$$cacheid
   12187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12188 $as_echo "$supported" >&6; }
   12189 		if test "$supported" = "yes" ; then
   12190 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12191 			found="yes"
   12192 		fi
   12193 	fi
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 xorg_testset_save_CFLAGS="$CFLAGS"
   12212 
   12213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12216 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12217 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12218   $as_echo_n "(cached) " >&6
   12219 else
   12220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12221 /* end confdefs.h.  */
   12222 int i;
   12223 _ACEOF
   12224 if ac_fn_c_try_compile "$LINENO"; then :
   12225   xorg_cv_cc_flag_unknown_warning_option=yes
   12226 else
   12227   xorg_cv_cc_flag_unknown_warning_option=no
   12228 fi
   12229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12230 fi
   12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12232 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12234 	CFLAGS="$xorg_testset_save_CFLAGS"
   12235 fi
   12236 
   12237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12240 	fi
   12241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12243 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12244 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12245   $as_echo_n "(cached) " >&6
   12246 else
   12247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12248 /* end confdefs.h.  */
   12249 int i;
   12250 _ACEOF
   12251 if ac_fn_c_try_compile "$LINENO"; then :
   12252   xorg_cv_cc_flag_unused_command_line_argument=yes
   12253 else
   12254   xorg_cv_cc_flag_unused_command_line_argument=no
   12255 fi
   12256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12257 fi
   12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12259 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12260 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12261 	CFLAGS="$xorg_testset_save_CFLAGS"
   12262 fi
   12263 
   12264 found="no"
   12265 
   12266 	if test $found = "no" ; then
   12267 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12268 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12269 		fi
   12270 
   12271 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12272 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12273 		fi
   12274 
   12275 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12276 
   12277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12278 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12279 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12280 		if eval \${$cacheid+:} false; then :
   12281   $as_echo_n "(cached) " >&6
   12282 else
   12283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12284 /* end confdefs.h.  */
   12285 int i;
   12286 int
   12287 main ()
   12288 {
   12289 
   12290   ;
   12291   return 0;
   12292 }
   12293 _ACEOF
   12294 if ac_fn_c_try_link "$LINENO"; then :
   12295   eval $cacheid=yes
   12296 else
   12297   eval $cacheid=no
   12298 fi
   12299 rm -f core conftest.err conftest.$ac_objext \
   12300     conftest$ac_exeext conftest.$ac_ext
   12301 fi
   12302 
   12303 
   12304 		CFLAGS="$xorg_testset_save_CFLAGS"
   12305 
   12306 		eval supported=\$$cacheid
   12307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12308 $as_echo "$supported" >&6; }
   12309 		if test "$supported" = "yes" ; then
   12310 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12311 			found="yes"
   12312 		fi
   12313 	fi
   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_unknown_warning_option" = "xyes" ; then
   12386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12387 		fi
   12388 
   12389 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12391 		fi
   12392 
   12393 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12394 
   12395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12396 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12397 		cacheid=xorg_cv_cc_flag__Wmissing_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 -Wmissing-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_unknown_warning_option" = "xyes" ; then
   12504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12505 		fi
   12506 
   12507 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12509 		fi
   12510 
   12511 		CFLAGS="$CFLAGS -Wnested-externs"
   12512 
   12513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12514 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12515 		cacheid=xorg_cv_cc_flag__Wnested_externs
   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 -Wnested-externs"
   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_unknown_warning_option" = "xyes" ; then
   12622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12623 		fi
   12624 
   12625 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12627 		fi
   12628 
   12629 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12630 
   12631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12632 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12633 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   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 -Wbad-function-cast"
   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_unknown_warning_option" = "xyes" ; then
   12740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12741 		fi
   12742 
   12743 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12745 		fi
   12746 
   12747 		CFLAGS="$CFLAGS -Wold-style-definition"
   12748 
   12749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12750 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12751 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   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 -Wold-style-definition"
   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_unknown_warning_option" = "xyes" ; then
   12858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12859 		fi
   12860 
   12861 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12863 		fi
   12864 
   12865 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12866 
   12867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12868 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12869 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   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 -Wdeclaration-after-statement"
   12901 			found="yes"
   12902 		fi
   12903 	fi
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 # This chunk adds additional warnings that could catch undesired effects.
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 xorg_testset_save_CFLAGS="$CFLAGS"
   12924 
   12925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12930   $as_echo_n "(cached) " >&6
   12931 else
   12932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12933 /* end confdefs.h.  */
   12934 int i;
   12935 _ACEOF
   12936 if ac_fn_c_try_compile "$LINENO"; then :
   12937   xorg_cv_cc_flag_unknown_warning_option=yes
   12938 else
   12939   xorg_cv_cc_flag_unknown_warning_option=no
   12940 fi
   12941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12942 fi
   12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12946 	CFLAGS="$xorg_testset_save_CFLAGS"
   12947 fi
   12948 
   12949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12952 	fi
   12953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12957   $as_echo_n "(cached) " >&6
   12958 else
   12959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12960 /* end confdefs.h.  */
   12961 int i;
   12962 _ACEOF
   12963 if ac_fn_c_try_compile "$LINENO"; then :
   12964   xorg_cv_cc_flag_unused_command_line_argument=yes
   12965 else
   12966   xorg_cv_cc_flag_unused_command_line_argument=no
   12967 fi
   12968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12969 fi
   12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12973 	CFLAGS="$xorg_testset_save_CFLAGS"
   12974 fi
   12975 
   12976 found="no"
   12977 
   12978 	if test $found = "no" ; then
   12979 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12981 		fi
   12982 
   12983 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12985 		fi
   12986 
   12987 		CFLAGS="$CFLAGS -Wunused"
   12988 
   12989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12990 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12991 		cacheid=xorg_cv_cc_flag__Wunused
   12992 		if eval \${$cacheid+:} false; then :
   12993   $as_echo_n "(cached) " >&6
   12994 else
   12995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12996 /* end confdefs.h.  */
   12997 int i;
   12998 int
   12999 main ()
   13000 {
   13001 
   13002   ;
   13003   return 0;
   13004 }
   13005 _ACEOF
   13006 if ac_fn_c_try_link "$LINENO"; then :
   13007   eval $cacheid=yes
   13008 else
   13009   eval $cacheid=no
   13010 fi
   13011 rm -f core conftest.err conftest.$ac_objext \
   13012     conftest$ac_exeext conftest.$ac_ext
   13013 fi
   13014 
   13015 
   13016 		CFLAGS="$xorg_testset_save_CFLAGS"
   13017 
   13018 		eval supported=\$$cacheid
   13019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13020 $as_echo "$supported" >&6; }
   13021 		if test "$supported" = "yes" ; then
   13022 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13023 			found="yes"
   13024 		fi
   13025 	fi
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 xorg_testset_save_CFLAGS="$CFLAGS"
   13042 
   13043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13048   $as_echo_n "(cached) " >&6
   13049 else
   13050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13051 /* end confdefs.h.  */
   13052 int i;
   13053 _ACEOF
   13054 if ac_fn_c_try_compile "$LINENO"; then :
   13055   xorg_cv_cc_flag_unknown_warning_option=yes
   13056 else
   13057   xorg_cv_cc_flag_unknown_warning_option=no
   13058 fi
   13059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13060 fi
   13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13064 	CFLAGS="$xorg_testset_save_CFLAGS"
   13065 fi
   13066 
   13067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13070 	fi
   13071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13075   $as_echo_n "(cached) " >&6
   13076 else
   13077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13078 /* end confdefs.h.  */
   13079 int i;
   13080 _ACEOF
   13081 if ac_fn_c_try_compile "$LINENO"; then :
   13082   xorg_cv_cc_flag_unused_command_line_argument=yes
   13083 else
   13084   xorg_cv_cc_flag_unused_command_line_argument=no
   13085 fi
   13086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13087 fi
   13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13091 	CFLAGS="$xorg_testset_save_CFLAGS"
   13092 fi
   13093 
   13094 found="no"
   13095 
   13096 	if test $found = "no" ; then
   13097 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13099 		fi
   13100 
   13101 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13103 		fi
   13104 
   13105 		CFLAGS="$CFLAGS -Wuninitialized"
   13106 
   13107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13108 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13109 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13110 		if eval \${$cacheid+:} false; then :
   13111   $as_echo_n "(cached) " >&6
   13112 else
   13113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13114 /* end confdefs.h.  */
   13115 int i;
   13116 int
   13117 main ()
   13118 {
   13119 
   13120   ;
   13121   return 0;
   13122 }
   13123 _ACEOF
   13124 if ac_fn_c_try_link "$LINENO"; then :
   13125   eval $cacheid=yes
   13126 else
   13127   eval $cacheid=no
   13128 fi
   13129 rm -f core conftest.err conftest.$ac_objext \
   13130     conftest$ac_exeext conftest.$ac_ext
   13131 fi
   13132 
   13133 
   13134 		CFLAGS="$xorg_testset_save_CFLAGS"
   13135 
   13136 		eval supported=\$$cacheid
   13137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13138 $as_echo "$supported" >&6; }
   13139 		if test "$supported" = "yes" ; then
   13140 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13141 			found="yes"
   13142 		fi
   13143 	fi
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 xorg_testset_save_CFLAGS="$CFLAGS"
   13160 
   13161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13166   $as_echo_n "(cached) " >&6
   13167 else
   13168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13169 /* end confdefs.h.  */
   13170 int i;
   13171 _ACEOF
   13172 if ac_fn_c_try_compile "$LINENO"; then :
   13173   xorg_cv_cc_flag_unknown_warning_option=yes
   13174 else
   13175   xorg_cv_cc_flag_unknown_warning_option=no
   13176 fi
   13177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13178 fi
   13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13182 	CFLAGS="$xorg_testset_save_CFLAGS"
   13183 fi
   13184 
   13185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13188 	fi
   13189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13193   $as_echo_n "(cached) " >&6
   13194 else
   13195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13196 /* end confdefs.h.  */
   13197 int i;
   13198 _ACEOF
   13199 if ac_fn_c_try_compile "$LINENO"; then :
   13200   xorg_cv_cc_flag_unused_command_line_argument=yes
   13201 else
   13202   xorg_cv_cc_flag_unused_command_line_argument=no
   13203 fi
   13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13205 fi
   13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13209 	CFLAGS="$xorg_testset_save_CFLAGS"
   13210 fi
   13211 
   13212 found="no"
   13213 
   13214 	if test $found = "no" ; then
   13215 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13217 		fi
   13218 
   13219 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13221 		fi
   13222 
   13223 		CFLAGS="$CFLAGS -Wshadow"
   13224 
   13225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13226 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13227 		cacheid=xorg_cv_cc_flag__Wshadow
   13228 		if eval \${$cacheid+:} false; then :
   13229   $as_echo_n "(cached) " >&6
   13230 else
   13231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13232 /* end confdefs.h.  */
   13233 int i;
   13234 int
   13235 main ()
   13236 {
   13237 
   13238   ;
   13239   return 0;
   13240 }
   13241 _ACEOF
   13242 if ac_fn_c_try_link "$LINENO"; then :
   13243   eval $cacheid=yes
   13244 else
   13245   eval $cacheid=no
   13246 fi
   13247 rm -f core conftest.err conftest.$ac_objext \
   13248     conftest$ac_exeext conftest.$ac_ext
   13249 fi
   13250 
   13251 
   13252 		CFLAGS="$xorg_testset_save_CFLAGS"
   13253 
   13254 		eval supported=\$$cacheid
   13255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13256 $as_echo "$supported" >&6; }
   13257 		if test "$supported" = "yes" ; then
   13258 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13259 			found="yes"
   13260 		fi
   13261 	fi
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 xorg_testset_save_CFLAGS="$CFLAGS"
   13278 
   13279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13284   $as_echo_n "(cached) " >&6
   13285 else
   13286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13287 /* end confdefs.h.  */
   13288 int i;
   13289 _ACEOF
   13290 if ac_fn_c_try_compile "$LINENO"; then :
   13291   xorg_cv_cc_flag_unknown_warning_option=yes
   13292 else
   13293   xorg_cv_cc_flag_unknown_warning_option=no
   13294 fi
   13295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13296 fi
   13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13300 	CFLAGS="$xorg_testset_save_CFLAGS"
   13301 fi
   13302 
   13303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13306 	fi
   13307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13311   $as_echo_n "(cached) " >&6
   13312 else
   13313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13314 /* end confdefs.h.  */
   13315 int i;
   13316 _ACEOF
   13317 if ac_fn_c_try_compile "$LINENO"; then :
   13318   xorg_cv_cc_flag_unused_command_line_argument=yes
   13319 else
   13320   xorg_cv_cc_flag_unused_command_line_argument=no
   13321 fi
   13322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13323 fi
   13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13327 	CFLAGS="$xorg_testset_save_CFLAGS"
   13328 fi
   13329 
   13330 found="no"
   13331 
   13332 	if test $found = "no" ; then
   13333 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13335 		fi
   13336 
   13337 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13339 		fi
   13340 
   13341 		CFLAGS="$CFLAGS -Wcast-qual"
   13342 
   13343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13344 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13345 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13346 		if eval \${$cacheid+:} false; then :
   13347   $as_echo_n "(cached) " >&6
   13348 else
   13349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13350 /* end confdefs.h.  */
   13351 int i;
   13352 int
   13353 main ()
   13354 {
   13355 
   13356   ;
   13357   return 0;
   13358 }
   13359 _ACEOF
   13360 if ac_fn_c_try_link "$LINENO"; then :
   13361   eval $cacheid=yes
   13362 else
   13363   eval $cacheid=no
   13364 fi
   13365 rm -f core conftest.err conftest.$ac_objext \
   13366     conftest$ac_exeext conftest.$ac_ext
   13367 fi
   13368 
   13369 
   13370 		CFLAGS="$xorg_testset_save_CFLAGS"
   13371 
   13372 		eval supported=\$$cacheid
   13373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13374 $as_echo "$supported" >&6; }
   13375 		if test "$supported" = "yes" ; then
   13376 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13377 			found="yes"
   13378 		fi
   13379 	fi
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 xorg_testset_save_CFLAGS="$CFLAGS"
   13396 
   13397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13402   $as_echo_n "(cached) " >&6
   13403 else
   13404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13405 /* end confdefs.h.  */
   13406 int i;
   13407 _ACEOF
   13408 if ac_fn_c_try_compile "$LINENO"; then :
   13409   xorg_cv_cc_flag_unknown_warning_option=yes
   13410 else
   13411   xorg_cv_cc_flag_unknown_warning_option=no
   13412 fi
   13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13414 fi
   13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13418 	CFLAGS="$xorg_testset_save_CFLAGS"
   13419 fi
   13420 
   13421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13424 	fi
   13425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13429   $as_echo_n "(cached) " >&6
   13430 else
   13431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13432 /* end confdefs.h.  */
   13433 int i;
   13434 _ACEOF
   13435 if ac_fn_c_try_compile "$LINENO"; then :
   13436   xorg_cv_cc_flag_unused_command_line_argument=yes
   13437 else
   13438   xorg_cv_cc_flag_unused_command_line_argument=no
   13439 fi
   13440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13441 fi
   13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13445 	CFLAGS="$xorg_testset_save_CFLAGS"
   13446 fi
   13447 
   13448 found="no"
   13449 
   13450 	if test $found = "no" ; then
   13451 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13453 		fi
   13454 
   13455 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13457 		fi
   13458 
   13459 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13460 
   13461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13462 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13463 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13464 		if eval \${$cacheid+:} false; then :
   13465   $as_echo_n "(cached) " >&6
   13466 else
   13467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13468 /* end confdefs.h.  */
   13469 int i;
   13470 int
   13471 main ()
   13472 {
   13473 
   13474   ;
   13475   return 0;
   13476 }
   13477 _ACEOF
   13478 if ac_fn_c_try_link "$LINENO"; then :
   13479   eval $cacheid=yes
   13480 else
   13481   eval $cacheid=no
   13482 fi
   13483 rm -f core conftest.err conftest.$ac_objext \
   13484     conftest$ac_exeext conftest.$ac_ext
   13485 fi
   13486 
   13487 
   13488 		CFLAGS="$xorg_testset_save_CFLAGS"
   13489 
   13490 		eval supported=\$$cacheid
   13491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13492 $as_echo "$supported" >&6; }
   13493 		if test "$supported" = "yes" ; then
   13494 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13495 			found="yes"
   13496 		fi
   13497 	fi
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 xorg_testset_save_CFLAGS="$CFLAGS"
   13514 
   13515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13520   $as_echo_n "(cached) " >&6
   13521 else
   13522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13523 /* end confdefs.h.  */
   13524 int i;
   13525 _ACEOF
   13526 if ac_fn_c_try_compile "$LINENO"; then :
   13527   xorg_cv_cc_flag_unknown_warning_option=yes
   13528 else
   13529   xorg_cv_cc_flag_unknown_warning_option=no
   13530 fi
   13531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13532 fi
   13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13536 	CFLAGS="$xorg_testset_save_CFLAGS"
   13537 fi
   13538 
   13539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13542 	fi
   13543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13547   $as_echo_n "(cached) " >&6
   13548 else
   13549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13550 /* end confdefs.h.  */
   13551 int i;
   13552 _ACEOF
   13553 if ac_fn_c_try_compile "$LINENO"; then :
   13554   xorg_cv_cc_flag_unused_command_line_argument=yes
   13555 else
   13556   xorg_cv_cc_flag_unused_command_line_argument=no
   13557 fi
   13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13559 fi
   13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13563 	CFLAGS="$xorg_testset_save_CFLAGS"
   13564 fi
   13565 
   13566 found="no"
   13567 
   13568 	if test $found = "no" ; then
   13569 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13571 		fi
   13572 
   13573 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13575 		fi
   13576 
   13577 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13578 
   13579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13580 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13581 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13582 		if eval \${$cacheid+:} false; then :
   13583   $as_echo_n "(cached) " >&6
   13584 else
   13585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13586 /* end confdefs.h.  */
   13587 int i;
   13588 int
   13589 main ()
   13590 {
   13591 
   13592   ;
   13593   return 0;
   13594 }
   13595 _ACEOF
   13596 if ac_fn_c_try_link "$LINENO"; then :
   13597   eval $cacheid=yes
   13598 else
   13599   eval $cacheid=no
   13600 fi
   13601 rm -f core conftest.err conftest.$ac_objext \
   13602     conftest$ac_exeext conftest.$ac_ext
   13603 fi
   13604 
   13605 
   13606 		CFLAGS="$xorg_testset_save_CFLAGS"
   13607 
   13608 		eval supported=\$$cacheid
   13609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13610 $as_echo "$supported" >&6; }
   13611 		if test "$supported" = "yes" ; then
   13612 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13613 			found="yes"
   13614 		fi
   13615 	fi
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 xorg_testset_save_CFLAGS="$CFLAGS"
   13632 
   13633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13638   $as_echo_n "(cached) " >&6
   13639 else
   13640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13641 /* end confdefs.h.  */
   13642 int i;
   13643 _ACEOF
   13644 if ac_fn_c_try_compile "$LINENO"; then :
   13645   xorg_cv_cc_flag_unknown_warning_option=yes
   13646 else
   13647   xorg_cv_cc_flag_unknown_warning_option=no
   13648 fi
   13649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13650 fi
   13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13654 	CFLAGS="$xorg_testset_save_CFLAGS"
   13655 fi
   13656 
   13657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13660 	fi
   13661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13665   $as_echo_n "(cached) " >&6
   13666 else
   13667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13668 /* end confdefs.h.  */
   13669 int i;
   13670 _ACEOF
   13671 if ac_fn_c_try_compile "$LINENO"; then :
   13672   xorg_cv_cc_flag_unused_command_line_argument=yes
   13673 else
   13674   xorg_cv_cc_flag_unused_command_line_argument=no
   13675 fi
   13676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13677 fi
   13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13681 	CFLAGS="$xorg_testset_save_CFLAGS"
   13682 fi
   13683 
   13684 found="no"
   13685 
   13686 	if test $found = "no" ; then
   13687 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13689 		fi
   13690 
   13691 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13693 		fi
   13694 
   13695 		CFLAGS="$CFLAGS -Wredundant-decls"
   13696 
   13697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13698 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13699 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13700 		if eval \${$cacheid+:} false; then :
   13701   $as_echo_n "(cached) " >&6
   13702 else
   13703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13704 /* end confdefs.h.  */
   13705 int i;
   13706 int
   13707 main ()
   13708 {
   13709 
   13710   ;
   13711   return 0;
   13712 }
   13713 _ACEOF
   13714 if ac_fn_c_try_link "$LINENO"; then :
   13715   eval $cacheid=yes
   13716 else
   13717   eval $cacheid=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext \
   13720     conftest$ac_exeext conftest.$ac_ext
   13721 fi
   13722 
   13723 
   13724 		CFLAGS="$xorg_testset_save_CFLAGS"
   13725 
   13726 		eval supported=\$$cacheid
   13727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13728 $as_echo "$supported" >&6; }
   13729 		if test "$supported" = "yes" ; then
   13730 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13731 			found="yes"
   13732 		fi
   13733 	fi
   13734 
   13735 
   13736 
   13737 # These are currently disabled because they are noisy.  They will be enabled
   13738 # in the future once the codebase is sufficiently modernized to silence
   13739 # them.  For now, I don't want them to drown out the other warnings.
   13740 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13741 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13742 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13743 
   13744 # Turn some warnings into errors, so we don't accidently get successful builds
   13745 # when there are problems that should be fixed.
   13746 
   13747 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 xorg_testset_save_CFLAGS="$CFLAGS"
   13762 
   13763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13766 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13767 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13768   $as_echo_n "(cached) " >&6
   13769 else
   13770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13771 /* end confdefs.h.  */
   13772 int i;
   13773 _ACEOF
   13774 if ac_fn_c_try_compile "$LINENO"; then :
   13775   xorg_cv_cc_flag_unknown_warning_option=yes
   13776 else
   13777   xorg_cv_cc_flag_unknown_warning_option=no
   13778 fi
   13779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13780 fi
   13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13782 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13784 	CFLAGS="$xorg_testset_save_CFLAGS"
   13785 fi
   13786 
   13787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13790 	fi
   13791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13793 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13794 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13795   $as_echo_n "(cached) " >&6
   13796 else
   13797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13798 /* end confdefs.h.  */
   13799 int i;
   13800 _ACEOF
   13801 if ac_fn_c_try_compile "$LINENO"; then :
   13802   xorg_cv_cc_flag_unused_command_line_argument=yes
   13803 else
   13804   xorg_cv_cc_flag_unused_command_line_argument=no
   13805 fi
   13806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13807 fi
   13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13809 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13811 	CFLAGS="$xorg_testset_save_CFLAGS"
   13812 fi
   13813 
   13814 found="no"
   13815 
   13816 	if test $found = "no" ; then
   13817 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13819 		fi
   13820 
   13821 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13823 		fi
   13824 
   13825 		CFLAGS="$CFLAGS -Werror=implicit"
   13826 
   13827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13828 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13829 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13830 		if eval \${$cacheid+:} false; then :
   13831   $as_echo_n "(cached) " >&6
   13832 else
   13833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13834 /* end confdefs.h.  */
   13835 int i;
   13836 int
   13837 main ()
   13838 {
   13839 
   13840   ;
   13841   return 0;
   13842 }
   13843 _ACEOF
   13844 if ac_fn_c_try_link "$LINENO"; then :
   13845   eval $cacheid=yes
   13846 else
   13847   eval $cacheid=no
   13848 fi
   13849 rm -f core conftest.err conftest.$ac_objext \
   13850     conftest$ac_exeext conftest.$ac_ext
   13851 fi
   13852 
   13853 
   13854 		CFLAGS="$xorg_testset_save_CFLAGS"
   13855 
   13856 		eval supported=\$$cacheid
   13857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13858 $as_echo "$supported" >&6; }
   13859 		if test "$supported" = "yes" ; then
   13860 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13861 			found="yes"
   13862 		fi
   13863 	fi
   13864 
   13865 	if test $found = "no" ; then
   13866 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13868 		fi
   13869 
   13870 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13872 		fi
   13873 
   13874 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13875 
   13876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13877 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13878 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13879 		if eval \${$cacheid+:} false; then :
   13880   $as_echo_n "(cached) " >&6
   13881 else
   13882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13883 /* end confdefs.h.  */
   13884 int i;
   13885 int
   13886 main ()
   13887 {
   13888 
   13889   ;
   13890   return 0;
   13891 }
   13892 _ACEOF
   13893 if ac_fn_c_try_link "$LINENO"; then :
   13894   eval $cacheid=yes
   13895 else
   13896   eval $cacheid=no
   13897 fi
   13898 rm -f core conftest.err conftest.$ac_objext \
   13899     conftest$ac_exeext conftest.$ac_ext
   13900 fi
   13901 
   13902 
   13903 		CFLAGS="$xorg_testset_save_CFLAGS"
   13904 
   13905 		eval supported=\$$cacheid
   13906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13907 $as_echo "$supported" >&6; }
   13908 		if test "$supported" = "yes" ; then
   13909 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13910 			found="yes"
   13911 		fi
   13912 	fi
   13913 
   13914 
   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_unknown_warning_option" = "xyes" ; then
   13985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13986 		fi
   13987 
   13988 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13990 		fi
   13991 
   13992 		CFLAGS="$CFLAGS -Werror=nonnull"
   13993 
   13994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13995 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13996 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   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=nonnull"
   14028 			found="yes"
   14029 		fi
   14030 	fi
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 xorg_testset_save_CFLAGS="$CFLAGS"
   14047 
   14048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14053   $as_echo_n "(cached) " >&6
   14054 else
   14055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14056 /* end confdefs.h.  */
   14057 int i;
   14058 _ACEOF
   14059 if ac_fn_c_try_compile "$LINENO"; then :
   14060   xorg_cv_cc_flag_unknown_warning_option=yes
   14061 else
   14062   xorg_cv_cc_flag_unknown_warning_option=no
   14063 fi
   14064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14065 fi
   14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14069 	CFLAGS="$xorg_testset_save_CFLAGS"
   14070 fi
   14071 
   14072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14075 	fi
   14076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14080   $as_echo_n "(cached) " >&6
   14081 else
   14082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14083 /* end confdefs.h.  */
   14084 int i;
   14085 _ACEOF
   14086 if ac_fn_c_try_compile "$LINENO"; then :
   14087   xorg_cv_cc_flag_unused_command_line_argument=yes
   14088 else
   14089   xorg_cv_cc_flag_unused_command_line_argument=no
   14090 fi
   14091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14092 fi
   14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14096 	CFLAGS="$xorg_testset_save_CFLAGS"
   14097 fi
   14098 
   14099 found="no"
   14100 
   14101 	if test $found = "no" ; then
   14102 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14104 		fi
   14105 
   14106 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14108 		fi
   14109 
   14110 		CFLAGS="$CFLAGS -Werror=init-self"
   14111 
   14112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14113 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14114 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14115 		if eval \${$cacheid+:} false; then :
   14116   $as_echo_n "(cached) " >&6
   14117 else
   14118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14119 /* end confdefs.h.  */
   14120 int i;
   14121 int
   14122 main ()
   14123 {
   14124 
   14125   ;
   14126   return 0;
   14127 }
   14128 _ACEOF
   14129 if ac_fn_c_try_link "$LINENO"; then :
   14130   eval $cacheid=yes
   14131 else
   14132   eval $cacheid=no
   14133 fi
   14134 rm -f core conftest.err conftest.$ac_objext \
   14135     conftest$ac_exeext conftest.$ac_ext
   14136 fi
   14137 
   14138 
   14139 		CFLAGS="$xorg_testset_save_CFLAGS"
   14140 
   14141 		eval supported=\$$cacheid
   14142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14143 $as_echo "$supported" >&6; }
   14144 		if test "$supported" = "yes" ; then
   14145 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14146 			found="yes"
   14147 		fi
   14148 	fi
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 xorg_testset_save_CFLAGS="$CFLAGS"
   14165 
   14166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14171   $as_echo_n "(cached) " >&6
   14172 else
   14173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14174 /* end confdefs.h.  */
   14175 int i;
   14176 _ACEOF
   14177 if ac_fn_c_try_compile "$LINENO"; then :
   14178   xorg_cv_cc_flag_unknown_warning_option=yes
   14179 else
   14180   xorg_cv_cc_flag_unknown_warning_option=no
   14181 fi
   14182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14183 fi
   14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14187 	CFLAGS="$xorg_testset_save_CFLAGS"
   14188 fi
   14189 
   14190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14193 	fi
   14194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14198   $as_echo_n "(cached) " >&6
   14199 else
   14200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14201 /* end confdefs.h.  */
   14202 int i;
   14203 _ACEOF
   14204 if ac_fn_c_try_compile "$LINENO"; then :
   14205   xorg_cv_cc_flag_unused_command_line_argument=yes
   14206 else
   14207   xorg_cv_cc_flag_unused_command_line_argument=no
   14208 fi
   14209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14210 fi
   14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14214 	CFLAGS="$xorg_testset_save_CFLAGS"
   14215 fi
   14216 
   14217 found="no"
   14218 
   14219 	if test $found = "no" ; then
   14220 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14222 		fi
   14223 
   14224 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14226 		fi
   14227 
   14228 		CFLAGS="$CFLAGS -Werror=main"
   14229 
   14230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14231 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14232 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14233 		if eval \${$cacheid+:} false; then :
   14234   $as_echo_n "(cached) " >&6
   14235 else
   14236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14237 /* end confdefs.h.  */
   14238 int i;
   14239 int
   14240 main ()
   14241 {
   14242 
   14243   ;
   14244   return 0;
   14245 }
   14246 _ACEOF
   14247 if ac_fn_c_try_link "$LINENO"; then :
   14248   eval $cacheid=yes
   14249 else
   14250   eval $cacheid=no
   14251 fi
   14252 rm -f core conftest.err conftest.$ac_objext \
   14253     conftest$ac_exeext conftest.$ac_ext
   14254 fi
   14255 
   14256 
   14257 		CFLAGS="$xorg_testset_save_CFLAGS"
   14258 
   14259 		eval supported=\$$cacheid
   14260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14261 $as_echo "$supported" >&6; }
   14262 		if test "$supported" = "yes" ; then
   14263 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14264 			found="yes"
   14265 		fi
   14266 	fi
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 xorg_testset_save_CFLAGS="$CFLAGS"
   14283 
   14284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14289   $as_echo_n "(cached) " >&6
   14290 else
   14291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14292 /* end confdefs.h.  */
   14293 int i;
   14294 _ACEOF
   14295 if ac_fn_c_try_compile "$LINENO"; then :
   14296   xorg_cv_cc_flag_unknown_warning_option=yes
   14297 else
   14298   xorg_cv_cc_flag_unknown_warning_option=no
   14299 fi
   14300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14301 fi
   14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14305 	CFLAGS="$xorg_testset_save_CFLAGS"
   14306 fi
   14307 
   14308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14311 	fi
   14312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14316   $as_echo_n "(cached) " >&6
   14317 else
   14318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14319 /* end confdefs.h.  */
   14320 int i;
   14321 _ACEOF
   14322 if ac_fn_c_try_compile "$LINENO"; then :
   14323   xorg_cv_cc_flag_unused_command_line_argument=yes
   14324 else
   14325   xorg_cv_cc_flag_unused_command_line_argument=no
   14326 fi
   14327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14328 fi
   14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14332 	CFLAGS="$xorg_testset_save_CFLAGS"
   14333 fi
   14334 
   14335 found="no"
   14336 
   14337 	if test $found = "no" ; then
   14338 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14340 		fi
   14341 
   14342 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14344 		fi
   14345 
   14346 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14347 
   14348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14349 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14350 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14351 		if eval \${$cacheid+:} false; then :
   14352   $as_echo_n "(cached) " >&6
   14353 else
   14354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14355 /* end confdefs.h.  */
   14356 int i;
   14357 int
   14358 main ()
   14359 {
   14360 
   14361   ;
   14362   return 0;
   14363 }
   14364 _ACEOF
   14365 if ac_fn_c_try_link "$LINENO"; then :
   14366   eval $cacheid=yes
   14367 else
   14368   eval $cacheid=no
   14369 fi
   14370 rm -f core conftest.err conftest.$ac_objext \
   14371     conftest$ac_exeext conftest.$ac_ext
   14372 fi
   14373 
   14374 
   14375 		CFLAGS="$xorg_testset_save_CFLAGS"
   14376 
   14377 		eval supported=\$$cacheid
   14378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14379 $as_echo "$supported" >&6; }
   14380 		if test "$supported" = "yes" ; then
   14381 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14382 			found="yes"
   14383 		fi
   14384 	fi
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 xorg_testset_save_CFLAGS="$CFLAGS"
   14401 
   14402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14407   $as_echo_n "(cached) " >&6
   14408 else
   14409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14410 /* end confdefs.h.  */
   14411 int i;
   14412 _ACEOF
   14413 if ac_fn_c_try_compile "$LINENO"; then :
   14414   xorg_cv_cc_flag_unknown_warning_option=yes
   14415 else
   14416   xorg_cv_cc_flag_unknown_warning_option=no
   14417 fi
   14418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14419 fi
   14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14423 	CFLAGS="$xorg_testset_save_CFLAGS"
   14424 fi
   14425 
   14426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14429 	fi
   14430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14434   $as_echo_n "(cached) " >&6
   14435 else
   14436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14437 /* end confdefs.h.  */
   14438 int i;
   14439 _ACEOF
   14440 if ac_fn_c_try_compile "$LINENO"; then :
   14441   xorg_cv_cc_flag_unused_command_line_argument=yes
   14442 else
   14443   xorg_cv_cc_flag_unused_command_line_argument=no
   14444 fi
   14445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14446 fi
   14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14450 	CFLAGS="$xorg_testset_save_CFLAGS"
   14451 fi
   14452 
   14453 found="no"
   14454 
   14455 	if test $found = "no" ; then
   14456 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14458 		fi
   14459 
   14460 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14462 		fi
   14463 
   14464 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14465 
   14466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14467 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14468 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14469 		if eval \${$cacheid+:} false; then :
   14470   $as_echo_n "(cached) " >&6
   14471 else
   14472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14473 /* end confdefs.h.  */
   14474 int i;
   14475 int
   14476 main ()
   14477 {
   14478 
   14479   ;
   14480   return 0;
   14481 }
   14482 _ACEOF
   14483 if ac_fn_c_try_link "$LINENO"; then :
   14484   eval $cacheid=yes
   14485 else
   14486   eval $cacheid=no
   14487 fi
   14488 rm -f core conftest.err conftest.$ac_objext \
   14489     conftest$ac_exeext conftest.$ac_ext
   14490 fi
   14491 
   14492 
   14493 		CFLAGS="$xorg_testset_save_CFLAGS"
   14494 
   14495 		eval supported=\$$cacheid
   14496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14497 $as_echo "$supported" >&6; }
   14498 		if test "$supported" = "yes" ; then
   14499 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14500 			found="yes"
   14501 		fi
   14502 	fi
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 xorg_testset_save_CFLAGS="$CFLAGS"
   14519 
   14520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14525   $as_echo_n "(cached) " >&6
   14526 else
   14527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14528 /* end confdefs.h.  */
   14529 int i;
   14530 _ACEOF
   14531 if ac_fn_c_try_compile "$LINENO"; then :
   14532   xorg_cv_cc_flag_unknown_warning_option=yes
   14533 else
   14534   xorg_cv_cc_flag_unknown_warning_option=no
   14535 fi
   14536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14537 fi
   14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14541 	CFLAGS="$xorg_testset_save_CFLAGS"
   14542 fi
   14543 
   14544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14547 	fi
   14548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14552   $as_echo_n "(cached) " >&6
   14553 else
   14554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14555 /* end confdefs.h.  */
   14556 int i;
   14557 _ACEOF
   14558 if ac_fn_c_try_compile "$LINENO"; then :
   14559   xorg_cv_cc_flag_unused_command_line_argument=yes
   14560 else
   14561   xorg_cv_cc_flag_unused_command_line_argument=no
   14562 fi
   14563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14564 fi
   14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14568 	CFLAGS="$xorg_testset_save_CFLAGS"
   14569 fi
   14570 
   14571 found="no"
   14572 
   14573 	if test $found = "no" ; then
   14574 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14576 		fi
   14577 
   14578 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14580 		fi
   14581 
   14582 		CFLAGS="$CFLAGS -Werror=return-type"
   14583 
   14584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14585 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14586 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14587 		if eval \${$cacheid+:} false; then :
   14588   $as_echo_n "(cached) " >&6
   14589 else
   14590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14591 /* end confdefs.h.  */
   14592 int i;
   14593 int
   14594 main ()
   14595 {
   14596 
   14597   ;
   14598   return 0;
   14599 }
   14600 _ACEOF
   14601 if ac_fn_c_try_link "$LINENO"; then :
   14602   eval $cacheid=yes
   14603 else
   14604   eval $cacheid=no
   14605 fi
   14606 rm -f core conftest.err conftest.$ac_objext \
   14607     conftest$ac_exeext conftest.$ac_ext
   14608 fi
   14609 
   14610 
   14611 		CFLAGS="$xorg_testset_save_CFLAGS"
   14612 
   14613 		eval supported=\$$cacheid
   14614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14615 $as_echo "$supported" >&6; }
   14616 		if test "$supported" = "yes" ; then
   14617 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14618 			found="yes"
   14619 		fi
   14620 	fi
   14621 
   14622 	if test $found = "no" ; then
   14623 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14625 		fi
   14626 
   14627 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14629 		fi
   14630 
   14631 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14632 
   14633 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14634 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14635 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   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 -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   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_unknown_warning_option" = "xyes" ; then
   14742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14743 		fi
   14744 
   14745 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14747 		fi
   14748 
   14749 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14750 
   14751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14752 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14753 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   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=trigraphs"
   14785 			found="yes"
   14786 		fi
   14787 	fi
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 xorg_testset_save_CFLAGS="$CFLAGS"
   14804 
   14805 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14808 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14809 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14810   $as_echo_n "(cached) " >&6
   14811 else
   14812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14813 /* end confdefs.h.  */
   14814 int i;
   14815 _ACEOF
   14816 if ac_fn_c_try_compile "$LINENO"; then :
   14817   xorg_cv_cc_flag_unknown_warning_option=yes
   14818 else
   14819   xorg_cv_cc_flag_unknown_warning_option=no
   14820 fi
   14821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14822 fi
   14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14824 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14826 	CFLAGS="$xorg_testset_save_CFLAGS"
   14827 fi
   14828 
   14829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14832 	fi
   14833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14835 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14836 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14837   $as_echo_n "(cached) " >&6
   14838 else
   14839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14840 /* end confdefs.h.  */
   14841 int i;
   14842 _ACEOF
   14843 if ac_fn_c_try_compile "$LINENO"; then :
   14844   xorg_cv_cc_flag_unused_command_line_argument=yes
   14845 else
   14846   xorg_cv_cc_flag_unused_command_line_argument=no
   14847 fi
   14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14849 fi
   14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14851 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14853 	CFLAGS="$xorg_testset_save_CFLAGS"
   14854 fi
   14855 
   14856 found="no"
   14857 
   14858 	if test $found = "no" ; then
   14859 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14861 		fi
   14862 
   14863 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14865 		fi
   14866 
   14867 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14868 
   14869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14870 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14871 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14872 		if eval \${$cacheid+:} false; then :
   14873   $as_echo_n "(cached) " >&6
   14874 else
   14875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14876 /* end confdefs.h.  */
   14877 int i;
   14878 int
   14879 main ()
   14880 {
   14881 
   14882   ;
   14883   return 0;
   14884 }
   14885 _ACEOF
   14886 if ac_fn_c_try_link "$LINENO"; then :
   14887   eval $cacheid=yes
   14888 else
   14889   eval $cacheid=no
   14890 fi
   14891 rm -f core conftest.err conftest.$ac_objext \
   14892     conftest$ac_exeext conftest.$ac_ext
   14893 fi
   14894 
   14895 
   14896 		CFLAGS="$xorg_testset_save_CFLAGS"
   14897 
   14898 		eval supported=\$$cacheid
   14899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14900 $as_echo "$supported" >&6; }
   14901 		if test "$supported" = "yes" ; then
   14902 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14903 			found="yes"
   14904 		fi
   14905 	fi
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 xorg_testset_save_CFLAGS="$CFLAGS"
   14922 
   14923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14928   $as_echo_n "(cached) " >&6
   14929 else
   14930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14931 /* end confdefs.h.  */
   14932 int i;
   14933 _ACEOF
   14934 if ac_fn_c_try_compile "$LINENO"; then :
   14935   xorg_cv_cc_flag_unknown_warning_option=yes
   14936 else
   14937   xorg_cv_cc_flag_unknown_warning_option=no
   14938 fi
   14939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14940 fi
   14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14944 	CFLAGS="$xorg_testset_save_CFLAGS"
   14945 fi
   14946 
   14947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14950 	fi
   14951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14955   $as_echo_n "(cached) " >&6
   14956 else
   14957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14958 /* end confdefs.h.  */
   14959 int i;
   14960 _ACEOF
   14961 if ac_fn_c_try_compile "$LINENO"; then :
   14962   xorg_cv_cc_flag_unused_command_line_argument=yes
   14963 else
   14964   xorg_cv_cc_flag_unused_command_line_argument=no
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14967 fi
   14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14971 	CFLAGS="$xorg_testset_save_CFLAGS"
   14972 fi
   14973 
   14974 found="no"
   14975 
   14976 	if test $found = "no" ; then
   14977 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14979 		fi
   14980 
   14981 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14983 		fi
   14984 
   14985 		CFLAGS="$CFLAGS -Werror=write-strings"
   14986 
   14987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14988 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14989 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   14990 		if eval \${$cacheid+:} false; then :
   14991   $as_echo_n "(cached) " >&6
   14992 else
   14993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14994 /* end confdefs.h.  */
   14995 int i;
   14996 int
   14997 main ()
   14998 {
   14999 
   15000   ;
   15001   return 0;
   15002 }
   15003 _ACEOF
   15004 if ac_fn_c_try_link "$LINENO"; then :
   15005   eval $cacheid=yes
   15006 else
   15007   eval $cacheid=no
   15008 fi
   15009 rm -f core conftest.err conftest.$ac_objext \
   15010     conftest$ac_exeext conftest.$ac_ext
   15011 fi
   15012 
   15013 
   15014 		CFLAGS="$xorg_testset_save_CFLAGS"
   15015 
   15016 		eval supported=\$$cacheid
   15017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15018 $as_echo "$supported" >&6; }
   15019 		if test "$supported" = "yes" ; then
   15020 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15021 			found="yes"
   15022 		fi
   15023 	fi
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 xorg_testset_save_CFLAGS="$CFLAGS"
   15040 
   15041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15046   $as_echo_n "(cached) " >&6
   15047 else
   15048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15049 /* end confdefs.h.  */
   15050 int i;
   15051 _ACEOF
   15052 if ac_fn_c_try_compile "$LINENO"; then :
   15053   xorg_cv_cc_flag_unknown_warning_option=yes
   15054 else
   15055   xorg_cv_cc_flag_unknown_warning_option=no
   15056 fi
   15057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15058 fi
   15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15062 	CFLAGS="$xorg_testset_save_CFLAGS"
   15063 fi
   15064 
   15065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15068 	fi
   15069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15073   $as_echo_n "(cached) " >&6
   15074 else
   15075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15076 /* end confdefs.h.  */
   15077 int i;
   15078 _ACEOF
   15079 if ac_fn_c_try_compile "$LINENO"; then :
   15080   xorg_cv_cc_flag_unused_command_line_argument=yes
   15081 else
   15082   xorg_cv_cc_flag_unused_command_line_argument=no
   15083 fi
   15084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15085 fi
   15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15089 	CFLAGS="$xorg_testset_save_CFLAGS"
   15090 fi
   15091 
   15092 found="no"
   15093 
   15094 	if test $found = "no" ; then
   15095 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15097 		fi
   15098 
   15099 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15101 		fi
   15102 
   15103 		CFLAGS="$CFLAGS -Werror=address"
   15104 
   15105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15106 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15107 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15108 		if eval \${$cacheid+:} false; then :
   15109   $as_echo_n "(cached) " >&6
   15110 else
   15111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15112 /* end confdefs.h.  */
   15113 int i;
   15114 int
   15115 main ()
   15116 {
   15117 
   15118   ;
   15119   return 0;
   15120 }
   15121 _ACEOF
   15122 if ac_fn_c_try_link "$LINENO"; then :
   15123   eval $cacheid=yes
   15124 else
   15125   eval $cacheid=no
   15126 fi
   15127 rm -f core conftest.err conftest.$ac_objext \
   15128     conftest$ac_exeext conftest.$ac_ext
   15129 fi
   15130 
   15131 
   15132 		CFLAGS="$xorg_testset_save_CFLAGS"
   15133 
   15134 		eval supported=\$$cacheid
   15135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15136 $as_echo "$supported" >&6; }
   15137 		if test "$supported" = "yes" ; then
   15138 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15139 			found="yes"
   15140 		fi
   15141 	fi
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 xorg_testset_save_CFLAGS="$CFLAGS"
   15158 
   15159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15164   $as_echo_n "(cached) " >&6
   15165 else
   15166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15167 /* end confdefs.h.  */
   15168 int i;
   15169 _ACEOF
   15170 if ac_fn_c_try_compile "$LINENO"; then :
   15171   xorg_cv_cc_flag_unknown_warning_option=yes
   15172 else
   15173   xorg_cv_cc_flag_unknown_warning_option=no
   15174 fi
   15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15176 fi
   15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15180 	CFLAGS="$xorg_testset_save_CFLAGS"
   15181 fi
   15182 
   15183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15186 	fi
   15187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15191   $as_echo_n "(cached) " >&6
   15192 else
   15193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15194 /* end confdefs.h.  */
   15195 int i;
   15196 _ACEOF
   15197 if ac_fn_c_try_compile "$LINENO"; then :
   15198   xorg_cv_cc_flag_unused_command_line_argument=yes
   15199 else
   15200   xorg_cv_cc_flag_unused_command_line_argument=no
   15201 fi
   15202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15203 fi
   15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15207 	CFLAGS="$xorg_testset_save_CFLAGS"
   15208 fi
   15209 
   15210 found="no"
   15211 
   15212 	if test $found = "no" ; then
   15213 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15215 		fi
   15216 
   15217 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15219 		fi
   15220 
   15221 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15222 
   15223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15224 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15225 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15226 		if eval \${$cacheid+:} false; then :
   15227   $as_echo_n "(cached) " >&6
   15228 else
   15229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15230 /* end confdefs.h.  */
   15231 int i;
   15232 int
   15233 main ()
   15234 {
   15235 
   15236   ;
   15237   return 0;
   15238 }
   15239 _ACEOF
   15240 if ac_fn_c_try_link "$LINENO"; then :
   15241   eval $cacheid=yes
   15242 else
   15243   eval $cacheid=no
   15244 fi
   15245 rm -f core conftest.err conftest.$ac_objext \
   15246     conftest$ac_exeext conftest.$ac_ext
   15247 fi
   15248 
   15249 
   15250 		CFLAGS="$xorg_testset_save_CFLAGS"
   15251 
   15252 		eval supported=\$$cacheid
   15253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15254 $as_echo "$supported" >&6; }
   15255 		if test "$supported" = "yes" ; then
   15256 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15257 			found="yes"
   15258 		fi
   15259 	fi
   15260 
   15261 	if test $found = "no" ; then
   15262 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15264 		fi
   15265 
   15266 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15268 		fi
   15269 
   15270 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15271 
   15272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15273 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15274 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   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 -errwarn=E_BAD_PTR_INT_COMBINATION"
   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_unknown_warning_option" = "xyes" ; then
   15381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15382 		fi
   15383 
   15384 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15386 		fi
   15387 
   15388 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15389 
   15390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15391 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15392 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   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=pointer-to-int-cast"
   15424 			found="yes"
   15425 		fi
   15426 	fi
   15427 
   15428  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15429 else
   15430 { $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
   15431 $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;}
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 
   15444 
   15445 xorg_testset_save_CFLAGS="$CFLAGS"
   15446 
   15447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15450 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15451 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15452   $as_echo_n "(cached) " >&6
   15453 else
   15454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15455 /* end confdefs.h.  */
   15456 int i;
   15457 _ACEOF
   15458 if ac_fn_c_try_compile "$LINENO"; then :
   15459   xorg_cv_cc_flag_unknown_warning_option=yes
   15460 else
   15461   xorg_cv_cc_flag_unknown_warning_option=no
   15462 fi
   15463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15464 fi
   15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15466 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15468 	CFLAGS="$xorg_testset_save_CFLAGS"
   15469 fi
   15470 
   15471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15474 	fi
   15475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15477 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15478 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15479   $as_echo_n "(cached) " >&6
   15480 else
   15481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15482 /* end confdefs.h.  */
   15483 int i;
   15484 _ACEOF
   15485 if ac_fn_c_try_compile "$LINENO"; then :
   15486   xorg_cv_cc_flag_unused_command_line_argument=yes
   15487 else
   15488   xorg_cv_cc_flag_unused_command_line_argument=no
   15489 fi
   15490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15491 fi
   15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15493 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15495 	CFLAGS="$xorg_testset_save_CFLAGS"
   15496 fi
   15497 
   15498 found="no"
   15499 
   15500 	if test $found = "no" ; then
   15501 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15503 		fi
   15504 
   15505 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15507 		fi
   15508 
   15509 		CFLAGS="$CFLAGS -Wimplicit"
   15510 
   15511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15512 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15513 		cacheid=xorg_cv_cc_flag__Wimplicit
   15514 		if eval \${$cacheid+:} false; then :
   15515   $as_echo_n "(cached) " >&6
   15516 else
   15517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15518 /* end confdefs.h.  */
   15519 int i;
   15520 int
   15521 main ()
   15522 {
   15523 
   15524   ;
   15525   return 0;
   15526 }
   15527 _ACEOF
   15528 if ac_fn_c_try_link "$LINENO"; then :
   15529   eval $cacheid=yes
   15530 else
   15531   eval $cacheid=no
   15532 fi
   15533 rm -f core conftest.err conftest.$ac_objext \
   15534     conftest$ac_exeext conftest.$ac_ext
   15535 fi
   15536 
   15537 
   15538 		CFLAGS="$xorg_testset_save_CFLAGS"
   15539 
   15540 		eval supported=\$$cacheid
   15541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15542 $as_echo "$supported" >&6; }
   15543 		if test "$supported" = "yes" ; then
   15544 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15545 			found="yes"
   15546 		fi
   15547 	fi
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 xorg_testset_save_CFLAGS="$CFLAGS"
   15564 
   15565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15568 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15569 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15570   $as_echo_n "(cached) " >&6
   15571 else
   15572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15573 /* end confdefs.h.  */
   15574 int i;
   15575 _ACEOF
   15576 if ac_fn_c_try_compile "$LINENO"; then :
   15577   xorg_cv_cc_flag_unknown_warning_option=yes
   15578 else
   15579   xorg_cv_cc_flag_unknown_warning_option=no
   15580 fi
   15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15582 fi
   15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15584 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15586 	CFLAGS="$xorg_testset_save_CFLAGS"
   15587 fi
   15588 
   15589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15592 	fi
   15593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15595 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15596 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15597   $as_echo_n "(cached) " >&6
   15598 else
   15599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15600 /* end confdefs.h.  */
   15601 int i;
   15602 _ACEOF
   15603 if ac_fn_c_try_compile "$LINENO"; then :
   15604   xorg_cv_cc_flag_unused_command_line_argument=yes
   15605 else
   15606   xorg_cv_cc_flag_unused_command_line_argument=no
   15607 fi
   15608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15609 fi
   15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15611 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15613 	CFLAGS="$xorg_testset_save_CFLAGS"
   15614 fi
   15615 
   15616 found="no"
   15617 
   15618 	if test $found = "no" ; then
   15619 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15621 		fi
   15622 
   15623 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15625 		fi
   15626 
   15627 		CFLAGS="$CFLAGS -Wnonnull"
   15628 
   15629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15630 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15631 		cacheid=xorg_cv_cc_flag__Wnonnull
   15632 		if eval \${$cacheid+:} false; then :
   15633   $as_echo_n "(cached) " >&6
   15634 else
   15635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15636 /* end confdefs.h.  */
   15637 int i;
   15638 int
   15639 main ()
   15640 {
   15641 
   15642   ;
   15643   return 0;
   15644 }
   15645 _ACEOF
   15646 if ac_fn_c_try_link "$LINENO"; then :
   15647   eval $cacheid=yes
   15648 else
   15649   eval $cacheid=no
   15650 fi
   15651 rm -f core conftest.err conftest.$ac_objext \
   15652     conftest$ac_exeext conftest.$ac_ext
   15653 fi
   15654 
   15655 
   15656 		CFLAGS="$xorg_testset_save_CFLAGS"
   15657 
   15658 		eval supported=\$$cacheid
   15659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15660 $as_echo "$supported" >&6; }
   15661 		if test "$supported" = "yes" ; then
   15662 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15663 			found="yes"
   15664 		fi
   15665 	fi
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 xorg_testset_save_CFLAGS="$CFLAGS"
   15682 
   15683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15688   $as_echo_n "(cached) " >&6
   15689 else
   15690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15691 /* end confdefs.h.  */
   15692 int i;
   15693 _ACEOF
   15694 if ac_fn_c_try_compile "$LINENO"; then :
   15695   xorg_cv_cc_flag_unknown_warning_option=yes
   15696 else
   15697   xorg_cv_cc_flag_unknown_warning_option=no
   15698 fi
   15699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15700 fi
   15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15704 	CFLAGS="$xorg_testset_save_CFLAGS"
   15705 fi
   15706 
   15707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15710 	fi
   15711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15715   $as_echo_n "(cached) " >&6
   15716 else
   15717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15718 /* end confdefs.h.  */
   15719 int i;
   15720 _ACEOF
   15721 if ac_fn_c_try_compile "$LINENO"; then :
   15722   xorg_cv_cc_flag_unused_command_line_argument=yes
   15723 else
   15724   xorg_cv_cc_flag_unused_command_line_argument=no
   15725 fi
   15726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15727 fi
   15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15731 	CFLAGS="$xorg_testset_save_CFLAGS"
   15732 fi
   15733 
   15734 found="no"
   15735 
   15736 	if test $found = "no" ; then
   15737 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15739 		fi
   15740 
   15741 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15743 		fi
   15744 
   15745 		CFLAGS="$CFLAGS -Winit-self"
   15746 
   15747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15748 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15749 		cacheid=xorg_cv_cc_flag__Winit_self
   15750 		if eval \${$cacheid+:} false; then :
   15751   $as_echo_n "(cached) " >&6
   15752 else
   15753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15754 /* end confdefs.h.  */
   15755 int i;
   15756 int
   15757 main ()
   15758 {
   15759 
   15760   ;
   15761   return 0;
   15762 }
   15763 _ACEOF
   15764 if ac_fn_c_try_link "$LINENO"; then :
   15765   eval $cacheid=yes
   15766 else
   15767   eval $cacheid=no
   15768 fi
   15769 rm -f core conftest.err conftest.$ac_objext \
   15770     conftest$ac_exeext conftest.$ac_ext
   15771 fi
   15772 
   15773 
   15774 		CFLAGS="$xorg_testset_save_CFLAGS"
   15775 
   15776 		eval supported=\$$cacheid
   15777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15778 $as_echo "$supported" >&6; }
   15779 		if test "$supported" = "yes" ; then
   15780 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15781 			found="yes"
   15782 		fi
   15783 	fi
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 xorg_testset_save_CFLAGS="$CFLAGS"
   15800 
   15801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15806   $as_echo_n "(cached) " >&6
   15807 else
   15808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15809 /* end confdefs.h.  */
   15810 int i;
   15811 _ACEOF
   15812 if ac_fn_c_try_compile "$LINENO"; then :
   15813   xorg_cv_cc_flag_unknown_warning_option=yes
   15814 else
   15815   xorg_cv_cc_flag_unknown_warning_option=no
   15816 fi
   15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15818 fi
   15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15822 	CFLAGS="$xorg_testset_save_CFLAGS"
   15823 fi
   15824 
   15825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15828 	fi
   15829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15833   $as_echo_n "(cached) " >&6
   15834 else
   15835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15836 /* end confdefs.h.  */
   15837 int i;
   15838 _ACEOF
   15839 if ac_fn_c_try_compile "$LINENO"; then :
   15840   xorg_cv_cc_flag_unused_command_line_argument=yes
   15841 else
   15842   xorg_cv_cc_flag_unused_command_line_argument=no
   15843 fi
   15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15845 fi
   15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15849 	CFLAGS="$xorg_testset_save_CFLAGS"
   15850 fi
   15851 
   15852 found="no"
   15853 
   15854 	if test $found = "no" ; then
   15855 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15857 		fi
   15858 
   15859 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15861 		fi
   15862 
   15863 		CFLAGS="$CFLAGS -Wmain"
   15864 
   15865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15866 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15867 		cacheid=xorg_cv_cc_flag__Wmain
   15868 		if eval \${$cacheid+:} false; then :
   15869   $as_echo_n "(cached) " >&6
   15870 else
   15871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15872 /* end confdefs.h.  */
   15873 int i;
   15874 int
   15875 main ()
   15876 {
   15877 
   15878   ;
   15879   return 0;
   15880 }
   15881 _ACEOF
   15882 if ac_fn_c_try_link "$LINENO"; then :
   15883   eval $cacheid=yes
   15884 else
   15885   eval $cacheid=no
   15886 fi
   15887 rm -f core conftest.err conftest.$ac_objext \
   15888     conftest$ac_exeext conftest.$ac_ext
   15889 fi
   15890 
   15891 
   15892 		CFLAGS="$xorg_testset_save_CFLAGS"
   15893 
   15894 		eval supported=\$$cacheid
   15895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15896 $as_echo "$supported" >&6; }
   15897 		if test "$supported" = "yes" ; then
   15898 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15899 			found="yes"
   15900 		fi
   15901 	fi
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 xorg_testset_save_CFLAGS="$CFLAGS"
   15918 
   15919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15924   $as_echo_n "(cached) " >&6
   15925 else
   15926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15927 /* end confdefs.h.  */
   15928 int i;
   15929 _ACEOF
   15930 if ac_fn_c_try_compile "$LINENO"; then :
   15931   xorg_cv_cc_flag_unknown_warning_option=yes
   15932 else
   15933   xorg_cv_cc_flag_unknown_warning_option=no
   15934 fi
   15935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15936 fi
   15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15940 	CFLAGS="$xorg_testset_save_CFLAGS"
   15941 fi
   15942 
   15943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15946 	fi
   15947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15951   $as_echo_n "(cached) " >&6
   15952 else
   15953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15954 /* end confdefs.h.  */
   15955 int i;
   15956 _ACEOF
   15957 if ac_fn_c_try_compile "$LINENO"; then :
   15958   xorg_cv_cc_flag_unused_command_line_argument=yes
   15959 else
   15960   xorg_cv_cc_flag_unused_command_line_argument=no
   15961 fi
   15962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15963 fi
   15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15967 	CFLAGS="$xorg_testset_save_CFLAGS"
   15968 fi
   15969 
   15970 found="no"
   15971 
   15972 	if test $found = "no" ; then
   15973 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15975 		fi
   15976 
   15977 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15979 		fi
   15980 
   15981 		CFLAGS="$CFLAGS -Wmissing-braces"
   15982 
   15983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15984 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15985 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   15986 		if eval \${$cacheid+:} false; then :
   15987   $as_echo_n "(cached) " >&6
   15988 else
   15989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15990 /* end confdefs.h.  */
   15991 int i;
   15992 int
   15993 main ()
   15994 {
   15995 
   15996   ;
   15997   return 0;
   15998 }
   15999 _ACEOF
   16000 if ac_fn_c_try_link "$LINENO"; then :
   16001   eval $cacheid=yes
   16002 else
   16003   eval $cacheid=no
   16004 fi
   16005 rm -f core conftest.err conftest.$ac_objext \
   16006     conftest$ac_exeext conftest.$ac_ext
   16007 fi
   16008 
   16009 
   16010 		CFLAGS="$xorg_testset_save_CFLAGS"
   16011 
   16012 		eval supported=\$$cacheid
   16013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16014 $as_echo "$supported" >&6; }
   16015 		if test "$supported" = "yes" ; then
   16016 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16017 			found="yes"
   16018 		fi
   16019 	fi
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 xorg_testset_save_CFLAGS="$CFLAGS"
   16036 
   16037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16042   $as_echo_n "(cached) " >&6
   16043 else
   16044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16045 /* end confdefs.h.  */
   16046 int i;
   16047 _ACEOF
   16048 if ac_fn_c_try_compile "$LINENO"; then :
   16049   xorg_cv_cc_flag_unknown_warning_option=yes
   16050 else
   16051   xorg_cv_cc_flag_unknown_warning_option=no
   16052 fi
   16053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16054 fi
   16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16058 	CFLAGS="$xorg_testset_save_CFLAGS"
   16059 fi
   16060 
   16061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16064 	fi
   16065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16069   $as_echo_n "(cached) " >&6
   16070 else
   16071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16072 /* end confdefs.h.  */
   16073 int i;
   16074 _ACEOF
   16075 if ac_fn_c_try_compile "$LINENO"; then :
   16076   xorg_cv_cc_flag_unused_command_line_argument=yes
   16077 else
   16078   xorg_cv_cc_flag_unused_command_line_argument=no
   16079 fi
   16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16081 fi
   16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16085 	CFLAGS="$xorg_testset_save_CFLAGS"
   16086 fi
   16087 
   16088 found="no"
   16089 
   16090 	if test $found = "no" ; then
   16091 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16093 		fi
   16094 
   16095 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16097 		fi
   16098 
   16099 		CFLAGS="$CFLAGS -Wsequence-point"
   16100 
   16101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16102 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16103 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16104 		if eval \${$cacheid+:} false; then :
   16105   $as_echo_n "(cached) " >&6
   16106 else
   16107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16108 /* end confdefs.h.  */
   16109 int i;
   16110 int
   16111 main ()
   16112 {
   16113 
   16114   ;
   16115   return 0;
   16116 }
   16117 _ACEOF
   16118 if ac_fn_c_try_link "$LINENO"; then :
   16119   eval $cacheid=yes
   16120 else
   16121   eval $cacheid=no
   16122 fi
   16123 rm -f core conftest.err conftest.$ac_objext \
   16124     conftest$ac_exeext conftest.$ac_ext
   16125 fi
   16126 
   16127 
   16128 		CFLAGS="$xorg_testset_save_CFLAGS"
   16129 
   16130 		eval supported=\$$cacheid
   16131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16132 $as_echo "$supported" >&6; }
   16133 		if test "$supported" = "yes" ; then
   16134 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16135 			found="yes"
   16136 		fi
   16137 	fi
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 xorg_testset_save_CFLAGS="$CFLAGS"
   16154 
   16155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16160   $as_echo_n "(cached) " >&6
   16161 else
   16162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16163 /* end confdefs.h.  */
   16164 int i;
   16165 _ACEOF
   16166 if ac_fn_c_try_compile "$LINENO"; then :
   16167   xorg_cv_cc_flag_unknown_warning_option=yes
   16168 else
   16169   xorg_cv_cc_flag_unknown_warning_option=no
   16170 fi
   16171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16172 fi
   16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16176 	CFLAGS="$xorg_testset_save_CFLAGS"
   16177 fi
   16178 
   16179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16182 	fi
   16183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16187   $as_echo_n "(cached) " >&6
   16188 else
   16189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16190 /* end confdefs.h.  */
   16191 int i;
   16192 _ACEOF
   16193 if ac_fn_c_try_compile "$LINENO"; then :
   16194   xorg_cv_cc_flag_unused_command_line_argument=yes
   16195 else
   16196   xorg_cv_cc_flag_unused_command_line_argument=no
   16197 fi
   16198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16199 fi
   16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16203 	CFLAGS="$xorg_testset_save_CFLAGS"
   16204 fi
   16205 
   16206 found="no"
   16207 
   16208 	if test $found = "no" ; then
   16209 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16211 		fi
   16212 
   16213 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16215 		fi
   16216 
   16217 		CFLAGS="$CFLAGS -Wreturn-type"
   16218 
   16219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16220 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16221 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16222 		if eval \${$cacheid+:} false; then :
   16223   $as_echo_n "(cached) " >&6
   16224 else
   16225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16226 /* end confdefs.h.  */
   16227 int i;
   16228 int
   16229 main ()
   16230 {
   16231 
   16232   ;
   16233   return 0;
   16234 }
   16235 _ACEOF
   16236 if ac_fn_c_try_link "$LINENO"; then :
   16237   eval $cacheid=yes
   16238 else
   16239   eval $cacheid=no
   16240 fi
   16241 rm -f core conftest.err conftest.$ac_objext \
   16242     conftest$ac_exeext conftest.$ac_ext
   16243 fi
   16244 
   16245 
   16246 		CFLAGS="$xorg_testset_save_CFLAGS"
   16247 
   16248 		eval supported=\$$cacheid
   16249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16250 $as_echo "$supported" >&6; }
   16251 		if test "$supported" = "yes" ; then
   16252 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16253 			found="yes"
   16254 		fi
   16255 	fi
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 xorg_testset_save_CFLAGS="$CFLAGS"
   16272 
   16273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16278   $as_echo_n "(cached) " >&6
   16279 else
   16280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16281 /* end confdefs.h.  */
   16282 int i;
   16283 _ACEOF
   16284 if ac_fn_c_try_compile "$LINENO"; then :
   16285   xorg_cv_cc_flag_unknown_warning_option=yes
   16286 else
   16287   xorg_cv_cc_flag_unknown_warning_option=no
   16288 fi
   16289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16290 fi
   16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16294 	CFLAGS="$xorg_testset_save_CFLAGS"
   16295 fi
   16296 
   16297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16300 	fi
   16301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16305   $as_echo_n "(cached) " >&6
   16306 else
   16307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16308 /* end confdefs.h.  */
   16309 int i;
   16310 _ACEOF
   16311 if ac_fn_c_try_compile "$LINENO"; then :
   16312   xorg_cv_cc_flag_unused_command_line_argument=yes
   16313 else
   16314   xorg_cv_cc_flag_unused_command_line_argument=no
   16315 fi
   16316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16317 fi
   16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16321 	CFLAGS="$xorg_testset_save_CFLAGS"
   16322 fi
   16323 
   16324 found="no"
   16325 
   16326 	if test $found = "no" ; then
   16327 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16329 		fi
   16330 
   16331 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16333 		fi
   16334 
   16335 		CFLAGS="$CFLAGS -Wtrigraphs"
   16336 
   16337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16338 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16339 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16340 		if eval \${$cacheid+:} false; then :
   16341   $as_echo_n "(cached) " >&6
   16342 else
   16343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16344 /* end confdefs.h.  */
   16345 int i;
   16346 int
   16347 main ()
   16348 {
   16349 
   16350   ;
   16351   return 0;
   16352 }
   16353 _ACEOF
   16354 if ac_fn_c_try_link "$LINENO"; then :
   16355   eval $cacheid=yes
   16356 else
   16357   eval $cacheid=no
   16358 fi
   16359 rm -f core conftest.err conftest.$ac_objext \
   16360     conftest$ac_exeext conftest.$ac_ext
   16361 fi
   16362 
   16363 
   16364 		CFLAGS="$xorg_testset_save_CFLAGS"
   16365 
   16366 		eval supported=\$$cacheid
   16367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16368 $as_echo "$supported" >&6; }
   16369 		if test "$supported" = "yes" ; then
   16370 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16371 			found="yes"
   16372 		fi
   16373 	fi
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 xorg_testset_save_CFLAGS="$CFLAGS"
   16390 
   16391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16394 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16395 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16396   $as_echo_n "(cached) " >&6
   16397 else
   16398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16399 /* end confdefs.h.  */
   16400 int i;
   16401 _ACEOF
   16402 if ac_fn_c_try_compile "$LINENO"; then :
   16403   xorg_cv_cc_flag_unknown_warning_option=yes
   16404 else
   16405   xorg_cv_cc_flag_unknown_warning_option=no
   16406 fi
   16407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16408 fi
   16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16410 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16411 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16412 	CFLAGS="$xorg_testset_save_CFLAGS"
   16413 fi
   16414 
   16415 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16416 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16417 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16418 	fi
   16419 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16421 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16422 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16423   $as_echo_n "(cached) " >&6
   16424 else
   16425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16426 /* end confdefs.h.  */
   16427 int i;
   16428 _ACEOF
   16429 if ac_fn_c_try_compile "$LINENO"; then :
   16430   xorg_cv_cc_flag_unused_command_line_argument=yes
   16431 else
   16432   xorg_cv_cc_flag_unused_command_line_argument=no
   16433 fi
   16434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16435 fi
   16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16437 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16439 	CFLAGS="$xorg_testset_save_CFLAGS"
   16440 fi
   16441 
   16442 found="no"
   16443 
   16444 	if test $found = "no" ; then
   16445 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16447 		fi
   16448 
   16449 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16451 		fi
   16452 
   16453 		CFLAGS="$CFLAGS -Warray-bounds"
   16454 
   16455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16456 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16457 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16458 		if eval \${$cacheid+:} false; then :
   16459   $as_echo_n "(cached) " >&6
   16460 else
   16461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16462 /* end confdefs.h.  */
   16463 int i;
   16464 int
   16465 main ()
   16466 {
   16467 
   16468   ;
   16469   return 0;
   16470 }
   16471 _ACEOF
   16472 if ac_fn_c_try_link "$LINENO"; then :
   16473   eval $cacheid=yes
   16474 else
   16475   eval $cacheid=no
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext \
   16478     conftest$ac_exeext conftest.$ac_ext
   16479 fi
   16480 
   16481 
   16482 		CFLAGS="$xorg_testset_save_CFLAGS"
   16483 
   16484 		eval supported=\$$cacheid
   16485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16486 $as_echo "$supported" >&6; }
   16487 		if test "$supported" = "yes" ; then
   16488 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16489 			found="yes"
   16490 		fi
   16491 	fi
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 xorg_testset_save_CFLAGS="$CFLAGS"
   16508 
   16509 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16510 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16512 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16513 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16514   $as_echo_n "(cached) " >&6
   16515 else
   16516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16517 /* end confdefs.h.  */
   16518 int i;
   16519 _ACEOF
   16520 if ac_fn_c_try_compile "$LINENO"; then :
   16521   xorg_cv_cc_flag_unknown_warning_option=yes
   16522 else
   16523   xorg_cv_cc_flag_unknown_warning_option=no
   16524 fi
   16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16526 fi
   16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16528 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16530 	CFLAGS="$xorg_testset_save_CFLAGS"
   16531 fi
   16532 
   16533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16536 	fi
   16537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16539 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16540 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16541   $as_echo_n "(cached) " >&6
   16542 else
   16543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16544 /* end confdefs.h.  */
   16545 int i;
   16546 _ACEOF
   16547 if ac_fn_c_try_compile "$LINENO"; then :
   16548   xorg_cv_cc_flag_unused_command_line_argument=yes
   16549 else
   16550   xorg_cv_cc_flag_unused_command_line_argument=no
   16551 fi
   16552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16553 fi
   16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16555 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16557 	CFLAGS="$xorg_testset_save_CFLAGS"
   16558 fi
   16559 
   16560 found="no"
   16561 
   16562 	if test $found = "no" ; then
   16563 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16565 		fi
   16566 
   16567 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16569 		fi
   16570 
   16571 		CFLAGS="$CFLAGS -Wwrite-strings"
   16572 
   16573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16574 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16575 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16576 		if eval \${$cacheid+:} false; then :
   16577   $as_echo_n "(cached) " >&6
   16578 else
   16579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16580 /* end confdefs.h.  */
   16581 int i;
   16582 int
   16583 main ()
   16584 {
   16585 
   16586   ;
   16587   return 0;
   16588 }
   16589 _ACEOF
   16590 if ac_fn_c_try_link "$LINENO"; then :
   16591   eval $cacheid=yes
   16592 else
   16593   eval $cacheid=no
   16594 fi
   16595 rm -f core conftest.err conftest.$ac_objext \
   16596     conftest$ac_exeext conftest.$ac_ext
   16597 fi
   16598 
   16599 
   16600 		CFLAGS="$xorg_testset_save_CFLAGS"
   16601 
   16602 		eval supported=\$$cacheid
   16603 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16604 $as_echo "$supported" >&6; }
   16605 		if test "$supported" = "yes" ; then
   16606 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16607 			found="yes"
   16608 		fi
   16609 	fi
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 xorg_testset_save_CFLAGS="$CFLAGS"
   16626 
   16627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16630 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16631 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16632   $as_echo_n "(cached) " >&6
   16633 else
   16634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16635 /* end confdefs.h.  */
   16636 int i;
   16637 _ACEOF
   16638 if ac_fn_c_try_compile "$LINENO"; then :
   16639   xorg_cv_cc_flag_unknown_warning_option=yes
   16640 else
   16641   xorg_cv_cc_flag_unknown_warning_option=no
   16642 fi
   16643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16644 fi
   16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16646 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16647 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16648 	CFLAGS="$xorg_testset_save_CFLAGS"
   16649 fi
   16650 
   16651 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16652 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16653 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16654 	fi
   16655 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16657 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16658 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16659   $as_echo_n "(cached) " >&6
   16660 else
   16661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16662 /* end confdefs.h.  */
   16663 int i;
   16664 _ACEOF
   16665 if ac_fn_c_try_compile "$LINENO"; then :
   16666   xorg_cv_cc_flag_unused_command_line_argument=yes
   16667 else
   16668   xorg_cv_cc_flag_unused_command_line_argument=no
   16669 fi
   16670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16671 fi
   16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16673 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16675 	CFLAGS="$xorg_testset_save_CFLAGS"
   16676 fi
   16677 
   16678 found="no"
   16679 
   16680 	if test $found = "no" ; then
   16681 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16683 		fi
   16684 
   16685 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16687 		fi
   16688 
   16689 		CFLAGS="$CFLAGS -Waddress"
   16690 
   16691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16692 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16693 		cacheid=xorg_cv_cc_flag__Waddress
   16694 		if eval \${$cacheid+:} false; then :
   16695   $as_echo_n "(cached) " >&6
   16696 else
   16697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16698 /* end confdefs.h.  */
   16699 int i;
   16700 int
   16701 main ()
   16702 {
   16703 
   16704   ;
   16705   return 0;
   16706 }
   16707 _ACEOF
   16708 if ac_fn_c_try_link "$LINENO"; then :
   16709   eval $cacheid=yes
   16710 else
   16711   eval $cacheid=no
   16712 fi
   16713 rm -f core conftest.err conftest.$ac_objext \
   16714     conftest$ac_exeext conftest.$ac_ext
   16715 fi
   16716 
   16717 
   16718 		CFLAGS="$xorg_testset_save_CFLAGS"
   16719 
   16720 		eval supported=\$$cacheid
   16721 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16722 $as_echo "$supported" >&6; }
   16723 		if test "$supported" = "yes" ; then
   16724 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16725 			found="yes"
   16726 		fi
   16727 	fi
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 xorg_testset_save_CFLAGS="$CFLAGS"
   16744 
   16745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16748 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16749 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16750   $as_echo_n "(cached) " >&6
   16751 else
   16752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16753 /* end confdefs.h.  */
   16754 int i;
   16755 _ACEOF
   16756 if ac_fn_c_try_compile "$LINENO"; then :
   16757   xorg_cv_cc_flag_unknown_warning_option=yes
   16758 else
   16759   xorg_cv_cc_flag_unknown_warning_option=no
   16760 fi
   16761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16762 fi
   16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16764 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16766 	CFLAGS="$xorg_testset_save_CFLAGS"
   16767 fi
   16768 
   16769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16772 	fi
   16773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16775 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16776 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16777   $as_echo_n "(cached) " >&6
   16778 else
   16779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16780 /* end confdefs.h.  */
   16781 int i;
   16782 _ACEOF
   16783 if ac_fn_c_try_compile "$LINENO"; then :
   16784   xorg_cv_cc_flag_unused_command_line_argument=yes
   16785 else
   16786   xorg_cv_cc_flag_unused_command_line_argument=no
   16787 fi
   16788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16789 fi
   16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16791 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16793 	CFLAGS="$xorg_testset_save_CFLAGS"
   16794 fi
   16795 
   16796 found="no"
   16797 
   16798 	if test $found = "no" ; then
   16799 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16801 		fi
   16802 
   16803 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16805 		fi
   16806 
   16807 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16808 
   16809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16810 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16811 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16812 		if eval \${$cacheid+:} false; then :
   16813   $as_echo_n "(cached) " >&6
   16814 else
   16815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16816 /* end confdefs.h.  */
   16817 int i;
   16818 int
   16819 main ()
   16820 {
   16821 
   16822   ;
   16823   return 0;
   16824 }
   16825 _ACEOF
   16826 if ac_fn_c_try_link "$LINENO"; then :
   16827   eval $cacheid=yes
   16828 else
   16829   eval $cacheid=no
   16830 fi
   16831 rm -f core conftest.err conftest.$ac_objext \
   16832     conftest$ac_exeext conftest.$ac_ext
   16833 fi
   16834 
   16835 
   16836 		CFLAGS="$xorg_testset_save_CFLAGS"
   16837 
   16838 		eval supported=\$$cacheid
   16839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16840 $as_echo "$supported" >&6; }
   16841 		if test "$supported" = "yes" ; then
   16842 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16843 			found="yes"
   16844 		fi
   16845 	fi
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 xorg_testset_save_CFLAGS="$CFLAGS"
   16862 
   16863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16866 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16867 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16868   $as_echo_n "(cached) " >&6
   16869 else
   16870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16871 /* end confdefs.h.  */
   16872 int i;
   16873 _ACEOF
   16874 if ac_fn_c_try_compile "$LINENO"; then :
   16875   xorg_cv_cc_flag_unknown_warning_option=yes
   16876 else
   16877   xorg_cv_cc_flag_unknown_warning_option=no
   16878 fi
   16879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16880 fi
   16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16882 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16883 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16884 	CFLAGS="$xorg_testset_save_CFLAGS"
   16885 fi
   16886 
   16887 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16888 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16889 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16890 	fi
   16891 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16893 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16894 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16895   $as_echo_n "(cached) " >&6
   16896 else
   16897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16898 /* end confdefs.h.  */
   16899 int i;
   16900 _ACEOF
   16901 if ac_fn_c_try_compile "$LINENO"; then :
   16902   xorg_cv_cc_flag_unused_command_line_argument=yes
   16903 else
   16904   xorg_cv_cc_flag_unused_command_line_argument=no
   16905 fi
   16906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16907 fi
   16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16909 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16911 	CFLAGS="$xorg_testset_save_CFLAGS"
   16912 fi
   16913 
   16914 found="no"
   16915 
   16916 	if test $found = "no" ; then
   16917 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16919 		fi
   16920 
   16921 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16923 		fi
   16924 
   16925 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16926 
   16927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16928 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16929 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16930 		if eval \${$cacheid+:} false; then :
   16931   $as_echo_n "(cached) " >&6
   16932 else
   16933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16934 /* end confdefs.h.  */
   16935 int i;
   16936 int
   16937 main ()
   16938 {
   16939 
   16940   ;
   16941   return 0;
   16942 }
   16943 _ACEOF
   16944 if ac_fn_c_try_link "$LINENO"; then :
   16945   eval $cacheid=yes
   16946 else
   16947   eval $cacheid=no
   16948 fi
   16949 rm -f core conftest.err conftest.$ac_objext \
   16950     conftest$ac_exeext conftest.$ac_ext
   16951 fi
   16952 
   16953 
   16954 		CFLAGS="$xorg_testset_save_CFLAGS"
   16955 
   16956 		eval supported=\$$cacheid
   16957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16958 $as_echo "$supported" >&6; }
   16959 		if test "$supported" = "yes" ; then
   16960 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16961 			found="yes"
   16962 		fi
   16963 	fi
   16964 
   16965 
   16966 fi
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 		CWARNFLAGS="$BASE_CFLAGS"
   16975 		if  test "x$GCC" = xyes ; then
   16976 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16977 		fi
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 # Check whether --enable-strict-compilation was given.
   16987 if test "${enable_strict_compilation+set}" = set; then :
   16988   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16989 else
   16990   STRICT_COMPILE=no
   16991 fi
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 STRICT_CFLAGS=""
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 xorg_testset_save_CFLAGS="$CFLAGS"
   17013 
   17014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17019   $as_echo_n "(cached) " >&6
   17020 else
   17021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 int i;
   17024 _ACEOF
   17025 if ac_fn_c_try_compile "$LINENO"; then :
   17026   xorg_cv_cc_flag_unknown_warning_option=yes
   17027 else
   17028   xorg_cv_cc_flag_unknown_warning_option=no
   17029 fi
   17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17031 fi
   17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17035 	CFLAGS="$xorg_testset_save_CFLAGS"
   17036 fi
   17037 
   17038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17041 	fi
   17042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17046   $as_echo_n "(cached) " >&6
   17047 else
   17048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17049 /* end confdefs.h.  */
   17050 int i;
   17051 _ACEOF
   17052 if ac_fn_c_try_compile "$LINENO"; then :
   17053   xorg_cv_cc_flag_unused_command_line_argument=yes
   17054 else
   17055   xorg_cv_cc_flag_unused_command_line_argument=no
   17056 fi
   17057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17058 fi
   17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17062 	CFLAGS="$xorg_testset_save_CFLAGS"
   17063 fi
   17064 
   17065 found="no"
   17066 
   17067 	if test $found = "no" ; then
   17068 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17070 		fi
   17071 
   17072 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17074 		fi
   17075 
   17076 		CFLAGS="$CFLAGS -pedantic"
   17077 
   17078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17079 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17080 		cacheid=xorg_cv_cc_flag__pedantic
   17081 		if eval \${$cacheid+:} false; then :
   17082   $as_echo_n "(cached) " >&6
   17083 else
   17084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17085 /* end confdefs.h.  */
   17086 int i;
   17087 int
   17088 main ()
   17089 {
   17090 
   17091   ;
   17092   return 0;
   17093 }
   17094 _ACEOF
   17095 if ac_fn_c_try_link "$LINENO"; then :
   17096   eval $cacheid=yes
   17097 else
   17098   eval $cacheid=no
   17099 fi
   17100 rm -f core conftest.err conftest.$ac_objext \
   17101     conftest$ac_exeext conftest.$ac_ext
   17102 fi
   17103 
   17104 
   17105 		CFLAGS="$xorg_testset_save_CFLAGS"
   17106 
   17107 		eval supported=\$$cacheid
   17108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17109 $as_echo "$supported" >&6; }
   17110 		if test "$supported" = "yes" ; then
   17111 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17112 			found="yes"
   17113 		fi
   17114 	fi
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 
   17123 
   17124 
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 xorg_testset_save_CFLAGS="$CFLAGS"
   17131 
   17132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17137   $as_echo_n "(cached) " >&6
   17138 else
   17139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17140 /* end confdefs.h.  */
   17141 int i;
   17142 _ACEOF
   17143 if ac_fn_c_try_compile "$LINENO"; then :
   17144   xorg_cv_cc_flag_unknown_warning_option=yes
   17145 else
   17146   xorg_cv_cc_flag_unknown_warning_option=no
   17147 fi
   17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17149 fi
   17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17153 	CFLAGS="$xorg_testset_save_CFLAGS"
   17154 fi
   17155 
   17156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17159 	fi
   17160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17164   $as_echo_n "(cached) " >&6
   17165 else
   17166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17167 /* end confdefs.h.  */
   17168 int i;
   17169 _ACEOF
   17170 if ac_fn_c_try_compile "$LINENO"; then :
   17171   xorg_cv_cc_flag_unused_command_line_argument=yes
   17172 else
   17173   xorg_cv_cc_flag_unused_command_line_argument=no
   17174 fi
   17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17176 fi
   17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17180 	CFLAGS="$xorg_testset_save_CFLAGS"
   17181 fi
   17182 
   17183 found="no"
   17184 
   17185 	if test $found = "no" ; then
   17186 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17188 		fi
   17189 
   17190 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17192 		fi
   17193 
   17194 		CFLAGS="$CFLAGS -Werror"
   17195 
   17196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17197 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17198 		cacheid=xorg_cv_cc_flag__Werror
   17199 		if eval \${$cacheid+:} false; then :
   17200   $as_echo_n "(cached) " >&6
   17201 else
   17202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17203 /* end confdefs.h.  */
   17204 int i;
   17205 int
   17206 main ()
   17207 {
   17208 
   17209   ;
   17210   return 0;
   17211 }
   17212 _ACEOF
   17213 if ac_fn_c_try_link "$LINENO"; then :
   17214   eval $cacheid=yes
   17215 else
   17216   eval $cacheid=no
   17217 fi
   17218 rm -f core conftest.err conftest.$ac_objext \
   17219     conftest$ac_exeext conftest.$ac_ext
   17220 fi
   17221 
   17222 
   17223 		CFLAGS="$xorg_testset_save_CFLAGS"
   17224 
   17225 		eval supported=\$$cacheid
   17226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17227 $as_echo "$supported" >&6; }
   17228 		if test "$supported" = "yes" ; then
   17229 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17230 			found="yes"
   17231 		fi
   17232 	fi
   17233 
   17234 	if test $found = "no" ; then
   17235 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17237 		fi
   17238 
   17239 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17241 		fi
   17242 
   17243 		CFLAGS="$CFLAGS -errwarn"
   17244 
   17245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17246 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17247 		cacheid=xorg_cv_cc_flag__errwarn
   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 -errwarn"
   17279 			found="yes"
   17280 		fi
   17281 	fi
   17282 
   17283 
   17284 
   17285 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17286 # activate it with -Werror, so we add it here explicitly.
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 xorg_testset_save_CFLAGS="$CFLAGS"
   17301 
   17302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17305 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17306 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17307   $as_echo_n "(cached) " >&6
   17308 else
   17309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17310 /* end confdefs.h.  */
   17311 int i;
   17312 _ACEOF
   17313 if ac_fn_c_try_compile "$LINENO"; then :
   17314   xorg_cv_cc_flag_unknown_warning_option=yes
   17315 else
   17316   xorg_cv_cc_flag_unknown_warning_option=no
   17317 fi
   17318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17319 fi
   17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17321 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17323 	CFLAGS="$xorg_testset_save_CFLAGS"
   17324 fi
   17325 
   17326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17329 	fi
   17330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17332 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17333 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17334   $as_echo_n "(cached) " >&6
   17335 else
   17336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17337 /* end confdefs.h.  */
   17338 int i;
   17339 _ACEOF
   17340 if ac_fn_c_try_compile "$LINENO"; then :
   17341   xorg_cv_cc_flag_unused_command_line_argument=yes
   17342 else
   17343   xorg_cv_cc_flag_unused_command_line_argument=no
   17344 fi
   17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17346 fi
   17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17348 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17350 	CFLAGS="$xorg_testset_save_CFLAGS"
   17351 fi
   17352 
   17353 found="no"
   17354 
   17355 	if test $found = "no" ; then
   17356 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17358 		fi
   17359 
   17360 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17362 		fi
   17363 
   17364 		CFLAGS="$CFLAGS -Werror=attributes"
   17365 
   17366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17367 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17368 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17369 		if eval \${$cacheid+:} false; then :
   17370   $as_echo_n "(cached) " >&6
   17371 else
   17372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17373 /* end confdefs.h.  */
   17374 int i;
   17375 int
   17376 main ()
   17377 {
   17378 
   17379   ;
   17380   return 0;
   17381 }
   17382 _ACEOF
   17383 if ac_fn_c_try_link "$LINENO"; then :
   17384   eval $cacheid=yes
   17385 else
   17386   eval $cacheid=no
   17387 fi
   17388 rm -f core conftest.err conftest.$ac_objext \
   17389     conftest$ac_exeext conftest.$ac_ext
   17390 fi
   17391 
   17392 
   17393 		CFLAGS="$xorg_testset_save_CFLAGS"
   17394 
   17395 		eval supported=\$$cacheid
   17396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17397 $as_echo "$supported" >&6; }
   17398 		if test "$supported" = "yes" ; then
   17399 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17400 			found="yes"
   17401 		fi
   17402 	fi
   17403 
   17404 
   17405 
   17406 if test "x$STRICT_COMPILE" = "xyes"; then
   17407     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17408     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17409 fi
   17410 
   17411 
   17412 
   17413 
   17414 
   17415 
   17416 cat >>confdefs.h <<_ACEOF
   17417 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17418 _ACEOF
   17419 
   17420 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17421 	if test "x$PVM" = "x"; then
   17422 		PVM="0"
   17423 	fi
   17424 
   17425 cat >>confdefs.h <<_ACEOF
   17426 #define PACKAGE_VERSION_MINOR $PVM
   17427 _ACEOF
   17428 
   17429 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17430 	if test "x$PVP" = "x"; then
   17431 		PVP="0"
   17432 	fi
   17433 
   17434 cat >>confdefs.h <<_ACEOF
   17435 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17436 _ACEOF
   17437 
   17438 
   17439 
   17440 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17441 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17442 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17443 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17444 
   17445 
   17446 
   17447 
   17448 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17449 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17450 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17451 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17452 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 if test x$APP_MAN_SUFFIX = x    ; then
   17460     APP_MAN_SUFFIX=1
   17461 fi
   17462 if test x$APP_MAN_DIR = x    ; then
   17463     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17464 fi
   17465 
   17466 if test x$LIB_MAN_SUFFIX = x    ; then
   17467     LIB_MAN_SUFFIX=3
   17468 fi
   17469 if test x$LIB_MAN_DIR = x    ; then
   17470     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17471 fi
   17472 
   17473 if test x$FILE_MAN_SUFFIX = x    ; then
   17474     case $host_os in
   17475 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17476 	*)		FILE_MAN_SUFFIX=5  ;;
   17477     esac
   17478 fi
   17479 if test x$FILE_MAN_DIR = x    ; then
   17480     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17481 fi
   17482 
   17483 if test x$MISC_MAN_SUFFIX = x    ; then
   17484     case $host_os in
   17485 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17486 	*)		MISC_MAN_SUFFIX=7  ;;
   17487     esac
   17488 fi
   17489 if test x$MISC_MAN_DIR = x    ; then
   17490     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17491 fi
   17492 
   17493 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17494     case $host_os in
   17495 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17496 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17497     esac
   17498 fi
   17499 if test x$DRIVER_MAN_DIR = x    ; then
   17500     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17501 fi
   17502 
   17503 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17504     case $host_os in
   17505 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17506 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17507     esac
   17508 fi
   17509 if test x$ADMIN_MAN_DIR = x    ; then
   17510     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17511 fi
   17512 
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 XORG_MAN_PAGE="X Version 11"
   17528 
   17529 MAN_SUBSTS="\
   17530 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17531 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17532 	-e 's|__xservername__|Xorg|g' \
   17533 	-e 's|__xconfigfile__|xorg.conf|g' \
   17534 	-e 's|__projectroot__|\$(prefix)|g' \
   17535 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17536 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17537 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17538 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17539 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17540 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17541 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17542 
   17543 
   17544 
   17545 # Check whether --enable-silent-rules was given.
   17546 if test "${enable_silent_rules+set}" = set; then :
   17547   enableval=$enable_silent_rules;
   17548 fi
   17549 
   17550 case $enable_silent_rules in # (((
   17551   yes) AM_DEFAULT_VERBOSITY=0;;
   17552    no) AM_DEFAULT_VERBOSITY=1;;
   17553     *) AM_DEFAULT_VERBOSITY=0;;
   17554 esac
   17555 am_make=${MAKE-make}
   17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17557 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17558 if ${am_cv_make_support_nested_variables+:} false; then :
   17559   $as_echo_n "(cached) " >&6
   17560 else
   17561   if $as_echo 'TRUE=$(BAR$(V))
   17562 BAR0=false
   17563 BAR1=true
   17564 V=1
   17565 am__doit:
   17566 	@$(TRUE)
   17567 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17568   am_cv_make_support_nested_variables=yes
   17569 else
   17570   am_cv_make_support_nested_variables=no
   17571 fi
   17572 fi
   17573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17574 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17575 if test $am_cv_make_support_nested_variables = yes; then
   17576     AM_V='$(V)'
   17577   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17578 else
   17579   AM_V=$AM_DEFAULT_VERBOSITY
   17580   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17581 fi
   17582 AM_BACKSLASH='\'
   17583 
   17584 
   17585 
   17586 # Check whether --enable-malloc0returnsnull was given.
   17587 if test "${enable_malloc0returnsnull+set}" = set; then :
   17588   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17589 else
   17590   MALLOC_ZERO_RETURNS_NULL=auto
   17591 fi
   17592 
   17593 
   17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17595 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17596 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17597 	if test "$cross_compiling" = yes; then :
   17598   MALLOC_ZERO_RETURNS_NULL=yes
   17599 else
   17600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17601 /* end confdefs.h.  */
   17602 
   17603 #include <stdlib.h>
   17604 
   17605 int
   17606 main ()
   17607 {
   17608 
   17609     char *m0, *r0, *c0, *p;
   17610     m0 = malloc(0);
   17611     p = malloc(10);
   17612     r0 = realloc(p,0);
   17613     c0 = calloc(0,10);
   17614     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17615 
   17616   ;
   17617   return 0;
   17618 }
   17619 _ACEOF
   17620 if ac_fn_c_try_run "$LINENO"; then :
   17621   MALLOC_ZERO_RETURNS_NULL=yes
   17622 else
   17623   MALLOC_ZERO_RETURNS_NULL=no
   17624 fi
   17625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17626   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17627 fi
   17628 
   17629 fi
   17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17631 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17632 
   17633 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17634 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17635 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17636 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17637 else
   17638 	MALLOC_ZERO_CFLAGS=""
   17639 	XMALLOC_ZERO_CFLAGS=""
   17640 	XTMALLOC_ZERO_CFLAGS=""
   17641 fi
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 # Check render configuration, strip extra digits from package version to
   17649 # find the required protocol version
   17650 if test "$VERSION" = "" ; then
   17651        VERSION=$PACKAGE_VERSION;
   17652 fi
   17653 RENDER_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17654 
   17655 
   17656 # Obtain compiler/linker options for depedencies
   17657 
   17658 pkg_failed=no
   17659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RENDER" >&5
   17660 $as_echo_n "checking for RENDER... " >&6; }
   17661 
   17662 if test -n "$RENDER_CFLAGS"; then
   17663     pkg_cv_RENDER_CFLAGS="$RENDER_CFLAGS"
   17664  elif test -n "$PKG_CONFIG"; then
   17665     if test -n "$PKG_CONFIG" && \
   17666     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 renderproto >= \$RENDER_VERSION\""; } >&5
   17667   ($PKG_CONFIG --exists --print-errors "x11 renderproto >= $RENDER_VERSION") 2>&5
   17668   ac_status=$?
   17669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17670   test $ac_status = 0; }; then
   17671   pkg_cv_RENDER_CFLAGS=`$PKG_CONFIG --cflags "x11 renderproto >= $RENDER_VERSION" 2>/dev/null`
   17672 else
   17673   pkg_failed=yes
   17674 fi
   17675  else
   17676     pkg_failed=untried
   17677 fi
   17678 if test -n "$RENDER_LIBS"; then
   17679     pkg_cv_RENDER_LIBS="$RENDER_LIBS"
   17680  elif test -n "$PKG_CONFIG"; then
   17681     if test -n "$PKG_CONFIG" && \
   17682     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 renderproto >= \$RENDER_VERSION\""; } >&5
   17683   ($PKG_CONFIG --exists --print-errors "x11 renderproto >= $RENDER_VERSION") 2>&5
   17684   ac_status=$?
   17685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17686   test $ac_status = 0; }; then
   17687   pkg_cv_RENDER_LIBS=`$PKG_CONFIG --libs "x11 renderproto >= $RENDER_VERSION" 2>/dev/null`
   17688 else
   17689   pkg_failed=yes
   17690 fi
   17691  else
   17692     pkg_failed=untried
   17693 fi
   17694 
   17695 
   17696 
   17697 if test $pkg_failed = yes; then
   17698 
   17699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17700         _pkg_short_errors_supported=yes
   17701 else
   17702         _pkg_short_errors_supported=no
   17703 fi
   17704         if test $_pkg_short_errors_supported = yes; then
   17705 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 renderproto >= $RENDER_VERSION" 2>&1`
   17706         else
   17707 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 renderproto >= $RENDER_VERSION" 2>&1`
   17708         fi
   17709 	# Put the nasty error message in config.log where it belongs
   17710 	echo "$RENDER_PKG_ERRORS" >&5
   17711 
   17712 	as_fn_error $? "Package requirements (x11 renderproto >= $RENDER_VERSION) were not met:
   17713 
   17714 $RENDER_PKG_ERRORS
   17715 
   17716 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17717 installed software in a non-standard prefix.
   17718 
   17719 Alternatively, you may set the environment variables RENDER_CFLAGS
   17720 and RENDER_LIBS to avoid the need to call pkg-config.
   17721 See the pkg-config man page for more details.
   17722 " "$LINENO" 5
   17723 elif test $pkg_failed = untried; then
   17724 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17726 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17727 is in your PATH or set the PKG_CONFIG environment variable to the full
   17728 path to pkg-config.
   17729 
   17730 Alternatively, you may set the environment variables RENDER_CFLAGS
   17731 and RENDER_LIBS to avoid the need to call pkg-config.
   17732 See the pkg-config man page for more details.
   17733 
   17734 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17735 See \`config.log' for more details" "$LINENO" 5; }
   17736 else
   17737 	RENDER_CFLAGS=$pkg_cv_RENDER_CFLAGS
   17738 	RENDER_LIBS=$pkg_cv_RENDER_LIBS
   17739         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17740 $as_echo "yes" >&6; }
   17741 	:
   17742 fi
   17743 
   17744 # Check for _XEatDataWords function that may be patched into older Xlib release
   17745 SAVE_LIBS="$LIBS"
   17746 LIBS="$RENDER_LIBS"
   17747 for ac_func in _XEatDataWords
   17748 do :
   17749   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   17750 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   17751   cat >>confdefs.h <<_ACEOF
   17752 #define HAVE__XEATDATAWORDS 1
   17753 _ACEOF
   17754 
   17755 fi
   17756 done
   17757 
   17758 LIBS="$SAVE_LIBS"
   17759 
   17760 ac_config_files="$ac_config_files Makefile src/Makefile xrender.pc"
   17761 
   17762 cat >confcache <<\_ACEOF
   17763 # This file is a shell script that caches the results of configure
   17764 # tests run on this system so they can be shared between configure
   17765 # scripts and configure runs, see configure's option --config-cache.
   17766 # It is not useful on other systems.  If it contains results you don't
   17767 # want to keep, you may remove or edit it.
   17768 #
   17769 # config.status only pays attention to the cache file if you give it
   17770 # the --recheck option to rerun configure.
   17771 #
   17772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17774 # following values.
   17775 
   17776 _ACEOF
   17777 
   17778 # The following way of writing the cache mishandles newlines in values,
   17779 # but we know of no workaround that is simple, portable, and efficient.
   17780 # So, we kill variables containing newlines.
   17781 # Ultrix sh set writes to stderr and can't be redirected directly,
   17782 # and sets the high bit in the cache file unless we assign to the vars.
   17783 (
   17784   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17785     eval ac_val=\$$ac_var
   17786     case $ac_val in #(
   17787     *${as_nl}*)
   17788       case $ac_var in #(
   17789       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17791       esac
   17792       case $ac_var in #(
   17793       _ | IFS | as_nl) ;; #(
   17794       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17795       *) { eval $ac_var=; unset $ac_var;} ;;
   17796       esac ;;
   17797     esac
   17798   done
   17799 
   17800   (set) 2>&1 |
   17801     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17802     *${as_nl}ac_space=\ *)
   17803       # `set' does not quote correctly, so add quotes: double-quote
   17804       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17805       sed -n \
   17806 	"s/'/'\\\\''/g;
   17807 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17808       ;; #(
   17809     *)
   17810       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17811       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17812       ;;
   17813     esac |
   17814     sort
   17815 ) |
   17816   sed '
   17817      /^ac_cv_env_/b end
   17818      t clear
   17819      :clear
   17820      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17821      t end
   17822      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17823      :end' >>confcache
   17824 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17825   if test -w "$cache_file"; then
   17826     if test "x$cache_file" != "x/dev/null"; then
   17827       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17828 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17829       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17830 	cat confcache >"$cache_file"
   17831       else
   17832         case $cache_file in #(
   17833         */* | ?:*)
   17834 	  mv -f confcache "$cache_file"$$ &&
   17835 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17836         *)
   17837 	  mv -f confcache "$cache_file" ;;
   17838 	esac
   17839       fi
   17840     fi
   17841   else
   17842     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17844   fi
   17845 fi
   17846 rm -f confcache
   17847 
   17848 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17849 # Let make expand exec_prefix.
   17850 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17851 
   17852 DEFS=-DHAVE_CONFIG_H
   17853 
   17854 ac_libobjs=
   17855 ac_ltlibobjs=
   17856 U=
   17857 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17858   # 1. Remove the extension, and $U if already installed.
   17859   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17860   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17861   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17862   #    will be set to the directory where LIBOBJS objects are built.
   17863   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17864   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17865 done
   17866 LIBOBJS=$ac_libobjs
   17867 
   17868 LTLIBOBJS=$ac_ltlibobjs
   17869 
   17870 
   17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17872 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17873    if test -n "$am_sleep_pid"; then
   17874      # Hide warnings about reused PIDs.
   17875      wait $am_sleep_pid 2>/dev/null
   17876    fi
   17877    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17878 $as_echo "done" >&6; }
   17879  if test -n "$EXEEXT"; then
   17880   am__EXEEXT_TRUE=
   17881   am__EXEEXT_FALSE='#'
   17882 else
   17883   am__EXEEXT_TRUE='#'
   17884   am__EXEEXT_FALSE=
   17885 fi
   17886 
   17887 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17888   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17890 fi
   17891 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17892   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17894 fi
   17895 
   17896 : "${CONFIG_STATUS=./config.status}"
   17897 ac_write_fail=0
   17898 ac_clean_files_save=$ac_clean_files
   17899 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17901 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17902 as_write_fail=0
   17903 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17904 #! $SHELL
   17905 # Generated by $as_me.
   17906 # Run this file to recreate the current configuration.
   17907 # Compiler output produced by configure, useful for debugging
   17908 # configure, is in config.log if it exists.
   17909 
   17910 debug=false
   17911 ac_cs_recheck=false
   17912 ac_cs_silent=false
   17913 
   17914 SHELL=\${CONFIG_SHELL-$SHELL}
   17915 export SHELL
   17916 _ASEOF
   17917 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17918 ## -------------------- ##
   17919 ## M4sh Initialization. ##
   17920 ## -------------------- ##
   17921 
   17922 # Be more Bourne compatible
   17923 DUALCASE=1; export DUALCASE # for MKS sh
   17924 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17925   emulate sh
   17926   NULLCMD=:
   17927   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17928   # is contrary to our usage.  Disable this feature.
   17929   alias -g '${1+"$@"}'='"$@"'
   17930   setopt NO_GLOB_SUBST
   17931 else
   17932   case `(set -o) 2>/dev/null` in #(
   17933   *posix*) :
   17934     set -o posix ;; #(
   17935   *) :
   17936      ;;
   17937 esac
   17938 fi
   17939 
   17940 
   17941 as_nl='
   17942 '
   17943 export as_nl
   17944 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17945 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17946 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17947 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17948 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17949 # but without wasting forks for bash or zsh.
   17950 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17951     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17952   as_echo='print -r --'
   17953   as_echo_n='print -rn --'
   17954 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17955   as_echo='printf %s\n'
   17956   as_echo_n='printf %s'
   17957 else
   17958   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17959     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17960     as_echo_n='/usr/ucb/echo -n'
   17961   else
   17962     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17963     as_echo_n_body='eval
   17964       arg=$1;
   17965       case $arg in #(
   17966       *"$as_nl"*)
   17967 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17968 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17969       esac;
   17970       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17971     '
   17972     export as_echo_n_body
   17973     as_echo_n='sh -c $as_echo_n_body as_echo'
   17974   fi
   17975   export as_echo_body
   17976   as_echo='sh -c $as_echo_body as_echo'
   17977 fi
   17978 
   17979 # The user is always right.
   17980 if test "${PATH_SEPARATOR+set}" != set; then
   17981   PATH_SEPARATOR=:
   17982   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17983     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17984       PATH_SEPARATOR=';'
   17985   }
   17986 fi
   17987 
   17988 
   17989 # IFS
   17990 # We need space, tab and new line, in precisely that order.  Quoting is
   17991 # there to prevent editors from complaining about space-tab.
   17992 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17993 # splitting by setting IFS to empty value.)
   17994 IFS=" ""	$as_nl"
   17995 
   17996 # Find who we are.  Look in the path if we contain no directory separator.
   17997 as_myself=
   17998 case $0 in #((
   17999   *[\\/]* ) as_myself=$0 ;;
   18000   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18001 for as_dir in $PATH
   18002 do
   18003   IFS=$as_save_IFS
   18004   test -z "$as_dir" && as_dir=.
   18005     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18006   done
   18007 IFS=$as_save_IFS
   18008 
   18009      ;;
   18010 esac
   18011 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18012 # in which case we are not to be found in the path.
   18013 if test "x$as_myself" = x; then
   18014   as_myself=$0
   18015 fi
   18016 if test ! -f "$as_myself"; then
   18017   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18018   exit 1
   18019 fi
   18020 
   18021 # Unset variables that we do not need and which cause bugs (e.g. in
   18022 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18023 # suppresses any "Segmentation fault" message there.  '((' could
   18024 # trigger a bug in pdksh 5.2.14.
   18025 for as_var in BASH_ENV ENV MAIL MAILPATH
   18026 do eval test x\${$as_var+set} = xset \
   18027   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18028 done
   18029 PS1='$ '
   18030 PS2='> '
   18031 PS4='+ '
   18032 
   18033 # NLS nuisances.
   18034 LC_ALL=C
   18035 export LC_ALL
   18036 LANGUAGE=C
   18037 export LANGUAGE
   18038 
   18039 # CDPATH.
   18040 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18041 
   18042 
   18043 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18044 # ----------------------------------------
   18045 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18046 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18047 # script with STATUS, using 1 if that was 0.
   18048 as_fn_error ()
   18049 {
   18050   as_status=$1; test $as_status -eq 0 && as_status=1
   18051   if test "$4"; then
   18052     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18053     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18054   fi
   18055   $as_echo "$as_me: error: $2" >&2
   18056   as_fn_exit $as_status
   18057 } # as_fn_error
   18058 
   18059 
   18060 # as_fn_set_status STATUS
   18061 # -----------------------
   18062 # Set $? to STATUS, without forking.
   18063 as_fn_set_status ()
   18064 {
   18065   return $1
   18066 } # as_fn_set_status
   18067 
   18068 # as_fn_exit STATUS
   18069 # -----------------
   18070 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18071 as_fn_exit ()
   18072 {
   18073   set +e
   18074   as_fn_set_status $1
   18075   exit $1
   18076 } # as_fn_exit
   18077 
   18078 # as_fn_unset VAR
   18079 # ---------------
   18080 # Portably unset VAR.
   18081 as_fn_unset ()
   18082 {
   18083   { eval $1=; unset $1;}
   18084 }
   18085 as_unset=as_fn_unset
   18086 # as_fn_append VAR VALUE
   18087 # ----------------------
   18088 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18089 # advantage of any shell optimizations that allow amortized linear growth over
   18090 # repeated appends, instead of the typical quadratic growth present in naive
   18091 # implementations.
   18092 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18093   eval 'as_fn_append ()
   18094   {
   18095     eval $1+=\$2
   18096   }'
   18097 else
   18098   as_fn_append ()
   18099   {
   18100     eval $1=\$$1\$2
   18101   }
   18102 fi # as_fn_append
   18103 
   18104 # as_fn_arith ARG...
   18105 # ------------------
   18106 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18107 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18108 # must be portable across $(()) and expr.
   18109 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18110   eval 'as_fn_arith ()
   18111   {
   18112     as_val=$(( $* ))
   18113   }'
   18114 else
   18115   as_fn_arith ()
   18116   {
   18117     as_val=`expr "$@" || test $? -eq 1`
   18118   }
   18119 fi # as_fn_arith
   18120 
   18121 
   18122 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18123    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18124   as_expr=expr
   18125 else
   18126   as_expr=false
   18127 fi
   18128 
   18129 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18130   as_basename=basename
   18131 else
   18132   as_basename=false
   18133 fi
   18134 
   18135 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18136   as_dirname=dirname
   18137 else
   18138   as_dirname=false
   18139 fi
   18140 
   18141 as_me=`$as_basename -- "$0" ||
   18142 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18143 	 X"$0" : 'X\(//\)$' \| \
   18144 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18145 $as_echo X/"$0" |
   18146     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18147 	    s//\1/
   18148 	    q
   18149 	  }
   18150 	  /^X\/\(\/\/\)$/{
   18151 	    s//\1/
   18152 	    q
   18153 	  }
   18154 	  /^X\/\(\/\).*/{
   18155 	    s//\1/
   18156 	    q
   18157 	  }
   18158 	  s/.*/./; q'`
   18159 
   18160 # Avoid depending upon Character Ranges.
   18161 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18162 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18163 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18164 as_cr_digits='0123456789'
   18165 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18166 
   18167 ECHO_C= ECHO_N= ECHO_T=
   18168 case `echo -n x` in #(((((
   18169 -n*)
   18170   case `echo 'xy\c'` in
   18171   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18172   xy)  ECHO_C='\c';;
   18173   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18174        ECHO_T='	';;
   18175   esac;;
   18176 *)
   18177   ECHO_N='-n';;
   18178 esac
   18179 
   18180 rm -f conf$$ conf$$.exe conf$$.file
   18181 if test -d conf$$.dir; then
   18182   rm -f conf$$.dir/conf$$.file
   18183 else
   18184   rm -f conf$$.dir
   18185   mkdir conf$$.dir 2>/dev/null
   18186 fi
   18187 if (echo >conf$$.file) 2>/dev/null; then
   18188   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18189     as_ln_s='ln -s'
   18190     # ... but there are two gotchas:
   18191     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18192     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18193     # In both cases, we have to default to `cp -p'.
   18194     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18195       as_ln_s='cp -p'
   18196   elif ln conf$$.file conf$$ 2>/dev/null; then
   18197     as_ln_s=ln
   18198   else
   18199     as_ln_s='cp -p'
   18200   fi
   18201 else
   18202   as_ln_s='cp -p'
   18203 fi
   18204 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18205 rmdir conf$$.dir 2>/dev/null
   18206 
   18207 
   18208 # as_fn_mkdir_p
   18209 # -------------
   18210 # Create "$as_dir" as a directory, including parents if necessary.
   18211 as_fn_mkdir_p ()
   18212 {
   18213 
   18214   case $as_dir in #(
   18215   -*) as_dir=./$as_dir;;
   18216   esac
   18217   test -d "$as_dir" || eval $as_mkdir_p || {
   18218     as_dirs=
   18219     while :; do
   18220       case $as_dir in #(
   18221       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18222       *) as_qdir=$as_dir;;
   18223       esac
   18224       as_dirs="'$as_qdir' $as_dirs"
   18225       as_dir=`$as_dirname -- "$as_dir" ||
   18226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18227 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18228 	 X"$as_dir" : 'X\(//\)$' \| \
   18229 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18230 $as_echo X"$as_dir" |
   18231     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18232 	    s//\1/
   18233 	    q
   18234 	  }
   18235 	  /^X\(\/\/\)[^/].*/{
   18236 	    s//\1/
   18237 	    q
   18238 	  }
   18239 	  /^X\(\/\/\)$/{
   18240 	    s//\1/
   18241 	    q
   18242 	  }
   18243 	  /^X\(\/\).*/{
   18244 	    s//\1/
   18245 	    q
   18246 	  }
   18247 	  s/.*/./; q'`
   18248       test -d "$as_dir" && break
   18249     done
   18250     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18251   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18252 
   18253 
   18254 } # as_fn_mkdir_p
   18255 if mkdir -p . 2>/dev/null; then
   18256   as_mkdir_p='mkdir -p "$as_dir"'
   18257 else
   18258   test -d ./-p && rmdir ./-p
   18259   as_mkdir_p=false
   18260 fi
   18261 
   18262 if test -x / >/dev/null 2>&1; then
   18263   as_test_x='test -x'
   18264 else
   18265   if ls -dL / >/dev/null 2>&1; then
   18266     as_ls_L_option=L
   18267   else
   18268     as_ls_L_option=
   18269   fi
   18270   as_test_x='
   18271     eval sh -c '\''
   18272       if test -d "$1"; then
   18273 	test -d "$1/.";
   18274       else
   18275 	case $1 in #(
   18276 	-*)set "./$1";;
   18277 	esac;
   18278 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18279 	???[sx]*):;;*)false;;esac;fi
   18280     '\'' sh
   18281   '
   18282 fi
   18283 as_executable_p=$as_test_x
   18284 
   18285 # Sed expression to map a string onto a valid CPP name.
   18286 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18287 
   18288 # Sed expression to map a string onto a valid variable name.
   18289 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18290 
   18291 
   18292 exec 6>&1
   18293 ## ----------------------------------- ##
   18294 ## Main body of $CONFIG_STATUS script. ##
   18295 ## ----------------------------------- ##
   18296 _ASEOF
   18297 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18298 
   18299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18300 # Save the log message, to keep $0 and so on meaningful, and to
   18301 # report actual input values of CONFIG_FILES etc. instead of their
   18302 # values after options handling.
   18303 ac_log="
   18304 This file was extended by libXrender $as_me 0.9.8, which was
   18305 generated by GNU Autoconf 2.68.  Invocation command line was
   18306 
   18307   CONFIG_FILES    = $CONFIG_FILES
   18308   CONFIG_HEADERS  = $CONFIG_HEADERS
   18309   CONFIG_LINKS    = $CONFIG_LINKS
   18310   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18311   $ $0 $@
   18312 
   18313 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18314 "
   18315 
   18316 _ACEOF
   18317 
   18318 case $ac_config_files in *"
   18319 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18320 esac
   18321 
   18322 case $ac_config_headers in *"
   18323 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18324 esac
   18325 
   18326 
   18327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18328 # Files that config.status was made for.
   18329 config_files="$ac_config_files"
   18330 config_headers="$ac_config_headers"
   18331 config_commands="$ac_config_commands"
   18332 
   18333 _ACEOF
   18334 
   18335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18336 ac_cs_usage="\
   18337 \`$as_me' instantiates files and other configuration actions
   18338 from templates according to the current configuration.  Unless the files
   18339 and actions are specified as TAGs, all are instantiated by default.
   18340 
   18341 Usage: $0 [OPTION]... [TAG]...
   18342 
   18343   -h, --help       print this help, then exit
   18344   -V, --version    print version number and configuration settings, then exit
   18345       --config     print configuration, then exit
   18346   -q, --quiet, --silent
   18347                    do not print progress messages
   18348   -d, --debug      don't remove temporary files
   18349       --recheck    update $as_me by reconfiguring in the same conditions
   18350       --file=FILE[:TEMPLATE]
   18351                    instantiate the configuration file FILE
   18352       --header=FILE[:TEMPLATE]
   18353                    instantiate the configuration header FILE
   18354 
   18355 Configuration files:
   18356 $config_files
   18357 
   18358 Configuration headers:
   18359 $config_headers
   18360 
   18361 Configuration commands:
   18362 $config_commands
   18363 
   18364 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18365 
   18366 _ACEOF
   18367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18368 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18369 ac_cs_version="\\
   18370 libXrender config.status 0.9.8
   18371 configured by $0, generated by GNU Autoconf 2.68,
   18372   with options \\"\$ac_cs_config\\"
   18373 
   18374 Copyright (C) 2010 Free Software Foundation, Inc.
   18375 This config.status script is free software; the Free Software Foundation
   18376 gives unlimited permission to copy, distribute and modify it."
   18377 
   18378 ac_pwd='$ac_pwd'
   18379 srcdir='$srcdir'
   18380 INSTALL='$INSTALL'
   18381 MKDIR_P='$MKDIR_P'
   18382 AWK='$AWK'
   18383 test -n "\$AWK" || AWK=awk
   18384 _ACEOF
   18385 
   18386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18387 # The default lists apply if the user does not specify any file.
   18388 ac_need_defaults=:
   18389 while test $# != 0
   18390 do
   18391   case $1 in
   18392   --*=?*)
   18393     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18394     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18395     ac_shift=:
   18396     ;;
   18397   --*=)
   18398     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18399     ac_optarg=
   18400     ac_shift=:
   18401     ;;
   18402   *)
   18403     ac_option=$1
   18404     ac_optarg=$2
   18405     ac_shift=shift
   18406     ;;
   18407   esac
   18408 
   18409   case $ac_option in
   18410   # Handling of the options.
   18411   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18412     ac_cs_recheck=: ;;
   18413   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18414     $as_echo "$ac_cs_version"; exit ;;
   18415   --config | --confi | --conf | --con | --co | --c )
   18416     $as_echo "$ac_cs_config"; exit ;;
   18417   --debug | --debu | --deb | --de | --d | -d )
   18418     debug=: ;;
   18419   --file | --fil | --fi | --f )
   18420     $ac_shift
   18421     case $ac_optarg in
   18422     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18423     '') as_fn_error $? "missing file argument" ;;
   18424     esac
   18425     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18426     ac_need_defaults=false;;
   18427   --header | --heade | --head | --hea )
   18428     $ac_shift
   18429     case $ac_optarg in
   18430     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18431     esac
   18432     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18433     ac_need_defaults=false;;
   18434   --he | --h)
   18435     # Conflict between --help and --header
   18436     as_fn_error $? "ambiguous option: \`$1'
   18437 Try \`$0 --help' for more information.";;
   18438   --help | --hel | -h )
   18439     $as_echo "$ac_cs_usage"; exit ;;
   18440   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18441   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18442     ac_cs_silent=: ;;
   18443 
   18444   # This is an error.
   18445   -*) as_fn_error $? "unrecognized option: \`$1'
   18446 Try \`$0 --help' for more information." ;;
   18447 
   18448   *) as_fn_append ac_config_targets " $1"
   18449      ac_need_defaults=false ;;
   18450 
   18451   esac
   18452   shift
   18453 done
   18454 
   18455 ac_configure_extra_args=
   18456 
   18457 if $ac_cs_silent; then
   18458   exec 6>/dev/null
   18459   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18460 fi
   18461 
   18462 _ACEOF
   18463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18464 if \$ac_cs_recheck; then
   18465   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18466   shift
   18467   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18468   CONFIG_SHELL='$SHELL'
   18469   export CONFIG_SHELL
   18470   exec "\$@"
   18471 fi
   18472 
   18473 _ACEOF
   18474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18475 exec 5>>config.log
   18476 {
   18477   echo
   18478   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18479 ## Running $as_me. ##
   18480 _ASBOX
   18481   $as_echo "$ac_log"
   18482 } >&5
   18483 
   18484 _ACEOF
   18485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18486 #
   18487 # INIT-COMMANDS
   18488 #
   18489 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18490 
   18491 
   18492 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18493 # if CDPATH is set.
   18494 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18495 
   18496 sed_quote_subst='$sed_quote_subst'
   18497 double_quote_subst='$double_quote_subst'
   18498 delay_variable_subst='$delay_variable_subst'
   18499 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18500 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18501 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18502 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18503 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18504 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18505 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18506 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18507 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18508 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18509 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18510 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18511 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18512 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18513 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18514 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18515 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18516 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18517 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18518 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18519 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18520 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18521 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18522 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18523 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18524 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18525 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18526 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18527 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18528 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18529 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18530 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18531 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18532 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18533 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18534 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18535 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18536 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18537 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18538 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18539 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18540 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18541 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18542 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18543 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18544 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18545 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18546 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18547 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18548 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18549 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18550 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18551 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18552 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18553 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18554 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18555 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"`'
   18556 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18557 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18558 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18559 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18560 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18561 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18562 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18563 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18564 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18565 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18566 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18567 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18568 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18569 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18570 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18571 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18572 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18573 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18574 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18575 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18576 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18577 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18578 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18579 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18580 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18581 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18582 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18583 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18584 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18585 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18586 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18587 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18588 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18589 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18590 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18591 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18592 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18593 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18594 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18595 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18596 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18597 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18598 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18599 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18600 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18601 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18602 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18603 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18604 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18605 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18606 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18607 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18608 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18609 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18610 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18611 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18612 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18613 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18614 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18615 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18616 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18617 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18618 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18619 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18620 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18621 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18622 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18623 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18624 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18625 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18626 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18627 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18628 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18629 
   18630 LTCC='$LTCC'
   18631 LTCFLAGS='$LTCFLAGS'
   18632 compiler='$compiler_DEFAULT'
   18633 
   18634 # A function that is used when there is no print builtin or printf.
   18635 func_fallback_echo ()
   18636 {
   18637   eval 'cat <<_LTECHO_EOF
   18638 \$1
   18639 _LTECHO_EOF'
   18640 }
   18641 
   18642 # Quote evaled strings.
   18643 for var in SHELL \
   18644 ECHO \
   18645 PATH_SEPARATOR \
   18646 SED \
   18647 GREP \
   18648 EGREP \
   18649 FGREP \
   18650 LD \
   18651 NM \
   18652 LN_S \
   18653 lt_SP2NL \
   18654 lt_NL2SP \
   18655 reload_flag \
   18656 OBJDUMP \
   18657 deplibs_check_method \
   18658 file_magic_cmd \
   18659 file_magic_glob \
   18660 want_nocaseglob \
   18661 DLLTOOL \
   18662 sharedlib_from_linklib_cmd \
   18663 AR \
   18664 AR_FLAGS \
   18665 archiver_list_spec \
   18666 STRIP \
   18667 RANLIB \
   18668 CC \
   18669 CFLAGS \
   18670 compiler \
   18671 lt_cv_sys_global_symbol_pipe \
   18672 lt_cv_sys_global_symbol_to_cdecl \
   18673 lt_cv_sys_global_symbol_to_c_name_address \
   18674 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18675 nm_file_list_spec \
   18676 lt_prog_compiler_no_builtin_flag \
   18677 lt_prog_compiler_pic \
   18678 lt_prog_compiler_wl \
   18679 lt_prog_compiler_static \
   18680 lt_cv_prog_compiler_c_o \
   18681 need_locks \
   18682 MANIFEST_TOOL \
   18683 DSYMUTIL \
   18684 NMEDIT \
   18685 LIPO \
   18686 OTOOL \
   18687 OTOOL64 \
   18688 shrext_cmds \
   18689 export_dynamic_flag_spec \
   18690 whole_archive_flag_spec \
   18691 compiler_needs_object \
   18692 with_gnu_ld \
   18693 allow_undefined_flag \
   18694 no_undefined_flag \
   18695 hardcode_libdir_flag_spec \
   18696 hardcode_libdir_separator \
   18697 exclude_expsyms \
   18698 include_expsyms \
   18699 file_list_spec \
   18700 variables_saved_for_relink \
   18701 libname_spec \
   18702 library_names_spec \
   18703 soname_spec \
   18704 install_override_mode \
   18705 finish_eval \
   18706 old_striplib \
   18707 striplib; do
   18708     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18709     *[\\\\\\\`\\"\\\$]*)
   18710       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18711       ;;
   18712     *)
   18713       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18714       ;;
   18715     esac
   18716 done
   18717 
   18718 # Double-quote double-evaled strings.
   18719 for var in reload_cmds \
   18720 old_postinstall_cmds \
   18721 old_postuninstall_cmds \
   18722 old_archive_cmds \
   18723 extract_expsyms_cmds \
   18724 old_archive_from_new_cmds \
   18725 old_archive_from_expsyms_cmds \
   18726 archive_cmds \
   18727 archive_expsym_cmds \
   18728 module_cmds \
   18729 module_expsym_cmds \
   18730 export_symbols_cmds \
   18731 prelink_cmds \
   18732 postlink_cmds \
   18733 postinstall_cmds \
   18734 postuninstall_cmds \
   18735 finish_cmds \
   18736 sys_lib_search_path_spec \
   18737 sys_lib_dlsearch_path_spec; do
   18738     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18739     *[\\\\\\\`\\"\\\$]*)
   18740       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18741       ;;
   18742     *)
   18743       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18744       ;;
   18745     esac
   18746 done
   18747 
   18748 ac_aux_dir='$ac_aux_dir'
   18749 xsi_shell='$xsi_shell'
   18750 lt_shell_append='$lt_shell_append'
   18751 
   18752 # See if we are running on zsh, and set the options which allow our
   18753 # commands through without removal of \ escapes INIT.
   18754 if test -n "\${ZSH_VERSION+set}" ; then
   18755    setopt NO_GLOB_SUBST
   18756 fi
   18757 
   18758 
   18759     PACKAGE='$PACKAGE'
   18760     VERSION='$VERSION'
   18761     TIMESTAMP='$TIMESTAMP'
   18762     RM='$RM'
   18763     ofile='$ofile'
   18764 
   18765 
   18766 
   18767 
   18768 _ACEOF
   18769 
   18770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18771 
   18772 # Handling of arguments.
   18773 for ac_config_target in $ac_config_targets
   18774 do
   18775   case $ac_config_target in
   18776     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18777     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18778     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18779     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18780     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18781     "xrender.pc") CONFIG_FILES="$CONFIG_FILES xrender.pc" ;;
   18782 
   18783   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18784   esac
   18785 done
   18786 
   18787 
   18788 # If the user did not use the arguments to specify the items to instantiate,
   18789 # then the envvar interface is used.  Set only those that are not.
   18790 # We use the long form for the default assignment because of an extremely
   18791 # bizarre bug on SunOS 4.1.3.
   18792 if $ac_need_defaults; then
   18793   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18794   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18795   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18796 fi
   18797 
   18798 # Have a temporary directory for convenience.  Make it in the build tree
   18799 # simply because there is no reason against having it here, and in addition,
   18800 # creating and moving files from /tmp can sometimes cause problems.
   18801 # Hook for its removal unless debugging.
   18802 # Note that there is a small window in which the directory will not be cleaned:
   18803 # after its creation but before its name has been assigned to `$tmp'.
   18804 $debug ||
   18805 {
   18806   tmp= ac_tmp=
   18807   trap 'exit_status=$?
   18808   : "${ac_tmp:=$tmp}"
   18809   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18810 ' 0
   18811   trap 'as_fn_exit 1' 1 2 13 15
   18812 }
   18813 # Create a (secure) tmp directory for tmp files.
   18814 
   18815 {
   18816   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18817   test -d "$tmp"
   18818 }  ||
   18819 {
   18820   tmp=./conf$$-$RANDOM
   18821   (umask 077 && mkdir "$tmp")
   18822 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18823 ac_tmp=$tmp
   18824 
   18825 # Set up the scripts for CONFIG_FILES section.
   18826 # No need to generate them if there are no CONFIG_FILES.
   18827 # This happens for instance with `./config.status config.h'.
   18828 if test -n "$CONFIG_FILES"; then
   18829 
   18830 
   18831 ac_cr=`echo X | tr X '\015'`
   18832 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18833 # But we know of no other shell where ac_cr would be empty at this
   18834 # point, so we can use a bashism as a fallback.
   18835 if test "x$ac_cr" = x; then
   18836   eval ac_cr=\$\'\\r\'
   18837 fi
   18838 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18839 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18840   ac_cs_awk_cr='\\r'
   18841 else
   18842   ac_cs_awk_cr=$ac_cr
   18843 fi
   18844 
   18845 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18846 _ACEOF
   18847 
   18848 
   18849 {
   18850   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18851   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18852   echo "_ACEOF"
   18853 } >conf$$subs.sh ||
   18854   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18855 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18856 ac_delim='%!_!# '
   18857 for ac_last_try in false false false false false :; do
   18858   . ./conf$$subs.sh ||
   18859     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18860 
   18861   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18862   if test $ac_delim_n = $ac_delim_num; then
   18863     break
   18864   elif $ac_last_try; then
   18865     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18866   else
   18867     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18868   fi
   18869 done
   18870 rm -f conf$$subs.sh
   18871 
   18872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18873 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18874 _ACEOF
   18875 sed -n '
   18876 h
   18877 s/^/S["/; s/!.*/"]=/
   18878 p
   18879 g
   18880 s/^[^!]*!//
   18881 :repl
   18882 t repl
   18883 s/'"$ac_delim"'$//
   18884 t delim
   18885 :nl
   18886 h
   18887 s/\(.\{148\}\)..*/\1/
   18888 t more1
   18889 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18890 p
   18891 n
   18892 b repl
   18893 :more1
   18894 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18895 p
   18896 g
   18897 s/.\{148\}//
   18898 t nl
   18899 :delim
   18900 h
   18901 s/\(.\{148\}\)..*/\1/
   18902 t more2
   18903 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18904 p
   18905 b
   18906 :more2
   18907 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18908 p
   18909 g
   18910 s/.\{148\}//
   18911 t delim
   18912 ' <conf$$subs.awk | sed '
   18913 /^[^""]/{
   18914   N
   18915   s/\n//
   18916 }
   18917 ' >>$CONFIG_STATUS || ac_write_fail=1
   18918 rm -f conf$$subs.awk
   18919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18920 _ACAWK
   18921 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18922   for (key in S) S_is_set[key] = 1
   18923   FS = ""
   18924 
   18925 }
   18926 {
   18927   line = $ 0
   18928   nfields = split(line, field, "@")
   18929   substed = 0
   18930   len = length(field[1])
   18931   for (i = 2; i < nfields; i++) {
   18932     key = field[i]
   18933     keylen = length(key)
   18934     if (S_is_set[key]) {
   18935       value = S[key]
   18936       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18937       len += length(value) + length(field[++i])
   18938       substed = 1
   18939     } else
   18940       len += 1 + keylen
   18941   }
   18942 
   18943   print line
   18944 }
   18945 
   18946 _ACAWK
   18947 _ACEOF
   18948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18949 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18950   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18951 else
   18952   cat
   18953 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18954   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18955 _ACEOF
   18956 
   18957 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18958 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18959 # trailing colons and then remove the whole line if VPATH becomes empty
   18960 # (actually we leave an empty line to preserve line numbers).
   18961 if test "x$srcdir" = x.; then
   18962   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18963 h
   18964 s///
   18965 s/^/:/
   18966 s/[	 ]*$/:/
   18967 s/:\$(srcdir):/:/g
   18968 s/:\${srcdir}:/:/g
   18969 s/:@srcdir@:/:/g
   18970 s/^:*//
   18971 s/:*$//
   18972 x
   18973 s/\(=[	 ]*\).*/\1/
   18974 G
   18975 s/\n//
   18976 s/^[^=]*=[	 ]*$//
   18977 }'
   18978 fi
   18979 
   18980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18981 fi # test -n "$CONFIG_FILES"
   18982 
   18983 # Set up the scripts for CONFIG_HEADERS section.
   18984 # No need to generate them if there are no CONFIG_HEADERS.
   18985 # This happens for instance with `./config.status Makefile'.
   18986 if test -n "$CONFIG_HEADERS"; then
   18987 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18988 BEGIN {
   18989 _ACEOF
   18990 
   18991 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18992 # here-document in config.status, that substitutes the proper values into
   18993 # config.h.in to produce config.h.
   18994 
   18995 # Create a delimiter string that does not exist in confdefs.h, to ease
   18996 # handling of long lines.
   18997 ac_delim='%!_!# '
   18998 for ac_last_try in false false :; do
   18999   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19000   if test -z "$ac_tt"; then
   19001     break
   19002   elif $ac_last_try; then
   19003     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19004   else
   19005     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19006   fi
   19007 done
   19008 
   19009 # For the awk script, D is an array of macro values keyed by name,
   19010 # likewise P contains macro parameters if any.  Preserve backslash
   19011 # newline sequences.
   19012 
   19013 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19014 sed -n '
   19015 s/.\{148\}/&'"$ac_delim"'/g
   19016 t rset
   19017 :rset
   19018 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19019 t def
   19020 d
   19021 :def
   19022 s/\\$//
   19023 t bsnl
   19024 s/["\\]/\\&/g
   19025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19026 D["\1"]=" \3"/p
   19027 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19028 d
   19029 :bsnl
   19030 s/["\\]/\\&/g
   19031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19032 D["\1"]=" \3\\\\\\n"\\/p
   19033 t cont
   19034 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19035 t cont
   19036 d
   19037 :cont
   19038 n
   19039 s/.\{148\}/&'"$ac_delim"'/g
   19040 t clear
   19041 :clear
   19042 s/\\$//
   19043 t bsnlc
   19044 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19045 d
   19046 :bsnlc
   19047 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19048 b cont
   19049 ' <confdefs.h | sed '
   19050 s/'"$ac_delim"'/"\\\
   19051 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19052 
   19053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19054   for (key in D) D_is_set[key] = 1
   19055   FS = ""
   19056 }
   19057 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19058   line = \$ 0
   19059   split(line, arg, " ")
   19060   if (arg[1] == "#") {
   19061     defundef = arg[2]
   19062     mac1 = arg[3]
   19063   } else {
   19064     defundef = substr(arg[1], 2)
   19065     mac1 = arg[2]
   19066   }
   19067   split(mac1, mac2, "(") #)
   19068   macro = mac2[1]
   19069   prefix = substr(line, 1, index(line, defundef) - 1)
   19070   if (D_is_set[macro]) {
   19071     # Preserve the white space surrounding the "#".
   19072     print prefix "define", macro P[macro] D[macro]
   19073     next
   19074   } else {
   19075     # Replace #undef with comments.  This is necessary, for example,
   19076     # in the case of _POSIX_SOURCE, which is predefined and required
   19077     # on some systems where configure will not decide to define it.
   19078     if (defundef == "undef") {
   19079       print "/*", prefix defundef, macro, "*/"
   19080       next
   19081     }
   19082   }
   19083 }
   19084 { print }
   19085 _ACAWK
   19086 _ACEOF
   19087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19088   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19089 fi # test -n "$CONFIG_HEADERS"
   19090 
   19091 
   19092 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19093 shift
   19094 for ac_tag
   19095 do
   19096   case $ac_tag in
   19097   :[FHLC]) ac_mode=$ac_tag; continue;;
   19098   esac
   19099   case $ac_mode$ac_tag in
   19100   :[FHL]*:*);;
   19101   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19102   :[FH]-) ac_tag=-:-;;
   19103   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19104   esac
   19105   ac_save_IFS=$IFS
   19106   IFS=:
   19107   set x $ac_tag
   19108   IFS=$ac_save_IFS
   19109   shift
   19110   ac_file=$1
   19111   shift
   19112 
   19113   case $ac_mode in
   19114   :L) ac_source=$1;;
   19115   :[FH])
   19116     ac_file_inputs=
   19117     for ac_f
   19118     do
   19119       case $ac_f in
   19120       -) ac_f="$ac_tmp/stdin";;
   19121       *) # Look for the file first in the build tree, then in the source tree
   19122 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19123 	 # because $ac_f cannot contain `:'.
   19124 	 test -f "$ac_f" ||
   19125 	   case $ac_f in
   19126 	   [\\/$]*) false;;
   19127 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19128 	   esac ||
   19129 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19130       esac
   19131       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19132       as_fn_append ac_file_inputs " '$ac_f'"
   19133     done
   19134 
   19135     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19136     # use $as_me), people would be surprised to read:
   19137     #    /* config.h.  Generated by config.status.  */
   19138     configure_input='Generated from '`
   19139 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19140 	`' by configure.'
   19141     if test x"$ac_file" != x-; then
   19142       configure_input="$ac_file.  $configure_input"
   19143       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19144 $as_echo "$as_me: creating $ac_file" >&6;}
   19145     fi
   19146     # Neutralize special characters interpreted by sed in replacement strings.
   19147     case $configure_input in #(
   19148     *\&* | *\|* | *\\* )
   19149        ac_sed_conf_input=`$as_echo "$configure_input" |
   19150        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19151     *) ac_sed_conf_input=$configure_input;;
   19152     esac
   19153 
   19154     case $ac_tag in
   19155     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19156       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19157     esac
   19158     ;;
   19159   esac
   19160 
   19161   ac_dir=`$as_dirname -- "$ac_file" ||
   19162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19163 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19164 	 X"$ac_file" : 'X\(//\)$' \| \
   19165 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19166 $as_echo X"$ac_file" |
   19167     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19168 	    s//\1/
   19169 	    q
   19170 	  }
   19171 	  /^X\(\/\/\)[^/].*/{
   19172 	    s//\1/
   19173 	    q
   19174 	  }
   19175 	  /^X\(\/\/\)$/{
   19176 	    s//\1/
   19177 	    q
   19178 	  }
   19179 	  /^X\(\/\).*/{
   19180 	    s//\1/
   19181 	    q
   19182 	  }
   19183 	  s/.*/./; q'`
   19184   as_dir="$ac_dir"; as_fn_mkdir_p
   19185   ac_builddir=.
   19186 
   19187 case "$ac_dir" in
   19188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19189 *)
   19190   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19191   # A ".." for each directory in $ac_dir_suffix.
   19192   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19193   case $ac_top_builddir_sub in
   19194   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19195   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19196   esac ;;
   19197 esac
   19198 ac_abs_top_builddir=$ac_pwd
   19199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19200 # for backward compatibility:
   19201 ac_top_builddir=$ac_top_build_prefix
   19202 
   19203 case $srcdir in
   19204   .)  # We are building in place.
   19205     ac_srcdir=.
   19206     ac_top_srcdir=$ac_top_builddir_sub
   19207     ac_abs_top_srcdir=$ac_pwd ;;
   19208   [\\/]* | ?:[\\/]* )  # Absolute name.
   19209     ac_srcdir=$srcdir$ac_dir_suffix;
   19210     ac_top_srcdir=$srcdir
   19211     ac_abs_top_srcdir=$srcdir ;;
   19212   *) # Relative name.
   19213     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19214     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19215     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19216 esac
   19217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19218 
   19219 
   19220   case $ac_mode in
   19221   :F)
   19222   #
   19223   # CONFIG_FILE
   19224   #
   19225 
   19226   case $INSTALL in
   19227   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19228   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19229   esac
   19230   ac_MKDIR_P=$MKDIR_P
   19231   case $MKDIR_P in
   19232   [\\/$]* | ?:[\\/]* ) ;;
   19233   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19234   esac
   19235 _ACEOF
   19236 
   19237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19238 # If the template does not know about datarootdir, expand it.
   19239 # FIXME: This hack should be removed a few years after 2.60.
   19240 ac_datarootdir_hack=; ac_datarootdir_seen=
   19241 ac_sed_dataroot='
   19242 /datarootdir/ {
   19243   p
   19244   q
   19245 }
   19246 /@datadir@/p
   19247 /@docdir@/p
   19248 /@infodir@/p
   19249 /@localedir@/p
   19250 /@mandir@/p'
   19251 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19252 *datarootdir*) ac_datarootdir_seen=yes;;
   19253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19254   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19255 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19256 _ACEOF
   19257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19258   ac_datarootdir_hack='
   19259   s&@datadir@&$datadir&g
   19260   s&@docdir@&$docdir&g
   19261   s&@infodir@&$infodir&g
   19262   s&@localedir@&$localedir&g
   19263   s&@mandir@&$mandir&g
   19264   s&\\\${datarootdir}&$datarootdir&g' ;;
   19265 esac
   19266 _ACEOF
   19267 
   19268 # Neutralize VPATH when `$srcdir' = `.'.
   19269 # Shell code in configure.ac might set extrasub.
   19270 # FIXME: do we really want to maintain this feature?
   19271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19272 ac_sed_extra="$ac_vpsub
   19273 $extrasub
   19274 _ACEOF
   19275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19276 :t
   19277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19278 s|@configure_input@|$ac_sed_conf_input|;t t
   19279 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19280 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19281 s&@srcdir@&$ac_srcdir&;t t
   19282 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19283 s&@top_srcdir@&$ac_top_srcdir&;t t
   19284 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19285 s&@builddir@&$ac_builddir&;t t
   19286 s&@abs_builddir@&$ac_abs_builddir&;t t
   19287 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19288 s&@INSTALL@&$ac_INSTALL&;t t
   19289 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19290 $ac_datarootdir_hack
   19291 "
   19292 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19293   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19294 
   19295 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19296   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19297   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19298       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19299   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19300 which seems to be undefined.  Please make sure it is defined" >&5
   19301 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19302 which seems to be undefined.  Please make sure it is defined" >&2;}
   19303 
   19304   rm -f "$ac_tmp/stdin"
   19305   case $ac_file in
   19306   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19307   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19308   esac \
   19309   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19310  ;;
   19311   :H)
   19312   #
   19313   # CONFIG_HEADER
   19314   #
   19315   if test x"$ac_file" != x-; then
   19316     {
   19317       $as_echo "/* $configure_input  */" \
   19318       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19319     } >"$ac_tmp/config.h" \
   19320       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19321     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19322       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19323 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19324     else
   19325       rm -f "$ac_file"
   19326       mv "$ac_tmp/config.h" "$ac_file" \
   19327 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19328     fi
   19329   else
   19330     $as_echo "/* $configure_input  */" \
   19331       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19332       || as_fn_error $? "could not create -" "$LINENO" 5
   19333   fi
   19334 # Compute "$ac_file"'s index in $config_headers.
   19335 _am_arg="$ac_file"
   19336 _am_stamp_count=1
   19337 for _am_header in $config_headers :; do
   19338   case $_am_header in
   19339     $_am_arg | $_am_arg:* )
   19340       break ;;
   19341     * )
   19342       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19343   esac
   19344 done
   19345 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19346 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19347 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19348 	 X"$_am_arg" : 'X\(//\)$' \| \
   19349 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19350 $as_echo X"$_am_arg" |
   19351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19352 	    s//\1/
   19353 	    q
   19354 	  }
   19355 	  /^X\(\/\/\)[^/].*/{
   19356 	    s//\1/
   19357 	    q
   19358 	  }
   19359 	  /^X\(\/\/\)$/{
   19360 	    s//\1/
   19361 	    q
   19362 	  }
   19363 	  /^X\(\/\).*/{
   19364 	    s//\1/
   19365 	    q
   19366 	  }
   19367 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19368  ;;
   19369 
   19370   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19371 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19372  ;;
   19373   esac
   19374 
   19375 
   19376   case $ac_file$ac_mode in
   19377     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19378   # Older Autoconf quotes --file arguments for eval, but not when files
   19379   # are listed without --file.  Let's play safe and only enable the eval
   19380   # if we detect the quoting.
   19381   case $CONFIG_FILES in
   19382   *\'*) eval set x "$CONFIG_FILES" ;;
   19383   *)   set x $CONFIG_FILES ;;
   19384   esac
   19385   shift
   19386   for mf
   19387   do
   19388     # Strip MF so we end up with the name of the file.
   19389     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19390     # Check whether this is an Automake generated Makefile or not.
   19391     # We used to match only the files named 'Makefile.in', but
   19392     # some people rename them; so instead we look at the file content.
   19393     # Grep'ing the first line is not enough: some people post-process
   19394     # each Makefile.in and add a new line on top of each file to say so.
   19395     # Grep'ing the whole file is not good either: AIX grep has a line
   19396     # limit of 2048, but all sed's we know have understand at least 4000.
   19397     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19398       dirpart=`$as_dirname -- "$mf" ||
   19399 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19400 	 X"$mf" : 'X\(//\)[^/]' \| \
   19401 	 X"$mf" : 'X\(//\)$' \| \
   19402 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19403 $as_echo X"$mf" |
   19404     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19405 	    s//\1/
   19406 	    q
   19407 	  }
   19408 	  /^X\(\/\/\)[^/].*/{
   19409 	    s//\1/
   19410 	    q
   19411 	  }
   19412 	  /^X\(\/\/\)$/{
   19413 	    s//\1/
   19414 	    q
   19415 	  }
   19416 	  /^X\(\/\).*/{
   19417 	    s//\1/
   19418 	    q
   19419 	  }
   19420 	  s/.*/./; q'`
   19421     else
   19422       continue
   19423     fi
   19424     # Extract the definition of DEPDIR, am__include, and am__quote
   19425     # from the Makefile without running 'make'.
   19426     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19427     test -z "$DEPDIR" && continue
   19428     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19429     test -z "$am__include" && continue
   19430     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19431     # Find all dependency output files, they are included files with
   19432     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19433     # simplest approach to changing $(DEPDIR) to its actual value in the
   19434     # expansion.
   19435     for file in `sed -n "
   19436       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19437 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19438       # Make sure the directory exists.
   19439       test -f "$dirpart/$file" && continue
   19440       fdir=`$as_dirname -- "$file" ||
   19441 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19442 	 X"$file" : 'X\(//\)[^/]' \| \
   19443 	 X"$file" : 'X\(//\)$' \| \
   19444 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19445 $as_echo X"$file" |
   19446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19447 	    s//\1/
   19448 	    q
   19449 	  }
   19450 	  /^X\(\/\/\)[^/].*/{
   19451 	    s//\1/
   19452 	    q
   19453 	  }
   19454 	  /^X\(\/\/\)$/{
   19455 	    s//\1/
   19456 	    q
   19457 	  }
   19458 	  /^X\(\/\).*/{
   19459 	    s//\1/
   19460 	    q
   19461 	  }
   19462 	  s/.*/./; q'`
   19463       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19464       # echo "creating $dirpart/$file"
   19465       echo '# dummy' > "$dirpart/$file"
   19466     done
   19467   done
   19468 }
   19469  ;;
   19470     "libtool":C)
   19471 
   19472     # See if we are running on zsh, and set the options which allow our
   19473     # commands through without removal of \ escapes.
   19474     if test -n "${ZSH_VERSION+set}" ; then
   19475       setopt NO_GLOB_SUBST
   19476     fi
   19477 
   19478     cfgfile="${ofile}T"
   19479     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19480     $RM "$cfgfile"
   19481 
   19482     cat <<_LT_EOF >> "$cfgfile"
   19483 #! $SHELL
   19484 
   19485 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19486 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19487 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19488 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19489 #
   19490 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19491 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19492 #                 Foundation, Inc.
   19493 #   Written by Gordon Matzigkeit, 1996
   19494 #
   19495 #   This file is part of GNU Libtool.
   19496 #
   19497 # GNU Libtool is free software; you can redistribute it and/or
   19498 # modify it under the terms of the GNU General Public License as
   19499 # published by the Free Software Foundation; either version 2 of
   19500 # the License, or (at your option) any later version.
   19501 #
   19502 # As a special exception to the GNU General Public License,
   19503 # if you distribute this file as part of a program or library that
   19504 # is built using GNU Libtool, you may include this file under the
   19505 # same distribution terms that you use for the rest of that program.
   19506 #
   19507 # GNU Libtool is distributed in the hope that it will be useful,
   19508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19510 # GNU General Public License for more details.
   19511 #
   19512 # You should have received a copy of the GNU General Public License
   19513 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19514 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19515 # obtained by writing to the Free Software Foundation, Inc.,
   19516 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19517 
   19518 
   19519 # The names of the tagged configurations supported by this script.
   19520 available_tags=""
   19521 
   19522 # ### BEGIN LIBTOOL CONFIG
   19523 
   19524 # Which release of libtool.m4 was used?
   19525 macro_version=$macro_version
   19526 macro_revision=$macro_revision
   19527 
   19528 # Whether or not to build shared libraries.
   19529 build_libtool_libs=$enable_shared
   19530 
   19531 # Whether or not to build static libraries.
   19532 build_old_libs=$enable_static
   19533 
   19534 # What type of objects to build.
   19535 pic_mode=$pic_mode
   19536 
   19537 # Whether or not to optimize for fast installation.
   19538 fast_install=$enable_fast_install
   19539 
   19540 # Shell to use when invoking shell scripts.
   19541 SHELL=$lt_SHELL
   19542 
   19543 # An echo program that protects backslashes.
   19544 ECHO=$lt_ECHO
   19545 
   19546 # The PATH separator for the build system.
   19547 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19548 
   19549 # The host system.
   19550 host_alias=$host_alias
   19551 host=$host
   19552 host_os=$host_os
   19553 
   19554 # The build system.
   19555 build_alias=$build_alias
   19556 build=$build
   19557 build_os=$build_os
   19558 
   19559 # A sed program that does not truncate output.
   19560 SED=$lt_SED
   19561 
   19562 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19563 Xsed="\$SED -e 1s/^X//"
   19564 
   19565 # A grep program that handles long lines.
   19566 GREP=$lt_GREP
   19567 
   19568 # An ERE matcher.
   19569 EGREP=$lt_EGREP
   19570 
   19571 # A literal string matcher.
   19572 FGREP=$lt_FGREP
   19573 
   19574 # A BSD- or MS-compatible name lister.
   19575 NM=$lt_NM
   19576 
   19577 # Whether we need soft or hard links.
   19578 LN_S=$lt_LN_S
   19579 
   19580 # What is the maximum length of a command?
   19581 max_cmd_len=$max_cmd_len
   19582 
   19583 # Object file suffix (normally "o").
   19584 objext=$ac_objext
   19585 
   19586 # Executable file suffix (normally "").
   19587 exeext=$exeext
   19588 
   19589 # whether the shell understands "unset".
   19590 lt_unset=$lt_unset
   19591 
   19592 # turn spaces into newlines.
   19593 SP2NL=$lt_lt_SP2NL
   19594 
   19595 # turn newlines into spaces.
   19596 NL2SP=$lt_lt_NL2SP
   19597 
   19598 # convert \$build file names to \$host format.
   19599 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19600 
   19601 # convert \$build files to toolchain format.
   19602 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19603 
   19604 # An object symbol dumper.
   19605 OBJDUMP=$lt_OBJDUMP
   19606 
   19607 # Method to check whether dependent libraries are shared objects.
   19608 deplibs_check_method=$lt_deplibs_check_method
   19609 
   19610 # Command to use when deplibs_check_method = "file_magic".
   19611 file_magic_cmd=$lt_file_magic_cmd
   19612 
   19613 # How to find potential files when deplibs_check_method = "file_magic".
   19614 file_magic_glob=$lt_file_magic_glob
   19615 
   19616 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19617 want_nocaseglob=$lt_want_nocaseglob
   19618 
   19619 # DLL creation program.
   19620 DLLTOOL=$lt_DLLTOOL
   19621 
   19622 # Command to associate shared and link libraries.
   19623 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19624 
   19625 # The archiver.
   19626 AR=$lt_AR
   19627 
   19628 # Flags to create an archive.
   19629 AR_FLAGS=$lt_AR_FLAGS
   19630 
   19631 # How to feed a file listing to the archiver.
   19632 archiver_list_spec=$lt_archiver_list_spec
   19633 
   19634 # A symbol stripping program.
   19635 STRIP=$lt_STRIP
   19636 
   19637 # Commands used to install an old-style archive.
   19638 RANLIB=$lt_RANLIB
   19639 old_postinstall_cmds=$lt_old_postinstall_cmds
   19640 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19641 
   19642 # Whether to use a lock for old archive extraction.
   19643 lock_old_archive_extraction=$lock_old_archive_extraction
   19644 
   19645 # A C compiler.
   19646 LTCC=$lt_CC
   19647 
   19648 # LTCC compiler flags.
   19649 LTCFLAGS=$lt_CFLAGS
   19650 
   19651 # Take the output of nm and produce a listing of raw symbols and C names.
   19652 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19653 
   19654 # Transform the output of nm in a proper C declaration.
   19655 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19656 
   19657 # Transform the output of nm in a C name address pair.
   19658 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19659 
   19660 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19661 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19662 
   19663 # Specify filename containing input files for \$NM.
   19664 nm_file_list_spec=$lt_nm_file_list_spec
   19665 
   19666 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19667 lt_sysroot=$lt_sysroot
   19668 
   19669 # The name of the directory that contains temporary libtool files.
   19670 objdir=$objdir
   19671 
   19672 # Used to examine libraries when file_magic_cmd begins with "file".
   19673 MAGIC_CMD=$MAGIC_CMD
   19674 
   19675 # Must we lock files when doing compilation?
   19676 need_locks=$lt_need_locks
   19677 
   19678 # Manifest tool.
   19679 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19680 
   19681 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19682 DSYMUTIL=$lt_DSYMUTIL
   19683 
   19684 # Tool to change global to local symbols on Mac OS X.
   19685 NMEDIT=$lt_NMEDIT
   19686 
   19687 # Tool to manipulate fat objects and archives on Mac OS X.
   19688 LIPO=$lt_LIPO
   19689 
   19690 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19691 OTOOL=$lt_OTOOL
   19692 
   19693 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19694 OTOOL64=$lt_OTOOL64
   19695 
   19696 # Old archive suffix (normally "a").
   19697 libext=$libext
   19698 
   19699 # Shared library suffix (normally ".so").
   19700 shrext_cmds=$lt_shrext_cmds
   19701 
   19702 # The commands to extract the exported symbol list from a shared archive.
   19703 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19704 
   19705 # Variables whose values should be saved in libtool wrapper scripts and
   19706 # restored at link time.
   19707 variables_saved_for_relink=$lt_variables_saved_for_relink
   19708 
   19709 # Do we need the "lib" prefix for modules?
   19710 need_lib_prefix=$need_lib_prefix
   19711 
   19712 # Do we need a version for libraries?
   19713 need_version=$need_version
   19714 
   19715 # Library versioning type.
   19716 version_type=$version_type
   19717 
   19718 # Shared library runtime path variable.
   19719 runpath_var=$runpath_var
   19720 
   19721 # Shared library path variable.
   19722 shlibpath_var=$shlibpath_var
   19723 
   19724 # Is shlibpath searched before the hard-coded library search path?
   19725 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19726 
   19727 # Format of library name prefix.
   19728 libname_spec=$lt_libname_spec
   19729 
   19730 # List of archive names.  First name is the real one, the rest are links.
   19731 # The last name is the one that the linker finds with -lNAME
   19732 library_names_spec=$lt_library_names_spec
   19733 
   19734 # The coded name of the library, if different from the real name.
   19735 soname_spec=$lt_soname_spec
   19736 
   19737 # Permission mode override for installation of shared libraries.
   19738 install_override_mode=$lt_install_override_mode
   19739 
   19740 # Command to use after installation of a shared archive.
   19741 postinstall_cmds=$lt_postinstall_cmds
   19742 
   19743 # Command to use after uninstallation of a shared archive.
   19744 postuninstall_cmds=$lt_postuninstall_cmds
   19745 
   19746 # Commands used to finish a libtool library installation in a directory.
   19747 finish_cmds=$lt_finish_cmds
   19748 
   19749 # As "finish_cmds", except a single script fragment to be evaled but
   19750 # not shown.
   19751 finish_eval=$lt_finish_eval
   19752 
   19753 # Whether we should hardcode library paths into libraries.
   19754 hardcode_into_libs=$hardcode_into_libs
   19755 
   19756 # Compile-time system search path for libraries.
   19757 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19758 
   19759 # Run-time system search path for libraries.
   19760 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19761 
   19762 # Whether dlopen is supported.
   19763 dlopen_support=$enable_dlopen
   19764 
   19765 # Whether dlopen of programs is supported.
   19766 dlopen_self=$enable_dlopen_self
   19767 
   19768 # Whether dlopen of statically linked programs is supported.
   19769 dlopen_self_static=$enable_dlopen_self_static
   19770 
   19771 # Commands to strip libraries.
   19772 old_striplib=$lt_old_striplib
   19773 striplib=$lt_striplib
   19774 
   19775 
   19776 # The linker used to build libraries.
   19777 LD=$lt_LD
   19778 
   19779 # How to create reloadable object files.
   19780 reload_flag=$lt_reload_flag
   19781 reload_cmds=$lt_reload_cmds
   19782 
   19783 # Commands used to build an old-style archive.
   19784 old_archive_cmds=$lt_old_archive_cmds
   19785 
   19786 # A language specific compiler.
   19787 CC=$lt_compiler
   19788 
   19789 # Is the compiler the GNU compiler?
   19790 with_gcc=$GCC
   19791 
   19792 # Compiler flag to turn off builtin functions.
   19793 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19794 
   19795 # Additional compiler flags for building library objects.
   19796 pic_flag=$lt_lt_prog_compiler_pic
   19797 
   19798 # How to pass a linker flag through the compiler.
   19799 wl=$lt_lt_prog_compiler_wl
   19800 
   19801 # Compiler flag to prevent dynamic linking.
   19802 link_static_flag=$lt_lt_prog_compiler_static
   19803 
   19804 # Does compiler simultaneously support -c and -o options?
   19805 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19806 
   19807 # Whether or not to add -lc for building shared libraries.
   19808 build_libtool_need_lc=$archive_cmds_need_lc
   19809 
   19810 # Whether or not to disallow shared libs when runtime libs are static.
   19811 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19812 
   19813 # Compiler flag to allow reflexive dlopens.
   19814 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19815 
   19816 # Compiler flag to generate shared objects directly from archives.
   19817 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19818 
   19819 # Whether the compiler copes with passing no objects directly.
   19820 compiler_needs_object=$lt_compiler_needs_object
   19821 
   19822 # Create an old-style archive from a shared archive.
   19823 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19824 
   19825 # Create a temporary old-style archive to link instead of a shared archive.
   19826 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19827 
   19828 # Commands used to build a shared archive.
   19829 archive_cmds=$lt_archive_cmds
   19830 archive_expsym_cmds=$lt_archive_expsym_cmds
   19831 
   19832 # Commands used to build a loadable module if different from building
   19833 # a shared archive.
   19834 module_cmds=$lt_module_cmds
   19835 module_expsym_cmds=$lt_module_expsym_cmds
   19836 
   19837 # Whether we are building with GNU ld or not.
   19838 with_gnu_ld=$lt_with_gnu_ld
   19839 
   19840 # Flag that allows shared libraries with undefined symbols to be built.
   19841 allow_undefined_flag=$lt_allow_undefined_flag
   19842 
   19843 # Flag that enforces no undefined symbols.
   19844 no_undefined_flag=$lt_no_undefined_flag
   19845 
   19846 # Flag to hardcode \$libdir into a binary during linking.
   19847 # This must work even if \$libdir does not exist
   19848 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19849 
   19850 # Whether we need a single "-rpath" flag with a separated argument.
   19851 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19852 
   19853 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19854 # DIR into the resulting binary.
   19855 hardcode_direct=$hardcode_direct
   19856 
   19857 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19858 # DIR into the resulting binary and the resulting library dependency is
   19859 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19860 # library is relocated.
   19861 hardcode_direct_absolute=$hardcode_direct_absolute
   19862 
   19863 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19864 # into the resulting binary.
   19865 hardcode_minus_L=$hardcode_minus_L
   19866 
   19867 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19868 # into the resulting binary.
   19869 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19870 
   19871 # Set to "yes" if building a shared library automatically hardcodes DIR
   19872 # into the library and all subsequent libraries and executables linked
   19873 # against it.
   19874 hardcode_automatic=$hardcode_automatic
   19875 
   19876 # Set to yes if linker adds runtime paths of dependent libraries
   19877 # to runtime path list.
   19878 inherit_rpath=$inherit_rpath
   19879 
   19880 # Whether libtool must link a program against all its dependency libraries.
   19881 link_all_deplibs=$link_all_deplibs
   19882 
   19883 # Set to "yes" if exported symbols are required.
   19884 always_export_symbols=$always_export_symbols
   19885 
   19886 # The commands to list exported symbols.
   19887 export_symbols_cmds=$lt_export_symbols_cmds
   19888 
   19889 # Symbols that should not be listed in the preloaded symbols.
   19890 exclude_expsyms=$lt_exclude_expsyms
   19891 
   19892 # Symbols that must always be exported.
   19893 include_expsyms=$lt_include_expsyms
   19894 
   19895 # Commands necessary for linking programs (against libraries) with templates.
   19896 prelink_cmds=$lt_prelink_cmds
   19897 
   19898 # Commands necessary for finishing linking programs.
   19899 postlink_cmds=$lt_postlink_cmds
   19900 
   19901 # Specify filename containing input files.
   19902 file_list_spec=$lt_file_list_spec
   19903 
   19904 # How to hardcode a shared library path into an executable.
   19905 hardcode_action=$hardcode_action
   19906 
   19907 # ### END LIBTOOL CONFIG
   19908 
   19909 _LT_EOF
   19910 
   19911   case $host_os in
   19912   aix3*)
   19913     cat <<\_LT_EOF >> "$cfgfile"
   19914 # AIX sometimes has problems with the GCC collect2 program.  For some
   19915 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19916 # vanish in a puff of smoke.
   19917 if test "X${COLLECT_NAMES+set}" != Xset; then
   19918   COLLECT_NAMES=
   19919   export COLLECT_NAMES
   19920 fi
   19921 _LT_EOF
   19922     ;;
   19923   esac
   19924 
   19925 
   19926 ltmain="$ac_aux_dir/ltmain.sh"
   19927 
   19928 
   19929   # We use sed instead of cat because bash on DJGPP gets confused if
   19930   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19931   # text mode, it properly converts lines to CR/LF.  This bash problem
   19932   # is reportedly fixed, but why not run on old versions too?
   19933   sed '$q' "$ltmain" >> "$cfgfile" \
   19934      || (rm -f "$cfgfile"; exit 1)
   19935 
   19936   if test x"$xsi_shell" = xyes; then
   19937   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19938 func_dirname ()\
   19939 {\
   19940 \    case ${1} in\
   19941 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19942 \      *  ) func_dirname_result="${3}" ;;\
   19943 \    esac\
   19944 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19945   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19946     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19947 test 0 -eq $? || _lt_function_replace_fail=:
   19948 
   19949 
   19950   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19951 func_basename ()\
   19952 {\
   19953 \    func_basename_result="${1##*/}"\
   19954 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19955   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19956     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19957 test 0 -eq $? || _lt_function_replace_fail=:
   19958 
   19959 
   19960   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19961 func_dirname_and_basename ()\
   19962 {\
   19963 \    case ${1} in\
   19964 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19965 \      *  ) func_dirname_result="${3}" ;;\
   19966 \    esac\
   19967 \    func_basename_result="${1##*/}"\
   19968 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19969   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19970     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19971 test 0 -eq $? || _lt_function_replace_fail=:
   19972 
   19973 
   19974   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19975 func_stripname ()\
   19976 {\
   19977 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19978 \    # positional parameters, so assign one to ordinary parameter first.\
   19979 \    func_stripname_result=${3}\
   19980 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19981 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19982 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19983   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19984     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19985 test 0 -eq $? || _lt_function_replace_fail=:
   19986 
   19987 
   19988   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19989 func_split_long_opt ()\
   19990 {\
   19991 \    func_split_long_opt_name=${1%%=*}\
   19992 \    func_split_long_opt_arg=${1#*=}\
   19993 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19994   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19995     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19996 test 0 -eq $? || _lt_function_replace_fail=:
   19997 
   19998 
   19999   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20000 func_split_short_opt ()\
   20001 {\
   20002 \    func_split_short_opt_arg=${1#??}\
   20003 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20004 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20005   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20006     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20007 test 0 -eq $? || _lt_function_replace_fail=:
   20008 
   20009 
   20010   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20011 func_lo2o ()\
   20012 {\
   20013 \    case ${1} in\
   20014 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20015 \      *)    func_lo2o_result=${1} ;;\
   20016 \    esac\
   20017 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20018   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20019     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20020 test 0 -eq $? || _lt_function_replace_fail=:
   20021 
   20022 
   20023   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20024 func_xform ()\
   20025 {\
   20026     func_xform_result=${1%.*}.lo\
   20027 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20028   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20029     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20030 test 0 -eq $? || _lt_function_replace_fail=:
   20031 
   20032 
   20033   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20034 func_arith ()\
   20035 {\
   20036     func_arith_result=$(( $* ))\
   20037 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20038   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20039     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20040 test 0 -eq $? || _lt_function_replace_fail=:
   20041 
   20042 
   20043   sed -e '/^func_len ()$/,/^} # func_len /c\
   20044 func_len ()\
   20045 {\
   20046     func_len_result=${#1}\
   20047 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20048   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20049     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20050 test 0 -eq $? || _lt_function_replace_fail=:
   20051 
   20052 fi
   20053 
   20054 if test x"$lt_shell_append" = xyes; then
   20055   sed -e '/^func_append ()$/,/^} # func_append /c\
   20056 func_append ()\
   20057 {\
   20058     eval "${1}+=\\${2}"\
   20059 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20060   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20061     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20062 test 0 -eq $? || _lt_function_replace_fail=:
   20063 
   20064 
   20065   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20066 func_append_quoted ()\
   20067 {\
   20068 \    func_quote_for_eval "${2}"\
   20069 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20070 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20071   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20072     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20073 test 0 -eq $? || _lt_function_replace_fail=:
   20074 
   20075 
   20076   # Save a `func_append' function call where possible by direct use of '+='
   20077   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20078     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20079       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20080   test 0 -eq $? || _lt_function_replace_fail=:
   20081 else
   20082   # Save a `func_append' function call even when '+=' is not available
   20083   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20084     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20085       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20086   test 0 -eq $? || _lt_function_replace_fail=:
   20087 fi
   20088 
   20089 if test x"$_lt_function_replace_fail" = x":"; then
   20090   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20091 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20092 fi
   20093 
   20094 
   20095    mv -f "$cfgfile" "$ofile" ||
   20096     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20097   chmod +x "$ofile"
   20098 
   20099  ;;
   20100 
   20101   esac
   20102 done # for ac_tag
   20103 
   20104 
   20105 as_fn_exit 0
   20106 _ACEOF
   20107 ac_clean_files=$ac_clean_files_save
   20108 
   20109 test $ac_write_fail = 0 ||
   20110   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20111 
   20112 
   20113 # configure is writing to config.log, and then calls config.status.
   20114 # config.status does its own redirection, appending to config.log.
   20115 # Unfortunately, on DOS this fails, as config.log is still kept open
   20116 # by configure, so config.status won't be able to write to it; its
   20117 # output is simply discarded.  So we exec the FD to /dev/null,
   20118 # effectively closing config.log, so it can be properly (re)opened and
   20119 # appended to by config.status.  When coming back to configure, we
   20120 # need to make the FD available again.
   20121 if test "$no_create" != yes; then
   20122   ac_cs_success=:
   20123   ac_config_status_args=
   20124   test "$silent" = yes &&
   20125     ac_config_status_args="$ac_config_status_args --quiet"
   20126   exec 5>/dev/null
   20127   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20128   exec 5>>config.log
   20129   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20130   # would make configure fail if this is the last instruction.
   20131   $ac_cs_success || as_fn_exit 1
   20132 fi
   20133 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20134   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20135 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20136 fi
   20137 
   20138