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 libXcomposite 0.4.4.
      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 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libXcomposite'
    633 PACKAGE_TARNAME='libXcomposite'
    634 PACKAGE_VERSION='0.4.4'
    635 PACKAGE_STRING='libXcomposite 0.4.4'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 XFIXES_LIBS
    681 XFIXES_CFLAGS
    682 XCOMPOSITE_LIBS
    683 XCOMPOSITE_CFLAGS
    684 COMPOSITEEXT_VERSION
    685 INSTALL_MANPAGES_FALSE
    686 INSTALL_MANPAGES_TRUE
    687 HAVE_XMLTO_FALSE
    688 HAVE_XMLTO_TRUE
    689 HAVE_XMLTO_TEXT_FALSE
    690 HAVE_XMLTO_TEXT_TRUE
    691 XMLTO
    692 AM_BACKSLASH
    693 AM_DEFAULT_VERBOSITY
    694 MAN_SUBSTS
    695 XORG_MAN_PAGE
    696 ADMIN_MAN_DIR
    697 DRIVER_MAN_DIR
    698 MISC_MAN_DIR
    699 FILE_MAN_DIR
    700 LIB_MAN_DIR
    701 APP_MAN_DIR
    702 ADMIN_MAN_SUFFIX
    703 DRIVER_MAN_SUFFIX
    704 MISC_MAN_SUFFIX
    705 FILE_MAN_SUFFIX
    706 LIB_MAN_SUFFIX
    707 APP_MAN_SUFFIX
    708 INSTALL_CMD
    709 PKG_CONFIG
    710 CHANGELOG_CMD
    711 STRICT_CFLAGS
    712 CWARNFLAGS
    713 BASE_CFLAGS
    714 CPP
    715 OTOOL64
    716 OTOOL
    717 LIPO
    718 NMEDIT
    719 DSYMUTIL
    720 MANIFEST_TOOL
    721 RANLIB
    722 ac_ct_AR
    723 AR
    724 DLLTOOL
    725 OBJDUMP
    726 LN_S
    727 NM
    728 ac_ct_DUMPBIN
    729 DUMPBIN
    730 LD
    731 FGREP
    732 EGREP
    733 GREP
    734 SED
    735 am__fastdepCC_FALSE
    736 am__fastdepCC_TRUE
    737 CCDEPMODE
    738 am__nodep
    739 AMDEPBACKSLASH
    740 AMDEP_FALSE
    741 AMDEP_TRUE
    742 am__quote
    743 am__include
    744 DEPDIR
    745 OBJEXT
    746 EXEEXT
    747 ac_ct_CC
    748 CPPFLAGS
    749 LDFLAGS
    750 CFLAGS
    751 CC
    752 host_os
    753 host_vendor
    754 host_cpu
    755 host
    756 build_os
    757 build_vendor
    758 build_cpu
    759 build
    760 LIBTOOL
    761 MAINT
    762 MAINTAINER_MODE_FALSE
    763 MAINTAINER_MODE_TRUE
    764 am__untar
    765 am__tar
    766 AMTAR
    767 am__leading_dot
    768 SET_MAKE
    769 AWK
    770 mkdir_p
    771 MKDIR_P
    772 INSTALL_STRIP_PROGRAM
    773 STRIP
    774 install_sh
    775 MAKEINFO
    776 AUTOHEADER
    777 AUTOMAKE
    778 AUTOCONF
    779 ACLOCAL
    780 VERSION
    781 PACKAGE
    782 CYGPATH_W
    783 am__isrc
    784 INSTALL_DATA
    785 INSTALL_SCRIPT
    786 INSTALL_PROGRAM
    787 target_alias
    788 host_alias
    789 build_alias
    790 LIBS
    791 ECHO_T
    792 ECHO_N
    793 ECHO_C
    794 DEFS
    795 mandir
    796 localedir
    797 libdir
    798 psdir
    799 pdfdir
    800 dvidir
    801 htmldir
    802 infodir
    803 docdir
    804 oldincludedir
    805 includedir
    806 localstatedir
    807 sharedstatedir
    808 sysconfdir
    809 datadir
    810 datarootdir
    811 libexecdir
    812 sbindir
    813 bindir
    814 program_transform_name
    815 prefix
    816 exec_prefix
    817 PACKAGE_URL
    818 PACKAGE_BUGREPORT
    819 PACKAGE_STRING
    820 PACKAGE_VERSION
    821 PACKAGE_TARNAME
    822 PACKAGE_NAME
    823 PATH_SEPARATOR
    824 SHELL'
    825 ac_subst_files=''
    826 ac_user_opts='
    827 enable_option_checking
    828 enable_maintainer_mode
    829 enable_shared
    830 enable_static
    831 with_pic
    832 enable_fast_install
    833 enable_dependency_tracking
    834 with_gnu_ld
    835 with_sysroot
    836 enable_libtool_lock
    837 enable_selective_werror
    838 enable_strict_compilation
    839 enable_silent_rules
    840 with_xmlto
    841 '
    842       ac_precious_vars='build_alias
    843 host_alias
    844 target_alias
    845 CC
    846 CFLAGS
    847 LDFLAGS
    848 LIBS
    849 CPPFLAGS
    850 CPP
    851 PKG_CONFIG
    852 XMLTO
    853 XCOMPOSITE_CFLAGS
    854 XCOMPOSITE_LIBS
    855 XFIXES_CFLAGS
    856 XFIXES_LIBS'
    857 
    858 
    859 # Initialize some variables set by options.
    860 ac_init_help=
    861 ac_init_version=false
    862 ac_unrecognized_opts=
    863 ac_unrecognized_sep=
    864 # The variables have the same names as the options, with
    865 # dashes changed to underlines.
    866 cache_file=/dev/null
    867 exec_prefix=NONE
    868 no_create=
    869 no_recursion=
    870 prefix=NONE
    871 program_prefix=NONE
    872 program_suffix=NONE
    873 program_transform_name=s,x,x,
    874 silent=
    875 site=
    876 srcdir=
    877 verbose=
    878 x_includes=NONE
    879 x_libraries=NONE
    880 
    881 # Installation directory options.
    882 # These are left unexpanded so users can "make install exec_prefix=/foo"
    883 # and all the variables that are supposed to be based on exec_prefix
    884 # by default will actually change.
    885 # Use braces instead of parens because sh, perl, etc. also accept them.
    886 # (The list follows the same order as the GNU Coding Standards.)
    887 bindir='${exec_prefix}/bin'
    888 sbindir='${exec_prefix}/sbin'
    889 libexecdir='${exec_prefix}/libexec'
    890 datarootdir='${prefix}/share'
    891 datadir='${datarootdir}'
    892 sysconfdir='${prefix}/etc'
    893 sharedstatedir='${prefix}/com'
    894 localstatedir='${prefix}/var'
    895 includedir='${prefix}/include'
    896 oldincludedir='/usr/include'
    897 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    898 infodir='${datarootdir}/info'
    899 htmldir='${docdir}'
    900 dvidir='${docdir}'
    901 pdfdir='${docdir}'
    902 psdir='${docdir}'
    903 libdir='${exec_prefix}/lib'
    904 localedir='${datarootdir}/locale'
    905 mandir='${datarootdir}/man'
    906 
    907 ac_prev=
    908 ac_dashdash=
    909 for ac_option
    910 do
    911   # If the previous option needs an argument, assign it.
    912   if test -n "$ac_prev"; then
    913     eval $ac_prev=\$ac_option
    914     ac_prev=
    915     continue
    916   fi
    917 
    918   case $ac_option in
    919   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    920   *=)   ac_optarg= ;;
    921   *)    ac_optarg=yes ;;
    922   esac
    923 
    924   # Accept the important Cygnus configure options, so we can diagnose typos.
    925 
    926   case $ac_dashdash$ac_option in
    927   --)
    928     ac_dashdash=yes ;;
    929 
    930   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    931     ac_prev=bindir ;;
    932   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    933     bindir=$ac_optarg ;;
    934 
    935   -build | --build | --buil | --bui | --bu)
    936     ac_prev=build_alias ;;
    937   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    938     build_alias=$ac_optarg ;;
    939 
    940   -cache-file | --cache-file | --cache-fil | --cache-fi \
    941   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    942     ac_prev=cache_file ;;
    943   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    944   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    945     cache_file=$ac_optarg ;;
    946 
    947   --config-cache | -C)
    948     cache_file=config.cache ;;
    949 
    950   -datadir | --datadir | --datadi | --datad)
    951     ac_prev=datadir ;;
    952   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    953     datadir=$ac_optarg ;;
    954 
    955   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    956   | --dataroo | --dataro | --datar)
    957     ac_prev=datarootdir ;;
    958   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    959   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    960     datarootdir=$ac_optarg ;;
    961 
    962   -disable-* | --disable-*)
    963     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    964     # Reject names that are not valid shell variable names.
    965     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    966       as_fn_error $? "invalid feature name: $ac_useropt"
    967     ac_useropt_orig=$ac_useropt
    968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    969     case $ac_user_opts in
    970       *"
    971 "enable_$ac_useropt"
    972 "*) ;;
    973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    974 	 ac_unrecognized_sep=', ';;
    975     esac
    976     eval enable_$ac_useropt=no ;;
    977 
    978   -docdir | --docdir | --docdi | --doc | --do)
    979     ac_prev=docdir ;;
    980   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    981     docdir=$ac_optarg ;;
    982 
    983   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    984     ac_prev=dvidir ;;
    985   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    986     dvidir=$ac_optarg ;;
    987 
    988   -enable-* | --enable-*)
    989     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    990     # Reject names that are not valid shell variable names.
    991     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    992       as_fn_error $? "invalid feature name: $ac_useropt"
    993     ac_useropt_orig=$ac_useropt
    994     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    995     case $ac_user_opts in
    996       *"
    997 "enable_$ac_useropt"
    998 "*) ;;
    999       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1000 	 ac_unrecognized_sep=', ';;
   1001     esac
   1002     eval enable_$ac_useropt=\$ac_optarg ;;
   1003 
   1004   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1005   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1006   | --exec | --exe | --ex)
   1007     ac_prev=exec_prefix ;;
   1008   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1009   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1010   | --exec=* | --exe=* | --ex=*)
   1011     exec_prefix=$ac_optarg ;;
   1012 
   1013   -gas | --gas | --ga | --g)
   1014     # Obsolete; use --with-gas.
   1015     with_gas=yes ;;
   1016 
   1017   -help | --help | --hel | --he | -h)
   1018     ac_init_help=long ;;
   1019   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1020     ac_init_help=recursive ;;
   1021   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1022     ac_init_help=short ;;
   1023 
   1024   -host | --host | --hos | --ho)
   1025     ac_prev=host_alias ;;
   1026   -host=* | --host=* | --hos=* | --ho=*)
   1027     host_alias=$ac_optarg ;;
   1028 
   1029   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1030     ac_prev=htmldir ;;
   1031   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1032   | --ht=*)
   1033     htmldir=$ac_optarg ;;
   1034 
   1035   -includedir | --includedir | --includedi | --included | --include \
   1036   | --includ | --inclu | --incl | --inc)
   1037     ac_prev=includedir ;;
   1038   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1039   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1040     includedir=$ac_optarg ;;
   1041 
   1042   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1043     ac_prev=infodir ;;
   1044   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1045     infodir=$ac_optarg ;;
   1046 
   1047   -libdir | --libdir | --libdi | --libd)
   1048     ac_prev=libdir ;;
   1049   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1050     libdir=$ac_optarg ;;
   1051 
   1052   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1053   | --libexe | --libex | --libe)
   1054     ac_prev=libexecdir ;;
   1055   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1056   | --libexe=* | --libex=* | --libe=*)
   1057     libexecdir=$ac_optarg ;;
   1058 
   1059   -localedir | --localedir | --localedi | --localed | --locale)
   1060     ac_prev=localedir ;;
   1061   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1062     localedir=$ac_optarg ;;
   1063 
   1064   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1065   | --localstate | --localstat | --localsta | --localst | --locals)
   1066     ac_prev=localstatedir ;;
   1067   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1068   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1069     localstatedir=$ac_optarg ;;
   1070 
   1071   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1072     ac_prev=mandir ;;
   1073   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1074     mandir=$ac_optarg ;;
   1075 
   1076   -nfp | --nfp | --nf)
   1077     # Obsolete; use --without-fp.
   1078     with_fp=no ;;
   1079 
   1080   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1081   | --no-cr | --no-c | -n)
   1082     no_create=yes ;;
   1083 
   1084   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1085   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1086     no_recursion=yes ;;
   1087 
   1088   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1089   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1090   | --oldin | --oldi | --old | --ol | --o)
   1091     ac_prev=oldincludedir ;;
   1092   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1093   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1094   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1095     oldincludedir=$ac_optarg ;;
   1096 
   1097   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1098     ac_prev=prefix ;;
   1099   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1100     prefix=$ac_optarg ;;
   1101 
   1102   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1103   | --program-pre | --program-pr | --program-p)
   1104     ac_prev=program_prefix ;;
   1105   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1106   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1107     program_prefix=$ac_optarg ;;
   1108 
   1109   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1110   | --program-suf | --program-su | --program-s)
   1111     ac_prev=program_suffix ;;
   1112   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1113   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1114     program_suffix=$ac_optarg ;;
   1115 
   1116   -program-transform-name | --program-transform-name \
   1117   | --program-transform-nam | --program-transform-na \
   1118   | --program-transform-n | --program-transform- \
   1119   | --program-transform | --program-transfor \
   1120   | --program-transfo | --program-transf \
   1121   | --program-trans | --program-tran \
   1122   | --progr-tra | --program-tr | --program-t)
   1123     ac_prev=program_transform_name ;;
   1124   -program-transform-name=* | --program-transform-name=* \
   1125   | --program-transform-nam=* | --program-transform-na=* \
   1126   | --program-transform-n=* | --program-transform-=* \
   1127   | --program-transform=* | --program-transfor=* \
   1128   | --program-transfo=* | --program-transf=* \
   1129   | --program-trans=* | --program-tran=* \
   1130   | --progr-tra=* | --program-tr=* | --program-t=*)
   1131     program_transform_name=$ac_optarg ;;
   1132 
   1133   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1134     ac_prev=pdfdir ;;
   1135   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1136     pdfdir=$ac_optarg ;;
   1137 
   1138   -psdir | --psdir | --psdi | --psd | --ps)
   1139     ac_prev=psdir ;;
   1140   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1141     psdir=$ac_optarg ;;
   1142 
   1143   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1144   | -silent | --silent | --silen | --sile | --sil)
   1145     silent=yes ;;
   1146 
   1147   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1148     ac_prev=sbindir ;;
   1149   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1150   | --sbi=* | --sb=*)
   1151     sbindir=$ac_optarg ;;
   1152 
   1153   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1154   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1155   | --sharedst | --shareds | --shared | --share | --shar \
   1156   | --sha | --sh)
   1157     ac_prev=sharedstatedir ;;
   1158   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1159   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1160   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1161   | --sha=* | --sh=*)
   1162     sharedstatedir=$ac_optarg ;;
   1163 
   1164   -site | --site | --sit)
   1165     ac_prev=site ;;
   1166   -site=* | --site=* | --sit=*)
   1167     site=$ac_optarg ;;
   1168 
   1169   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1170     ac_prev=srcdir ;;
   1171   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1172     srcdir=$ac_optarg ;;
   1173 
   1174   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1175   | --syscon | --sysco | --sysc | --sys | --sy)
   1176     ac_prev=sysconfdir ;;
   1177   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1178   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1179     sysconfdir=$ac_optarg ;;
   1180 
   1181   -target | --target | --targe | --targ | --tar | --ta | --t)
   1182     ac_prev=target_alias ;;
   1183   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1184     target_alias=$ac_optarg ;;
   1185 
   1186   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1187     verbose=yes ;;
   1188 
   1189   -version | --version | --versio | --versi | --vers | -V)
   1190     ac_init_version=: ;;
   1191 
   1192   -with-* | --with-*)
   1193     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1194     # Reject names that are not valid shell variable names.
   1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1196       as_fn_error $? "invalid package name: $ac_useropt"
   1197     ac_useropt_orig=$ac_useropt
   1198     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1199     case $ac_user_opts in
   1200       *"
   1201 "with_$ac_useropt"
   1202 "*) ;;
   1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1204 	 ac_unrecognized_sep=', ';;
   1205     esac
   1206     eval with_$ac_useropt=\$ac_optarg ;;
   1207 
   1208   -without-* | --without-*)
   1209     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1212       as_fn_error $? "invalid package name: $ac_useropt"
   1213     ac_useropt_orig=$ac_useropt
   1214     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1215     case $ac_user_opts in
   1216       *"
   1217 "with_$ac_useropt"
   1218 "*) ;;
   1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1220 	 ac_unrecognized_sep=', ';;
   1221     esac
   1222     eval with_$ac_useropt=no ;;
   1223 
   1224   --x)
   1225     # Obsolete; use --with-x.
   1226     with_x=yes ;;
   1227 
   1228   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1229   | --x-incl | --x-inc | --x-in | --x-i)
   1230     ac_prev=x_includes ;;
   1231   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1232   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1233     x_includes=$ac_optarg ;;
   1234 
   1235   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1236   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1237     ac_prev=x_libraries ;;
   1238   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1239   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1240     x_libraries=$ac_optarg ;;
   1241 
   1242   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1243 Try \`$0 --help' for more information"
   1244     ;;
   1245 
   1246   *=*)
   1247     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1248     # Reject names that are not valid shell variable names.
   1249     case $ac_envvar in #(
   1250       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1251       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1252     esac
   1253     eval $ac_envvar=\$ac_optarg
   1254     export $ac_envvar ;;
   1255 
   1256   *)
   1257     # FIXME: should be removed in autoconf 3.0.
   1258     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1259     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1260       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1261     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1262     ;;
   1263 
   1264   esac
   1265 done
   1266 
   1267 if test -n "$ac_prev"; then
   1268   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1269   as_fn_error $? "missing argument to $ac_option"
   1270 fi
   1271 
   1272 if test -n "$ac_unrecognized_opts"; then
   1273   case $enable_option_checking in
   1274     no) ;;
   1275     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1276     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1277   esac
   1278 fi
   1279 
   1280 # Check all directory arguments for consistency.
   1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1284 		libdir localedir mandir
   1285 do
   1286   eval ac_val=\$$ac_var
   1287   # Remove trailing slashes.
   1288   case $ac_val in
   1289     */ )
   1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1291       eval $ac_var=\$ac_val;;
   1292   esac
   1293   # Be sure to have absolute directory names.
   1294   case $ac_val in
   1295     [\\/$]* | ?:[\\/]* )  continue;;
   1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1297   esac
   1298   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1299 done
   1300 
   1301 # There might be people who depend on the old broken behavior: `$host'
   1302 # used to hold the argument of --host etc.
   1303 # FIXME: To remove some day.
   1304 build=$build_alias
   1305 host=$host_alias
   1306 target=$target_alias
   1307 
   1308 # FIXME: To remove some day.
   1309 if test "x$host_alias" != x; then
   1310   if test "x$build_alias" = x; then
   1311     cross_compiling=maybe
   1312     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1313     If a cross compiler is detected then cross compile mode will be used" >&2
   1314   elif test "x$build_alias" != "x$host_alias"; then
   1315     cross_compiling=yes
   1316   fi
   1317 fi
   1318 
   1319 ac_tool_prefix=
   1320 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1321 
   1322 test "$silent" = yes && exec 6>/dev/null
   1323 
   1324 
   1325 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1326 ac_ls_di=`ls -di .` &&
   1327 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1328   as_fn_error $? "working directory cannot be determined"
   1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1330   as_fn_error $? "pwd does not report name of working directory"
   1331 
   1332 
   1333 # Find the source files, if location was not specified.
   1334 if test -z "$srcdir"; then
   1335   ac_srcdir_defaulted=yes
   1336   # Try the directory containing this script, then the parent directory.
   1337   ac_confdir=`$as_dirname -- "$as_myself" ||
   1338 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1339 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1340 	 X"$as_myself" : 'X\(//\)$' \| \
   1341 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1342 $as_echo X"$as_myself" |
   1343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  /^X\(\/\/\)[^/].*/{
   1348 	    s//\1/
   1349 	    q
   1350 	  }
   1351 	  /^X\(\/\/\)$/{
   1352 	    s//\1/
   1353 	    q
   1354 	  }
   1355 	  /^X\(\/\).*/{
   1356 	    s//\1/
   1357 	    q
   1358 	  }
   1359 	  s/.*/./; q'`
   1360   srcdir=$ac_confdir
   1361   if test ! -r "$srcdir/$ac_unique_file"; then
   1362     srcdir=..
   1363   fi
   1364 else
   1365   ac_srcdir_defaulted=no
   1366 fi
   1367 if test ! -r "$srcdir/$ac_unique_file"; then
   1368   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1369   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1370 fi
   1371 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1372 ac_abs_confdir=`(
   1373 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1374 	pwd)`
   1375 # When building in place, set srcdir=.
   1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1377   srcdir=.
   1378 fi
   1379 # Remove unnecessary trailing slashes from srcdir.
   1380 # Double slashes in file names in object file debugging info
   1381 # mess up M-x gdb in Emacs.
   1382 case $srcdir in
   1383 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1384 esac
   1385 for ac_var in $ac_precious_vars; do
   1386   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_env_${ac_var}_value=\$${ac_var}
   1388   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1389   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1390 done
   1391 
   1392 #
   1393 # Report the --help message.
   1394 #
   1395 if test "$ac_init_help" = "long"; then
   1396   # Omit some internal or obsolete options to make the list less imposing.
   1397   # This message is too long to be a string in the A/UX 3.1 sh.
   1398   cat <<_ACEOF
   1399 \`configure' configures libXcomposite 0.4.4 to adapt to many kinds of systems.
   1400 
   1401 Usage: $0 [OPTION]... [VAR=VALUE]...
   1402 
   1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1404 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1405 
   1406 Defaults for the options are specified in brackets.
   1407 
   1408 Configuration:
   1409   -h, --help              display this help and exit
   1410       --help=short        display options specific to this package
   1411       --help=recursive    display the short help of all the included packages
   1412   -V, --version           display version information and exit
   1413   -q, --quiet, --silent   do not print \`checking ...' messages
   1414       --cache-file=FILE   cache test results in FILE [disabled]
   1415   -C, --config-cache      alias for \`--cache-file=config.cache'
   1416   -n, --no-create         do not create output files
   1417       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1418 
   1419 Installation directories:
   1420   --prefix=PREFIX         install architecture-independent files in PREFIX
   1421                           [$ac_default_prefix]
   1422   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1423                           [PREFIX]
   1424 
   1425 By default, \`make install' will install all the files in
   1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1428 for instance \`--prefix=\$HOME'.
   1429 
   1430 For better control, use the options below.
   1431 
   1432 Fine tuning of the installation directories:
   1433   --bindir=DIR            user executables [EPREFIX/bin]
   1434   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1435   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1436   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1437   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1438   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1439   --libdir=DIR            object code libraries [EPREFIX/lib]
   1440   --includedir=DIR        C header files [PREFIX/include]
   1441   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1442   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1443   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1444   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1445   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1446   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1447   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcomposite]
   1448   --htmldir=DIR           html documentation [DOCDIR]
   1449   --dvidir=DIR            dvi documentation [DOCDIR]
   1450   --pdfdir=DIR            pdf documentation [DOCDIR]
   1451   --psdir=DIR             ps documentation [DOCDIR]
   1452 _ACEOF
   1453 
   1454   cat <<\_ACEOF
   1455 
   1456 Program names:
   1457   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1458   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1459   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1460 
   1461 System types:
   1462   --build=BUILD     configure for building on BUILD [guessed]
   1463   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1464 _ACEOF
   1465 fi
   1466 
   1467 if test -n "$ac_init_help"; then
   1468   case $ac_init_help in
   1469      short | recursive ) echo "Configuration of libXcomposite 0.4.4:";;
   1470    esac
   1471   cat <<\_ACEOF
   1472 
   1473 Optional Features:
   1474   --disable-option-checking  ignore unrecognized --enable/--with options
   1475   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1476   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1477   --enable-maintainer-mode  enable make rules and dependencies not useful
   1478 			  (and sometimes confusing) to the casual installer
   1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1480   --enable-static[=PKGS]  build static libraries [default=yes]
   1481   --enable-fast-install[=PKGS]
   1482                           optimize for fast installation [default=yes]
   1483   --disable-dependency-tracking  speeds up one-time build
   1484   --enable-dependency-tracking   do not reject slow dependency extractors
   1485   --disable-libtool-lock  avoid locking (might break parallel builds)
   1486   --disable-selective-werror
   1487                           Turn off selective compiler errors. (default:
   1488                           enabled)
   1489   --enable-strict-compilation
   1490                           Enable all warnings from compiler and make them
   1491                           errors (default: disabled)
   1492   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1493   --disable-silent-rules         verbose build output (undo: `make V=0')
   1494 
   1495 Optional Packages:
   1496   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1497   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1498   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1499                           both]
   1500   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1501   --with-sysroot=DIR Search for dependent libraries within DIR
   1502                         (or the compiler's sysroot if not specified).
   1503   --with-xmlto            Use xmlto to regenerate documentation (default:
   1504                           auto)
   1505 
   1506 Some influential environment variables:
   1507   CC          C compiler command
   1508   CFLAGS      C compiler flags
   1509   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1510               nonstandard directory <lib dir>
   1511   LIBS        libraries to pass to the linker, e.g. -l<library>
   1512   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1513               you have headers in a nonstandard directory <include dir>
   1514   CPP         C preprocessor
   1515   PKG_CONFIG  path to pkg-config utility
   1516   XMLTO       Path to xmlto command
   1517   XCOMPOSITE_CFLAGS
   1518               C compiler flags for XCOMPOSITE, overriding pkg-config
   1519   XCOMPOSITE_LIBS
   1520               linker flags for XCOMPOSITE, overriding pkg-config
   1521   XFIXES_CFLAGS
   1522               C compiler flags for XFIXES, overriding pkg-config
   1523   XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
   1524 
   1525 Use these variables to override the choices made by `configure' or to help
   1526 it to find libraries and programs with nonstandard names/locations.
   1527 
   1528 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1529 _ACEOF
   1530 ac_status=$?
   1531 fi
   1532 
   1533 if test "$ac_init_help" = "recursive"; then
   1534   # If there are subdirs, report their specific --help.
   1535   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1536     test -d "$ac_dir" ||
   1537       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1538       continue
   1539     ac_builddir=.
   1540 
   1541 case "$ac_dir" in
   1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1543 *)
   1544   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1545   # A ".." for each directory in $ac_dir_suffix.
   1546   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1547   case $ac_top_builddir_sub in
   1548   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1549   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1550   esac ;;
   1551 esac
   1552 ac_abs_top_builddir=$ac_pwd
   1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1554 # for backward compatibility:
   1555 ac_top_builddir=$ac_top_build_prefix
   1556 
   1557 case $srcdir in
   1558   .)  # We are building in place.
   1559     ac_srcdir=.
   1560     ac_top_srcdir=$ac_top_builddir_sub
   1561     ac_abs_top_srcdir=$ac_pwd ;;
   1562   [\\/]* | ?:[\\/]* )  # Absolute name.
   1563     ac_srcdir=$srcdir$ac_dir_suffix;
   1564     ac_top_srcdir=$srcdir
   1565     ac_abs_top_srcdir=$srcdir ;;
   1566   *) # Relative name.
   1567     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1568     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1569     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1570 esac
   1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1572 
   1573     cd "$ac_dir" || { ac_status=$?; continue; }
   1574     # Check for guested configure.
   1575     if test -f "$ac_srcdir/configure.gnu"; then
   1576       echo &&
   1577       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1578     elif test -f "$ac_srcdir/configure"; then
   1579       echo &&
   1580       $SHELL "$ac_srcdir/configure" --help=recursive
   1581     else
   1582       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1583     fi || ac_status=$?
   1584     cd "$ac_pwd" || { ac_status=$?; break; }
   1585   done
   1586 fi
   1587 
   1588 test -n "$ac_init_help" && exit $ac_status
   1589 if $ac_init_version; then
   1590   cat <<\_ACEOF
   1591 libXcomposite configure 0.4.4
   1592 generated by GNU Autoconf 2.68
   1593 
   1594 Copyright (C) 2010 Free Software Foundation, Inc.
   1595 This configure script is free software; the Free Software Foundation
   1596 gives unlimited permission to copy, distribute and modify it.
   1597 _ACEOF
   1598   exit
   1599 fi
   1600 
   1601 ## ------------------------ ##
   1602 ## Autoconf initialization. ##
   1603 ## ------------------------ ##
   1604 
   1605 # ac_fn_c_try_compile LINENO
   1606 # --------------------------
   1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1608 ac_fn_c_try_compile ()
   1609 {
   1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1611   rm -f conftest.$ac_objext
   1612   if { { ac_try="$ac_compile"
   1613 case "(($ac_try" in
   1614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1615   *) ac_try_echo=$ac_try;;
   1616 esac
   1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1618 $as_echo "$ac_try_echo"; } >&5
   1619   (eval "$ac_compile") 2>conftest.err
   1620   ac_status=$?
   1621   if test -s conftest.err; then
   1622     grep -v '^ *+' conftest.err >conftest.er1
   1623     cat conftest.er1 >&5
   1624     mv -f conftest.er1 conftest.err
   1625   fi
   1626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1627   test $ac_status = 0; } && {
   1628 	 test -z "$ac_c_werror_flag" ||
   1629 	 test ! -s conftest.err
   1630        } && test -s conftest.$ac_objext; then :
   1631   ac_retval=0
   1632 else
   1633   $as_echo "$as_me: failed program was:" >&5
   1634 sed 's/^/| /' conftest.$ac_ext >&5
   1635 
   1636 	ac_retval=1
   1637 fi
   1638   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1639   as_fn_set_status $ac_retval
   1640 
   1641 } # ac_fn_c_try_compile
   1642 
   1643 # ac_fn_c_try_link LINENO
   1644 # -----------------------
   1645 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1646 ac_fn_c_try_link ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   rm -f conftest.$ac_objext conftest$ac_exeext
   1650   if { { ac_try="$ac_link"
   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_link") 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; } && {
   1666 	 test -z "$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        } && test -s conftest$ac_exeext && {
   1669 	 test "$cross_compiling" = yes ||
   1670 	 $as_test_x conftest$ac_exeext
   1671        }; then :
   1672   ac_retval=0
   1673 else
   1674   $as_echo "$as_me: failed program was:" >&5
   1675 sed 's/^/| /' conftest.$ac_ext >&5
   1676 
   1677 	ac_retval=1
   1678 fi
   1679   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1680   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1681   # interfere with the next link command; also delete a directory that is
   1682   # left behind by Apple's compiler.  We do this before executing the actions.
   1683   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1684   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1685   as_fn_set_status $ac_retval
   1686 
   1687 } # ac_fn_c_try_link
   1688 
   1689 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1690 # -------------------------------------------------------
   1691 # Tests whether HEADER exists and can be compiled using the include files in
   1692 # INCLUDES, setting the cache variable VAR accordingly.
   1693 ac_fn_c_check_header_compile ()
   1694 {
   1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1697 $as_echo_n "checking for $2... " >&6; }
   1698 if eval \${$3+:} false; then :
   1699   $as_echo_n "(cached) " >&6
   1700 else
   1701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1702 /* end confdefs.h.  */
   1703 $4
   1704 #include <$2>
   1705 _ACEOF
   1706 if ac_fn_c_try_compile "$LINENO"; then :
   1707   eval "$3=yes"
   1708 else
   1709   eval "$3=no"
   1710 fi
   1711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1712 fi
   1713 eval ac_res=\$$3
   1714 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1715 $as_echo "$ac_res" >&6; }
   1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1717 
   1718 } # ac_fn_c_check_header_compile
   1719 
   1720 # ac_fn_c_try_cpp LINENO
   1721 # ----------------------
   1722 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1723 ac_fn_c_try_cpp ()
   1724 {
   1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1726   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1727 case "(($ac_try" in
   1728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1729   *) ac_try_echo=$ac_try;;
   1730 esac
   1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1732 $as_echo "$ac_try_echo"; } >&5
   1733   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1734   ac_status=$?
   1735   if test -s conftest.err; then
   1736     grep -v '^ *+' conftest.err >conftest.er1
   1737     cat conftest.er1 >&5
   1738     mv -f conftest.er1 conftest.err
   1739   fi
   1740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1741   test $ac_status = 0; } > conftest.i && {
   1742 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1743 	 test ! -s conftest.err
   1744        }; then :
   1745   ac_retval=0
   1746 else
   1747   $as_echo "$as_me: failed program was:" >&5
   1748 sed 's/^/| /' conftest.$ac_ext >&5
   1749 
   1750     ac_retval=1
   1751 fi
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753   as_fn_set_status $ac_retval
   1754 
   1755 } # ac_fn_c_try_cpp
   1756 
   1757 # ac_fn_c_try_run LINENO
   1758 # ----------------------
   1759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1760 # that executables *can* be run.
   1761 ac_fn_c_try_run ()
   1762 {
   1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1764   if { { ac_try="$ac_link"
   1765 case "(($ac_try" in
   1766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1767   *) ac_try_echo=$ac_try;;
   1768 esac
   1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1770 $as_echo "$ac_try_echo"; } >&5
   1771   (eval "$ac_link") 2>&5
   1772   ac_status=$?
   1773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1774   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1775   { { case "(($ac_try" in
   1776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1777   *) ac_try_echo=$ac_try;;
   1778 esac
   1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1780 $as_echo "$ac_try_echo"; } >&5
   1781   (eval "$ac_try") 2>&5
   1782   ac_status=$?
   1783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1784   test $ac_status = 0; }; }; then :
   1785   ac_retval=0
   1786 else
   1787   $as_echo "$as_me: program exited with status $ac_status" >&5
   1788        $as_echo "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791        ac_retval=$ac_status
   1792 fi
   1793   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795   as_fn_set_status $ac_retval
   1796 
   1797 } # ac_fn_c_try_run
   1798 
   1799 # ac_fn_c_check_func LINENO FUNC VAR
   1800 # ----------------------------------
   1801 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1802 ac_fn_c_check_func ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1806 $as_echo_n "checking for $2... " >&6; }
   1807 if eval \${$3+:} false; then :
   1808   $as_echo_n "(cached) " >&6
   1809 else
   1810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1811 /* end confdefs.h.  */
   1812 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1814 #define $2 innocuous_$2
   1815 
   1816 /* System header to define __stub macros and hopefully few prototypes,
   1817     which can conflict with char $2 (); below.
   1818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1819     <limits.h> exists even on freestanding compilers.  */
   1820 
   1821 #ifdef __STDC__
   1822 # include <limits.h>
   1823 #else
   1824 # include <assert.h>
   1825 #endif
   1826 
   1827 #undef $2
   1828 
   1829 /* Override any GCC internal prototype to avoid an error.
   1830    Use char because int might match the return type of a GCC
   1831    builtin and then its argument prototype would still apply.  */
   1832 #ifdef __cplusplus
   1833 extern "C"
   1834 #endif
   1835 char $2 ();
   1836 /* The GNU C library defines this for functions which it implements
   1837     to always fail with ENOSYS.  Some functions are actually named
   1838     something starting with __ and the normal name is an alias.  */
   1839 #if defined __stub_$2 || defined __stub___$2
   1840 choke me
   1841 #endif
   1842 
   1843 int
   1844 main ()
   1845 {
   1846 return $2 ();
   1847   ;
   1848   return 0;
   1849 }
   1850 _ACEOF
   1851 if ac_fn_c_try_link "$LINENO"; then :
   1852   eval "$3=yes"
   1853 else
   1854   eval "$3=no"
   1855 fi
   1856 rm -f core conftest.err conftest.$ac_objext \
   1857     conftest$ac_exeext conftest.$ac_ext
   1858 fi
   1859 eval ac_res=\$$3
   1860 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1861 $as_echo "$ac_res" >&6; }
   1862   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1863 
   1864 } # ac_fn_c_check_func
   1865 
   1866 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1867 # ---------------------------------------------
   1868 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1869 # accordingly.
   1870 ac_fn_c_check_decl ()
   1871 {
   1872   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1873   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1874   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1876 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1877 if eval \${$3+:} false; then :
   1878   $as_echo_n "(cached) " >&6
   1879 else
   1880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1881 /* end confdefs.h.  */
   1882 $4
   1883 int
   1884 main ()
   1885 {
   1886 #ifndef $as_decl_name
   1887 #ifdef __cplusplus
   1888   (void) $as_decl_use;
   1889 #else
   1890   (void) $as_decl_name;
   1891 #endif
   1892 #endif
   1893 
   1894   ;
   1895   return 0;
   1896 }
   1897 _ACEOF
   1898 if ac_fn_c_try_compile "$LINENO"; then :
   1899   eval "$3=yes"
   1900 else
   1901   eval "$3=no"
   1902 fi
   1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1904 fi
   1905 eval ac_res=\$$3
   1906 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1907 $as_echo "$ac_res" >&6; }
   1908   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1909 
   1910 } # ac_fn_c_check_decl
   1911 cat >config.log <<_ACEOF
   1912 This file contains any messages produced by compilers while
   1913 running configure, to aid debugging if configure makes a mistake.
   1914 
   1915 It was created by libXcomposite $as_me 0.4.4, which was
   1916 generated by GNU Autoconf 2.68.  Invocation command line was
   1917 
   1918   $ $0 $@
   1919 
   1920 _ACEOF
   1921 exec 5>>config.log
   1922 {
   1923 cat <<_ASUNAME
   1924 ## --------- ##
   1925 ## Platform. ##
   1926 ## --------- ##
   1927 
   1928 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1929 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1930 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1931 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1932 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1933 
   1934 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1935 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1936 
   1937 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1938 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1939 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1940 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1941 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1942 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1943 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1944 
   1945 _ASUNAME
   1946 
   1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1948 for as_dir in $PATH
   1949 do
   1950   IFS=$as_save_IFS
   1951   test -z "$as_dir" && as_dir=.
   1952     $as_echo "PATH: $as_dir"
   1953   done
   1954 IFS=$as_save_IFS
   1955 
   1956 } >&5
   1957 
   1958 cat >&5 <<_ACEOF
   1959 
   1960 
   1961 ## ----------- ##
   1962 ## Core tests. ##
   1963 ## ----------- ##
   1964 
   1965 _ACEOF
   1966 
   1967 
   1968 # Keep a trace of the command line.
   1969 # Strip out --no-create and --no-recursion so they do not pile up.
   1970 # Strip out --silent because we don't want to record it for future runs.
   1971 # Also quote any args containing shell meta-characters.
   1972 # Make two passes to allow for proper duplicate-argument suppression.
   1973 ac_configure_args=
   1974 ac_configure_args0=
   1975 ac_configure_args1=
   1976 ac_must_keep_next=false
   1977 for ac_pass in 1 2
   1978 do
   1979   for ac_arg
   1980   do
   1981     case $ac_arg in
   1982     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1983     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1984     | -silent | --silent | --silen | --sile | --sil)
   1985       continue ;;
   1986     *\'*)
   1987       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1988     esac
   1989     case $ac_pass in
   1990     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1991     2)
   1992       as_fn_append ac_configure_args1 " '$ac_arg'"
   1993       if test $ac_must_keep_next = true; then
   1994 	ac_must_keep_next=false # Got value, back to normal.
   1995       else
   1996 	case $ac_arg in
   1997 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1998 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1999 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2000 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2001 	    case "$ac_configure_args0 " in
   2002 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2003 	    esac
   2004 	    ;;
   2005 	  -* ) ac_must_keep_next=true ;;
   2006 	esac
   2007       fi
   2008       as_fn_append ac_configure_args " '$ac_arg'"
   2009       ;;
   2010     esac
   2011   done
   2012 done
   2013 { ac_configure_args0=; unset ac_configure_args0;}
   2014 { ac_configure_args1=; unset ac_configure_args1;}
   2015 
   2016 # When interrupted or exit'd, cleanup temporary files, and complete
   2017 # config.log.  We remove comments because anyway the quotes in there
   2018 # would cause problems or look ugly.
   2019 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2020 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2021 trap 'exit_status=$?
   2022   # Save into config.log some information that might help in debugging.
   2023   {
   2024     echo
   2025 
   2026     $as_echo "## ---------------- ##
   2027 ## Cache variables. ##
   2028 ## ---------------- ##"
   2029     echo
   2030     # The following way of writing the cache mishandles newlines in values,
   2031 (
   2032   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2033     eval ac_val=\$$ac_var
   2034     case $ac_val in #(
   2035     *${as_nl}*)
   2036       case $ac_var in #(
   2037       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2038 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2039       esac
   2040       case $ac_var in #(
   2041       _ | IFS | as_nl) ;; #(
   2042       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2043       *) { eval $ac_var=; unset $ac_var;} ;;
   2044       esac ;;
   2045     esac
   2046   done
   2047   (set) 2>&1 |
   2048     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2049     *${as_nl}ac_space=\ *)
   2050       sed -n \
   2051 	"s/'\''/'\''\\\\'\'''\''/g;
   2052 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2053       ;; #(
   2054     *)
   2055       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2056       ;;
   2057     esac |
   2058     sort
   2059 )
   2060     echo
   2061 
   2062     $as_echo "## ----------------- ##
   2063 ## Output variables. ##
   2064 ## ----------------- ##"
   2065     echo
   2066     for ac_var in $ac_subst_vars
   2067     do
   2068       eval ac_val=\$$ac_var
   2069       case $ac_val in
   2070       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2071       esac
   2072       $as_echo "$ac_var='\''$ac_val'\''"
   2073     done | sort
   2074     echo
   2075 
   2076     if test -n "$ac_subst_files"; then
   2077       $as_echo "## ------------------- ##
   2078 ## File substitutions. ##
   2079 ## ------------------- ##"
   2080       echo
   2081       for ac_var in $ac_subst_files
   2082       do
   2083 	eval ac_val=\$$ac_var
   2084 	case $ac_val in
   2085 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2086 	esac
   2087 	$as_echo "$ac_var='\''$ac_val'\''"
   2088       done | sort
   2089       echo
   2090     fi
   2091 
   2092     if test -s confdefs.h; then
   2093       $as_echo "## ----------- ##
   2094 ## confdefs.h. ##
   2095 ## ----------- ##"
   2096       echo
   2097       cat confdefs.h
   2098       echo
   2099     fi
   2100     test "$ac_signal" != 0 &&
   2101       $as_echo "$as_me: caught signal $ac_signal"
   2102     $as_echo "$as_me: exit $exit_status"
   2103   } >&5
   2104   rm -f core *.core core.conftest.* &&
   2105     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2106     exit $exit_status
   2107 ' 0
   2108 for ac_signal in 1 2 13 15; do
   2109   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2110 done
   2111 ac_signal=0
   2112 
   2113 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2114 rm -f -r conftest* confdefs.h
   2115 
   2116 $as_echo "/* confdefs.h */" > confdefs.h
   2117 
   2118 # Predefined preprocessor variables.
   2119 
   2120 cat >>confdefs.h <<_ACEOF
   2121 #define PACKAGE_NAME "$PACKAGE_NAME"
   2122 _ACEOF
   2123 
   2124 cat >>confdefs.h <<_ACEOF
   2125 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2126 _ACEOF
   2127 
   2128 cat >>confdefs.h <<_ACEOF
   2129 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2130 _ACEOF
   2131 
   2132 cat >>confdefs.h <<_ACEOF
   2133 #define PACKAGE_STRING "$PACKAGE_STRING"
   2134 _ACEOF
   2135 
   2136 cat >>confdefs.h <<_ACEOF
   2137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2138 _ACEOF
   2139 
   2140 cat >>confdefs.h <<_ACEOF
   2141 #define PACKAGE_URL "$PACKAGE_URL"
   2142 _ACEOF
   2143 
   2144 
   2145 # Let the site file select an alternate cache file if it wants to.
   2146 # Prefer an explicitly selected file to automatically selected ones.
   2147 ac_site_file1=NONE
   2148 ac_site_file2=NONE
   2149 if test -n "$CONFIG_SITE"; then
   2150   # We do not want a PATH search for config.site.
   2151   case $CONFIG_SITE in #((
   2152     -*)  ac_site_file1=./$CONFIG_SITE;;
   2153     */*) ac_site_file1=$CONFIG_SITE;;
   2154     *)   ac_site_file1=./$CONFIG_SITE;;
   2155   esac
   2156 elif test "x$prefix" != xNONE; then
   2157   ac_site_file1=$prefix/share/config.site
   2158   ac_site_file2=$prefix/etc/config.site
   2159 else
   2160   ac_site_file1=$ac_default_prefix/share/config.site
   2161   ac_site_file2=$ac_default_prefix/etc/config.site
   2162 fi
   2163 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2164 do
   2165   test "x$ac_site_file" = xNONE && continue
   2166   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2167     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2168 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2169     sed 's/^/| /' "$ac_site_file" >&5
   2170     . "$ac_site_file" \
   2171       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2173 as_fn_error $? "failed to load site script $ac_site_file
   2174 See \`config.log' for more details" "$LINENO" 5; }
   2175   fi
   2176 done
   2177 
   2178 if test -r "$cache_file"; then
   2179   # Some versions of bash will fail to source /dev/null (special files
   2180   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2181   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2182     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2183 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2184     case $cache_file in
   2185       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2186       *)                      . "./$cache_file";;
   2187     esac
   2188   fi
   2189 else
   2190   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2191 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2192   >$cache_file
   2193 fi
   2194 
   2195 # Check that the precious variables saved in the cache have kept the same
   2196 # value.
   2197 ac_cache_corrupted=false
   2198 for ac_var in $ac_precious_vars; do
   2199   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2200   eval ac_new_set=\$ac_env_${ac_var}_set
   2201   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2202   eval ac_new_val=\$ac_env_${ac_var}_value
   2203   case $ac_old_set,$ac_new_set in
   2204     set,)
   2205       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2206 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2207       ac_cache_corrupted=: ;;
   2208     ,set)
   2209       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2210 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2211       ac_cache_corrupted=: ;;
   2212     ,);;
   2213     *)
   2214       if test "x$ac_old_val" != "x$ac_new_val"; then
   2215 	# differences in whitespace do not lead to failure.
   2216 	ac_old_val_w=`echo x $ac_old_val`
   2217 	ac_new_val_w=`echo x $ac_new_val`
   2218 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2219 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2220 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2221 	  ac_cache_corrupted=:
   2222 	else
   2223 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2224 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2225 	  eval $ac_var=\$ac_old_val
   2226 	fi
   2227 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2228 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2229 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2230 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2231       fi;;
   2232   esac
   2233   # Pass precious variables to config.status.
   2234   if test "$ac_new_set" = set; then
   2235     case $ac_new_val in
   2236     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2237     *) ac_arg=$ac_var=$ac_new_val ;;
   2238     esac
   2239     case " $ac_configure_args " in
   2240       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2241       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2242     esac
   2243   fi
   2244 done
   2245 if $ac_cache_corrupted; then
   2246   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2248   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2249 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2250   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2251 fi
   2252 ## -------------------- ##
   2253 ## Main body of script. ##
   2254 ## -------------------- ##
   2255 
   2256 ac_ext=c
   2257 ac_cpp='$CPP $CPPFLAGS'
   2258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2261 
   2262 
   2263 
   2264 ac_config_headers="$ac_config_headers config.h"
   2265 
   2266 
   2267 # Initialize Automake
   2268 am__api_version='1.11'
   2269 
   2270 ac_aux_dir=
   2271 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2272   if test -f "$ac_dir/install-sh"; then
   2273     ac_aux_dir=$ac_dir
   2274     ac_install_sh="$ac_aux_dir/install-sh -c"
   2275     break
   2276   elif test -f "$ac_dir/install.sh"; then
   2277     ac_aux_dir=$ac_dir
   2278     ac_install_sh="$ac_aux_dir/install.sh -c"
   2279     break
   2280   elif test -f "$ac_dir/shtool"; then
   2281     ac_aux_dir=$ac_dir
   2282     ac_install_sh="$ac_aux_dir/shtool install -c"
   2283     break
   2284   fi
   2285 done
   2286 if test -z "$ac_aux_dir"; then
   2287   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2288 fi
   2289 
   2290 # These three variables are undocumented and unsupported,
   2291 # and are intended to be withdrawn in a future Autoconf release.
   2292 # They can cause serious problems if a builder's source tree is in a directory
   2293 # whose full name contains unusual characters.
   2294 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2295 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2296 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2297 
   2298 
   2299 # Find a good install program.  We prefer a C program (faster),
   2300 # so one script is as good as another.  But avoid the broken or
   2301 # incompatible versions:
   2302 # SysV /etc/install, /usr/sbin/install
   2303 # SunOS /usr/etc/install
   2304 # IRIX /sbin/install
   2305 # AIX /bin/install
   2306 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2307 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2308 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2309 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2310 # OS/2's system install, which has a completely different semantic
   2311 # ./install, which can be erroneously created by make from ./install.sh.
   2312 # Reject install programs that cannot install multiple files.
   2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2314 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2315 if test -z "$INSTALL"; then
   2316 if ${ac_cv_path_install+:} false; then :
   2317   $as_echo_n "(cached) " >&6
   2318 else
   2319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2320 for as_dir in $PATH
   2321 do
   2322   IFS=$as_save_IFS
   2323   test -z "$as_dir" && as_dir=.
   2324     # Account for people who put trailing slashes in PATH elements.
   2325 case $as_dir/ in #((
   2326   ./ | .// | /[cC]/* | \
   2327   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2328   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2329   /usr/ucb/* ) ;;
   2330   *)
   2331     # OSF1 and SCO ODT 3.0 have their own names for install.
   2332     # Don't use installbsd from OSF since it installs stuff as root
   2333     # by default.
   2334     for ac_prog in ginstall scoinst install; do
   2335       for ac_exec_ext in '' $ac_executable_extensions; do
   2336 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2337 	  if test $ac_prog = install &&
   2338 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2339 	    # AIX install.  It has an incompatible calling convention.
   2340 	    :
   2341 	  elif test $ac_prog = install &&
   2342 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2343 	    # program-specific install script used by HP pwplus--don't use.
   2344 	    :
   2345 	  else
   2346 	    rm -rf conftest.one conftest.two conftest.dir
   2347 	    echo one > conftest.one
   2348 	    echo two > conftest.two
   2349 	    mkdir conftest.dir
   2350 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2351 	      test -s conftest.one && test -s conftest.two &&
   2352 	      test -s conftest.dir/conftest.one &&
   2353 	      test -s conftest.dir/conftest.two
   2354 	    then
   2355 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2356 	      break 3
   2357 	    fi
   2358 	  fi
   2359 	fi
   2360       done
   2361     done
   2362     ;;
   2363 esac
   2364 
   2365   done
   2366 IFS=$as_save_IFS
   2367 
   2368 rm -rf conftest.one conftest.two conftest.dir
   2369 
   2370 fi
   2371   if test "${ac_cv_path_install+set}" = set; then
   2372     INSTALL=$ac_cv_path_install
   2373   else
   2374     # As a last resort, use the slow shell script.  Don't cache a
   2375     # value for INSTALL within a source directory, because that will
   2376     # break other packages using the cache if that directory is
   2377     # removed, or if the value is a relative name.
   2378     INSTALL=$ac_install_sh
   2379   fi
   2380 fi
   2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2382 $as_echo "$INSTALL" >&6; }
   2383 
   2384 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2385 # It thinks the first close brace ends the variable substitution.
   2386 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2387 
   2388 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2389 
   2390 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2391 
   2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2393 $as_echo_n "checking whether build environment is sane... " >&6; }
   2394 # Just in case
   2395 sleep 1
   2396 echo timestamp > conftest.file
   2397 # Reject unsafe characters in $srcdir or the absolute working directory
   2398 # name.  Accept space and tab only in the latter.
   2399 am_lf='
   2400 '
   2401 case `pwd` in
   2402   *[\\\"\#\$\&\'\`$am_lf]*)
   2403     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2404 esac
   2405 case $srcdir in
   2406   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2407     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2408 esac
   2409 
   2410 # Do `set' in a subshell so we don't clobber the current shell's
   2411 # arguments.  Must try -L first in case configure is actually a
   2412 # symlink; some systems play weird games with the mod time of symlinks
   2413 # (eg FreeBSD returns the mod time of the symlink's containing
   2414 # directory).
   2415 if (
   2416    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2417    if test "$*" = "X"; then
   2418       # -L didn't work.
   2419       set X `ls -t "$srcdir/configure" conftest.file`
   2420    fi
   2421    rm -f conftest.file
   2422    if test "$*" != "X $srcdir/configure conftest.file" \
   2423       && test "$*" != "X conftest.file $srcdir/configure"; then
   2424 
   2425       # If neither matched, then we have a broken ls.  This can happen
   2426       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2427       # broken ls alias from the environment.  This has actually
   2428       # happened.  Such a system could not be considered "sane".
   2429       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2430 alias in your environment" "$LINENO" 5
   2431    fi
   2432 
   2433    test "$2" = conftest.file
   2434    )
   2435 then
   2436    # Ok.
   2437    :
   2438 else
   2439    as_fn_error $? "newly created file is older than distributed files!
   2440 Check your system clock" "$LINENO" 5
   2441 fi
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2443 $as_echo "yes" >&6; }
   2444 test "$program_prefix" != NONE &&
   2445   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2446 # Use a double $ so make ignores it.
   2447 test "$program_suffix" != NONE &&
   2448   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2449 # Double any \ or $.
   2450 # By default was `s,x,x', remove it if useless.
   2451 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2452 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2453 
   2454 # expand $ac_aux_dir to an absolute path
   2455 am_aux_dir=`cd $ac_aux_dir && pwd`
   2456 
   2457 if test x"${MISSING+set}" != xset; then
   2458   case $am_aux_dir in
   2459   *\ * | *\	*)
   2460     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2461   *)
   2462     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2463   esac
   2464 fi
   2465 # Use eval to expand $SHELL
   2466 if eval "$MISSING --run true"; then
   2467   am_missing_run="$MISSING --run "
   2468 else
   2469   am_missing_run=
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2471 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2472 fi
   2473 
   2474 if test x"${install_sh}" != xset; then
   2475   case $am_aux_dir in
   2476   *\ * | *\	*)
   2477     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2478   *)
   2479     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2480   esac
   2481 fi
   2482 
   2483 # Installed binaries are usually stripped using `strip' when the user
   2484 # run `make install-strip'.  However `strip' might not be the right
   2485 # tool to use in cross-compilation environments, therefore Automake
   2486 # will honor the `STRIP' environment variable to overrule this program.
   2487 if test "$cross_compiling" != no; then
   2488   if test -n "$ac_tool_prefix"; then
   2489   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2490 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2492 $as_echo_n "checking for $ac_word... " >&6; }
   2493 if ${ac_cv_prog_STRIP+:} false; then :
   2494   $as_echo_n "(cached) " >&6
   2495 else
   2496   if test -n "$STRIP"; then
   2497   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2498 else
   2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2500 for as_dir in $PATH
   2501 do
   2502   IFS=$as_save_IFS
   2503   test -z "$as_dir" && as_dir=.
   2504     for ac_exec_ext in '' $ac_executable_extensions; do
   2505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2506     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2508     break 2
   2509   fi
   2510 done
   2511   done
   2512 IFS=$as_save_IFS
   2513 
   2514 fi
   2515 fi
   2516 STRIP=$ac_cv_prog_STRIP
   2517 if test -n "$STRIP"; then
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2519 $as_echo "$STRIP" >&6; }
   2520 else
   2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523 fi
   2524 
   2525 
   2526 fi
   2527 if test -z "$ac_cv_prog_STRIP"; then
   2528   ac_ct_STRIP=$STRIP
   2529   # Extract the first word of "strip", so it can be a program name with args.
   2530 set dummy strip; ac_word=$2
   2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2532 $as_echo_n "checking for $ac_word... " >&6; }
   2533 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2534   $as_echo_n "(cached) " >&6
   2535 else
   2536   if test -n "$ac_ct_STRIP"; then
   2537   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2538 else
   2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2540 for as_dir in $PATH
   2541 do
   2542   IFS=$as_save_IFS
   2543   test -z "$as_dir" && as_dir=.
   2544     for ac_exec_ext in '' $ac_executable_extensions; do
   2545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2546     ac_cv_prog_ac_ct_STRIP="strip"
   2547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2548     break 2
   2549   fi
   2550 done
   2551   done
   2552 IFS=$as_save_IFS
   2553 
   2554 fi
   2555 fi
   2556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2557 if test -n "$ac_ct_STRIP"; then
   2558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2559 $as_echo "$ac_ct_STRIP" >&6; }
   2560 else
   2561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2562 $as_echo "no" >&6; }
   2563 fi
   2564 
   2565   if test "x$ac_ct_STRIP" = x; then
   2566     STRIP=":"
   2567   else
   2568     case $cross_compiling:$ac_tool_warned in
   2569 yes:)
   2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2572 ac_tool_warned=yes ;;
   2573 esac
   2574     STRIP=$ac_ct_STRIP
   2575   fi
   2576 else
   2577   STRIP="$ac_cv_prog_STRIP"
   2578 fi
   2579 
   2580 fi
   2581 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2582 
   2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2584 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2585 if test -z "$MKDIR_P"; then
   2586   if ${ac_cv_path_mkdir+:} false; then :
   2587   $as_echo_n "(cached) " >&6
   2588 else
   2589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2591 do
   2592   IFS=$as_save_IFS
   2593   test -z "$as_dir" && as_dir=.
   2594     for ac_prog in mkdir gmkdir; do
   2595 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2596 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2597 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2598 	     'mkdir (GNU coreutils) '* | \
   2599 	     'mkdir (coreutils) '* | \
   2600 	     'mkdir (fileutils) '4.1*)
   2601 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2602 	       break 3;;
   2603 	   esac
   2604 	 done
   2605        done
   2606   done
   2607 IFS=$as_save_IFS
   2608 
   2609 fi
   2610 
   2611   test -d ./--version && rmdir ./--version
   2612   if test "${ac_cv_path_mkdir+set}" = set; then
   2613     MKDIR_P="$ac_cv_path_mkdir -p"
   2614   else
   2615     # As a last resort, use the slow shell script.  Don't cache a
   2616     # value for MKDIR_P within a source directory, because that will
   2617     # break other packages using the cache if that directory is
   2618     # removed, or if the value is a relative name.
   2619     MKDIR_P="$ac_install_sh -d"
   2620   fi
   2621 fi
   2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2623 $as_echo "$MKDIR_P" >&6; }
   2624 
   2625 mkdir_p="$MKDIR_P"
   2626 case $mkdir_p in
   2627   [\\/$]* | ?:[\\/]*) ;;
   2628   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2629 esac
   2630 
   2631 for ac_prog in gawk mawk nawk awk
   2632 do
   2633   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2634 set dummy $ac_prog; ac_word=$2
   2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2636 $as_echo_n "checking for $ac_word... " >&6; }
   2637 if ${ac_cv_prog_AWK+:} false; then :
   2638   $as_echo_n "(cached) " >&6
   2639 else
   2640   if test -n "$AWK"; then
   2641   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2642 else
   2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2644 for as_dir in $PATH
   2645 do
   2646   IFS=$as_save_IFS
   2647   test -z "$as_dir" && as_dir=.
   2648     for ac_exec_ext in '' $ac_executable_extensions; do
   2649   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2650     ac_cv_prog_AWK="$ac_prog"
   2651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2652     break 2
   2653   fi
   2654 done
   2655   done
   2656 IFS=$as_save_IFS
   2657 
   2658 fi
   2659 fi
   2660 AWK=$ac_cv_prog_AWK
   2661 if test -n "$AWK"; then
   2662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2663 $as_echo "$AWK" >&6; }
   2664 else
   2665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2666 $as_echo "no" >&6; }
   2667 fi
   2668 
   2669 
   2670   test -n "$AWK" && break
   2671 done
   2672 
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2674 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2675 set x ${MAKE-make}
   2676 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2677 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2678   $as_echo_n "(cached) " >&6
   2679 else
   2680   cat >conftest.make <<\_ACEOF
   2681 SHELL = /bin/sh
   2682 all:
   2683 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2684 _ACEOF
   2685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2686 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2687   *@@@%%%=?*=@@@%%%*)
   2688     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2689   *)
   2690     eval ac_cv_prog_make_${ac_make}_set=no;;
   2691 esac
   2692 rm -f conftest.make
   2693 fi
   2694 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2696 $as_echo "yes" >&6; }
   2697   SET_MAKE=
   2698 else
   2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2700 $as_echo "no" >&6; }
   2701   SET_MAKE="MAKE=${MAKE-make}"
   2702 fi
   2703 
   2704 rm -rf .tst 2>/dev/null
   2705 mkdir .tst 2>/dev/null
   2706 if test -d .tst; then
   2707   am__leading_dot=.
   2708 else
   2709   am__leading_dot=_
   2710 fi
   2711 rmdir .tst 2>/dev/null
   2712 
   2713 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2714   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2715   # is not polluted with repeated "-I."
   2716   am__isrc=' -I$(srcdir)'
   2717   # test to see if srcdir already configured
   2718   if test -f $srcdir/config.status; then
   2719     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2720   fi
   2721 fi
   2722 
   2723 # test whether we have cygpath
   2724 if test -z "$CYGPATH_W"; then
   2725   if (cygpath --version) >/dev/null 2>/dev/null; then
   2726     CYGPATH_W='cygpath -w'
   2727   else
   2728     CYGPATH_W=echo
   2729   fi
   2730 fi
   2731 
   2732 
   2733 # Define the identity of the package.
   2734  PACKAGE='libXcomposite'
   2735  VERSION='0.4.4'
   2736 
   2737 
   2738 cat >>confdefs.h <<_ACEOF
   2739 #define PACKAGE "$PACKAGE"
   2740 _ACEOF
   2741 
   2742 
   2743 cat >>confdefs.h <<_ACEOF
   2744 #define VERSION "$VERSION"
   2745 _ACEOF
   2746 
   2747 # Some tools Automake needs.
   2748 
   2749 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2750 
   2751 
   2752 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2753 
   2754 
   2755 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2756 
   2757 
   2758 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2759 
   2760 
   2761 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2762 
   2763 # We need awk for the "check" target.  The system "awk" is bad on
   2764 # some platforms.
   2765 # Always define AMTAR for backward compatibility.
   2766 
   2767 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2768 
   2769 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2770 
   2771 
   2772 
   2773 
   2774 
   2775 
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2777 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2778     # Check whether --enable-maintainer-mode was given.
   2779 if test "${enable_maintainer_mode+set}" = set; then :
   2780   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2781 else
   2782   USE_MAINTAINER_MODE=no
   2783 fi
   2784 
   2785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2786 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2787    if test $USE_MAINTAINER_MODE = yes; then
   2788   MAINTAINER_MODE_TRUE=
   2789   MAINTAINER_MODE_FALSE='#'
   2790 else
   2791   MAINTAINER_MODE_TRUE='#'
   2792   MAINTAINER_MODE_FALSE=
   2793 fi
   2794 
   2795   MAINT=$MAINTAINER_MODE_TRUE
   2796 
   2797 
   2798 
   2799 # Initialize libtool
   2800 case `pwd` in
   2801   *\ * | *\	*)
   2802     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2803 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2804 esac
   2805 
   2806 
   2807 
   2808 macro_version='2.4.2'
   2809 macro_revision='1.3337'
   2810 
   2811 
   2812 
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 ltmain="$ac_aux_dir/ltmain.sh"
   2824 
   2825 # Make sure we can run config.sub.
   2826 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2827   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2828 
   2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2830 $as_echo_n "checking build system type... " >&6; }
   2831 if ${ac_cv_build+:} false; then :
   2832   $as_echo_n "(cached) " >&6
   2833 else
   2834   ac_build_alias=$build_alias
   2835 test "x$ac_build_alias" = x &&
   2836   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2837 test "x$ac_build_alias" = x &&
   2838   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2839 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2840   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2841 
   2842 fi
   2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2844 $as_echo "$ac_cv_build" >&6; }
   2845 case $ac_cv_build in
   2846 *-*-*) ;;
   2847 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2848 esac
   2849 build=$ac_cv_build
   2850 ac_save_IFS=$IFS; IFS='-'
   2851 set x $ac_cv_build
   2852 shift
   2853 build_cpu=$1
   2854 build_vendor=$2
   2855 shift; shift
   2856 # Remember, the first character of IFS is used to create $*,
   2857 # except with old shells:
   2858 build_os=$*
   2859 IFS=$ac_save_IFS
   2860 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2861 
   2862 
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2864 $as_echo_n "checking host system type... " >&6; }
   2865 if ${ac_cv_host+:} false; then :
   2866   $as_echo_n "(cached) " >&6
   2867 else
   2868   if test "x$host_alias" = x; then
   2869   ac_cv_host=$ac_cv_build
   2870 else
   2871   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2872     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2873 fi
   2874 
   2875 fi
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2877 $as_echo "$ac_cv_host" >&6; }
   2878 case $ac_cv_host in
   2879 *-*-*) ;;
   2880 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2881 esac
   2882 host=$ac_cv_host
   2883 ac_save_IFS=$IFS; IFS='-'
   2884 set x $ac_cv_host
   2885 shift
   2886 host_cpu=$1
   2887 host_vendor=$2
   2888 shift; shift
   2889 # Remember, the first character of IFS is used to create $*,
   2890 # except with old shells:
   2891 host_os=$*
   2892 IFS=$ac_save_IFS
   2893 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2894 
   2895 
   2896 # Backslashify metacharacters that are still active within
   2897 # double-quoted strings.
   2898 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2899 
   2900 # Same as above, but do not quote variable references.
   2901 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2902 
   2903 # Sed substitution to delay expansion of an escaped shell variable in a
   2904 # double_quote_subst'ed string.
   2905 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2906 
   2907 # Sed substitution to delay expansion of an escaped single quote.
   2908 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2909 
   2910 # Sed substitution to avoid accidental globbing in evaled expressions
   2911 no_glob_subst='s/\*/\\\*/g'
   2912 
   2913 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2914 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2915 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2916 
   2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2918 $as_echo_n "checking how to print strings... " >&6; }
   2919 # Test print first, because it will be a builtin if present.
   2920 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2921    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2922   ECHO='print -r --'
   2923 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2924   ECHO='printf %s\n'
   2925 else
   2926   # Use this function as a fallback that always works.
   2927   func_fallback_echo ()
   2928   {
   2929     eval 'cat <<_LTECHO_EOF
   2930 $1
   2931 _LTECHO_EOF'
   2932   }
   2933   ECHO='func_fallback_echo'
   2934 fi
   2935 
   2936 # func_echo_all arg...
   2937 # Invoke $ECHO with all args, space-separated.
   2938 func_echo_all ()
   2939 {
   2940     $ECHO ""
   2941 }
   2942 
   2943 case "$ECHO" in
   2944   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2945 $as_echo "printf" >&6; } ;;
   2946   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2947 $as_echo "print -r" >&6; } ;;
   2948   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2949 $as_echo "cat" >&6; } ;;
   2950 esac
   2951 
   2952 
   2953 
   2954 
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 
   2965 DEPDIR="${am__leading_dot}deps"
   2966 
   2967 ac_config_commands="$ac_config_commands depfiles"
   2968 
   2969 
   2970 am_make=${MAKE-make}
   2971 cat > confinc << 'END'
   2972 am__doit:
   2973 	@echo this is the am__doit target
   2974 .PHONY: am__doit
   2975 END
   2976 # If we don't find an include directive, just comment out the code.
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2978 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2979 am__include="#"
   2980 am__quote=
   2981 _am_result=none
   2982 # First try GNU make style include.
   2983 echo "include confinc" > confmf
   2984 # Ignore all kinds of additional output from `make'.
   2985 case `$am_make -s -f confmf 2> /dev/null` in #(
   2986 *the\ am__doit\ target*)
   2987   am__include=include
   2988   am__quote=
   2989   _am_result=GNU
   2990   ;;
   2991 esac
   2992 # Now try BSD make style include.
   2993 if test "$am__include" = "#"; then
   2994    echo '.include "confinc"' > confmf
   2995    case `$am_make -s -f confmf 2> /dev/null` in #(
   2996    *the\ am__doit\ target*)
   2997      am__include=.include
   2998      am__quote="\""
   2999      _am_result=BSD
   3000      ;;
   3001    esac
   3002 fi
   3003 
   3004 
   3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3006 $as_echo "$_am_result" >&6; }
   3007 rm -f confinc confmf
   3008 
   3009 # Check whether --enable-dependency-tracking was given.
   3010 if test "${enable_dependency_tracking+set}" = set; then :
   3011   enableval=$enable_dependency_tracking;
   3012 fi
   3013 
   3014 if test "x$enable_dependency_tracking" != xno; then
   3015   am_depcomp="$ac_aux_dir/depcomp"
   3016   AMDEPBACKSLASH='\'
   3017   am__nodep='_no'
   3018 fi
   3019  if test "x$enable_dependency_tracking" != xno; then
   3020   AMDEP_TRUE=
   3021   AMDEP_FALSE='#'
   3022 else
   3023   AMDEP_TRUE='#'
   3024   AMDEP_FALSE=
   3025 fi
   3026 
   3027 
   3028 ac_ext=c
   3029 ac_cpp='$CPP $CPPFLAGS'
   3030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3033 if test -n "$ac_tool_prefix"; then
   3034   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3035 set dummy ${ac_tool_prefix}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_CC+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$CC"; then
   3042   ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
   3062 if test -n "$CC"; then
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3064 $as_echo "$CC" >&6; }
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 fi
   3069 
   3070 
   3071 fi
   3072 if test -z "$ac_cv_prog_CC"; then
   3073   ac_ct_CC=$CC
   3074   # Extract the first word of "gcc", so it can be a program name with args.
   3075 set dummy gcc; ac_word=$2
   3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3077 $as_echo_n "checking for $ac_word... " >&6; }
   3078 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081   if test -n "$ac_ct_CC"; then
   3082   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3083 else
   3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3085 for as_dir in $PATH
   3086 do
   3087   IFS=$as_save_IFS
   3088   test -z "$as_dir" && as_dir=.
   3089     for ac_exec_ext in '' $ac_executable_extensions; do
   3090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3091     ac_cv_prog_ac_ct_CC="gcc"
   3092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096   done
   3097 IFS=$as_save_IFS
   3098 
   3099 fi
   3100 fi
   3101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3102 if test -n "$ac_ct_CC"; then
   3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3104 $as_echo "$ac_ct_CC" >&6; }
   3105 else
   3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3107 $as_echo "no" >&6; }
   3108 fi
   3109 
   3110   if test "x$ac_ct_CC" = x; then
   3111     CC=""
   3112   else
   3113     case $cross_compiling:$ac_tool_warned in
   3114 yes:)
   3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3117 ac_tool_warned=yes ;;
   3118 esac
   3119     CC=$ac_ct_CC
   3120   fi
   3121 else
   3122   CC="$ac_cv_prog_CC"
   3123 fi
   3124 
   3125 if test -z "$CC"; then
   3126           if test -n "$ac_tool_prefix"; then
   3127     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3128 set dummy ${ac_tool_prefix}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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH
   3139 do
   3140   IFS=$as_save_IFS
   3141   test -z "$as_dir" && as_dir=.
   3142     for ac_exec_ext in '' $ac_executable_extensions; do
   3143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3144     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3146     break 2
   3147   fi
   3148 done
   3149   done
   3150 IFS=$as_save_IFS
   3151 
   3152 fi
   3153 fi
   3154 CC=$ac_cv_prog_CC
   3155 if test -n "$CC"; then
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3157 $as_echo "$CC" >&6; }
   3158 else
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3160 $as_echo "no" >&6; }
   3161 fi
   3162 
   3163 
   3164   fi
   3165 fi
   3166 if test -z "$CC"; then
   3167   # Extract the first word of "cc", so it can be a program name with args.
   3168 set dummy cc; ac_word=$2
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3170 $as_echo_n "checking for $ac_word... " >&6; }
   3171 if ${ac_cv_prog_CC+:} false; then :
   3172   $as_echo_n "(cached) " >&6
   3173 else
   3174   if test -n "$CC"; then
   3175   ac_cv_prog_CC="$CC" # Let the user override the test.
   3176 else
   3177   ac_prog_rejected=no
   3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3179 for as_dir in $PATH
   3180 do
   3181   IFS=$as_save_IFS
   3182   test -z "$as_dir" && as_dir=.
   3183     for ac_exec_ext in '' $ac_executable_extensions; do
   3184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3185     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3186        ac_prog_rejected=yes
   3187        continue
   3188      fi
   3189     ac_cv_prog_CC="cc"
   3190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3191     break 2
   3192   fi
   3193 done
   3194   done
   3195 IFS=$as_save_IFS
   3196 
   3197 if test $ac_prog_rejected = yes; then
   3198   # We found a bogon in the path, so make sure we never use it.
   3199   set dummy $ac_cv_prog_CC
   3200   shift
   3201   if test $# != 0; then
   3202     # We chose a different compiler from the bogus one.
   3203     # However, it has the same basename, so the bogon will be chosen
   3204     # first if we set CC to just the basename; use the full file name.
   3205     shift
   3206     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3207   fi
   3208 fi
   3209 fi
   3210 fi
   3211 CC=$ac_cv_prog_CC
   3212 if test -n "$CC"; then
   3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3214 $as_echo "$CC" >&6; }
   3215 else
   3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3217 $as_echo "no" >&6; }
   3218 fi
   3219 
   3220 
   3221 fi
   3222 if test -z "$CC"; then
   3223   if test -n "$ac_tool_prefix"; then
   3224   for ac_prog in cl.exe
   3225   do
   3226     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3229 $as_echo_n "checking for $ac_word... " >&6; }
   3230 if ${ac_cv_prog_CC+:} false; then :
   3231   $as_echo_n "(cached) " >&6
   3232 else
   3233   if test -n "$CC"; then
   3234   ac_cv_prog_CC="$CC" # Let the user override the test.
   3235 else
   3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3237 for as_dir in $PATH
   3238 do
   3239   IFS=$as_save_IFS
   3240   test -z "$as_dir" && as_dir=.
   3241     for ac_exec_ext in '' $ac_executable_extensions; do
   3242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3243     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3245     break 2
   3246   fi
   3247 done
   3248   done
   3249 IFS=$as_save_IFS
   3250 
   3251 fi
   3252 fi
   3253 CC=$ac_cv_prog_CC
   3254 if test -n "$CC"; then
   3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3256 $as_echo "$CC" >&6; }
   3257 else
   3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3259 $as_echo "no" >&6; }
   3260 fi
   3261 
   3262 
   3263     test -n "$CC" && break
   3264   done
   3265 fi
   3266 if test -z "$CC"; then
   3267   ac_ct_CC=$CC
   3268   for ac_prog in cl.exe
   3269 do
   3270   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3271 set dummy $ac_prog; ac_word=$2
   3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3273 $as_echo_n "checking for $ac_word... " >&6; }
   3274 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3275   $as_echo_n "(cached) " >&6
   3276 else
   3277   if test -n "$ac_ct_CC"; then
   3278   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3279 else
   3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3281 for as_dir in $PATH
   3282 do
   3283   IFS=$as_save_IFS
   3284   test -z "$as_dir" && as_dir=.
   3285     for ac_exec_ext in '' $ac_executable_extensions; do
   3286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3287     ac_cv_prog_ac_ct_CC="$ac_prog"
   3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3289     break 2
   3290   fi
   3291 done
   3292   done
   3293 IFS=$as_save_IFS
   3294 
   3295 fi
   3296 fi
   3297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3298 if test -n "$ac_ct_CC"; then
   3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3300 $as_echo "$ac_ct_CC" >&6; }
   3301 else
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 $as_echo "no" >&6; }
   3304 fi
   3305 
   3306 
   3307   test -n "$ac_ct_CC" && break
   3308 done
   3309 
   3310   if test "x$ac_ct_CC" = x; then
   3311     CC=""
   3312   else
   3313     case $cross_compiling:$ac_tool_warned in
   3314 yes:)
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3317 ac_tool_warned=yes ;;
   3318 esac
   3319     CC=$ac_ct_CC
   3320   fi
   3321 fi
   3322 
   3323 fi
   3324 
   3325 
   3326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 as_fn_error $? "no acceptable C compiler found in \$PATH
   3329 See \`config.log' for more details" "$LINENO" 5; }
   3330 
   3331 # Provide some information about the compiler.
   3332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3333 set X $ac_compile
   3334 ac_compiler=$2
   3335 for ac_option in --version -v -V -qversion; do
   3336   { { ac_try="$ac_compiler $ac_option >&5"
   3337 case "(($ac_try" in
   3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3339   *) ac_try_echo=$ac_try;;
   3340 esac
   3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3342 $as_echo "$ac_try_echo"; } >&5
   3343   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3344   ac_status=$?
   3345   if test -s conftest.err; then
   3346     sed '10a\
   3347 ... rest of stderr output deleted ...
   3348          10q' conftest.err >conftest.er1
   3349     cat conftest.er1 >&5
   3350   fi
   3351   rm -f conftest.er1 conftest.err
   3352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3353   test $ac_status = 0; }
   3354 done
   3355 
   3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3357 /* end confdefs.h.  */
   3358 
   3359 int
   3360 main ()
   3361 {
   3362 
   3363   ;
   3364   return 0;
   3365 }
   3366 _ACEOF
   3367 ac_clean_files_save=$ac_clean_files
   3368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3369 # Try to create an executable without -o first, disregard a.out.
   3370 # It will help us diagnose broken compilers, and finding out an intuition
   3371 # of exeext.
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3373 $as_echo_n "checking whether the C compiler works... " >&6; }
   3374 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3375 
   3376 # The possible output files:
   3377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3378 
   3379 ac_rmfiles=
   3380 for ac_file in $ac_files
   3381 do
   3382   case $ac_file in
   3383     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3384     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3385   esac
   3386 done
   3387 rm -f $ac_rmfiles
   3388 
   3389 if { { ac_try="$ac_link_default"
   3390 case "(($ac_try" in
   3391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3392   *) ac_try_echo=$ac_try;;
   3393 esac
   3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3395 $as_echo "$ac_try_echo"; } >&5
   3396   (eval "$ac_link_default") 2>&5
   3397   ac_status=$?
   3398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3399   test $ac_status = 0; }; then :
   3400   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3402 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3403 # so that the user can short-circuit this test for compilers unknown to
   3404 # Autoconf.
   3405 for ac_file in $ac_files ''
   3406 do
   3407   test -f "$ac_file" || continue
   3408   case $ac_file in
   3409     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3410 	;;
   3411     [ab].out )
   3412 	# We found the default executable, but exeext='' is most
   3413 	# certainly right.
   3414 	break;;
   3415     *.* )
   3416 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3417 	then :; else
   3418 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3419 	fi
   3420 	# We set ac_cv_exeext here because the later test for it is not
   3421 	# safe: cross compilers may not add the suffix if given an `-o'
   3422 	# argument, so we may need to know it at that point already.
   3423 	# Even if this section looks crufty: it has the advantage of
   3424 	# actually working.
   3425 	break;;
   3426     * )
   3427 	break;;
   3428   esac
   3429 done
   3430 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3431 
   3432 else
   3433   ac_file=''
   3434 fi
   3435 if test -z "$ac_file"; then :
   3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3437 $as_echo "no" >&6; }
   3438 $as_echo "$as_me: failed program was:" >&5
   3439 sed 's/^/| /' conftest.$ac_ext >&5
   3440 
   3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3443 as_fn_error 77 "C compiler cannot create executables
   3444 See \`config.log' for more details" "$LINENO" 5; }
   3445 else
   3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3447 $as_echo "yes" >&6; }
   3448 fi
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3450 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3452 $as_echo "$ac_file" >&6; }
   3453 ac_exeext=$ac_cv_exeext
   3454 
   3455 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3456 ac_clean_files=$ac_clean_files_save
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3458 $as_echo_n "checking for suffix of executables... " >&6; }
   3459 if { { ac_try="$ac_link"
   3460 case "(($ac_try" in
   3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3462   *) ac_try_echo=$ac_try;;
   3463 esac
   3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3465 $as_echo "$ac_try_echo"; } >&5
   3466   (eval "$ac_link") 2>&5
   3467   ac_status=$?
   3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3469   test $ac_status = 0; }; then :
   3470   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3471 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3472 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3473 # `rm'.
   3474 for ac_file in conftest.exe conftest conftest.*; do
   3475   test -f "$ac_file" || continue
   3476   case $ac_file in
   3477     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3478     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3479 	  break;;
   3480     * ) break;;
   3481   esac
   3482 done
   3483 else
   3484   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3486 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3487 See \`config.log' for more details" "$LINENO" 5; }
   3488 fi
   3489 rm -f conftest conftest$ac_cv_exeext
   3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3491 $as_echo "$ac_cv_exeext" >&6; }
   3492 
   3493 rm -f conftest.$ac_ext
   3494 EXEEXT=$ac_cv_exeext
   3495 ac_exeext=$EXEEXT
   3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3497 /* end confdefs.h.  */
   3498 #include <stdio.h>
   3499 int
   3500 main ()
   3501 {
   3502 FILE *f = fopen ("conftest.out", "w");
   3503  return ferror (f) || fclose (f) != 0;
   3504 
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 ac_clean_files="$ac_clean_files conftest.out"
   3510 # Check that the compiler produces executables we can run.  If not, either
   3511 # the compiler is broken, or we cross compile.
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3513 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3514 if test "$cross_compiling" != yes; then
   3515   { { ac_try="$ac_link"
   3516 case "(($ac_try" in
   3517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3518   *) ac_try_echo=$ac_try;;
   3519 esac
   3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3521 $as_echo "$ac_try_echo"; } >&5
   3522   (eval "$ac_link") 2>&5
   3523   ac_status=$?
   3524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3525   test $ac_status = 0; }
   3526   if { ac_try='./conftest$ac_cv_exeext'
   3527   { { case "(($ac_try" in
   3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3529   *) ac_try_echo=$ac_try;;
   3530 esac
   3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3532 $as_echo "$ac_try_echo"; } >&5
   3533   (eval "$ac_try") 2>&5
   3534   ac_status=$?
   3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3536   test $ac_status = 0; }; }; then
   3537     cross_compiling=no
   3538   else
   3539     if test "$cross_compiling" = maybe; then
   3540 	cross_compiling=yes
   3541     else
   3542 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3544 as_fn_error $? "cannot run C compiled programs.
   3545 If you meant to cross compile, use \`--host'.
   3546 See \`config.log' for more details" "$LINENO" 5; }
   3547     fi
   3548   fi
   3549 fi
   3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3551 $as_echo "$cross_compiling" >&6; }
   3552 
   3553 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3554 ac_clean_files=$ac_clean_files_save
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3556 $as_echo_n "checking for suffix of object files... " >&6; }
   3557 if ${ac_cv_objext+:} false; then :
   3558   $as_echo_n "(cached) " >&6
   3559 else
   3560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3561 /* end confdefs.h.  */
   3562 
   3563 int
   3564 main ()
   3565 {
   3566 
   3567   ;
   3568   return 0;
   3569 }
   3570 _ACEOF
   3571 rm -f conftest.o conftest.obj
   3572 if { { ac_try="$ac_compile"
   3573 case "(($ac_try" in
   3574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3575   *) ac_try_echo=$ac_try;;
   3576 esac
   3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3578 $as_echo "$ac_try_echo"; } >&5
   3579   (eval "$ac_compile") 2>&5
   3580   ac_status=$?
   3581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3582   test $ac_status = 0; }; then :
   3583   for ac_file in conftest.o conftest.obj conftest.*; do
   3584   test -f "$ac_file" || continue;
   3585   case $ac_file in
   3586     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3587     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3588        break;;
   3589   esac
   3590 done
   3591 else
   3592   $as_echo "$as_me: failed program was:" >&5
   3593 sed 's/^/| /' conftest.$ac_ext >&5
   3594 
   3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3597 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3598 See \`config.log' for more details" "$LINENO" 5; }
   3599 fi
   3600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3601 fi
   3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3603 $as_echo "$ac_cv_objext" >&6; }
   3604 OBJEXT=$ac_cv_objext
   3605 ac_objext=$OBJEXT
   3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3608 if ${ac_cv_c_compiler_gnu+:} false; then :
   3609   $as_echo_n "(cached) " >&6
   3610 else
   3611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3612 /* end confdefs.h.  */
   3613 
   3614 int
   3615 main ()
   3616 {
   3617 #ifndef __GNUC__
   3618        choke me
   3619 #endif
   3620 
   3621   ;
   3622   return 0;
   3623 }
   3624 _ACEOF
   3625 if ac_fn_c_try_compile "$LINENO"; then :
   3626   ac_compiler_gnu=yes
   3627 else
   3628   ac_compiler_gnu=no
   3629 fi
   3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3632 
   3633 fi
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3636 if test $ac_compiler_gnu = yes; then
   3637   GCC=yes
   3638 else
   3639   GCC=
   3640 fi
   3641 ac_test_CFLAGS=${CFLAGS+set}
   3642 ac_save_CFLAGS=$CFLAGS
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3645 if ${ac_cv_prog_cc_g+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   ac_save_c_werror_flag=$ac_c_werror_flag
   3649    ac_c_werror_flag=yes
   3650    ac_cv_prog_cc_g=no
   3651    CFLAGS="-g"
   3652    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3653 /* end confdefs.h.  */
   3654 
   3655 int
   3656 main ()
   3657 {
   3658 
   3659   ;
   3660   return 0;
   3661 }
   3662 _ACEOF
   3663 if ac_fn_c_try_compile "$LINENO"; then :
   3664   ac_cv_prog_cc_g=yes
   3665 else
   3666   CFLAGS=""
   3667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3668 /* end confdefs.h.  */
   3669 
   3670 int
   3671 main ()
   3672 {
   3673 
   3674   ;
   3675   return 0;
   3676 }
   3677 _ACEOF
   3678 if ac_fn_c_try_compile "$LINENO"; then :
   3679 
   3680 else
   3681   ac_c_werror_flag=$ac_save_c_werror_flag
   3682 	 CFLAGS="-g"
   3683 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3684 /* end confdefs.h.  */
   3685 
   3686 int
   3687 main ()
   3688 {
   3689 
   3690   ;
   3691   return 0;
   3692 }
   3693 _ACEOF
   3694 if ac_fn_c_try_compile "$LINENO"; then :
   3695   ac_cv_prog_cc_g=yes
   3696 fi
   3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3698 fi
   3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3700 fi
   3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3702    ac_c_werror_flag=$ac_save_c_werror_flag
   3703 fi
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3705 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3706 if test "$ac_test_CFLAGS" = set; then
   3707   CFLAGS=$ac_save_CFLAGS
   3708 elif test $ac_cv_prog_cc_g = yes; then
   3709   if test "$GCC" = yes; then
   3710     CFLAGS="-g -O2"
   3711   else
   3712     CFLAGS="-g"
   3713   fi
   3714 else
   3715   if test "$GCC" = yes; then
   3716     CFLAGS="-O2"
   3717   else
   3718     CFLAGS=
   3719   fi
   3720 fi
   3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3723 if ${ac_cv_prog_cc_c89+:} false; then :
   3724   $as_echo_n "(cached) " >&6
   3725 else
   3726   ac_cv_prog_cc_c89=no
   3727 ac_save_CC=$CC
   3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3729 /* end confdefs.h.  */
   3730 #include <stdarg.h>
   3731 #include <stdio.h>
   3732 #include <sys/types.h>
   3733 #include <sys/stat.h>
   3734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3735 struct buf { int x; };
   3736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3737 static char *e (p, i)
   3738      char **p;
   3739      int i;
   3740 {
   3741   return p[i];
   3742 }
   3743 static char *f (char * (*g) (char **, int), char **p, ...)
   3744 {
   3745   char *s;
   3746   va_list v;
   3747   va_start (v,p);
   3748   s = g (p, va_arg (v,int));
   3749   va_end (v);
   3750   return s;
   3751 }
   3752 
   3753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3754    function prototypes and stuff, but not '\xHH' hex character constants.
   3755    These don't provoke an error unfortunately, instead are silently treated
   3756    as 'x'.  The following induces an error, until -std is added to get
   3757    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3758    array size at least.  It's necessary to write '\x00'==0 to get something
   3759    that's true only with -std.  */
   3760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3761 
   3762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3763    inside strings and character constants.  */
   3764 #define FOO(x) 'x'
   3765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3766 
   3767 int test (int i, double x);
   3768 struct s1 {int (*f) (int a);};
   3769 struct s2 {int (*f) (double a);};
   3770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3771 int argc;
   3772 char **argv;
   3773 int
   3774 main ()
   3775 {
   3776 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3777   ;
   3778   return 0;
   3779 }
   3780 _ACEOF
   3781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3782 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3783 do
   3784   CC="$ac_save_CC $ac_arg"
   3785   if ac_fn_c_try_compile "$LINENO"; then :
   3786   ac_cv_prog_cc_c89=$ac_arg
   3787 fi
   3788 rm -f core conftest.err conftest.$ac_objext
   3789   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3790 done
   3791 rm -f conftest.$ac_ext
   3792 CC=$ac_save_CC
   3793 
   3794 fi
   3795 # AC_CACHE_VAL
   3796 case "x$ac_cv_prog_cc_c89" in
   3797   x)
   3798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3799 $as_echo "none needed" >&6; } ;;
   3800   xno)
   3801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3802 $as_echo "unsupported" >&6; } ;;
   3803   *)
   3804     CC="$CC $ac_cv_prog_cc_c89"
   3805     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3807 esac
   3808 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3809 
   3810 fi
   3811 
   3812 ac_ext=c
   3813 ac_cpp='$CPP $CPPFLAGS'
   3814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3817 
   3818 depcc="$CC"   am_compiler_list=
   3819 
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3821 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3822 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3823   $as_echo_n "(cached) " >&6
   3824 else
   3825   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3826   # We make a subdir and do the tests there.  Otherwise we can end up
   3827   # making bogus files that we don't know about and never remove.  For
   3828   # instance it was reported that on HP-UX the gcc test will end up
   3829   # making a dummy file named `D' -- because `-MD' means `put the output
   3830   # in D'.
   3831   rm -rf conftest.dir
   3832   mkdir conftest.dir
   3833   # Copy depcomp to subdir because otherwise we won't find it if we're
   3834   # using a relative directory.
   3835   cp "$am_depcomp" conftest.dir
   3836   cd conftest.dir
   3837   # We will build objects and dependencies in a subdirectory because
   3838   # it helps to detect inapplicable dependency modes.  For instance
   3839   # both Tru64's cc and ICC support -MD to output dependencies as a
   3840   # side effect of compilation, but ICC will put the dependencies in
   3841   # the current directory while Tru64 will put them in the object
   3842   # directory.
   3843   mkdir sub
   3844 
   3845   am_cv_CC_dependencies_compiler_type=none
   3846   if test "$am_compiler_list" = ""; then
   3847      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3848   fi
   3849   am__universal=false
   3850   case " $depcc " in #(
   3851      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3852      esac
   3853 
   3854   for depmode in $am_compiler_list; do
   3855     # Setup a source with many dependencies, because some compilers
   3856     # like to wrap large dependency lists on column 80 (with \), and
   3857     # we should not choose a depcomp mode which is confused by this.
   3858     #
   3859     # We need to recreate these files for each test, as the compiler may
   3860     # overwrite some of them when testing with obscure command lines.
   3861     # This happens at least with the AIX C compiler.
   3862     : > sub/conftest.c
   3863     for i in 1 2 3 4 5 6; do
   3864       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3865       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3866       # Solaris 8's {/usr,}/bin/sh.
   3867       touch sub/conftst$i.h
   3868     done
   3869     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3870 
   3871     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3872     # mode.  It turns out that the SunPro C++ compiler does not properly
   3873     # handle `-M -o', and we need to detect this.  Also, some Intel
   3874     # versions had trouble with output in subdirs
   3875     am__obj=sub/conftest.${OBJEXT-o}
   3876     am__minus_obj="-o $am__obj"
   3877     case $depmode in
   3878     gcc)
   3879       # This depmode causes a compiler race in universal mode.
   3880       test "$am__universal" = false || continue
   3881       ;;
   3882     nosideeffect)
   3883       # after this tag, mechanisms are not by side-effect, so they'll
   3884       # only be used when explicitly requested
   3885       if test "x$enable_dependency_tracking" = xyes; then
   3886 	continue
   3887       else
   3888 	break
   3889       fi
   3890       ;;
   3891     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3892       # This compiler won't grok `-c -o', but also, the minuso test has
   3893       # not run yet.  These depmodes are late enough in the game, and
   3894       # so weak that their functioning should not be impacted.
   3895       am__obj=conftest.${OBJEXT-o}
   3896       am__minus_obj=
   3897       ;;
   3898     none) break ;;
   3899     esac
   3900     if depmode=$depmode \
   3901        source=sub/conftest.c object=$am__obj \
   3902        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3903        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3904          >/dev/null 2>conftest.err &&
   3905        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3906        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3907        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3908        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3909       # icc doesn't choke on unknown options, it will just issue warnings
   3910       # or remarks (even with -Werror).  So we grep stderr for any message
   3911       # that says an option was ignored or not supported.
   3912       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3913       #   icc: Command line warning: ignoring option '-M'; no argument required
   3914       # The diagnosis changed in icc 8.0:
   3915       #   icc: Command line remark: option '-MP' not supported
   3916       if (grep 'ignoring option' conftest.err ||
   3917           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3918         am_cv_CC_dependencies_compiler_type=$depmode
   3919         break
   3920       fi
   3921     fi
   3922   done
   3923 
   3924   cd ..
   3925   rm -rf conftest.dir
   3926 else
   3927   am_cv_CC_dependencies_compiler_type=none
   3928 fi
   3929 
   3930 fi
   3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3932 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3933 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3934 
   3935  if
   3936   test "x$enable_dependency_tracking" != xno \
   3937   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3938   am__fastdepCC_TRUE=
   3939   am__fastdepCC_FALSE='#'
   3940 else
   3941   am__fastdepCC_TRUE='#'
   3942   am__fastdepCC_FALSE=
   3943 fi
   3944 
   3945 
   3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3947 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3948 if ${ac_cv_path_SED+:} false; then :
   3949   $as_echo_n "(cached) " >&6
   3950 else
   3951             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3952      for ac_i in 1 2 3 4 5 6 7; do
   3953        ac_script="$ac_script$as_nl$ac_script"
   3954      done
   3955      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3956      { ac_script=; unset ac_script;}
   3957      if test -z "$SED"; then
   3958   ac_path_SED_found=false
   3959   # Loop through the user's path and test for each of PROGNAME-LIST
   3960   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3961 for as_dir in $PATH
   3962 do
   3963   IFS=$as_save_IFS
   3964   test -z "$as_dir" && as_dir=.
   3965     for ac_prog in sed gsed; do
   3966     for ac_exec_ext in '' $ac_executable_extensions; do
   3967       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3968       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3969 # Check for GNU ac_path_SED and select it if it is found.
   3970   # Check for GNU $ac_path_SED
   3971 case `"$ac_path_SED" --version 2>&1` in
   3972 *GNU*)
   3973   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3974 *)
   3975   ac_count=0
   3976   $as_echo_n 0123456789 >"conftest.in"
   3977   while :
   3978   do
   3979     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3980     mv "conftest.tmp" "conftest.in"
   3981     cp "conftest.in" "conftest.nl"
   3982     $as_echo '' >> "conftest.nl"
   3983     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3984     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3985     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3986     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3987       # Best one so far, save it but keep looking for a better one
   3988       ac_cv_path_SED="$ac_path_SED"
   3989       ac_path_SED_max=$ac_count
   3990     fi
   3991     # 10*(2^10) chars as input seems more than enough
   3992     test $ac_count -gt 10 && break
   3993   done
   3994   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3995 esac
   3996 
   3997       $ac_path_SED_found && break 3
   3998     done
   3999   done
   4000   done
   4001 IFS=$as_save_IFS
   4002   if test -z "$ac_cv_path_SED"; then
   4003     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4004   fi
   4005 else
   4006   ac_cv_path_SED=$SED
   4007 fi
   4008 
   4009 fi
   4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4011 $as_echo "$ac_cv_path_SED" >&6; }
   4012  SED="$ac_cv_path_SED"
   4013   rm -f conftest.sed
   4014 
   4015 test -z "$SED" && SED=sed
   4016 Xsed="$SED -e 1s/^X//"
   4017 
   4018 
   4019 
   4020 
   4021 
   4022 
   4023 
   4024 
   4025 
   4026 
   4027 
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4029 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4030 if ${ac_cv_path_GREP+:} false; then :
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033   if test -z "$GREP"; then
   4034   ac_path_GREP_found=false
   4035   # Loop through the user's path and test for each of PROGNAME-LIST
   4036   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4038 do
   4039   IFS=$as_save_IFS
   4040   test -z "$as_dir" && as_dir=.
   4041     for ac_prog in grep ggrep; do
   4042     for ac_exec_ext in '' $ac_executable_extensions; do
   4043       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4044       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4045 # Check for GNU ac_path_GREP and select it if it is found.
   4046   # Check for GNU $ac_path_GREP
   4047 case `"$ac_path_GREP" --version 2>&1` in
   4048 *GNU*)
   4049   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4050 *)
   4051   ac_count=0
   4052   $as_echo_n 0123456789 >"conftest.in"
   4053   while :
   4054   do
   4055     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4056     mv "conftest.tmp" "conftest.in"
   4057     cp "conftest.in" "conftest.nl"
   4058     $as_echo 'GREP' >> "conftest.nl"
   4059     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4060     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4061     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4062     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4063       # Best one so far, save it but keep looking for a better one
   4064       ac_cv_path_GREP="$ac_path_GREP"
   4065       ac_path_GREP_max=$ac_count
   4066     fi
   4067     # 10*(2^10) chars as input seems more than enough
   4068     test $ac_count -gt 10 && break
   4069   done
   4070   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4071 esac
   4072 
   4073       $ac_path_GREP_found && break 3
   4074     done
   4075   done
   4076   done
   4077 IFS=$as_save_IFS
   4078   if test -z "$ac_cv_path_GREP"; then
   4079     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4080   fi
   4081 else
   4082   ac_cv_path_GREP=$GREP
   4083 fi
   4084 
   4085 fi
   4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4087 $as_echo "$ac_cv_path_GREP" >&6; }
   4088  GREP="$ac_cv_path_GREP"
   4089 
   4090 
   4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4092 $as_echo_n "checking for egrep... " >&6; }
   4093 if ${ac_cv_path_EGREP+:} false; then :
   4094   $as_echo_n "(cached) " >&6
   4095 else
   4096   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4097    then ac_cv_path_EGREP="$GREP -E"
   4098    else
   4099      if test -z "$EGREP"; then
   4100   ac_path_EGREP_found=false
   4101   # Loop through the user's path and test for each of PROGNAME-LIST
   4102   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4104 do
   4105   IFS=$as_save_IFS
   4106   test -z "$as_dir" && as_dir=.
   4107     for ac_prog in egrep; do
   4108     for ac_exec_ext in '' $ac_executable_extensions; do
   4109       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4110       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4111 # Check for GNU ac_path_EGREP and select it if it is found.
   4112   # Check for GNU $ac_path_EGREP
   4113 case `"$ac_path_EGREP" --version 2>&1` in
   4114 *GNU*)
   4115   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4116 *)
   4117   ac_count=0
   4118   $as_echo_n 0123456789 >"conftest.in"
   4119   while :
   4120   do
   4121     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4122     mv "conftest.tmp" "conftest.in"
   4123     cp "conftest.in" "conftest.nl"
   4124     $as_echo 'EGREP' >> "conftest.nl"
   4125     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4126     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4127     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4128     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4129       # Best one so far, save it but keep looking for a better one
   4130       ac_cv_path_EGREP="$ac_path_EGREP"
   4131       ac_path_EGREP_max=$ac_count
   4132     fi
   4133     # 10*(2^10) chars as input seems more than enough
   4134     test $ac_count -gt 10 && break
   4135   done
   4136   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4137 esac
   4138 
   4139       $ac_path_EGREP_found && break 3
   4140     done
   4141   done
   4142   done
   4143 IFS=$as_save_IFS
   4144   if test -z "$ac_cv_path_EGREP"; then
   4145     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4146   fi
   4147 else
   4148   ac_cv_path_EGREP=$EGREP
   4149 fi
   4150 
   4151    fi
   4152 fi
   4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4154 $as_echo "$ac_cv_path_EGREP" >&6; }
   4155  EGREP="$ac_cv_path_EGREP"
   4156 
   4157 
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4159 $as_echo_n "checking for fgrep... " >&6; }
   4160 if ${ac_cv_path_FGREP+:} false; then :
   4161   $as_echo_n "(cached) " >&6
   4162 else
   4163   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4164    then ac_cv_path_FGREP="$GREP -F"
   4165    else
   4166      if test -z "$FGREP"; then
   4167   ac_path_FGREP_found=false
   4168   # Loop through the user's path and test for each of PROGNAME-LIST
   4169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4171 do
   4172   IFS=$as_save_IFS
   4173   test -z "$as_dir" && as_dir=.
   4174     for ac_prog in fgrep; do
   4175     for ac_exec_ext in '' $ac_executable_extensions; do
   4176       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4177       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4178 # Check for GNU ac_path_FGREP and select it if it is found.
   4179   # Check for GNU $ac_path_FGREP
   4180 case `"$ac_path_FGREP" --version 2>&1` in
   4181 *GNU*)
   4182   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4183 *)
   4184   ac_count=0
   4185   $as_echo_n 0123456789 >"conftest.in"
   4186   while :
   4187   do
   4188     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4189     mv "conftest.tmp" "conftest.in"
   4190     cp "conftest.in" "conftest.nl"
   4191     $as_echo 'FGREP' >> "conftest.nl"
   4192     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4193     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4194     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4195     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4196       # Best one so far, save it but keep looking for a better one
   4197       ac_cv_path_FGREP="$ac_path_FGREP"
   4198       ac_path_FGREP_max=$ac_count
   4199     fi
   4200     # 10*(2^10) chars as input seems more than enough
   4201     test $ac_count -gt 10 && break
   4202   done
   4203   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4204 esac
   4205 
   4206       $ac_path_FGREP_found && break 3
   4207     done
   4208   done
   4209   done
   4210 IFS=$as_save_IFS
   4211   if test -z "$ac_cv_path_FGREP"; then
   4212     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4213   fi
   4214 else
   4215   ac_cv_path_FGREP=$FGREP
   4216 fi
   4217 
   4218    fi
   4219 fi
   4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4221 $as_echo "$ac_cv_path_FGREP" >&6; }
   4222  FGREP="$ac_cv_path_FGREP"
   4223 
   4224 
   4225 test -z "$GREP" && GREP=grep
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 
   4233 
   4234 
   4235 
   4236 
   4237 
   4238 
   4239 
   4240 
   4241 
   4242 
   4243 
   4244 
   4245 # Check whether --with-gnu-ld was given.
   4246 if test "${with_gnu_ld+set}" = set; then :
   4247   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4248 else
   4249   with_gnu_ld=no
   4250 fi
   4251 
   4252 ac_prog=ld
   4253 if test "$GCC" = yes; then
   4254   # Check if gcc -print-prog-name=ld gives a path.
   4255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4256 $as_echo_n "checking for ld used by $CC... " >&6; }
   4257   case $host in
   4258   *-*-mingw*)
   4259     # gcc leaves a trailing carriage return which upsets mingw
   4260     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4261   *)
   4262     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4263   esac
   4264   case $ac_prog in
   4265     # Accept absolute paths.
   4266     [\\/]* | ?:[\\/]*)
   4267       re_direlt='/[^/][^/]*/\.\./'
   4268       # Canonicalize the pathname of ld
   4269       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4270       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4271 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4272       done
   4273       test -z "$LD" && LD="$ac_prog"
   4274       ;;
   4275   "")
   4276     # If it fails, then pretend we aren't using GCC.
   4277     ac_prog=ld
   4278     ;;
   4279   *)
   4280     # If it is relative, then search for the first ld in PATH.
   4281     with_gnu_ld=unknown
   4282     ;;
   4283   esac
   4284 elif test "$with_gnu_ld" = yes; then
   4285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4286 $as_echo_n "checking for GNU ld... " >&6; }
   4287 else
   4288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4289 $as_echo_n "checking for non-GNU ld... " >&6; }
   4290 fi
   4291 if ${lt_cv_path_LD+:} false; then :
   4292   $as_echo_n "(cached) " >&6
   4293 else
   4294   if test -z "$LD"; then
   4295   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4296   for ac_dir in $PATH; do
   4297     IFS="$lt_save_ifs"
   4298     test -z "$ac_dir" && ac_dir=.
   4299     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4300       lt_cv_path_LD="$ac_dir/$ac_prog"
   4301       # Check to see if the program is GNU ld.  I'd rather use --version,
   4302       # but apparently some variants of GNU ld only accept -v.
   4303       # Break only if it was the GNU/non-GNU ld that we prefer.
   4304       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4305       *GNU* | *'with BFD'*)
   4306 	test "$with_gnu_ld" != no && break
   4307 	;;
   4308       *)
   4309 	test "$with_gnu_ld" != yes && break
   4310 	;;
   4311       esac
   4312     fi
   4313   done
   4314   IFS="$lt_save_ifs"
   4315 else
   4316   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4317 fi
   4318 fi
   4319 
   4320 LD="$lt_cv_path_LD"
   4321 if test -n "$LD"; then
   4322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4323 $as_echo "$LD" >&6; }
   4324 else
   4325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4326 $as_echo "no" >&6; }
   4327 fi
   4328 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4330 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4331 if ${lt_cv_prog_gnu_ld+:} false; then :
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4335 case `$LD -v 2>&1 </dev/null` in
   4336 *GNU* | *'with BFD'*)
   4337   lt_cv_prog_gnu_ld=yes
   4338   ;;
   4339 *)
   4340   lt_cv_prog_gnu_ld=no
   4341   ;;
   4342 esac
   4343 fi
   4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4345 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4346 with_gnu_ld=$lt_cv_prog_gnu_ld
   4347 
   4348 
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4357 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4358 if ${lt_cv_path_NM+:} false; then :
   4359   $as_echo_n "(cached) " >&6
   4360 else
   4361   if test -n "$NM"; then
   4362   # Let the user override the test.
   4363   lt_cv_path_NM="$NM"
   4364 else
   4365   lt_nm_to_check="${ac_tool_prefix}nm"
   4366   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4367     lt_nm_to_check="$lt_nm_to_check nm"
   4368   fi
   4369   for lt_tmp_nm in $lt_nm_to_check; do
   4370     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4371     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4372       IFS="$lt_save_ifs"
   4373       test -z "$ac_dir" && ac_dir=.
   4374       tmp_nm="$ac_dir/$lt_tmp_nm"
   4375       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4376 	# Check to see if the nm accepts a BSD-compat flag.
   4377 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4378 	#   nm: unknown option "B" ignored
   4379 	# Tru64's nm complains that /dev/null is an invalid object file
   4380 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4381 	*/dev/null* | *'Invalid file or object type'*)
   4382 	  lt_cv_path_NM="$tmp_nm -B"
   4383 	  break
   4384 	  ;;
   4385 	*)
   4386 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4387 	  */dev/null*)
   4388 	    lt_cv_path_NM="$tmp_nm -p"
   4389 	    break
   4390 	    ;;
   4391 	  *)
   4392 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4393 	    continue # so that we can try to find one that supports BSD flags
   4394 	    ;;
   4395 	  esac
   4396 	  ;;
   4397 	esac
   4398       fi
   4399     done
   4400     IFS="$lt_save_ifs"
   4401   done
   4402   : ${lt_cv_path_NM=no}
   4403 fi
   4404 fi
   4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4406 $as_echo "$lt_cv_path_NM" >&6; }
   4407 if test "$lt_cv_path_NM" != "no"; then
   4408   NM="$lt_cv_path_NM"
   4409 else
   4410   # Didn't find any BSD compatible name lister, look for dumpbin.
   4411   if test -n "$DUMPBIN"; then :
   4412     # Let the user override the test.
   4413   else
   4414     if test -n "$ac_tool_prefix"; then
   4415   for ac_prog in dumpbin "link -dump"
   4416   do
   4417     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4418 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4420 $as_echo_n "checking for $ac_word... " >&6; }
   4421 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   if test -n "$DUMPBIN"; then
   4425   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4426 else
   4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4428 for as_dir in $PATH
   4429 do
   4430   IFS=$as_save_IFS
   4431   test -z "$as_dir" && as_dir=.
   4432     for ac_exec_ext in '' $ac_executable_extensions; do
   4433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4434     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4436     break 2
   4437   fi
   4438 done
   4439   done
   4440 IFS=$as_save_IFS
   4441 
   4442 fi
   4443 fi
   4444 DUMPBIN=$ac_cv_prog_DUMPBIN
   4445 if test -n "$DUMPBIN"; then
   4446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4447 $as_echo "$DUMPBIN" >&6; }
   4448 else
   4449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4450 $as_echo "no" >&6; }
   4451 fi
   4452 
   4453 
   4454     test -n "$DUMPBIN" && break
   4455   done
   4456 fi
   4457 if test -z "$DUMPBIN"; then
   4458   ac_ct_DUMPBIN=$DUMPBIN
   4459   for ac_prog in dumpbin "link -dump"
   4460 do
   4461   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4462 set dummy $ac_prog; ac_word=$2
   4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4464 $as_echo_n "checking for $ac_word... " >&6; }
   4465 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4466   $as_echo_n "(cached) " >&6
   4467 else
   4468   if test -n "$ac_ct_DUMPBIN"; then
   4469   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4470 else
   4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4472 for as_dir in $PATH
   4473 do
   4474   IFS=$as_save_IFS
   4475   test -z "$as_dir" && as_dir=.
   4476     for ac_exec_ext in '' $ac_executable_extensions; do
   4477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4478     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4480     break 2
   4481   fi
   4482 done
   4483   done
   4484 IFS=$as_save_IFS
   4485 
   4486 fi
   4487 fi
   4488 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4489 if test -n "$ac_ct_DUMPBIN"; then
   4490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4491 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4492 else
   4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4494 $as_echo "no" >&6; }
   4495 fi
   4496 
   4497 
   4498   test -n "$ac_ct_DUMPBIN" && break
   4499 done
   4500 
   4501   if test "x$ac_ct_DUMPBIN" = x; then
   4502     DUMPBIN=":"
   4503   else
   4504     case $cross_compiling:$ac_tool_warned in
   4505 yes:)
   4506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4508 ac_tool_warned=yes ;;
   4509 esac
   4510     DUMPBIN=$ac_ct_DUMPBIN
   4511   fi
   4512 fi
   4513 
   4514     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4515     *COFF*)
   4516       DUMPBIN="$DUMPBIN -symbols"
   4517       ;;
   4518     *)
   4519       DUMPBIN=:
   4520       ;;
   4521     esac
   4522   fi
   4523 
   4524   if test "$DUMPBIN" != ":"; then
   4525     NM="$DUMPBIN"
   4526   fi
   4527 fi
   4528 test -z "$NM" && NM=nm
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4536 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4537 if ${lt_cv_nm_interface+:} false; then :
   4538   $as_echo_n "(cached) " >&6
   4539 else
   4540   lt_cv_nm_interface="BSD nm"
   4541   echo "int some_variable = 0;" > conftest.$ac_ext
   4542   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4543   (eval "$ac_compile" 2>conftest.err)
   4544   cat conftest.err >&5
   4545   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4546   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4547   cat conftest.err >&5
   4548   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4549   cat conftest.out >&5
   4550   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4551     lt_cv_nm_interface="MS dumpbin"
   4552   fi
   4553   rm -f conftest*
   4554 fi
   4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4556 $as_echo "$lt_cv_nm_interface" >&6; }
   4557 
   4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4559 $as_echo_n "checking whether ln -s works... " >&6; }
   4560 LN_S=$as_ln_s
   4561 if test "$LN_S" = "ln -s"; then
   4562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4563 $as_echo "yes" >&6; }
   4564 else
   4565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4566 $as_echo "no, using $LN_S" >&6; }
   4567 fi
   4568 
   4569 # find the maximum length of command line arguments
   4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4571 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4572 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4573   $as_echo_n "(cached) " >&6
   4574 else
   4575     i=0
   4576   teststring="ABCD"
   4577 
   4578   case $build_os in
   4579   msdosdjgpp*)
   4580     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4581     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4582     # during glob expansion).  Even if it were fixed, the result of this
   4583     # check would be larger than it should be.
   4584     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4585     ;;
   4586 
   4587   gnu*)
   4588     # Under GNU Hurd, this test is not required because there is
   4589     # no limit to the length of command line arguments.
   4590     # Libtool will interpret -1 as no limit whatsoever
   4591     lt_cv_sys_max_cmd_len=-1;
   4592     ;;
   4593 
   4594   cygwin* | mingw* | cegcc*)
   4595     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4596     # about 5 minutes as the teststring grows exponentially.
   4597     # Worse, since 9x/ME are not pre-emptively multitasking,
   4598     # you end up with a "frozen" computer, even though with patience
   4599     # the test eventually succeeds (with a max line length of 256k).
   4600     # Instead, let's just punt: use the minimum linelength reported by
   4601     # all of the supported platforms: 8192 (on NT/2K/XP).
   4602     lt_cv_sys_max_cmd_len=8192;
   4603     ;;
   4604 
   4605   mint*)
   4606     # On MiNT this can take a long time and run out of memory.
   4607     lt_cv_sys_max_cmd_len=8192;
   4608     ;;
   4609 
   4610   amigaos*)
   4611     # On AmigaOS with pdksh, this test takes hours, literally.
   4612     # So we just punt and use a minimum line length of 8192.
   4613     lt_cv_sys_max_cmd_len=8192;
   4614     ;;
   4615 
   4616   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4617     # This has been around since 386BSD, at least.  Likely further.
   4618     if test -x /sbin/sysctl; then
   4619       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4620     elif test -x /usr/sbin/sysctl; then
   4621       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4622     else
   4623       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4624     fi
   4625     # And add a safety zone
   4626     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4627     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4628     ;;
   4629 
   4630   interix*)
   4631     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4632     lt_cv_sys_max_cmd_len=196608
   4633     ;;
   4634 
   4635   os2*)
   4636     # The test takes a long time on OS/2.
   4637     lt_cv_sys_max_cmd_len=8192
   4638     ;;
   4639 
   4640   osf*)
   4641     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4642     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4643     # nice to cause kernel panics so lets avoid the loop below.
   4644     # First set a reasonable default.
   4645     lt_cv_sys_max_cmd_len=16384
   4646     #
   4647     if test -x /sbin/sysconfig; then
   4648       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4649         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4650       esac
   4651     fi
   4652     ;;
   4653   sco3.2v5*)
   4654     lt_cv_sys_max_cmd_len=102400
   4655     ;;
   4656   sysv5* | sco5v6* | sysv4.2uw2*)
   4657     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4658     if test -n "$kargmax"; then
   4659       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4660     else
   4661       lt_cv_sys_max_cmd_len=32768
   4662     fi
   4663     ;;
   4664   *)
   4665     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4666     if test -n "$lt_cv_sys_max_cmd_len"; then
   4667       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4668       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4669     else
   4670       # Make teststring a little bigger before we do anything with it.
   4671       # a 1K string should be a reasonable start.
   4672       for i in 1 2 3 4 5 6 7 8 ; do
   4673         teststring=$teststring$teststring
   4674       done
   4675       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4676       # If test is not a shell built-in, we'll probably end up computing a
   4677       # maximum length that is only half of the actual maximum length, but
   4678       # we can't tell.
   4679       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4680 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4681 	      test $i != 17 # 1/2 MB should be enough
   4682       do
   4683         i=`expr $i + 1`
   4684         teststring=$teststring$teststring
   4685       done
   4686       # Only check the string length outside the loop.
   4687       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4688       teststring=
   4689       # Add a significant safety factor because C++ compilers can tack on
   4690       # massive amounts of additional arguments before passing them to the
   4691       # linker.  It appears as though 1/2 is a usable value.
   4692       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4693     fi
   4694     ;;
   4695   esac
   4696 
   4697 fi
   4698 
   4699 if test -n $lt_cv_sys_max_cmd_len ; then
   4700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4701 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4702 else
   4703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4704 $as_echo "none" >&6; }
   4705 fi
   4706 max_cmd_len=$lt_cv_sys_max_cmd_len
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 : ${CP="cp -f"}
   4714 : ${MV="mv -f"}
   4715 : ${RM="rm -f"}
   4716 
   4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4718 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4719 # Try some XSI features
   4720 xsi_shell=no
   4721 ( _lt_dummy="a/b/c"
   4722   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4723       = c,a/b,b/c, \
   4724     && eval 'test $(( 1 + 1 )) -eq 2 \
   4725     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4726   && xsi_shell=yes
   4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4728 $as_echo "$xsi_shell" >&6; }
   4729 
   4730 
   4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4732 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4733 lt_shell_append=no
   4734 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4735     >/dev/null 2>&1 \
   4736   && lt_shell_append=yes
   4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4738 $as_echo "$lt_shell_append" >&6; }
   4739 
   4740 
   4741 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4742   lt_unset=unset
   4743 else
   4744   lt_unset=false
   4745 fi
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 # test EBCDIC or ASCII
   4752 case `echo X|tr X '\101'` in
   4753  A) # ASCII based system
   4754     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4755   lt_SP2NL='tr \040 \012'
   4756   lt_NL2SP='tr \015\012 \040\040'
   4757   ;;
   4758  *) # EBCDIC based system
   4759   lt_SP2NL='tr \100 \n'
   4760   lt_NL2SP='tr \r\n \100\100'
   4761   ;;
   4762 esac
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4773 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4774 if ${lt_cv_to_host_file_cmd+:} false; then :
   4775   $as_echo_n "(cached) " >&6
   4776 else
   4777   case $host in
   4778   *-*-mingw* )
   4779     case $build in
   4780       *-*-mingw* ) # actually msys
   4781         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4782         ;;
   4783       *-*-cygwin* )
   4784         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4785         ;;
   4786       * ) # otherwise, assume *nix
   4787         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4788         ;;
   4789     esac
   4790     ;;
   4791   *-*-cygwin* )
   4792     case $build in
   4793       *-*-mingw* ) # actually msys
   4794         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4795         ;;
   4796       *-*-cygwin* )
   4797         lt_cv_to_host_file_cmd=func_convert_file_noop
   4798         ;;
   4799       * ) # otherwise, assume *nix
   4800         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4801         ;;
   4802     esac
   4803     ;;
   4804   * ) # unhandled hosts (and "normal" native builds)
   4805     lt_cv_to_host_file_cmd=func_convert_file_noop
   4806     ;;
   4807 esac
   4808 
   4809 fi
   4810 
   4811 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4813 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4814 
   4815 
   4816 
   4817 
   4818 
   4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4820 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4821 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4822   $as_echo_n "(cached) " >&6
   4823 else
   4824   #assume ordinary cross tools, or native build.
   4825 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4826 case $host in
   4827   *-*-mingw* )
   4828     case $build in
   4829       *-*-mingw* ) # actually msys
   4830         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4831         ;;
   4832     esac
   4833     ;;
   4834 esac
   4835 
   4836 fi
   4837 
   4838 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4840 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4847 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4848 if ${lt_cv_ld_reload_flag+:} false; then :
   4849   $as_echo_n "(cached) " >&6
   4850 else
   4851   lt_cv_ld_reload_flag='-r'
   4852 fi
   4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4854 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4855 reload_flag=$lt_cv_ld_reload_flag
   4856 case $reload_flag in
   4857 "" | " "*) ;;
   4858 *) reload_flag=" $reload_flag" ;;
   4859 esac
   4860 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4861 case $host_os in
   4862   cygwin* | mingw* | pw32* | cegcc*)
   4863     if test "$GCC" != yes; then
   4864       reload_cmds=false
   4865     fi
   4866     ;;
   4867   darwin*)
   4868     if test "$GCC" = yes; then
   4869       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4870     else
   4871       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4872     fi
   4873     ;;
   4874 esac
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 if test -n "$ac_tool_prefix"; then
   4885   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4886 set dummy ${ac_tool_prefix}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_OBJDUMP+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   if test -n "$OBJDUMP"; then
   4893   ac_cv_prog_OBJDUMP="$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_OBJDUMP="${ac_tool_prefix}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 OBJDUMP=$ac_cv_prog_OBJDUMP
   4913 if test -n "$OBJDUMP"; then
   4914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4915 $as_echo "$OBJDUMP" >&6; }
   4916 else
   4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4918 $as_echo "no" >&6; }
   4919 fi
   4920 
   4921 
   4922 fi
   4923 if test -z "$ac_cv_prog_OBJDUMP"; then
   4924   ac_ct_OBJDUMP=$OBJDUMP
   4925   # Extract the first word of "objdump", so it can be a program name with args.
   4926 set dummy objdump; ac_word=$2
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4928 $as_echo_n "checking for $ac_word... " >&6; }
   4929 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4930   $as_echo_n "(cached) " >&6
   4931 else
   4932   if test -n "$ac_ct_OBJDUMP"; then
   4933   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4934 else
   4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4936 for as_dir in $PATH
   4937 do
   4938   IFS=$as_save_IFS
   4939   test -z "$as_dir" && as_dir=.
   4940     for ac_exec_ext in '' $ac_executable_extensions; do
   4941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4942     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4944     break 2
   4945   fi
   4946 done
   4947   done
   4948 IFS=$as_save_IFS
   4949 
   4950 fi
   4951 fi
   4952 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4953 if test -n "$ac_ct_OBJDUMP"; then
   4954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4955 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4956 else
   4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4958 $as_echo "no" >&6; }
   4959 fi
   4960 
   4961   if test "x$ac_ct_OBJDUMP" = x; then
   4962     OBJDUMP="false"
   4963   else
   4964     case $cross_compiling:$ac_tool_warned in
   4965 yes:)
   4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4968 ac_tool_warned=yes ;;
   4969 esac
   4970     OBJDUMP=$ac_ct_OBJDUMP
   4971   fi
   4972 else
   4973   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4974 fi
   4975 
   4976 test -z "$OBJDUMP" && OBJDUMP=objdump
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4987 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4988 if ${lt_cv_deplibs_check_method+:} false; then :
   4989   $as_echo_n "(cached) " >&6
   4990 else
   4991   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4992 lt_cv_file_magic_test_file=
   4993 lt_cv_deplibs_check_method='unknown'
   4994 # Need to set the preceding variable on all platforms that support
   4995 # interlibrary dependencies.
   4996 # 'none' -- dependencies not supported.
   4997 # `unknown' -- same as none, but documents that we really don't know.
   4998 # 'pass_all' -- all dependencies passed with no checks.
   4999 # 'test_compile' -- check by making test program.
   5000 # 'file_magic [[regex]]' -- check by looking for files in library path
   5001 # which responds to the $file_magic_cmd with a given extended regex.
   5002 # If you have `file' or equivalent on your system and you're not sure
   5003 # whether `pass_all' will *always* work, you probably want this one.
   5004 
   5005 case $host_os in
   5006 aix[4-9]*)
   5007   lt_cv_deplibs_check_method=pass_all
   5008   ;;
   5009 
   5010 beos*)
   5011   lt_cv_deplibs_check_method=pass_all
   5012   ;;
   5013 
   5014 bsdi[45]*)
   5015   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5016   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5017   lt_cv_file_magic_test_file=/shlib/libc.so
   5018   ;;
   5019 
   5020 cygwin*)
   5021   # func_win32_libid is a shell function defined in ltmain.sh
   5022   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5023   lt_cv_file_magic_cmd='func_win32_libid'
   5024   ;;
   5025 
   5026 mingw* | pw32*)
   5027   # Base MSYS/MinGW do not provide the 'file' command needed by
   5028   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5029   # unless we find 'file', for example because we are cross-compiling.
   5030   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5031   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5032     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5033     lt_cv_file_magic_cmd='func_win32_libid'
   5034   else
   5035     # Keep this pattern in sync with the one in func_win32_libid.
   5036     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5037     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5038   fi
   5039   ;;
   5040 
   5041 cegcc*)
   5042   # use the weaker test based on 'objdump'. See mingw*.
   5043   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5044   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5045   ;;
   5046 
   5047 darwin* | rhapsody*)
   5048   lt_cv_deplibs_check_method=pass_all
   5049   ;;
   5050 
   5051 freebsd* | dragonfly*)
   5052   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5053     case $host_cpu in
   5054     i*86 )
   5055       # Not sure whether the presence of OpenBSD here was a mistake.
   5056       # Let's accept both of them until this is cleared up.
   5057       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5058       lt_cv_file_magic_cmd=/usr/bin/file
   5059       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5060       ;;
   5061     esac
   5062   else
   5063     lt_cv_deplibs_check_method=pass_all
   5064   fi
   5065   ;;
   5066 
   5067 gnu*)
   5068   lt_cv_deplibs_check_method=pass_all
   5069   ;;
   5070 
   5071 haiku*)
   5072   lt_cv_deplibs_check_method=pass_all
   5073   ;;
   5074 
   5075 hpux10.20* | hpux11*)
   5076   lt_cv_file_magic_cmd=/usr/bin/file
   5077   case $host_cpu in
   5078   ia64*)
   5079     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5080     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5081     ;;
   5082   hppa*64*)
   5083     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]'
   5084     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5085     ;;
   5086   *)
   5087     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5088     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5089     ;;
   5090   esac
   5091   ;;
   5092 
   5093 interix[3-9]*)
   5094   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5095   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5096   ;;
   5097 
   5098 irix5* | irix6* | nonstopux*)
   5099   case $LD in
   5100   *-32|*"-32 ") libmagic=32-bit;;
   5101   *-n32|*"-n32 ") libmagic=N32;;
   5102   *-64|*"-64 ") libmagic=64-bit;;
   5103   *) libmagic=never-match;;
   5104   esac
   5105   lt_cv_deplibs_check_method=pass_all
   5106   ;;
   5107 
   5108 # This must be glibc/ELF.
   5109 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5110   lt_cv_deplibs_check_method=pass_all
   5111   ;;
   5112 
   5113 netbsd*)
   5114   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5115     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5116   else
   5117     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5118   fi
   5119   ;;
   5120 
   5121 newos6*)
   5122   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5123   lt_cv_file_magic_cmd=/usr/bin/file
   5124   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5125   ;;
   5126 
   5127 *nto* | *qnx*)
   5128   lt_cv_deplibs_check_method=pass_all
   5129   ;;
   5130 
   5131 openbsd*)
   5132   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5133     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5134   else
   5135     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5136   fi
   5137   ;;
   5138 
   5139 osf3* | osf4* | osf5*)
   5140   lt_cv_deplibs_check_method=pass_all
   5141   ;;
   5142 
   5143 rdos*)
   5144   lt_cv_deplibs_check_method=pass_all
   5145   ;;
   5146 
   5147 solaris*)
   5148   lt_cv_deplibs_check_method=pass_all
   5149   ;;
   5150 
   5151 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5152   lt_cv_deplibs_check_method=pass_all
   5153   ;;
   5154 
   5155 sysv4 | sysv4.3*)
   5156   case $host_vendor in
   5157   motorola)
   5158     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]'
   5159     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5160     ;;
   5161   ncr)
   5162     lt_cv_deplibs_check_method=pass_all
   5163     ;;
   5164   sequent)
   5165     lt_cv_file_magic_cmd='/bin/file'
   5166     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5167     ;;
   5168   sni)
   5169     lt_cv_file_magic_cmd='/bin/file'
   5170     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5171     lt_cv_file_magic_test_file=/lib/libc.so
   5172     ;;
   5173   siemens)
   5174     lt_cv_deplibs_check_method=pass_all
   5175     ;;
   5176   pc)
   5177     lt_cv_deplibs_check_method=pass_all
   5178     ;;
   5179   esac
   5180   ;;
   5181 
   5182 tpf*)
   5183   lt_cv_deplibs_check_method=pass_all
   5184   ;;
   5185 esac
   5186 
   5187 fi
   5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5189 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5190 
   5191 file_magic_glob=
   5192 want_nocaseglob=no
   5193 if test "$build" = "$host"; then
   5194   case $host_os in
   5195   mingw* | pw32*)
   5196     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5197       want_nocaseglob=yes
   5198     else
   5199       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5200     fi
   5201     ;;
   5202   esac
   5203 fi
   5204 
   5205 file_magic_cmd=$lt_cv_file_magic_cmd
   5206 deplibs_check_method=$lt_cv_deplibs_check_method
   5207 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 if test -n "$ac_tool_prefix"; then
   5231   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5232 set dummy ${ac_tool_prefix}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_DLLTOOL+:} false; then :
   5236   $as_echo_n "(cached) " >&6
   5237 else
   5238   if test -n "$DLLTOOL"; then
   5239   ac_cv_prog_DLLTOOL="$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_DLLTOOL="${ac_tool_prefix}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 DLLTOOL=$ac_cv_prog_DLLTOOL
   5259 if test -n "$DLLTOOL"; then
   5260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5261 $as_echo "$DLLTOOL" >&6; }
   5262 else
   5263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5264 $as_echo "no" >&6; }
   5265 fi
   5266 
   5267 
   5268 fi
   5269 if test -z "$ac_cv_prog_DLLTOOL"; then
   5270   ac_ct_DLLTOOL=$DLLTOOL
   5271   # Extract the first word of "dlltool", so it can be a program name with args.
   5272 set dummy dlltool; ac_word=$2
   5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5274 $as_echo_n "checking for $ac_word... " >&6; }
   5275 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5276   $as_echo_n "(cached) " >&6
   5277 else
   5278   if test -n "$ac_ct_DLLTOOL"; then
   5279   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5280 else
   5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5282 for as_dir in $PATH
   5283 do
   5284   IFS=$as_save_IFS
   5285   test -z "$as_dir" && as_dir=.
   5286     for ac_exec_ext in '' $ac_executable_extensions; do
   5287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5288     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5290     break 2
   5291   fi
   5292 done
   5293   done
   5294 IFS=$as_save_IFS
   5295 
   5296 fi
   5297 fi
   5298 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5299 if test -n "$ac_ct_DLLTOOL"; then
   5300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5301 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5302 else
   5303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5304 $as_echo "no" >&6; }
   5305 fi
   5306 
   5307   if test "x$ac_ct_DLLTOOL" = x; then
   5308     DLLTOOL="false"
   5309   else
   5310     case $cross_compiling:$ac_tool_warned in
   5311 yes:)
   5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5314 ac_tool_warned=yes ;;
   5315 esac
   5316     DLLTOOL=$ac_ct_DLLTOOL
   5317   fi
   5318 else
   5319   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5320 fi
   5321 
   5322 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5334 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5335 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5336   $as_echo_n "(cached) " >&6
   5337 else
   5338   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5339 
   5340 case $host_os in
   5341 cygwin* | mingw* | pw32* | cegcc*)
   5342   # two different shell functions defined in ltmain.sh
   5343   # decide which to use based on capabilities of $DLLTOOL
   5344   case `$DLLTOOL --help 2>&1` in
   5345   *--identify-strict*)
   5346     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5347     ;;
   5348   *)
   5349     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5350     ;;
   5351   esac
   5352   ;;
   5353 *)
   5354   # fallback: assume linklib IS sharedlib
   5355   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5356   ;;
   5357 esac
   5358 
   5359 fi
   5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5361 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5362 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5363 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 if test -n "$ac_tool_prefix"; then
   5373   for ac_prog in ar
   5374   do
   5375     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5378 $as_echo_n "checking for $ac_word... " >&6; }
   5379 if ${ac_cv_prog_AR+:} false; then :
   5380   $as_echo_n "(cached) " >&6
   5381 else
   5382   if test -n "$AR"; then
   5383   ac_cv_prog_AR="$AR" # Let the user override the test.
   5384 else
   5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5386 for as_dir in $PATH
   5387 do
   5388   IFS=$as_save_IFS
   5389   test -z "$as_dir" && as_dir=.
   5390     for ac_exec_ext in '' $ac_executable_extensions; do
   5391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5392     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5394     break 2
   5395   fi
   5396 done
   5397   done
   5398 IFS=$as_save_IFS
   5399 
   5400 fi
   5401 fi
   5402 AR=$ac_cv_prog_AR
   5403 if test -n "$AR"; then
   5404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5405 $as_echo "$AR" >&6; }
   5406 else
   5407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5408 $as_echo "no" >&6; }
   5409 fi
   5410 
   5411 
   5412     test -n "$AR" && break
   5413   done
   5414 fi
   5415 if test -z "$AR"; then
   5416   ac_ct_AR=$AR
   5417   for ac_prog in ar
   5418 do
   5419   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5420 set dummy $ac_prog; ac_word=$2
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5422 $as_echo_n "checking for $ac_word... " >&6; }
   5423 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5424   $as_echo_n "(cached) " >&6
   5425 else
   5426   if test -n "$ac_ct_AR"; then
   5427   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5428 else
   5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5430 for as_dir in $PATH
   5431 do
   5432   IFS=$as_save_IFS
   5433   test -z "$as_dir" && as_dir=.
   5434     for ac_exec_ext in '' $ac_executable_extensions; do
   5435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5436     ac_cv_prog_ac_ct_AR="$ac_prog"
   5437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5438     break 2
   5439   fi
   5440 done
   5441   done
   5442 IFS=$as_save_IFS
   5443 
   5444 fi
   5445 fi
   5446 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5447 if test -n "$ac_ct_AR"; then
   5448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5449 $as_echo "$ac_ct_AR" >&6; }
   5450 else
   5451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5452 $as_echo "no" >&6; }
   5453 fi
   5454 
   5455 
   5456   test -n "$ac_ct_AR" && break
   5457 done
   5458 
   5459   if test "x$ac_ct_AR" = x; then
   5460     AR="false"
   5461   else
   5462     case $cross_compiling:$ac_tool_warned in
   5463 yes:)
   5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5466 ac_tool_warned=yes ;;
   5467 esac
   5468     AR=$ac_ct_AR
   5469   fi
   5470 fi
   5471 
   5472 : ${AR=ar}
   5473 : ${AR_FLAGS=cru}
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5486 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5487 if ${lt_cv_ar_at_file+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490   lt_cv_ar_at_file=no
   5491    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5492 /* end confdefs.h.  */
   5493 
   5494 int
   5495 main ()
   5496 {
   5497 
   5498   ;
   5499   return 0;
   5500 }
   5501 _ACEOF
   5502 if ac_fn_c_try_compile "$LINENO"; then :
   5503   echo conftest.$ac_objext > conftest.lst
   5504       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5505       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5506   (eval $lt_ar_try) 2>&5
   5507   ac_status=$?
   5508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5509   test $ac_status = 0; }
   5510       if test "$ac_status" -eq 0; then
   5511 	# Ensure the archiver fails upon bogus file names.
   5512 	rm -f conftest.$ac_objext libconftest.a
   5513 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5514   (eval $lt_ar_try) 2>&5
   5515   ac_status=$?
   5516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5517   test $ac_status = 0; }
   5518 	if test "$ac_status" -ne 0; then
   5519           lt_cv_ar_at_file=@
   5520         fi
   5521       fi
   5522       rm -f conftest.* libconftest.a
   5523 
   5524 fi
   5525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5526 
   5527 fi
   5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5529 $as_echo "$lt_cv_ar_at_file" >&6; }
   5530 
   5531 if test "x$lt_cv_ar_at_file" = xno; then
   5532   archiver_list_spec=
   5533 else
   5534   archiver_list_spec=$lt_cv_ar_at_file
   5535 fi
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 if test -n "$ac_tool_prefix"; then
   5544   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5545 set dummy ${ac_tool_prefix}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_STRIP+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   if test -n "$STRIP"; then
   5552   ac_cv_prog_STRIP="$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_STRIP="${ac_tool_prefix}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 STRIP=$ac_cv_prog_STRIP
   5572 if test -n "$STRIP"; then
   5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5574 $as_echo "$STRIP" >&6; }
   5575 else
   5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5577 $as_echo "no" >&6; }
   5578 fi
   5579 
   5580 
   5581 fi
   5582 if test -z "$ac_cv_prog_STRIP"; then
   5583   ac_ct_STRIP=$STRIP
   5584   # Extract the first word of "strip", so it can be a program name with args.
   5585 set dummy strip; ac_word=$2
   5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5587 $as_echo_n "checking for $ac_word... " >&6; }
   5588 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5589   $as_echo_n "(cached) " >&6
   5590 else
   5591   if test -n "$ac_ct_STRIP"; then
   5592   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5593 else
   5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5595 for as_dir in $PATH
   5596 do
   5597   IFS=$as_save_IFS
   5598   test -z "$as_dir" && as_dir=.
   5599     for ac_exec_ext in '' $ac_executable_extensions; do
   5600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5601     ac_cv_prog_ac_ct_STRIP="strip"
   5602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5603     break 2
   5604   fi
   5605 done
   5606   done
   5607 IFS=$as_save_IFS
   5608 
   5609 fi
   5610 fi
   5611 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5612 if test -n "$ac_ct_STRIP"; then
   5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5614 $as_echo "$ac_ct_STRIP" >&6; }
   5615 else
   5616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5617 $as_echo "no" >&6; }
   5618 fi
   5619 
   5620   if test "x$ac_ct_STRIP" = x; then
   5621     STRIP=":"
   5622   else
   5623     case $cross_compiling:$ac_tool_warned in
   5624 yes:)
   5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5627 ac_tool_warned=yes ;;
   5628 esac
   5629     STRIP=$ac_ct_STRIP
   5630   fi
   5631 else
   5632   STRIP="$ac_cv_prog_STRIP"
   5633 fi
   5634 
   5635 test -z "$STRIP" && STRIP=:
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 if test -n "$ac_tool_prefix"; then
   5643   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5644 set dummy ${ac_tool_prefix}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_RANLIB+:} false; then :
   5648   $as_echo_n "(cached) " >&6
   5649 else
   5650   if test -n "$RANLIB"; then
   5651   ac_cv_prog_RANLIB="$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_RANLIB="${ac_tool_prefix}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 RANLIB=$ac_cv_prog_RANLIB
   5671 if test -n "$RANLIB"; then
   5672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5673 $as_echo "$RANLIB" >&6; }
   5674 else
   5675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5676 $as_echo "no" >&6; }
   5677 fi
   5678 
   5679 
   5680 fi
   5681 if test -z "$ac_cv_prog_RANLIB"; then
   5682   ac_ct_RANLIB=$RANLIB
   5683   # Extract the first word of "ranlib", so it can be a program name with args.
   5684 set dummy ranlib; ac_word=$2
   5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5686 $as_echo_n "checking for $ac_word... " >&6; }
   5687 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5688   $as_echo_n "(cached) " >&6
   5689 else
   5690   if test -n "$ac_ct_RANLIB"; then
   5691   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5692 else
   5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5694 for as_dir in $PATH
   5695 do
   5696   IFS=$as_save_IFS
   5697   test -z "$as_dir" && as_dir=.
   5698     for ac_exec_ext in '' $ac_executable_extensions; do
   5699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5700     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5702     break 2
   5703   fi
   5704 done
   5705   done
   5706 IFS=$as_save_IFS
   5707 
   5708 fi
   5709 fi
   5710 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5711 if test -n "$ac_ct_RANLIB"; then
   5712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5713 $as_echo "$ac_ct_RANLIB" >&6; }
   5714 else
   5715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5716 $as_echo "no" >&6; }
   5717 fi
   5718 
   5719   if test "x$ac_ct_RANLIB" = x; then
   5720     RANLIB=":"
   5721   else
   5722     case $cross_compiling:$ac_tool_warned in
   5723 yes:)
   5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5726 ac_tool_warned=yes ;;
   5727 esac
   5728     RANLIB=$ac_ct_RANLIB
   5729   fi
   5730 else
   5731   RANLIB="$ac_cv_prog_RANLIB"
   5732 fi
   5733 
   5734 test -z "$RANLIB" && RANLIB=:
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 # Determine commands to create old-style static archives.
   5742 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5743 old_postinstall_cmds='chmod 644 $oldlib'
   5744 old_postuninstall_cmds=
   5745 
   5746 if test -n "$RANLIB"; then
   5747   case $host_os in
   5748   openbsd*)
   5749     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5750     ;;
   5751   *)
   5752     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5753     ;;
   5754   esac
   5755   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5756 fi
   5757 
   5758 case $host_os in
   5759   darwin*)
   5760     lock_old_archive_extraction=yes ;;
   5761   *)
   5762     lock_old_archive_extraction=no ;;
   5763 esac
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 # If no C compiler was specified, use CC.
   5804 LTCC=${LTCC-"$CC"}
   5805 
   5806 # If no C compiler flags were specified, use CFLAGS.
   5807 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5808 
   5809 # Allow CC to be a program name with arguments.
   5810 compiler=$CC
   5811 
   5812 
   5813 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5815 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5816 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5817   $as_echo_n "(cached) " >&6
   5818 else
   5819 
   5820 # These are sane defaults that work on at least a few old systems.
   5821 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5822 
   5823 # Character class describing NM global symbol codes.
   5824 symcode='[BCDEGRST]'
   5825 
   5826 # Regexp to match symbols that can be accessed directly from C.
   5827 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5828 
   5829 # Define system-specific variables.
   5830 case $host_os in
   5831 aix*)
   5832   symcode='[BCDT]'
   5833   ;;
   5834 cygwin* | mingw* | pw32* | cegcc*)
   5835   symcode='[ABCDGISTW]'
   5836   ;;
   5837 hpux*)
   5838   if test "$host_cpu" = ia64; then
   5839     symcode='[ABCDEGRST]'
   5840   fi
   5841   ;;
   5842 irix* | nonstopux*)
   5843   symcode='[BCDEGRST]'
   5844   ;;
   5845 osf*)
   5846   symcode='[BCDEGQRST]'
   5847   ;;
   5848 solaris*)
   5849   symcode='[BDRT]'
   5850   ;;
   5851 sco3.2v5*)
   5852   symcode='[DT]'
   5853   ;;
   5854 sysv4.2uw2*)
   5855   symcode='[DT]'
   5856   ;;
   5857 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5858   symcode='[ABDT]'
   5859   ;;
   5860 sysv4)
   5861   symcode='[DFNSTU]'
   5862   ;;
   5863 esac
   5864 
   5865 # If we're using GNU nm, then use its standard symbol codes.
   5866 case `$NM -V 2>&1` in
   5867 *GNU* | *'with BFD'*)
   5868   symcode='[ABCDGIRSTW]' ;;
   5869 esac
   5870 
   5871 # Transform an extracted symbol line into a proper C declaration.
   5872 # Some systems (esp. on ia64) link data and code symbols differently,
   5873 # so use this general approach.
   5874 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5875 
   5876 # Transform an extracted symbol line into symbol name and symbol address
   5877 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5878 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'"
   5879 
   5880 # Handle CRLF in mingw tool chain
   5881 opt_cr=
   5882 case $build_os in
   5883 mingw*)
   5884   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5885   ;;
   5886 esac
   5887 
   5888 # Try without a prefix underscore, then with it.
   5889 for ac_symprfx in "" "_"; do
   5890 
   5891   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5892   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5893 
   5894   # Write the raw and C identifiers.
   5895   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5896     # Fake it for dumpbin and say T for any non-static function
   5897     # and D for any global variable.
   5898     # Also find C++ and __fastcall symbols from MSVC++,
   5899     # which start with @ or ?.
   5900     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5901 "     {last_section=section; section=\$ 3};"\
   5902 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5903 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5904 "     \$ 0!~/External *\|/{next};"\
   5905 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5906 "     {if(hide[section]) next};"\
   5907 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5908 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5909 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5910 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5911 "     ' prfx=^$ac_symprfx"
   5912   else
   5913     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5914   fi
   5915   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5916 
   5917   # Check to see that the pipe works correctly.
   5918   pipe_works=no
   5919 
   5920   rm -f conftest*
   5921   cat > conftest.$ac_ext <<_LT_EOF
   5922 #ifdef __cplusplus
   5923 extern "C" {
   5924 #endif
   5925 char nm_test_var;
   5926 void nm_test_func(void);
   5927 void nm_test_func(void){}
   5928 #ifdef __cplusplus
   5929 }
   5930 #endif
   5931 int main(){nm_test_var='a';nm_test_func();return(0);}
   5932 _LT_EOF
   5933 
   5934   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5935   (eval $ac_compile) 2>&5
   5936   ac_status=$?
   5937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5938   test $ac_status = 0; }; then
   5939     # Now try to grab the symbols.
   5940     nlist=conftest.nm
   5941     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5942   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5943   ac_status=$?
   5944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5945   test $ac_status = 0; } && test -s "$nlist"; then
   5946       # Try sorting and uniquifying the output.
   5947       if sort "$nlist" | uniq > "$nlist"T; then
   5948 	mv -f "$nlist"T "$nlist"
   5949       else
   5950 	rm -f "$nlist"T
   5951       fi
   5952 
   5953       # Make sure that we snagged all the symbols we need.
   5954       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5955 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5956 	  cat <<_LT_EOF > conftest.$ac_ext
   5957 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5958 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5959 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5960    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5961 # define LT_DLSYM_CONST
   5962 #elif defined(__osf__)
   5963 /* This system does not cope well with relocations in const data.  */
   5964 # define LT_DLSYM_CONST
   5965 #else
   5966 # define LT_DLSYM_CONST const
   5967 #endif
   5968 
   5969 #ifdef __cplusplus
   5970 extern "C" {
   5971 #endif
   5972 
   5973 _LT_EOF
   5974 	  # Now generate the symbol file.
   5975 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5976 
   5977 	  cat <<_LT_EOF >> conftest.$ac_ext
   5978 
   5979 /* The mapping between symbol names and symbols.  */
   5980 LT_DLSYM_CONST struct {
   5981   const char *name;
   5982   void       *address;
   5983 }
   5984 lt__PROGRAM__LTX_preloaded_symbols[] =
   5985 {
   5986   { "@PROGRAM@", (void *) 0 },
   5987 _LT_EOF
   5988 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5989 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5990   {0, (void *) 0}
   5991 };
   5992 
   5993 /* This works around a problem in FreeBSD linker */
   5994 #ifdef FREEBSD_WORKAROUND
   5995 static const void *lt_preloaded_setup() {
   5996   return lt__PROGRAM__LTX_preloaded_symbols;
   5997 }
   5998 #endif
   5999 
   6000 #ifdef __cplusplus
   6001 }
   6002 #endif
   6003 _LT_EOF
   6004 	  # Now try linking the two files.
   6005 	  mv conftest.$ac_objext conftstm.$ac_objext
   6006 	  lt_globsym_save_LIBS=$LIBS
   6007 	  lt_globsym_save_CFLAGS=$CFLAGS
   6008 	  LIBS="conftstm.$ac_objext"
   6009 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6010 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6011   (eval $ac_link) 2>&5
   6012   ac_status=$?
   6013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6014   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6015 	    pipe_works=yes
   6016 	  fi
   6017 	  LIBS=$lt_globsym_save_LIBS
   6018 	  CFLAGS=$lt_globsym_save_CFLAGS
   6019 	else
   6020 	  echo "cannot find nm_test_func in $nlist" >&5
   6021 	fi
   6022       else
   6023 	echo "cannot find nm_test_var in $nlist" >&5
   6024       fi
   6025     else
   6026       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6027     fi
   6028   else
   6029     echo "$progname: failed program was:" >&5
   6030     cat conftest.$ac_ext >&5
   6031   fi
   6032   rm -rf conftest* conftst*
   6033 
   6034   # Do not use the global_symbol_pipe unless it works.
   6035   if test "$pipe_works" = yes; then
   6036     break
   6037   else
   6038     lt_cv_sys_global_symbol_pipe=
   6039   fi
   6040 done
   6041 
   6042 fi
   6043 
   6044 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6045   lt_cv_sys_global_symbol_to_cdecl=
   6046 fi
   6047 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6049 $as_echo "failed" >&6; }
   6050 else
   6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6052 $as_echo "ok" >&6; }
   6053 fi
   6054 
   6055 # Response file support.
   6056 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6057   nm_file_list_spec='@'
   6058 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6059   nm_file_list_spec='@'
   6060 fi
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6089 $as_echo_n "checking for sysroot... " >&6; }
   6090 
   6091 # Check whether --with-sysroot was given.
   6092 if test "${with_sysroot+set}" = set; then :
   6093   withval=$with_sysroot;
   6094 else
   6095   with_sysroot=no
   6096 fi
   6097 
   6098 
   6099 lt_sysroot=
   6100 case ${with_sysroot} in #(
   6101  yes)
   6102    if test "$GCC" = yes; then
   6103      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6104    fi
   6105    ;; #(
   6106  /*)
   6107    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6108    ;; #(
   6109  no|'')
   6110    ;; #(
   6111  *)
   6112    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6113 $as_echo "${with_sysroot}" >&6; }
   6114    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6115    ;;
   6116 esac
   6117 
   6118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6119 $as_echo "${lt_sysroot:-no}" >&6; }
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 # Check whether --enable-libtool-lock was given.
   6126 if test "${enable_libtool_lock+set}" = set; then :
   6127   enableval=$enable_libtool_lock;
   6128 fi
   6129 
   6130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6131 
   6132 # Some flags need to be propagated to the compiler or linker for good
   6133 # libtool support.
   6134 case $host in
   6135 ia64-*-hpux*)
   6136   # Find out which ABI we are using.
   6137   echo 'int i;' > conftest.$ac_ext
   6138   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6139   (eval $ac_compile) 2>&5
   6140   ac_status=$?
   6141   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6142   test $ac_status = 0; }; then
   6143     case `/usr/bin/file conftest.$ac_objext` in
   6144       *ELF-32*)
   6145 	HPUX_IA64_MODE="32"
   6146 	;;
   6147       *ELF-64*)
   6148 	HPUX_IA64_MODE="64"
   6149 	;;
   6150     esac
   6151   fi
   6152   rm -rf conftest*
   6153   ;;
   6154 *-*-irix6*)
   6155   # Find out which ABI we are using.
   6156   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6157   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6158   (eval $ac_compile) 2>&5
   6159   ac_status=$?
   6160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6161   test $ac_status = 0; }; then
   6162     if test "$lt_cv_prog_gnu_ld" = yes; then
   6163       case `/usr/bin/file conftest.$ac_objext` in
   6164 	*32-bit*)
   6165 	  LD="${LD-ld} -melf32bsmip"
   6166 	  ;;
   6167 	*N32*)
   6168 	  LD="${LD-ld} -melf32bmipn32"
   6169 	  ;;
   6170 	*64-bit*)
   6171 	  LD="${LD-ld} -melf64bmip"
   6172 	;;
   6173       esac
   6174     else
   6175       case `/usr/bin/file conftest.$ac_objext` in
   6176 	*32-bit*)
   6177 	  LD="${LD-ld} -32"
   6178 	  ;;
   6179 	*N32*)
   6180 	  LD="${LD-ld} -n32"
   6181 	  ;;
   6182 	*64-bit*)
   6183 	  LD="${LD-ld} -64"
   6184 	  ;;
   6185       esac
   6186     fi
   6187   fi
   6188   rm -rf conftest*
   6189   ;;
   6190 
   6191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6193   # Find out which ABI we are using.
   6194   echo 'int i;' > conftest.$ac_ext
   6195   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6196   (eval $ac_compile) 2>&5
   6197   ac_status=$?
   6198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6199   test $ac_status = 0; }; then
   6200     case `/usr/bin/file conftest.o` in
   6201       *32-bit*)
   6202 	case $host in
   6203 	  x86_64-*kfreebsd*-gnu)
   6204 	    LD="${LD-ld} -m elf_i386_fbsd"
   6205 	    ;;
   6206 	  x86_64-*linux*)
   6207 	    LD="${LD-ld} -m elf_i386"
   6208 	    ;;
   6209 	  ppc64-*linux*|powerpc64-*linux*)
   6210 	    LD="${LD-ld} -m elf32ppclinux"
   6211 	    ;;
   6212 	  s390x-*linux*)
   6213 	    LD="${LD-ld} -m elf_s390"
   6214 	    ;;
   6215 	  sparc64-*linux*)
   6216 	    LD="${LD-ld} -m elf32_sparc"
   6217 	    ;;
   6218 	esac
   6219 	;;
   6220       *64-bit*)
   6221 	case $host in
   6222 	  x86_64-*kfreebsd*-gnu)
   6223 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6224 	    ;;
   6225 	  x86_64-*linux*)
   6226 	    LD="${LD-ld} -m elf_x86_64"
   6227 	    ;;
   6228 	  ppc*-*linux*|powerpc*-*linux*)
   6229 	    LD="${LD-ld} -m elf64ppc"
   6230 	    ;;
   6231 	  s390*-*linux*|s390*-*tpf*)
   6232 	    LD="${LD-ld} -m elf64_s390"
   6233 	    ;;
   6234 	  sparc*-*linux*)
   6235 	    LD="${LD-ld} -m elf64_sparc"
   6236 	    ;;
   6237 	esac
   6238 	;;
   6239     esac
   6240   fi
   6241   rm -rf conftest*
   6242   ;;
   6243 
   6244 *-*-sco3.2v5*)
   6245   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6246   SAVE_CFLAGS="$CFLAGS"
   6247   CFLAGS="$CFLAGS -belf"
   6248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6249 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6250 if ${lt_cv_cc_needs_belf+:} false; then :
   6251   $as_echo_n "(cached) " >&6
   6252 else
   6253   ac_ext=c
   6254 ac_cpp='$CPP $CPPFLAGS'
   6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6258 
   6259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6260 /* end confdefs.h.  */
   6261 
   6262 int
   6263 main ()
   6264 {
   6265 
   6266   ;
   6267   return 0;
   6268 }
   6269 _ACEOF
   6270 if ac_fn_c_try_link "$LINENO"; then :
   6271   lt_cv_cc_needs_belf=yes
   6272 else
   6273   lt_cv_cc_needs_belf=no
   6274 fi
   6275 rm -f core conftest.err conftest.$ac_objext \
   6276     conftest$ac_exeext conftest.$ac_ext
   6277      ac_ext=c
   6278 ac_cpp='$CPP $CPPFLAGS'
   6279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6282 
   6283 fi
   6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6285 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6286   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6287     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6288     CFLAGS="$SAVE_CFLAGS"
   6289   fi
   6290   ;;
   6291 *-*solaris*)
   6292   # Find out which ABI we are using.
   6293   echo 'int i;' > conftest.$ac_ext
   6294   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6295   (eval $ac_compile) 2>&5
   6296   ac_status=$?
   6297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6298   test $ac_status = 0; }; then
   6299     case `/usr/bin/file conftest.o` in
   6300     *64-bit*)
   6301       case $lt_cv_prog_gnu_ld in
   6302       yes*)
   6303         case $host in
   6304         i?86-*-solaris*)
   6305           LD="${LD-ld} -m elf_x86_64"
   6306           ;;
   6307         sparc*-*-solaris*)
   6308           LD="${LD-ld} -m elf64_sparc"
   6309           ;;
   6310         esac
   6311         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6312         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6313           LD="${LD-ld}_sol2"
   6314         fi
   6315         ;;
   6316       *)
   6317 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6318 	  LD="${LD-ld} -64"
   6319 	fi
   6320 	;;
   6321       esac
   6322       ;;
   6323     esac
   6324   fi
   6325   rm -rf conftest*
   6326   ;;
   6327 esac
   6328 
   6329 need_locks="$enable_libtool_lock"
   6330 
   6331 if test -n "$ac_tool_prefix"; then
   6332   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6333 set dummy ${ac_tool_prefix}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_MANIFEST_TOOL+:} false; then :
   6337   $as_echo_n "(cached) " >&6
   6338 else
   6339   if test -n "$MANIFEST_TOOL"; then
   6340   ac_cv_prog_MANIFEST_TOOL="$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_MANIFEST_TOOL="${ac_tool_prefix}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 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6360 if test -n "$MANIFEST_TOOL"; then
   6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6362 $as_echo "$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 
   6369 fi
   6370 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6371   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6372   # Extract the first word of "mt", so it can be a program name with args.
   6373 set dummy mt; ac_word=$2
   6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6375 $as_echo_n "checking for $ac_word... " >&6; }
   6376 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6377   $as_echo_n "(cached) " >&6
   6378 else
   6379   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6380   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6381 else
   6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6383 for as_dir in $PATH
   6384 do
   6385   IFS=$as_save_IFS
   6386   test -z "$as_dir" && as_dir=.
   6387     for ac_exec_ext in '' $ac_executable_extensions; do
   6388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6389     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6391     break 2
   6392   fi
   6393 done
   6394   done
   6395 IFS=$as_save_IFS
   6396 
   6397 fi
   6398 fi
   6399 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6400 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6402 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6403 else
   6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6405 $as_echo "no" >&6; }
   6406 fi
   6407 
   6408   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6409     MANIFEST_TOOL=":"
   6410   else
   6411     case $cross_compiling:$ac_tool_warned in
   6412 yes:)
   6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6415 ac_tool_warned=yes ;;
   6416 esac
   6417     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6418   fi
   6419 else
   6420   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6421 fi
   6422 
   6423 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6425 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6426 if ${lt_cv_path_mainfest_tool+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   lt_cv_path_mainfest_tool=no
   6430   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6431   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6432   cat conftest.err >&5
   6433   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6434     lt_cv_path_mainfest_tool=yes
   6435   fi
   6436   rm -f conftest*
   6437 fi
   6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6439 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6440 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6441   MANIFEST_TOOL=:
   6442 fi
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449   case $host_os in
   6450     rhapsody* | darwin*)
   6451     if test -n "$ac_tool_prefix"; then
   6452   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6453 set dummy ${ac_tool_prefix}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_DSYMUTIL+:} false; then :
   6457   $as_echo_n "(cached) " >&6
   6458 else
   6459   if test -n "$DSYMUTIL"; then
   6460   ac_cv_prog_DSYMUTIL="$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_DSYMUTIL="${ac_tool_prefix}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 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6480 if test -n "$DSYMUTIL"; then
   6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6482 $as_echo "$DSYMUTIL" >&6; }
   6483 else
   6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6485 $as_echo "no" >&6; }
   6486 fi
   6487 
   6488 
   6489 fi
   6490 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6491   ac_ct_DSYMUTIL=$DSYMUTIL
   6492   # Extract the first word of "dsymutil", so it can be a program name with args.
   6493 set dummy dsymutil; ac_word=$2
   6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6495 $as_echo_n "checking for $ac_word... " >&6; }
   6496 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6497   $as_echo_n "(cached) " >&6
   6498 else
   6499   if test -n "$ac_ct_DSYMUTIL"; then
   6500   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6501 else
   6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6503 for as_dir in $PATH
   6504 do
   6505   IFS=$as_save_IFS
   6506   test -z "$as_dir" && as_dir=.
   6507     for ac_exec_ext in '' $ac_executable_extensions; do
   6508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6509     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6511     break 2
   6512   fi
   6513 done
   6514   done
   6515 IFS=$as_save_IFS
   6516 
   6517 fi
   6518 fi
   6519 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6520 if test -n "$ac_ct_DSYMUTIL"; then
   6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6522 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6523 else
   6524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6525 $as_echo "no" >&6; }
   6526 fi
   6527 
   6528   if test "x$ac_ct_DSYMUTIL" = x; then
   6529     DSYMUTIL=":"
   6530   else
   6531     case $cross_compiling:$ac_tool_warned in
   6532 yes:)
   6533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6535 ac_tool_warned=yes ;;
   6536 esac
   6537     DSYMUTIL=$ac_ct_DSYMUTIL
   6538   fi
   6539 else
   6540   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6541 fi
   6542 
   6543     if test -n "$ac_tool_prefix"; then
   6544   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6545 set dummy ${ac_tool_prefix}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_NMEDIT+:} false; then :
   6549   $as_echo_n "(cached) " >&6
   6550 else
   6551   if test -n "$NMEDIT"; then
   6552   ac_cv_prog_NMEDIT="$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_NMEDIT="${ac_tool_prefix}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 NMEDIT=$ac_cv_prog_NMEDIT
   6572 if test -n "$NMEDIT"; then
   6573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6574 $as_echo "$NMEDIT" >&6; }
   6575 else
   6576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6577 $as_echo "no" >&6; }
   6578 fi
   6579 
   6580 
   6581 fi
   6582 if test -z "$ac_cv_prog_NMEDIT"; then
   6583   ac_ct_NMEDIT=$NMEDIT
   6584   # Extract the first word of "nmedit", so it can be a program name with args.
   6585 set dummy nmedit; ac_word=$2
   6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6587 $as_echo_n "checking for $ac_word... " >&6; }
   6588 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6589   $as_echo_n "(cached) " >&6
   6590 else
   6591   if test -n "$ac_ct_NMEDIT"; then
   6592   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6593 else
   6594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6595 for as_dir in $PATH
   6596 do
   6597   IFS=$as_save_IFS
   6598   test -z "$as_dir" && as_dir=.
   6599     for ac_exec_ext in '' $ac_executable_extensions; do
   6600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6601     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6603     break 2
   6604   fi
   6605 done
   6606   done
   6607 IFS=$as_save_IFS
   6608 
   6609 fi
   6610 fi
   6611 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6612 if test -n "$ac_ct_NMEDIT"; then
   6613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6614 $as_echo "$ac_ct_NMEDIT" >&6; }
   6615 else
   6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6617 $as_echo "no" >&6; }
   6618 fi
   6619 
   6620   if test "x$ac_ct_NMEDIT" = x; then
   6621     NMEDIT=":"
   6622   else
   6623     case $cross_compiling:$ac_tool_warned in
   6624 yes:)
   6625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6627 ac_tool_warned=yes ;;
   6628 esac
   6629     NMEDIT=$ac_ct_NMEDIT
   6630   fi
   6631 else
   6632   NMEDIT="$ac_cv_prog_NMEDIT"
   6633 fi
   6634 
   6635     if test -n "$ac_tool_prefix"; then
   6636   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6637 set dummy ${ac_tool_prefix}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_LIPO+:} false; then :
   6641   $as_echo_n "(cached) " >&6
   6642 else
   6643   if test -n "$LIPO"; then
   6644   ac_cv_prog_LIPO="$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_LIPO="${ac_tool_prefix}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 LIPO=$ac_cv_prog_LIPO
   6664 if test -n "$LIPO"; then
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6666 $as_echo "$LIPO" >&6; }
   6667 else
   6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6669 $as_echo "no" >&6; }
   6670 fi
   6671 
   6672 
   6673 fi
   6674 if test -z "$ac_cv_prog_LIPO"; then
   6675   ac_ct_LIPO=$LIPO
   6676   # Extract the first word of "lipo", so it can be a program name with args.
   6677 set dummy lipo; ac_word=$2
   6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6679 $as_echo_n "checking for $ac_word... " >&6; }
   6680 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6681   $as_echo_n "(cached) " >&6
   6682 else
   6683   if test -n "$ac_ct_LIPO"; then
   6684   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6685 else
   6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6687 for as_dir in $PATH
   6688 do
   6689   IFS=$as_save_IFS
   6690   test -z "$as_dir" && as_dir=.
   6691     for ac_exec_ext in '' $ac_executable_extensions; do
   6692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6693     ac_cv_prog_ac_ct_LIPO="lipo"
   6694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6695     break 2
   6696   fi
   6697 done
   6698   done
   6699 IFS=$as_save_IFS
   6700 
   6701 fi
   6702 fi
   6703 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6704 if test -n "$ac_ct_LIPO"; then
   6705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6706 $as_echo "$ac_ct_LIPO" >&6; }
   6707 else
   6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6709 $as_echo "no" >&6; }
   6710 fi
   6711 
   6712   if test "x$ac_ct_LIPO" = x; then
   6713     LIPO=":"
   6714   else
   6715     case $cross_compiling:$ac_tool_warned in
   6716 yes:)
   6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6719 ac_tool_warned=yes ;;
   6720 esac
   6721     LIPO=$ac_ct_LIPO
   6722   fi
   6723 else
   6724   LIPO="$ac_cv_prog_LIPO"
   6725 fi
   6726 
   6727     if test -n "$ac_tool_prefix"; then
   6728   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6729 set dummy ${ac_tool_prefix}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_OTOOL+:} false; then :
   6733   $as_echo_n "(cached) " >&6
   6734 else
   6735   if test -n "$OTOOL"; then
   6736   ac_cv_prog_OTOOL="$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_OTOOL="${ac_tool_prefix}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 OTOOL=$ac_cv_prog_OTOOL
   6756 if test -n "$OTOOL"; then
   6757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6758 $as_echo "$OTOOL" >&6; }
   6759 else
   6760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6761 $as_echo "no" >&6; }
   6762 fi
   6763 
   6764 
   6765 fi
   6766 if test -z "$ac_cv_prog_OTOOL"; then
   6767   ac_ct_OTOOL=$OTOOL
   6768   # Extract the first word of "otool", so it can be a program name with args.
   6769 set dummy otool; ac_word=$2
   6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6771 $as_echo_n "checking for $ac_word... " >&6; }
   6772 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6773   $as_echo_n "(cached) " >&6
   6774 else
   6775   if test -n "$ac_ct_OTOOL"; then
   6776   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6777 else
   6778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6779 for as_dir in $PATH
   6780 do
   6781   IFS=$as_save_IFS
   6782   test -z "$as_dir" && as_dir=.
   6783     for ac_exec_ext in '' $ac_executable_extensions; do
   6784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6785     ac_cv_prog_ac_ct_OTOOL="otool"
   6786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6787     break 2
   6788   fi
   6789 done
   6790   done
   6791 IFS=$as_save_IFS
   6792 
   6793 fi
   6794 fi
   6795 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6796 if test -n "$ac_ct_OTOOL"; then
   6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6798 $as_echo "$ac_ct_OTOOL" >&6; }
   6799 else
   6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6801 $as_echo "no" >&6; }
   6802 fi
   6803 
   6804   if test "x$ac_ct_OTOOL" = x; then
   6805     OTOOL=":"
   6806   else
   6807     case $cross_compiling:$ac_tool_warned in
   6808 yes:)
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6811 ac_tool_warned=yes ;;
   6812 esac
   6813     OTOOL=$ac_ct_OTOOL
   6814   fi
   6815 else
   6816   OTOOL="$ac_cv_prog_OTOOL"
   6817 fi
   6818 
   6819     if test -n "$ac_tool_prefix"; then
   6820   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6821 set dummy ${ac_tool_prefix}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_OTOOL64+:} false; then :
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   if test -n "$OTOOL64"; then
   6828   ac_cv_prog_OTOOL64="$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_OTOOL64="${ac_tool_prefix}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 OTOOL64=$ac_cv_prog_OTOOL64
   6848 if test -n "$OTOOL64"; then
   6849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6850 $as_echo "$OTOOL64" >&6; }
   6851 else
   6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6853 $as_echo "no" >&6; }
   6854 fi
   6855 
   6856 
   6857 fi
   6858 if test -z "$ac_cv_prog_OTOOL64"; then
   6859   ac_ct_OTOOL64=$OTOOL64
   6860   # Extract the first word of "otool64", so it can be a program name with args.
   6861 set dummy otool64; ac_word=$2
   6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6863 $as_echo_n "checking for $ac_word... " >&6; }
   6864 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6865   $as_echo_n "(cached) " >&6
   6866 else
   6867   if test -n "$ac_ct_OTOOL64"; then
   6868   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6869 else
   6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6871 for as_dir in $PATH
   6872 do
   6873   IFS=$as_save_IFS
   6874   test -z "$as_dir" && as_dir=.
   6875     for ac_exec_ext in '' $ac_executable_extensions; do
   6876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6877     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6879     break 2
   6880   fi
   6881 done
   6882   done
   6883 IFS=$as_save_IFS
   6884 
   6885 fi
   6886 fi
   6887 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6888 if test -n "$ac_ct_OTOOL64"; then
   6889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6890 $as_echo "$ac_ct_OTOOL64" >&6; }
   6891 else
   6892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6893 $as_echo "no" >&6; }
   6894 fi
   6895 
   6896   if test "x$ac_ct_OTOOL64" = x; then
   6897     OTOOL64=":"
   6898   else
   6899     case $cross_compiling:$ac_tool_warned in
   6900 yes:)
   6901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6903 ac_tool_warned=yes ;;
   6904 esac
   6905     OTOOL64=$ac_ct_OTOOL64
   6906   fi
   6907 else
   6908   OTOOL64="$ac_cv_prog_OTOOL64"
   6909 fi
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6938 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6939 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6940   $as_echo_n "(cached) " >&6
   6941 else
   6942   lt_cv_apple_cc_single_mod=no
   6943       if test -z "${LT_MULTI_MODULE}"; then
   6944 	# By default we will add the -single_module flag. You can override
   6945 	# by either setting the environment variable LT_MULTI_MODULE
   6946 	# non-empty at configure time, or by adding -multi_module to the
   6947 	# link flags.
   6948 	rm -rf libconftest.dylib*
   6949 	echo "int foo(void){return 1;}" > conftest.c
   6950 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6951 -dynamiclib -Wl,-single_module conftest.c" >&5
   6952 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6953 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6954         _lt_result=$?
   6955 	# If there is a non-empty error log, and "single_module"
   6956 	# appears in it, assume the flag caused a linker warning
   6957         if test -s conftest.err && $GREP single_module conftest.err; then
   6958 	  cat conftest.err >&5
   6959 	# Otherwise, if the output was created with a 0 exit code from
   6960 	# the compiler, it worked.
   6961 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6962 	  lt_cv_apple_cc_single_mod=yes
   6963 	else
   6964 	  cat conftest.err >&5
   6965 	fi
   6966 	rm -rf libconftest.dylib*
   6967 	rm -f conftest.*
   6968       fi
   6969 fi
   6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6971 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6972 
   6973     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6974 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6975 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6976   $as_echo_n "(cached) " >&6
   6977 else
   6978   lt_cv_ld_exported_symbols_list=no
   6979       save_LDFLAGS=$LDFLAGS
   6980       echo "_main" > conftest.sym
   6981       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6983 /* end confdefs.h.  */
   6984 
   6985 int
   6986 main ()
   6987 {
   6988 
   6989   ;
   6990   return 0;
   6991 }
   6992 _ACEOF
   6993 if ac_fn_c_try_link "$LINENO"; then :
   6994   lt_cv_ld_exported_symbols_list=yes
   6995 else
   6996   lt_cv_ld_exported_symbols_list=no
   6997 fi
   6998 rm -f core conftest.err conftest.$ac_objext \
   6999     conftest$ac_exeext conftest.$ac_ext
   7000 	LDFLAGS="$save_LDFLAGS"
   7001 
   7002 fi
   7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7004 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7005 
   7006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7007 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7008 if ${lt_cv_ld_force_load+:} false; then :
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   lt_cv_ld_force_load=no
   7012       cat > conftest.c << _LT_EOF
   7013 int forced_loaded() { return 2;}
   7014 _LT_EOF
   7015       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7016       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7017       echo "$AR cru libconftest.a conftest.o" >&5
   7018       $AR cru libconftest.a conftest.o 2>&5
   7019       echo "$RANLIB libconftest.a" >&5
   7020       $RANLIB libconftest.a 2>&5
   7021       cat > conftest.c << _LT_EOF
   7022 int main() { return 0;}
   7023 _LT_EOF
   7024       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7025       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7026       _lt_result=$?
   7027       if test -s conftest.err && $GREP force_load conftest.err; then
   7028 	cat conftest.err >&5
   7029       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7030 	lt_cv_ld_force_load=yes
   7031       else
   7032 	cat conftest.err >&5
   7033       fi
   7034         rm -f conftest.err libconftest.a conftest conftest.c
   7035         rm -rf conftest.dSYM
   7036 
   7037 fi
   7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7039 $as_echo "$lt_cv_ld_force_load" >&6; }
   7040     case $host_os in
   7041     rhapsody* | darwin1.[012])
   7042       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7043     darwin1.*)
   7044       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7045     darwin*) # darwin 5.x on
   7046       # if running on 10.5 or later, the deployment target defaults
   7047       # to the OS version, if on x86, and 10.4, the deployment
   7048       # target defaults to 10.4. Don't you love it?
   7049       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7050 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7051 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7052 	10.[012]*)
   7053 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7054 	10.*)
   7055 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7056       esac
   7057     ;;
   7058   esac
   7059     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7060       _lt_dar_single_mod='$single_module'
   7061     fi
   7062     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7063       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7064     else
   7065       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7066     fi
   7067     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7068       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7069     else
   7070       _lt_dsymutil=
   7071     fi
   7072     ;;
   7073   esac
   7074 
   7075 ac_ext=c
   7076 ac_cpp='$CPP $CPPFLAGS'
   7077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7081 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7082 # On Suns, sometimes $CPP names a directory.
   7083 if test -n "$CPP" && test -d "$CPP"; then
   7084   CPP=
   7085 fi
   7086 if test -z "$CPP"; then
   7087   if ${ac_cv_prog_CPP+:} false; then :
   7088   $as_echo_n "(cached) " >&6
   7089 else
   7090       # Double quotes because CPP needs to be expanded
   7091     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7092     do
   7093       ac_preproc_ok=false
   7094 for ac_c_preproc_warn_flag in '' yes
   7095 do
   7096   # Use a header file that comes with gcc, so configuring glibc
   7097   # with a fresh cross-compiler works.
   7098   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7099   # <limits.h> exists even on freestanding compilers.
   7100   # On the NeXT, cc -E runs the code through the compiler's parser,
   7101   # not just through cpp. "Syntax error" is here to catch this case.
   7102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7103 /* end confdefs.h.  */
   7104 #ifdef __STDC__
   7105 # include <limits.h>
   7106 #else
   7107 # include <assert.h>
   7108 #endif
   7109 		     Syntax error
   7110 _ACEOF
   7111 if ac_fn_c_try_cpp "$LINENO"; then :
   7112 
   7113 else
   7114   # Broken: fails on valid input.
   7115 continue
   7116 fi
   7117 rm -f conftest.err conftest.i conftest.$ac_ext
   7118 
   7119   # OK, works on sane cases.  Now check whether nonexistent headers
   7120   # can be detected and how.
   7121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7122 /* end confdefs.h.  */
   7123 #include <ac_nonexistent.h>
   7124 _ACEOF
   7125 if ac_fn_c_try_cpp "$LINENO"; then :
   7126   # Broken: success on invalid input.
   7127 continue
   7128 else
   7129   # Passes both tests.
   7130 ac_preproc_ok=:
   7131 break
   7132 fi
   7133 rm -f conftest.err conftest.i conftest.$ac_ext
   7134 
   7135 done
   7136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7137 rm -f conftest.i conftest.err conftest.$ac_ext
   7138 if $ac_preproc_ok; then :
   7139   break
   7140 fi
   7141 
   7142     done
   7143     ac_cv_prog_CPP=$CPP
   7144 
   7145 fi
   7146   CPP=$ac_cv_prog_CPP
   7147 else
   7148   ac_cv_prog_CPP=$CPP
   7149 fi
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7151 $as_echo "$CPP" >&6; }
   7152 ac_preproc_ok=false
   7153 for ac_c_preproc_warn_flag in '' yes
   7154 do
   7155   # Use a header file that comes with gcc, so configuring glibc
   7156   # with a fresh cross-compiler works.
   7157   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7158   # <limits.h> exists even on freestanding compilers.
   7159   # On the NeXT, cc -E runs the code through the compiler's parser,
   7160   # not just through cpp. "Syntax error" is here to catch this case.
   7161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7162 /* end confdefs.h.  */
   7163 #ifdef __STDC__
   7164 # include <limits.h>
   7165 #else
   7166 # include <assert.h>
   7167 #endif
   7168 		     Syntax error
   7169 _ACEOF
   7170 if ac_fn_c_try_cpp "$LINENO"; then :
   7171 
   7172 else
   7173   # Broken: fails on valid input.
   7174 continue
   7175 fi
   7176 rm -f conftest.err conftest.i conftest.$ac_ext
   7177 
   7178   # OK, works on sane cases.  Now check whether nonexistent headers
   7179   # can be detected and how.
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 #include <ac_nonexistent.h>
   7183 _ACEOF
   7184 if ac_fn_c_try_cpp "$LINENO"; then :
   7185   # Broken: success on invalid input.
   7186 continue
   7187 else
   7188   # Passes both tests.
   7189 ac_preproc_ok=:
   7190 break
   7191 fi
   7192 rm -f conftest.err conftest.i conftest.$ac_ext
   7193 
   7194 done
   7195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7196 rm -f conftest.i conftest.err conftest.$ac_ext
   7197 if $ac_preproc_ok; then :
   7198 
   7199 else
   7200   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7202 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7203 See \`config.log' for more details" "$LINENO" 5; }
   7204 fi
   7205 
   7206 ac_ext=c
   7207 ac_cpp='$CPP $CPPFLAGS'
   7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7211 
   7212 
   7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7214 $as_echo_n "checking for ANSI C header files... " >&6; }
   7215 if ${ac_cv_header_stdc+:} false; then :
   7216   $as_echo_n "(cached) " >&6
   7217 else
   7218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7219 /* end confdefs.h.  */
   7220 #include <stdlib.h>
   7221 #include <stdarg.h>
   7222 #include <string.h>
   7223 #include <float.h>
   7224 
   7225 int
   7226 main ()
   7227 {
   7228 
   7229   ;
   7230   return 0;
   7231 }
   7232 _ACEOF
   7233 if ac_fn_c_try_compile "$LINENO"; then :
   7234   ac_cv_header_stdc=yes
   7235 else
   7236   ac_cv_header_stdc=no
   7237 fi
   7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7239 
   7240 if test $ac_cv_header_stdc = yes; then
   7241   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7243 /* end confdefs.h.  */
   7244 #include <string.h>
   7245 
   7246 _ACEOF
   7247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7248   $EGREP "memchr" >/dev/null 2>&1; then :
   7249 
   7250 else
   7251   ac_cv_header_stdc=no
   7252 fi
   7253 rm -f conftest*
   7254 
   7255 fi
   7256 
   7257 if test $ac_cv_header_stdc = yes; then
   7258   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 #include <stdlib.h>
   7262 
   7263 _ACEOF
   7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7265   $EGREP "free" >/dev/null 2>&1; then :
   7266 
   7267 else
   7268   ac_cv_header_stdc=no
   7269 fi
   7270 rm -f conftest*
   7271 
   7272 fi
   7273 
   7274 if test $ac_cv_header_stdc = yes; then
   7275   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7276   if test "$cross_compiling" = yes; then :
   7277   :
   7278 else
   7279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7280 /* end confdefs.h.  */
   7281 #include <ctype.h>
   7282 #include <stdlib.h>
   7283 #if ((' ' & 0x0FF) == 0x020)
   7284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7286 #else
   7287 # define ISLOWER(c) \
   7288 		   (('a' <= (c) && (c) <= 'i') \
   7289 		     || ('j' <= (c) && (c) <= 'r') \
   7290 		     || ('s' <= (c) && (c) <= 'z'))
   7291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7292 #endif
   7293 
   7294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7295 int
   7296 main ()
   7297 {
   7298   int i;
   7299   for (i = 0; i < 256; i++)
   7300     if (XOR (islower (i), ISLOWER (i))
   7301 	|| toupper (i) != TOUPPER (i))
   7302       return 2;
   7303   return 0;
   7304 }
   7305 _ACEOF
   7306 if ac_fn_c_try_run "$LINENO"; then :
   7307 
   7308 else
   7309   ac_cv_header_stdc=no
   7310 fi
   7311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7312   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7313 fi
   7314 
   7315 fi
   7316 fi
   7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7318 $as_echo "$ac_cv_header_stdc" >&6; }
   7319 if test $ac_cv_header_stdc = yes; then
   7320 
   7321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7322 
   7323 fi
   7324 
   7325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7326 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7327 		  inttypes.h stdint.h unistd.h
   7328 do :
   7329   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7330 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7331 "
   7332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7333   cat >>confdefs.h <<_ACEOF
   7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7335 _ACEOF
   7336 
   7337 fi
   7338 
   7339 done
   7340 
   7341 
   7342 for ac_header in dlfcn.h
   7343 do :
   7344   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7345 "
   7346 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7347   cat >>confdefs.h <<_ACEOF
   7348 #define HAVE_DLFCN_H 1
   7349 _ACEOF
   7350 
   7351 fi
   7352 
   7353 done
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 # Set options
   7360 
   7361 
   7362 
   7363         enable_dlopen=no
   7364 
   7365 
   7366   enable_win32_dll=no
   7367 
   7368 
   7369             # Check whether --enable-shared was given.
   7370 if test "${enable_shared+set}" = set; then :
   7371   enableval=$enable_shared; p=${PACKAGE-default}
   7372     case $enableval in
   7373     yes) enable_shared=yes ;;
   7374     no) enable_shared=no ;;
   7375     *)
   7376       enable_shared=no
   7377       # Look at the argument we got.  We use all the common list separators.
   7378       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7379       for pkg in $enableval; do
   7380 	IFS="$lt_save_ifs"
   7381 	if test "X$pkg" = "X$p"; then
   7382 	  enable_shared=yes
   7383 	fi
   7384       done
   7385       IFS="$lt_save_ifs"
   7386       ;;
   7387     esac
   7388 else
   7389   enable_shared=yes
   7390 fi
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400   # Check whether --enable-static was given.
   7401 if test "${enable_static+set}" = set; then :
   7402   enableval=$enable_static; p=${PACKAGE-default}
   7403     case $enableval in
   7404     yes) enable_static=yes ;;
   7405     no) enable_static=no ;;
   7406     *)
   7407      enable_static=no
   7408       # Look at the argument we got.  We use all the common list separators.
   7409       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7410       for pkg in $enableval; do
   7411 	IFS="$lt_save_ifs"
   7412 	if test "X$pkg" = "X$p"; then
   7413 	  enable_static=yes
   7414 	fi
   7415       done
   7416       IFS="$lt_save_ifs"
   7417       ;;
   7418     esac
   7419 else
   7420   enable_static=yes
   7421 fi
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 # Check whether --with-pic was given.
   7433 if test "${with_pic+set}" = set; then :
   7434   withval=$with_pic; lt_p=${PACKAGE-default}
   7435     case $withval in
   7436     yes|no) pic_mode=$withval ;;
   7437     *)
   7438       pic_mode=default
   7439       # Look at the argument we got.  We use all the common list separators.
   7440       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7441       for lt_pkg in $withval; do
   7442 	IFS="$lt_save_ifs"
   7443 	if test "X$lt_pkg" = "X$lt_p"; then
   7444 	  pic_mode=yes
   7445 	fi
   7446       done
   7447       IFS="$lt_save_ifs"
   7448       ;;
   7449     esac
   7450 else
   7451   pic_mode=default
   7452 fi
   7453 
   7454 
   7455 test -z "$pic_mode" && pic_mode=default
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463   # Check whether --enable-fast-install was given.
   7464 if test "${enable_fast_install+set}" = set; then :
   7465   enableval=$enable_fast_install; p=${PACKAGE-default}
   7466     case $enableval in
   7467     yes) enable_fast_install=yes ;;
   7468     no) enable_fast_install=no ;;
   7469     *)
   7470       enable_fast_install=no
   7471       # Look at the argument we got.  We use all the common list separators.
   7472       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7473       for pkg in $enableval; do
   7474 	IFS="$lt_save_ifs"
   7475 	if test "X$pkg" = "X$p"; then
   7476 	  enable_fast_install=yes
   7477 	fi
   7478       done
   7479       IFS="$lt_save_ifs"
   7480       ;;
   7481     esac
   7482 else
   7483   enable_fast_install=yes
   7484 fi
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 # This can be used to rebuild libtool when needed
   7497 LIBTOOL_DEPS="$ltmain"
   7498 
   7499 # Always use our own libtool.
   7500 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 test -z "$LN_S" && LN_S="ln -s"
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 if test -n "${ZSH_VERSION+set}" ; then
   7547    setopt NO_GLOB_SUBST
   7548 fi
   7549 
   7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7551 $as_echo_n "checking for objdir... " >&6; }
   7552 if ${lt_cv_objdir+:} false; then :
   7553   $as_echo_n "(cached) " >&6
   7554 else
   7555   rm -f .libs 2>/dev/null
   7556 mkdir .libs 2>/dev/null
   7557 if test -d .libs; then
   7558   lt_cv_objdir=.libs
   7559 else
   7560   # MS-DOS does not allow filenames that begin with a dot.
   7561   lt_cv_objdir=_libs
   7562 fi
   7563 rmdir .libs 2>/dev/null
   7564 fi
   7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7566 $as_echo "$lt_cv_objdir" >&6; }
   7567 objdir=$lt_cv_objdir
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 cat >>confdefs.h <<_ACEOF
   7574 #define LT_OBJDIR "$lt_cv_objdir/"
   7575 _ACEOF
   7576 
   7577 
   7578 
   7579 
   7580 case $host_os in
   7581 aix3*)
   7582   # AIX sometimes has problems with the GCC collect2 program.  For some
   7583   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7584   # vanish in a puff of smoke.
   7585   if test "X${COLLECT_NAMES+set}" != Xset; then
   7586     COLLECT_NAMES=
   7587     export COLLECT_NAMES
   7588   fi
   7589   ;;
   7590 esac
   7591 
   7592 # Global variables:
   7593 ofile=libtool
   7594 can_build_shared=yes
   7595 
   7596 # All known linkers require a `.a' archive for static linking (except MSVC,
   7597 # which needs '.lib').
   7598 libext=a
   7599 
   7600 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7601 
   7602 old_CC="$CC"
   7603 old_CFLAGS="$CFLAGS"
   7604 
   7605 # Set sane defaults for various variables
   7606 test -z "$CC" && CC=cc
   7607 test -z "$LTCC" && LTCC=$CC
   7608 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7609 test -z "$LD" && LD=ld
   7610 test -z "$ac_objext" && ac_objext=o
   7611 
   7612 for cc_temp in $compiler""; do
   7613   case $cc_temp in
   7614     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7615     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7616     \-*) ;;
   7617     *) break;;
   7618   esac
   7619 done
   7620 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7621 
   7622 
   7623 # Only perform the check for file, if the check method requires it
   7624 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7625 case $deplibs_check_method in
   7626 file_magic*)
   7627   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7629 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7630 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7631   $as_echo_n "(cached) " >&6
   7632 else
   7633   case $MAGIC_CMD in
   7634 [\\/*] |  ?:[\\/]*)
   7635   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7636   ;;
   7637 *)
   7638   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7639   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7640   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7641   for ac_dir in $ac_dummy; do
   7642     IFS="$lt_save_ifs"
   7643     test -z "$ac_dir" && ac_dir=.
   7644     if test -f $ac_dir/${ac_tool_prefix}file; then
   7645       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7646       if test -n "$file_magic_test_file"; then
   7647 	case $deplibs_check_method in
   7648 	"file_magic "*)
   7649 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7650 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7651 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7652 	    $EGREP "$file_magic_regex" > /dev/null; then
   7653 	    :
   7654 	  else
   7655 	    cat <<_LT_EOF 1>&2
   7656 
   7657 *** Warning: the command libtool uses to detect shared libraries,
   7658 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7659 *** The result is that libtool may fail to recognize shared libraries
   7660 *** as such.  This will affect the creation of libtool libraries that
   7661 *** depend on shared libraries, but programs linked with such libtool
   7662 *** libraries will work regardless of this problem.  Nevertheless, you
   7663 *** may want to report the problem to your system manager and/or to
   7664 *** bug-libtool@gnu.org
   7665 
   7666 _LT_EOF
   7667 	  fi ;;
   7668 	esac
   7669       fi
   7670       break
   7671     fi
   7672   done
   7673   IFS="$lt_save_ifs"
   7674   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7675   ;;
   7676 esac
   7677 fi
   7678 
   7679 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7680 if test -n "$MAGIC_CMD"; then
   7681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7682 $as_echo "$MAGIC_CMD" >&6; }
   7683 else
   7684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7685 $as_echo "no" >&6; }
   7686 fi
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7693   if test -n "$ac_tool_prefix"; then
   7694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7695 $as_echo_n "checking for file... " >&6; }
   7696 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7697   $as_echo_n "(cached) " >&6
   7698 else
   7699   case $MAGIC_CMD in
   7700 [\\/*] |  ?:[\\/]*)
   7701   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7702   ;;
   7703 *)
   7704   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7705   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7706   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7707   for ac_dir in $ac_dummy; do
   7708     IFS="$lt_save_ifs"
   7709     test -z "$ac_dir" && ac_dir=.
   7710     if test -f $ac_dir/file; then
   7711       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7712       if test -n "$file_magic_test_file"; then
   7713 	case $deplibs_check_method in
   7714 	"file_magic "*)
   7715 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7716 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7717 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7718 	    $EGREP "$file_magic_regex" > /dev/null; then
   7719 	    :
   7720 	  else
   7721 	    cat <<_LT_EOF 1>&2
   7722 
   7723 *** Warning: the command libtool uses to detect shared libraries,
   7724 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7725 *** The result is that libtool may fail to recognize shared libraries
   7726 *** as such.  This will affect the creation of libtool libraries that
   7727 *** depend on shared libraries, but programs linked with such libtool
   7728 *** libraries will work regardless of this problem.  Nevertheless, you
   7729 *** may want to report the problem to your system manager and/or to
   7730 *** bug-libtool@gnu.org
   7731 
   7732 _LT_EOF
   7733 	  fi ;;
   7734 	esac
   7735       fi
   7736       break
   7737     fi
   7738   done
   7739   IFS="$lt_save_ifs"
   7740   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7741   ;;
   7742 esac
   7743 fi
   7744 
   7745 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7746 if test -n "$MAGIC_CMD"; then
   7747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7748 $as_echo "$MAGIC_CMD" >&6; }
   7749 else
   7750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7751 $as_echo "no" >&6; }
   7752 fi
   7753 
   7754 
   7755   else
   7756     MAGIC_CMD=:
   7757   fi
   7758 fi
   7759 
   7760   fi
   7761   ;;
   7762 esac
   7763 
   7764 # Use C for the default configuration in the libtool script
   7765 
   7766 lt_save_CC="$CC"
   7767 ac_ext=c
   7768 ac_cpp='$CPP $CPPFLAGS'
   7769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7772 
   7773 
   7774 # Source file extension for C test sources.
   7775 ac_ext=c
   7776 
   7777 # Object file extension for compiled C test sources.
   7778 objext=o
   7779 objext=$objext
   7780 
   7781 # Code to be used in simple compile tests
   7782 lt_simple_compile_test_code="int some_variable = 0;"
   7783 
   7784 # Code to be used in simple link tests
   7785 lt_simple_link_test_code='int main(){return(0);}'
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 # If no C compiler was specified, use CC.
   7794 LTCC=${LTCC-"$CC"}
   7795 
   7796 # If no C compiler flags were specified, use CFLAGS.
   7797 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7798 
   7799 # Allow CC to be a program name with arguments.
   7800 compiler=$CC
   7801 
   7802 # Save the default compiler, since it gets overwritten when the other
   7803 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7804 compiler_DEFAULT=$CC
   7805 
   7806 # save warnings/boilerplate of simple test code
   7807 ac_outfile=conftest.$ac_objext
   7808 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7809 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7810 _lt_compiler_boilerplate=`cat conftest.err`
   7811 $RM conftest*
   7812 
   7813 ac_outfile=conftest.$ac_objext
   7814 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7815 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7816 _lt_linker_boilerplate=`cat conftest.err`
   7817 $RM -r conftest*
   7818 
   7819 
   7820 if test -n "$compiler"; then
   7821 
   7822 lt_prog_compiler_no_builtin_flag=
   7823 
   7824 if test "$GCC" = yes; then
   7825   case $cc_basename in
   7826   nvcc*)
   7827     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7828   *)
   7829     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7830   esac
   7831 
   7832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7833 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7834 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7835   $as_echo_n "(cached) " >&6
   7836 else
   7837   lt_cv_prog_compiler_rtti_exceptions=no
   7838    ac_outfile=conftest.$ac_objext
   7839    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7840    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7841    # Insert the option either (1) after the last *FLAGS variable, or
   7842    # (2) before a word containing "conftest.", or (3) at the end.
   7843    # Note that $ac_compile itself does not contain backslashes and begins
   7844    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7845    # The option is referenced via a variable to avoid confusing sed.
   7846    lt_compile=`echo "$ac_compile" | $SED \
   7847    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7848    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7849    -e 's:$: $lt_compiler_flag:'`
   7850    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7851    (eval "$lt_compile" 2>conftest.err)
   7852    ac_status=$?
   7853    cat conftest.err >&5
   7854    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7855    if (exit $ac_status) && test -s "$ac_outfile"; then
   7856      # The compiler can only warn and ignore the option if not recognized
   7857      # So say no if there are warnings other than the usual output.
   7858      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7859      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7860      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7861        lt_cv_prog_compiler_rtti_exceptions=yes
   7862      fi
   7863    fi
   7864    $RM conftest*
   7865 
   7866 fi
   7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7868 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7869 
   7870 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7871     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7872 else
   7873     :
   7874 fi
   7875 
   7876 fi
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883   lt_prog_compiler_wl=
   7884 lt_prog_compiler_pic=
   7885 lt_prog_compiler_static=
   7886 
   7887 
   7888   if test "$GCC" = yes; then
   7889     lt_prog_compiler_wl='-Wl,'
   7890     lt_prog_compiler_static='-static'
   7891 
   7892     case $host_os in
   7893       aix*)
   7894       # All AIX code is PIC.
   7895       if test "$host_cpu" = ia64; then
   7896 	# AIX 5 now supports IA64 processor
   7897 	lt_prog_compiler_static='-Bstatic'
   7898       fi
   7899       ;;
   7900 
   7901     amigaos*)
   7902       case $host_cpu in
   7903       powerpc)
   7904             # see comment about AmigaOS4 .so support
   7905             lt_prog_compiler_pic='-fPIC'
   7906         ;;
   7907       m68k)
   7908             # FIXME: we need at least 68020 code to build shared libraries, but
   7909             # adding the `-m68020' flag to GCC prevents building anything better,
   7910             # like `-m68040'.
   7911             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7912         ;;
   7913       esac
   7914       ;;
   7915 
   7916     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7917       # PIC is the default for these OSes.
   7918       ;;
   7919 
   7920     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7921       # This hack is so that the source file can tell whether it is being
   7922       # built for inclusion in a dll (and should export symbols for example).
   7923       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7924       # (--disable-auto-import) libraries
   7925       lt_prog_compiler_pic='-DDLL_EXPORT'
   7926       ;;
   7927 
   7928     darwin* | rhapsody*)
   7929       # PIC is the default on this platform
   7930       # Common symbols not allowed in MH_DYLIB files
   7931       lt_prog_compiler_pic='-fno-common'
   7932       ;;
   7933 
   7934     haiku*)
   7935       # PIC is the default for Haiku.
   7936       # The "-static" flag exists, but is broken.
   7937       lt_prog_compiler_static=
   7938       ;;
   7939 
   7940     hpux*)
   7941       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7942       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7943       # sets the default TLS model and affects inlining.
   7944       case $host_cpu in
   7945       hppa*64*)
   7946 	# +Z the default
   7947 	;;
   7948       *)
   7949 	lt_prog_compiler_pic='-fPIC'
   7950 	;;
   7951       esac
   7952       ;;
   7953 
   7954     interix[3-9]*)
   7955       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7956       # Instead, we relocate shared libraries at runtime.
   7957       ;;
   7958 
   7959     msdosdjgpp*)
   7960       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7961       # on systems that don't support them.
   7962       lt_prog_compiler_can_build_shared=no
   7963       enable_shared=no
   7964       ;;
   7965 
   7966     *nto* | *qnx*)
   7967       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7968       # it will coredump.
   7969       lt_prog_compiler_pic='-fPIC -shared'
   7970       ;;
   7971 
   7972     sysv4*MP*)
   7973       if test -d /usr/nec; then
   7974 	lt_prog_compiler_pic=-Kconform_pic
   7975       fi
   7976       ;;
   7977 
   7978     *)
   7979       lt_prog_compiler_pic='-fPIC'
   7980       ;;
   7981     esac
   7982 
   7983     case $cc_basename in
   7984     nvcc*) # Cuda Compiler Driver 2.2
   7985       lt_prog_compiler_wl='-Xlinker '
   7986       if test -n "$lt_prog_compiler_pic"; then
   7987         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7988       fi
   7989       ;;
   7990     esac
   7991   else
   7992     # PORTME Check for flag to pass linker flags through the system compiler.
   7993     case $host_os in
   7994     aix*)
   7995       lt_prog_compiler_wl='-Wl,'
   7996       if test "$host_cpu" = ia64; then
   7997 	# AIX 5 now supports IA64 processor
   7998 	lt_prog_compiler_static='-Bstatic'
   7999       else
   8000 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8001       fi
   8002       ;;
   8003 
   8004     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8005       # This hack is so that the source file can tell whether it is being
   8006       # built for inclusion in a dll (and should export symbols for example).
   8007       lt_prog_compiler_pic='-DDLL_EXPORT'
   8008       ;;
   8009 
   8010     hpux9* | hpux10* | hpux11*)
   8011       lt_prog_compiler_wl='-Wl,'
   8012       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8013       # not for PA HP-UX.
   8014       case $host_cpu in
   8015       hppa*64*|ia64*)
   8016 	# +Z the default
   8017 	;;
   8018       *)
   8019 	lt_prog_compiler_pic='+Z'
   8020 	;;
   8021       esac
   8022       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8023       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8024       ;;
   8025 
   8026     irix5* | irix6* | nonstopux*)
   8027       lt_prog_compiler_wl='-Wl,'
   8028       # PIC (with -KPIC) is the default.
   8029       lt_prog_compiler_static='-non_shared'
   8030       ;;
   8031 
   8032     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8033       case $cc_basename in
   8034       # old Intel for x86_64 which still supported -KPIC.
   8035       ecc*)
   8036 	lt_prog_compiler_wl='-Wl,'
   8037 	lt_prog_compiler_pic='-KPIC'
   8038 	lt_prog_compiler_static='-static'
   8039         ;;
   8040       # icc used to be incompatible with GCC.
   8041       # ICC 10 doesn't accept -KPIC any more.
   8042       icc* | ifort*)
   8043 	lt_prog_compiler_wl='-Wl,'
   8044 	lt_prog_compiler_pic='-fPIC'
   8045 	lt_prog_compiler_static='-static'
   8046         ;;
   8047       # Lahey Fortran 8.1.
   8048       lf95*)
   8049 	lt_prog_compiler_wl='-Wl,'
   8050 	lt_prog_compiler_pic='--shared'
   8051 	lt_prog_compiler_static='--static'
   8052 	;;
   8053       nagfor*)
   8054 	# NAG Fortran compiler
   8055 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8056 	lt_prog_compiler_pic='-PIC'
   8057 	lt_prog_compiler_static='-Bstatic'
   8058 	;;
   8059       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8060         # Portland Group compilers (*not* the Pentium gcc compiler,
   8061 	# which looks to be a dead project)
   8062 	lt_prog_compiler_wl='-Wl,'
   8063 	lt_prog_compiler_pic='-fpic'
   8064 	lt_prog_compiler_static='-Bstatic'
   8065         ;;
   8066       ccc*)
   8067         lt_prog_compiler_wl='-Wl,'
   8068         # All Alpha code is PIC.
   8069         lt_prog_compiler_static='-non_shared'
   8070         ;;
   8071       xl* | bgxl* | bgf* | mpixl*)
   8072 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8073 	lt_prog_compiler_wl='-Wl,'
   8074 	lt_prog_compiler_pic='-qpic'
   8075 	lt_prog_compiler_static='-qstaticlink'
   8076 	;;
   8077       *)
   8078 	case `$CC -V 2>&1 | sed 5q` in
   8079 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8080 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8081 	  lt_prog_compiler_pic='-KPIC'
   8082 	  lt_prog_compiler_static='-Bstatic'
   8083 	  lt_prog_compiler_wl=''
   8084 	  ;;
   8085 	*Sun\ F* | *Sun*Fortran*)
   8086 	  lt_prog_compiler_pic='-KPIC'
   8087 	  lt_prog_compiler_static='-Bstatic'
   8088 	  lt_prog_compiler_wl='-Qoption ld '
   8089 	  ;;
   8090 	*Sun\ C*)
   8091 	  # Sun C 5.9
   8092 	  lt_prog_compiler_pic='-KPIC'
   8093 	  lt_prog_compiler_static='-Bstatic'
   8094 	  lt_prog_compiler_wl='-Wl,'
   8095 	  ;;
   8096         *Intel*\ [CF]*Compiler*)
   8097 	  lt_prog_compiler_wl='-Wl,'
   8098 	  lt_prog_compiler_pic='-fPIC'
   8099 	  lt_prog_compiler_static='-static'
   8100 	  ;;
   8101 	*Portland\ Group*)
   8102 	  lt_prog_compiler_wl='-Wl,'
   8103 	  lt_prog_compiler_pic='-fpic'
   8104 	  lt_prog_compiler_static='-Bstatic'
   8105 	  ;;
   8106 	esac
   8107 	;;
   8108       esac
   8109       ;;
   8110 
   8111     newsos6)
   8112       lt_prog_compiler_pic='-KPIC'
   8113       lt_prog_compiler_static='-Bstatic'
   8114       ;;
   8115 
   8116     *nto* | *qnx*)
   8117       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8118       # it will coredump.
   8119       lt_prog_compiler_pic='-fPIC -shared'
   8120       ;;
   8121 
   8122     osf3* | osf4* | osf5*)
   8123       lt_prog_compiler_wl='-Wl,'
   8124       # All OSF/1 code is PIC.
   8125       lt_prog_compiler_static='-non_shared'
   8126       ;;
   8127 
   8128     rdos*)
   8129       lt_prog_compiler_static='-non_shared'
   8130       ;;
   8131 
   8132     solaris*)
   8133       lt_prog_compiler_pic='-KPIC'
   8134       lt_prog_compiler_static='-Bstatic'
   8135       case $cc_basename in
   8136       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8137 	lt_prog_compiler_wl='-Qoption ld ';;
   8138       *)
   8139 	lt_prog_compiler_wl='-Wl,';;
   8140       esac
   8141       ;;
   8142 
   8143     sunos4*)
   8144       lt_prog_compiler_wl='-Qoption ld '
   8145       lt_prog_compiler_pic='-PIC'
   8146       lt_prog_compiler_static='-Bstatic'
   8147       ;;
   8148 
   8149     sysv4 | sysv4.2uw2* | sysv4.3*)
   8150       lt_prog_compiler_wl='-Wl,'
   8151       lt_prog_compiler_pic='-KPIC'
   8152       lt_prog_compiler_static='-Bstatic'
   8153       ;;
   8154 
   8155     sysv4*MP*)
   8156       if test -d /usr/nec ;then
   8157 	lt_prog_compiler_pic='-Kconform_pic'
   8158 	lt_prog_compiler_static='-Bstatic'
   8159       fi
   8160       ;;
   8161 
   8162     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8163       lt_prog_compiler_wl='-Wl,'
   8164       lt_prog_compiler_pic='-KPIC'
   8165       lt_prog_compiler_static='-Bstatic'
   8166       ;;
   8167 
   8168     unicos*)
   8169       lt_prog_compiler_wl='-Wl,'
   8170       lt_prog_compiler_can_build_shared=no
   8171       ;;
   8172 
   8173     uts4*)
   8174       lt_prog_compiler_pic='-pic'
   8175       lt_prog_compiler_static='-Bstatic'
   8176       ;;
   8177 
   8178     *)
   8179       lt_prog_compiler_can_build_shared=no
   8180       ;;
   8181     esac
   8182   fi
   8183 
   8184 case $host_os in
   8185   # For platforms which do not support PIC, -DPIC is meaningless:
   8186   *djgpp*)
   8187     lt_prog_compiler_pic=
   8188     ;;
   8189   *)
   8190     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8191     ;;
   8192 esac
   8193 
   8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8195 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8196 if ${lt_cv_prog_compiler_pic+:} false; then :
   8197   $as_echo_n "(cached) " >&6
   8198 else
   8199   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8200 fi
   8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8202 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8203 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8204 
   8205 #
   8206 # Check to make sure the PIC flag actually works.
   8207 #
   8208 if test -n "$lt_prog_compiler_pic"; then
   8209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8210 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8211 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8212   $as_echo_n "(cached) " >&6
   8213 else
   8214   lt_cv_prog_compiler_pic_works=no
   8215    ac_outfile=conftest.$ac_objext
   8216    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8217    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8218    # Insert the option either (1) after the last *FLAGS variable, or
   8219    # (2) before a word containing "conftest.", or (3) at the end.
   8220    # Note that $ac_compile itself does not contain backslashes and begins
   8221    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8222    # The option is referenced via a variable to avoid confusing sed.
   8223    lt_compile=`echo "$ac_compile" | $SED \
   8224    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8225    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8226    -e 's:$: $lt_compiler_flag:'`
   8227    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8228    (eval "$lt_compile" 2>conftest.err)
   8229    ac_status=$?
   8230    cat conftest.err >&5
   8231    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8232    if (exit $ac_status) && test -s "$ac_outfile"; then
   8233      # The compiler can only warn and ignore the option if not recognized
   8234      # So say no if there are warnings other than the usual output.
   8235      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8236      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8237      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8238        lt_cv_prog_compiler_pic_works=yes
   8239      fi
   8240    fi
   8241    $RM conftest*
   8242 
   8243 fi
   8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8245 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8246 
   8247 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8248     case $lt_prog_compiler_pic in
   8249      "" | " "*) ;;
   8250      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8251      esac
   8252 else
   8253     lt_prog_compiler_pic=
   8254      lt_prog_compiler_can_build_shared=no
   8255 fi
   8256 
   8257 fi
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 #
   8270 # Check to make sure the static flag actually works.
   8271 #
   8272 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8274 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8275 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8276   $as_echo_n "(cached) " >&6
   8277 else
   8278   lt_cv_prog_compiler_static_works=no
   8279    save_LDFLAGS="$LDFLAGS"
   8280    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8281    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8282    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8283      # The linker can only warn and ignore the option if not recognized
   8284      # So say no if there are warnings
   8285      if test -s conftest.err; then
   8286        # Append any errors to the config.log.
   8287        cat conftest.err 1>&5
   8288        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8289        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8290        if diff conftest.exp conftest.er2 >/dev/null; then
   8291          lt_cv_prog_compiler_static_works=yes
   8292        fi
   8293      else
   8294        lt_cv_prog_compiler_static_works=yes
   8295      fi
   8296    fi
   8297    $RM -r conftest*
   8298    LDFLAGS="$save_LDFLAGS"
   8299 
   8300 fi
   8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8302 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8303 
   8304 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8305     :
   8306 else
   8307     lt_prog_compiler_static=
   8308 fi
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8317 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8318 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8319   $as_echo_n "(cached) " >&6
   8320 else
   8321   lt_cv_prog_compiler_c_o=no
   8322    $RM -r conftest 2>/dev/null
   8323    mkdir conftest
   8324    cd conftest
   8325    mkdir out
   8326    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8327 
   8328    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8329    # Insert the option either (1) after the last *FLAGS variable, or
   8330    # (2) before a word containing "conftest.", or (3) at the end.
   8331    # Note that $ac_compile itself does not contain backslashes and begins
   8332    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8333    lt_compile=`echo "$ac_compile" | $SED \
   8334    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8335    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8336    -e 's:$: $lt_compiler_flag:'`
   8337    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8338    (eval "$lt_compile" 2>out/conftest.err)
   8339    ac_status=$?
   8340    cat out/conftest.err >&5
   8341    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8342    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8343    then
   8344      # The compiler can only warn and ignore the option if not recognized
   8345      # So say no if there are warnings
   8346      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8347      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8348      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8349        lt_cv_prog_compiler_c_o=yes
   8350      fi
   8351    fi
   8352    chmod u+w . 2>&5
   8353    $RM conftest*
   8354    # SGI C++ compiler will create directory out/ii_files/ for
   8355    # template instantiation
   8356    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8357    $RM out/* && rmdir out
   8358    cd ..
   8359    $RM -r conftest
   8360    $RM conftest*
   8361 
   8362 fi
   8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8364 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8372 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8373 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8374   $as_echo_n "(cached) " >&6
   8375 else
   8376   lt_cv_prog_compiler_c_o=no
   8377    $RM -r conftest 2>/dev/null
   8378    mkdir conftest
   8379    cd conftest
   8380    mkdir out
   8381    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8382 
   8383    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8384    # Insert the option either (1) after the last *FLAGS variable, or
   8385    # (2) before a word containing "conftest.", or (3) at the end.
   8386    # Note that $ac_compile itself does not contain backslashes and begins
   8387    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8388    lt_compile=`echo "$ac_compile" | $SED \
   8389    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8390    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8391    -e 's:$: $lt_compiler_flag:'`
   8392    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8393    (eval "$lt_compile" 2>out/conftest.err)
   8394    ac_status=$?
   8395    cat out/conftest.err >&5
   8396    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8397    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8398    then
   8399      # The compiler can only warn and ignore the option if not recognized
   8400      # So say no if there are warnings
   8401      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8402      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8403      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8404        lt_cv_prog_compiler_c_o=yes
   8405      fi
   8406    fi
   8407    chmod u+w . 2>&5
   8408    $RM conftest*
   8409    # SGI C++ compiler will create directory out/ii_files/ for
   8410    # template instantiation
   8411    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8412    $RM out/* && rmdir out
   8413    cd ..
   8414    $RM -r conftest
   8415    $RM conftest*
   8416 
   8417 fi
   8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8419 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8420 
   8421 
   8422 
   8423 
   8424 hard_links="nottested"
   8425 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8426   # do not overwrite the value of need_locks provided by the user
   8427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8428 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8429   hard_links=yes
   8430   $RM conftest*
   8431   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8432   touch conftest.a
   8433   ln conftest.a conftest.b 2>&5 || hard_links=no
   8434   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8436 $as_echo "$hard_links" >&6; }
   8437   if test "$hard_links" = no; then
   8438     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8439 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8440     need_locks=warn
   8441   fi
   8442 else
   8443   need_locks=no
   8444 fi
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8452 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8453 
   8454   runpath_var=
   8455   allow_undefined_flag=
   8456   always_export_symbols=no
   8457   archive_cmds=
   8458   archive_expsym_cmds=
   8459   compiler_needs_object=no
   8460   enable_shared_with_static_runtimes=no
   8461   export_dynamic_flag_spec=
   8462   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8463   hardcode_automatic=no
   8464   hardcode_direct=no
   8465   hardcode_direct_absolute=no
   8466   hardcode_libdir_flag_spec=
   8467   hardcode_libdir_separator=
   8468   hardcode_minus_L=no
   8469   hardcode_shlibpath_var=unsupported
   8470   inherit_rpath=no
   8471   link_all_deplibs=unknown
   8472   module_cmds=
   8473   module_expsym_cmds=
   8474   old_archive_from_new_cmds=
   8475   old_archive_from_expsyms_cmds=
   8476   thread_safe_flag_spec=
   8477   whole_archive_flag_spec=
   8478   # include_expsyms should be a list of space-separated symbols to be *always*
   8479   # included in the symbol list
   8480   include_expsyms=
   8481   # exclude_expsyms can be an extended regexp of symbols to exclude
   8482   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8483   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8484   # as well as any symbol that contains `d'.
   8485   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8486   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8487   # platforms (ab)use it in PIC code, but their linkers get confused if
   8488   # the symbol is explicitly referenced.  Since portable code cannot
   8489   # rely on this symbol name, it's probably fine to never include it in
   8490   # preloaded symbol tables.
   8491   # Exclude shared library initialization/finalization symbols.
   8492   extract_expsyms_cmds=
   8493 
   8494   case $host_os in
   8495   cygwin* | mingw* | pw32* | cegcc*)
   8496     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8497     # When not using gcc, we currently assume that we are using
   8498     # Microsoft Visual C++.
   8499     if test "$GCC" != yes; then
   8500       with_gnu_ld=no
   8501     fi
   8502     ;;
   8503   interix*)
   8504     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8505     with_gnu_ld=yes
   8506     ;;
   8507   openbsd*)
   8508     with_gnu_ld=no
   8509     ;;
   8510   esac
   8511 
   8512   ld_shlibs=yes
   8513 
   8514   # On some targets, GNU ld is compatible enough with the native linker
   8515   # that we're better off using the native interface for both.
   8516   lt_use_gnu_ld_interface=no
   8517   if test "$with_gnu_ld" = yes; then
   8518     case $host_os in
   8519       aix*)
   8520 	# The AIX port of GNU ld has always aspired to compatibility
   8521 	# with the native linker.  However, as the warning in the GNU ld
   8522 	# block says, versions before 2.19.5* couldn't really create working
   8523 	# shared libraries, regardless of the interface used.
   8524 	case `$LD -v 2>&1` in
   8525 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8526 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8527 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8528 	  *)
   8529 	    lt_use_gnu_ld_interface=yes
   8530 	    ;;
   8531 	esac
   8532 	;;
   8533       *)
   8534 	lt_use_gnu_ld_interface=yes
   8535 	;;
   8536     esac
   8537   fi
   8538 
   8539   if test "$lt_use_gnu_ld_interface" = yes; then
   8540     # If archive_cmds runs LD, not CC, wlarc should be empty
   8541     wlarc='${wl}'
   8542 
   8543     # Set some defaults for GNU ld with shared library support. These
   8544     # are reset later if shared libraries are not supported. Putting them
   8545     # here allows them to be overridden if necessary.
   8546     runpath_var=LD_RUN_PATH
   8547     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8548     export_dynamic_flag_spec='${wl}--export-dynamic'
   8549     # ancient GNU ld didn't support --whole-archive et. al.
   8550     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8551       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8552     else
   8553       whole_archive_flag_spec=
   8554     fi
   8555     supports_anon_versioning=no
   8556     case `$LD -v 2>&1` in
   8557       *GNU\ gold*) supports_anon_versioning=yes ;;
   8558       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8559       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8560       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8561       *\ 2.11.*) ;; # other 2.11 versions
   8562       *) supports_anon_versioning=yes ;;
   8563     esac
   8564 
   8565     # See if GNU ld supports shared libraries.
   8566     case $host_os in
   8567     aix[3-9]*)
   8568       # On AIX/PPC, the GNU linker is very broken
   8569       if test "$host_cpu" != ia64; then
   8570 	ld_shlibs=no
   8571 	cat <<_LT_EOF 1>&2
   8572 
   8573 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8574 *** to be unable to reliably create shared libraries on AIX.
   8575 *** Therefore, libtool is disabling shared libraries support.  If you
   8576 *** really care for shared libraries, you may want to install binutils
   8577 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8578 *** You will then need to restart the configuration process.
   8579 
   8580 _LT_EOF
   8581       fi
   8582       ;;
   8583 
   8584     amigaos*)
   8585       case $host_cpu in
   8586       powerpc)
   8587             # see comment about AmigaOS4 .so support
   8588             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8589             archive_expsym_cmds=''
   8590         ;;
   8591       m68k)
   8592             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)'
   8593             hardcode_libdir_flag_spec='-L$libdir'
   8594             hardcode_minus_L=yes
   8595         ;;
   8596       esac
   8597       ;;
   8598 
   8599     beos*)
   8600       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8601 	allow_undefined_flag=unsupported
   8602 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8603 	# support --undefined.  This deserves some investigation.  FIXME
   8604 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8605       else
   8606 	ld_shlibs=no
   8607       fi
   8608       ;;
   8609 
   8610     cygwin* | mingw* | pw32* | cegcc*)
   8611       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8612       # as there is no search path for DLLs.
   8613       hardcode_libdir_flag_spec='-L$libdir'
   8614       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8615       allow_undefined_flag=unsupported
   8616       always_export_symbols=no
   8617       enable_shared_with_static_runtimes=yes
   8618       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'
   8619       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8620 
   8621       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8622         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8623 	# If the export-symbols file already is a .def file (1st line
   8624 	# is EXPORTS), use it as is; otherwise, prepend...
   8625 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8626 	  cp $export_symbols $output_objdir/$soname.def;
   8627 	else
   8628 	  echo EXPORTS > $output_objdir/$soname.def;
   8629 	  cat $export_symbols >> $output_objdir/$soname.def;
   8630 	fi~
   8631 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8632       else
   8633 	ld_shlibs=no
   8634       fi
   8635       ;;
   8636 
   8637     haiku*)
   8638       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8639       link_all_deplibs=yes
   8640       ;;
   8641 
   8642     interix[3-9]*)
   8643       hardcode_direct=no
   8644       hardcode_shlibpath_var=no
   8645       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8646       export_dynamic_flag_spec='${wl}-E'
   8647       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8648       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8649       # default) and relocated if they conflict, which is a slow very memory
   8650       # consuming and fragmenting process.  To avoid this, we pick a random,
   8651       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8652       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8653       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8654       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'
   8655       ;;
   8656 
   8657     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8658       tmp_diet=no
   8659       if test "$host_os" = linux-dietlibc; then
   8660 	case $cc_basename in
   8661 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8662 	esac
   8663       fi
   8664       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8665 	 && test "$tmp_diet" = no
   8666       then
   8667 	tmp_addflag=' $pic_flag'
   8668 	tmp_sharedflag='-shared'
   8669 	case $cc_basename,$host_cpu in
   8670         pgcc*)				# Portland Group C compiler
   8671 	  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'
   8672 	  tmp_addflag=' $pic_flag'
   8673 	  ;;
   8674 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8675 					# Portland Group f77 and f90 compilers
   8676 	  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'
   8677 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8678 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8679 	  tmp_addflag=' -i_dynamic' ;;
   8680 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8681 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8682 	ifc* | ifort*)			# Intel Fortran compiler
   8683 	  tmp_addflag=' -nofor_main' ;;
   8684 	lf95*)				# Lahey Fortran 8.1
   8685 	  whole_archive_flag_spec=
   8686 	  tmp_sharedflag='--shared' ;;
   8687 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8688 	  tmp_sharedflag='-qmkshrobj'
   8689 	  tmp_addflag= ;;
   8690 	nvcc*)	# Cuda Compiler Driver 2.2
   8691 	  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'
   8692 	  compiler_needs_object=yes
   8693 	  ;;
   8694 	esac
   8695 	case `$CC -V 2>&1 | sed 5q` in
   8696 	*Sun\ C*)			# Sun C 5.9
   8697 	  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'
   8698 	  compiler_needs_object=yes
   8699 	  tmp_sharedflag='-G' ;;
   8700 	*Sun\ F*)			# Sun Fortran 8.3
   8701 	  tmp_sharedflag='-G' ;;
   8702 	esac
   8703 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8704 
   8705         if test "x$supports_anon_versioning" = xyes; then
   8706           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8707 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8708 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8709 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8710         fi
   8711 
   8712 	case $cc_basename in
   8713 	xlf* | bgf* | bgxlf* | mpixlf*)
   8714 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8715 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8716 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8717 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8718 	  if test "x$supports_anon_versioning" = xyes; then
   8719 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8720 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8721 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8722 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8723 	  fi
   8724 	  ;;
   8725 	esac
   8726       else
   8727         ld_shlibs=no
   8728       fi
   8729       ;;
   8730 
   8731     netbsd*)
   8732       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8733 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8734 	wlarc=
   8735       else
   8736 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8737 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8738       fi
   8739       ;;
   8740 
   8741     solaris*)
   8742       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8743 	ld_shlibs=no
   8744 	cat <<_LT_EOF 1>&2
   8745 
   8746 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8747 *** create shared libraries on Solaris systems.  Therefore, libtool
   8748 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8749 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8750 *** your PATH or compiler configuration so that the native linker is
   8751 *** used, and then restart.
   8752 
   8753 _LT_EOF
   8754       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8755 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8756 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8757       else
   8758 	ld_shlibs=no
   8759       fi
   8760       ;;
   8761 
   8762     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8763       case `$LD -v 2>&1` in
   8764         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8765 	ld_shlibs=no
   8766 	cat <<_LT_EOF 1>&2
   8767 
   8768 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8769 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8770 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8771 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8772 *** your PATH or compiler configuration so that the native linker is
   8773 *** used, and then restart.
   8774 
   8775 _LT_EOF
   8776 	;;
   8777 	*)
   8778 	  # For security reasons, it is highly recommended that you always
   8779 	  # use absolute paths for naming shared libraries, and exclude the
   8780 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8781 	  # requires that you compile everything twice, which is a pain.
   8782 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8783 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8784 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8785 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8786 	  else
   8787 	    ld_shlibs=no
   8788 	  fi
   8789 	;;
   8790       esac
   8791       ;;
   8792 
   8793     sunos4*)
   8794       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8795       wlarc=
   8796       hardcode_direct=yes
   8797       hardcode_shlibpath_var=no
   8798       ;;
   8799 
   8800     *)
   8801       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8802 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8803 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8804       else
   8805 	ld_shlibs=no
   8806       fi
   8807       ;;
   8808     esac
   8809 
   8810     if test "$ld_shlibs" = no; then
   8811       runpath_var=
   8812       hardcode_libdir_flag_spec=
   8813       export_dynamic_flag_spec=
   8814       whole_archive_flag_spec=
   8815     fi
   8816   else
   8817     # PORTME fill in a description of your system's linker (not GNU ld)
   8818     case $host_os in
   8819     aix3*)
   8820       allow_undefined_flag=unsupported
   8821       always_export_symbols=yes
   8822       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'
   8823       # Note: this linker hardcodes the directories in LIBPATH if there
   8824       # are no directories specified by -L.
   8825       hardcode_minus_L=yes
   8826       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8827 	# Neither direct hardcoding nor static linking is supported with a
   8828 	# broken collect2.
   8829 	hardcode_direct=unsupported
   8830       fi
   8831       ;;
   8832 
   8833     aix[4-9]*)
   8834       if test "$host_cpu" = ia64; then
   8835 	# On IA64, the linker does run time linking by default, so we don't
   8836 	# have to do anything special.
   8837 	aix_use_runtimelinking=no
   8838 	exp_sym_flag='-Bexport'
   8839 	no_entry_flag=""
   8840       else
   8841 	# If we're using GNU nm, then we don't want the "-C" option.
   8842 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8843 	# Also, AIX nm treats weak defined symbols like other global
   8844 	# defined symbols, whereas GNU nm marks them as "W".
   8845 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8846 	  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'
   8847 	else
   8848 	  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'
   8849 	fi
   8850 	aix_use_runtimelinking=no
   8851 
   8852 	# Test if we are trying to use run time linking or normal
   8853 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8854 	# need to do runtime linking.
   8855 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8856 	  for ld_flag in $LDFLAGS; do
   8857 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8858 	    aix_use_runtimelinking=yes
   8859 	    break
   8860 	  fi
   8861 	  done
   8862 	  ;;
   8863 	esac
   8864 
   8865 	exp_sym_flag='-bexport'
   8866 	no_entry_flag='-bnoentry'
   8867       fi
   8868 
   8869       # When large executables or shared objects are built, AIX ld can
   8870       # have problems creating the table of contents.  If linking a library
   8871       # or program results in "error TOC overflow" add -mminimal-toc to
   8872       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8873       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8874 
   8875       archive_cmds=''
   8876       hardcode_direct=yes
   8877       hardcode_direct_absolute=yes
   8878       hardcode_libdir_separator=':'
   8879       link_all_deplibs=yes
   8880       file_list_spec='${wl}-f,'
   8881 
   8882       if test "$GCC" = yes; then
   8883 	case $host_os in aix4.[012]|aix4.[012].*)
   8884 	# We only want to do this on AIX 4.2 and lower, the check
   8885 	# below for broken collect2 doesn't work under 4.3+
   8886 	  collect2name=`${CC} -print-prog-name=collect2`
   8887 	  if test -f "$collect2name" &&
   8888 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8889 	  then
   8890 	  # We have reworked collect2
   8891 	  :
   8892 	  else
   8893 	  # We have old collect2
   8894 	  hardcode_direct=unsupported
   8895 	  # It fails to find uninstalled libraries when the uninstalled
   8896 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8897 	  # to unsupported forces relinking
   8898 	  hardcode_minus_L=yes
   8899 	  hardcode_libdir_flag_spec='-L$libdir'
   8900 	  hardcode_libdir_separator=
   8901 	  fi
   8902 	  ;;
   8903 	esac
   8904 	shared_flag='-shared'
   8905 	if test "$aix_use_runtimelinking" = yes; then
   8906 	  shared_flag="$shared_flag "'${wl}-G'
   8907 	fi
   8908       else
   8909 	# not using gcc
   8910 	if test "$host_cpu" = ia64; then
   8911 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8912 	# chokes on -Wl,-G. The following line is correct:
   8913 	  shared_flag='-G'
   8914 	else
   8915 	  if test "$aix_use_runtimelinking" = yes; then
   8916 	    shared_flag='${wl}-G'
   8917 	  else
   8918 	    shared_flag='${wl}-bM:SRE'
   8919 	  fi
   8920 	fi
   8921       fi
   8922 
   8923       export_dynamic_flag_spec='${wl}-bexpall'
   8924       # It seems that -bexpall does not export symbols beginning with
   8925       # underscore (_), so it is better to generate a list of symbols to export.
   8926       always_export_symbols=yes
   8927       if test "$aix_use_runtimelinking" = yes; then
   8928 	# Warning - without using the other runtime loading flags (-brtl),
   8929 	# -berok will link without error, but may produce a broken library.
   8930 	allow_undefined_flag='-berok'
   8931         # Determine the default libpath from the value encoded in an
   8932         # empty executable.
   8933         if test "${lt_cv_aix_libpath+set}" = set; then
   8934   aix_libpath=$lt_cv_aix_libpath
   8935 else
   8936   if ${lt_cv_aix_libpath_+:} false; then :
   8937   $as_echo_n "(cached) " >&6
   8938 else
   8939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 
   8942 int
   8943 main ()
   8944 {
   8945 
   8946   ;
   8947   return 0;
   8948 }
   8949 _ACEOF
   8950 if ac_fn_c_try_link "$LINENO"; then :
   8951 
   8952   lt_aix_libpath_sed='
   8953       /Import File Strings/,/^$/ {
   8954 	  /^0/ {
   8955 	      s/^0  *\([^ ]*\) *$/\1/
   8956 	      p
   8957 	  }
   8958       }'
   8959   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8960   # Check for a 64-bit object if we didn't find anything.
   8961   if test -z "$lt_cv_aix_libpath_"; then
   8962     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8963   fi
   8964 fi
   8965 rm -f core conftest.err conftest.$ac_objext \
   8966     conftest$ac_exeext conftest.$ac_ext
   8967   if test -z "$lt_cv_aix_libpath_"; then
   8968     lt_cv_aix_libpath_="/usr/lib:/lib"
   8969   fi
   8970 
   8971 fi
   8972 
   8973   aix_libpath=$lt_cv_aix_libpath_
   8974 fi
   8975 
   8976         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8977         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"
   8978       else
   8979 	if test "$host_cpu" = ia64; then
   8980 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8981 	  allow_undefined_flag="-z nodefs"
   8982 	  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"
   8983 	else
   8984 	 # Determine the default libpath from the value encoded in an
   8985 	 # empty executable.
   8986 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8987   aix_libpath=$lt_cv_aix_libpath
   8988 else
   8989   if ${lt_cv_aix_libpath_+:} false; then :
   8990   $as_echo_n "(cached) " >&6
   8991 else
   8992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8993 /* end confdefs.h.  */
   8994 
   8995 int
   8996 main ()
   8997 {
   8998 
   8999   ;
   9000   return 0;
   9001 }
   9002 _ACEOF
   9003 if ac_fn_c_try_link "$LINENO"; then :
   9004 
   9005   lt_aix_libpath_sed='
   9006       /Import File Strings/,/^$/ {
   9007 	  /^0/ {
   9008 	      s/^0  *\([^ ]*\) *$/\1/
   9009 	      p
   9010 	  }
   9011       }'
   9012   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9013   # Check for a 64-bit object if we didn't find anything.
   9014   if test -z "$lt_cv_aix_libpath_"; then
   9015     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9016   fi
   9017 fi
   9018 rm -f core conftest.err conftest.$ac_objext \
   9019     conftest$ac_exeext conftest.$ac_ext
   9020   if test -z "$lt_cv_aix_libpath_"; then
   9021     lt_cv_aix_libpath_="/usr/lib:/lib"
   9022   fi
   9023 
   9024 fi
   9025 
   9026   aix_libpath=$lt_cv_aix_libpath_
   9027 fi
   9028 
   9029 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9030 	  # Warning - without using the other run time loading flags,
   9031 	  # -berok will link without error, but may produce a broken library.
   9032 	  no_undefined_flag=' ${wl}-bernotok'
   9033 	  allow_undefined_flag=' ${wl}-berok'
   9034 	  if test "$with_gnu_ld" = yes; then
   9035 	    # We only use this code for GNU lds that support --whole-archive.
   9036 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9037 	  else
   9038 	    # Exported symbols can be pulled into shared objects from archives
   9039 	    whole_archive_flag_spec='$convenience'
   9040 	  fi
   9041 	  archive_cmds_need_lc=yes
   9042 	  # This is similar to how AIX traditionally builds its shared libraries.
   9043 	  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'
   9044 	fi
   9045       fi
   9046       ;;
   9047 
   9048     amigaos*)
   9049       case $host_cpu in
   9050       powerpc)
   9051             # see comment about AmigaOS4 .so support
   9052             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9053             archive_expsym_cmds=''
   9054         ;;
   9055       m68k)
   9056             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)'
   9057             hardcode_libdir_flag_spec='-L$libdir'
   9058             hardcode_minus_L=yes
   9059         ;;
   9060       esac
   9061       ;;
   9062 
   9063     bsdi[45]*)
   9064       export_dynamic_flag_spec=-rdynamic
   9065       ;;
   9066 
   9067     cygwin* | mingw* | pw32* | cegcc*)
   9068       # When not using gcc, we currently assume that we are using
   9069       # Microsoft Visual C++.
   9070       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9071       # no search path for DLLs.
   9072       case $cc_basename in
   9073       cl*)
   9074 	# Native MSVC
   9075 	hardcode_libdir_flag_spec=' '
   9076 	allow_undefined_flag=unsupported
   9077 	always_export_symbols=yes
   9078 	file_list_spec='@'
   9079 	# Tell ltmain to make .lib files, not .a files.
   9080 	libext=lib
   9081 	# Tell ltmain to make .dll files, not .so files.
   9082 	shrext_cmds=".dll"
   9083 	# FIXME: Setting linknames here is a bad hack.
   9084 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9085 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9086 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9087 	  else
   9088 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9089 	  fi~
   9090 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9091 	  linknames='
   9092 	# The linker will not automatically build a static lib if we build a DLL.
   9093 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9094 	enable_shared_with_static_runtimes=yes
   9095 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9096 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9097 	# Don't use ranlib
   9098 	old_postinstall_cmds='chmod 644 $oldlib'
   9099 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9100 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9101 	  case $lt_outputfile in
   9102 	    *.exe|*.EXE) ;;
   9103 	    *)
   9104 	      lt_outputfile="$lt_outputfile.exe"
   9105 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9106 	      ;;
   9107 	  esac~
   9108 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9109 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9110 	    $RM "$lt_outputfile.manifest";
   9111 	  fi'
   9112 	;;
   9113       *)
   9114 	# Assume MSVC wrapper
   9115 	hardcode_libdir_flag_spec=' '
   9116 	allow_undefined_flag=unsupported
   9117 	# Tell ltmain to make .lib files, not .a files.
   9118 	libext=lib
   9119 	# Tell ltmain to make .dll files, not .so files.
   9120 	shrext_cmds=".dll"
   9121 	# FIXME: Setting linknames here is a bad hack.
   9122 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9123 	# The linker will automatically build a .lib file if we build a DLL.
   9124 	old_archive_from_new_cmds='true'
   9125 	# FIXME: Should let the user specify the lib program.
   9126 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9127 	enable_shared_with_static_runtimes=yes
   9128 	;;
   9129       esac
   9130       ;;
   9131 
   9132     darwin* | rhapsody*)
   9133 
   9134 
   9135   archive_cmds_need_lc=no
   9136   hardcode_direct=no
   9137   hardcode_automatic=yes
   9138   hardcode_shlibpath_var=unsupported
   9139   if test "$lt_cv_ld_force_load" = "yes"; then
   9140     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\"`'
   9141 
   9142   else
   9143     whole_archive_flag_spec=''
   9144   fi
   9145   link_all_deplibs=yes
   9146   allow_undefined_flag="$_lt_dar_allow_undefined"
   9147   case $cc_basename in
   9148      ifort*) _lt_dar_can_shared=yes ;;
   9149      *) _lt_dar_can_shared=$GCC ;;
   9150   esac
   9151   if test "$_lt_dar_can_shared" = "yes"; then
   9152     output_verbose_link_cmd=func_echo_all
   9153     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9154     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9155     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}"
   9156     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}"
   9157 
   9158   else
   9159   ld_shlibs=no
   9160   fi
   9161 
   9162       ;;
   9163 
   9164     dgux*)
   9165       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9166       hardcode_libdir_flag_spec='-L$libdir'
   9167       hardcode_shlibpath_var=no
   9168       ;;
   9169 
   9170     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9171     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9172     # does not break anything, and helps significantly (at the cost of a little
   9173     # extra space).
   9174     freebsd2.2*)
   9175       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9176       hardcode_libdir_flag_spec='-R$libdir'
   9177       hardcode_direct=yes
   9178       hardcode_shlibpath_var=no
   9179       ;;
   9180 
   9181     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9182     freebsd2.*)
   9183       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9184       hardcode_direct=yes
   9185       hardcode_minus_L=yes
   9186       hardcode_shlibpath_var=no
   9187       ;;
   9188 
   9189     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9190     freebsd* | dragonfly*)
   9191       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9192       hardcode_libdir_flag_spec='-R$libdir'
   9193       hardcode_direct=yes
   9194       hardcode_shlibpath_var=no
   9195       ;;
   9196 
   9197     hpux9*)
   9198       if test "$GCC" = yes; then
   9199 	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'
   9200       else
   9201 	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'
   9202       fi
   9203       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9204       hardcode_libdir_separator=:
   9205       hardcode_direct=yes
   9206 
   9207       # hardcode_minus_L: Not really in the search PATH,
   9208       # but as the default location of the library.
   9209       hardcode_minus_L=yes
   9210       export_dynamic_flag_spec='${wl}-E'
   9211       ;;
   9212 
   9213     hpux10*)
   9214       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9215 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9216       else
   9217 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9218       fi
   9219       if test "$with_gnu_ld" = no; then
   9220 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9221 	hardcode_libdir_separator=:
   9222 	hardcode_direct=yes
   9223 	hardcode_direct_absolute=yes
   9224 	export_dynamic_flag_spec='${wl}-E'
   9225 	# hardcode_minus_L: Not really in the search PATH,
   9226 	# but as the default location of the library.
   9227 	hardcode_minus_L=yes
   9228       fi
   9229       ;;
   9230 
   9231     hpux11*)
   9232       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9233 	case $host_cpu in
   9234 	hppa*64*)
   9235 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9236 	  ;;
   9237 	ia64*)
   9238 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9239 	  ;;
   9240 	*)
   9241 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9242 	  ;;
   9243 	esac
   9244       else
   9245 	case $host_cpu in
   9246 	hppa*64*)
   9247 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9248 	  ;;
   9249 	ia64*)
   9250 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9251 	  ;;
   9252 	*)
   9253 
   9254 	  # Older versions of the 11.00 compiler do not understand -b yet
   9255 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9256 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9257 $as_echo_n "checking if $CC understands -b... " >&6; }
   9258 if ${lt_cv_prog_compiler__b+:} false; then :
   9259   $as_echo_n "(cached) " >&6
   9260 else
   9261   lt_cv_prog_compiler__b=no
   9262    save_LDFLAGS="$LDFLAGS"
   9263    LDFLAGS="$LDFLAGS -b"
   9264    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9265    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9266      # The linker can only warn and ignore the option if not recognized
   9267      # So say no if there are warnings
   9268      if test -s conftest.err; then
   9269        # Append any errors to the config.log.
   9270        cat conftest.err 1>&5
   9271        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9272        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9273        if diff conftest.exp conftest.er2 >/dev/null; then
   9274          lt_cv_prog_compiler__b=yes
   9275        fi
   9276      else
   9277        lt_cv_prog_compiler__b=yes
   9278      fi
   9279    fi
   9280    $RM -r conftest*
   9281    LDFLAGS="$save_LDFLAGS"
   9282 
   9283 fi
   9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9285 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9286 
   9287 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9288     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9289 else
   9290     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9291 fi
   9292 
   9293 	  ;;
   9294 	esac
   9295       fi
   9296       if test "$with_gnu_ld" = no; then
   9297 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9298 	hardcode_libdir_separator=:
   9299 
   9300 	case $host_cpu in
   9301 	hppa*64*|ia64*)
   9302 	  hardcode_direct=no
   9303 	  hardcode_shlibpath_var=no
   9304 	  ;;
   9305 	*)
   9306 	  hardcode_direct=yes
   9307 	  hardcode_direct_absolute=yes
   9308 	  export_dynamic_flag_spec='${wl}-E'
   9309 
   9310 	  # hardcode_minus_L: Not really in the search PATH,
   9311 	  # but as the default location of the library.
   9312 	  hardcode_minus_L=yes
   9313 	  ;;
   9314 	esac
   9315       fi
   9316       ;;
   9317 
   9318     irix5* | irix6* | nonstopux*)
   9319       if test "$GCC" = yes; then
   9320 	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'
   9321 	# Try to use the -exported_symbol ld option, if it does not
   9322 	# work, assume that -exports_file does not work either and
   9323 	# implicitly export all symbols.
   9324 	# This should be the same for all languages, so no per-tag cache variable.
   9325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9326 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9327 if ${lt_cv_irix_exported_symbol+:} false; then :
   9328   $as_echo_n "(cached) " >&6
   9329 else
   9330   save_LDFLAGS="$LDFLAGS"
   9331 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9332 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9333 /* end confdefs.h.  */
   9334 int foo (void) { return 0; }
   9335 _ACEOF
   9336 if ac_fn_c_try_link "$LINENO"; then :
   9337   lt_cv_irix_exported_symbol=yes
   9338 else
   9339   lt_cv_irix_exported_symbol=no
   9340 fi
   9341 rm -f core conftest.err conftest.$ac_objext \
   9342     conftest$ac_exeext conftest.$ac_ext
   9343            LDFLAGS="$save_LDFLAGS"
   9344 fi
   9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9346 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9347 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9348           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'
   9349 	fi
   9350       else
   9351 	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'
   9352 	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'
   9353       fi
   9354       archive_cmds_need_lc='no'
   9355       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9356       hardcode_libdir_separator=:
   9357       inherit_rpath=yes
   9358       link_all_deplibs=yes
   9359       ;;
   9360 
   9361     netbsd*)
   9362       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9363 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9364       else
   9365 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9366       fi
   9367       hardcode_libdir_flag_spec='-R$libdir'
   9368       hardcode_direct=yes
   9369       hardcode_shlibpath_var=no
   9370       ;;
   9371 
   9372     newsos6)
   9373       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9374       hardcode_direct=yes
   9375       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9376       hardcode_libdir_separator=:
   9377       hardcode_shlibpath_var=no
   9378       ;;
   9379 
   9380     *nto* | *qnx*)
   9381       ;;
   9382 
   9383     openbsd*)
   9384       if test -f /usr/libexec/ld.so; then
   9385 	hardcode_direct=yes
   9386 	hardcode_shlibpath_var=no
   9387 	hardcode_direct_absolute=yes
   9388 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9389 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9390 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9391 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9392 	  export_dynamic_flag_spec='${wl}-E'
   9393 	else
   9394 	  case $host_os in
   9395 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9396 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9397 	     hardcode_libdir_flag_spec='-R$libdir'
   9398 	     ;;
   9399 	   *)
   9400 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9401 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9402 	     ;;
   9403 	  esac
   9404 	fi
   9405       else
   9406 	ld_shlibs=no
   9407       fi
   9408       ;;
   9409 
   9410     os2*)
   9411       hardcode_libdir_flag_spec='-L$libdir'
   9412       hardcode_minus_L=yes
   9413       allow_undefined_flag=unsupported
   9414       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'
   9415       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9416       ;;
   9417 
   9418     osf3*)
   9419       if test "$GCC" = yes; then
   9420 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9421 	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'
   9422       else
   9423 	allow_undefined_flag=' -expect_unresolved \*'
   9424 	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'
   9425       fi
   9426       archive_cmds_need_lc='no'
   9427       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9428       hardcode_libdir_separator=:
   9429       ;;
   9430 
   9431     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9432       if test "$GCC" = yes; then
   9433 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9434 	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'
   9435 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9436       else
   9437 	allow_undefined_flag=' -expect_unresolved \*'
   9438 	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'
   9439 	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~
   9440 	$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'
   9441 
   9442 	# Both c and cxx compiler support -rpath directly
   9443 	hardcode_libdir_flag_spec='-rpath $libdir'
   9444       fi
   9445       archive_cmds_need_lc='no'
   9446       hardcode_libdir_separator=:
   9447       ;;
   9448 
   9449     solaris*)
   9450       no_undefined_flag=' -z defs'
   9451       if test "$GCC" = yes; then
   9452 	wlarc='${wl}'
   9453 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9454 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9455 	  $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'
   9456       else
   9457 	case `$CC -V 2>&1` in
   9458 	*"Compilers 5.0"*)
   9459 	  wlarc=''
   9460 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9461 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9462 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9463 	  ;;
   9464 	*)
   9465 	  wlarc='${wl}'
   9466 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9467 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9468 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9469 	  ;;
   9470 	esac
   9471       fi
   9472       hardcode_libdir_flag_spec='-R$libdir'
   9473       hardcode_shlibpath_var=no
   9474       case $host_os in
   9475       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9476       *)
   9477 	# The compiler driver will combine and reorder linker options,
   9478 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9479 	# but is careful enough not to reorder.
   9480 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9481 	if test "$GCC" = yes; then
   9482 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9483 	else
   9484 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9485 	fi
   9486 	;;
   9487       esac
   9488       link_all_deplibs=yes
   9489       ;;
   9490 
   9491     sunos4*)
   9492       if test "x$host_vendor" = xsequent; then
   9493 	# Use $CC to link under sequent, because it throws in some extra .o
   9494 	# files that make .init and .fini sections work.
   9495 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9496       else
   9497 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9498       fi
   9499       hardcode_libdir_flag_spec='-L$libdir'
   9500       hardcode_direct=yes
   9501       hardcode_minus_L=yes
   9502       hardcode_shlibpath_var=no
   9503       ;;
   9504 
   9505     sysv4)
   9506       case $host_vendor in
   9507 	sni)
   9508 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9509 	  hardcode_direct=yes # is this really true???
   9510 	;;
   9511 	siemens)
   9512 	  ## LD is ld it makes a PLAMLIB
   9513 	  ## CC just makes a GrossModule.
   9514 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9515 	  reload_cmds='$CC -r -o $output$reload_objs'
   9516 	  hardcode_direct=no
   9517         ;;
   9518 	motorola)
   9519 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9520 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9521 	;;
   9522       esac
   9523       runpath_var='LD_RUN_PATH'
   9524       hardcode_shlibpath_var=no
   9525       ;;
   9526 
   9527     sysv4.3*)
   9528       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9529       hardcode_shlibpath_var=no
   9530       export_dynamic_flag_spec='-Bexport'
   9531       ;;
   9532 
   9533     sysv4*MP*)
   9534       if test -d /usr/nec; then
   9535 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9536 	hardcode_shlibpath_var=no
   9537 	runpath_var=LD_RUN_PATH
   9538 	hardcode_runpath_var=yes
   9539 	ld_shlibs=yes
   9540       fi
   9541       ;;
   9542 
   9543     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9544       no_undefined_flag='${wl}-z,text'
   9545       archive_cmds_need_lc=no
   9546       hardcode_shlibpath_var=no
   9547       runpath_var='LD_RUN_PATH'
   9548 
   9549       if test "$GCC" = yes; then
   9550 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9551 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9552       else
   9553 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9554 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9555       fi
   9556       ;;
   9557 
   9558     sysv5* | sco3.2v5* | sco5v6*)
   9559       # Note: We can NOT use -z defs as we might desire, because we do not
   9560       # link with -lc, and that would cause any symbols used from libc to
   9561       # always be unresolved, which means just about no library would
   9562       # ever link correctly.  If we're not using GNU ld we use -z text
   9563       # though, which does catch some bad symbols but isn't as heavy-handed
   9564       # as -z defs.
   9565       no_undefined_flag='${wl}-z,text'
   9566       allow_undefined_flag='${wl}-z,nodefs'
   9567       archive_cmds_need_lc=no
   9568       hardcode_shlibpath_var=no
   9569       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9570       hardcode_libdir_separator=':'
   9571       link_all_deplibs=yes
   9572       export_dynamic_flag_spec='${wl}-Bexport'
   9573       runpath_var='LD_RUN_PATH'
   9574 
   9575       if test "$GCC" = yes; then
   9576 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9577 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9578       else
   9579 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9580 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9581       fi
   9582       ;;
   9583 
   9584     uts4*)
   9585       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9586       hardcode_libdir_flag_spec='-L$libdir'
   9587       hardcode_shlibpath_var=no
   9588       ;;
   9589 
   9590     *)
   9591       ld_shlibs=no
   9592       ;;
   9593     esac
   9594 
   9595     if test x$host_vendor = xsni; then
   9596       case $host in
   9597       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9598 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9599 	;;
   9600       esac
   9601     fi
   9602   fi
   9603 
   9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9605 $as_echo "$ld_shlibs" >&6; }
   9606 test "$ld_shlibs" = no && can_build_shared=no
   9607 
   9608 with_gnu_ld=$with_gnu_ld
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 #
   9625 # Do we need to explicitly link libc?
   9626 #
   9627 case "x$archive_cmds_need_lc" in
   9628 x|xyes)
   9629   # Assume -lc should be added
   9630   archive_cmds_need_lc=yes
   9631 
   9632   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9633     case $archive_cmds in
   9634     *'~'*)
   9635       # FIXME: we may have to deal with multi-command sequences.
   9636       ;;
   9637     '$CC '*)
   9638       # Test whether the compiler implicitly links with -lc since on some
   9639       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9640       # to ld, don't add -lc before -lgcc.
   9641       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9642 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9643 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9644   $as_echo_n "(cached) " >&6
   9645 else
   9646   $RM conftest*
   9647 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9648 
   9649 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9650   (eval $ac_compile) 2>&5
   9651   ac_status=$?
   9652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9653   test $ac_status = 0; } 2>conftest.err; then
   9654 	  soname=conftest
   9655 	  lib=conftest
   9656 	  libobjs=conftest.$ac_objext
   9657 	  deplibs=
   9658 	  wl=$lt_prog_compiler_wl
   9659 	  pic_flag=$lt_prog_compiler_pic
   9660 	  compiler_flags=-v
   9661 	  linker_flags=-v
   9662 	  verstring=
   9663 	  output_objdir=.
   9664 	  libname=conftest
   9665 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9666 	  allow_undefined_flag=
   9667 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9668   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9669   ac_status=$?
   9670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9671   test $ac_status = 0; }
   9672 	  then
   9673 	    lt_cv_archive_cmds_need_lc=no
   9674 	  else
   9675 	    lt_cv_archive_cmds_need_lc=yes
   9676 	  fi
   9677 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9678 	else
   9679 	  cat conftest.err 1>&5
   9680 	fi
   9681 	$RM conftest*
   9682 
   9683 fi
   9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9685 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9686       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9687       ;;
   9688     esac
   9689   fi
   9690   ;;
   9691 esac
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9845 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9846 
   9847 if test "$GCC" = yes; then
   9848   case $host_os in
   9849     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9850     *) lt_awk_arg="/^libraries:/" ;;
   9851   esac
   9852   case $host_os in
   9853     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9854     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9855   esac
   9856   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9857   case $lt_search_path_spec in
   9858   *\;*)
   9859     # if the path contains ";" then we assume it to be the separator
   9860     # otherwise default to the standard path separator (i.e. ":") - it is
   9861     # assumed that no part of a normal pathname contains ";" but that should
   9862     # okay in the real world where ";" in dirpaths is itself problematic.
   9863     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9864     ;;
   9865   *)
   9866     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9867     ;;
   9868   esac
   9869   # Ok, now we have the path, separated by spaces, we can step through it
   9870   # and add multilib dir if necessary.
   9871   lt_tmp_lt_search_path_spec=
   9872   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9873   for lt_sys_path in $lt_search_path_spec; do
   9874     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9875       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9876     else
   9877       test -d "$lt_sys_path" && \
   9878 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9879     fi
   9880   done
   9881   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9882 BEGIN {RS=" "; FS="/|\n";} {
   9883   lt_foo="";
   9884   lt_count=0;
   9885   for (lt_i = NF; lt_i > 0; lt_i--) {
   9886     if ($lt_i != "" && $lt_i != ".") {
   9887       if ($lt_i == "..") {
   9888         lt_count++;
   9889       } else {
   9890         if (lt_count == 0) {
   9891           lt_foo="/" $lt_i lt_foo;
   9892         } else {
   9893           lt_count--;
   9894         }
   9895       }
   9896     }
   9897   }
   9898   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9899   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9900 }'`
   9901   # AWK program above erroneously prepends '/' to C:/dos/paths
   9902   # for these hosts.
   9903   case $host_os in
   9904     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9905       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9906   esac
   9907   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9908 else
   9909   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9910 fi
   9911 library_names_spec=
   9912 libname_spec='lib$name'
   9913 soname_spec=
   9914 shrext_cmds=".so"
   9915 postinstall_cmds=
   9916 postuninstall_cmds=
   9917 finish_cmds=
   9918 finish_eval=
   9919 shlibpath_var=
   9920 shlibpath_overrides_runpath=unknown
   9921 version_type=none
   9922 dynamic_linker="$host_os ld.so"
   9923 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9924 need_lib_prefix=unknown
   9925 hardcode_into_libs=no
   9926 
   9927 # when you set need_version to no, make sure it does not cause -set_version
   9928 # flags to be left without arguments
   9929 need_version=unknown
   9930 
   9931 case $host_os in
   9932 aix3*)
   9933   version_type=linux # correct to gnu/linux during the next big refactor
   9934   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9935   shlibpath_var=LIBPATH
   9936 
   9937   # AIX 3 has no versioning support, so we append a major version to the name.
   9938   soname_spec='${libname}${release}${shared_ext}$major'
   9939   ;;
   9940 
   9941 aix[4-9]*)
   9942   version_type=linux # correct to gnu/linux during the next big refactor
   9943   need_lib_prefix=no
   9944   need_version=no
   9945   hardcode_into_libs=yes
   9946   if test "$host_cpu" = ia64; then
   9947     # AIX 5 supports IA64
   9948     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9949     shlibpath_var=LD_LIBRARY_PATH
   9950   else
   9951     # With GCC up to 2.95.x, collect2 would create an import file
   9952     # for dependence libraries.  The import file would start with
   9953     # the line `#! .'.  This would cause the generated library to
   9954     # depend on `.', always an invalid library.  This was fixed in
   9955     # development snapshots of GCC prior to 3.0.
   9956     case $host_os in
   9957       aix4 | aix4.[01] | aix4.[01].*)
   9958       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9959 	   echo ' yes '
   9960 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9961 	:
   9962       else
   9963 	can_build_shared=no
   9964       fi
   9965       ;;
   9966     esac
   9967     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9968     # soname into executable. Probably we can add versioning support to
   9969     # collect2, so additional links can be useful in future.
   9970     if test "$aix_use_runtimelinking" = yes; then
   9971       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9972       # instead of lib<name>.a to let people know that these are not
   9973       # typical AIX shared libraries.
   9974       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9975     else
   9976       # We preserve .a as extension for shared libraries through AIX4.2
   9977       # and later when we are not doing run time linking.
   9978       library_names_spec='${libname}${release}.a $libname.a'
   9979       soname_spec='${libname}${release}${shared_ext}$major'
   9980     fi
   9981     shlibpath_var=LIBPATH
   9982   fi
   9983   ;;
   9984 
   9985 amigaos*)
   9986   case $host_cpu in
   9987   powerpc)
   9988     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9989     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9990     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9991     ;;
   9992   m68k)
   9993     library_names_spec='$libname.ixlibrary $libname.a'
   9994     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9995     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'
   9996     ;;
   9997   esac
   9998   ;;
   9999 
   10000 beos*)
   10001   library_names_spec='${libname}${shared_ext}'
   10002   dynamic_linker="$host_os ld.so"
   10003   shlibpath_var=LIBRARY_PATH
   10004   ;;
   10005 
   10006 bsdi[45]*)
   10007   version_type=linux # correct to gnu/linux during the next big refactor
   10008   need_version=no
   10009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10010   soname_spec='${libname}${release}${shared_ext}$major'
   10011   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10012   shlibpath_var=LD_LIBRARY_PATH
   10013   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10014   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10015   # the default ld.so.conf also contains /usr/contrib/lib and
   10016   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10017   # libtool to hard-code these into programs
   10018   ;;
   10019 
   10020 cygwin* | mingw* | pw32* | cegcc*)
   10021   version_type=windows
   10022   shrext_cmds=".dll"
   10023   need_version=no
   10024   need_lib_prefix=no
   10025 
   10026   case $GCC,$cc_basename in
   10027   yes,*)
   10028     # gcc
   10029     library_names_spec='$libname.dll.a'
   10030     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10031     postinstall_cmds='base_file=`basename \${file}`~
   10032       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10033       dldir=$destdir/`dirname \$dlpath`~
   10034       test -d \$dldir || mkdir -p \$dldir~
   10035       $install_prog $dir/$dlname \$dldir/$dlname~
   10036       chmod a+x \$dldir/$dlname~
   10037       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10038         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10039       fi'
   10040     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10041       dlpath=$dir/\$dldll~
   10042        $RM \$dlpath'
   10043     shlibpath_overrides_runpath=yes
   10044 
   10045     case $host_os in
   10046     cygwin*)
   10047       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10048       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10049 
   10050       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10051       ;;
   10052     mingw* | cegcc*)
   10053       # MinGW DLLs use traditional 'lib' prefix
   10054       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10055       ;;
   10056     pw32*)
   10057       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10058       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10059       ;;
   10060     esac
   10061     dynamic_linker='Win32 ld.exe'
   10062     ;;
   10063 
   10064   *,cl*)
   10065     # Native MSVC
   10066     libname_spec='$name'
   10067     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10068     library_names_spec='${libname}.dll.lib'
   10069 
   10070     case $build_os in
   10071     mingw*)
   10072       sys_lib_search_path_spec=
   10073       lt_save_ifs=$IFS
   10074       IFS=';'
   10075       for lt_path in $LIB
   10076       do
   10077         IFS=$lt_save_ifs
   10078         # Let DOS variable expansion print the short 8.3 style file name.
   10079         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10080         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10081       done
   10082       IFS=$lt_save_ifs
   10083       # Convert to MSYS style.
   10084       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10085       ;;
   10086     cygwin*)
   10087       # Convert to unix form, then to dos form, then back to unix form
   10088       # but this time dos style (no spaces!) so that the unix form looks
   10089       # like /cygdrive/c/PROGRA~1:/cygdr...
   10090       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10091       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10092       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10093       ;;
   10094     *)
   10095       sys_lib_search_path_spec="$LIB"
   10096       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10097         # It is most probably a Windows format PATH.
   10098         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10099       else
   10100         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10101       fi
   10102       # FIXME: find the short name or the path components, as spaces are
   10103       # common. (e.g. "Program Files" -> "PROGRA~1")
   10104       ;;
   10105     esac
   10106 
   10107     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10108     postinstall_cmds='base_file=`basename \${file}`~
   10109       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10110       dldir=$destdir/`dirname \$dlpath`~
   10111       test -d \$dldir || mkdir -p \$dldir~
   10112       $install_prog $dir/$dlname \$dldir/$dlname'
   10113     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10114       dlpath=$dir/\$dldll~
   10115        $RM \$dlpath'
   10116     shlibpath_overrides_runpath=yes
   10117     dynamic_linker='Win32 link.exe'
   10118     ;;
   10119 
   10120   *)
   10121     # Assume MSVC wrapper
   10122     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10123     dynamic_linker='Win32 ld.exe'
   10124     ;;
   10125   esac
   10126   # FIXME: first we should search . and the directory the executable is in
   10127   shlibpath_var=PATH
   10128   ;;
   10129 
   10130 darwin* | rhapsody*)
   10131   dynamic_linker="$host_os dyld"
   10132   version_type=darwin
   10133   need_lib_prefix=no
   10134   need_version=no
   10135   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10136   soname_spec='${libname}${release}${major}$shared_ext'
   10137   shlibpath_overrides_runpath=yes
   10138   shlibpath_var=DYLD_LIBRARY_PATH
   10139   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10140 
   10141   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10142   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10143   ;;
   10144 
   10145 dgux*)
   10146   version_type=linux # correct to gnu/linux during the next big refactor
   10147   need_lib_prefix=no
   10148   need_version=no
   10149   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10150   soname_spec='${libname}${release}${shared_ext}$major'
   10151   shlibpath_var=LD_LIBRARY_PATH
   10152   ;;
   10153 
   10154 freebsd* | dragonfly*)
   10155   # DragonFly does not have aout.  When/if they implement a new
   10156   # versioning mechanism, adjust this.
   10157   if test -x /usr/bin/objformat; then
   10158     objformat=`/usr/bin/objformat`
   10159   else
   10160     case $host_os in
   10161     freebsd[23].*) objformat=aout ;;
   10162     *) objformat=elf ;;
   10163     esac
   10164   fi
   10165   version_type=freebsd-$objformat
   10166   case $version_type in
   10167     freebsd-elf*)
   10168       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10169       need_version=no
   10170       need_lib_prefix=no
   10171       ;;
   10172     freebsd-*)
   10173       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10174       need_version=yes
   10175       ;;
   10176   esac
   10177   shlibpath_var=LD_LIBRARY_PATH
   10178   case $host_os in
   10179   freebsd2.*)
   10180     shlibpath_overrides_runpath=yes
   10181     ;;
   10182   freebsd3.[01]* | freebsdelf3.[01]*)
   10183     shlibpath_overrides_runpath=yes
   10184     hardcode_into_libs=yes
   10185     ;;
   10186   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10187   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10188     shlibpath_overrides_runpath=no
   10189     hardcode_into_libs=yes
   10190     ;;
   10191   *) # from 4.6 on, and DragonFly
   10192     shlibpath_overrides_runpath=yes
   10193     hardcode_into_libs=yes
   10194     ;;
   10195   esac
   10196   ;;
   10197 
   10198 gnu*)
   10199   version_type=linux # correct to gnu/linux during the next big refactor
   10200   need_lib_prefix=no
   10201   need_version=no
   10202   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10203   soname_spec='${libname}${release}${shared_ext}$major'
   10204   shlibpath_var=LD_LIBRARY_PATH
   10205   shlibpath_overrides_runpath=no
   10206   hardcode_into_libs=yes
   10207   ;;
   10208 
   10209 haiku*)
   10210   version_type=linux # correct to gnu/linux during the next big refactor
   10211   need_lib_prefix=no
   10212   need_version=no
   10213   dynamic_linker="$host_os runtime_loader"
   10214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10215   soname_spec='${libname}${release}${shared_ext}$major'
   10216   shlibpath_var=LIBRARY_PATH
   10217   shlibpath_overrides_runpath=yes
   10218   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10219   hardcode_into_libs=yes
   10220   ;;
   10221 
   10222 hpux9* | hpux10* | hpux11*)
   10223   # Give a soname corresponding to the major version so that dld.sl refuses to
   10224   # link against other versions.
   10225   version_type=sunos
   10226   need_lib_prefix=no
   10227   need_version=no
   10228   case $host_cpu in
   10229   ia64*)
   10230     shrext_cmds='.so'
   10231     hardcode_into_libs=yes
   10232     dynamic_linker="$host_os dld.so"
   10233     shlibpath_var=LD_LIBRARY_PATH
   10234     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10236     soname_spec='${libname}${release}${shared_ext}$major'
   10237     if test "X$HPUX_IA64_MODE" = X32; then
   10238       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10239     else
   10240       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10241     fi
   10242     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10243     ;;
   10244   hppa*64*)
   10245     shrext_cmds='.sl'
   10246     hardcode_into_libs=yes
   10247     dynamic_linker="$host_os dld.sl"
   10248     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10249     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10250     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10251     soname_spec='${libname}${release}${shared_ext}$major'
   10252     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10253     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10254     ;;
   10255   *)
   10256     shrext_cmds='.sl'
   10257     dynamic_linker="$host_os dld.sl"
   10258     shlibpath_var=SHLIB_PATH
   10259     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10260     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10261     soname_spec='${libname}${release}${shared_ext}$major'
   10262     ;;
   10263   esac
   10264   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10265   postinstall_cmds='chmod 555 $lib'
   10266   # or fails outright, so override atomically:
   10267   install_override_mode=555
   10268   ;;
   10269 
   10270 interix[3-9]*)
   10271   version_type=linux # correct to gnu/linux during the next big refactor
   10272   need_lib_prefix=no
   10273   need_version=no
   10274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10275   soname_spec='${libname}${release}${shared_ext}$major'
   10276   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10277   shlibpath_var=LD_LIBRARY_PATH
   10278   shlibpath_overrides_runpath=no
   10279   hardcode_into_libs=yes
   10280   ;;
   10281 
   10282 irix5* | irix6* | nonstopux*)
   10283   case $host_os in
   10284     nonstopux*) version_type=nonstopux ;;
   10285     *)
   10286 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10287 		version_type=linux # correct to gnu/linux during the next big refactor
   10288 	else
   10289 		version_type=irix
   10290 	fi ;;
   10291   esac
   10292   need_lib_prefix=no
   10293   need_version=no
   10294   soname_spec='${libname}${release}${shared_ext}$major'
   10295   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10296   case $host_os in
   10297   irix5* | nonstopux*)
   10298     libsuff= shlibsuff=
   10299     ;;
   10300   *)
   10301     case $LD in # libtool.m4 will add one of these switches to LD
   10302     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10303       libsuff= shlibsuff= libmagic=32-bit;;
   10304     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10305       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10306     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10307       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10308     *) libsuff= shlibsuff= libmagic=never-match;;
   10309     esac
   10310     ;;
   10311   esac
   10312   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10313   shlibpath_overrides_runpath=no
   10314   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10315   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10316   hardcode_into_libs=yes
   10317   ;;
   10318 
   10319 # No shared lib support for Linux oldld, aout, or coff.
   10320 linux*oldld* | linux*aout* | linux*coff*)
   10321   dynamic_linker=no
   10322   ;;
   10323 
   10324 # This must be glibc/ELF.
   10325 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10326   version_type=linux # correct to gnu/linux during the next big refactor
   10327   need_lib_prefix=no
   10328   need_version=no
   10329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10330   soname_spec='${libname}${release}${shared_ext}$major'
   10331   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10332   shlibpath_var=LD_LIBRARY_PATH
   10333   shlibpath_overrides_runpath=no
   10334 
   10335   # Some binutils ld are patched to set DT_RUNPATH
   10336   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10337   $as_echo_n "(cached) " >&6
   10338 else
   10339   lt_cv_shlibpath_overrides_runpath=no
   10340     save_LDFLAGS=$LDFLAGS
   10341     save_libdir=$libdir
   10342     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10343 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10344     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10345 /* end confdefs.h.  */
   10346 
   10347 int
   10348 main ()
   10349 {
   10350 
   10351   ;
   10352   return 0;
   10353 }
   10354 _ACEOF
   10355 if ac_fn_c_try_link "$LINENO"; then :
   10356   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10357   lt_cv_shlibpath_overrides_runpath=yes
   10358 fi
   10359 fi
   10360 rm -f core conftest.err conftest.$ac_objext \
   10361     conftest$ac_exeext conftest.$ac_ext
   10362     LDFLAGS=$save_LDFLAGS
   10363     libdir=$save_libdir
   10364 
   10365 fi
   10366 
   10367   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10368 
   10369   # This implies no fast_install, which is unacceptable.
   10370   # Some rework will be needed to allow for fast_install
   10371   # before this can be enabled.
   10372   hardcode_into_libs=yes
   10373 
   10374   # Append ld.so.conf contents to the search path
   10375   if test -f /etc/ld.so.conf; then
   10376     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' ' '`
   10377     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10378   fi
   10379 
   10380   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10381   # powerpc, because MkLinux only supported shared libraries with the
   10382   # GNU dynamic linker.  Since this was broken with cross compilers,
   10383   # most powerpc-linux boxes support dynamic linking these days and
   10384   # people can always --disable-shared, the test was removed, and we
   10385   # assume the GNU/Linux dynamic linker is in use.
   10386   dynamic_linker='GNU/Linux ld.so'
   10387   ;;
   10388 
   10389 netbsd*)
   10390   version_type=sunos
   10391   need_lib_prefix=no
   10392   need_version=no
   10393   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10394     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10395     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10396     dynamic_linker='NetBSD (a.out) ld.so'
   10397   else
   10398     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10399     soname_spec='${libname}${release}${shared_ext}$major'
   10400     dynamic_linker='NetBSD ld.elf_so'
   10401   fi
   10402   shlibpath_var=LD_LIBRARY_PATH
   10403   shlibpath_overrides_runpath=yes
   10404   hardcode_into_libs=yes
   10405   ;;
   10406 
   10407 newsos6)
   10408   version_type=linux # correct to gnu/linux during the next big refactor
   10409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10410   shlibpath_var=LD_LIBRARY_PATH
   10411   shlibpath_overrides_runpath=yes
   10412   ;;
   10413 
   10414 *nto* | *qnx*)
   10415   version_type=qnx
   10416   need_lib_prefix=no
   10417   need_version=no
   10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10419   soname_spec='${libname}${release}${shared_ext}$major'
   10420   shlibpath_var=LD_LIBRARY_PATH
   10421   shlibpath_overrides_runpath=no
   10422   hardcode_into_libs=yes
   10423   dynamic_linker='ldqnx.so'
   10424   ;;
   10425 
   10426 openbsd*)
   10427   version_type=sunos
   10428   sys_lib_dlsearch_path_spec="/usr/lib"
   10429   need_lib_prefix=no
   10430   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10431   case $host_os in
   10432     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10433     *)				need_version=no  ;;
   10434   esac
   10435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10436   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10437   shlibpath_var=LD_LIBRARY_PATH
   10438   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10439     case $host_os in
   10440       openbsd2.[89] | openbsd2.[89].*)
   10441 	shlibpath_overrides_runpath=no
   10442 	;;
   10443       *)
   10444 	shlibpath_overrides_runpath=yes
   10445 	;;
   10446       esac
   10447   else
   10448     shlibpath_overrides_runpath=yes
   10449   fi
   10450   ;;
   10451 
   10452 os2*)
   10453   libname_spec='$name'
   10454   shrext_cmds=".dll"
   10455   need_lib_prefix=no
   10456   library_names_spec='$libname${shared_ext} $libname.a'
   10457   dynamic_linker='OS/2 ld.exe'
   10458   shlibpath_var=LIBPATH
   10459   ;;
   10460 
   10461 osf3* | osf4* | osf5*)
   10462   version_type=osf
   10463   need_lib_prefix=no
   10464   need_version=no
   10465   soname_spec='${libname}${release}${shared_ext}$major'
   10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10467   shlibpath_var=LD_LIBRARY_PATH
   10468   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10469   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10470   ;;
   10471 
   10472 rdos*)
   10473   dynamic_linker=no
   10474   ;;
   10475 
   10476 solaris*)
   10477   version_type=linux # correct to gnu/linux during the next big refactor
   10478   need_lib_prefix=no
   10479   need_version=no
   10480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10481   soname_spec='${libname}${release}${shared_ext}$major'
   10482   shlibpath_var=LD_LIBRARY_PATH
   10483   shlibpath_overrides_runpath=yes
   10484   hardcode_into_libs=yes
   10485   # ldd complains unless libraries are executable
   10486   postinstall_cmds='chmod +x $lib'
   10487   ;;
   10488 
   10489 sunos4*)
   10490   version_type=sunos
   10491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10492   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10493   shlibpath_var=LD_LIBRARY_PATH
   10494   shlibpath_overrides_runpath=yes
   10495   if test "$with_gnu_ld" = yes; then
   10496     need_lib_prefix=no
   10497   fi
   10498   need_version=yes
   10499   ;;
   10500 
   10501 sysv4 | sysv4.3*)
   10502   version_type=linux # correct to gnu/linux during the next big refactor
   10503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10504   soname_spec='${libname}${release}${shared_ext}$major'
   10505   shlibpath_var=LD_LIBRARY_PATH
   10506   case $host_vendor in
   10507     sni)
   10508       shlibpath_overrides_runpath=no
   10509       need_lib_prefix=no
   10510       runpath_var=LD_RUN_PATH
   10511       ;;
   10512     siemens)
   10513       need_lib_prefix=no
   10514       ;;
   10515     motorola)
   10516       need_lib_prefix=no
   10517       need_version=no
   10518       shlibpath_overrides_runpath=no
   10519       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10520       ;;
   10521   esac
   10522   ;;
   10523 
   10524 sysv4*MP*)
   10525   if test -d /usr/nec ;then
   10526     version_type=linux # correct to gnu/linux during the next big refactor
   10527     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10528     soname_spec='$libname${shared_ext}.$major'
   10529     shlibpath_var=LD_LIBRARY_PATH
   10530   fi
   10531   ;;
   10532 
   10533 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10534   version_type=freebsd-elf
   10535   need_lib_prefix=no
   10536   need_version=no
   10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10538   soname_spec='${libname}${release}${shared_ext}$major'
   10539   shlibpath_var=LD_LIBRARY_PATH
   10540   shlibpath_overrides_runpath=yes
   10541   hardcode_into_libs=yes
   10542   if test "$with_gnu_ld" = yes; then
   10543     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10544   else
   10545     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10546     case $host_os in
   10547       sco3.2v5*)
   10548         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10549 	;;
   10550     esac
   10551   fi
   10552   sys_lib_dlsearch_path_spec='/usr/lib'
   10553   ;;
   10554 
   10555 tpf*)
   10556   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10557   version_type=linux # correct to gnu/linux during the next big refactor
   10558   need_lib_prefix=no
   10559   need_version=no
   10560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10561   shlibpath_var=LD_LIBRARY_PATH
   10562   shlibpath_overrides_runpath=no
   10563   hardcode_into_libs=yes
   10564   ;;
   10565 
   10566 uts4*)
   10567   version_type=linux # correct to gnu/linux during the next big refactor
   10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10569   soname_spec='${libname}${release}${shared_ext}$major'
   10570   shlibpath_var=LD_LIBRARY_PATH
   10571   ;;
   10572 
   10573 *)
   10574   dynamic_linker=no
   10575   ;;
   10576 esac
   10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10578 $as_echo "$dynamic_linker" >&6; }
   10579 test "$dynamic_linker" = no && can_build_shared=no
   10580 
   10581 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10582 if test "$GCC" = yes; then
   10583   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10584 fi
   10585 
   10586 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10587   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10588 fi
   10589 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10590   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10591 fi
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10685 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10686 hardcode_action=
   10687 if test -n "$hardcode_libdir_flag_spec" ||
   10688    test -n "$runpath_var" ||
   10689    test "X$hardcode_automatic" = "Xyes" ; then
   10690 
   10691   # We can hardcode non-existent directories.
   10692   if test "$hardcode_direct" != no &&
   10693      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10694      # have to relink, otherwise we might link with an installed library
   10695      # when we should be linking with a yet-to-be-installed one
   10696      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10697      test "$hardcode_minus_L" != no; then
   10698     # Linking always hardcodes the temporary library directory.
   10699     hardcode_action=relink
   10700   else
   10701     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10702     hardcode_action=immediate
   10703   fi
   10704 else
   10705   # We cannot hardcode anything, or else we can only hardcode existing
   10706   # directories.
   10707   hardcode_action=unsupported
   10708 fi
   10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10710 $as_echo "$hardcode_action" >&6; }
   10711 
   10712 if test "$hardcode_action" = relink ||
   10713    test "$inherit_rpath" = yes; then
   10714   # Fast installation is not supported
   10715   enable_fast_install=no
   10716 elif test "$shlibpath_overrides_runpath" = yes ||
   10717      test "$enable_shared" = no; then
   10718   # Fast installation is not necessary
   10719   enable_fast_install=needless
   10720 fi
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727   if test "x$enable_dlopen" != xyes; then
   10728   enable_dlopen=unknown
   10729   enable_dlopen_self=unknown
   10730   enable_dlopen_self_static=unknown
   10731 else
   10732   lt_cv_dlopen=no
   10733   lt_cv_dlopen_libs=
   10734 
   10735   case $host_os in
   10736   beos*)
   10737     lt_cv_dlopen="load_add_on"
   10738     lt_cv_dlopen_libs=
   10739     lt_cv_dlopen_self=yes
   10740     ;;
   10741 
   10742   mingw* | pw32* | cegcc*)
   10743     lt_cv_dlopen="LoadLibrary"
   10744     lt_cv_dlopen_libs=
   10745     ;;
   10746 
   10747   cygwin*)
   10748     lt_cv_dlopen="dlopen"
   10749     lt_cv_dlopen_libs=
   10750     ;;
   10751 
   10752   darwin*)
   10753   # if libdl is installed we need to link against it
   10754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10755 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10756 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10757   $as_echo_n "(cached) " >&6
   10758 else
   10759   ac_check_lib_save_LIBS=$LIBS
   10760 LIBS="-ldl  $LIBS"
   10761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10762 /* end confdefs.h.  */
   10763 
   10764 /* Override any GCC internal prototype to avoid an error.
   10765    Use char because int might match the return type of a GCC
   10766    builtin and then its argument prototype would still apply.  */
   10767 #ifdef __cplusplus
   10768 extern "C"
   10769 #endif
   10770 char dlopen ();
   10771 int
   10772 main ()
   10773 {
   10774 return dlopen ();
   10775   ;
   10776   return 0;
   10777 }
   10778 _ACEOF
   10779 if ac_fn_c_try_link "$LINENO"; then :
   10780   ac_cv_lib_dl_dlopen=yes
   10781 else
   10782   ac_cv_lib_dl_dlopen=no
   10783 fi
   10784 rm -f core conftest.err conftest.$ac_objext \
   10785     conftest$ac_exeext conftest.$ac_ext
   10786 LIBS=$ac_check_lib_save_LIBS
   10787 fi
   10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10789 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10790 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10791   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10792 else
   10793 
   10794     lt_cv_dlopen="dyld"
   10795     lt_cv_dlopen_libs=
   10796     lt_cv_dlopen_self=yes
   10797 
   10798 fi
   10799 
   10800     ;;
   10801 
   10802   *)
   10803     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10804 if test "x$ac_cv_func_shl_load" = xyes; then :
   10805   lt_cv_dlopen="shl_load"
   10806 else
   10807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10808 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10809 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10810   $as_echo_n "(cached) " >&6
   10811 else
   10812   ac_check_lib_save_LIBS=$LIBS
   10813 LIBS="-ldld  $LIBS"
   10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10815 /* end confdefs.h.  */
   10816 
   10817 /* Override any GCC internal prototype to avoid an error.
   10818    Use char because int might match the return type of a GCC
   10819    builtin and then its argument prototype would still apply.  */
   10820 #ifdef __cplusplus
   10821 extern "C"
   10822 #endif
   10823 char shl_load ();
   10824 int
   10825 main ()
   10826 {
   10827 return shl_load ();
   10828   ;
   10829   return 0;
   10830 }
   10831 _ACEOF
   10832 if ac_fn_c_try_link "$LINENO"; then :
   10833   ac_cv_lib_dld_shl_load=yes
   10834 else
   10835   ac_cv_lib_dld_shl_load=no
   10836 fi
   10837 rm -f core conftest.err conftest.$ac_objext \
   10838     conftest$ac_exeext conftest.$ac_ext
   10839 LIBS=$ac_check_lib_save_LIBS
   10840 fi
   10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10842 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10843 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10844   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10845 else
   10846   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10847 if test "x$ac_cv_func_dlopen" = xyes; then :
   10848   lt_cv_dlopen="dlopen"
   10849 else
   10850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10851 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10852 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10853   $as_echo_n "(cached) " >&6
   10854 else
   10855   ac_check_lib_save_LIBS=$LIBS
   10856 LIBS="-ldl  $LIBS"
   10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10858 /* end confdefs.h.  */
   10859 
   10860 /* Override any GCC internal prototype to avoid an error.
   10861    Use char because int might match the return type of a GCC
   10862    builtin and then its argument prototype would still apply.  */
   10863 #ifdef __cplusplus
   10864 extern "C"
   10865 #endif
   10866 char dlopen ();
   10867 int
   10868 main ()
   10869 {
   10870 return dlopen ();
   10871   ;
   10872   return 0;
   10873 }
   10874 _ACEOF
   10875 if ac_fn_c_try_link "$LINENO"; then :
   10876   ac_cv_lib_dl_dlopen=yes
   10877 else
   10878   ac_cv_lib_dl_dlopen=no
   10879 fi
   10880 rm -f core conftest.err conftest.$ac_objext \
   10881     conftest$ac_exeext conftest.$ac_ext
   10882 LIBS=$ac_check_lib_save_LIBS
   10883 fi
   10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10885 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10886 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10887   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10888 else
   10889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10890 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10891 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10892   $as_echo_n "(cached) " >&6
   10893 else
   10894   ac_check_lib_save_LIBS=$LIBS
   10895 LIBS="-lsvld  $LIBS"
   10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10897 /* end confdefs.h.  */
   10898 
   10899 /* Override any GCC internal prototype to avoid an error.
   10900    Use char because int might match the return type of a GCC
   10901    builtin and then its argument prototype would still apply.  */
   10902 #ifdef __cplusplus
   10903 extern "C"
   10904 #endif
   10905 char dlopen ();
   10906 int
   10907 main ()
   10908 {
   10909 return dlopen ();
   10910   ;
   10911   return 0;
   10912 }
   10913 _ACEOF
   10914 if ac_fn_c_try_link "$LINENO"; then :
   10915   ac_cv_lib_svld_dlopen=yes
   10916 else
   10917   ac_cv_lib_svld_dlopen=no
   10918 fi
   10919 rm -f core conftest.err conftest.$ac_objext \
   10920     conftest$ac_exeext conftest.$ac_ext
   10921 LIBS=$ac_check_lib_save_LIBS
   10922 fi
   10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10924 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10925 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10926   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10927 else
   10928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10929 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10930 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10931   $as_echo_n "(cached) " >&6
   10932 else
   10933   ac_check_lib_save_LIBS=$LIBS
   10934 LIBS="-ldld  $LIBS"
   10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10936 /* end confdefs.h.  */
   10937 
   10938 /* Override any GCC internal prototype to avoid an error.
   10939    Use char because int might match the return type of a GCC
   10940    builtin and then its argument prototype would still apply.  */
   10941 #ifdef __cplusplus
   10942 extern "C"
   10943 #endif
   10944 char dld_link ();
   10945 int
   10946 main ()
   10947 {
   10948 return dld_link ();
   10949   ;
   10950   return 0;
   10951 }
   10952 _ACEOF
   10953 if ac_fn_c_try_link "$LINENO"; then :
   10954   ac_cv_lib_dld_dld_link=yes
   10955 else
   10956   ac_cv_lib_dld_dld_link=no
   10957 fi
   10958 rm -f core conftest.err conftest.$ac_objext \
   10959     conftest$ac_exeext conftest.$ac_ext
   10960 LIBS=$ac_check_lib_save_LIBS
   10961 fi
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10963 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10964 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10965   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10966 fi
   10967 
   10968 
   10969 fi
   10970 
   10971 
   10972 fi
   10973 
   10974 
   10975 fi
   10976 
   10977 
   10978 fi
   10979 
   10980 
   10981 fi
   10982 
   10983     ;;
   10984   esac
   10985 
   10986   if test "x$lt_cv_dlopen" != xno; then
   10987     enable_dlopen=yes
   10988   else
   10989     enable_dlopen=no
   10990   fi
   10991 
   10992   case $lt_cv_dlopen in
   10993   dlopen)
   10994     save_CPPFLAGS="$CPPFLAGS"
   10995     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10996 
   10997     save_LDFLAGS="$LDFLAGS"
   10998     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10999 
   11000     save_LIBS="$LIBS"
   11001     LIBS="$lt_cv_dlopen_libs $LIBS"
   11002 
   11003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11004 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11005 if ${lt_cv_dlopen_self+:} false; then :
   11006   $as_echo_n "(cached) " >&6
   11007 else
   11008   	  if test "$cross_compiling" = yes; then :
   11009   lt_cv_dlopen_self=cross
   11010 else
   11011   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11012   lt_status=$lt_dlunknown
   11013   cat > conftest.$ac_ext <<_LT_EOF
   11014 #line $LINENO "configure"
   11015 #include "confdefs.h"
   11016 
   11017 #if HAVE_DLFCN_H
   11018 #include <dlfcn.h>
   11019 #endif
   11020 
   11021 #include <stdio.h>
   11022 
   11023 #ifdef RTLD_GLOBAL
   11024 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11025 #else
   11026 #  ifdef DL_GLOBAL
   11027 #    define LT_DLGLOBAL		DL_GLOBAL
   11028 #  else
   11029 #    define LT_DLGLOBAL		0
   11030 #  endif
   11031 #endif
   11032 
   11033 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11034    find out it does not work in some platform. */
   11035 #ifndef LT_DLLAZY_OR_NOW
   11036 #  ifdef RTLD_LAZY
   11037 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11038 #  else
   11039 #    ifdef DL_LAZY
   11040 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11041 #    else
   11042 #      ifdef RTLD_NOW
   11043 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11044 #      else
   11045 #        ifdef DL_NOW
   11046 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11047 #        else
   11048 #          define LT_DLLAZY_OR_NOW	0
   11049 #        endif
   11050 #      endif
   11051 #    endif
   11052 #  endif
   11053 #endif
   11054 
   11055 /* When -fvisbility=hidden is used, assume the code has been annotated
   11056    correspondingly for the symbols needed.  */
   11057 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11058 int fnord () __attribute__((visibility("default")));
   11059 #endif
   11060 
   11061 int fnord () { return 42; }
   11062 int main ()
   11063 {
   11064   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11065   int status = $lt_dlunknown;
   11066 
   11067   if (self)
   11068     {
   11069       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11070       else
   11071         {
   11072 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11073           else puts (dlerror ());
   11074 	}
   11075       /* dlclose (self); */
   11076     }
   11077   else
   11078     puts (dlerror ());
   11079 
   11080   return status;
   11081 }
   11082 _LT_EOF
   11083   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11084   (eval $ac_link) 2>&5
   11085   ac_status=$?
   11086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11087   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11088     (./conftest; exit; ) >&5 2>/dev/null
   11089     lt_status=$?
   11090     case x$lt_status in
   11091       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11092       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11093       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11094     esac
   11095   else :
   11096     # compilation failed
   11097     lt_cv_dlopen_self=no
   11098   fi
   11099 fi
   11100 rm -fr conftest*
   11101 
   11102 
   11103 fi
   11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11105 $as_echo "$lt_cv_dlopen_self" >&6; }
   11106 
   11107     if test "x$lt_cv_dlopen_self" = xyes; then
   11108       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11109       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11110 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11111 if ${lt_cv_dlopen_self_static+:} false; then :
   11112   $as_echo_n "(cached) " >&6
   11113 else
   11114   	  if test "$cross_compiling" = yes; then :
   11115   lt_cv_dlopen_self_static=cross
   11116 else
   11117   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11118   lt_status=$lt_dlunknown
   11119   cat > conftest.$ac_ext <<_LT_EOF
   11120 #line $LINENO "configure"
   11121 #include "confdefs.h"
   11122 
   11123 #if HAVE_DLFCN_H
   11124 #include <dlfcn.h>
   11125 #endif
   11126 
   11127 #include <stdio.h>
   11128 
   11129 #ifdef RTLD_GLOBAL
   11130 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11131 #else
   11132 #  ifdef DL_GLOBAL
   11133 #    define LT_DLGLOBAL		DL_GLOBAL
   11134 #  else
   11135 #    define LT_DLGLOBAL		0
   11136 #  endif
   11137 #endif
   11138 
   11139 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11140    find out it does not work in some platform. */
   11141 #ifndef LT_DLLAZY_OR_NOW
   11142 #  ifdef RTLD_LAZY
   11143 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11144 #  else
   11145 #    ifdef DL_LAZY
   11146 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11147 #    else
   11148 #      ifdef RTLD_NOW
   11149 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11150 #      else
   11151 #        ifdef DL_NOW
   11152 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11153 #        else
   11154 #          define LT_DLLAZY_OR_NOW	0
   11155 #        endif
   11156 #      endif
   11157 #    endif
   11158 #  endif
   11159 #endif
   11160 
   11161 /* When -fvisbility=hidden is used, assume the code has been annotated
   11162    correspondingly for the symbols needed.  */
   11163 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11164 int fnord () __attribute__((visibility("default")));
   11165 #endif
   11166 
   11167 int fnord () { return 42; }
   11168 int main ()
   11169 {
   11170   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11171   int status = $lt_dlunknown;
   11172 
   11173   if (self)
   11174     {
   11175       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11176       else
   11177         {
   11178 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11179           else puts (dlerror ());
   11180 	}
   11181       /* dlclose (self); */
   11182     }
   11183   else
   11184     puts (dlerror ());
   11185 
   11186   return status;
   11187 }
   11188 _LT_EOF
   11189   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11190   (eval $ac_link) 2>&5
   11191   ac_status=$?
   11192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11193   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11194     (./conftest; exit; ) >&5 2>/dev/null
   11195     lt_status=$?
   11196     case x$lt_status in
   11197       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11198       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11199       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11200     esac
   11201   else :
   11202     # compilation failed
   11203     lt_cv_dlopen_self_static=no
   11204   fi
   11205 fi
   11206 rm -fr conftest*
   11207 
   11208 
   11209 fi
   11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11211 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11212     fi
   11213 
   11214     CPPFLAGS="$save_CPPFLAGS"
   11215     LDFLAGS="$save_LDFLAGS"
   11216     LIBS="$save_LIBS"
   11217     ;;
   11218   esac
   11219 
   11220   case $lt_cv_dlopen_self in
   11221   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11222   *) enable_dlopen_self=unknown ;;
   11223   esac
   11224 
   11225   case $lt_cv_dlopen_self_static in
   11226   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11227   *) enable_dlopen_self_static=unknown ;;
   11228   esac
   11229 fi
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 striplib=
   11248 old_striplib=
   11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11250 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11251 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11252   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11253   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11255 $as_echo "yes" >&6; }
   11256 else
   11257 # FIXME - insert some real tests, host_os isn't really good enough
   11258   case $host_os in
   11259   darwin*)
   11260     if test -n "$STRIP" ; then
   11261       striplib="$STRIP -x"
   11262       old_striplib="$STRIP -S"
   11263       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11264 $as_echo "yes" >&6; }
   11265     else
   11266       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11267 $as_echo "no" >&6; }
   11268     fi
   11269     ;;
   11270   *)
   11271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11272 $as_echo "no" >&6; }
   11273     ;;
   11274   esac
   11275 fi
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288   # Report which library types will actually be built
   11289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11290 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11292 $as_echo "$can_build_shared" >&6; }
   11293 
   11294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11295 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11296   test "$can_build_shared" = "no" && enable_shared=no
   11297 
   11298   # On AIX, shared libraries and static libraries use the same namespace, and
   11299   # are all built from PIC.
   11300   case $host_os in
   11301   aix3*)
   11302     test "$enable_shared" = yes && enable_static=no
   11303     if test -n "$RANLIB"; then
   11304       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11305       postinstall_cmds='$RANLIB $lib'
   11306     fi
   11307     ;;
   11308 
   11309   aix[4-9]*)
   11310     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11311       test "$enable_shared" = yes && enable_static=no
   11312     fi
   11313     ;;
   11314   esac
   11315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11316 $as_echo "$enable_shared" >&6; }
   11317 
   11318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11319 $as_echo_n "checking whether to build static libraries... " >&6; }
   11320   # Make sure either enable_shared or enable_static is yes.
   11321   test "$enable_shared" = yes || enable_static=yes
   11322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11323 $as_echo "$enable_static" >&6; }
   11324 
   11325 
   11326 
   11327 
   11328 fi
   11329 ac_ext=c
   11330 ac_cpp='$CPP $CPPFLAGS'
   11331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11334 
   11335 CC="$lt_save_CC"
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351         ac_config_commands="$ac_config_commands libtool"
   11352 
   11353 
   11354 
   11355 
   11356 # Only expand once:
   11357 
   11358 
   11359 
   11360 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11373 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11374 if ${ac_cv_prog_cc_c99+:} false; then :
   11375   $as_echo_n "(cached) " >&6
   11376 else
   11377   ac_cv_prog_cc_c99=no
   11378 ac_save_CC=$CC
   11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11380 /* end confdefs.h.  */
   11381 #include <stdarg.h>
   11382 #include <stdbool.h>
   11383 #include <stdlib.h>
   11384 #include <wchar.h>
   11385 #include <stdio.h>
   11386 
   11387 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11388 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11389 #define showlist(...) puts (#__VA_ARGS__)
   11390 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11391 static void
   11392 test_varargs_macros (void)
   11393 {
   11394   int x = 1234;
   11395   int y = 5678;
   11396   debug ("Flag");
   11397   debug ("X = %d\n", x);
   11398   showlist (The first, second, and third items.);
   11399   report (x>y, "x is %d but y is %d", x, y);
   11400 }
   11401 
   11402 // Check long long types.
   11403 #define BIG64 18446744073709551615ull
   11404 #define BIG32 4294967295ul
   11405 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11406 #if !BIG_OK
   11407   your preprocessor is broken;
   11408 #endif
   11409 #if BIG_OK
   11410 #else
   11411   your preprocessor is broken;
   11412 #endif
   11413 static long long int bignum = -9223372036854775807LL;
   11414 static unsigned long long int ubignum = BIG64;
   11415 
   11416 struct incomplete_array
   11417 {
   11418   int datasize;
   11419   double data[];
   11420 };
   11421 
   11422 struct named_init {
   11423   int number;
   11424   const wchar_t *name;
   11425   double average;
   11426 };
   11427 
   11428 typedef const char *ccp;
   11429 
   11430 static inline int
   11431 test_restrict (ccp restrict text)
   11432 {
   11433   // See if C++-style comments work.
   11434   // Iterate through items via the restricted pointer.
   11435   // Also check for declarations in for loops.
   11436   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11437     continue;
   11438   return 0;
   11439 }
   11440 
   11441 // Check varargs and va_copy.
   11442 static void
   11443 test_varargs (const char *format, ...)
   11444 {
   11445   va_list args;
   11446   va_start (args, format);
   11447   va_list args_copy;
   11448   va_copy (args_copy, args);
   11449 
   11450   const char *str;
   11451   int number;
   11452   float fnumber;
   11453 
   11454   while (*format)
   11455     {
   11456       switch (*format++)
   11457 	{
   11458 	case 's': // string
   11459 	  str = va_arg (args_copy, const char *);
   11460 	  break;
   11461 	case 'd': // int
   11462 	  number = va_arg (args_copy, int);
   11463 	  break;
   11464 	case 'f': // float
   11465 	  fnumber = va_arg (args_copy, double);
   11466 	  break;
   11467 	default:
   11468 	  break;
   11469 	}
   11470     }
   11471   va_end (args_copy);
   11472   va_end (args);
   11473 }
   11474 
   11475 int
   11476 main ()
   11477 {
   11478 
   11479   // Check bool.
   11480   _Bool success = false;
   11481 
   11482   // Check restrict.
   11483   if (test_restrict ("String literal") == 0)
   11484     success = true;
   11485   char *restrict newvar = "Another string";
   11486 
   11487   // Check varargs.
   11488   test_varargs ("s, d' f .", "string", 65, 34.234);
   11489   test_varargs_macros ();
   11490 
   11491   // Check flexible array members.
   11492   struct incomplete_array *ia =
   11493     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11494   ia->datasize = 10;
   11495   for (int i = 0; i < ia->datasize; ++i)
   11496     ia->data[i] = i * 1.234;
   11497 
   11498   // Check named initializers.
   11499   struct named_init ni = {
   11500     .number = 34,
   11501     .name = L"Test wide string",
   11502     .average = 543.34343,
   11503   };
   11504 
   11505   ni.number = 58;
   11506 
   11507   int dynamic_array[ni.number];
   11508   dynamic_array[ni.number - 1] = 543;
   11509 
   11510   // work around unused variable warnings
   11511   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11512 	  || dynamic_array[ni.number - 1] != 543);
   11513 
   11514   ;
   11515   return 0;
   11516 }
   11517 _ACEOF
   11518 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11519 do
   11520   CC="$ac_save_CC $ac_arg"
   11521   if ac_fn_c_try_compile "$LINENO"; then :
   11522   ac_cv_prog_cc_c99=$ac_arg
   11523 fi
   11524 rm -f core conftest.err conftest.$ac_objext
   11525   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11526 done
   11527 rm -f conftest.$ac_ext
   11528 CC=$ac_save_CC
   11529 
   11530 fi
   11531 # AC_CACHE_VAL
   11532 case "x$ac_cv_prog_cc_c99" in
   11533   x)
   11534     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11535 $as_echo "none needed" >&6; } ;;
   11536   xno)
   11537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11538 $as_echo "unsupported" >&6; } ;;
   11539   *)
   11540     CC="$CC $ac_cv_prog_cc_c99"
   11541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11542 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11543 esac
   11544 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11545 
   11546 fi
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11554 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11555   CLANGCC="yes"
   11556 else
   11557   CLANGCC="no"
   11558 fi
   11559 
   11560 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11561 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11562   INTELCC="yes"
   11563 else
   11564   INTELCC="no"
   11565 fi
   11566 
   11567 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11568 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11569   SUNCC="yes"
   11570 else
   11571   SUNCC="no"
   11572 fi
   11573 
   11574 
   11575 
   11576 
   11577 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11578 	if test -n "$ac_tool_prefix"; then
   11579   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11580 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11582 $as_echo_n "checking for $ac_word... " >&6; }
   11583 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11584   $as_echo_n "(cached) " >&6
   11585 else
   11586   case $PKG_CONFIG in
   11587   [\\/]* | ?:[\\/]*)
   11588   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11589   ;;
   11590   *)
   11591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11592 for as_dir in $PATH
   11593 do
   11594   IFS=$as_save_IFS
   11595   test -z "$as_dir" && as_dir=.
   11596     for ac_exec_ext in '' $ac_executable_extensions; do
   11597   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11598     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11600     break 2
   11601   fi
   11602 done
   11603   done
   11604 IFS=$as_save_IFS
   11605 
   11606   ;;
   11607 esac
   11608 fi
   11609 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11610 if test -n "$PKG_CONFIG"; then
   11611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11612 $as_echo "$PKG_CONFIG" >&6; }
   11613 else
   11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11615 $as_echo "no" >&6; }
   11616 fi
   11617 
   11618 
   11619 fi
   11620 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11621   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11622   # Extract the first word of "pkg-config", so it can be a program name with args.
   11623 set dummy pkg-config; ac_word=$2
   11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11625 $as_echo_n "checking for $ac_word... " >&6; }
   11626 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11627   $as_echo_n "(cached) " >&6
   11628 else
   11629   case $ac_pt_PKG_CONFIG in
   11630   [\\/]* | ?:[\\/]*)
   11631   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11632   ;;
   11633   *)
   11634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11635 for as_dir in $PATH
   11636 do
   11637   IFS=$as_save_IFS
   11638   test -z "$as_dir" && as_dir=.
   11639     for ac_exec_ext in '' $ac_executable_extensions; do
   11640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11641     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11643     break 2
   11644   fi
   11645 done
   11646   done
   11647 IFS=$as_save_IFS
   11648 
   11649   ;;
   11650 esac
   11651 fi
   11652 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11653 if test -n "$ac_pt_PKG_CONFIG"; then
   11654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11655 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11656 else
   11657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11658 $as_echo "no" >&6; }
   11659 fi
   11660 
   11661   if test "x$ac_pt_PKG_CONFIG" = x; then
   11662     PKG_CONFIG=""
   11663   else
   11664     case $cross_compiling:$ac_tool_warned in
   11665 yes:)
   11666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11668 ac_tool_warned=yes ;;
   11669 esac
   11670     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11671   fi
   11672 else
   11673   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11674 fi
   11675 
   11676 fi
   11677 if test -n "$PKG_CONFIG"; then
   11678 	_pkg_min_version=0.9.0
   11679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11680 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11681 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11683 $as_echo "yes" >&6; }
   11684 	else
   11685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11686 $as_echo "no" >&6; }
   11687 		PKG_CONFIG=""
   11688 	fi
   11689 
   11690 fi
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 # Check whether --enable-selective-werror was given.
   11697 if test "${enable_selective_werror+set}" = set; then :
   11698   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11699 else
   11700   SELECTIVE_WERROR=yes
   11701 fi
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11708 if test "x$SUNCC" = "xyes"; then
   11709     BASE_CFLAGS="-v"
   11710 else
   11711     BASE_CFLAGS=""
   11712 fi
   11713 
   11714 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 xorg_testset_save_CFLAGS="$CFLAGS"
   11729 
   11730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11733 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11734 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11735   $as_echo_n "(cached) " >&6
   11736 else
   11737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11738 /* end confdefs.h.  */
   11739 int i;
   11740 _ACEOF
   11741 if ac_fn_c_try_compile "$LINENO"; then :
   11742   xorg_cv_cc_flag_unknown_warning_option=yes
   11743 else
   11744   xorg_cv_cc_flag_unknown_warning_option=no
   11745 fi
   11746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11747 fi
   11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11749 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11751 	CFLAGS="$xorg_testset_save_CFLAGS"
   11752 fi
   11753 
   11754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11757 	fi
   11758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11760 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11761 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11762   $as_echo_n "(cached) " >&6
   11763 else
   11764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11765 /* end confdefs.h.  */
   11766 int i;
   11767 _ACEOF
   11768 if ac_fn_c_try_compile "$LINENO"; then :
   11769   xorg_cv_cc_flag_unused_command_line_argument=yes
   11770 else
   11771   xorg_cv_cc_flag_unused_command_line_argument=no
   11772 fi
   11773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11774 fi
   11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11776 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11778 	CFLAGS="$xorg_testset_save_CFLAGS"
   11779 fi
   11780 
   11781 found="no"
   11782 
   11783 	if test $found = "no" ; then
   11784 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11786 		fi
   11787 
   11788 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11790 		fi
   11791 
   11792 		CFLAGS="$CFLAGS -Wall"
   11793 
   11794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11795 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11796 		cacheid=xorg_cv_cc_flag__Wall
   11797 		if eval \${$cacheid+:} false; then :
   11798   $as_echo_n "(cached) " >&6
   11799 else
   11800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11801 /* end confdefs.h.  */
   11802 int i;
   11803 int
   11804 main ()
   11805 {
   11806 
   11807   ;
   11808   return 0;
   11809 }
   11810 _ACEOF
   11811 if ac_fn_c_try_link "$LINENO"; then :
   11812   eval $cacheid=yes
   11813 else
   11814   eval $cacheid=no
   11815 fi
   11816 rm -f core conftest.err conftest.$ac_objext \
   11817     conftest$ac_exeext conftest.$ac_ext
   11818 fi
   11819 
   11820 
   11821 		CFLAGS="$xorg_testset_save_CFLAGS"
   11822 
   11823 		eval supported=\$$cacheid
   11824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11825 $as_echo "$supported" >&6; }
   11826 		if test "$supported" = "yes" ; then
   11827 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11828 			found="yes"
   11829 		fi
   11830 	fi
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 xorg_testset_save_CFLAGS="$CFLAGS"
   11847 
   11848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11853   $as_echo_n "(cached) " >&6
   11854 else
   11855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11856 /* end confdefs.h.  */
   11857 int i;
   11858 _ACEOF
   11859 if ac_fn_c_try_compile "$LINENO"; then :
   11860   xorg_cv_cc_flag_unknown_warning_option=yes
   11861 else
   11862   xorg_cv_cc_flag_unknown_warning_option=no
   11863 fi
   11864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11865 fi
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11869 	CFLAGS="$xorg_testset_save_CFLAGS"
   11870 fi
   11871 
   11872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11875 	fi
   11876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11880   $as_echo_n "(cached) " >&6
   11881 else
   11882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11883 /* end confdefs.h.  */
   11884 int i;
   11885 _ACEOF
   11886 if ac_fn_c_try_compile "$LINENO"; then :
   11887   xorg_cv_cc_flag_unused_command_line_argument=yes
   11888 else
   11889   xorg_cv_cc_flag_unused_command_line_argument=no
   11890 fi
   11891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11892 fi
   11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11896 	CFLAGS="$xorg_testset_save_CFLAGS"
   11897 fi
   11898 
   11899 found="no"
   11900 
   11901 	if test $found = "no" ; then
   11902 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11904 		fi
   11905 
   11906 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11908 		fi
   11909 
   11910 		CFLAGS="$CFLAGS -Wpointer-arith"
   11911 
   11912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11913 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11914 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11915 		if eval \${$cacheid+:} false; then :
   11916   $as_echo_n "(cached) " >&6
   11917 else
   11918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11919 /* end confdefs.h.  */
   11920 int i;
   11921 int
   11922 main ()
   11923 {
   11924 
   11925   ;
   11926   return 0;
   11927 }
   11928 _ACEOF
   11929 if ac_fn_c_try_link "$LINENO"; then :
   11930   eval $cacheid=yes
   11931 else
   11932   eval $cacheid=no
   11933 fi
   11934 rm -f core conftest.err conftest.$ac_objext \
   11935     conftest$ac_exeext conftest.$ac_ext
   11936 fi
   11937 
   11938 
   11939 		CFLAGS="$xorg_testset_save_CFLAGS"
   11940 
   11941 		eval supported=\$$cacheid
   11942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11943 $as_echo "$supported" >&6; }
   11944 		if test "$supported" = "yes" ; then
   11945 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11946 			found="yes"
   11947 		fi
   11948 	fi
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 xorg_testset_save_CFLAGS="$CFLAGS"
   11965 
   11966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11971   $as_echo_n "(cached) " >&6
   11972 else
   11973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11974 /* end confdefs.h.  */
   11975 int i;
   11976 _ACEOF
   11977 if ac_fn_c_try_compile "$LINENO"; then :
   11978   xorg_cv_cc_flag_unknown_warning_option=yes
   11979 else
   11980   xorg_cv_cc_flag_unknown_warning_option=no
   11981 fi
   11982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11983 fi
   11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11987 	CFLAGS="$xorg_testset_save_CFLAGS"
   11988 fi
   11989 
   11990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11993 	fi
   11994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11998   $as_echo_n "(cached) " >&6
   11999 else
   12000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12001 /* end confdefs.h.  */
   12002 int i;
   12003 _ACEOF
   12004 if ac_fn_c_try_compile "$LINENO"; then :
   12005   xorg_cv_cc_flag_unused_command_line_argument=yes
   12006 else
   12007   xorg_cv_cc_flag_unused_command_line_argument=no
   12008 fi
   12009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12010 fi
   12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12014 	CFLAGS="$xorg_testset_save_CFLAGS"
   12015 fi
   12016 
   12017 found="no"
   12018 
   12019 	if test $found = "no" ; then
   12020 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12022 		fi
   12023 
   12024 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12026 		fi
   12027 
   12028 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12029 
   12030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12031 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12032 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12033 		if eval \${$cacheid+:} false; then :
   12034   $as_echo_n "(cached) " >&6
   12035 else
   12036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12037 /* end confdefs.h.  */
   12038 int i;
   12039 int
   12040 main ()
   12041 {
   12042 
   12043   ;
   12044   return 0;
   12045 }
   12046 _ACEOF
   12047 if ac_fn_c_try_link "$LINENO"; then :
   12048   eval $cacheid=yes
   12049 else
   12050   eval $cacheid=no
   12051 fi
   12052 rm -f core conftest.err conftest.$ac_objext \
   12053     conftest$ac_exeext conftest.$ac_ext
   12054 fi
   12055 
   12056 
   12057 		CFLAGS="$xorg_testset_save_CFLAGS"
   12058 
   12059 		eval supported=\$$cacheid
   12060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12061 $as_echo "$supported" >&6; }
   12062 		if test "$supported" = "yes" ; then
   12063 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12064 			found="yes"
   12065 		fi
   12066 	fi
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 xorg_testset_save_CFLAGS="$CFLAGS"
   12083 
   12084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12087 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12088 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12089   $as_echo_n "(cached) " >&6
   12090 else
   12091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12092 /* end confdefs.h.  */
   12093 int i;
   12094 _ACEOF
   12095 if ac_fn_c_try_compile "$LINENO"; then :
   12096   xorg_cv_cc_flag_unknown_warning_option=yes
   12097 else
   12098   xorg_cv_cc_flag_unknown_warning_option=no
   12099 fi
   12100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12101 fi
   12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12103 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12105 	CFLAGS="$xorg_testset_save_CFLAGS"
   12106 fi
   12107 
   12108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12111 	fi
   12112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12114 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12115 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12116   $as_echo_n "(cached) " >&6
   12117 else
   12118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12119 /* end confdefs.h.  */
   12120 int i;
   12121 _ACEOF
   12122 if ac_fn_c_try_compile "$LINENO"; then :
   12123   xorg_cv_cc_flag_unused_command_line_argument=yes
   12124 else
   12125   xorg_cv_cc_flag_unused_command_line_argument=no
   12126 fi
   12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12128 fi
   12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12130 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12132 	CFLAGS="$xorg_testset_save_CFLAGS"
   12133 fi
   12134 
   12135 found="no"
   12136 
   12137 	if test $found = "no" ; then
   12138 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12140 		fi
   12141 
   12142 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12144 		fi
   12145 
   12146 		CFLAGS="$CFLAGS -Wformat=2"
   12147 
   12148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12149 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12150 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12151 		if eval \${$cacheid+:} false; then :
   12152   $as_echo_n "(cached) " >&6
   12153 else
   12154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12155 /* end confdefs.h.  */
   12156 int i;
   12157 int
   12158 main ()
   12159 {
   12160 
   12161   ;
   12162   return 0;
   12163 }
   12164 _ACEOF
   12165 if ac_fn_c_try_link "$LINENO"; then :
   12166   eval $cacheid=yes
   12167 else
   12168   eval $cacheid=no
   12169 fi
   12170 rm -f core conftest.err conftest.$ac_objext \
   12171     conftest$ac_exeext conftest.$ac_ext
   12172 fi
   12173 
   12174 
   12175 		CFLAGS="$xorg_testset_save_CFLAGS"
   12176 
   12177 		eval supported=\$$cacheid
   12178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12179 $as_echo "$supported" >&6; }
   12180 		if test "$supported" = "yes" ; then
   12181 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12182 			found="yes"
   12183 		fi
   12184 	fi
   12185 
   12186 	if test $found = "no" ; then
   12187 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12189 		fi
   12190 
   12191 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12193 		fi
   12194 
   12195 		CFLAGS="$CFLAGS -Wformat"
   12196 
   12197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12198 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12199 		cacheid=xorg_cv_cc_flag__Wformat
   12200 		if eval \${$cacheid+:} false; then :
   12201   $as_echo_n "(cached) " >&6
   12202 else
   12203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12204 /* end confdefs.h.  */
   12205 int i;
   12206 int
   12207 main ()
   12208 {
   12209 
   12210   ;
   12211   return 0;
   12212 }
   12213 _ACEOF
   12214 if ac_fn_c_try_link "$LINENO"; then :
   12215   eval $cacheid=yes
   12216 else
   12217   eval $cacheid=no
   12218 fi
   12219 rm -f core conftest.err conftest.$ac_objext \
   12220     conftest$ac_exeext conftest.$ac_ext
   12221 fi
   12222 
   12223 
   12224 		CFLAGS="$xorg_testset_save_CFLAGS"
   12225 
   12226 		eval supported=\$$cacheid
   12227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12228 $as_echo "$supported" >&6; }
   12229 		if test "$supported" = "yes" ; then
   12230 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12231 			found="yes"
   12232 		fi
   12233 	fi
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 xorg_testset_save_CFLAGS="$CFLAGS"
   12252 
   12253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12256 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12257 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12258   $as_echo_n "(cached) " >&6
   12259 else
   12260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12261 /* end confdefs.h.  */
   12262 int i;
   12263 _ACEOF
   12264 if ac_fn_c_try_compile "$LINENO"; then :
   12265   xorg_cv_cc_flag_unknown_warning_option=yes
   12266 else
   12267   xorg_cv_cc_flag_unknown_warning_option=no
   12268 fi
   12269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12270 fi
   12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12272 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12274 	CFLAGS="$xorg_testset_save_CFLAGS"
   12275 fi
   12276 
   12277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12280 	fi
   12281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12283 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12284 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12285   $as_echo_n "(cached) " >&6
   12286 else
   12287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12288 /* end confdefs.h.  */
   12289 int i;
   12290 _ACEOF
   12291 if ac_fn_c_try_compile "$LINENO"; then :
   12292   xorg_cv_cc_flag_unused_command_line_argument=yes
   12293 else
   12294   xorg_cv_cc_flag_unused_command_line_argument=no
   12295 fi
   12296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12297 fi
   12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12299 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12300 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12301 	CFLAGS="$xorg_testset_save_CFLAGS"
   12302 fi
   12303 
   12304 found="no"
   12305 
   12306 	if test $found = "no" ; then
   12307 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12309 		fi
   12310 
   12311 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12313 		fi
   12314 
   12315 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12316 
   12317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12318 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12319 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12320 		if eval \${$cacheid+:} false; then :
   12321   $as_echo_n "(cached) " >&6
   12322 else
   12323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12324 /* end confdefs.h.  */
   12325 int i;
   12326 int
   12327 main ()
   12328 {
   12329 
   12330   ;
   12331   return 0;
   12332 }
   12333 _ACEOF
   12334 if ac_fn_c_try_link "$LINENO"; then :
   12335   eval $cacheid=yes
   12336 else
   12337   eval $cacheid=no
   12338 fi
   12339 rm -f core conftest.err conftest.$ac_objext \
   12340     conftest$ac_exeext conftest.$ac_ext
   12341 fi
   12342 
   12343 
   12344 		CFLAGS="$xorg_testset_save_CFLAGS"
   12345 
   12346 		eval supported=\$$cacheid
   12347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12348 $as_echo "$supported" >&6; }
   12349 		if test "$supported" = "yes" ; then
   12350 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12351 			found="yes"
   12352 		fi
   12353 	fi
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 xorg_testset_save_CFLAGS="$CFLAGS"
   12370 
   12371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12374 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12375 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12376   $as_echo_n "(cached) " >&6
   12377 else
   12378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12379 /* end confdefs.h.  */
   12380 int i;
   12381 _ACEOF
   12382 if ac_fn_c_try_compile "$LINENO"; then :
   12383   xorg_cv_cc_flag_unknown_warning_option=yes
   12384 else
   12385   xorg_cv_cc_flag_unknown_warning_option=no
   12386 fi
   12387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12388 fi
   12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12390 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12392 	CFLAGS="$xorg_testset_save_CFLAGS"
   12393 fi
   12394 
   12395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12398 	fi
   12399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12401 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12402 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12403   $as_echo_n "(cached) " >&6
   12404 else
   12405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12406 /* end confdefs.h.  */
   12407 int i;
   12408 _ACEOF
   12409 if ac_fn_c_try_compile "$LINENO"; then :
   12410   xorg_cv_cc_flag_unused_command_line_argument=yes
   12411 else
   12412   xorg_cv_cc_flag_unused_command_line_argument=no
   12413 fi
   12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12415 fi
   12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12417 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12419 	CFLAGS="$xorg_testset_save_CFLAGS"
   12420 fi
   12421 
   12422 found="no"
   12423 
   12424 	if test $found = "no" ; then
   12425 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12427 		fi
   12428 
   12429 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12431 		fi
   12432 
   12433 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12434 
   12435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12436 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12437 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12438 		if eval \${$cacheid+:} false; then :
   12439   $as_echo_n "(cached) " >&6
   12440 else
   12441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12442 /* end confdefs.h.  */
   12443 int i;
   12444 int
   12445 main ()
   12446 {
   12447 
   12448   ;
   12449   return 0;
   12450 }
   12451 _ACEOF
   12452 if ac_fn_c_try_link "$LINENO"; then :
   12453   eval $cacheid=yes
   12454 else
   12455   eval $cacheid=no
   12456 fi
   12457 rm -f core conftest.err conftest.$ac_objext \
   12458     conftest$ac_exeext conftest.$ac_ext
   12459 fi
   12460 
   12461 
   12462 		CFLAGS="$xorg_testset_save_CFLAGS"
   12463 
   12464 		eval supported=\$$cacheid
   12465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12466 $as_echo "$supported" >&6; }
   12467 		if test "$supported" = "yes" ; then
   12468 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12469 			found="yes"
   12470 		fi
   12471 	fi
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 xorg_testset_save_CFLAGS="$CFLAGS"
   12488 
   12489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12494   $as_echo_n "(cached) " >&6
   12495 else
   12496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12497 /* end confdefs.h.  */
   12498 int i;
   12499 _ACEOF
   12500 if ac_fn_c_try_compile "$LINENO"; then :
   12501   xorg_cv_cc_flag_unknown_warning_option=yes
   12502 else
   12503   xorg_cv_cc_flag_unknown_warning_option=no
   12504 fi
   12505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12506 fi
   12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12510 	CFLAGS="$xorg_testset_save_CFLAGS"
   12511 fi
   12512 
   12513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12516 	fi
   12517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12521   $as_echo_n "(cached) " >&6
   12522 else
   12523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12524 /* end confdefs.h.  */
   12525 int i;
   12526 _ACEOF
   12527 if ac_fn_c_try_compile "$LINENO"; then :
   12528   xorg_cv_cc_flag_unused_command_line_argument=yes
   12529 else
   12530   xorg_cv_cc_flag_unused_command_line_argument=no
   12531 fi
   12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12533 fi
   12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12537 	CFLAGS="$xorg_testset_save_CFLAGS"
   12538 fi
   12539 
   12540 found="no"
   12541 
   12542 	if test $found = "no" ; then
   12543 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12545 		fi
   12546 
   12547 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12549 		fi
   12550 
   12551 		CFLAGS="$CFLAGS -Wnested-externs"
   12552 
   12553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12554 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12555 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12556 		if eval \${$cacheid+:} false; then :
   12557   $as_echo_n "(cached) " >&6
   12558 else
   12559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12560 /* end confdefs.h.  */
   12561 int i;
   12562 int
   12563 main ()
   12564 {
   12565 
   12566   ;
   12567   return 0;
   12568 }
   12569 _ACEOF
   12570 if ac_fn_c_try_link "$LINENO"; then :
   12571   eval $cacheid=yes
   12572 else
   12573   eval $cacheid=no
   12574 fi
   12575 rm -f core conftest.err conftest.$ac_objext \
   12576     conftest$ac_exeext conftest.$ac_ext
   12577 fi
   12578 
   12579 
   12580 		CFLAGS="$xorg_testset_save_CFLAGS"
   12581 
   12582 		eval supported=\$$cacheid
   12583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12584 $as_echo "$supported" >&6; }
   12585 		if test "$supported" = "yes" ; then
   12586 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12587 			found="yes"
   12588 		fi
   12589 	fi
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 xorg_testset_save_CFLAGS="$CFLAGS"
   12606 
   12607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12612   $as_echo_n "(cached) " >&6
   12613 else
   12614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12615 /* end confdefs.h.  */
   12616 int i;
   12617 _ACEOF
   12618 if ac_fn_c_try_compile "$LINENO"; then :
   12619   xorg_cv_cc_flag_unknown_warning_option=yes
   12620 else
   12621   xorg_cv_cc_flag_unknown_warning_option=no
   12622 fi
   12623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12624 fi
   12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12628 	CFLAGS="$xorg_testset_save_CFLAGS"
   12629 fi
   12630 
   12631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12634 	fi
   12635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12639   $as_echo_n "(cached) " >&6
   12640 else
   12641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12642 /* end confdefs.h.  */
   12643 int i;
   12644 _ACEOF
   12645 if ac_fn_c_try_compile "$LINENO"; then :
   12646   xorg_cv_cc_flag_unused_command_line_argument=yes
   12647 else
   12648   xorg_cv_cc_flag_unused_command_line_argument=no
   12649 fi
   12650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12651 fi
   12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12655 	CFLAGS="$xorg_testset_save_CFLAGS"
   12656 fi
   12657 
   12658 found="no"
   12659 
   12660 	if test $found = "no" ; then
   12661 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12663 		fi
   12664 
   12665 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12667 		fi
   12668 
   12669 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12670 
   12671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12672 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12673 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12674 		if eval \${$cacheid+:} false; then :
   12675   $as_echo_n "(cached) " >&6
   12676 else
   12677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12678 /* end confdefs.h.  */
   12679 int i;
   12680 int
   12681 main ()
   12682 {
   12683 
   12684   ;
   12685   return 0;
   12686 }
   12687 _ACEOF
   12688 if ac_fn_c_try_link "$LINENO"; then :
   12689   eval $cacheid=yes
   12690 else
   12691   eval $cacheid=no
   12692 fi
   12693 rm -f core conftest.err conftest.$ac_objext \
   12694     conftest$ac_exeext conftest.$ac_ext
   12695 fi
   12696 
   12697 
   12698 		CFLAGS="$xorg_testset_save_CFLAGS"
   12699 
   12700 		eval supported=\$$cacheid
   12701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12702 $as_echo "$supported" >&6; }
   12703 		if test "$supported" = "yes" ; then
   12704 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12705 			found="yes"
   12706 		fi
   12707 	fi
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 xorg_testset_save_CFLAGS="$CFLAGS"
   12724 
   12725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12730   $as_echo_n "(cached) " >&6
   12731 else
   12732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12733 /* end confdefs.h.  */
   12734 int i;
   12735 _ACEOF
   12736 if ac_fn_c_try_compile "$LINENO"; then :
   12737   xorg_cv_cc_flag_unknown_warning_option=yes
   12738 else
   12739   xorg_cv_cc_flag_unknown_warning_option=no
   12740 fi
   12741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12742 fi
   12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12746 	CFLAGS="$xorg_testset_save_CFLAGS"
   12747 fi
   12748 
   12749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12752 	fi
   12753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12757   $as_echo_n "(cached) " >&6
   12758 else
   12759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12760 /* end confdefs.h.  */
   12761 int i;
   12762 _ACEOF
   12763 if ac_fn_c_try_compile "$LINENO"; then :
   12764   xorg_cv_cc_flag_unused_command_line_argument=yes
   12765 else
   12766   xorg_cv_cc_flag_unused_command_line_argument=no
   12767 fi
   12768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12769 fi
   12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12773 	CFLAGS="$xorg_testset_save_CFLAGS"
   12774 fi
   12775 
   12776 found="no"
   12777 
   12778 	if test $found = "no" ; then
   12779 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12781 		fi
   12782 
   12783 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12785 		fi
   12786 
   12787 		CFLAGS="$CFLAGS -Wold-style-definition"
   12788 
   12789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12790 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12791 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12792 		if eval \${$cacheid+:} false; then :
   12793   $as_echo_n "(cached) " >&6
   12794 else
   12795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12796 /* end confdefs.h.  */
   12797 int i;
   12798 int
   12799 main ()
   12800 {
   12801 
   12802   ;
   12803   return 0;
   12804 }
   12805 _ACEOF
   12806 if ac_fn_c_try_link "$LINENO"; then :
   12807   eval $cacheid=yes
   12808 else
   12809   eval $cacheid=no
   12810 fi
   12811 rm -f core conftest.err conftest.$ac_objext \
   12812     conftest$ac_exeext conftest.$ac_ext
   12813 fi
   12814 
   12815 
   12816 		CFLAGS="$xorg_testset_save_CFLAGS"
   12817 
   12818 		eval supported=\$$cacheid
   12819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12820 $as_echo "$supported" >&6; }
   12821 		if test "$supported" = "yes" ; then
   12822 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12823 			found="yes"
   12824 		fi
   12825 	fi
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 xorg_testset_save_CFLAGS="$CFLAGS"
   12842 
   12843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12848   $as_echo_n "(cached) " >&6
   12849 else
   12850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12851 /* end confdefs.h.  */
   12852 int i;
   12853 _ACEOF
   12854 if ac_fn_c_try_compile "$LINENO"; then :
   12855   xorg_cv_cc_flag_unknown_warning_option=yes
   12856 else
   12857   xorg_cv_cc_flag_unknown_warning_option=no
   12858 fi
   12859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12860 fi
   12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12864 	CFLAGS="$xorg_testset_save_CFLAGS"
   12865 fi
   12866 
   12867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12870 	fi
   12871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12875   $as_echo_n "(cached) " >&6
   12876 else
   12877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12878 /* end confdefs.h.  */
   12879 int i;
   12880 _ACEOF
   12881 if ac_fn_c_try_compile "$LINENO"; then :
   12882   xorg_cv_cc_flag_unused_command_line_argument=yes
   12883 else
   12884   xorg_cv_cc_flag_unused_command_line_argument=no
   12885 fi
   12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12887 fi
   12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12891 	CFLAGS="$xorg_testset_save_CFLAGS"
   12892 fi
   12893 
   12894 found="no"
   12895 
   12896 	if test $found = "no" ; then
   12897 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12899 		fi
   12900 
   12901 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12903 		fi
   12904 
   12905 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12906 
   12907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12908 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12909 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12910 		if eval \${$cacheid+:} false; then :
   12911   $as_echo_n "(cached) " >&6
   12912 else
   12913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12914 /* end confdefs.h.  */
   12915 int i;
   12916 int
   12917 main ()
   12918 {
   12919 
   12920   ;
   12921   return 0;
   12922 }
   12923 _ACEOF
   12924 if ac_fn_c_try_link "$LINENO"; then :
   12925   eval $cacheid=yes
   12926 else
   12927   eval $cacheid=no
   12928 fi
   12929 rm -f core conftest.err conftest.$ac_objext \
   12930     conftest$ac_exeext conftest.$ac_ext
   12931 fi
   12932 
   12933 
   12934 		CFLAGS="$xorg_testset_save_CFLAGS"
   12935 
   12936 		eval supported=\$$cacheid
   12937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12938 $as_echo "$supported" >&6; }
   12939 		if test "$supported" = "yes" ; then
   12940 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12941 			found="yes"
   12942 		fi
   12943 	fi
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 # This chunk adds additional warnings that could catch undesired effects.
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 xorg_testset_save_CFLAGS="$CFLAGS"
   12964 
   12965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12970   $as_echo_n "(cached) " >&6
   12971 else
   12972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12973 /* end confdefs.h.  */
   12974 int i;
   12975 _ACEOF
   12976 if ac_fn_c_try_compile "$LINENO"; then :
   12977   xorg_cv_cc_flag_unknown_warning_option=yes
   12978 else
   12979   xorg_cv_cc_flag_unknown_warning_option=no
   12980 fi
   12981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12982 fi
   12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12986 	CFLAGS="$xorg_testset_save_CFLAGS"
   12987 fi
   12988 
   12989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12992 	fi
   12993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12997   $as_echo_n "(cached) " >&6
   12998 else
   12999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13000 /* end confdefs.h.  */
   13001 int i;
   13002 _ACEOF
   13003 if ac_fn_c_try_compile "$LINENO"; then :
   13004   xorg_cv_cc_flag_unused_command_line_argument=yes
   13005 else
   13006   xorg_cv_cc_flag_unused_command_line_argument=no
   13007 fi
   13008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13009 fi
   13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13013 	CFLAGS="$xorg_testset_save_CFLAGS"
   13014 fi
   13015 
   13016 found="no"
   13017 
   13018 	if test $found = "no" ; then
   13019 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13021 		fi
   13022 
   13023 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13025 		fi
   13026 
   13027 		CFLAGS="$CFLAGS -Wunused"
   13028 
   13029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13030 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13031 		cacheid=xorg_cv_cc_flag__Wunused
   13032 		if eval \${$cacheid+:} false; then :
   13033   $as_echo_n "(cached) " >&6
   13034 else
   13035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13036 /* end confdefs.h.  */
   13037 int i;
   13038 int
   13039 main ()
   13040 {
   13041 
   13042   ;
   13043   return 0;
   13044 }
   13045 _ACEOF
   13046 if ac_fn_c_try_link "$LINENO"; then :
   13047   eval $cacheid=yes
   13048 else
   13049   eval $cacheid=no
   13050 fi
   13051 rm -f core conftest.err conftest.$ac_objext \
   13052     conftest$ac_exeext conftest.$ac_ext
   13053 fi
   13054 
   13055 
   13056 		CFLAGS="$xorg_testset_save_CFLAGS"
   13057 
   13058 		eval supported=\$$cacheid
   13059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13060 $as_echo "$supported" >&6; }
   13061 		if test "$supported" = "yes" ; then
   13062 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13063 			found="yes"
   13064 		fi
   13065 	fi
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 xorg_testset_save_CFLAGS="$CFLAGS"
   13082 
   13083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13088   $as_echo_n "(cached) " >&6
   13089 else
   13090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13091 /* end confdefs.h.  */
   13092 int i;
   13093 _ACEOF
   13094 if ac_fn_c_try_compile "$LINENO"; then :
   13095   xorg_cv_cc_flag_unknown_warning_option=yes
   13096 else
   13097   xorg_cv_cc_flag_unknown_warning_option=no
   13098 fi
   13099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13100 fi
   13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13104 	CFLAGS="$xorg_testset_save_CFLAGS"
   13105 fi
   13106 
   13107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13110 	fi
   13111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13115   $as_echo_n "(cached) " >&6
   13116 else
   13117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13118 /* end confdefs.h.  */
   13119 int i;
   13120 _ACEOF
   13121 if ac_fn_c_try_compile "$LINENO"; then :
   13122   xorg_cv_cc_flag_unused_command_line_argument=yes
   13123 else
   13124   xorg_cv_cc_flag_unused_command_line_argument=no
   13125 fi
   13126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13127 fi
   13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13131 	CFLAGS="$xorg_testset_save_CFLAGS"
   13132 fi
   13133 
   13134 found="no"
   13135 
   13136 	if test $found = "no" ; then
   13137 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13139 		fi
   13140 
   13141 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13143 		fi
   13144 
   13145 		CFLAGS="$CFLAGS -Wuninitialized"
   13146 
   13147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13148 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13149 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13150 		if eval \${$cacheid+:} false; then :
   13151   $as_echo_n "(cached) " >&6
   13152 else
   13153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13154 /* end confdefs.h.  */
   13155 int i;
   13156 int
   13157 main ()
   13158 {
   13159 
   13160   ;
   13161   return 0;
   13162 }
   13163 _ACEOF
   13164 if ac_fn_c_try_link "$LINENO"; then :
   13165   eval $cacheid=yes
   13166 else
   13167   eval $cacheid=no
   13168 fi
   13169 rm -f core conftest.err conftest.$ac_objext \
   13170     conftest$ac_exeext conftest.$ac_ext
   13171 fi
   13172 
   13173 
   13174 		CFLAGS="$xorg_testset_save_CFLAGS"
   13175 
   13176 		eval supported=\$$cacheid
   13177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13178 $as_echo "$supported" >&6; }
   13179 		if test "$supported" = "yes" ; then
   13180 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13181 			found="yes"
   13182 		fi
   13183 	fi
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 xorg_testset_save_CFLAGS="$CFLAGS"
   13200 
   13201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13206   $as_echo_n "(cached) " >&6
   13207 else
   13208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13209 /* end confdefs.h.  */
   13210 int i;
   13211 _ACEOF
   13212 if ac_fn_c_try_compile "$LINENO"; then :
   13213   xorg_cv_cc_flag_unknown_warning_option=yes
   13214 else
   13215   xorg_cv_cc_flag_unknown_warning_option=no
   13216 fi
   13217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13218 fi
   13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13222 	CFLAGS="$xorg_testset_save_CFLAGS"
   13223 fi
   13224 
   13225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13228 	fi
   13229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13233   $as_echo_n "(cached) " >&6
   13234 else
   13235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13236 /* end confdefs.h.  */
   13237 int i;
   13238 _ACEOF
   13239 if ac_fn_c_try_compile "$LINENO"; then :
   13240   xorg_cv_cc_flag_unused_command_line_argument=yes
   13241 else
   13242   xorg_cv_cc_flag_unused_command_line_argument=no
   13243 fi
   13244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13245 fi
   13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13249 	CFLAGS="$xorg_testset_save_CFLAGS"
   13250 fi
   13251 
   13252 found="no"
   13253 
   13254 	if test $found = "no" ; then
   13255 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13257 		fi
   13258 
   13259 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13261 		fi
   13262 
   13263 		CFLAGS="$CFLAGS -Wshadow"
   13264 
   13265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13266 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13267 		cacheid=xorg_cv_cc_flag__Wshadow
   13268 		if eval \${$cacheid+:} false; then :
   13269   $as_echo_n "(cached) " >&6
   13270 else
   13271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13272 /* end confdefs.h.  */
   13273 int i;
   13274 int
   13275 main ()
   13276 {
   13277 
   13278   ;
   13279   return 0;
   13280 }
   13281 _ACEOF
   13282 if ac_fn_c_try_link "$LINENO"; then :
   13283   eval $cacheid=yes
   13284 else
   13285   eval $cacheid=no
   13286 fi
   13287 rm -f core conftest.err conftest.$ac_objext \
   13288     conftest$ac_exeext conftest.$ac_ext
   13289 fi
   13290 
   13291 
   13292 		CFLAGS="$xorg_testset_save_CFLAGS"
   13293 
   13294 		eval supported=\$$cacheid
   13295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13296 $as_echo "$supported" >&6; }
   13297 		if test "$supported" = "yes" ; then
   13298 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13299 			found="yes"
   13300 		fi
   13301 	fi
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 xorg_testset_save_CFLAGS="$CFLAGS"
   13318 
   13319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13324   $as_echo_n "(cached) " >&6
   13325 else
   13326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13327 /* end confdefs.h.  */
   13328 int i;
   13329 _ACEOF
   13330 if ac_fn_c_try_compile "$LINENO"; then :
   13331   xorg_cv_cc_flag_unknown_warning_option=yes
   13332 else
   13333   xorg_cv_cc_flag_unknown_warning_option=no
   13334 fi
   13335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13336 fi
   13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13340 	CFLAGS="$xorg_testset_save_CFLAGS"
   13341 fi
   13342 
   13343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13346 	fi
   13347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13351   $as_echo_n "(cached) " >&6
   13352 else
   13353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13354 /* end confdefs.h.  */
   13355 int i;
   13356 _ACEOF
   13357 if ac_fn_c_try_compile "$LINENO"; then :
   13358   xorg_cv_cc_flag_unused_command_line_argument=yes
   13359 else
   13360   xorg_cv_cc_flag_unused_command_line_argument=no
   13361 fi
   13362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13363 fi
   13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13367 	CFLAGS="$xorg_testset_save_CFLAGS"
   13368 fi
   13369 
   13370 found="no"
   13371 
   13372 	if test $found = "no" ; then
   13373 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13375 		fi
   13376 
   13377 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13379 		fi
   13380 
   13381 		CFLAGS="$CFLAGS -Wcast-qual"
   13382 
   13383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13384 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13385 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13386 		if eval \${$cacheid+:} false; then :
   13387   $as_echo_n "(cached) " >&6
   13388 else
   13389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13390 /* end confdefs.h.  */
   13391 int i;
   13392 int
   13393 main ()
   13394 {
   13395 
   13396   ;
   13397   return 0;
   13398 }
   13399 _ACEOF
   13400 if ac_fn_c_try_link "$LINENO"; then :
   13401   eval $cacheid=yes
   13402 else
   13403   eval $cacheid=no
   13404 fi
   13405 rm -f core conftest.err conftest.$ac_objext \
   13406     conftest$ac_exeext conftest.$ac_ext
   13407 fi
   13408 
   13409 
   13410 		CFLAGS="$xorg_testset_save_CFLAGS"
   13411 
   13412 		eval supported=\$$cacheid
   13413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13414 $as_echo "$supported" >&6; }
   13415 		if test "$supported" = "yes" ; then
   13416 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13417 			found="yes"
   13418 		fi
   13419 	fi
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 xorg_testset_save_CFLAGS="$CFLAGS"
   13436 
   13437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13442   $as_echo_n "(cached) " >&6
   13443 else
   13444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13445 /* end confdefs.h.  */
   13446 int i;
   13447 _ACEOF
   13448 if ac_fn_c_try_compile "$LINENO"; then :
   13449   xorg_cv_cc_flag_unknown_warning_option=yes
   13450 else
   13451   xorg_cv_cc_flag_unknown_warning_option=no
   13452 fi
   13453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13454 fi
   13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13458 	CFLAGS="$xorg_testset_save_CFLAGS"
   13459 fi
   13460 
   13461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13464 	fi
   13465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13469   $as_echo_n "(cached) " >&6
   13470 else
   13471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13472 /* end confdefs.h.  */
   13473 int i;
   13474 _ACEOF
   13475 if ac_fn_c_try_compile "$LINENO"; then :
   13476   xorg_cv_cc_flag_unused_command_line_argument=yes
   13477 else
   13478   xorg_cv_cc_flag_unused_command_line_argument=no
   13479 fi
   13480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13481 fi
   13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13485 	CFLAGS="$xorg_testset_save_CFLAGS"
   13486 fi
   13487 
   13488 found="no"
   13489 
   13490 	if test $found = "no" ; then
   13491 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13493 		fi
   13494 
   13495 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13497 		fi
   13498 
   13499 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13500 
   13501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13502 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13503 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13504 		if eval \${$cacheid+:} false; then :
   13505   $as_echo_n "(cached) " >&6
   13506 else
   13507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13508 /* end confdefs.h.  */
   13509 int i;
   13510 int
   13511 main ()
   13512 {
   13513 
   13514   ;
   13515   return 0;
   13516 }
   13517 _ACEOF
   13518 if ac_fn_c_try_link "$LINENO"; then :
   13519   eval $cacheid=yes
   13520 else
   13521   eval $cacheid=no
   13522 fi
   13523 rm -f core conftest.err conftest.$ac_objext \
   13524     conftest$ac_exeext conftest.$ac_ext
   13525 fi
   13526 
   13527 
   13528 		CFLAGS="$xorg_testset_save_CFLAGS"
   13529 
   13530 		eval supported=\$$cacheid
   13531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13532 $as_echo "$supported" >&6; }
   13533 		if test "$supported" = "yes" ; then
   13534 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13535 			found="yes"
   13536 		fi
   13537 	fi
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 xorg_testset_save_CFLAGS="$CFLAGS"
   13554 
   13555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13560   $as_echo_n "(cached) " >&6
   13561 else
   13562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13563 /* end confdefs.h.  */
   13564 int i;
   13565 _ACEOF
   13566 if ac_fn_c_try_compile "$LINENO"; then :
   13567   xorg_cv_cc_flag_unknown_warning_option=yes
   13568 else
   13569   xorg_cv_cc_flag_unknown_warning_option=no
   13570 fi
   13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13572 fi
   13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13576 	CFLAGS="$xorg_testset_save_CFLAGS"
   13577 fi
   13578 
   13579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13582 	fi
   13583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13587   $as_echo_n "(cached) " >&6
   13588 else
   13589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13590 /* end confdefs.h.  */
   13591 int i;
   13592 _ACEOF
   13593 if ac_fn_c_try_compile "$LINENO"; then :
   13594   xorg_cv_cc_flag_unused_command_line_argument=yes
   13595 else
   13596   xorg_cv_cc_flag_unused_command_line_argument=no
   13597 fi
   13598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13599 fi
   13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13603 	CFLAGS="$xorg_testset_save_CFLAGS"
   13604 fi
   13605 
   13606 found="no"
   13607 
   13608 	if test $found = "no" ; then
   13609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13611 		fi
   13612 
   13613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13615 		fi
   13616 
   13617 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13618 
   13619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13620 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13621 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13622 		if eval \${$cacheid+:} false; then :
   13623   $as_echo_n "(cached) " >&6
   13624 else
   13625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13626 /* end confdefs.h.  */
   13627 int i;
   13628 int
   13629 main ()
   13630 {
   13631 
   13632   ;
   13633   return 0;
   13634 }
   13635 _ACEOF
   13636 if ac_fn_c_try_link "$LINENO"; then :
   13637   eval $cacheid=yes
   13638 else
   13639   eval $cacheid=no
   13640 fi
   13641 rm -f core conftest.err conftest.$ac_objext \
   13642     conftest$ac_exeext conftest.$ac_ext
   13643 fi
   13644 
   13645 
   13646 		CFLAGS="$xorg_testset_save_CFLAGS"
   13647 
   13648 		eval supported=\$$cacheid
   13649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13650 $as_echo "$supported" >&6; }
   13651 		if test "$supported" = "yes" ; then
   13652 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13653 			found="yes"
   13654 		fi
   13655 	fi
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 xorg_testset_save_CFLAGS="$CFLAGS"
   13672 
   13673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13678   $as_echo_n "(cached) " >&6
   13679 else
   13680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 int i;
   13683 _ACEOF
   13684 if ac_fn_c_try_compile "$LINENO"; then :
   13685   xorg_cv_cc_flag_unknown_warning_option=yes
   13686 else
   13687   xorg_cv_cc_flag_unknown_warning_option=no
   13688 fi
   13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13690 fi
   13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13694 	CFLAGS="$xorg_testset_save_CFLAGS"
   13695 fi
   13696 
   13697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13700 	fi
   13701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13705   $as_echo_n "(cached) " >&6
   13706 else
   13707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13708 /* end confdefs.h.  */
   13709 int i;
   13710 _ACEOF
   13711 if ac_fn_c_try_compile "$LINENO"; then :
   13712   xorg_cv_cc_flag_unused_command_line_argument=yes
   13713 else
   13714   xorg_cv_cc_flag_unused_command_line_argument=no
   13715 fi
   13716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13717 fi
   13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13721 	CFLAGS="$xorg_testset_save_CFLAGS"
   13722 fi
   13723 
   13724 found="no"
   13725 
   13726 	if test $found = "no" ; then
   13727 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13729 		fi
   13730 
   13731 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13733 		fi
   13734 
   13735 		CFLAGS="$CFLAGS -Wredundant-decls"
   13736 
   13737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13738 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13739 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13740 		if eval \${$cacheid+:} false; then :
   13741   $as_echo_n "(cached) " >&6
   13742 else
   13743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13744 /* end confdefs.h.  */
   13745 int i;
   13746 int
   13747 main ()
   13748 {
   13749 
   13750   ;
   13751   return 0;
   13752 }
   13753 _ACEOF
   13754 if ac_fn_c_try_link "$LINENO"; then :
   13755   eval $cacheid=yes
   13756 else
   13757   eval $cacheid=no
   13758 fi
   13759 rm -f core conftest.err conftest.$ac_objext \
   13760     conftest$ac_exeext conftest.$ac_ext
   13761 fi
   13762 
   13763 
   13764 		CFLAGS="$xorg_testset_save_CFLAGS"
   13765 
   13766 		eval supported=\$$cacheid
   13767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13768 $as_echo "$supported" >&6; }
   13769 		if test "$supported" = "yes" ; then
   13770 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13771 			found="yes"
   13772 		fi
   13773 	fi
   13774 
   13775 
   13776 
   13777 # These are currently disabled because they are noisy.  They will be enabled
   13778 # in the future once the codebase is sufficiently modernized to silence
   13779 # them.  For now, I don't want them to drown out the other warnings.
   13780 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13781 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13782 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13783 
   13784 # Turn some warnings into errors, so we don't accidently get successful builds
   13785 # when there are problems that should be fixed.
   13786 
   13787 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 xorg_testset_save_CFLAGS="$CFLAGS"
   13802 
   13803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13808   $as_echo_n "(cached) " >&6
   13809 else
   13810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13811 /* end confdefs.h.  */
   13812 int i;
   13813 _ACEOF
   13814 if ac_fn_c_try_compile "$LINENO"; then :
   13815   xorg_cv_cc_flag_unknown_warning_option=yes
   13816 else
   13817   xorg_cv_cc_flag_unknown_warning_option=no
   13818 fi
   13819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13820 fi
   13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13824 	CFLAGS="$xorg_testset_save_CFLAGS"
   13825 fi
   13826 
   13827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13830 	fi
   13831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13835   $as_echo_n "(cached) " >&6
   13836 else
   13837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13838 /* end confdefs.h.  */
   13839 int i;
   13840 _ACEOF
   13841 if ac_fn_c_try_compile "$LINENO"; then :
   13842   xorg_cv_cc_flag_unused_command_line_argument=yes
   13843 else
   13844   xorg_cv_cc_flag_unused_command_line_argument=no
   13845 fi
   13846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13847 fi
   13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13851 	CFLAGS="$xorg_testset_save_CFLAGS"
   13852 fi
   13853 
   13854 found="no"
   13855 
   13856 	if test $found = "no" ; then
   13857 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13859 		fi
   13860 
   13861 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13863 		fi
   13864 
   13865 		CFLAGS="$CFLAGS -Werror=implicit"
   13866 
   13867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13868 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13869 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13870 		if eval \${$cacheid+:} false; then :
   13871   $as_echo_n "(cached) " >&6
   13872 else
   13873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13874 /* end confdefs.h.  */
   13875 int i;
   13876 int
   13877 main ()
   13878 {
   13879 
   13880   ;
   13881   return 0;
   13882 }
   13883 _ACEOF
   13884 if ac_fn_c_try_link "$LINENO"; then :
   13885   eval $cacheid=yes
   13886 else
   13887   eval $cacheid=no
   13888 fi
   13889 rm -f core conftest.err conftest.$ac_objext \
   13890     conftest$ac_exeext conftest.$ac_ext
   13891 fi
   13892 
   13893 
   13894 		CFLAGS="$xorg_testset_save_CFLAGS"
   13895 
   13896 		eval supported=\$$cacheid
   13897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13898 $as_echo "$supported" >&6; }
   13899 		if test "$supported" = "yes" ; then
   13900 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13901 			found="yes"
   13902 		fi
   13903 	fi
   13904 
   13905 	if test $found = "no" ; then
   13906 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13908 		fi
   13909 
   13910 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13912 		fi
   13913 
   13914 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13915 
   13916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13917 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13918 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13919 		if eval \${$cacheid+:} false; then :
   13920   $as_echo_n "(cached) " >&6
   13921 else
   13922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13923 /* end confdefs.h.  */
   13924 int i;
   13925 int
   13926 main ()
   13927 {
   13928 
   13929   ;
   13930   return 0;
   13931 }
   13932 _ACEOF
   13933 if ac_fn_c_try_link "$LINENO"; then :
   13934   eval $cacheid=yes
   13935 else
   13936   eval $cacheid=no
   13937 fi
   13938 rm -f core conftest.err conftest.$ac_objext \
   13939     conftest$ac_exeext conftest.$ac_ext
   13940 fi
   13941 
   13942 
   13943 		CFLAGS="$xorg_testset_save_CFLAGS"
   13944 
   13945 		eval supported=\$$cacheid
   13946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13947 $as_echo "$supported" >&6; }
   13948 		if test "$supported" = "yes" ; then
   13949 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13950 			found="yes"
   13951 		fi
   13952 	fi
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 xorg_testset_save_CFLAGS="$CFLAGS"
   13969 
   13970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13975   $as_echo_n "(cached) " >&6
   13976 else
   13977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13978 /* end confdefs.h.  */
   13979 int i;
   13980 _ACEOF
   13981 if ac_fn_c_try_compile "$LINENO"; then :
   13982   xorg_cv_cc_flag_unknown_warning_option=yes
   13983 else
   13984   xorg_cv_cc_flag_unknown_warning_option=no
   13985 fi
   13986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13987 fi
   13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13991 	CFLAGS="$xorg_testset_save_CFLAGS"
   13992 fi
   13993 
   13994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13997 	fi
   13998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14002   $as_echo_n "(cached) " >&6
   14003 else
   14004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14005 /* end confdefs.h.  */
   14006 int i;
   14007 _ACEOF
   14008 if ac_fn_c_try_compile "$LINENO"; then :
   14009   xorg_cv_cc_flag_unused_command_line_argument=yes
   14010 else
   14011   xorg_cv_cc_flag_unused_command_line_argument=no
   14012 fi
   14013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14014 fi
   14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14018 	CFLAGS="$xorg_testset_save_CFLAGS"
   14019 fi
   14020 
   14021 found="no"
   14022 
   14023 	if test $found = "no" ; then
   14024 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14026 		fi
   14027 
   14028 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14030 		fi
   14031 
   14032 		CFLAGS="$CFLAGS -Werror=nonnull"
   14033 
   14034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14035 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14036 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14037 		if eval \${$cacheid+:} false; then :
   14038   $as_echo_n "(cached) " >&6
   14039 else
   14040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14041 /* end confdefs.h.  */
   14042 int i;
   14043 int
   14044 main ()
   14045 {
   14046 
   14047   ;
   14048   return 0;
   14049 }
   14050 _ACEOF
   14051 if ac_fn_c_try_link "$LINENO"; then :
   14052   eval $cacheid=yes
   14053 else
   14054   eval $cacheid=no
   14055 fi
   14056 rm -f core conftest.err conftest.$ac_objext \
   14057     conftest$ac_exeext conftest.$ac_ext
   14058 fi
   14059 
   14060 
   14061 		CFLAGS="$xorg_testset_save_CFLAGS"
   14062 
   14063 		eval supported=\$$cacheid
   14064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14065 $as_echo "$supported" >&6; }
   14066 		if test "$supported" = "yes" ; then
   14067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14068 			found="yes"
   14069 		fi
   14070 	fi
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 xorg_testset_save_CFLAGS="$CFLAGS"
   14087 
   14088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14093   $as_echo_n "(cached) " >&6
   14094 else
   14095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14096 /* end confdefs.h.  */
   14097 int i;
   14098 _ACEOF
   14099 if ac_fn_c_try_compile "$LINENO"; then :
   14100   xorg_cv_cc_flag_unknown_warning_option=yes
   14101 else
   14102   xorg_cv_cc_flag_unknown_warning_option=no
   14103 fi
   14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14105 fi
   14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14109 	CFLAGS="$xorg_testset_save_CFLAGS"
   14110 fi
   14111 
   14112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14115 	fi
   14116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14120   $as_echo_n "(cached) " >&6
   14121 else
   14122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14123 /* end confdefs.h.  */
   14124 int i;
   14125 _ACEOF
   14126 if ac_fn_c_try_compile "$LINENO"; then :
   14127   xorg_cv_cc_flag_unused_command_line_argument=yes
   14128 else
   14129   xorg_cv_cc_flag_unused_command_line_argument=no
   14130 fi
   14131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14132 fi
   14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14136 	CFLAGS="$xorg_testset_save_CFLAGS"
   14137 fi
   14138 
   14139 found="no"
   14140 
   14141 	if test $found = "no" ; then
   14142 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14144 		fi
   14145 
   14146 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14148 		fi
   14149 
   14150 		CFLAGS="$CFLAGS -Werror=init-self"
   14151 
   14152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14153 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14154 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14155 		if eval \${$cacheid+:} false; then :
   14156   $as_echo_n "(cached) " >&6
   14157 else
   14158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14159 /* end confdefs.h.  */
   14160 int i;
   14161 int
   14162 main ()
   14163 {
   14164 
   14165   ;
   14166   return 0;
   14167 }
   14168 _ACEOF
   14169 if ac_fn_c_try_link "$LINENO"; then :
   14170   eval $cacheid=yes
   14171 else
   14172   eval $cacheid=no
   14173 fi
   14174 rm -f core conftest.err conftest.$ac_objext \
   14175     conftest$ac_exeext conftest.$ac_ext
   14176 fi
   14177 
   14178 
   14179 		CFLAGS="$xorg_testset_save_CFLAGS"
   14180 
   14181 		eval supported=\$$cacheid
   14182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14183 $as_echo "$supported" >&6; }
   14184 		if test "$supported" = "yes" ; then
   14185 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14186 			found="yes"
   14187 		fi
   14188 	fi
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 xorg_testset_save_CFLAGS="$CFLAGS"
   14205 
   14206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14209 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14210 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14211   $as_echo_n "(cached) " >&6
   14212 else
   14213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14214 /* end confdefs.h.  */
   14215 int i;
   14216 _ACEOF
   14217 if ac_fn_c_try_compile "$LINENO"; then :
   14218   xorg_cv_cc_flag_unknown_warning_option=yes
   14219 else
   14220   xorg_cv_cc_flag_unknown_warning_option=no
   14221 fi
   14222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14223 fi
   14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14225 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14227 	CFLAGS="$xorg_testset_save_CFLAGS"
   14228 fi
   14229 
   14230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14233 	fi
   14234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14236 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14237 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14238   $as_echo_n "(cached) " >&6
   14239 else
   14240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14241 /* end confdefs.h.  */
   14242 int i;
   14243 _ACEOF
   14244 if ac_fn_c_try_compile "$LINENO"; then :
   14245   xorg_cv_cc_flag_unused_command_line_argument=yes
   14246 else
   14247   xorg_cv_cc_flag_unused_command_line_argument=no
   14248 fi
   14249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14250 fi
   14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14252 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14254 	CFLAGS="$xorg_testset_save_CFLAGS"
   14255 fi
   14256 
   14257 found="no"
   14258 
   14259 	if test $found = "no" ; then
   14260 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14262 		fi
   14263 
   14264 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14266 		fi
   14267 
   14268 		CFLAGS="$CFLAGS -Werror=main"
   14269 
   14270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14271 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14272 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14273 		if eval \${$cacheid+:} false; then :
   14274   $as_echo_n "(cached) " >&6
   14275 else
   14276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14277 /* end confdefs.h.  */
   14278 int i;
   14279 int
   14280 main ()
   14281 {
   14282 
   14283   ;
   14284   return 0;
   14285 }
   14286 _ACEOF
   14287 if ac_fn_c_try_link "$LINENO"; then :
   14288   eval $cacheid=yes
   14289 else
   14290   eval $cacheid=no
   14291 fi
   14292 rm -f core conftest.err conftest.$ac_objext \
   14293     conftest$ac_exeext conftest.$ac_ext
   14294 fi
   14295 
   14296 
   14297 		CFLAGS="$xorg_testset_save_CFLAGS"
   14298 
   14299 		eval supported=\$$cacheid
   14300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14301 $as_echo "$supported" >&6; }
   14302 		if test "$supported" = "yes" ; then
   14303 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14304 			found="yes"
   14305 		fi
   14306 	fi
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 xorg_testset_save_CFLAGS="$CFLAGS"
   14323 
   14324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14329   $as_echo_n "(cached) " >&6
   14330 else
   14331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14332 /* end confdefs.h.  */
   14333 int i;
   14334 _ACEOF
   14335 if ac_fn_c_try_compile "$LINENO"; then :
   14336   xorg_cv_cc_flag_unknown_warning_option=yes
   14337 else
   14338   xorg_cv_cc_flag_unknown_warning_option=no
   14339 fi
   14340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14341 fi
   14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14345 	CFLAGS="$xorg_testset_save_CFLAGS"
   14346 fi
   14347 
   14348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14351 	fi
   14352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14356   $as_echo_n "(cached) " >&6
   14357 else
   14358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14359 /* end confdefs.h.  */
   14360 int i;
   14361 _ACEOF
   14362 if ac_fn_c_try_compile "$LINENO"; then :
   14363   xorg_cv_cc_flag_unused_command_line_argument=yes
   14364 else
   14365   xorg_cv_cc_flag_unused_command_line_argument=no
   14366 fi
   14367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14368 fi
   14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14372 	CFLAGS="$xorg_testset_save_CFLAGS"
   14373 fi
   14374 
   14375 found="no"
   14376 
   14377 	if test $found = "no" ; then
   14378 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14380 		fi
   14381 
   14382 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14384 		fi
   14385 
   14386 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14387 
   14388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14389 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14390 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14391 		if eval \${$cacheid+:} false; then :
   14392   $as_echo_n "(cached) " >&6
   14393 else
   14394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14395 /* end confdefs.h.  */
   14396 int i;
   14397 int
   14398 main ()
   14399 {
   14400 
   14401   ;
   14402   return 0;
   14403 }
   14404 _ACEOF
   14405 if ac_fn_c_try_link "$LINENO"; then :
   14406   eval $cacheid=yes
   14407 else
   14408   eval $cacheid=no
   14409 fi
   14410 rm -f core conftest.err conftest.$ac_objext \
   14411     conftest$ac_exeext conftest.$ac_ext
   14412 fi
   14413 
   14414 
   14415 		CFLAGS="$xorg_testset_save_CFLAGS"
   14416 
   14417 		eval supported=\$$cacheid
   14418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14419 $as_echo "$supported" >&6; }
   14420 		if test "$supported" = "yes" ; then
   14421 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14422 			found="yes"
   14423 		fi
   14424 	fi
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 xorg_testset_save_CFLAGS="$CFLAGS"
   14441 
   14442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14447   $as_echo_n "(cached) " >&6
   14448 else
   14449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14450 /* end confdefs.h.  */
   14451 int i;
   14452 _ACEOF
   14453 if ac_fn_c_try_compile "$LINENO"; then :
   14454   xorg_cv_cc_flag_unknown_warning_option=yes
   14455 else
   14456   xorg_cv_cc_flag_unknown_warning_option=no
   14457 fi
   14458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14459 fi
   14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14463 	CFLAGS="$xorg_testset_save_CFLAGS"
   14464 fi
   14465 
   14466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14469 	fi
   14470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14474   $as_echo_n "(cached) " >&6
   14475 else
   14476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14477 /* end confdefs.h.  */
   14478 int i;
   14479 _ACEOF
   14480 if ac_fn_c_try_compile "$LINENO"; then :
   14481   xorg_cv_cc_flag_unused_command_line_argument=yes
   14482 else
   14483   xorg_cv_cc_flag_unused_command_line_argument=no
   14484 fi
   14485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14486 fi
   14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14490 	CFLAGS="$xorg_testset_save_CFLAGS"
   14491 fi
   14492 
   14493 found="no"
   14494 
   14495 	if test $found = "no" ; then
   14496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14498 		fi
   14499 
   14500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14502 		fi
   14503 
   14504 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14505 
   14506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14507 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14508 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14509 		if eval \${$cacheid+:} false; then :
   14510   $as_echo_n "(cached) " >&6
   14511 else
   14512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14513 /* end confdefs.h.  */
   14514 int i;
   14515 int
   14516 main ()
   14517 {
   14518 
   14519   ;
   14520   return 0;
   14521 }
   14522 _ACEOF
   14523 if ac_fn_c_try_link "$LINENO"; then :
   14524   eval $cacheid=yes
   14525 else
   14526   eval $cacheid=no
   14527 fi
   14528 rm -f core conftest.err conftest.$ac_objext \
   14529     conftest$ac_exeext conftest.$ac_ext
   14530 fi
   14531 
   14532 
   14533 		CFLAGS="$xorg_testset_save_CFLAGS"
   14534 
   14535 		eval supported=\$$cacheid
   14536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14537 $as_echo "$supported" >&6; }
   14538 		if test "$supported" = "yes" ; then
   14539 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14540 			found="yes"
   14541 		fi
   14542 	fi
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 xorg_testset_save_CFLAGS="$CFLAGS"
   14559 
   14560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14565   $as_echo_n "(cached) " >&6
   14566 else
   14567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14568 /* end confdefs.h.  */
   14569 int i;
   14570 _ACEOF
   14571 if ac_fn_c_try_compile "$LINENO"; then :
   14572   xorg_cv_cc_flag_unknown_warning_option=yes
   14573 else
   14574   xorg_cv_cc_flag_unknown_warning_option=no
   14575 fi
   14576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14577 fi
   14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14581 	CFLAGS="$xorg_testset_save_CFLAGS"
   14582 fi
   14583 
   14584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14587 	fi
   14588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14592   $as_echo_n "(cached) " >&6
   14593 else
   14594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14595 /* end confdefs.h.  */
   14596 int i;
   14597 _ACEOF
   14598 if ac_fn_c_try_compile "$LINENO"; then :
   14599   xorg_cv_cc_flag_unused_command_line_argument=yes
   14600 else
   14601   xorg_cv_cc_flag_unused_command_line_argument=no
   14602 fi
   14603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14604 fi
   14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14608 	CFLAGS="$xorg_testset_save_CFLAGS"
   14609 fi
   14610 
   14611 found="no"
   14612 
   14613 	if test $found = "no" ; then
   14614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14616 		fi
   14617 
   14618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14620 		fi
   14621 
   14622 		CFLAGS="$CFLAGS -Werror=return-type"
   14623 
   14624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14625 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14626 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14627 		if eval \${$cacheid+:} false; then :
   14628   $as_echo_n "(cached) " >&6
   14629 else
   14630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14631 /* end confdefs.h.  */
   14632 int i;
   14633 int
   14634 main ()
   14635 {
   14636 
   14637   ;
   14638   return 0;
   14639 }
   14640 _ACEOF
   14641 if ac_fn_c_try_link "$LINENO"; then :
   14642   eval $cacheid=yes
   14643 else
   14644   eval $cacheid=no
   14645 fi
   14646 rm -f core conftest.err conftest.$ac_objext \
   14647     conftest$ac_exeext conftest.$ac_ext
   14648 fi
   14649 
   14650 
   14651 		CFLAGS="$xorg_testset_save_CFLAGS"
   14652 
   14653 		eval supported=\$$cacheid
   14654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14655 $as_echo "$supported" >&6; }
   14656 		if test "$supported" = "yes" ; then
   14657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14658 			found="yes"
   14659 		fi
   14660 	fi
   14661 
   14662 	if test $found = "no" ; then
   14663 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14665 		fi
   14666 
   14667 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14669 		fi
   14670 
   14671 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14672 
   14673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14674 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14675 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14676 		if eval \${$cacheid+:} false; then :
   14677   $as_echo_n "(cached) " >&6
   14678 else
   14679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14680 /* end confdefs.h.  */
   14681 int i;
   14682 int
   14683 main ()
   14684 {
   14685 
   14686   ;
   14687   return 0;
   14688 }
   14689 _ACEOF
   14690 if ac_fn_c_try_link "$LINENO"; then :
   14691   eval $cacheid=yes
   14692 else
   14693   eval $cacheid=no
   14694 fi
   14695 rm -f core conftest.err conftest.$ac_objext \
   14696     conftest$ac_exeext conftest.$ac_ext
   14697 fi
   14698 
   14699 
   14700 		CFLAGS="$xorg_testset_save_CFLAGS"
   14701 
   14702 		eval supported=\$$cacheid
   14703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14704 $as_echo "$supported" >&6; }
   14705 		if test "$supported" = "yes" ; then
   14706 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14707 			found="yes"
   14708 		fi
   14709 	fi
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 
   14718 
   14719 
   14720 
   14721 
   14722 
   14723 
   14724 
   14725 xorg_testset_save_CFLAGS="$CFLAGS"
   14726 
   14727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14732   $as_echo_n "(cached) " >&6
   14733 else
   14734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14735 /* end confdefs.h.  */
   14736 int i;
   14737 _ACEOF
   14738 if ac_fn_c_try_compile "$LINENO"; then :
   14739   xorg_cv_cc_flag_unknown_warning_option=yes
   14740 else
   14741   xorg_cv_cc_flag_unknown_warning_option=no
   14742 fi
   14743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14744 fi
   14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14748 	CFLAGS="$xorg_testset_save_CFLAGS"
   14749 fi
   14750 
   14751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14754 	fi
   14755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14759   $as_echo_n "(cached) " >&6
   14760 else
   14761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14762 /* end confdefs.h.  */
   14763 int i;
   14764 _ACEOF
   14765 if ac_fn_c_try_compile "$LINENO"; then :
   14766   xorg_cv_cc_flag_unused_command_line_argument=yes
   14767 else
   14768   xorg_cv_cc_flag_unused_command_line_argument=no
   14769 fi
   14770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14771 fi
   14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14775 	CFLAGS="$xorg_testset_save_CFLAGS"
   14776 fi
   14777 
   14778 found="no"
   14779 
   14780 	if test $found = "no" ; then
   14781 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14783 		fi
   14784 
   14785 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14787 		fi
   14788 
   14789 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14790 
   14791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14792 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14793 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14794 		if eval \${$cacheid+:} false; then :
   14795   $as_echo_n "(cached) " >&6
   14796 else
   14797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14798 /* end confdefs.h.  */
   14799 int i;
   14800 int
   14801 main ()
   14802 {
   14803 
   14804   ;
   14805   return 0;
   14806 }
   14807 _ACEOF
   14808 if ac_fn_c_try_link "$LINENO"; then :
   14809   eval $cacheid=yes
   14810 else
   14811   eval $cacheid=no
   14812 fi
   14813 rm -f core conftest.err conftest.$ac_objext \
   14814     conftest$ac_exeext conftest.$ac_ext
   14815 fi
   14816 
   14817 
   14818 		CFLAGS="$xorg_testset_save_CFLAGS"
   14819 
   14820 		eval supported=\$$cacheid
   14821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14822 $as_echo "$supported" >&6; }
   14823 		if test "$supported" = "yes" ; then
   14824 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14825 			found="yes"
   14826 		fi
   14827 	fi
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 xorg_testset_save_CFLAGS="$CFLAGS"
   14844 
   14845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14850   $as_echo_n "(cached) " >&6
   14851 else
   14852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14853 /* end confdefs.h.  */
   14854 int i;
   14855 _ACEOF
   14856 if ac_fn_c_try_compile "$LINENO"; then :
   14857   xorg_cv_cc_flag_unknown_warning_option=yes
   14858 else
   14859   xorg_cv_cc_flag_unknown_warning_option=no
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14862 fi
   14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14866 	CFLAGS="$xorg_testset_save_CFLAGS"
   14867 fi
   14868 
   14869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 	fi
   14873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14877   $as_echo_n "(cached) " >&6
   14878 else
   14879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14880 /* end confdefs.h.  */
   14881 int i;
   14882 _ACEOF
   14883 if ac_fn_c_try_compile "$LINENO"; then :
   14884   xorg_cv_cc_flag_unused_command_line_argument=yes
   14885 else
   14886   xorg_cv_cc_flag_unused_command_line_argument=no
   14887 fi
   14888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14889 fi
   14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14893 	CFLAGS="$xorg_testset_save_CFLAGS"
   14894 fi
   14895 
   14896 found="no"
   14897 
   14898 	if test $found = "no" ; then
   14899 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14901 		fi
   14902 
   14903 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14905 		fi
   14906 
   14907 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14908 
   14909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14910 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14911 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14912 		if eval \${$cacheid+:} false; then :
   14913   $as_echo_n "(cached) " >&6
   14914 else
   14915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14916 /* end confdefs.h.  */
   14917 int i;
   14918 int
   14919 main ()
   14920 {
   14921 
   14922   ;
   14923   return 0;
   14924 }
   14925 _ACEOF
   14926 if ac_fn_c_try_link "$LINENO"; then :
   14927   eval $cacheid=yes
   14928 else
   14929   eval $cacheid=no
   14930 fi
   14931 rm -f core conftest.err conftest.$ac_objext \
   14932     conftest$ac_exeext conftest.$ac_ext
   14933 fi
   14934 
   14935 
   14936 		CFLAGS="$xorg_testset_save_CFLAGS"
   14937 
   14938 		eval supported=\$$cacheid
   14939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14940 $as_echo "$supported" >&6; }
   14941 		if test "$supported" = "yes" ; then
   14942 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14943 			found="yes"
   14944 		fi
   14945 	fi
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 xorg_testset_save_CFLAGS="$CFLAGS"
   14962 
   14963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14968   $as_echo_n "(cached) " >&6
   14969 else
   14970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14971 /* end confdefs.h.  */
   14972 int i;
   14973 _ACEOF
   14974 if ac_fn_c_try_compile "$LINENO"; then :
   14975   xorg_cv_cc_flag_unknown_warning_option=yes
   14976 else
   14977   xorg_cv_cc_flag_unknown_warning_option=no
   14978 fi
   14979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14980 fi
   14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14984 	CFLAGS="$xorg_testset_save_CFLAGS"
   14985 fi
   14986 
   14987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14990 	fi
   14991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14995   $as_echo_n "(cached) " >&6
   14996 else
   14997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14998 /* end confdefs.h.  */
   14999 int i;
   15000 _ACEOF
   15001 if ac_fn_c_try_compile "$LINENO"; then :
   15002   xorg_cv_cc_flag_unused_command_line_argument=yes
   15003 else
   15004   xorg_cv_cc_flag_unused_command_line_argument=no
   15005 fi
   15006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15007 fi
   15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15011 	CFLAGS="$xorg_testset_save_CFLAGS"
   15012 fi
   15013 
   15014 found="no"
   15015 
   15016 	if test $found = "no" ; then
   15017 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15019 		fi
   15020 
   15021 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15023 		fi
   15024 
   15025 		CFLAGS="$CFLAGS -Werror=write-strings"
   15026 
   15027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15028 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15029 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15030 		if eval \${$cacheid+:} false; then :
   15031   $as_echo_n "(cached) " >&6
   15032 else
   15033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15034 /* end confdefs.h.  */
   15035 int i;
   15036 int
   15037 main ()
   15038 {
   15039 
   15040   ;
   15041   return 0;
   15042 }
   15043 _ACEOF
   15044 if ac_fn_c_try_link "$LINENO"; then :
   15045   eval $cacheid=yes
   15046 else
   15047   eval $cacheid=no
   15048 fi
   15049 rm -f core conftest.err conftest.$ac_objext \
   15050     conftest$ac_exeext conftest.$ac_ext
   15051 fi
   15052 
   15053 
   15054 		CFLAGS="$xorg_testset_save_CFLAGS"
   15055 
   15056 		eval supported=\$$cacheid
   15057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15058 $as_echo "$supported" >&6; }
   15059 		if test "$supported" = "yes" ; then
   15060 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15061 			found="yes"
   15062 		fi
   15063 	fi
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 xorg_testset_save_CFLAGS="$CFLAGS"
   15080 
   15081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15084 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15085 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15086   $as_echo_n "(cached) " >&6
   15087 else
   15088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15089 /* end confdefs.h.  */
   15090 int i;
   15091 _ACEOF
   15092 if ac_fn_c_try_compile "$LINENO"; then :
   15093   xorg_cv_cc_flag_unknown_warning_option=yes
   15094 else
   15095   xorg_cv_cc_flag_unknown_warning_option=no
   15096 fi
   15097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15098 fi
   15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15100 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15102 	CFLAGS="$xorg_testset_save_CFLAGS"
   15103 fi
   15104 
   15105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15108 	fi
   15109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15111 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15112 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15113   $as_echo_n "(cached) " >&6
   15114 else
   15115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15116 /* end confdefs.h.  */
   15117 int i;
   15118 _ACEOF
   15119 if ac_fn_c_try_compile "$LINENO"; then :
   15120   xorg_cv_cc_flag_unused_command_line_argument=yes
   15121 else
   15122   xorg_cv_cc_flag_unused_command_line_argument=no
   15123 fi
   15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15125 fi
   15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15127 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15129 	CFLAGS="$xorg_testset_save_CFLAGS"
   15130 fi
   15131 
   15132 found="no"
   15133 
   15134 	if test $found = "no" ; then
   15135 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15137 		fi
   15138 
   15139 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15141 		fi
   15142 
   15143 		CFLAGS="$CFLAGS -Werror=address"
   15144 
   15145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15146 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15147 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15148 		if eval \${$cacheid+:} false; then :
   15149   $as_echo_n "(cached) " >&6
   15150 else
   15151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15152 /* end confdefs.h.  */
   15153 int i;
   15154 int
   15155 main ()
   15156 {
   15157 
   15158   ;
   15159   return 0;
   15160 }
   15161 _ACEOF
   15162 if ac_fn_c_try_link "$LINENO"; then :
   15163   eval $cacheid=yes
   15164 else
   15165   eval $cacheid=no
   15166 fi
   15167 rm -f core conftest.err conftest.$ac_objext \
   15168     conftest$ac_exeext conftest.$ac_ext
   15169 fi
   15170 
   15171 
   15172 		CFLAGS="$xorg_testset_save_CFLAGS"
   15173 
   15174 		eval supported=\$$cacheid
   15175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15176 $as_echo "$supported" >&6; }
   15177 		if test "$supported" = "yes" ; then
   15178 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15179 			found="yes"
   15180 		fi
   15181 	fi
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 xorg_testset_save_CFLAGS="$CFLAGS"
   15198 
   15199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15202 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15203 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15204   $as_echo_n "(cached) " >&6
   15205 else
   15206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15207 /* end confdefs.h.  */
   15208 int i;
   15209 _ACEOF
   15210 if ac_fn_c_try_compile "$LINENO"; then :
   15211   xorg_cv_cc_flag_unknown_warning_option=yes
   15212 else
   15213   xorg_cv_cc_flag_unknown_warning_option=no
   15214 fi
   15215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15216 fi
   15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15218 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15220 	CFLAGS="$xorg_testset_save_CFLAGS"
   15221 fi
   15222 
   15223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15226 	fi
   15227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15230 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15231   $as_echo_n "(cached) " >&6
   15232 else
   15233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15234 /* end confdefs.h.  */
   15235 int i;
   15236 _ACEOF
   15237 if ac_fn_c_try_compile "$LINENO"; then :
   15238   xorg_cv_cc_flag_unused_command_line_argument=yes
   15239 else
   15240   xorg_cv_cc_flag_unused_command_line_argument=no
   15241 fi
   15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15243 fi
   15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15245 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15247 	CFLAGS="$xorg_testset_save_CFLAGS"
   15248 fi
   15249 
   15250 found="no"
   15251 
   15252 	if test $found = "no" ; then
   15253 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15255 		fi
   15256 
   15257 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15259 		fi
   15260 
   15261 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15262 
   15263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15264 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15265 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15266 		if eval \${$cacheid+:} false; then :
   15267   $as_echo_n "(cached) " >&6
   15268 else
   15269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15270 /* end confdefs.h.  */
   15271 int i;
   15272 int
   15273 main ()
   15274 {
   15275 
   15276   ;
   15277   return 0;
   15278 }
   15279 _ACEOF
   15280 if ac_fn_c_try_link "$LINENO"; then :
   15281   eval $cacheid=yes
   15282 else
   15283   eval $cacheid=no
   15284 fi
   15285 rm -f core conftest.err conftest.$ac_objext \
   15286     conftest$ac_exeext conftest.$ac_ext
   15287 fi
   15288 
   15289 
   15290 		CFLAGS="$xorg_testset_save_CFLAGS"
   15291 
   15292 		eval supported=\$$cacheid
   15293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15294 $as_echo "$supported" >&6; }
   15295 		if test "$supported" = "yes" ; then
   15296 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15297 			found="yes"
   15298 		fi
   15299 	fi
   15300 
   15301 	if test $found = "no" ; then
   15302 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15304 		fi
   15305 
   15306 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15308 		fi
   15309 
   15310 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15311 
   15312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15313 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15314 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15315 		if eval \${$cacheid+:} false; then :
   15316   $as_echo_n "(cached) " >&6
   15317 else
   15318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15319 /* end confdefs.h.  */
   15320 int i;
   15321 int
   15322 main ()
   15323 {
   15324 
   15325   ;
   15326   return 0;
   15327 }
   15328 _ACEOF
   15329 if ac_fn_c_try_link "$LINENO"; then :
   15330   eval $cacheid=yes
   15331 else
   15332   eval $cacheid=no
   15333 fi
   15334 rm -f core conftest.err conftest.$ac_objext \
   15335     conftest$ac_exeext conftest.$ac_ext
   15336 fi
   15337 
   15338 
   15339 		CFLAGS="$xorg_testset_save_CFLAGS"
   15340 
   15341 		eval supported=\$$cacheid
   15342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15343 $as_echo "$supported" >&6; }
   15344 		if test "$supported" = "yes" ; then
   15345 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15346 			found="yes"
   15347 		fi
   15348 	fi
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 xorg_testset_save_CFLAGS="$CFLAGS"
   15365 
   15366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15371   $as_echo_n "(cached) " >&6
   15372 else
   15373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15374 /* end confdefs.h.  */
   15375 int i;
   15376 _ACEOF
   15377 if ac_fn_c_try_compile "$LINENO"; then :
   15378   xorg_cv_cc_flag_unknown_warning_option=yes
   15379 else
   15380   xorg_cv_cc_flag_unknown_warning_option=no
   15381 fi
   15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15383 fi
   15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15387 	CFLAGS="$xorg_testset_save_CFLAGS"
   15388 fi
   15389 
   15390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 	fi
   15394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15398   $as_echo_n "(cached) " >&6
   15399 else
   15400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15401 /* end confdefs.h.  */
   15402 int i;
   15403 _ACEOF
   15404 if ac_fn_c_try_compile "$LINENO"; then :
   15405   xorg_cv_cc_flag_unused_command_line_argument=yes
   15406 else
   15407   xorg_cv_cc_flag_unused_command_line_argument=no
   15408 fi
   15409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15410 fi
   15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15414 	CFLAGS="$xorg_testset_save_CFLAGS"
   15415 fi
   15416 
   15417 found="no"
   15418 
   15419 	if test $found = "no" ; then
   15420 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15422 		fi
   15423 
   15424 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15426 		fi
   15427 
   15428 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15429 
   15430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15431 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15432 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15433 		if eval \${$cacheid+:} false; then :
   15434   $as_echo_n "(cached) " >&6
   15435 else
   15436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15437 /* end confdefs.h.  */
   15438 int i;
   15439 int
   15440 main ()
   15441 {
   15442 
   15443   ;
   15444   return 0;
   15445 }
   15446 _ACEOF
   15447 if ac_fn_c_try_link "$LINENO"; then :
   15448   eval $cacheid=yes
   15449 else
   15450   eval $cacheid=no
   15451 fi
   15452 rm -f core conftest.err conftest.$ac_objext \
   15453     conftest$ac_exeext conftest.$ac_ext
   15454 fi
   15455 
   15456 
   15457 		CFLAGS="$xorg_testset_save_CFLAGS"
   15458 
   15459 		eval supported=\$$cacheid
   15460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15461 $as_echo "$supported" >&6; }
   15462 		if test "$supported" = "yes" ; then
   15463 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15464 			found="yes"
   15465 		fi
   15466 	fi
   15467 
   15468  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15469 else
   15470 { $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
   15471 $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;}
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 xorg_testset_save_CFLAGS="$CFLAGS"
   15486 
   15487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15492   $as_echo_n "(cached) " >&6
   15493 else
   15494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15495 /* end confdefs.h.  */
   15496 int i;
   15497 _ACEOF
   15498 if ac_fn_c_try_compile "$LINENO"; then :
   15499   xorg_cv_cc_flag_unknown_warning_option=yes
   15500 else
   15501   xorg_cv_cc_flag_unknown_warning_option=no
   15502 fi
   15503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15504 fi
   15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15508 	CFLAGS="$xorg_testset_save_CFLAGS"
   15509 fi
   15510 
   15511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15514 	fi
   15515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15519   $as_echo_n "(cached) " >&6
   15520 else
   15521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15522 /* end confdefs.h.  */
   15523 int i;
   15524 _ACEOF
   15525 if ac_fn_c_try_compile "$LINENO"; then :
   15526   xorg_cv_cc_flag_unused_command_line_argument=yes
   15527 else
   15528   xorg_cv_cc_flag_unused_command_line_argument=no
   15529 fi
   15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15531 fi
   15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15535 	CFLAGS="$xorg_testset_save_CFLAGS"
   15536 fi
   15537 
   15538 found="no"
   15539 
   15540 	if test $found = "no" ; then
   15541 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15543 		fi
   15544 
   15545 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15547 		fi
   15548 
   15549 		CFLAGS="$CFLAGS -Wimplicit"
   15550 
   15551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15552 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15553 		cacheid=xorg_cv_cc_flag__Wimplicit
   15554 		if eval \${$cacheid+:} false; then :
   15555   $as_echo_n "(cached) " >&6
   15556 else
   15557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15558 /* end confdefs.h.  */
   15559 int i;
   15560 int
   15561 main ()
   15562 {
   15563 
   15564   ;
   15565   return 0;
   15566 }
   15567 _ACEOF
   15568 if ac_fn_c_try_link "$LINENO"; then :
   15569   eval $cacheid=yes
   15570 else
   15571   eval $cacheid=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext \
   15574     conftest$ac_exeext conftest.$ac_ext
   15575 fi
   15576 
   15577 
   15578 		CFLAGS="$xorg_testset_save_CFLAGS"
   15579 
   15580 		eval supported=\$$cacheid
   15581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15582 $as_echo "$supported" >&6; }
   15583 		if test "$supported" = "yes" ; then
   15584 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15585 			found="yes"
   15586 		fi
   15587 	fi
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 xorg_testset_save_CFLAGS="$CFLAGS"
   15604 
   15605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15610   $as_echo_n "(cached) " >&6
   15611 else
   15612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15613 /* end confdefs.h.  */
   15614 int i;
   15615 _ACEOF
   15616 if ac_fn_c_try_compile "$LINENO"; then :
   15617   xorg_cv_cc_flag_unknown_warning_option=yes
   15618 else
   15619   xorg_cv_cc_flag_unknown_warning_option=no
   15620 fi
   15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15622 fi
   15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15626 	CFLAGS="$xorg_testset_save_CFLAGS"
   15627 fi
   15628 
   15629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 	fi
   15633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15637   $as_echo_n "(cached) " >&6
   15638 else
   15639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15640 /* end confdefs.h.  */
   15641 int i;
   15642 _ACEOF
   15643 if ac_fn_c_try_compile "$LINENO"; then :
   15644   xorg_cv_cc_flag_unused_command_line_argument=yes
   15645 else
   15646   xorg_cv_cc_flag_unused_command_line_argument=no
   15647 fi
   15648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15649 fi
   15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15653 	CFLAGS="$xorg_testset_save_CFLAGS"
   15654 fi
   15655 
   15656 found="no"
   15657 
   15658 	if test $found = "no" ; then
   15659 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15661 		fi
   15662 
   15663 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15665 		fi
   15666 
   15667 		CFLAGS="$CFLAGS -Wnonnull"
   15668 
   15669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15670 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15671 		cacheid=xorg_cv_cc_flag__Wnonnull
   15672 		if eval \${$cacheid+:} false; then :
   15673   $as_echo_n "(cached) " >&6
   15674 else
   15675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15676 /* end confdefs.h.  */
   15677 int i;
   15678 int
   15679 main ()
   15680 {
   15681 
   15682   ;
   15683   return 0;
   15684 }
   15685 _ACEOF
   15686 if ac_fn_c_try_link "$LINENO"; then :
   15687   eval $cacheid=yes
   15688 else
   15689   eval $cacheid=no
   15690 fi
   15691 rm -f core conftest.err conftest.$ac_objext \
   15692     conftest$ac_exeext conftest.$ac_ext
   15693 fi
   15694 
   15695 
   15696 		CFLAGS="$xorg_testset_save_CFLAGS"
   15697 
   15698 		eval supported=\$$cacheid
   15699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15700 $as_echo "$supported" >&6; }
   15701 		if test "$supported" = "yes" ; then
   15702 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15703 			found="yes"
   15704 		fi
   15705 	fi
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 xorg_testset_save_CFLAGS="$CFLAGS"
   15722 
   15723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15728   $as_echo_n "(cached) " >&6
   15729 else
   15730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15731 /* end confdefs.h.  */
   15732 int i;
   15733 _ACEOF
   15734 if ac_fn_c_try_compile "$LINENO"; then :
   15735   xorg_cv_cc_flag_unknown_warning_option=yes
   15736 else
   15737   xorg_cv_cc_flag_unknown_warning_option=no
   15738 fi
   15739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15740 fi
   15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15744 	CFLAGS="$xorg_testset_save_CFLAGS"
   15745 fi
   15746 
   15747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15750 	fi
   15751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15755   $as_echo_n "(cached) " >&6
   15756 else
   15757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15758 /* end confdefs.h.  */
   15759 int i;
   15760 _ACEOF
   15761 if ac_fn_c_try_compile "$LINENO"; then :
   15762   xorg_cv_cc_flag_unused_command_line_argument=yes
   15763 else
   15764   xorg_cv_cc_flag_unused_command_line_argument=no
   15765 fi
   15766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15767 fi
   15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15771 	CFLAGS="$xorg_testset_save_CFLAGS"
   15772 fi
   15773 
   15774 found="no"
   15775 
   15776 	if test $found = "no" ; then
   15777 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15779 		fi
   15780 
   15781 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15783 		fi
   15784 
   15785 		CFLAGS="$CFLAGS -Winit-self"
   15786 
   15787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15788 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15789 		cacheid=xorg_cv_cc_flag__Winit_self
   15790 		if eval \${$cacheid+:} false; then :
   15791   $as_echo_n "(cached) " >&6
   15792 else
   15793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15794 /* end confdefs.h.  */
   15795 int i;
   15796 int
   15797 main ()
   15798 {
   15799 
   15800   ;
   15801   return 0;
   15802 }
   15803 _ACEOF
   15804 if ac_fn_c_try_link "$LINENO"; then :
   15805   eval $cacheid=yes
   15806 else
   15807   eval $cacheid=no
   15808 fi
   15809 rm -f core conftest.err conftest.$ac_objext \
   15810     conftest$ac_exeext conftest.$ac_ext
   15811 fi
   15812 
   15813 
   15814 		CFLAGS="$xorg_testset_save_CFLAGS"
   15815 
   15816 		eval supported=\$$cacheid
   15817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15818 $as_echo "$supported" >&6; }
   15819 		if test "$supported" = "yes" ; then
   15820 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15821 			found="yes"
   15822 		fi
   15823 	fi
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 xorg_testset_save_CFLAGS="$CFLAGS"
   15840 
   15841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15846   $as_echo_n "(cached) " >&6
   15847 else
   15848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15849 /* end confdefs.h.  */
   15850 int i;
   15851 _ACEOF
   15852 if ac_fn_c_try_compile "$LINENO"; then :
   15853   xorg_cv_cc_flag_unknown_warning_option=yes
   15854 else
   15855   xorg_cv_cc_flag_unknown_warning_option=no
   15856 fi
   15857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15858 fi
   15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15862 	CFLAGS="$xorg_testset_save_CFLAGS"
   15863 fi
   15864 
   15865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 	fi
   15869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15873   $as_echo_n "(cached) " >&6
   15874 else
   15875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15876 /* end confdefs.h.  */
   15877 int i;
   15878 _ACEOF
   15879 if ac_fn_c_try_compile "$LINENO"; then :
   15880   xorg_cv_cc_flag_unused_command_line_argument=yes
   15881 else
   15882   xorg_cv_cc_flag_unused_command_line_argument=no
   15883 fi
   15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15885 fi
   15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15889 	CFLAGS="$xorg_testset_save_CFLAGS"
   15890 fi
   15891 
   15892 found="no"
   15893 
   15894 	if test $found = "no" ; then
   15895 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15897 		fi
   15898 
   15899 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15901 		fi
   15902 
   15903 		CFLAGS="$CFLAGS -Wmain"
   15904 
   15905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15906 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15907 		cacheid=xorg_cv_cc_flag__Wmain
   15908 		if eval \${$cacheid+:} false; then :
   15909   $as_echo_n "(cached) " >&6
   15910 else
   15911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15912 /* end confdefs.h.  */
   15913 int i;
   15914 int
   15915 main ()
   15916 {
   15917 
   15918   ;
   15919   return 0;
   15920 }
   15921 _ACEOF
   15922 if ac_fn_c_try_link "$LINENO"; then :
   15923   eval $cacheid=yes
   15924 else
   15925   eval $cacheid=no
   15926 fi
   15927 rm -f core conftest.err conftest.$ac_objext \
   15928     conftest$ac_exeext conftest.$ac_ext
   15929 fi
   15930 
   15931 
   15932 		CFLAGS="$xorg_testset_save_CFLAGS"
   15933 
   15934 		eval supported=\$$cacheid
   15935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15936 $as_echo "$supported" >&6; }
   15937 		if test "$supported" = "yes" ; then
   15938 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15939 			found="yes"
   15940 		fi
   15941 	fi
   15942 
   15943 
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 xorg_testset_save_CFLAGS="$CFLAGS"
   15958 
   15959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15964   $as_echo_n "(cached) " >&6
   15965 else
   15966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15967 /* end confdefs.h.  */
   15968 int i;
   15969 _ACEOF
   15970 if ac_fn_c_try_compile "$LINENO"; then :
   15971   xorg_cv_cc_flag_unknown_warning_option=yes
   15972 else
   15973   xorg_cv_cc_flag_unknown_warning_option=no
   15974 fi
   15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15976 fi
   15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15980 	CFLAGS="$xorg_testset_save_CFLAGS"
   15981 fi
   15982 
   15983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15986 	fi
   15987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15991   $as_echo_n "(cached) " >&6
   15992 else
   15993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15994 /* end confdefs.h.  */
   15995 int i;
   15996 _ACEOF
   15997 if ac_fn_c_try_compile "$LINENO"; then :
   15998   xorg_cv_cc_flag_unused_command_line_argument=yes
   15999 else
   16000   xorg_cv_cc_flag_unused_command_line_argument=no
   16001 fi
   16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16003 fi
   16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16007 	CFLAGS="$xorg_testset_save_CFLAGS"
   16008 fi
   16009 
   16010 found="no"
   16011 
   16012 	if test $found = "no" ; then
   16013 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16015 		fi
   16016 
   16017 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16019 		fi
   16020 
   16021 		CFLAGS="$CFLAGS -Wmissing-braces"
   16022 
   16023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16024 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16025 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16026 		if eval \${$cacheid+:} false; then :
   16027   $as_echo_n "(cached) " >&6
   16028 else
   16029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16030 /* end confdefs.h.  */
   16031 int i;
   16032 int
   16033 main ()
   16034 {
   16035 
   16036   ;
   16037   return 0;
   16038 }
   16039 _ACEOF
   16040 if ac_fn_c_try_link "$LINENO"; then :
   16041   eval $cacheid=yes
   16042 else
   16043   eval $cacheid=no
   16044 fi
   16045 rm -f core conftest.err conftest.$ac_objext \
   16046     conftest$ac_exeext conftest.$ac_ext
   16047 fi
   16048 
   16049 
   16050 		CFLAGS="$xorg_testset_save_CFLAGS"
   16051 
   16052 		eval supported=\$$cacheid
   16053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16054 $as_echo "$supported" >&6; }
   16055 		if test "$supported" = "yes" ; then
   16056 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16057 			found="yes"
   16058 		fi
   16059 	fi
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 xorg_testset_save_CFLAGS="$CFLAGS"
   16076 
   16077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16080 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16081 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16082   $as_echo_n "(cached) " >&6
   16083 else
   16084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16085 /* end confdefs.h.  */
   16086 int i;
   16087 _ACEOF
   16088 if ac_fn_c_try_compile "$LINENO"; then :
   16089   xorg_cv_cc_flag_unknown_warning_option=yes
   16090 else
   16091   xorg_cv_cc_flag_unknown_warning_option=no
   16092 fi
   16093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16094 fi
   16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16096 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16098 	CFLAGS="$xorg_testset_save_CFLAGS"
   16099 fi
   16100 
   16101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16104 	fi
   16105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16107 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16108 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16109   $as_echo_n "(cached) " >&6
   16110 else
   16111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16112 /* end confdefs.h.  */
   16113 int i;
   16114 _ACEOF
   16115 if ac_fn_c_try_compile "$LINENO"; then :
   16116   xorg_cv_cc_flag_unused_command_line_argument=yes
   16117 else
   16118   xorg_cv_cc_flag_unused_command_line_argument=no
   16119 fi
   16120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16121 fi
   16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16123 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16125 	CFLAGS="$xorg_testset_save_CFLAGS"
   16126 fi
   16127 
   16128 found="no"
   16129 
   16130 	if test $found = "no" ; then
   16131 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16133 		fi
   16134 
   16135 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16137 		fi
   16138 
   16139 		CFLAGS="$CFLAGS -Wsequence-point"
   16140 
   16141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16142 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16143 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16144 		if eval \${$cacheid+:} false; then :
   16145   $as_echo_n "(cached) " >&6
   16146 else
   16147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16148 /* end confdefs.h.  */
   16149 int i;
   16150 int
   16151 main ()
   16152 {
   16153 
   16154   ;
   16155   return 0;
   16156 }
   16157 _ACEOF
   16158 if ac_fn_c_try_link "$LINENO"; then :
   16159   eval $cacheid=yes
   16160 else
   16161   eval $cacheid=no
   16162 fi
   16163 rm -f core conftest.err conftest.$ac_objext \
   16164     conftest$ac_exeext conftest.$ac_ext
   16165 fi
   16166 
   16167 
   16168 		CFLAGS="$xorg_testset_save_CFLAGS"
   16169 
   16170 		eval supported=\$$cacheid
   16171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16172 $as_echo "$supported" >&6; }
   16173 		if test "$supported" = "yes" ; then
   16174 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16175 			found="yes"
   16176 		fi
   16177 	fi
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 xorg_testset_save_CFLAGS="$CFLAGS"
   16194 
   16195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16198 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16199 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16200   $as_echo_n "(cached) " >&6
   16201 else
   16202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16203 /* end confdefs.h.  */
   16204 int i;
   16205 _ACEOF
   16206 if ac_fn_c_try_compile "$LINENO"; then :
   16207   xorg_cv_cc_flag_unknown_warning_option=yes
   16208 else
   16209   xorg_cv_cc_flag_unknown_warning_option=no
   16210 fi
   16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16212 fi
   16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16214 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16216 	CFLAGS="$xorg_testset_save_CFLAGS"
   16217 fi
   16218 
   16219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16222 	fi
   16223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16225 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16226 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16227   $as_echo_n "(cached) " >&6
   16228 else
   16229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16230 /* end confdefs.h.  */
   16231 int i;
   16232 _ACEOF
   16233 if ac_fn_c_try_compile "$LINENO"; then :
   16234   xorg_cv_cc_flag_unused_command_line_argument=yes
   16235 else
   16236   xorg_cv_cc_flag_unused_command_line_argument=no
   16237 fi
   16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16239 fi
   16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16241 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16243 	CFLAGS="$xorg_testset_save_CFLAGS"
   16244 fi
   16245 
   16246 found="no"
   16247 
   16248 	if test $found = "no" ; then
   16249 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16251 		fi
   16252 
   16253 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16255 		fi
   16256 
   16257 		CFLAGS="$CFLAGS -Wreturn-type"
   16258 
   16259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16260 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16261 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16262 		if eval \${$cacheid+:} false; then :
   16263   $as_echo_n "(cached) " >&6
   16264 else
   16265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 int i;
   16268 int
   16269 main ()
   16270 {
   16271 
   16272   ;
   16273   return 0;
   16274 }
   16275 _ACEOF
   16276 if ac_fn_c_try_link "$LINENO"; then :
   16277   eval $cacheid=yes
   16278 else
   16279   eval $cacheid=no
   16280 fi
   16281 rm -f core conftest.err conftest.$ac_objext \
   16282     conftest$ac_exeext conftest.$ac_ext
   16283 fi
   16284 
   16285 
   16286 		CFLAGS="$xorg_testset_save_CFLAGS"
   16287 
   16288 		eval supported=\$$cacheid
   16289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16290 $as_echo "$supported" >&6; }
   16291 		if test "$supported" = "yes" ; then
   16292 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16293 			found="yes"
   16294 		fi
   16295 	fi
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 xorg_testset_save_CFLAGS="$CFLAGS"
   16312 
   16313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16318   $as_echo_n "(cached) " >&6
   16319 else
   16320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16321 /* end confdefs.h.  */
   16322 int i;
   16323 _ACEOF
   16324 if ac_fn_c_try_compile "$LINENO"; then :
   16325   xorg_cv_cc_flag_unknown_warning_option=yes
   16326 else
   16327   xorg_cv_cc_flag_unknown_warning_option=no
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16330 fi
   16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16334 	CFLAGS="$xorg_testset_save_CFLAGS"
   16335 fi
   16336 
   16337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16340 	fi
   16341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16345   $as_echo_n "(cached) " >&6
   16346 else
   16347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16348 /* end confdefs.h.  */
   16349 int i;
   16350 _ACEOF
   16351 if ac_fn_c_try_compile "$LINENO"; then :
   16352   xorg_cv_cc_flag_unused_command_line_argument=yes
   16353 else
   16354   xorg_cv_cc_flag_unused_command_line_argument=no
   16355 fi
   16356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16357 fi
   16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16361 	CFLAGS="$xorg_testset_save_CFLAGS"
   16362 fi
   16363 
   16364 found="no"
   16365 
   16366 	if test $found = "no" ; then
   16367 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16369 		fi
   16370 
   16371 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16373 		fi
   16374 
   16375 		CFLAGS="$CFLAGS -Wtrigraphs"
   16376 
   16377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16378 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16379 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16380 		if eval \${$cacheid+:} false; then :
   16381   $as_echo_n "(cached) " >&6
   16382 else
   16383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16384 /* end confdefs.h.  */
   16385 int i;
   16386 int
   16387 main ()
   16388 {
   16389 
   16390   ;
   16391   return 0;
   16392 }
   16393 _ACEOF
   16394 if ac_fn_c_try_link "$LINENO"; then :
   16395   eval $cacheid=yes
   16396 else
   16397   eval $cacheid=no
   16398 fi
   16399 rm -f core conftest.err conftest.$ac_objext \
   16400     conftest$ac_exeext conftest.$ac_ext
   16401 fi
   16402 
   16403 
   16404 		CFLAGS="$xorg_testset_save_CFLAGS"
   16405 
   16406 		eval supported=\$$cacheid
   16407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16408 $as_echo "$supported" >&6; }
   16409 		if test "$supported" = "yes" ; then
   16410 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16411 			found="yes"
   16412 		fi
   16413 	fi
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 xorg_testset_save_CFLAGS="$CFLAGS"
   16430 
   16431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16436   $as_echo_n "(cached) " >&6
   16437 else
   16438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16439 /* end confdefs.h.  */
   16440 int i;
   16441 _ACEOF
   16442 if ac_fn_c_try_compile "$LINENO"; then :
   16443   xorg_cv_cc_flag_unknown_warning_option=yes
   16444 else
   16445   xorg_cv_cc_flag_unknown_warning_option=no
   16446 fi
   16447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16448 fi
   16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16452 	CFLAGS="$xorg_testset_save_CFLAGS"
   16453 fi
   16454 
   16455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16458 	fi
   16459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16463   $as_echo_n "(cached) " >&6
   16464 else
   16465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16466 /* end confdefs.h.  */
   16467 int i;
   16468 _ACEOF
   16469 if ac_fn_c_try_compile "$LINENO"; then :
   16470   xorg_cv_cc_flag_unused_command_line_argument=yes
   16471 else
   16472   xorg_cv_cc_flag_unused_command_line_argument=no
   16473 fi
   16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16475 fi
   16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16479 	CFLAGS="$xorg_testset_save_CFLAGS"
   16480 fi
   16481 
   16482 found="no"
   16483 
   16484 	if test $found = "no" ; then
   16485 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16487 		fi
   16488 
   16489 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16491 		fi
   16492 
   16493 		CFLAGS="$CFLAGS -Warray-bounds"
   16494 
   16495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16496 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16497 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16498 		if eval \${$cacheid+:} false; then :
   16499   $as_echo_n "(cached) " >&6
   16500 else
   16501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16502 /* end confdefs.h.  */
   16503 int i;
   16504 int
   16505 main ()
   16506 {
   16507 
   16508   ;
   16509   return 0;
   16510 }
   16511 _ACEOF
   16512 if ac_fn_c_try_link "$LINENO"; then :
   16513   eval $cacheid=yes
   16514 else
   16515   eval $cacheid=no
   16516 fi
   16517 rm -f core conftest.err conftest.$ac_objext \
   16518     conftest$ac_exeext conftest.$ac_ext
   16519 fi
   16520 
   16521 
   16522 		CFLAGS="$xorg_testset_save_CFLAGS"
   16523 
   16524 		eval supported=\$$cacheid
   16525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16526 $as_echo "$supported" >&6; }
   16527 		if test "$supported" = "yes" ; then
   16528 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16529 			found="yes"
   16530 		fi
   16531 	fi
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 xorg_testset_save_CFLAGS="$CFLAGS"
   16548 
   16549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16554   $as_echo_n "(cached) " >&6
   16555 else
   16556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16557 /* end confdefs.h.  */
   16558 int i;
   16559 _ACEOF
   16560 if ac_fn_c_try_compile "$LINENO"; then :
   16561   xorg_cv_cc_flag_unknown_warning_option=yes
   16562 else
   16563   xorg_cv_cc_flag_unknown_warning_option=no
   16564 fi
   16565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16566 fi
   16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16570 	CFLAGS="$xorg_testset_save_CFLAGS"
   16571 fi
   16572 
   16573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16576 	fi
   16577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16581   $as_echo_n "(cached) " >&6
   16582 else
   16583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16584 /* end confdefs.h.  */
   16585 int i;
   16586 _ACEOF
   16587 if ac_fn_c_try_compile "$LINENO"; then :
   16588   xorg_cv_cc_flag_unused_command_line_argument=yes
   16589 else
   16590   xorg_cv_cc_flag_unused_command_line_argument=no
   16591 fi
   16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16593 fi
   16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16597 	CFLAGS="$xorg_testset_save_CFLAGS"
   16598 fi
   16599 
   16600 found="no"
   16601 
   16602 	if test $found = "no" ; then
   16603 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16605 		fi
   16606 
   16607 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16609 		fi
   16610 
   16611 		CFLAGS="$CFLAGS -Wwrite-strings"
   16612 
   16613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16614 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16615 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16616 		if eval \${$cacheid+:} false; then :
   16617   $as_echo_n "(cached) " >&6
   16618 else
   16619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16620 /* end confdefs.h.  */
   16621 int i;
   16622 int
   16623 main ()
   16624 {
   16625 
   16626   ;
   16627   return 0;
   16628 }
   16629 _ACEOF
   16630 if ac_fn_c_try_link "$LINENO"; then :
   16631   eval $cacheid=yes
   16632 else
   16633   eval $cacheid=no
   16634 fi
   16635 rm -f core conftest.err conftest.$ac_objext \
   16636     conftest$ac_exeext conftest.$ac_ext
   16637 fi
   16638 
   16639 
   16640 		CFLAGS="$xorg_testset_save_CFLAGS"
   16641 
   16642 		eval supported=\$$cacheid
   16643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16644 $as_echo "$supported" >&6; }
   16645 		if test "$supported" = "yes" ; then
   16646 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16647 			found="yes"
   16648 		fi
   16649 	fi
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 xorg_testset_save_CFLAGS="$CFLAGS"
   16666 
   16667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16670 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16671 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16672   $as_echo_n "(cached) " >&6
   16673 else
   16674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16675 /* end confdefs.h.  */
   16676 int i;
   16677 _ACEOF
   16678 if ac_fn_c_try_compile "$LINENO"; then :
   16679   xorg_cv_cc_flag_unknown_warning_option=yes
   16680 else
   16681   xorg_cv_cc_flag_unknown_warning_option=no
   16682 fi
   16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16684 fi
   16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16686 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16688 	CFLAGS="$xorg_testset_save_CFLAGS"
   16689 fi
   16690 
   16691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16694 	fi
   16695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16697 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16698 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16699   $as_echo_n "(cached) " >&6
   16700 else
   16701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16702 /* end confdefs.h.  */
   16703 int i;
   16704 _ACEOF
   16705 if ac_fn_c_try_compile "$LINENO"; then :
   16706   xorg_cv_cc_flag_unused_command_line_argument=yes
   16707 else
   16708   xorg_cv_cc_flag_unused_command_line_argument=no
   16709 fi
   16710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16711 fi
   16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16713 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16715 	CFLAGS="$xorg_testset_save_CFLAGS"
   16716 fi
   16717 
   16718 found="no"
   16719 
   16720 	if test $found = "no" ; then
   16721 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16723 		fi
   16724 
   16725 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16727 		fi
   16728 
   16729 		CFLAGS="$CFLAGS -Waddress"
   16730 
   16731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16732 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16733 		cacheid=xorg_cv_cc_flag__Waddress
   16734 		if eval \${$cacheid+:} false; then :
   16735   $as_echo_n "(cached) " >&6
   16736 else
   16737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16738 /* end confdefs.h.  */
   16739 int i;
   16740 int
   16741 main ()
   16742 {
   16743 
   16744   ;
   16745   return 0;
   16746 }
   16747 _ACEOF
   16748 if ac_fn_c_try_link "$LINENO"; then :
   16749   eval $cacheid=yes
   16750 else
   16751   eval $cacheid=no
   16752 fi
   16753 rm -f core conftest.err conftest.$ac_objext \
   16754     conftest$ac_exeext conftest.$ac_ext
   16755 fi
   16756 
   16757 
   16758 		CFLAGS="$xorg_testset_save_CFLAGS"
   16759 
   16760 		eval supported=\$$cacheid
   16761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16762 $as_echo "$supported" >&6; }
   16763 		if test "$supported" = "yes" ; then
   16764 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16765 			found="yes"
   16766 		fi
   16767 	fi
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 xorg_testset_save_CFLAGS="$CFLAGS"
   16784 
   16785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16790   $as_echo_n "(cached) " >&6
   16791 else
   16792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16793 /* end confdefs.h.  */
   16794 int i;
   16795 _ACEOF
   16796 if ac_fn_c_try_compile "$LINENO"; then :
   16797   xorg_cv_cc_flag_unknown_warning_option=yes
   16798 else
   16799   xorg_cv_cc_flag_unknown_warning_option=no
   16800 fi
   16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16802 fi
   16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16806 	CFLAGS="$xorg_testset_save_CFLAGS"
   16807 fi
   16808 
   16809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16812 	fi
   16813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16817   $as_echo_n "(cached) " >&6
   16818 else
   16819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16820 /* end confdefs.h.  */
   16821 int i;
   16822 _ACEOF
   16823 if ac_fn_c_try_compile "$LINENO"; then :
   16824   xorg_cv_cc_flag_unused_command_line_argument=yes
   16825 else
   16826   xorg_cv_cc_flag_unused_command_line_argument=no
   16827 fi
   16828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16829 fi
   16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16833 	CFLAGS="$xorg_testset_save_CFLAGS"
   16834 fi
   16835 
   16836 found="no"
   16837 
   16838 	if test $found = "no" ; then
   16839 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16841 		fi
   16842 
   16843 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16845 		fi
   16846 
   16847 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16848 
   16849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16850 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16851 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16852 		if eval \${$cacheid+:} false; then :
   16853   $as_echo_n "(cached) " >&6
   16854 else
   16855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16856 /* end confdefs.h.  */
   16857 int i;
   16858 int
   16859 main ()
   16860 {
   16861 
   16862   ;
   16863   return 0;
   16864 }
   16865 _ACEOF
   16866 if ac_fn_c_try_link "$LINENO"; then :
   16867   eval $cacheid=yes
   16868 else
   16869   eval $cacheid=no
   16870 fi
   16871 rm -f core conftest.err conftest.$ac_objext \
   16872     conftest$ac_exeext conftest.$ac_ext
   16873 fi
   16874 
   16875 
   16876 		CFLAGS="$xorg_testset_save_CFLAGS"
   16877 
   16878 		eval supported=\$$cacheid
   16879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16880 $as_echo "$supported" >&6; }
   16881 		if test "$supported" = "yes" ; then
   16882 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16883 			found="yes"
   16884 		fi
   16885 	fi
   16886 
   16887 
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 xorg_testset_save_CFLAGS="$CFLAGS"
   16902 
   16903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16908   $as_echo_n "(cached) " >&6
   16909 else
   16910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16911 /* end confdefs.h.  */
   16912 int i;
   16913 _ACEOF
   16914 if ac_fn_c_try_compile "$LINENO"; then :
   16915   xorg_cv_cc_flag_unknown_warning_option=yes
   16916 else
   16917   xorg_cv_cc_flag_unknown_warning_option=no
   16918 fi
   16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16920 fi
   16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16924 	CFLAGS="$xorg_testset_save_CFLAGS"
   16925 fi
   16926 
   16927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16930 	fi
   16931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16935   $as_echo_n "(cached) " >&6
   16936 else
   16937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16938 /* end confdefs.h.  */
   16939 int i;
   16940 _ACEOF
   16941 if ac_fn_c_try_compile "$LINENO"; then :
   16942   xorg_cv_cc_flag_unused_command_line_argument=yes
   16943 else
   16944   xorg_cv_cc_flag_unused_command_line_argument=no
   16945 fi
   16946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16947 fi
   16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16951 	CFLAGS="$xorg_testset_save_CFLAGS"
   16952 fi
   16953 
   16954 found="no"
   16955 
   16956 	if test $found = "no" ; then
   16957 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16959 		fi
   16960 
   16961 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16963 		fi
   16964 
   16965 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16966 
   16967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16968 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16969 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16970 		if eval \${$cacheid+:} false; then :
   16971   $as_echo_n "(cached) " >&6
   16972 else
   16973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16974 /* end confdefs.h.  */
   16975 int i;
   16976 int
   16977 main ()
   16978 {
   16979 
   16980   ;
   16981   return 0;
   16982 }
   16983 _ACEOF
   16984 if ac_fn_c_try_link "$LINENO"; then :
   16985   eval $cacheid=yes
   16986 else
   16987   eval $cacheid=no
   16988 fi
   16989 rm -f core conftest.err conftest.$ac_objext \
   16990     conftest$ac_exeext conftest.$ac_ext
   16991 fi
   16992 
   16993 
   16994 		CFLAGS="$xorg_testset_save_CFLAGS"
   16995 
   16996 		eval supported=\$$cacheid
   16997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16998 $as_echo "$supported" >&6; }
   16999 		if test "$supported" = "yes" ; then
   17000 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17001 			found="yes"
   17002 		fi
   17003 	fi
   17004 
   17005 
   17006 fi
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 		CWARNFLAGS="$BASE_CFLAGS"
   17015 		if  test "x$GCC" = xyes ; then
   17016 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17017 		fi
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 # Check whether --enable-strict-compilation was given.
   17027 if test "${enable_strict_compilation+set}" = set; then :
   17028   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17029 else
   17030   STRICT_COMPILE=no
   17031 fi
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 STRICT_CFLAGS=""
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 xorg_testset_save_CFLAGS="$CFLAGS"
   17053 
   17054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17059   $as_echo_n "(cached) " >&6
   17060 else
   17061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17062 /* end confdefs.h.  */
   17063 int i;
   17064 _ACEOF
   17065 if ac_fn_c_try_compile "$LINENO"; then :
   17066   xorg_cv_cc_flag_unknown_warning_option=yes
   17067 else
   17068   xorg_cv_cc_flag_unknown_warning_option=no
   17069 fi
   17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17071 fi
   17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17075 	CFLAGS="$xorg_testset_save_CFLAGS"
   17076 fi
   17077 
   17078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17081 	fi
   17082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17086   $as_echo_n "(cached) " >&6
   17087 else
   17088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17089 /* end confdefs.h.  */
   17090 int i;
   17091 _ACEOF
   17092 if ac_fn_c_try_compile "$LINENO"; then :
   17093   xorg_cv_cc_flag_unused_command_line_argument=yes
   17094 else
   17095   xorg_cv_cc_flag_unused_command_line_argument=no
   17096 fi
   17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17098 fi
   17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17102 	CFLAGS="$xorg_testset_save_CFLAGS"
   17103 fi
   17104 
   17105 found="no"
   17106 
   17107 	if test $found = "no" ; then
   17108 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17110 		fi
   17111 
   17112 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17114 		fi
   17115 
   17116 		CFLAGS="$CFLAGS -pedantic"
   17117 
   17118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17119 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17120 		cacheid=xorg_cv_cc_flag__pedantic
   17121 		if eval \${$cacheid+:} false; then :
   17122   $as_echo_n "(cached) " >&6
   17123 else
   17124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17125 /* end confdefs.h.  */
   17126 int i;
   17127 int
   17128 main ()
   17129 {
   17130 
   17131   ;
   17132   return 0;
   17133 }
   17134 _ACEOF
   17135 if ac_fn_c_try_link "$LINENO"; then :
   17136   eval $cacheid=yes
   17137 else
   17138   eval $cacheid=no
   17139 fi
   17140 rm -f core conftest.err conftest.$ac_objext \
   17141     conftest$ac_exeext conftest.$ac_ext
   17142 fi
   17143 
   17144 
   17145 		CFLAGS="$xorg_testset_save_CFLAGS"
   17146 
   17147 		eval supported=\$$cacheid
   17148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17149 $as_echo "$supported" >&6; }
   17150 		if test "$supported" = "yes" ; then
   17151 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17152 			found="yes"
   17153 		fi
   17154 	fi
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 xorg_testset_save_CFLAGS="$CFLAGS"
   17171 
   17172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17177   $as_echo_n "(cached) " >&6
   17178 else
   17179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17180 /* end confdefs.h.  */
   17181 int i;
   17182 _ACEOF
   17183 if ac_fn_c_try_compile "$LINENO"; then :
   17184   xorg_cv_cc_flag_unknown_warning_option=yes
   17185 else
   17186   xorg_cv_cc_flag_unknown_warning_option=no
   17187 fi
   17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17189 fi
   17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17193 	CFLAGS="$xorg_testset_save_CFLAGS"
   17194 fi
   17195 
   17196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 	fi
   17200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17204   $as_echo_n "(cached) " >&6
   17205 else
   17206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17207 /* end confdefs.h.  */
   17208 int i;
   17209 _ACEOF
   17210 if ac_fn_c_try_compile "$LINENO"; then :
   17211   xorg_cv_cc_flag_unused_command_line_argument=yes
   17212 else
   17213   xorg_cv_cc_flag_unused_command_line_argument=no
   17214 fi
   17215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17216 fi
   17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17220 	CFLAGS="$xorg_testset_save_CFLAGS"
   17221 fi
   17222 
   17223 found="no"
   17224 
   17225 	if test $found = "no" ; then
   17226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17228 		fi
   17229 
   17230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17232 		fi
   17233 
   17234 		CFLAGS="$CFLAGS -Werror"
   17235 
   17236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17237 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17238 		cacheid=xorg_cv_cc_flag__Werror
   17239 		if eval \${$cacheid+:} false; then :
   17240   $as_echo_n "(cached) " >&6
   17241 else
   17242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17243 /* end confdefs.h.  */
   17244 int i;
   17245 int
   17246 main ()
   17247 {
   17248 
   17249   ;
   17250   return 0;
   17251 }
   17252 _ACEOF
   17253 if ac_fn_c_try_link "$LINENO"; then :
   17254   eval $cacheid=yes
   17255 else
   17256   eval $cacheid=no
   17257 fi
   17258 rm -f core conftest.err conftest.$ac_objext \
   17259     conftest$ac_exeext conftest.$ac_ext
   17260 fi
   17261 
   17262 
   17263 		CFLAGS="$xorg_testset_save_CFLAGS"
   17264 
   17265 		eval supported=\$$cacheid
   17266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17267 $as_echo "$supported" >&6; }
   17268 		if test "$supported" = "yes" ; then
   17269 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17270 			found="yes"
   17271 		fi
   17272 	fi
   17273 
   17274 	if test $found = "no" ; then
   17275 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17277 		fi
   17278 
   17279 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17281 		fi
   17282 
   17283 		CFLAGS="$CFLAGS -errwarn"
   17284 
   17285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17286 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17287 		cacheid=xorg_cv_cc_flag__errwarn
   17288 		if eval \${$cacheid+:} false; then :
   17289   $as_echo_n "(cached) " >&6
   17290 else
   17291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17292 /* end confdefs.h.  */
   17293 int i;
   17294 int
   17295 main ()
   17296 {
   17297 
   17298   ;
   17299   return 0;
   17300 }
   17301 _ACEOF
   17302 if ac_fn_c_try_link "$LINENO"; then :
   17303   eval $cacheid=yes
   17304 else
   17305   eval $cacheid=no
   17306 fi
   17307 rm -f core conftest.err conftest.$ac_objext \
   17308     conftest$ac_exeext conftest.$ac_ext
   17309 fi
   17310 
   17311 
   17312 		CFLAGS="$xorg_testset_save_CFLAGS"
   17313 
   17314 		eval supported=\$$cacheid
   17315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17316 $as_echo "$supported" >&6; }
   17317 		if test "$supported" = "yes" ; then
   17318 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17319 			found="yes"
   17320 		fi
   17321 	fi
   17322 
   17323 
   17324 
   17325 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17326 # activate it with -Werror, so we add it here explicitly.
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 xorg_testset_save_CFLAGS="$CFLAGS"
   17341 
   17342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17345 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17346 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17347   $as_echo_n "(cached) " >&6
   17348 else
   17349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17350 /* end confdefs.h.  */
   17351 int i;
   17352 _ACEOF
   17353 if ac_fn_c_try_compile "$LINENO"; then :
   17354   xorg_cv_cc_flag_unknown_warning_option=yes
   17355 else
   17356   xorg_cv_cc_flag_unknown_warning_option=no
   17357 fi
   17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17359 fi
   17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17361 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17363 	CFLAGS="$xorg_testset_save_CFLAGS"
   17364 fi
   17365 
   17366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17369 	fi
   17370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17372 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17373 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17374   $as_echo_n "(cached) " >&6
   17375 else
   17376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17377 /* end confdefs.h.  */
   17378 int i;
   17379 _ACEOF
   17380 if ac_fn_c_try_compile "$LINENO"; then :
   17381   xorg_cv_cc_flag_unused_command_line_argument=yes
   17382 else
   17383   xorg_cv_cc_flag_unused_command_line_argument=no
   17384 fi
   17385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17386 fi
   17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17388 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17389 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17390 	CFLAGS="$xorg_testset_save_CFLAGS"
   17391 fi
   17392 
   17393 found="no"
   17394 
   17395 	if test $found = "no" ; then
   17396 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17398 		fi
   17399 
   17400 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17402 		fi
   17403 
   17404 		CFLAGS="$CFLAGS -Werror=attributes"
   17405 
   17406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17407 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17408 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17409 		if eval \${$cacheid+:} false; then :
   17410   $as_echo_n "(cached) " >&6
   17411 else
   17412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17413 /* end confdefs.h.  */
   17414 int i;
   17415 int
   17416 main ()
   17417 {
   17418 
   17419   ;
   17420   return 0;
   17421 }
   17422 _ACEOF
   17423 if ac_fn_c_try_link "$LINENO"; then :
   17424   eval $cacheid=yes
   17425 else
   17426   eval $cacheid=no
   17427 fi
   17428 rm -f core conftest.err conftest.$ac_objext \
   17429     conftest$ac_exeext conftest.$ac_ext
   17430 fi
   17431 
   17432 
   17433 		CFLAGS="$xorg_testset_save_CFLAGS"
   17434 
   17435 		eval supported=\$$cacheid
   17436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17437 $as_echo "$supported" >&6; }
   17438 		if test "$supported" = "yes" ; then
   17439 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17440 			found="yes"
   17441 		fi
   17442 	fi
   17443 
   17444 
   17445 
   17446 if test "x$STRICT_COMPILE" = "xyes"; then
   17447     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17448     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17449 fi
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 cat >>confdefs.h <<_ACEOF
   17457 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17458 _ACEOF
   17459 
   17460 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17461 	if test "x$PVM" = "x"; then
   17462 		PVM="0"
   17463 	fi
   17464 
   17465 cat >>confdefs.h <<_ACEOF
   17466 #define PACKAGE_VERSION_MINOR $PVM
   17467 _ACEOF
   17468 
   17469 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17470 	if test "x$PVP" = "x"; then
   17471 		PVP="0"
   17472 	fi
   17473 
   17474 cat >>confdefs.h <<_ACEOF
   17475 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17476 _ACEOF
   17477 
   17478 
   17479 
   17480 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17481 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17482 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17483 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17484 
   17485 
   17486 
   17487 
   17488 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17489 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17490 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17491 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17492 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17493 
   17494 
   17495 
   17496 
   17497 
   17498 
   17499 if test x$APP_MAN_SUFFIX = x    ; then
   17500     APP_MAN_SUFFIX=1
   17501 fi
   17502 if test x$APP_MAN_DIR = x    ; then
   17503     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17504 fi
   17505 
   17506 if test x$LIB_MAN_SUFFIX = x    ; then
   17507     LIB_MAN_SUFFIX=3
   17508 fi
   17509 if test x$LIB_MAN_DIR = x    ; then
   17510     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17511 fi
   17512 
   17513 if test x$FILE_MAN_SUFFIX = x    ; then
   17514     case $host_os in
   17515 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17516 	*)		FILE_MAN_SUFFIX=5  ;;
   17517     esac
   17518 fi
   17519 if test x$FILE_MAN_DIR = x    ; then
   17520     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17521 fi
   17522 
   17523 if test x$MISC_MAN_SUFFIX = x    ; then
   17524     case $host_os in
   17525 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17526 	*)		MISC_MAN_SUFFIX=7  ;;
   17527     esac
   17528 fi
   17529 if test x$MISC_MAN_DIR = x    ; then
   17530     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17531 fi
   17532 
   17533 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17534     case $host_os in
   17535 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17536 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17537     esac
   17538 fi
   17539 if test x$DRIVER_MAN_DIR = x    ; then
   17540     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17541 fi
   17542 
   17543 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17544     case $host_os in
   17545 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17546 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17547     esac
   17548 fi
   17549 if test x$ADMIN_MAN_DIR = x    ; then
   17550     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17551 fi
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 XORG_MAN_PAGE="X Version 11"
   17568 
   17569 MAN_SUBSTS="\
   17570 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17571 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17572 	-e 's|__xservername__|Xorg|g' \
   17573 	-e 's|__xconfigfile__|xorg.conf|g' \
   17574 	-e 's|__projectroot__|\$(prefix)|g' \
   17575 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17576 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17577 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17578 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17579 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17580 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17581 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17582 
   17583 
   17584 
   17585 # Check whether --enable-silent-rules was given.
   17586 if test "${enable_silent_rules+set}" = set; then :
   17587   enableval=$enable_silent_rules;
   17588 fi
   17589 
   17590 case $enable_silent_rules in
   17591 yes) AM_DEFAULT_VERBOSITY=0;;
   17592 no)  AM_DEFAULT_VERBOSITY=1;;
   17593 *)   AM_DEFAULT_VERBOSITY=0;;
   17594 esac
   17595 AM_BACKSLASH='\'
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 # Check whether --with-xmlto was given.
   17603 if test "${with_xmlto+set}" = set; then :
   17604   withval=$with_xmlto; use_xmlto=$withval
   17605 else
   17606   use_xmlto=auto
   17607 fi
   17608 
   17609 
   17610 
   17611 if test "x$use_xmlto" = x"auto"; then
   17612    # Extract the first word of "xmlto", so it can be a program name with args.
   17613 set dummy xmlto; ac_word=$2
   17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17615 $as_echo_n "checking for $ac_word... " >&6; }
   17616 if ${ac_cv_path_XMLTO+:} false; then :
   17617   $as_echo_n "(cached) " >&6
   17618 else
   17619   case $XMLTO in
   17620   [\\/]* | ?:[\\/]*)
   17621   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17622   ;;
   17623   *)
   17624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17625 for as_dir in $PATH
   17626 do
   17627   IFS=$as_save_IFS
   17628   test -z "$as_dir" && as_dir=.
   17629     for ac_exec_ext in '' $ac_executable_extensions; do
   17630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17631     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17633     break 2
   17634   fi
   17635 done
   17636   done
   17637 IFS=$as_save_IFS
   17638 
   17639   ;;
   17640 esac
   17641 fi
   17642 XMLTO=$ac_cv_path_XMLTO
   17643 if test -n "$XMLTO"; then
   17644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17645 $as_echo "$XMLTO" >&6; }
   17646 else
   17647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17648 $as_echo "no" >&6; }
   17649 fi
   17650 
   17651 
   17652    if test "x$XMLTO" = "x"; then
   17653         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17654 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17655 	have_xmlto=no
   17656    else
   17657         have_xmlto=yes
   17658    fi
   17659 elif test "x$use_xmlto" = x"yes" ; then
   17660    # Extract the first word of "xmlto", so it can be a program name with args.
   17661 set dummy xmlto; ac_word=$2
   17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17663 $as_echo_n "checking for $ac_word... " >&6; }
   17664 if ${ac_cv_path_XMLTO+:} false; then :
   17665   $as_echo_n "(cached) " >&6
   17666 else
   17667   case $XMLTO in
   17668   [\\/]* | ?:[\\/]*)
   17669   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17670   ;;
   17671   *)
   17672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17673 for as_dir in $PATH
   17674 do
   17675   IFS=$as_save_IFS
   17676   test -z "$as_dir" && as_dir=.
   17677     for ac_exec_ext in '' $ac_executable_extensions; do
   17678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17679     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17681     break 2
   17682   fi
   17683 done
   17684   done
   17685 IFS=$as_save_IFS
   17686 
   17687   ;;
   17688 esac
   17689 fi
   17690 XMLTO=$ac_cv_path_XMLTO
   17691 if test -n "$XMLTO"; then
   17692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17693 $as_echo "$XMLTO" >&6; }
   17694 else
   17695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17696 $as_echo "no" >&6; }
   17697 fi
   17698 
   17699 
   17700    if test "x$XMLTO" = "x"; then
   17701         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   17702    fi
   17703    have_xmlto=yes
   17704 elif test "x$use_xmlto" = x"no" ; then
   17705    if test "x$XMLTO" != "x"; then
   17706       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   17707 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   17708    fi
   17709    have_xmlto=no
   17710 else
   17711    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   17712 fi
   17713 
   17714 # Test for a minimum version of xmlto, if provided.
   17715 if test "$have_xmlto" = yes; then
   17716     # scrape the xmlto version
   17717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   17718 $as_echo_n "checking the xmlto version... " >&6; }
   17719     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   17720     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   17721 $as_echo "$xmlto_version" >&6; }
   17722     as_arg_v1=$xmlto_version
   17723 as_arg_v2=0.0.20
   17724 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   17725 case $? in #(
   17726   1) :
   17727     if test "x$use_xmlto" = xauto; then
   17728             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   17729 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   17730             have_xmlto=no
   17731         else
   17732             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   17733         fi ;; #(
   17734   0) :
   17735      ;; #(
   17736   2) :
   17737      ;; #(
   17738   *) :
   17739      ;;
   17740 esac
   17741 fi
   17742 
   17743 # Test for the ability of xmlto to generate a text target
   17744 have_xmlto_text=no
   17745 cat > conftest.xml << "EOF"
   17746 EOF
   17747 if test "$have_xmlto" = yes; then :
   17748   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   17749   have_xmlto_text=yes
   17750 else
   17751   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   17752 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   17753 fi
   17754 fi
   17755 rm -f conftest.xml
   17756  if test $have_xmlto_text = yes; then
   17757   HAVE_XMLTO_TEXT_TRUE=
   17758   HAVE_XMLTO_TEXT_FALSE='#'
   17759 else
   17760   HAVE_XMLTO_TEXT_TRUE='#'
   17761   HAVE_XMLTO_TEXT_FALSE=
   17762 fi
   17763 
   17764  if test "$have_xmlto" = yes; then
   17765   HAVE_XMLTO_TRUE=
   17766   HAVE_XMLTO_FALSE='#'
   17767 else
   17768   HAVE_XMLTO_TRUE='#'
   17769   HAVE_XMLTO_FALSE=
   17770 fi
   17771 
   17772 
   17773 
   17774 # Determine if the source for man pages is available
   17775 # It may already be present (tarball) or can be generated using xmlto
   17776  if test -f "$srcdir/man/Xcomposite.man" || test "x$have_xmlto" = xyes; then
   17777   INSTALL_MANPAGES_TRUE=
   17778   INSTALL_MANPAGES_FALSE='#'
   17779 else
   17780   INSTALL_MANPAGES_TRUE='#'
   17781   INSTALL_MANPAGES_FALSE=
   17782 fi
   17783 
   17784 
   17785 # Check compositeext configuration, strip extra digits from package version to
   17786 # find the required protocol version
   17787 if test "$VERSION" = "" ; then
   17788        VERSION=$PACKAGE_VERSION;
   17789 fi
   17790 COMPOSITEEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17791 
   17792 
   17793 # Obtain compiler/linker options for depedencies
   17794 
   17795 pkg_failed=no
   17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE" >&5
   17797 $as_echo_n "checking for XCOMPOSITE... " >&6; }
   17798 
   17799 if test -n "$XCOMPOSITE_CFLAGS"; then
   17800     pkg_cv_XCOMPOSITE_CFLAGS="$XCOMPOSITE_CFLAGS"
   17801  elif test -n "$PKG_CONFIG"; then
   17802     if test -n "$PKG_CONFIG" && \
   17803     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compositeproto >= \$COMPOSITEEXT_VERSION x11\""; } >&5
   17804   ($PKG_CONFIG --exists --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11") 2>&5
   17805   ac_status=$?
   17806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17807   test $ac_status = 0; }; then
   17808   pkg_cv_XCOMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "compositeproto >= $COMPOSITEEXT_VERSION x11" 2>/dev/null`
   17809 else
   17810   pkg_failed=yes
   17811 fi
   17812  else
   17813     pkg_failed=untried
   17814 fi
   17815 if test -n "$XCOMPOSITE_LIBS"; then
   17816     pkg_cv_XCOMPOSITE_LIBS="$XCOMPOSITE_LIBS"
   17817  elif test -n "$PKG_CONFIG"; then
   17818     if test -n "$PKG_CONFIG" && \
   17819     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compositeproto >= \$COMPOSITEEXT_VERSION x11\""; } >&5
   17820   ($PKG_CONFIG --exists --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11") 2>&5
   17821   ac_status=$?
   17822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17823   test $ac_status = 0; }; then
   17824   pkg_cv_XCOMPOSITE_LIBS=`$PKG_CONFIG --libs "compositeproto >= $COMPOSITEEXT_VERSION x11" 2>/dev/null`
   17825 else
   17826   pkg_failed=yes
   17827 fi
   17828  else
   17829     pkg_failed=untried
   17830 fi
   17831 
   17832 
   17833 
   17834 if test $pkg_failed = yes; then
   17835 
   17836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17837         _pkg_short_errors_supported=yes
   17838 else
   17839         _pkg_short_errors_supported=no
   17840 fi
   17841         if test $_pkg_short_errors_supported = yes; then
   17842 	        XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11" 2>&1`
   17843         else
   17844 	        XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11" 2>&1`
   17845         fi
   17846 	# Put the nasty error message in config.log where it belongs
   17847 	echo "$XCOMPOSITE_PKG_ERRORS" >&5
   17848 
   17849 	as_fn_error $? "Package requirements (compositeproto >= $COMPOSITEEXT_VERSION x11) were not met:
   17850 
   17851 $XCOMPOSITE_PKG_ERRORS
   17852 
   17853 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17854 installed software in a non-standard prefix.
   17855 
   17856 Alternatively, you may set the environment variables XCOMPOSITE_CFLAGS
   17857 and XCOMPOSITE_LIBS to avoid the need to call pkg-config.
   17858 See the pkg-config man page for more details.
   17859 " "$LINENO" 5
   17860 elif test $pkg_failed = untried; then
   17861 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17863 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17864 is in your PATH or set the PKG_CONFIG environment variable to the full
   17865 path to pkg-config.
   17866 
   17867 Alternatively, you may set the environment variables XCOMPOSITE_CFLAGS
   17868 and XCOMPOSITE_LIBS to avoid the need to call pkg-config.
   17869 See the pkg-config man page for more details.
   17870 
   17871 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17872 See \`config.log' for more details" "$LINENO" 5; }
   17873 else
   17874 	XCOMPOSITE_CFLAGS=$pkg_cv_XCOMPOSITE_CFLAGS
   17875 	XCOMPOSITE_LIBS=$pkg_cv_XCOMPOSITE_LIBS
   17876         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17877 $as_echo "yes" >&6; }
   17878 	:
   17879 fi
   17880 
   17881 pkg_failed=no
   17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
   17883 $as_echo_n "checking for XFIXES... " >&6; }
   17884 
   17885 if test -n "$XFIXES_CFLAGS"; then
   17886     pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
   17887  elif test -n "$PKG_CONFIG"; then
   17888     if test -n "$PKG_CONFIG" && \
   17889     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
   17890   ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
   17891   ac_status=$?
   17892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17893   test $ac_status = 0; }; then
   17894   pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null`
   17895 else
   17896   pkg_failed=yes
   17897 fi
   17898  else
   17899     pkg_failed=untried
   17900 fi
   17901 if test -n "$XFIXES_LIBS"; then
   17902     pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
   17903  elif test -n "$PKG_CONFIG"; then
   17904     if test -n "$PKG_CONFIG" && \
   17905     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
   17906   ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
   17907   ac_status=$?
   17908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17909   test $ac_status = 0; }; then
   17910   pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null`
   17911 else
   17912   pkg_failed=yes
   17913 fi
   17914  else
   17915     pkg_failed=untried
   17916 fi
   17917 
   17918 
   17919 
   17920 if test $pkg_failed = yes; then
   17921 
   17922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17923         _pkg_short_errors_supported=yes
   17924 else
   17925         _pkg_short_errors_supported=no
   17926 fi
   17927         if test $_pkg_short_errors_supported = yes; then
   17928 	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xfixes" 2>&1`
   17929         else
   17930 	        XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors "xfixes" 2>&1`
   17931         fi
   17932 	# Put the nasty error message in config.log where it belongs
   17933 	echo "$XFIXES_PKG_ERRORS" >&5
   17934 
   17935 	as_fn_error $? "Package requirements (xfixes) were not met:
   17936 
   17937 $XFIXES_PKG_ERRORS
   17938 
   17939 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17940 installed software in a non-standard prefix.
   17941 
   17942 Alternatively, you may set the environment variables XFIXES_CFLAGS
   17943 and XFIXES_LIBS to avoid the need to call pkg-config.
   17944 See the pkg-config man page for more details.
   17945 " "$LINENO" 5
   17946 elif test $pkg_failed = untried; then
   17947 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17949 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17950 is in your PATH or set the PKG_CONFIG environment variable to the full
   17951 path to pkg-config.
   17952 
   17953 Alternatively, you may set the environment variables XFIXES_CFLAGS
   17954 and XFIXES_LIBS to avoid the need to call pkg-config.
   17955 See the pkg-config man page for more details.
   17956 
   17957 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17958 See \`config.log' for more details" "$LINENO" 5; }
   17959 else
   17960 	XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
   17961 	XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
   17962         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17963 $as_echo "yes" >&6; }
   17964 	:
   17965 fi
   17966 
   17967 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcomposite.pc"
   17968 
   17969 cat >confcache <<\_ACEOF
   17970 # This file is a shell script that caches the results of configure
   17971 # tests run on this system so they can be shared between configure
   17972 # scripts and configure runs, see configure's option --config-cache.
   17973 # It is not useful on other systems.  If it contains results you don't
   17974 # want to keep, you may remove or edit it.
   17975 #
   17976 # config.status only pays attention to the cache file if you give it
   17977 # the --recheck option to rerun configure.
   17978 #
   17979 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17980 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17981 # following values.
   17982 
   17983 _ACEOF
   17984 
   17985 # The following way of writing the cache mishandles newlines in values,
   17986 # but we know of no workaround that is simple, portable, and efficient.
   17987 # So, we kill variables containing newlines.
   17988 # Ultrix sh set writes to stderr and can't be redirected directly,
   17989 # and sets the high bit in the cache file unless we assign to the vars.
   17990 (
   17991   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17992     eval ac_val=\$$ac_var
   17993     case $ac_val in #(
   17994     *${as_nl}*)
   17995       case $ac_var in #(
   17996       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17998       esac
   17999       case $ac_var in #(
   18000       _ | IFS | as_nl) ;; #(
   18001       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18002       *) { eval $ac_var=; unset $ac_var;} ;;
   18003       esac ;;
   18004     esac
   18005   done
   18006 
   18007   (set) 2>&1 |
   18008     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18009     *${as_nl}ac_space=\ *)
   18010       # `set' does not quote correctly, so add quotes: double-quote
   18011       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18012       sed -n \
   18013 	"s/'/'\\\\''/g;
   18014 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18015       ;; #(
   18016     *)
   18017       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18018       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18019       ;;
   18020     esac |
   18021     sort
   18022 ) |
   18023   sed '
   18024      /^ac_cv_env_/b end
   18025      t clear
   18026      :clear
   18027      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18028      t end
   18029      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18030      :end' >>confcache
   18031 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18032   if test -w "$cache_file"; then
   18033     if test "x$cache_file" != "x/dev/null"; then
   18034       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18035 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18036       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18037 	cat confcache >"$cache_file"
   18038       else
   18039         case $cache_file in #(
   18040         */* | ?:*)
   18041 	  mv -f confcache "$cache_file"$$ &&
   18042 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18043         *)
   18044 	  mv -f confcache "$cache_file" ;;
   18045 	esac
   18046       fi
   18047     fi
   18048   else
   18049     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18050 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18051   fi
   18052 fi
   18053 rm -f confcache
   18054 
   18055 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18056 # Let make expand exec_prefix.
   18057 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18058 
   18059 DEFS=-DHAVE_CONFIG_H
   18060 
   18061 ac_libobjs=
   18062 ac_ltlibobjs=
   18063 U=
   18064 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18065   # 1. Remove the extension, and $U if already installed.
   18066   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18067   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18068   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18069   #    will be set to the directory where LIBOBJS objects are built.
   18070   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18071   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18072 done
   18073 LIBOBJS=$ac_libobjs
   18074 
   18075 LTLIBOBJS=$ac_ltlibobjs
   18076 
   18077 
   18078  if test -n "$EXEEXT"; then
   18079   am__EXEEXT_TRUE=
   18080   am__EXEEXT_FALSE='#'
   18081 else
   18082   am__EXEEXT_TRUE='#'
   18083   am__EXEEXT_FALSE=
   18084 fi
   18085 
   18086 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18087   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18089 fi
   18090 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18091   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18093 fi
   18094 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18095   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18097 fi
   18098 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   18099   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   18100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18101 fi
   18102 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   18103   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   18104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18105 fi
   18106 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   18107   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   18108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18109 fi
   18110 
   18111 : "${CONFIG_STATUS=./config.status}"
   18112 ac_write_fail=0
   18113 ac_clean_files_save=$ac_clean_files
   18114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18116 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18117 as_write_fail=0
   18118 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18119 #! $SHELL
   18120 # Generated by $as_me.
   18121 # Run this file to recreate the current configuration.
   18122 # Compiler output produced by configure, useful for debugging
   18123 # configure, is in config.log if it exists.
   18124 
   18125 debug=false
   18126 ac_cs_recheck=false
   18127 ac_cs_silent=false
   18128 
   18129 SHELL=\${CONFIG_SHELL-$SHELL}
   18130 export SHELL
   18131 _ASEOF
   18132 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18133 ## -------------------- ##
   18134 ## M4sh Initialization. ##
   18135 ## -------------------- ##
   18136 
   18137 # Be more Bourne compatible
   18138 DUALCASE=1; export DUALCASE # for MKS sh
   18139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18140   emulate sh
   18141   NULLCMD=:
   18142   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18143   # is contrary to our usage.  Disable this feature.
   18144   alias -g '${1+"$@"}'='"$@"'
   18145   setopt NO_GLOB_SUBST
   18146 else
   18147   case `(set -o) 2>/dev/null` in #(
   18148   *posix*) :
   18149     set -o posix ;; #(
   18150   *) :
   18151      ;;
   18152 esac
   18153 fi
   18154 
   18155 
   18156 as_nl='
   18157 '
   18158 export as_nl
   18159 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18160 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18163 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18164 # but without wasting forks for bash or zsh.
   18165 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18166     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18167   as_echo='print -r --'
   18168   as_echo_n='print -rn --'
   18169 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18170   as_echo='printf %s\n'
   18171   as_echo_n='printf %s'
   18172 else
   18173   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18174     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18175     as_echo_n='/usr/ucb/echo -n'
   18176   else
   18177     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18178     as_echo_n_body='eval
   18179       arg=$1;
   18180       case $arg in #(
   18181       *"$as_nl"*)
   18182 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18183 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18184       esac;
   18185       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18186     '
   18187     export as_echo_n_body
   18188     as_echo_n='sh -c $as_echo_n_body as_echo'
   18189   fi
   18190   export as_echo_body
   18191   as_echo='sh -c $as_echo_body as_echo'
   18192 fi
   18193 
   18194 # The user is always right.
   18195 if test "${PATH_SEPARATOR+set}" != set; then
   18196   PATH_SEPARATOR=:
   18197   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18198     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18199       PATH_SEPARATOR=';'
   18200   }
   18201 fi
   18202 
   18203 
   18204 # IFS
   18205 # We need space, tab and new line, in precisely that order.  Quoting is
   18206 # there to prevent editors from complaining about space-tab.
   18207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18208 # splitting by setting IFS to empty value.)
   18209 IFS=" ""	$as_nl"
   18210 
   18211 # Find who we are.  Look in the path if we contain no directory separator.
   18212 as_myself=
   18213 case $0 in #((
   18214   *[\\/]* ) as_myself=$0 ;;
   18215   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18216 for as_dir in $PATH
   18217 do
   18218   IFS=$as_save_IFS
   18219   test -z "$as_dir" && as_dir=.
   18220     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18221   done
   18222 IFS=$as_save_IFS
   18223 
   18224      ;;
   18225 esac
   18226 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18227 # in which case we are not to be found in the path.
   18228 if test "x$as_myself" = x; then
   18229   as_myself=$0
   18230 fi
   18231 if test ! -f "$as_myself"; then
   18232   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18233   exit 1
   18234 fi
   18235 
   18236 # Unset variables that we do not need and which cause bugs (e.g. in
   18237 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18238 # suppresses any "Segmentation fault" message there.  '((' could
   18239 # trigger a bug in pdksh 5.2.14.
   18240 for as_var in BASH_ENV ENV MAIL MAILPATH
   18241 do eval test x\${$as_var+set} = xset \
   18242   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18243 done
   18244 PS1='$ '
   18245 PS2='> '
   18246 PS4='+ '
   18247 
   18248 # NLS nuisances.
   18249 LC_ALL=C
   18250 export LC_ALL
   18251 LANGUAGE=C
   18252 export LANGUAGE
   18253 
   18254 # CDPATH.
   18255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18256 
   18257 
   18258 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18259 # ----------------------------------------
   18260 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18261 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18262 # script with STATUS, using 1 if that was 0.
   18263 as_fn_error ()
   18264 {
   18265   as_status=$1; test $as_status -eq 0 && as_status=1
   18266   if test "$4"; then
   18267     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18268     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18269   fi
   18270   $as_echo "$as_me: error: $2" >&2
   18271   as_fn_exit $as_status
   18272 } # as_fn_error
   18273 
   18274 
   18275 # as_fn_set_status STATUS
   18276 # -----------------------
   18277 # Set $? to STATUS, without forking.
   18278 as_fn_set_status ()
   18279 {
   18280   return $1
   18281 } # as_fn_set_status
   18282 
   18283 # as_fn_exit STATUS
   18284 # -----------------
   18285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18286 as_fn_exit ()
   18287 {
   18288   set +e
   18289   as_fn_set_status $1
   18290   exit $1
   18291 } # as_fn_exit
   18292 
   18293 # as_fn_unset VAR
   18294 # ---------------
   18295 # Portably unset VAR.
   18296 as_fn_unset ()
   18297 {
   18298   { eval $1=; unset $1;}
   18299 }
   18300 as_unset=as_fn_unset
   18301 # as_fn_append VAR VALUE
   18302 # ----------------------
   18303 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18304 # advantage of any shell optimizations that allow amortized linear growth over
   18305 # repeated appends, instead of the typical quadratic growth present in naive
   18306 # implementations.
   18307 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18308   eval 'as_fn_append ()
   18309   {
   18310     eval $1+=\$2
   18311   }'
   18312 else
   18313   as_fn_append ()
   18314   {
   18315     eval $1=\$$1\$2
   18316   }
   18317 fi # as_fn_append
   18318 
   18319 # as_fn_arith ARG...
   18320 # ------------------
   18321 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18323 # must be portable across $(()) and expr.
   18324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18325   eval 'as_fn_arith ()
   18326   {
   18327     as_val=$(( $* ))
   18328   }'
   18329 else
   18330   as_fn_arith ()
   18331   {
   18332     as_val=`expr "$@" || test $? -eq 1`
   18333   }
   18334 fi # as_fn_arith
   18335 
   18336 
   18337 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18338    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18339   as_expr=expr
   18340 else
   18341   as_expr=false
   18342 fi
   18343 
   18344 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18345   as_basename=basename
   18346 else
   18347   as_basename=false
   18348 fi
   18349 
   18350 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18351   as_dirname=dirname
   18352 else
   18353   as_dirname=false
   18354 fi
   18355 
   18356 as_me=`$as_basename -- "$0" ||
   18357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18358 	 X"$0" : 'X\(//\)$' \| \
   18359 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18360 $as_echo X/"$0" |
   18361     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18362 	    s//\1/
   18363 	    q
   18364 	  }
   18365 	  /^X\/\(\/\/\)$/{
   18366 	    s//\1/
   18367 	    q
   18368 	  }
   18369 	  /^X\/\(\/\).*/{
   18370 	    s//\1/
   18371 	    q
   18372 	  }
   18373 	  s/.*/./; q'`
   18374 
   18375 # Avoid depending upon Character Ranges.
   18376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18379 as_cr_digits='0123456789'
   18380 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18381 
   18382 ECHO_C= ECHO_N= ECHO_T=
   18383 case `echo -n x` in #(((((
   18384 -n*)
   18385   case `echo 'xy\c'` in
   18386   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18387   xy)  ECHO_C='\c';;
   18388   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18389        ECHO_T='	';;
   18390   esac;;
   18391 *)
   18392   ECHO_N='-n';;
   18393 esac
   18394 
   18395 rm -f conf$$ conf$$.exe conf$$.file
   18396 if test -d conf$$.dir; then
   18397   rm -f conf$$.dir/conf$$.file
   18398 else
   18399   rm -f conf$$.dir
   18400   mkdir conf$$.dir 2>/dev/null
   18401 fi
   18402 if (echo >conf$$.file) 2>/dev/null; then
   18403   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18404     as_ln_s='ln -s'
   18405     # ... but there are two gotchas:
   18406     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18407     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18408     # In both cases, we have to default to `cp -p'.
   18409     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18410       as_ln_s='cp -p'
   18411   elif ln conf$$.file conf$$ 2>/dev/null; then
   18412     as_ln_s=ln
   18413   else
   18414     as_ln_s='cp -p'
   18415   fi
   18416 else
   18417   as_ln_s='cp -p'
   18418 fi
   18419 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18420 rmdir conf$$.dir 2>/dev/null
   18421 
   18422 
   18423 # as_fn_mkdir_p
   18424 # -------------
   18425 # Create "$as_dir" as a directory, including parents if necessary.
   18426 as_fn_mkdir_p ()
   18427 {
   18428 
   18429   case $as_dir in #(
   18430   -*) as_dir=./$as_dir;;
   18431   esac
   18432   test -d "$as_dir" || eval $as_mkdir_p || {
   18433     as_dirs=
   18434     while :; do
   18435       case $as_dir in #(
   18436       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18437       *) as_qdir=$as_dir;;
   18438       esac
   18439       as_dirs="'$as_qdir' $as_dirs"
   18440       as_dir=`$as_dirname -- "$as_dir" ||
   18441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18442 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18443 	 X"$as_dir" : 'X\(//\)$' \| \
   18444 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18445 $as_echo X"$as_dir" |
   18446     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18447 	    s//\1/
   18448 	    q
   18449 	  }
   18450 	  /^X\(\/\/\)[^/].*/{
   18451 	    s//\1/
   18452 	    q
   18453 	  }
   18454 	  /^X\(\/\/\)$/{
   18455 	    s//\1/
   18456 	    q
   18457 	  }
   18458 	  /^X\(\/\).*/{
   18459 	    s//\1/
   18460 	    q
   18461 	  }
   18462 	  s/.*/./; q'`
   18463       test -d "$as_dir" && break
   18464     done
   18465     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18466   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18467 
   18468 
   18469 } # as_fn_mkdir_p
   18470 if mkdir -p . 2>/dev/null; then
   18471   as_mkdir_p='mkdir -p "$as_dir"'
   18472 else
   18473   test -d ./-p && rmdir ./-p
   18474   as_mkdir_p=false
   18475 fi
   18476 
   18477 if test -x / >/dev/null 2>&1; then
   18478   as_test_x='test -x'
   18479 else
   18480   if ls -dL / >/dev/null 2>&1; then
   18481     as_ls_L_option=L
   18482   else
   18483     as_ls_L_option=
   18484   fi
   18485   as_test_x='
   18486     eval sh -c '\''
   18487       if test -d "$1"; then
   18488 	test -d "$1/.";
   18489       else
   18490 	case $1 in #(
   18491 	-*)set "./$1";;
   18492 	esac;
   18493 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18494 	???[sx]*):;;*)false;;esac;fi
   18495     '\'' sh
   18496   '
   18497 fi
   18498 as_executable_p=$as_test_x
   18499 
   18500 # Sed expression to map a string onto a valid CPP name.
   18501 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18502 
   18503 # Sed expression to map a string onto a valid variable name.
   18504 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18505 
   18506 
   18507 exec 6>&1
   18508 ## ----------------------------------- ##
   18509 ## Main body of $CONFIG_STATUS script. ##
   18510 ## ----------------------------------- ##
   18511 _ASEOF
   18512 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18513 
   18514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18515 # Save the log message, to keep $0 and so on meaningful, and to
   18516 # report actual input values of CONFIG_FILES etc. instead of their
   18517 # values after options handling.
   18518 ac_log="
   18519 This file was extended by libXcomposite $as_me 0.4.4, which was
   18520 generated by GNU Autoconf 2.68.  Invocation command line was
   18521 
   18522   CONFIG_FILES    = $CONFIG_FILES
   18523   CONFIG_HEADERS  = $CONFIG_HEADERS
   18524   CONFIG_LINKS    = $CONFIG_LINKS
   18525   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18526   $ $0 $@
   18527 
   18528 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18529 "
   18530 
   18531 _ACEOF
   18532 
   18533 case $ac_config_files in *"
   18534 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18535 esac
   18536 
   18537 case $ac_config_headers in *"
   18538 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18539 esac
   18540 
   18541 
   18542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18543 # Files that config.status was made for.
   18544 config_files="$ac_config_files"
   18545 config_headers="$ac_config_headers"
   18546 config_commands="$ac_config_commands"
   18547 
   18548 _ACEOF
   18549 
   18550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18551 ac_cs_usage="\
   18552 \`$as_me' instantiates files and other configuration actions
   18553 from templates according to the current configuration.  Unless the files
   18554 and actions are specified as TAGs, all are instantiated by default.
   18555 
   18556 Usage: $0 [OPTION]... [TAG]...
   18557 
   18558   -h, --help       print this help, then exit
   18559   -V, --version    print version number and configuration settings, then exit
   18560       --config     print configuration, then exit
   18561   -q, --quiet, --silent
   18562                    do not print progress messages
   18563   -d, --debug      don't remove temporary files
   18564       --recheck    update $as_me by reconfiguring in the same conditions
   18565       --file=FILE[:TEMPLATE]
   18566                    instantiate the configuration file FILE
   18567       --header=FILE[:TEMPLATE]
   18568                    instantiate the configuration header FILE
   18569 
   18570 Configuration files:
   18571 $config_files
   18572 
   18573 Configuration headers:
   18574 $config_headers
   18575 
   18576 Configuration commands:
   18577 $config_commands
   18578 
   18579 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18580 
   18581 _ACEOF
   18582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18584 ac_cs_version="\\
   18585 libXcomposite config.status 0.4.4
   18586 configured by $0, generated by GNU Autoconf 2.68,
   18587   with options \\"\$ac_cs_config\\"
   18588 
   18589 Copyright (C) 2010 Free Software Foundation, Inc.
   18590 This config.status script is free software; the Free Software Foundation
   18591 gives unlimited permission to copy, distribute and modify it."
   18592 
   18593 ac_pwd='$ac_pwd'
   18594 srcdir='$srcdir'
   18595 INSTALL='$INSTALL'
   18596 MKDIR_P='$MKDIR_P'
   18597 AWK='$AWK'
   18598 test -n "\$AWK" || AWK=awk
   18599 _ACEOF
   18600 
   18601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18602 # The default lists apply if the user does not specify any file.
   18603 ac_need_defaults=:
   18604 while test $# != 0
   18605 do
   18606   case $1 in
   18607   --*=?*)
   18608     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18609     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18610     ac_shift=:
   18611     ;;
   18612   --*=)
   18613     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18614     ac_optarg=
   18615     ac_shift=:
   18616     ;;
   18617   *)
   18618     ac_option=$1
   18619     ac_optarg=$2
   18620     ac_shift=shift
   18621     ;;
   18622   esac
   18623 
   18624   case $ac_option in
   18625   # Handling of the options.
   18626   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18627     ac_cs_recheck=: ;;
   18628   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18629     $as_echo "$ac_cs_version"; exit ;;
   18630   --config | --confi | --conf | --con | --co | --c )
   18631     $as_echo "$ac_cs_config"; exit ;;
   18632   --debug | --debu | --deb | --de | --d | -d )
   18633     debug=: ;;
   18634   --file | --fil | --fi | --f )
   18635     $ac_shift
   18636     case $ac_optarg in
   18637     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18638     '') as_fn_error $? "missing file argument" ;;
   18639     esac
   18640     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18641     ac_need_defaults=false;;
   18642   --header | --heade | --head | --hea )
   18643     $ac_shift
   18644     case $ac_optarg in
   18645     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18646     esac
   18647     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18648     ac_need_defaults=false;;
   18649   --he | --h)
   18650     # Conflict between --help and --header
   18651     as_fn_error $? "ambiguous option: \`$1'
   18652 Try \`$0 --help' for more information.";;
   18653   --help | --hel | -h )
   18654     $as_echo "$ac_cs_usage"; exit ;;
   18655   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18656   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18657     ac_cs_silent=: ;;
   18658 
   18659   # This is an error.
   18660   -*) as_fn_error $? "unrecognized option: \`$1'
   18661 Try \`$0 --help' for more information." ;;
   18662 
   18663   *) as_fn_append ac_config_targets " $1"
   18664      ac_need_defaults=false ;;
   18665 
   18666   esac
   18667   shift
   18668 done
   18669 
   18670 ac_configure_extra_args=
   18671 
   18672 if $ac_cs_silent; then
   18673   exec 6>/dev/null
   18674   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18675 fi
   18676 
   18677 _ACEOF
   18678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18679 if \$ac_cs_recheck; then
   18680   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18681   shift
   18682   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18683   CONFIG_SHELL='$SHELL'
   18684   export CONFIG_SHELL
   18685   exec "\$@"
   18686 fi
   18687 
   18688 _ACEOF
   18689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18690 exec 5>>config.log
   18691 {
   18692   echo
   18693   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18694 ## Running $as_me. ##
   18695 _ASBOX
   18696   $as_echo "$ac_log"
   18697 } >&5
   18698 
   18699 _ACEOF
   18700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18701 #
   18702 # INIT-COMMANDS
   18703 #
   18704 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18705 
   18706 
   18707 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18708 # if CDPATH is set.
   18709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18710 
   18711 sed_quote_subst='$sed_quote_subst'
   18712 double_quote_subst='$double_quote_subst'
   18713 delay_variable_subst='$delay_variable_subst'
   18714 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18715 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18716 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18717 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18718 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18719 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18720 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18721 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18722 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18723 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18724 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18725 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18726 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18727 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18728 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18729 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18730 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18731 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18732 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18733 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18734 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18735 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18736 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18737 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18738 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18739 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18740 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18741 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18742 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18743 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18744 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18745 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18746 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18747 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18748 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18749 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18750 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18751 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18752 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18753 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18754 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18755 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18756 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18770 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"`'
   18771 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18772 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18773 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18774 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18775 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18776 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18777 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18778 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18779 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18780 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18781 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18782 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18783 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18784 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18785 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18786 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18787 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18788 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18789 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18790 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18791 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18792 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18793 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18794 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18795 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18796 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18797 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18798 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18799 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18800 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18801 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18802 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18803 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18804 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18805 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18806 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18807 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18808 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18809 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18810 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18811 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18812 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18813 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18814 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18815 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18816 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18817 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18818 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18819 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18820 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18821 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18822 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18823 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18824 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18825 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18826 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18827 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18828 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18829 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18830 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18831 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18832 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18833 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18834 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18835 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18836 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18837 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18838 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18839 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18840 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18841 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18842 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18843 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18844 
   18845 LTCC='$LTCC'
   18846 LTCFLAGS='$LTCFLAGS'
   18847 compiler='$compiler_DEFAULT'
   18848 
   18849 # A function that is used when there is no print builtin or printf.
   18850 func_fallback_echo ()
   18851 {
   18852   eval 'cat <<_LTECHO_EOF
   18853 \$1
   18854 _LTECHO_EOF'
   18855 }
   18856 
   18857 # Quote evaled strings.
   18858 for var in SHELL \
   18859 ECHO \
   18860 PATH_SEPARATOR \
   18861 SED \
   18862 GREP \
   18863 EGREP \
   18864 FGREP \
   18865 LD \
   18866 NM \
   18867 LN_S \
   18868 lt_SP2NL \
   18869 lt_NL2SP \
   18870 reload_flag \
   18871 OBJDUMP \
   18872 deplibs_check_method \
   18873 file_magic_cmd \
   18874 file_magic_glob \
   18875 want_nocaseglob \
   18876 DLLTOOL \
   18877 sharedlib_from_linklib_cmd \
   18878 AR \
   18879 AR_FLAGS \
   18880 archiver_list_spec \
   18881 STRIP \
   18882 RANLIB \
   18883 CC \
   18884 CFLAGS \
   18885 compiler \
   18886 lt_cv_sys_global_symbol_pipe \
   18887 lt_cv_sys_global_symbol_to_cdecl \
   18888 lt_cv_sys_global_symbol_to_c_name_address \
   18889 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18890 nm_file_list_spec \
   18891 lt_prog_compiler_no_builtin_flag \
   18892 lt_prog_compiler_pic \
   18893 lt_prog_compiler_wl \
   18894 lt_prog_compiler_static \
   18895 lt_cv_prog_compiler_c_o \
   18896 need_locks \
   18897 MANIFEST_TOOL \
   18898 DSYMUTIL \
   18899 NMEDIT \
   18900 LIPO \
   18901 OTOOL \
   18902 OTOOL64 \
   18903 shrext_cmds \
   18904 export_dynamic_flag_spec \
   18905 whole_archive_flag_spec \
   18906 compiler_needs_object \
   18907 with_gnu_ld \
   18908 allow_undefined_flag \
   18909 no_undefined_flag \
   18910 hardcode_libdir_flag_spec \
   18911 hardcode_libdir_separator \
   18912 exclude_expsyms \
   18913 include_expsyms \
   18914 file_list_spec \
   18915 variables_saved_for_relink \
   18916 libname_spec \
   18917 library_names_spec \
   18918 soname_spec \
   18919 install_override_mode \
   18920 finish_eval \
   18921 old_striplib \
   18922 striplib; do
   18923     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18924     *[\\\\\\\`\\"\\\$]*)
   18925       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18926       ;;
   18927     *)
   18928       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18929       ;;
   18930     esac
   18931 done
   18932 
   18933 # Double-quote double-evaled strings.
   18934 for var in reload_cmds \
   18935 old_postinstall_cmds \
   18936 old_postuninstall_cmds \
   18937 old_archive_cmds \
   18938 extract_expsyms_cmds \
   18939 old_archive_from_new_cmds \
   18940 old_archive_from_expsyms_cmds \
   18941 archive_cmds \
   18942 archive_expsym_cmds \
   18943 module_cmds \
   18944 module_expsym_cmds \
   18945 export_symbols_cmds \
   18946 prelink_cmds \
   18947 postlink_cmds \
   18948 postinstall_cmds \
   18949 postuninstall_cmds \
   18950 finish_cmds \
   18951 sys_lib_search_path_spec \
   18952 sys_lib_dlsearch_path_spec; do
   18953     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18954     *[\\\\\\\`\\"\\\$]*)
   18955       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18956       ;;
   18957     *)
   18958       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18959       ;;
   18960     esac
   18961 done
   18962 
   18963 ac_aux_dir='$ac_aux_dir'
   18964 xsi_shell='$xsi_shell'
   18965 lt_shell_append='$lt_shell_append'
   18966 
   18967 # See if we are running on zsh, and set the options which allow our
   18968 # commands through without removal of \ escapes INIT.
   18969 if test -n "\${ZSH_VERSION+set}" ; then
   18970    setopt NO_GLOB_SUBST
   18971 fi
   18972 
   18973 
   18974     PACKAGE='$PACKAGE'
   18975     VERSION='$VERSION'
   18976     TIMESTAMP='$TIMESTAMP'
   18977     RM='$RM'
   18978     ofile='$ofile'
   18979 
   18980 
   18981 
   18982 
   18983 _ACEOF
   18984 
   18985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18986 
   18987 # Handling of arguments.
   18988 for ac_config_target in $ac_config_targets
   18989 do
   18990   case $ac_config_target in
   18991     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18992     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18993     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18994     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18995     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18996     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18997     "xcomposite.pc") CONFIG_FILES="$CONFIG_FILES xcomposite.pc" ;;
   18998 
   18999   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19000   esac
   19001 done
   19002 
   19003 
   19004 # If the user did not use the arguments to specify the items to instantiate,
   19005 # then the envvar interface is used.  Set only those that are not.
   19006 # We use the long form for the default assignment because of an extremely
   19007 # bizarre bug on SunOS 4.1.3.
   19008 if $ac_need_defaults; then
   19009   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19010   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19011   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19012 fi
   19013 
   19014 # Have a temporary directory for convenience.  Make it in the build tree
   19015 # simply because there is no reason against having it here, and in addition,
   19016 # creating and moving files from /tmp can sometimes cause problems.
   19017 # Hook for its removal unless debugging.
   19018 # Note that there is a small window in which the directory will not be cleaned:
   19019 # after its creation but before its name has been assigned to `$tmp'.
   19020 $debug ||
   19021 {
   19022   tmp= ac_tmp=
   19023   trap 'exit_status=$?
   19024   : "${ac_tmp:=$tmp}"
   19025   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19026 ' 0
   19027   trap 'as_fn_exit 1' 1 2 13 15
   19028 }
   19029 # Create a (secure) tmp directory for tmp files.
   19030 
   19031 {
   19032   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19033   test -d "$tmp"
   19034 }  ||
   19035 {
   19036   tmp=./conf$$-$RANDOM
   19037   (umask 077 && mkdir "$tmp")
   19038 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19039 ac_tmp=$tmp
   19040 
   19041 # Set up the scripts for CONFIG_FILES section.
   19042 # No need to generate them if there are no CONFIG_FILES.
   19043 # This happens for instance with `./config.status config.h'.
   19044 if test -n "$CONFIG_FILES"; then
   19045 
   19046 
   19047 ac_cr=`echo X | tr X '\015'`
   19048 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19049 # But we know of no other shell where ac_cr would be empty at this
   19050 # point, so we can use a bashism as a fallback.
   19051 if test "x$ac_cr" = x; then
   19052   eval ac_cr=\$\'\\r\'
   19053 fi
   19054 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19055 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19056   ac_cs_awk_cr='\\r'
   19057 else
   19058   ac_cs_awk_cr=$ac_cr
   19059 fi
   19060 
   19061 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19062 _ACEOF
   19063 
   19064 
   19065 {
   19066   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19067   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19068   echo "_ACEOF"
   19069 } >conf$$subs.sh ||
   19070   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19071 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19072 ac_delim='%!_!# '
   19073 for ac_last_try in false false false false false :; do
   19074   . ./conf$$subs.sh ||
   19075     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19076 
   19077   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19078   if test $ac_delim_n = $ac_delim_num; then
   19079     break
   19080   elif $ac_last_try; then
   19081     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19082   else
   19083     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19084   fi
   19085 done
   19086 rm -f conf$$subs.sh
   19087 
   19088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19089 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19090 _ACEOF
   19091 sed -n '
   19092 h
   19093 s/^/S["/; s/!.*/"]=/
   19094 p
   19095 g
   19096 s/^[^!]*!//
   19097 :repl
   19098 t repl
   19099 s/'"$ac_delim"'$//
   19100 t delim
   19101 :nl
   19102 h
   19103 s/\(.\{148\}\)..*/\1/
   19104 t more1
   19105 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19106 p
   19107 n
   19108 b repl
   19109 :more1
   19110 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19111 p
   19112 g
   19113 s/.\{148\}//
   19114 t nl
   19115 :delim
   19116 h
   19117 s/\(.\{148\}\)..*/\1/
   19118 t more2
   19119 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19120 p
   19121 b
   19122 :more2
   19123 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19124 p
   19125 g
   19126 s/.\{148\}//
   19127 t delim
   19128 ' <conf$$subs.awk | sed '
   19129 /^[^""]/{
   19130   N
   19131   s/\n//
   19132 }
   19133 ' >>$CONFIG_STATUS || ac_write_fail=1
   19134 rm -f conf$$subs.awk
   19135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19136 _ACAWK
   19137 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19138   for (key in S) S_is_set[key] = 1
   19139   FS = ""
   19140 
   19141 }
   19142 {
   19143   line = $ 0
   19144   nfields = split(line, field, "@")
   19145   substed = 0
   19146   len = length(field[1])
   19147   for (i = 2; i < nfields; i++) {
   19148     key = field[i]
   19149     keylen = length(key)
   19150     if (S_is_set[key]) {
   19151       value = S[key]
   19152       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19153       len += length(value) + length(field[++i])
   19154       substed = 1
   19155     } else
   19156       len += 1 + keylen
   19157   }
   19158 
   19159   print line
   19160 }
   19161 
   19162 _ACAWK
   19163 _ACEOF
   19164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19165 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19166   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19167 else
   19168   cat
   19169 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19170   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19171 _ACEOF
   19172 
   19173 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19174 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19175 # trailing colons and then remove the whole line if VPATH becomes empty
   19176 # (actually we leave an empty line to preserve line numbers).
   19177 if test "x$srcdir" = x.; then
   19178   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19179 h
   19180 s///
   19181 s/^/:/
   19182 s/[	 ]*$/:/
   19183 s/:\$(srcdir):/:/g
   19184 s/:\${srcdir}:/:/g
   19185 s/:@srcdir@:/:/g
   19186 s/^:*//
   19187 s/:*$//
   19188 x
   19189 s/\(=[	 ]*\).*/\1/
   19190 G
   19191 s/\n//
   19192 s/^[^=]*=[	 ]*$//
   19193 }'
   19194 fi
   19195 
   19196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19197 fi # test -n "$CONFIG_FILES"
   19198 
   19199 # Set up the scripts for CONFIG_HEADERS section.
   19200 # No need to generate them if there are no CONFIG_HEADERS.
   19201 # This happens for instance with `./config.status Makefile'.
   19202 if test -n "$CONFIG_HEADERS"; then
   19203 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19204 BEGIN {
   19205 _ACEOF
   19206 
   19207 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19208 # here-document in config.status, that substitutes the proper values into
   19209 # config.h.in to produce config.h.
   19210 
   19211 # Create a delimiter string that does not exist in confdefs.h, to ease
   19212 # handling of long lines.
   19213 ac_delim='%!_!# '
   19214 for ac_last_try in false false :; do
   19215   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19216   if test -z "$ac_tt"; then
   19217     break
   19218   elif $ac_last_try; then
   19219     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19220   else
   19221     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19222   fi
   19223 done
   19224 
   19225 # For the awk script, D is an array of macro values keyed by name,
   19226 # likewise P contains macro parameters if any.  Preserve backslash
   19227 # newline sequences.
   19228 
   19229 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19230 sed -n '
   19231 s/.\{148\}/&'"$ac_delim"'/g
   19232 t rset
   19233 :rset
   19234 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19235 t def
   19236 d
   19237 :def
   19238 s/\\$//
   19239 t bsnl
   19240 s/["\\]/\\&/g
   19241 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19242 D["\1"]=" \3"/p
   19243 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19244 d
   19245 :bsnl
   19246 s/["\\]/\\&/g
   19247 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19248 D["\1"]=" \3\\\\\\n"\\/p
   19249 t cont
   19250 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19251 t cont
   19252 d
   19253 :cont
   19254 n
   19255 s/.\{148\}/&'"$ac_delim"'/g
   19256 t clear
   19257 :clear
   19258 s/\\$//
   19259 t bsnlc
   19260 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19261 d
   19262 :bsnlc
   19263 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19264 b cont
   19265 ' <confdefs.h | sed '
   19266 s/'"$ac_delim"'/"\\\
   19267 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19268 
   19269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19270   for (key in D) D_is_set[key] = 1
   19271   FS = ""
   19272 }
   19273 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19274   line = \$ 0
   19275   split(line, arg, " ")
   19276   if (arg[1] == "#") {
   19277     defundef = arg[2]
   19278     mac1 = arg[3]
   19279   } else {
   19280     defundef = substr(arg[1], 2)
   19281     mac1 = arg[2]
   19282   }
   19283   split(mac1, mac2, "(") #)
   19284   macro = mac2[1]
   19285   prefix = substr(line, 1, index(line, defundef) - 1)
   19286   if (D_is_set[macro]) {
   19287     # Preserve the white space surrounding the "#".
   19288     print prefix "define", macro P[macro] D[macro]
   19289     next
   19290   } else {
   19291     # Replace #undef with comments.  This is necessary, for example,
   19292     # in the case of _POSIX_SOURCE, which is predefined and required
   19293     # on some systems where configure will not decide to define it.
   19294     if (defundef == "undef") {
   19295       print "/*", prefix defundef, macro, "*/"
   19296       next
   19297     }
   19298   }
   19299 }
   19300 { print }
   19301 _ACAWK
   19302 _ACEOF
   19303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19304   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19305 fi # test -n "$CONFIG_HEADERS"
   19306 
   19307 
   19308 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19309 shift
   19310 for ac_tag
   19311 do
   19312   case $ac_tag in
   19313   :[FHLC]) ac_mode=$ac_tag; continue;;
   19314   esac
   19315   case $ac_mode$ac_tag in
   19316   :[FHL]*:*);;
   19317   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19318   :[FH]-) ac_tag=-:-;;
   19319   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19320   esac
   19321   ac_save_IFS=$IFS
   19322   IFS=:
   19323   set x $ac_tag
   19324   IFS=$ac_save_IFS
   19325   shift
   19326   ac_file=$1
   19327   shift
   19328 
   19329   case $ac_mode in
   19330   :L) ac_source=$1;;
   19331   :[FH])
   19332     ac_file_inputs=
   19333     for ac_f
   19334     do
   19335       case $ac_f in
   19336       -) ac_f="$ac_tmp/stdin";;
   19337       *) # Look for the file first in the build tree, then in the source tree
   19338 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19339 	 # because $ac_f cannot contain `:'.
   19340 	 test -f "$ac_f" ||
   19341 	   case $ac_f in
   19342 	   [\\/$]*) false;;
   19343 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19344 	   esac ||
   19345 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19346       esac
   19347       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19348       as_fn_append ac_file_inputs " '$ac_f'"
   19349     done
   19350 
   19351     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19352     # use $as_me), people would be surprised to read:
   19353     #    /* config.h.  Generated by config.status.  */
   19354     configure_input='Generated from '`
   19355 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19356 	`' by configure.'
   19357     if test x"$ac_file" != x-; then
   19358       configure_input="$ac_file.  $configure_input"
   19359       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19360 $as_echo "$as_me: creating $ac_file" >&6;}
   19361     fi
   19362     # Neutralize special characters interpreted by sed in replacement strings.
   19363     case $configure_input in #(
   19364     *\&* | *\|* | *\\* )
   19365        ac_sed_conf_input=`$as_echo "$configure_input" |
   19366        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19367     *) ac_sed_conf_input=$configure_input;;
   19368     esac
   19369 
   19370     case $ac_tag in
   19371     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19372       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19373     esac
   19374     ;;
   19375   esac
   19376 
   19377   ac_dir=`$as_dirname -- "$ac_file" ||
   19378 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19379 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19380 	 X"$ac_file" : 'X\(//\)$' \| \
   19381 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19382 $as_echo X"$ac_file" |
   19383     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19384 	    s//\1/
   19385 	    q
   19386 	  }
   19387 	  /^X\(\/\/\)[^/].*/{
   19388 	    s//\1/
   19389 	    q
   19390 	  }
   19391 	  /^X\(\/\/\)$/{
   19392 	    s//\1/
   19393 	    q
   19394 	  }
   19395 	  /^X\(\/\).*/{
   19396 	    s//\1/
   19397 	    q
   19398 	  }
   19399 	  s/.*/./; q'`
   19400   as_dir="$ac_dir"; as_fn_mkdir_p
   19401   ac_builddir=.
   19402 
   19403 case "$ac_dir" in
   19404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19405 *)
   19406   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19407   # A ".." for each directory in $ac_dir_suffix.
   19408   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19409   case $ac_top_builddir_sub in
   19410   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19411   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19412   esac ;;
   19413 esac
   19414 ac_abs_top_builddir=$ac_pwd
   19415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19416 # for backward compatibility:
   19417 ac_top_builddir=$ac_top_build_prefix
   19418 
   19419 case $srcdir in
   19420   .)  # We are building in place.
   19421     ac_srcdir=.
   19422     ac_top_srcdir=$ac_top_builddir_sub
   19423     ac_abs_top_srcdir=$ac_pwd ;;
   19424   [\\/]* | ?:[\\/]* )  # Absolute name.
   19425     ac_srcdir=$srcdir$ac_dir_suffix;
   19426     ac_top_srcdir=$srcdir
   19427     ac_abs_top_srcdir=$srcdir ;;
   19428   *) # Relative name.
   19429     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19430     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19431     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19432 esac
   19433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19434 
   19435 
   19436   case $ac_mode in
   19437   :F)
   19438   #
   19439   # CONFIG_FILE
   19440   #
   19441 
   19442   case $INSTALL in
   19443   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19444   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19445   esac
   19446   ac_MKDIR_P=$MKDIR_P
   19447   case $MKDIR_P in
   19448   [\\/$]* | ?:[\\/]* ) ;;
   19449   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19450   esac
   19451 _ACEOF
   19452 
   19453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19454 # If the template does not know about datarootdir, expand it.
   19455 # FIXME: This hack should be removed a few years after 2.60.
   19456 ac_datarootdir_hack=; ac_datarootdir_seen=
   19457 ac_sed_dataroot='
   19458 /datarootdir/ {
   19459   p
   19460   q
   19461 }
   19462 /@datadir@/p
   19463 /@docdir@/p
   19464 /@infodir@/p
   19465 /@localedir@/p
   19466 /@mandir@/p'
   19467 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19468 *datarootdir*) ac_datarootdir_seen=yes;;
   19469 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19470   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19471 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19472 _ACEOF
   19473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19474   ac_datarootdir_hack='
   19475   s&@datadir@&$datadir&g
   19476   s&@docdir@&$docdir&g
   19477   s&@infodir@&$infodir&g
   19478   s&@localedir@&$localedir&g
   19479   s&@mandir@&$mandir&g
   19480   s&\\\${datarootdir}&$datarootdir&g' ;;
   19481 esac
   19482 _ACEOF
   19483 
   19484 # Neutralize VPATH when `$srcdir' = `.'.
   19485 # Shell code in configure.ac might set extrasub.
   19486 # FIXME: do we really want to maintain this feature?
   19487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19488 ac_sed_extra="$ac_vpsub
   19489 $extrasub
   19490 _ACEOF
   19491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19492 :t
   19493 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19494 s|@configure_input@|$ac_sed_conf_input|;t t
   19495 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19496 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19497 s&@srcdir@&$ac_srcdir&;t t
   19498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19499 s&@top_srcdir@&$ac_top_srcdir&;t t
   19500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19501 s&@builddir@&$ac_builddir&;t t
   19502 s&@abs_builddir@&$ac_abs_builddir&;t t
   19503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19504 s&@INSTALL@&$ac_INSTALL&;t t
   19505 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19506 $ac_datarootdir_hack
   19507 "
   19508 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19509   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19510 
   19511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19512   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19513   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19514       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19515   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19516 which seems to be undefined.  Please make sure it is defined" >&5
   19517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19518 which seems to be undefined.  Please make sure it is defined" >&2;}
   19519 
   19520   rm -f "$ac_tmp/stdin"
   19521   case $ac_file in
   19522   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19523   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19524   esac \
   19525   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19526  ;;
   19527   :H)
   19528   #
   19529   # CONFIG_HEADER
   19530   #
   19531   if test x"$ac_file" != x-; then
   19532     {
   19533       $as_echo "/* $configure_input  */" \
   19534       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19535     } >"$ac_tmp/config.h" \
   19536       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19537     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19538       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19539 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19540     else
   19541       rm -f "$ac_file"
   19542       mv "$ac_tmp/config.h" "$ac_file" \
   19543 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19544     fi
   19545   else
   19546     $as_echo "/* $configure_input  */" \
   19547       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19548       || as_fn_error $? "could not create -" "$LINENO" 5
   19549   fi
   19550 # Compute "$ac_file"'s index in $config_headers.
   19551 _am_arg="$ac_file"
   19552 _am_stamp_count=1
   19553 for _am_header in $config_headers :; do
   19554   case $_am_header in
   19555     $_am_arg | $_am_arg:* )
   19556       break ;;
   19557     * )
   19558       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19559   esac
   19560 done
   19561 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19562 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19563 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19564 	 X"$_am_arg" : 'X\(//\)$' \| \
   19565 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19566 $as_echo X"$_am_arg" |
   19567     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19568 	    s//\1/
   19569 	    q
   19570 	  }
   19571 	  /^X\(\/\/\)[^/].*/{
   19572 	    s//\1/
   19573 	    q
   19574 	  }
   19575 	  /^X\(\/\/\)$/{
   19576 	    s//\1/
   19577 	    q
   19578 	  }
   19579 	  /^X\(\/\).*/{
   19580 	    s//\1/
   19581 	    q
   19582 	  }
   19583 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19584  ;;
   19585 
   19586   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19587 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19588  ;;
   19589   esac
   19590 
   19591 
   19592   case $ac_file$ac_mode in
   19593     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19594   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19595   # are listed without --file.  Let's play safe and only enable the eval
   19596   # if we detect the quoting.
   19597   case $CONFIG_FILES in
   19598   *\'*) eval set x "$CONFIG_FILES" ;;
   19599   *)   set x $CONFIG_FILES ;;
   19600   esac
   19601   shift
   19602   for mf
   19603   do
   19604     # Strip MF so we end up with the name of the file.
   19605     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19606     # Check whether this is an Automake generated Makefile or not.
   19607     # We used to match only the files named `Makefile.in', but
   19608     # some people rename them; so instead we look at the file content.
   19609     # Grep'ing the first line is not enough: some people post-process
   19610     # each Makefile.in and add a new line on top of each file to say so.
   19611     # Grep'ing the whole file is not good either: AIX grep has a line
   19612     # limit of 2048, but all sed's we know have understand at least 4000.
   19613     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19614       dirpart=`$as_dirname -- "$mf" ||
   19615 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19616 	 X"$mf" : 'X\(//\)[^/]' \| \
   19617 	 X"$mf" : 'X\(//\)$' \| \
   19618 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19619 $as_echo X"$mf" |
   19620     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19621 	    s//\1/
   19622 	    q
   19623 	  }
   19624 	  /^X\(\/\/\)[^/].*/{
   19625 	    s//\1/
   19626 	    q
   19627 	  }
   19628 	  /^X\(\/\/\)$/{
   19629 	    s//\1/
   19630 	    q
   19631 	  }
   19632 	  /^X\(\/\).*/{
   19633 	    s//\1/
   19634 	    q
   19635 	  }
   19636 	  s/.*/./; q'`
   19637     else
   19638       continue
   19639     fi
   19640     # Extract the definition of DEPDIR, am__include, and am__quote
   19641     # from the Makefile without running `make'.
   19642     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19643     test -z "$DEPDIR" && continue
   19644     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19645     test -z "am__include" && continue
   19646     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19647     # When using ansi2knr, U may be empty or an underscore; expand it
   19648     U=`sed -n 's/^U = //p' < "$mf"`
   19649     # Find all dependency output files, they are included files with
   19650     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19651     # simplest approach to changing $(DEPDIR) to its actual value in the
   19652     # expansion.
   19653     for file in `sed -n "
   19654       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19655 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19656       # Make sure the directory exists.
   19657       test -f "$dirpart/$file" && continue
   19658       fdir=`$as_dirname -- "$file" ||
   19659 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19660 	 X"$file" : 'X\(//\)[^/]' \| \
   19661 	 X"$file" : 'X\(//\)$' \| \
   19662 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19663 $as_echo X"$file" |
   19664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19665 	    s//\1/
   19666 	    q
   19667 	  }
   19668 	  /^X\(\/\/\)[^/].*/{
   19669 	    s//\1/
   19670 	    q
   19671 	  }
   19672 	  /^X\(\/\/\)$/{
   19673 	    s//\1/
   19674 	    q
   19675 	  }
   19676 	  /^X\(\/\).*/{
   19677 	    s//\1/
   19678 	    q
   19679 	  }
   19680 	  s/.*/./; q'`
   19681       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19682       # echo "creating $dirpart/$file"
   19683       echo '# dummy' > "$dirpart/$file"
   19684     done
   19685   done
   19686 }
   19687  ;;
   19688     "libtool":C)
   19689 
   19690     # See if we are running on zsh, and set the options which allow our
   19691     # commands through without removal of \ escapes.
   19692     if test -n "${ZSH_VERSION+set}" ; then
   19693       setopt NO_GLOB_SUBST
   19694     fi
   19695 
   19696     cfgfile="${ofile}T"
   19697     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19698     $RM "$cfgfile"
   19699 
   19700     cat <<_LT_EOF >> "$cfgfile"
   19701 #! $SHELL
   19702 
   19703 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19704 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19705 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19706 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19707 #
   19708 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19709 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19710 #                 Foundation, Inc.
   19711 #   Written by Gordon Matzigkeit, 1996
   19712 #
   19713 #   This file is part of GNU Libtool.
   19714 #
   19715 # GNU Libtool is free software; you can redistribute it and/or
   19716 # modify it under the terms of the GNU General Public License as
   19717 # published by the Free Software Foundation; either version 2 of
   19718 # the License, or (at your option) any later version.
   19719 #
   19720 # As a special exception to the GNU General Public License,
   19721 # if you distribute this file as part of a program or library that
   19722 # is built using GNU Libtool, you may include this file under the
   19723 # same distribution terms that you use for the rest of that program.
   19724 #
   19725 # GNU Libtool is distributed in the hope that it will be useful,
   19726 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19727 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19728 # GNU General Public License for more details.
   19729 #
   19730 # You should have received a copy of the GNU General Public License
   19731 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19732 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19733 # obtained by writing to the Free Software Foundation, Inc.,
   19734 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19735 
   19736 
   19737 # The names of the tagged configurations supported by this script.
   19738 available_tags=""
   19739 
   19740 # ### BEGIN LIBTOOL CONFIG
   19741 
   19742 # Which release of libtool.m4 was used?
   19743 macro_version=$macro_version
   19744 macro_revision=$macro_revision
   19745 
   19746 # Whether or not to build shared libraries.
   19747 build_libtool_libs=$enable_shared
   19748 
   19749 # Whether or not to build static libraries.
   19750 build_old_libs=$enable_static
   19751 
   19752 # What type of objects to build.
   19753 pic_mode=$pic_mode
   19754 
   19755 # Whether or not to optimize for fast installation.
   19756 fast_install=$enable_fast_install
   19757 
   19758 # Shell to use when invoking shell scripts.
   19759 SHELL=$lt_SHELL
   19760 
   19761 # An echo program that protects backslashes.
   19762 ECHO=$lt_ECHO
   19763 
   19764 # The PATH separator for the build system.
   19765 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19766 
   19767 # The host system.
   19768 host_alias=$host_alias
   19769 host=$host
   19770 host_os=$host_os
   19771 
   19772 # The build system.
   19773 build_alias=$build_alias
   19774 build=$build
   19775 build_os=$build_os
   19776 
   19777 # A sed program that does not truncate output.
   19778 SED=$lt_SED
   19779 
   19780 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19781 Xsed="\$SED -e 1s/^X//"
   19782 
   19783 # A grep program that handles long lines.
   19784 GREP=$lt_GREP
   19785 
   19786 # An ERE matcher.
   19787 EGREP=$lt_EGREP
   19788 
   19789 # A literal string matcher.
   19790 FGREP=$lt_FGREP
   19791 
   19792 # A BSD- or MS-compatible name lister.
   19793 NM=$lt_NM
   19794 
   19795 # Whether we need soft or hard links.
   19796 LN_S=$lt_LN_S
   19797 
   19798 # What is the maximum length of a command?
   19799 max_cmd_len=$max_cmd_len
   19800 
   19801 # Object file suffix (normally "o").
   19802 objext=$ac_objext
   19803 
   19804 # Executable file suffix (normally "").
   19805 exeext=$exeext
   19806 
   19807 # whether the shell understands "unset".
   19808 lt_unset=$lt_unset
   19809 
   19810 # turn spaces into newlines.
   19811 SP2NL=$lt_lt_SP2NL
   19812 
   19813 # turn newlines into spaces.
   19814 NL2SP=$lt_lt_NL2SP
   19815 
   19816 # convert \$build file names to \$host format.
   19817 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19818 
   19819 # convert \$build files to toolchain format.
   19820 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19821 
   19822 # An object symbol dumper.
   19823 OBJDUMP=$lt_OBJDUMP
   19824 
   19825 # Method to check whether dependent libraries are shared objects.
   19826 deplibs_check_method=$lt_deplibs_check_method
   19827 
   19828 # Command to use when deplibs_check_method = "file_magic".
   19829 file_magic_cmd=$lt_file_magic_cmd
   19830 
   19831 # How to find potential files when deplibs_check_method = "file_magic".
   19832 file_magic_glob=$lt_file_magic_glob
   19833 
   19834 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19835 want_nocaseglob=$lt_want_nocaseglob
   19836 
   19837 # DLL creation program.
   19838 DLLTOOL=$lt_DLLTOOL
   19839 
   19840 # Command to associate shared and link libraries.
   19841 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19842 
   19843 # The archiver.
   19844 AR=$lt_AR
   19845 
   19846 # Flags to create an archive.
   19847 AR_FLAGS=$lt_AR_FLAGS
   19848 
   19849 # How to feed a file listing to the archiver.
   19850 archiver_list_spec=$lt_archiver_list_spec
   19851 
   19852 # A symbol stripping program.
   19853 STRIP=$lt_STRIP
   19854 
   19855 # Commands used to install an old-style archive.
   19856 RANLIB=$lt_RANLIB
   19857 old_postinstall_cmds=$lt_old_postinstall_cmds
   19858 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19859 
   19860 # Whether to use a lock for old archive extraction.
   19861 lock_old_archive_extraction=$lock_old_archive_extraction
   19862 
   19863 # A C compiler.
   19864 LTCC=$lt_CC
   19865 
   19866 # LTCC compiler flags.
   19867 LTCFLAGS=$lt_CFLAGS
   19868 
   19869 # Take the output of nm and produce a listing of raw symbols and C names.
   19870 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19871 
   19872 # Transform the output of nm in a proper C declaration.
   19873 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19874 
   19875 # Transform the output of nm in a C name address pair.
   19876 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19877 
   19878 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19879 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19880 
   19881 # Specify filename containing input files for \$NM.
   19882 nm_file_list_spec=$lt_nm_file_list_spec
   19883 
   19884 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19885 lt_sysroot=$lt_sysroot
   19886 
   19887 # The name of the directory that contains temporary libtool files.
   19888 objdir=$objdir
   19889 
   19890 # Used to examine libraries when file_magic_cmd begins with "file".
   19891 MAGIC_CMD=$MAGIC_CMD
   19892 
   19893 # Must we lock files when doing compilation?
   19894 need_locks=$lt_need_locks
   19895 
   19896 # Manifest tool.
   19897 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19898 
   19899 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19900 DSYMUTIL=$lt_DSYMUTIL
   19901 
   19902 # Tool to change global to local symbols on Mac OS X.
   19903 NMEDIT=$lt_NMEDIT
   19904 
   19905 # Tool to manipulate fat objects and archives on Mac OS X.
   19906 LIPO=$lt_LIPO
   19907 
   19908 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19909 OTOOL=$lt_OTOOL
   19910 
   19911 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19912 OTOOL64=$lt_OTOOL64
   19913 
   19914 # Old archive suffix (normally "a").
   19915 libext=$libext
   19916 
   19917 # Shared library suffix (normally ".so").
   19918 shrext_cmds=$lt_shrext_cmds
   19919 
   19920 # The commands to extract the exported symbol list from a shared archive.
   19921 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19922 
   19923 # Variables whose values should be saved in libtool wrapper scripts and
   19924 # restored at link time.
   19925 variables_saved_for_relink=$lt_variables_saved_for_relink
   19926 
   19927 # Do we need the "lib" prefix for modules?
   19928 need_lib_prefix=$need_lib_prefix
   19929 
   19930 # Do we need a version for libraries?
   19931 need_version=$need_version
   19932 
   19933 # Library versioning type.
   19934 version_type=$version_type
   19935 
   19936 # Shared library runtime path variable.
   19937 runpath_var=$runpath_var
   19938 
   19939 # Shared library path variable.
   19940 shlibpath_var=$shlibpath_var
   19941 
   19942 # Is shlibpath searched before the hard-coded library search path?
   19943 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19944 
   19945 # Format of library name prefix.
   19946 libname_spec=$lt_libname_spec
   19947 
   19948 # List of archive names.  First name is the real one, the rest are links.
   19949 # The last name is the one that the linker finds with -lNAME
   19950 library_names_spec=$lt_library_names_spec
   19951 
   19952 # The coded name of the library, if different from the real name.
   19953 soname_spec=$lt_soname_spec
   19954 
   19955 # Permission mode override for installation of shared libraries.
   19956 install_override_mode=$lt_install_override_mode
   19957 
   19958 # Command to use after installation of a shared archive.
   19959 postinstall_cmds=$lt_postinstall_cmds
   19960 
   19961 # Command to use after uninstallation of a shared archive.
   19962 postuninstall_cmds=$lt_postuninstall_cmds
   19963 
   19964 # Commands used to finish a libtool library installation in a directory.
   19965 finish_cmds=$lt_finish_cmds
   19966 
   19967 # As "finish_cmds", except a single script fragment to be evaled but
   19968 # not shown.
   19969 finish_eval=$lt_finish_eval
   19970 
   19971 # Whether we should hardcode library paths into libraries.
   19972 hardcode_into_libs=$hardcode_into_libs
   19973 
   19974 # Compile-time system search path for libraries.
   19975 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19976 
   19977 # Run-time system search path for libraries.
   19978 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19979 
   19980 # Whether dlopen is supported.
   19981 dlopen_support=$enable_dlopen
   19982 
   19983 # Whether dlopen of programs is supported.
   19984 dlopen_self=$enable_dlopen_self
   19985 
   19986 # Whether dlopen of statically linked programs is supported.
   19987 dlopen_self_static=$enable_dlopen_self_static
   19988 
   19989 # Commands to strip libraries.
   19990 old_striplib=$lt_old_striplib
   19991 striplib=$lt_striplib
   19992 
   19993 
   19994 # The linker used to build libraries.
   19995 LD=$lt_LD
   19996 
   19997 # How to create reloadable object files.
   19998 reload_flag=$lt_reload_flag
   19999 reload_cmds=$lt_reload_cmds
   20000 
   20001 # Commands used to build an old-style archive.
   20002 old_archive_cmds=$lt_old_archive_cmds
   20003 
   20004 # A language specific compiler.
   20005 CC=$lt_compiler
   20006 
   20007 # Is the compiler the GNU compiler?
   20008 with_gcc=$GCC
   20009 
   20010 # Compiler flag to turn off builtin functions.
   20011 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20012 
   20013 # Additional compiler flags for building library objects.
   20014 pic_flag=$lt_lt_prog_compiler_pic
   20015 
   20016 # How to pass a linker flag through the compiler.
   20017 wl=$lt_lt_prog_compiler_wl
   20018 
   20019 # Compiler flag to prevent dynamic linking.
   20020 link_static_flag=$lt_lt_prog_compiler_static
   20021 
   20022 # Does compiler simultaneously support -c and -o options?
   20023 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20024 
   20025 # Whether or not to add -lc for building shared libraries.
   20026 build_libtool_need_lc=$archive_cmds_need_lc
   20027 
   20028 # Whether or not to disallow shared libs when runtime libs are static.
   20029 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20030 
   20031 # Compiler flag to allow reflexive dlopens.
   20032 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20033 
   20034 # Compiler flag to generate shared objects directly from archives.
   20035 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20036 
   20037 # Whether the compiler copes with passing no objects directly.
   20038 compiler_needs_object=$lt_compiler_needs_object
   20039 
   20040 # Create an old-style archive from a shared archive.
   20041 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20042 
   20043 # Create a temporary old-style archive to link instead of a shared archive.
   20044 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20045 
   20046 # Commands used to build a shared archive.
   20047 archive_cmds=$lt_archive_cmds
   20048 archive_expsym_cmds=$lt_archive_expsym_cmds
   20049 
   20050 # Commands used to build a loadable module if different from building
   20051 # a shared archive.
   20052 module_cmds=$lt_module_cmds
   20053 module_expsym_cmds=$lt_module_expsym_cmds
   20054 
   20055 # Whether we are building with GNU ld or not.
   20056 with_gnu_ld=$lt_with_gnu_ld
   20057 
   20058 # Flag that allows shared libraries with undefined symbols to be built.
   20059 allow_undefined_flag=$lt_allow_undefined_flag
   20060 
   20061 # Flag that enforces no undefined symbols.
   20062 no_undefined_flag=$lt_no_undefined_flag
   20063 
   20064 # Flag to hardcode \$libdir into a binary during linking.
   20065 # This must work even if \$libdir does not exist
   20066 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20067 
   20068 # Whether we need a single "-rpath" flag with a separated argument.
   20069 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20070 
   20071 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20072 # DIR into the resulting binary.
   20073 hardcode_direct=$hardcode_direct
   20074 
   20075 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20076 # DIR into the resulting binary and the resulting library dependency is
   20077 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20078 # library is relocated.
   20079 hardcode_direct_absolute=$hardcode_direct_absolute
   20080 
   20081 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20082 # into the resulting binary.
   20083 hardcode_minus_L=$hardcode_minus_L
   20084 
   20085 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20086 # into the resulting binary.
   20087 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20088 
   20089 # Set to "yes" if building a shared library automatically hardcodes DIR
   20090 # into the library and all subsequent libraries and executables linked
   20091 # against it.
   20092 hardcode_automatic=$hardcode_automatic
   20093 
   20094 # Set to yes if linker adds runtime paths of dependent libraries
   20095 # to runtime path list.
   20096 inherit_rpath=$inherit_rpath
   20097 
   20098 # Whether libtool must link a program against all its dependency libraries.
   20099 link_all_deplibs=$link_all_deplibs
   20100 
   20101 # Set to "yes" if exported symbols are required.
   20102 always_export_symbols=$always_export_symbols
   20103 
   20104 # The commands to list exported symbols.
   20105 export_symbols_cmds=$lt_export_symbols_cmds
   20106 
   20107 # Symbols that should not be listed in the preloaded symbols.
   20108 exclude_expsyms=$lt_exclude_expsyms
   20109 
   20110 # Symbols that must always be exported.
   20111 include_expsyms=$lt_include_expsyms
   20112 
   20113 # Commands necessary for linking programs (against libraries) with templates.
   20114 prelink_cmds=$lt_prelink_cmds
   20115 
   20116 # Commands necessary for finishing linking programs.
   20117 postlink_cmds=$lt_postlink_cmds
   20118 
   20119 # Specify filename containing input files.
   20120 file_list_spec=$lt_file_list_spec
   20121 
   20122 # How to hardcode a shared library path into an executable.
   20123 hardcode_action=$hardcode_action
   20124 
   20125 # ### END LIBTOOL CONFIG
   20126 
   20127 _LT_EOF
   20128 
   20129   case $host_os in
   20130   aix3*)
   20131     cat <<\_LT_EOF >> "$cfgfile"
   20132 # AIX sometimes has problems with the GCC collect2 program.  For some
   20133 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20134 # vanish in a puff of smoke.
   20135 if test "X${COLLECT_NAMES+set}" != Xset; then
   20136   COLLECT_NAMES=
   20137   export COLLECT_NAMES
   20138 fi
   20139 _LT_EOF
   20140     ;;
   20141   esac
   20142 
   20143 
   20144 ltmain="$ac_aux_dir/ltmain.sh"
   20145 
   20146 
   20147   # We use sed instead of cat because bash on DJGPP gets confused if
   20148   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20149   # text mode, it properly converts lines to CR/LF.  This bash problem
   20150   # is reportedly fixed, but why not run on old versions too?
   20151   sed '$q' "$ltmain" >> "$cfgfile" \
   20152      || (rm -f "$cfgfile"; exit 1)
   20153 
   20154   if test x"$xsi_shell" = xyes; then
   20155   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20156 func_dirname ()\
   20157 {\
   20158 \    case ${1} in\
   20159 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20160 \      *  ) func_dirname_result="${3}" ;;\
   20161 \    esac\
   20162 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20163   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20164     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20165 test 0 -eq $? || _lt_function_replace_fail=:
   20166 
   20167 
   20168   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20169 func_basename ()\
   20170 {\
   20171 \    func_basename_result="${1##*/}"\
   20172 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20173   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20174     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20175 test 0 -eq $? || _lt_function_replace_fail=:
   20176 
   20177 
   20178   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20179 func_dirname_and_basename ()\
   20180 {\
   20181 \    case ${1} in\
   20182 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20183 \      *  ) func_dirname_result="${3}" ;;\
   20184 \    esac\
   20185 \    func_basename_result="${1##*/}"\
   20186 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20187   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20188     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20189 test 0 -eq $? || _lt_function_replace_fail=:
   20190 
   20191 
   20192   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20193 func_stripname ()\
   20194 {\
   20195 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20196 \    # positional parameters, so assign one to ordinary parameter first.\
   20197 \    func_stripname_result=${3}\
   20198 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20199 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20200 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20201   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20202     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20203 test 0 -eq $? || _lt_function_replace_fail=:
   20204 
   20205 
   20206   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20207 func_split_long_opt ()\
   20208 {\
   20209 \    func_split_long_opt_name=${1%%=*}\
   20210 \    func_split_long_opt_arg=${1#*=}\
   20211 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20212   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20213     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20214 test 0 -eq $? || _lt_function_replace_fail=:
   20215 
   20216 
   20217   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20218 func_split_short_opt ()\
   20219 {\
   20220 \    func_split_short_opt_arg=${1#??}\
   20221 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20222 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20223   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20224     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20225 test 0 -eq $? || _lt_function_replace_fail=:
   20226 
   20227 
   20228   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20229 func_lo2o ()\
   20230 {\
   20231 \    case ${1} in\
   20232 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20233 \      *)    func_lo2o_result=${1} ;;\
   20234 \    esac\
   20235 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20236   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20237     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20238 test 0 -eq $? || _lt_function_replace_fail=:
   20239 
   20240 
   20241   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20242 func_xform ()\
   20243 {\
   20244     func_xform_result=${1%.*}.lo\
   20245 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20246   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20247     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20248 test 0 -eq $? || _lt_function_replace_fail=:
   20249 
   20250 
   20251   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20252 func_arith ()\
   20253 {\
   20254     func_arith_result=$(( $* ))\
   20255 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20256   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20257     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20258 test 0 -eq $? || _lt_function_replace_fail=:
   20259 
   20260 
   20261   sed -e '/^func_len ()$/,/^} # func_len /c\
   20262 func_len ()\
   20263 {\
   20264     func_len_result=${#1}\
   20265 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20266   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20267     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20268 test 0 -eq $? || _lt_function_replace_fail=:
   20269 
   20270 fi
   20271 
   20272 if test x"$lt_shell_append" = xyes; then
   20273   sed -e '/^func_append ()$/,/^} # func_append /c\
   20274 func_append ()\
   20275 {\
   20276     eval "${1}+=\\${2}"\
   20277 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20278   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20279     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20280 test 0 -eq $? || _lt_function_replace_fail=:
   20281 
   20282 
   20283   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20284 func_append_quoted ()\
   20285 {\
   20286 \    func_quote_for_eval "${2}"\
   20287 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20288 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20289   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20290     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20291 test 0 -eq $? || _lt_function_replace_fail=:
   20292 
   20293 
   20294   # Save a `func_append' function call where possible by direct use of '+='
   20295   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20296     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20297       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20298   test 0 -eq $? || _lt_function_replace_fail=:
   20299 else
   20300   # Save a `func_append' function call even when '+=' is not available
   20301   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20302     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20303       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20304   test 0 -eq $? || _lt_function_replace_fail=:
   20305 fi
   20306 
   20307 if test x"$_lt_function_replace_fail" = x":"; then
   20308   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20309 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20310 fi
   20311 
   20312 
   20313    mv -f "$cfgfile" "$ofile" ||
   20314     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20315   chmod +x "$ofile"
   20316 
   20317  ;;
   20318 
   20319   esac
   20320 done # for ac_tag
   20321 
   20322 
   20323 as_fn_exit 0
   20324 _ACEOF
   20325 ac_clean_files=$ac_clean_files_save
   20326 
   20327 test $ac_write_fail = 0 ||
   20328   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20329 
   20330 
   20331 # configure is writing to config.log, and then calls config.status.
   20332 # config.status does its own redirection, appending to config.log.
   20333 # Unfortunately, on DOS this fails, as config.log is still kept open
   20334 # by configure, so config.status won't be able to write to it; its
   20335 # output is simply discarded.  So we exec the FD to /dev/null,
   20336 # effectively closing config.log, so it can be properly (re)opened and
   20337 # appended to by config.status.  When coming back to configure, we
   20338 # need to make the FD available again.
   20339 if test "$no_create" != yes; then
   20340   ac_cs_success=:
   20341   ac_config_status_args=
   20342   test "$silent" = yes &&
   20343     ac_config_status_args="$ac_config_status_args --quiet"
   20344   exec 5>/dev/null
   20345   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20346   exec 5>>config.log
   20347   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20348   # would make configure fail if this is the last instruction.
   20349   $ac_cs_success || as_fn_exit 1
   20350 fi
   20351 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20352   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20353 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20354 fi
   20355 
   20356