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 libXfixes 5.0.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXfixes'
    573 PACKAGE_TARNAME='libXfixes'
    574 PACKAGE_VERSION='5.0.1'
    575 PACKAGE_STRING='libXfixes 5.0.1'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 FIXESEXT_LIBS
    621 FIXESEXT_CFLAGS
    622 FIXESEXT_VERSION
    623 MAN_SUBSTS
    624 XORG_MAN_PAGE
    625 ADMIN_MAN_DIR
    626 DRIVER_MAN_DIR
    627 MISC_MAN_DIR
    628 FILE_MAN_DIR
    629 LIB_MAN_DIR
    630 APP_MAN_DIR
    631 ADMIN_MAN_SUFFIX
    632 DRIVER_MAN_SUFFIX
    633 MISC_MAN_SUFFIX
    634 FILE_MAN_SUFFIX
    635 LIB_MAN_SUFFIX
    636 APP_MAN_SUFFIX
    637 INSTALL_CMD
    638 PKG_CONFIG
    639 CHANGELOG_CMD
    640 STRICT_CFLAGS
    641 CWARNFLAGS
    642 BASE_CFLAGS
    643 CPP
    644 OTOOL64
    645 OTOOL
    646 LIPO
    647 NMEDIT
    648 DSYMUTIL
    649 MANIFEST_TOOL
    650 RANLIB
    651 ac_ct_AR
    652 AR
    653 DLLTOOL
    654 OBJDUMP
    655 LN_S
    656 NM
    657 ac_ct_DUMPBIN
    658 DUMPBIN
    659 LD
    660 FGREP
    661 EGREP
    662 GREP
    663 SED
    664 am__fastdepCC_FALSE
    665 am__fastdepCC_TRUE
    666 CCDEPMODE
    667 am__nodep
    668 AMDEPBACKSLASH
    669 AMDEP_FALSE
    670 AMDEP_TRUE
    671 am__quote
    672 am__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 host_os
    682 host_vendor
    683 host_cpu
    684 host
    685 build_os
    686 build_vendor
    687 build_cpu
    688 build
    689 LIBTOOL
    690 AM_BACKSLASH
    691 AM_DEFAULT_VERBOSITY
    692 AM_DEFAULT_V
    693 AM_V
    694 am__untar
    695 am__tar
    696 AMTAR
    697 am__leading_dot
    698 SET_MAKE
    699 AWK
    700 mkdir_p
    701 MKDIR_P
    702 INSTALL_STRIP_PROGRAM
    703 STRIP
    704 install_sh
    705 MAKEINFO
    706 AUTOHEADER
    707 AUTOMAKE
    708 AUTOCONF
    709 ACLOCAL
    710 VERSION
    711 PACKAGE
    712 CYGPATH_W
    713 am__isrc
    714 INSTALL_DATA
    715 INSTALL_SCRIPT
    716 INSTALL_PROGRAM
    717 target_alias
    718 host_alias
    719 build_alias
    720 LIBS
    721 ECHO_T
    722 ECHO_N
    723 ECHO_C
    724 DEFS
    725 mandir
    726 localedir
    727 libdir
    728 psdir
    729 pdfdir
    730 dvidir
    731 htmldir
    732 infodir
    733 docdir
    734 oldincludedir
    735 includedir
    736 localstatedir
    737 sharedstatedir
    738 sysconfdir
    739 datadir
    740 datarootdir
    741 libexecdir
    742 sbindir
    743 bindir
    744 program_transform_name
    745 prefix
    746 exec_prefix
    747 PACKAGE_URL
    748 PACKAGE_BUGREPORT
    749 PACKAGE_STRING
    750 PACKAGE_VERSION
    751 PACKAGE_TARNAME
    752 PACKAGE_NAME
    753 PATH_SEPARATOR
    754 SHELL'
    755 ac_subst_files=''
    756 ac_user_opts='
    757 enable_option_checking
    758 enable_silent_rules
    759 enable_shared
    760 enable_static
    761 with_pic
    762 enable_fast_install
    763 enable_dependency_tracking
    764 with_gnu_ld
    765 with_sysroot
    766 enable_libtool_lock
    767 enable_selective_werror
    768 enable_strict_compilation
    769 '
    770       ac_precious_vars='build_alias
    771 host_alias
    772 target_alias
    773 CC
    774 CFLAGS
    775 LDFLAGS
    776 LIBS
    777 CPPFLAGS
    778 CPP
    779 PKG_CONFIG
    780 FIXESEXT_CFLAGS
    781 FIXESEXT_LIBS'
    782 
    783 
    784 # Initialize some variables set by options.
    785 ac_init_help=
    786 ac_init_version=false
    787 ac_unrecognized_opts=
    788 ac_unrecognized_sep=
    789 # The variables have the same names as the options, with
    790 # dashes changed to underlines.
    791 cache_file=/dev/null
    792 exec_prefix=NONE
    793 no_create=
    794 no_recursion=
    795 prefix=NONE
    796 program_prefix=NONE
    797 program_suffix=NONE
    798 program_transform_name=s,x,x,
    799 silent=
    800 site=
    801 srcdir=
    802 verbose=
    803 x_includes=NONE
    804 x_libraries=NONE
    805 
    806 # Installation directory options.
    807 # These are left unexpanded so users can "make install exec_prefix=/foo"
    808 # and all the variables that are supposed to be based on exec_prefix
    809 # by default will actually change.
    810 # Use braces instead of parens because sh, perl, etc. also accept them.
    811 # (The list follows the same order as the GNU Coding Standards.)
    812 bindir='${exec_prefix}/bin'
    813 sbindir='${exec_prefix}/sbin'
    814 libexecdir='${exec_prefix}/libexec'
    815 datarootdir='${prefix}/share'
    816 datadir='${datarootdir}'
    817 sysconfdir='${prefix}/etc'
    818 sharedstatedir='${prefix}/com'
    819 localstatedir='${prefix}/var'
    820 includedir='${prefix}/include'
    821 oldincludedir='/usr/include'
    822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    823 infodir='${datarootdir}/info'
    824 htmldir='${docdir}'
    825 dvidir='${docdir}'
    826 pdfdir='${docdir}'
    827 psdir='${docdir}'
    828 libdir='${exec_prefix}/lib'
    829 localedir='${datarootdir}/locale'
    830 mandir='${datarootdir}/man'
    831 
    832 ac_prev=
    833 ac_dashdash=
    834 for ac_option
    835 do
    836   # If the previous option needs an argument, assign it.
    837   if test -n "$ac_prev"; then
    838     eval $ac_prev=\$ac_option
    839     ac_prev=
    840     continue
    841   fi
    842 
    843   case $ac_option in
    844   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    845   *=)   ac_optarg= ;;
    846   *)    ac_optarg=yes ;;
    847   esac
    848 
    849   # Accept the important Cygnus configure options, so we can diagnose typos.
    850 
    851   case $ac_dashdash$ac_option in
    852   --)
    853     ac_dashdash=yes ;;
    854 
    855   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    856     ac_prev=bindir ;;
    857   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    858     bindir=$ac_optarg ;;
    859 
    860   -build | --build | --buil | --bui | --bu)
    861     ac_prev=build_alias ;;
    862   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    863     build_alias=$ac_optarg ;;
    864 
    865   -cache-file | --cache-file | --cache-fil | --cache-fi \
    866   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    867     ac_prev=cache_file ;;
    868   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    869   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    870     cache_file=$ac_optarg ;;
    871 
    872   --config-cache | -C)
    873     cache_file=config.cache ;;
    874 
    875   -datadir | --datadir | --datadi | --datad)
    876     ac_prev=datadir ;;
    877   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    878     datadir=$ac_optarg ;;
    879 
    880   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    881   | --dataroo | --dataro | --datar)
    882     ac_prev=datarootdir ;;
    883   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    884   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    885     datarootdir=$ac_optarg ;;
    886 
    887   -disable-* | --disable-*)
    888     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    889     # Reject names that are not valid shell variable names.
    890     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       as_fn_error $? "invalid feature name: $ac_useropt"
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    899 	 ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=no ;;
    902 
    903   -docdir | --docdir | --docdi | --doc | --do)
    904     ac_prev=docdir ;;
    905   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    906     docdir=$ac_optarg ;;
    907 
    908   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    909     ac_prev=dvidir ;;
    910   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    911     dvidir=$ac_optarg ;;
    912 
    913   -enable-* | --enable-*)
    914     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    915     # Reject names that are not valid shell variable names.
    916     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    917       as_fn_error $? "invalid feature name: $ac_useropt"
    918     ac_useropt_orig=$ac_useropt
    919     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    920     case $ac_user_opts in
    921       *"
    922 "enable_$ac_useropt"
    923 "*) ;;
    924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    925 	 ac_unrecognized_sep=', ';;
    926     esac
    927     eval enable_$ac_useropt=\$ac_optarg ;;
    928 
    929   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    930   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    931   | --exec | --exe | --ex)
    932     ac_prev=exec_prefix ;;
    933   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    934   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    935   | --exec=* | --exe=* | --ex=*)
    936     exec_prefix=$ac_optarg ;;
    937 
    938   -gas | --gas | --ga | --g)
    939     # Obsolete; use --with-gas.
    940     with_gas=yes ;;
    941 
    942   -help | --help | --hel | --he | -h)
    943     ac_init_help=long ;;
    944   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    945     ac_init_help=recursive ;;
    946   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    947     ac_init_help=short ;;
    948 
    949   -host | --host | --hos | --ho)
    950     ac_prev=host_alias ;;
    951   -host=* | --host=* | --hos=* | --ho=*)
    952     host_alias=$ac_optarg ;;
    953 
    954   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    955     ac_prev=htmldir ;;
    956   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    957   | --ht=*)
    958     htmldir=$ac_optarg ;;
    959 
    960   -includedir | --includedir | --includedi | --included | --include \
    961   | --includ | --inclu | --incl | --inc)
    962     ac_prev=includedir ;;
    963   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    964   | --includ=* | --inclu=* | --incl=* | --inc=*)
    965     includedir=$ac_optarg ;;
    966 
    967   -infodir | --infodir | --infodi | --infod | --info | --inf)
    968     ac_prev=infodir ;;
    969   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    970     infodir=$ac_optarg ;;
    971 
    972   -libdir | --libdir | --libdi | --libd)
    973     ac_prev=libdir ;;
    974   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    975     libdir=$ac_optarg ;;
    976 
    977   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    978   | --libexe | --libex | --libe)
    979     ac_prev=libexecdir ;;
    980   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    981   | --libexe=* | --libex=* | --libe=*)
    982     libexecdir=$ac_optarg ;;
    983 
    984   -localedir | --localedir | --localedi | --localed | --locale)
    985     ac_prev=localedir ;;
    986   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    987     localedir=$ac_optarg ;;
    988 
    989   -localstatedir | --localstatedir | --localstatedi | --localstated \
    990   | --localstate | --localstat | --localsta | --localst | --locals)
    991     ac_prev=localstatedir ;;
    992   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    993   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    994     localstatedir=$ac_optarg ;;
    995 
    996   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    997     ac_prev=mandir ;;
    998   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    999     mandir=$ac_optarg ;;
   1000 
   1001   -nfp | --nfp | --nf)
   1002     # Obsolete; use --without-fp.
   1003     with_fp=no ;;
   1004 
   1005   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1006   | --no-cr | --no-c | -n)
   1007     no_create=yes ;;
   1008 
   1009   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1010   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1011     no_recursion=yes ;;
   1012 
   1013   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1014   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1015   | --oldin | --oldi | --old | --ol | --o)
   1016     ac_prev=oldincludedir ;;
   1017   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1018   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1019   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1020     oldincludedir=$ac_optarg ;;
   1021 
   1022   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1023     ac_prev=prefix ;;
   1024   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1025     prefix=$ac_optarg ;;
   1026 
   1027   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1028   | --program-pre | --program-pr | --program-p)
   1029     ac_prev=program_prefix ;;
   1030   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1031   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1032     program_prefix=$ac_optarg ;;
   1033 
   1034   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1035   | --program-suf | --program-su | --program-s)
   1036     ac_prev=program_suffix ;;
   1037   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1038   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1039     program_suffix=$ac_optarg ;;
   1040 
   1041   -program-transform-name | --program-transform-name \
   1042   | --program-transform-nam | --program-transform-na \
   1043   | --program-transform-n | --program-transform- \
   1044   | --program-transform | --program-transfor \
   1045   | --program-transfo | --program-transf \
   1046   | --program-trans | --program-tran \
   1047   | --progr-tra | --program-tr | --program-t)
   1048     ac_prev=program_transform_name ;;
   1049   -program-transform-name=* | --program-transform-name=* \
   1050   | --program-transform-nam=* | --program-transform-na=* \
   1051   | --program-transform-n=* | --program-transform-=* \
   1052   | --program-transform=* | --program-transfor=* \
   1053   | --program-transfo=* | --program-transf=* \
   1054   | --program-trans=* | --program-tran=* \
   1055   | --progr-tra=* | --program-tr=* | --program-t=*)
   1056     program_transform_name=$ac_optarg ;;
   1057 
   1058   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1059     ac_prev=pdfdir ;;
   1060   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1061     pdfdir=$ac_optarg ;;
   1062 
   1063   -psdir | --psdir | --psdi | --psd | --ps)
   1064     ac_prev=psdir ;;
   1065   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1066     psdir=$ac_optarg ;;
   1067 
   1068   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1069   | -silent | --silent | --silen | --sile | --sil)
   1070     silent=yes ;;
   1071 
   1072   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1073     ac_prev=sbindir ;;
   1074   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1075   | --sbi=* | --sb=*)
   1076     sbindir=$ac_optarg ;;
   1077 
   1078   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1079   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1080   | --sharedst | --shareds | --shared | --share | --shar \
   1081   | --sha | --sh)
   1082     ac_prev=sharedstatedir ;;
   1083   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1084   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1085   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1086   | --sha=* | --sh=*)
   1087     sharedstatedir=$ac_optarg ;;
   1088 
   1089   -site | --site | --sit)
   1090     ac_prev=site ;;
   1091   -site=* | --site=* | --sit=*)
   1092     site=$ac_optarg ;;
   1093 
   1094   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1095     ac_prev=srcdir ;;
   1096   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1097     srcdir=$ac_optarg ;;
   1098 
   1099   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1100   | --syscon | --sysco | --sysc | --sys | --sy)
   1101     ac_prev=sysconfdir ;;
   1102   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1103   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1104     sysconfdir=$ac_optarg ;;
   1105 
   1106   -target | --target | --targe | --targ | --tar | --ta | --t)
   1107     ac_prev=target_alias ;;
   1108   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1109     target_alias=$ac_optarg ;;
   1110 
   1111   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1112     verbose=yes ;;
   1113 
   1114   -version | --version | --versio | --versi | --vers | -V)
   1115     ac_init_version=: ;;
   1116 
   1117   -with-* | --with-*)
   1118     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1119     # Reject names that are not valid shell variable names.
   1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1121       as_fn_error $? "invalid package name: $ac_useropt"
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=\$ac_optarg ;;
   1132 
   1133   -without-* | --without-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       as_fn_error $? "invalid package name: $ac_useropt"
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "with_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval with_$ac_useropt=no ;;
   1148 
   1149   --x)
   1150     # Obsolete; use --with-x.
   1151     with_x=yes ;;
   1152 
   1153   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1154   | --x-incl | --x-inc | --x-in | --x-i)
   1155     ac_prev=x_includes ;;
   1156   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1157   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1158     x_includes=$ac_optarg ;;
   1159 
   1160   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1161   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1162     ac_prev=x_libraries ;;
   1163   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1164   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1165     x_libraries=$ac_optarg ;;
   1166 
   1167   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1168 Try \`$0 --help' for more information"
   1169     ;;
   1170 
   1171   *=*)
   1172     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1173     # Reject names that are not valid shell variable names.
   1174     case $ac_envvar in #(
   1175       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1176       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1177     esac
   1178     eval $ac_envvar=\$ac_optarg
   1179     export $ac_envvar ;;
   1180 
   1181   *)
   1182     # FIXME: should be removed in autoconf 3.0.
   1183     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1184     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1185       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1186     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1187     ;;
   1188 
   1189   esac
   1190 done
   1191 
   1192 if test -n "$ac_prev"; then
   1193   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1194   as_fn_error $? "missing argument to $ac_option"
   1195 fi
   1196 
   1197 if test -n "$ac_unrecognized_opts"; then
   1198   case $enable_option_checking in
   1199     no) ;;
   1200     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1201     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1202   esac
   1203 fi
   1204 
   1205 # Check all directory arguments for consistency.
   1206 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1207 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1208 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1209 		libdir localedir mandir
   1210 do
   1211   eval ac_val=\$$ac_var
   1212   # Remove trailing slashes.
   1213   case $ac_val in
   1214     */ )
   1215       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1216       eval $ac_var=\$ac_val;;
   1217   esac
   1218   # Be sure to have absolute directory names.
   1219   case $ac_val in
   1220     [\\/$]* | ?:[\\/]* )  continue;;
   1221     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1222   esac
   1223   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1224 done
   1225 
   1226 # There might be people who depend on the old broken behavior: `$host'
   1227 # used to hold the argument of --host etc.
   1228 # FIXME: To remove some day.
   1229 build=$build_alias
   1230 host=$host_alias
   1231 target=$target_alias
   1232 
   1233 # FIXME: To remove some day.
   1234 if test "x$host_alias" != x; then
   1235   if test "x$build_alias" = x; then
   1236     cross_compiling=maybe
   1237     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1238     If a cross compiler is detected then cross compile mode will be used" >&2
   1239   elif test "x$build_alias" != "x$host_alias"; then
   1240     cross_compiling=yes
   1241   fi
   1242 fi
   1243 
   1244 ac_tool_prefix=
   1245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1246 
   1247 test "$silent" = yes && exec 6>/dev/null
   1248 
   1249 
   1250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1251 ac_ls_di=`ls -di .` &&
   1252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1253   as_fn_error $? "working directory cannot be determined"
   1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1255   as_fn_error $? "pwd does not report name of working directory"
   1256 
   1257 
   1258 # Find the source files, if location was not specified.
   1259 if test -z "$srcdir"; then
   1260   ac_srcdir_defaulted=yes
   1261   # Try the directory containing this script, then the parent directory.
   1262   ac_confdir=`$as_dirname -- "$as_myself" ||
   1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1264 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1265 	 X"$as_myself" : 'X\(//\)$' \| \
   1266 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1267 $as_echo X"$as_myself" |
   1268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1269 	    s//\1/
   1270 	    q
   1271 	  }
   1272 	  /^X\(\/\/\)[^/].*/{
   1273 	    s//\1/
   1274 	    q
   1275 	  }
   1276 	  /^X\(\/\/\)$/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\).*/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  s/.*/./; q'`
   1285   srcdir=$ac_confdir
   1286   if test ! -r "$srcdir/$ac_unique_file"; then
   1287     srcdir=..
   1288   fi
   1289 else
   1290   ac_srcdir_defaulted=no
   1291 fi
   1292 if test ! -r "$srcdir/$ac_unique_file"; then
   1293   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1294   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1295 fi
   1296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1297 ac_abs_confdir=`(
   1298 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1299 	pwd)`
   1300 # When building in place, set srcdir=.
   1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1302   srcdir=.
   1303 fi
   1304 # Remove unnecessary trailing slashes from srcdir.
   1305 # Double slashes in file names in object file debugging info
   1306 # mess up M-x gdb in Emacs.
   1307 case $srcdir in
   1308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1309 esac
   1310 for ac_var in $ac_precious_vars; do
   1311   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1312   eval ac_env_${ac_var}_value=\$${ac_var}
   1313   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1314   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1315 done
   1316 
   1317 #
   1318 # Report the --help message.
   1319 #
   1320 if test "$ac_init_help" = "long"; then
   1321   # Omit some internal or obsolete options to make the list less imposing.
   1322   # This message is too long to be a string in the A/UX 3.1 sh.
   1323   cat <<_ACEOF
   1324 \`configure' configures libXfixes 5.0.1 to adapt to many kinds of systems.
   1325 
   1326 Usage: $0 [OPTION]... [VAR=VALUE]...
   1327 
   1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1329 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1330 
   1331 Defaults for the options are specified in brackets.
   1332 
   1333 Configuration:
   1334   -h, --help              display this help and exit
   1335       --help=short        display options specific to this package
   1336       --help=recursive    display the short help of all the included packages
   1337   -V, --version           display version information and exit
   1338   -q, --quiet, --silent   do not print \`checking ...' messages
   1339       --cache-file=FILE   cache test results in FILE [disabled]
   1340   -C, --config-cache      alias for \`--cache-file=config.cache'
   1341   -n, --no-create         do not create output files
   1342       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1343 
   1344 Installation directories:
   1345   --prefix=PREFIX         install architecture-independent files in PREFIX
   1346                           [$ac_default_prefix]
   1347   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1348                           [PREFIX]
   1349 
   1350 By default, \`make install' will install all the files in
   1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1353 for instance \`--prefix=\$HOME'.
   1354 
   1355 For better control, use the options below.
   1356 
   1357 Fine tuning of the installation directories:
   1358   --bindir=DIR            user executables [EPREFIX/bin]
   1359   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1360   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1361   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1362   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1363   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1364   --libdir=DIR            object code libraries [EPREFIX/lib]
   1365   --includedir=DIR        C header files [PREFIX/include]
   1366   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1367   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1368   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1369   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1370   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1371   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1372   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfixes]
   1373   --htmldir=DIR           html documentation [DOCDIR]
   1374   --dvidir=DIR            dvi documentation [DOCDIR]
   1375   --pdfdir=DIR            pdf documentation [DOCDIR]
   1376   --psdir=DIR             ps documentation [DOCDIR]
   1377 _ACEOF
   1378 
   1379   cat <<\_ACEOF
   1380 
   1381 Program names:
   1382   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1383   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1384   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1385 
   1386 System types:
   1387   --build=BUILD     configure for building on BUILD [guessed]
   1388   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1389 _ACEOF
   1390 fi
   1391 
   1392 if test -n "$ac_init_help"; then
   1393   case $ac_init_help in
   1394      short | recursive ) echo "Configuration of libXfixes 5.0.1:";;
   1395    esac
   1396   cat <<\_ACEOF
   1397 
   1398 Optional Features:
   1399   --disable-option-checking  ignore unrecognized --enable/--with options
   1400   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1401   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1402   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1403   --disable-silent-rules  verbose build output (undo: "make V=0")
   1404   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1405   --enable-static[=PKGS]  build static libraries [default=yes]
   1406   --enable-fast-install[=PKGS]
   1407                           optimize for fast installation [default=yes]
   1408   --enable-dependency-tracking
   1409                           do not reject slow dependency extractors
   1410   --disable-dependency-tracking
   1411                           speeds up one-time build
   1412   --disable-libtool-lock  avoid locking (might break parallel builds)
   1413   --disable-selective-werror
   1414                           Turn off selective compiler errors. (default:
   1415                           enabled)
   1416   --enable-strict-compilation
   1417                           Enable all warnings from compiler and make them
   1418                           errors (default: disabled)
   1419 
   1420 Optional Packages:
   1421   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1422   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1423   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1424                           both]
   1425   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1426   --with-sysroot=DIR Search for dependent libraries within DIR
   1427                         (or the compiler's sysroot if not specified).
   1428 
   1429 Some influential environment variables:
   1430   CC          C compiler command
   1431   CFLAGS      C compiler flags
   1432   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1433               nonstandard directory <lib dir>
   1434   LIBS        libraries to pass to the linker, e.g. -l<library>
   1435   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1436               you have headers in a nonstandard directory <include dir>
   1437   CPP         C preprocessor
   1438   PKG_CONFIG  path to pkg-config utility
   1439   FIXESEXT_CFLAGS
   1440               C compiler flags for FIXESEXT, overriding pkg-config
   1441   FIXESEXT_LIBS
   1442               linker flags for FIXESEXT, overriding pkg-config
   1443 
   1444 Use these variables to override the choices made by `configure' or to help
   1445 it to find libraries and programs with nonstandard names/locations.
   1446 
   1447 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1448 _ACEOF
   1449 ac_status=$?
   1450 fi
   1451 
   1452 if test "$ac_init_help" = "recursive"; then
   1453   # If there are subdirs, report their specific --help.
   1454   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1455     test -d "$ac_dir" ||
   1456       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1457       continue
   1458     ac_builddir=.
   1459 
   1460 case "$ac_dir" in
   1461 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1462 *)
   1463   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1464   # A ".." for each directory in $ac_dir_suffix.
   1465   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1466   case $ac_top_builddir_sub in
   1467   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1468   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1469   esac ;;
   1470 esac
   1471 ac_abs_top_builddir=$ac_pwd
   1472 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1473 # for backward compatibility:
   1474 ac_top_builddir=$ac_top_build_prefix
   1475 
   1476 case $srcdir in
   1477   .)  # We are building in place.
   1478     ac_srcdir=.
   1479     ac_top_srcdir=$ac_top_builddir_sub
   1480     ac_abs_top_srcdir=$ac_pwd ;;
   1481   [\\/]* | ?:[\\/]* )  # Absolute name.
   1482     ac_srcdir=$srcdir$ac_dir_suffix;
   1483     ac_top_srcdir=$srcdir
   1484     ac_abs_top_srcdir=$srcdir ;;
   1485   *) # Relative name.
   1486     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1487     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1488     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1489 esac
   1490 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1491 
   1492     cd "$ac_dir" || { ac_status=$?; continue; }
   1493     # Check for guested configure.
   1494     if test -f "$ac_srcdir/configure.gnu"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1497     elif test -f "$ac_srcdir/configure"; then
   1498       echo &&
   1499       $SHELL "$ac_srcdir/configure" --help=recursive
   1500     else
   1501       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1502     fi || ac_status=$?
   1503     cd "$ac_pwd" || { ac_status=$?; break; }
   1504   done
   1505 fi
   1506 
   1507 test -n "$ac_init_help" && exit $ac_status
   1508 if $ac_init_version; then
   1509   cat <<\_ACEOF
   1510 libXfixes configure 5.0.1
   1511 generated by GNU Autoconf 2.68
   1512 
   1513 Copyright (C) 2010 Free Software Foundation, Inc.
   1514 This configure script is free software; the Free Software Foundation
   1515 gives unlimited permission to copy, distribute and modify it.
   1516 _ACEOF
   1517   exit
   1518 fi
   1519 
   1520 ## ------------------------ ##
   1521 ## Autoconf initialization. ##
   1522 ## ------------------------ ##
   1523 
   1524 # ac_fn_c_try_compile LINENO
   1525 # --------------------------
   1526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1527 ac_fn_c_try_compile ()
   1528 {
   1529   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1530   rm -f conftest.$ac_objext
   1531   if { { ac_try="$ac_compile"
   1532 case "(($ac_try" in
   1533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1534   *) ac_try_echo=$ac_try;;
   1535 esac
   1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1537 $as_echo "$ac_try_echo"; } >&5
   1538   (eval "$ac_compile") 2>conftest.err
   1539   ac_status=$?
   1540   if test -s conftest.err; then
   1541     grep -v '^ *+' conftest.err >conftest.er1
   1542     cat conftest.er1 >&5
   1543     mv -f conftest.er1 conftest.err
   1544   fi
   1545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1546   test $ac_status = 0; } && {
   1547 	 test -z "$ac_c_werror_flag" ||
   1548 	 test ! -s conftest.err
   1549        } && test -s conftest.$ac_objext; then :
   1550   ac_retval=0
   1551 else
   1552   $as_echo "$as_me: failed program was:" >&5
   1553 sed 's/^/| /' conftest.$ac_ext >&5
   1554 
   1555 	ac_retval=1
   1556 fi
   1557   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1558   as_fn_set_status $ac_retval
   1559 
   1560 } # ac_fn_c_try_compile
   1561 
   1562 # ac_fn_c_try_link LINENO
   1563 # -----------------------
   1564 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1565 ac_fn_c_try_link ()
   1566 {
   1567   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1568   rm -f conftest.$ac_objext conftest$ac_exeext
   1569   if { { ac_try="$ac_link"
   1570 case "(($ac_try" in
   1571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1572   *) ac_try_echo=$ac_try;;
   1573 esac
   1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1575 $as_echo "$ac_try_echo"; } >&5
   1576   (eval "$ac_link") 2>conftest.err
   1577   ac_status=$?
   1578   if test -s conftest.err; then
   1579     grep -v '^ *+' conftest.err >conftest.er1
   1580     cat conftest.er1 >&5
   1581     mv -f conftest.er1 conftest.err
   1582   fi
   1583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1584   test $ac_status = 0; } && {
   1585 	 test -z "$ac_c_werror_flag" ||
   1586 	 test ! -s conftest.err
   1587        } && test -s conftest$ac_exeext && {
   1588 	 test "$cross_compiling" = yes ||
   1589 	 $as_test_x conftest$ac_exeext
   1590        }; then :
   1591   ac_retval=0
   1592 else
   1593   $as_echo "$as_me: failed program was:" >&5
   1594 sed 's/^/| /' conftest.$ac_ext >&5
   1595 
   1596 	ac_retval=1
   1597 fi
   1598   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1599   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1600   # interfere with the next link command; also delete a directory that is
   1601   # left behind by Apple's compiler.  We do this before executing the actions.
   1602   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1603   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1604   as_fn_set_status $ac_retval
   1605 
   1606 } # ac_fn_c_try_link
   1607 
   1608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1609 # -------------------------------------------------------
   1610 # Tests whether HEADER exists and can be compiled using the include files in
   1611 # INCLUDES, setting the cache variable VAR accordingly.
   1612 ac_fn_c_check_header_compile ()
   1613 {
   1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1616 $as_echo_n "checking for $2... " >&6; }
   1617 if eval \${$3+:} false; then :
   1618   $as_echo_n "(cached) " >&6
   1619 else
   1620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1621 /* end confdefs.h.  */
   1622 $4
   1623 #include <$2>
   1624 _ACEOF
   1625 if ac_fn_c_try_compile "$LINENO"; then :
   1626   eval "$3=yes"
   1627 else
   1628   eval "$3=no"
   1629 fi
   1630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1631 fi
   1632 eval ac_res=\$$3
   1633 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1634 $as_echo "$ac_res" >&6; }
   1635   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1636 
   1637 } # ac_fn_c_check_header_compile
   1638 
   1639 # ac_fn_c_try_cpp LINENO
   1640 # ----------------------
   1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1642 ac_fn_c_try_cpp ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1646 case "(($ac_try" in
   1647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1648   *) ac_try_echo=$ac_try;;
   1649 esac
   1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1651 $as_echo "$ac_try_echo"; } >&5
   1652   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1653   ac_status=$?
   1654   if test -s conftest.err; then
   1655     grep -v '^ *+' conftest.err >conftest.er1
   1656     cat conftest.er1 >&5
   1657     mv -f conftest.er1 conftest.err
   1658   fi
   1659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1660   test $ac_status = 0; } > conftest.i && {
   1661 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1662 	 test ! -s conftest.err
   1663        }; then :
   1664   ac_retval=0
   1665 else
   1666   $as_echo "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669     ac_retval=1
   1670 fi
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_cpp
   1675 
   1676 # ac_fn_c_try_run LINENO
   1677 # ----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1679 # that executables *can* be run.
   1680 ac_fn_c_try_run ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   if { { ac_try="$ac_link"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_link") 2>&5
   1691   ac_status=$?
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1694   { { case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_try") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; }; }; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: program exited with status $ac_status" >&5
   1707        $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710        ac_retval=$ac_status
   1711 fi
   1712   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_run
   1717 
   1718 # ac_fn_c_check_func LINENO FUNC VAR
   1719 # ----------------------------------
   1720 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1721 ac_fn_c_check_func ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1725 $as_echo_n "checking for $2... " >&6; }
   1726 if eval \${$3+:} false; then :
   1727   $as_echo_n "(cached) " >&6
   1728 else
   1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1733 #define $2 innocuous_$2
   1734 
   1735 /* System header to define __stub macros and hopefully few prototypes,
   1736     which can conflict with char $2 (); below.
   1737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1738     <limits.h> exists even on freestanding compilers.  */
   1739 
   1740 #ifdef __STDC__
   1741 # include <limits.h>
   1742 #else
   1743 # include <assert.h>
   1744 #endif
   1745 
   1746 #undef $2
   1747 
   1748 /* Override any GCC internal prototype to avoid an error.
   1749    Use char because int might match the return type of a GCC
   1750    builtin and then its argument prototype would still apply.  */
   1751 #ifdef __cplusplus
   1752 extern "C"
   1753 #endif
   1754 char $2 ();
   1755 /* The GNU C library defines this for functions which it implements
   1756     to always fail with ENOSYS.  Some functions are actually named
   1757     something starting with __ and the normal name is an alias.  */
   1758 #if defined __stub_$2 || defined __stub___$2
   1759 choke me
   1760 #endif
   1761 
   1762 int
   1763 main ()
   1764 {
   1765 return $2 ();
   1766   ;
   1767   return 0;
   1768 }
   1769 _ACEOF
   1770 if ac_fn_c_try_link "$LINENO"; then :
   1771   eval "$3=yes"
   1772 else
   1773   eval "$3=no"
   1774 fi
   1775 rm -f core conftest.err conftest.$ac_objext \
   1776     conftest$ac_exeext conftest.$ac_ext
   1777 fi
   1778 eval ac_res=\$$3
   1779 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1780 $as_echo "$ac_res" >&6; }
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782 
   1783 } # ac_fn_c_check_func
   1784 
   1785 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1786 # ---------------------------------------------
   1787 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1788 # accordingly.
   1789 ac_fn_c_check_decl ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1793   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1795 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1796 if eval \${$3+:} false; then :
   1797   $as_echo_n "(cached) " >&6
   1798 else
   1799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1800 /* end confdefs.h.  */
   1801 $4
   1802 int
   1803 main ()
   1804 {
   1805 #ifndef $as_decl_name
   1806 #ifdef __cplusplus
   1807   (void) $as_decl_use;
   1808 #else
   1809   (void) $as_decl_name;
   1810 #endif
   1811 #endif
   1812 
   1813   ;
   1814   return 0;
   1815 }
   1816 _ACEOF
   1817 if ac_fn_c_try_compile "$LINENO"; then :
   1818   eval "$3=yes"
   1819 else
   1820   eval "$3=no"
   1821 fi
   1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1823 fi
   1824 eval ac_res=\$$3
   1825 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1826 $as_echo "$ac_res" >&6; }
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828 
   1829 } # ac_fn_c_check_decl
   1830 cat >config.log <<_ACEOF
   1831 This file contains any messages produced by compilers while
   1832 running configure, to aid debugging if configure makes a mistake.
   1833 
   1834 It was created by libXfixes $as_me 5.0.1, which was
   1835 generated by GNU Autoconf 2.68.  Invocation command line was
   1836 
   1837   $ $0 $@
   1838 
   1839 _ACEOF
   1840 exec 5>>config.log
   1841 {
   1842 cat <<_ASUNAME
   1843 ## --------- ##
   1844 ## Platform. ##
   1845 ## --------- ##
   1846 
   1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1852 
   1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1854 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1855 
   1856 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1857 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1859 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1860 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1861 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1862 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1863 
   1864 _ASUNAME
   1865 
   1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1867 for as_dir in $PATH
   1868 do
   1869   IFS=$as_save_IFS
   1870   test -z "$as_dir" && as_dir=.
   1871     $as_echo "PATH: $as_dir"
   1872   done
   1873 IFS=$as_save_IFS
   1874 
   1875 } >&5
   1876 
   1877 cat >&5 <<_ACEOF
   1878 
   1879 
   1880 ## ----------- ##
   1881 ## Core tests. ##
   1882 ## ----------- ##
   1883 
   1884 _ACEOF
   1885 
   1886 
   1887 # Keep a trace of the command line.
   1888 # Strip out --no-create and --no-recursion so they do not pile up.
   1889 # Strip out --silent because we don't want to record it for future runs.
   1890 # Also quote any args containing shell meta-characters.
   1891 # Make two passes to allow for proper duplicate-argument suppression.
   1892 ac_configure_args=
   1893 ac_configure_args0=
   1894 ac_configure_args1=
   1895 ac_must_keep_next=false
   1896 for ac_pass in 1 2
   1897 do
   1898   for ac_arg
   1899   do
   1900     case $ac_arg in
   1901     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1903     | -silent | --silent | --silen | --sile | --sil)
   1904       continue ;;
   1905     *\'*)
   1906       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1907     esac
   1908     case $ac_pass in
   1909     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1910     2)
   1911       as_fn_append ac_configure_args1 " '$ac_arg'"
   1912       if test $ac_must_keep_next = true; then
   1913 	ac_must_keep_next=false # Got value, back to normal.
   1914       else
   1915 	case $ac_arg in
   1916 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1917 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1918 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1919 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1920 	    case "$ac_configure_args0 " in
   1921 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1922 	    esac
   1923 	    ;;
   1924 	  -* ) ac_must_keep_next=true ;;
   1925 	esac
   1926       fi
   1927       as_fn_append ac_configure_args " '$ac_arg'"
   1928       ;;
   1929     esac
   1930   done
   1931 done
   1932 { ac_configure_args0=; unset ac_configure_args0;}
   1933 { ac_configure_args1=; unset ac_configure_args1;}
   1934 
   1935 # When interrupted or exit'd, cleanup temporary files, and complete
   1936 # config.log.  We remove comments because anyway the quotes in there
   1937 # would cause problems or look ugly.
   1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1940 trap 'exit_status=$?
   1941   # Save into config.log some information that might help in debugging.
   1942   {
   1943     echo
   1944 
   1945     $as_echo "## ---------------- ##
   1946 ## Cache variables. ##
   1947 ## ---------------- ##"
   1948     echo
   1949     # The following way of writing the cache mishandles newlines in values,
   1950 (
   1951   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1952     eval ac_val=\$$ac_var
   1953     case $ac_val in #(
   1954     *${as_nl}*)
   1955       case $ac_var in #(
   1956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1958       esac
   1959       case $ac_var in #(
   1960       _ | IFS | as_nl) ;; #(
   1961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1962       *) { eval $ac_var=; unset $ac_var;} ;;
   1963       esac ;;
   1964     esac
   1965   done
   1966   (set) 2>&1 |
   1967     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1968     *${as_nl}ac_space=\ *)
   1969       sed -n \
   1970 	"s/'\''/'\''\\\\'\'''\''/g;
   1971 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1972       ;; #(
   1973     *)
   1974       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1975       ;;
   1976     esac |
   1977     sort
   1978 )
   1979     echo
   1980 
   1981     $as_echo "## ----------------- ##
   1982 ## Output variables. ##
   1983 ## ----------------- ##"
   1984     echo
   1985     for ac_var in $ac_subst_vars
   1986     do
   1987       eval ac_val=\$$ac_var
   1988       case $ac_val in
   1989       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1990       esac
   1991       $as_echo "$ac_var='\''$ac_val'\''"
   1992     done | sort
   1993     echo
   1994 
   1995     if test -n "$ac_subst_files"; then
   1996       $as_echo "## ------------------- ##
   1997 ## File substitutions. ##
   1998 ## ------------------- ##"
   1999       echo
   2000       for ac_var in $ac_subst_files
   2001       do
   2002 	eval ac_val=\$$ac_var
   2003 	case $ac_val in
   2004 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2005 	esac
   2006 	$as_echo "$ac_var='\''$ac_val'\''"
   2007       done | sort
   2008       echo
   2009     fi
   2010 
   2011     if test -s confdefs.h; then
   2012       $as_echo "## ----------- ##
   2013 ## confdefs.h. ##
   2014 ## ----------- ##"
   2015       echo
   2016       cat confdefs.h
   2017       echo
   2018     fi
   2019     test "$ac_signal" != 0 &&
   2020       $as_echo "$as_me: caught signal $ac_signal"
   2021     $as_echo "$as_me: exit $exit_status"
   2022   } >&5
   2023   rm -f core *.core core.conftest.* &&
   2024     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2025     exit $exit_status
   2026 ' 0
   2027 for ac_signal in 1 2 13 15; do
   2028   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2029 done
   2030 ac_signal=0
   2031 
   2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2033 rm -f -r conftest* confdefs.h
   2034 
   2035 $as_echo "/* confdefs.h */" > confdefs.h
   2036 
   2037 # Predefined preprocessor variables.
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_NAME "$PACKAGE_NAME"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_STRING "$PACKAGE_STRING"
   2053 _ACEOF
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_URL "$PACKAGE_URL"
   2061 _ACEOF
   2062 
   2063 
   2064 # Let the site file select an alternate cache file if it wants to.
   2065 # Prefer an explicitly selected file to automatically selected ones.
   2066 ac_site_file1=NONE
   2067 ac_site_file2=NONE
   2068 if test -n "$CONFIG_SITE"; then
   2069   # We do not want a PATH search for config.site.
   2070   case $CONFIG_SITE in #((
   2071     -*)  ac_site_file1=./$CONFIG_SITE;;
   2072     */*) ac_site_file1=$CONFIG_SITE;;
   2073     *)   ac_site_file1=./$CONFIG_SITE;;
   2074   esac
   2075 elif test "x$prefix" != xNONE; then
   2076   ac_site_file1=$prefix/share/config.site
   2077   ac_site_file2=$prefix/etc/config.site
   2078 else
   2079   ac_site_file1=$ac_default_prefix/share/config.site
   2080   ac_site_file2=$ac_default_prefix/etc/config.site
   2081 fi
   2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2083 do
   2084   test "x$ac_site_file" = xNONE && continue
   2085   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2088     sed 's/^/| /' "$ac_site_file" >&5
   2089     . "$ac_site_file" \
   2090       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2092 as_fn_error $? "failed to load site script $ac_site_file
   2093 See \`config.log' for more details" "$LINENO" 5; }
   2094   fi
   2095 done
   2096 
   2097 if test -r "$cache_file"; then
   2098   # Some versions of bash will fail to source /dev/null (special files
   2099   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2100   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2103     case $cache_file in
   2104       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2105       *)                      . "./$cache_file";;
   2106     esac
   2107   fi
   2108 else
   2109   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2111   >$cache_file
   2112 fi
   2113 
   2114 # Check that the precious variables saved in the cache have kept the same
   2115 # value.
   2116 ac_cache_corrupted=false
   2117 for ac_var in $ac_precious_vars; do
   2118   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2119   eval ac_new_set=\$ac_env_${ac_var}_set
   2120   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2121   eval ac_new_val=\$ac_env_${ac_var}_value
   2122   case $ac_old_set,$ac_new_set in
   2123     set,)
   2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2126       ac_cache_corrupted=: ;;
   2127     ,set)
   2128       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2130       ac_cache_corrupted=: ;;
   2131     ,);;
   2132     *)
   2133       if test "x$ac_old_val" != "x$ac_new_val"; then
   2134 	# differences in whitespace do not lead to failure.
   2135 	ac_old_val_w=`echo x $ac_old_val`
   2136 	ac_new_val_w=`echo x $ac_new_val`
   2137 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2138 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2140 	  ac_cache_corrupted=:
   2141 	else
   2142 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2144 	  eval $ac_var=\$ac_old_val
   2145 	fi
   2146 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2147 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2148 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2149 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2150       fi;;
   2151   esac
   2152   # Pass precious variables to config.status.
   2153   if test "$ac_new_set" = set; then
   2154     case $ac_new_val in
   2155     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2156     *) ac_arg=$ac_var=$ac_new_val ;;
   2157     esac
   2158     case " $ac_configure_args " in
   2159       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2160       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2161     esac
   2162   fi
   2163 done
   2164 if $ac_cache_corrupted; then
   2165   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2167   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2169   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2170 fi
   2171 ## -------------------- ##
   2172 ## Main body of script. ##
   2173 ## -------------------- ##
   2174 
   2175 ac_ext=c
   2176 ac_cpp='$CPP $CPPFLAGS'
   2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2180 
   2181 
   2182 
   2183 ac_config_headers="$ac_config_headers config.h"
   2184 
   2185 
   2186 # Initialize Automake
   2187 am__api_version='1.13'
   2188 
   2189 ac_aux_dir=
   2190 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2191   if test -f "$ac_dir/install-sh"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/install-sh -c"
   2194     break
   2195   elif test -f "$ac_dir/install.sh"; then
   2196     ac_aux_dir=$ac_dir
   2197     ac_install_sh="$ac_aux_dir/install.sh -c"
   2198     break
   2199   elif test -f "$ac_dir/shtool"; then
   2200     ac_aux_dir=$ac_dir
   2201     ac_install_sh="$ac_aux_dir/shtool install -c"
   2202     break
   2203   fi
   2204 done
   2205 if test -z "$ac_aux_dir"; then
   2206   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2207 fi
   2208 
   2209 # These three variables are undocumented and unsupported,
   2210 # and are intended to be withdrawn in a future Autoconf release.
   2211 # They can cause serious problems if a builder's source tree is in a directory
   2212 # whose full name contains unusual characters.
   2213 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2214 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2215 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2216 
   2217 
   2218 # Find a good install program.  We prefer a C program (faster),
   2219 # so one script is as good as another.  But avoid the broken or
   2220 # incompatible versions:
   2221 # SysV /etc/install, /usr/sbin/install
   2222 # SunOS /usr/etc/install
   2223 # IRIX /sbin/install
   2224 # AIX /bin/install
   2225 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2228 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2229 # OS/2's system install, which has a completely different semantic
   2230 # ./install, which can be erroneously created by make from ./install.sh.
   2231 # Reject install programs that cannot install multiple files.
   2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2233 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2234 if test -z "$INSTALL"; then
   2235 if ${ac_cv_path_install+:} false; then :
   2236   $as_echo_n "(cached) " >&6
   2237 else
   2238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2239 for as_dir in $PATH
   2240 do
   2241   IFS=$as_save_IFS
   2242   test -z "$as_dir" && as_dir=.
   2243     # Account for people who put trailing slashes in PATH elements.
   2244 case $as_dir/ in #((
   2245   ./ | .// | /[cC]/* | \
   2246   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2247   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2248   /usr/ucb/* ) ;;
   2249   *)
   2250     # OSF1 and SCO ODT 3.0 have their own names for install.
   2251     # Don't use installbsd from OSF since it installs stuff as root
   2252     # by default.
   2253     for ac_prog in ginstall scoinst install; do
   2254       for ac_exec_ext in '' $ac_executable_extensions; do
   2255 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2256 	  if test $ac_prog = install &&
   2257 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2258 	    # AIX install.  It has an incompatible calling convention.
   2259 	    :
   2260 	  elif test $ac_prog = install &&
   2261 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2262 	    # program-specific install script used by HP pwplus--don't use.
   2263 	    :
   2264 	  else
   2265 	    rm -rf conftest.one conftest.two conftest.dir
   2266 	    echo one > conftest.one
   2267 	    echo two > conftest.two
   2268 	    mkdir conftest.dir
   2269 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2270 	      test -s conftest.one && test -s conftest.two &&
   2271 	      test -s conftest.dir/conftest.one &&
   2272 	      test -s conftest.dir/conftest.two
   2273 	    then
   2274 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2275 	      break 3
   2276 	    fi
   2277 	  fi
   2278 	fi
   2279       done
   2280     done
   2281     ;;
   2282 esac
   2283 
   2284   done
   2285 IFS=$as_save_IFS
   2286 
   2287 rm -rf conftest.one conftest.two conftest.dir
   2288 
   2289 fi
   2290   if test "${ac_cv_path_install+set}" = set; then
   2291     INSTALL=$ac_cv_path_install
   2292   else
   2293     # As a last resort, use the slow shell script.  Don't cache a
   2294     # value for INSTALL within a source directory, because that will
   2295     # break other packages using the cache if that directory is
   2296     # removed, or if the value is a relative name.
   2297     INSTALL=$ac_install_sh
   2298   fi
   2299 fi
   2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2301 $as_echo "$INSTALL" >&6; }
   2302 
   2303 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2304 # It thinks the first close brace ends the variable substitution.
   2305 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2306 
   2307 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2308 
   2309 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2310 
   2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2312 $as_echo_n "checking whether build environment is sane... " >&6; }
   2313 # Reject unsafe characters in $srcdir or the absolute working directory
   2314 # name.  Accept space and tab only in the latter.
   2315 am_lf='
   2316 '
   2317 case `pwd` in
   2318   *[\\\"\#\$\&\'\`$am_lf]*)
   2319     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2320 esac
   2321 case $srcdir in
   2322   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2323     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2324 esac
   2325 
   2326 # Do 'set' in a subshell so we don't clobber the current shell's
   2327 # arguments.  Must try -L first in case configure is actually a
   2328 # symlink; some systems play weird games with the mod time of symlinks
   2329 # (eg FreeBSD returns the mod time of the symlink's containing
   2330 # directory).
   2331 if (
   2332    am_has_slept=no
   2333    for am_try in 1 2; do
   2334      echo "timestamp, slept: $am_has_slept" > conftest.file
   2335      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2336      if test "$*" = "X"; then
   2337 	# -L didn't work.
   2338 	set X `ls -t "$srcdir/configure" conftest.file`
   2339      fi
   2340      if test "$*" != "X $srcdir/configure conftest.file" \
   2341 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2342 
   2343 	# If neither matched, then we have a broken ls.  This can happen
   2344 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2345 	# broken ls alias from the environment.  This has actually
   2346 	# happened.  Such a system could not be considered "sane".
   2347 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2348   alias in your environment" "$LINENO" 5
   2349      fi
   2350      if test "$2" = conftest.file || test $am_try -eq 2; then
   2351        break
   2352      fi
   2353      # Just in case.
   2354      sleep 1
   2355      am_has_slept=yes
   2356    done
   2357    test "$2" = conftest.file
   2358    )
   2359 then
   2360    # Ok.
   2361    :
   2362 else
   2363    as_fn_error $? "newly created file is older than distributed files!
   2364 Check your system clock" "$LINENO" 5
   2365 fi
   2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2367 $as_echo "yes" >&6; }
   2368 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2369 # generated files are strictly newer.
   2370 am_sleep_pid=
   2371 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2372   ( sleep 1 ) &
   2373   am_sleep_pid=$!
   2374 fi
   2375 
   2376 rm -f conftest.file
   2377 
   2378 test "$program_prefix" != NONE &&
   2379   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2380 # Use a double $ so make ignores it.
   2381 test "$program_suffix" != NONE &&
   2382   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2383 # Double any \ or $.
   2384 # By default was `s,x,x', remove it if useless.
   2385 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2386 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2387 
   2388 # expand $ac_aux_dir to an absolute path
   2389 am_aux_dir=`cd $ac_aux_dir && pwd`
   2390 
   2391 if test x"${MISSING+set}" != xset; then
   2392   case $am_aux_dir in
   2393   *\ * | *\	*)
   2394     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2395   *)
   2396     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2397   esac
   2398 fi
   2399 # Use eval to expand $SHELL
   2400 if eval "$MISSING --is-lightweight"; then
   2401   am_missing_run="$MISSING "
   2402 else
   2403   am_missing_run=
   2404   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2405 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2406 fi
   2407 
   2408 if test x"${install_sh}" != xset; then
   2409   case $am_aux_dir in
   2410   *\ * | *\	*)
   2411     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2412   *)
   2413     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2414   esac
   2415 fi
   2416 
   2417 # Installed binaries are usually stripped using 'strip' when the user
   2418 # run "make install-strip".  However 'strip' might not be the right
   2419 # tool to use in cross-compilation environments, therefore Automake
   2420 # will honor the 'STRIP' environment variable to overrule this program.
   2421 if test "$cross_compiling" != no; then
   2422   if test -n "$ac_tool_prefix"; then
   2423   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2424 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2426 $as_echo_n "checking for $ac_word... " >&6; }
   2427 if ${ac_cv_prog_STRIP+:} false; then :
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   if test -n "$STRIP"; then
   2431   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2432 else
   2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2434 for as_dir in $PATH
   2435 do
   2436   IFS=$as_save_IFS
   2437   test -z "$as_dir" && as_dir=.
   2438     for ac_exec_ext in '' $ac_executable_extensions; do
   2439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2440     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2442     break 2
   2443   fi
   2444 done
   2445   done
   2446 IFS=$as_save_IFS
   2447 
   2448 fi
   2449 fi
   2450 STRIP=$ac_cv_prog_STRIP
   2451 if test -n "$STRIP"; then
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2453 $as_echo "$STRIP" >&6; }
   2454 else
   2455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2456 $as_echo "no" >&6; }
   2457 fi
   2458 
   2459 
   2460 fi
   2461 if test -z "$ac_cv_prog_STRIP"; then
   2462   ac_ct_STRIP=$STRIP
   2463   # Extract the first word of "strip", so it can be a program name with args.
   2464 set dummy strip; ac_word=$2
   2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2466 $as_echo_n "checking for $ac_word... " >&6; }
   2467 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2468   $as_echo_n "(cached) " >&6
   2469 else
   2470   if test -n "$ac_ct_STRIP"; then
   2471   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2472 else
   2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2474 for as_dir in $PATH
   2475 do
   2476   IFS=$as_save_IFS
   2477   test -z "$as_dir" && as_dir=.
   2478     for ac_exec_ext in '' $ac_executable_extensions; do
   2479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2480     ac_cv_prog_ac_ct_STRIP="strip"
   2481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2482     break 2
   2483   fi
   2484 done
   2485   done
   2486 IFS=$as_save_IFS
   2487 
   2488 fi
   2489 fi
   2490 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2491 if test -n "$ac_ct_STRIP"; then
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2493 $as_echo "$ac_ct_STRIP" >&6; }
   2494 else
   2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2496 $as_echo "no" >&6; }
   2497 fi
   2498 
   2499   if test "x$ac_ct_STRIP" = x; then
   2500     STRIP=":"
   2501   else
   2502     case $cross_compiling:$ac_tool_warned in
   2503 yes:)
   2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2506 ac_tool_warned=yes ;;
   2507 esac
   2508     STRIP=$ac_ct_STRIP
   2509   fi
   2510 else
   2511   STRIP="$ac_cv_prog_STRIP"
   2512 fi
   2513 
   2514 fi
   2515 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2516 
   2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2518 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2519 if test -z "$MKDIR_P"; then
   2520   if ${ac_cv_path_mkdir+:} false; then :
   2521   $as_echo_n "(cached) " >&6
   2522 else
   2523   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2524 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2525 do
   2526   IFS=$as_save_IFS
   2527   test -z "$as_dir" && as_dir=.
   2528     for ac_prog in mkdir gmkdir; do
   2529 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2530 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2531 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2532 	     'mkdir (GNU coreutils) '* | \
   2533 	     'mkdir (coreutils) '* | \
   2534 	     'mkdir (fileutils) '4.1*)
   2535 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2536 	       break 3;;
   2537 	   esac
   2538 	 done
   2539        done
   2540   done
   2541 IFS=$as_save_IFS
   2542 
   2543 fi
   2544 
   2545   test -d ./--version && rmdir ./--version
   2546   if test "${ac_cv_path_mkdir+set}" = set; then
   2547     MKDIR_P="$ac_cv_path_mkdir -p"
   2548   else
   2549     # As a last resort, use the slow shell script.  Don't cache a
   2550     # value for MKDIR_P within a source directory, because that will
   2551     # break other packages using the cache if that directory is
   2552     # removed, or if the value is a relative name.
   2553     MKDIR_P="$ac_install_sh -d"
   2554   fi
   2555 fi
   2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2557 $as_echo "$MKDIR_P" >&6; }
   2558 
   2559 for ac_prog in gawk mawk nawk awk
   2560 do
   2561   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2562 set dummy $ac_prog; ac_word=$2
   2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2564 $as_echo_n "checking for $ac_word... " >&6; }
   2565 if ${ac_cv_prog_AWK+:} false; then :
   2566   $as_echo_n "(cached) " >&6
   2567 else
   2568   if test -n "$AWK"; then
   2569   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2570 else
   2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2572 for as_dir in $PATH
   2573 do
   2574   IFS=$as_save_IFS
   2575   test -z "$as_dir" && as_dir=.
   2576     for ac_exec_ext in '' $ac_executable_extensions; do
   2577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2578     ac_cv_prog_AWK="$ac_prog"
   2579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2580     break 2
   2581   fi
   2582 done
   2583   done
   2584 IFS=$as_save_IFS
   2585 
   2586 fi
   2587 fi
   2588 AWK=$ac_cv_prog_AWK
   2589 if test -n "$AWK"; then
   2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2591 $as_echo "$AWK" >&6; }
   2592 else
   2593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2594 $as_echo "no" >&6; }
   2595 fi
   2596 
   2597 
   2598   test -n "$AWK" && break
   2599 done
   2600 
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2602 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2603 set x ${MAKE-make}
   2604 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2605 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2606   $as_echo_n "(cached) " >&6
   2607 else
   2608   cat >conftest.make <<\_ACEOF
   2609 SHELL = /bin/sh
   2610 all:
   2611 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2612 _ACEOF
   2613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2614 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2615   *@@@%%%=?*=@@@%%%*)
   2616     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2617   *)
   2618     eval ac_cv_prog_make_${ac_make}_set=no;;
   2619 esac
   2620 rm -f conftest.make
   2621 fi
   2622 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2624 $as_echo "yes" >&6; }
   2625   SET_MAKE=
   2626 else
   2627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2628 $as_echo "no" >&6; }
   2629   SET_MAKE="MAKE=${MAKE-make}"
   2630 fi
   2631 
   2632 rm -rf .tst 2>/dev/null
   2633 mkdir .tst 2>/dev/null
   2634 if test -d .tst; then
   2635   am__leading_dot=.
   2636 else
   2637   am__leading_dot=_
   2638 fi
   2639 rmdir .tst 2>/dev/null
   2640 
   2641 # Check whether --enable-silent-rules was given.
   2642 if test "${enable_silent_rules+set}" = set; then :
   2643   enableval=$enable_silent_rules;
   2644 fi
   2645 
   2646 case $enable_silent_rules in # (((
   2647   yes) AM_DEFAULT_VERBOSITY=0;;
   2648    no) AM_DEFAULT_VERBOSITY=1;;
   2649     *) AM_DEFAULT_VERBOSITY=1;;
   2650 esac
   2651 am_make=${MAKE-make}
   2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2653 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2654 if ${am_cv_make_support_nested_variables+:} false; then :
   2655   $as_echo_n "(cached) " >&6
   2656 else
   2657   if $as_echo 'TRUE=$(BAR$(V))
   2658 BAR0=false
   2659 BAR1=true
   2660 V=1
   2661 am__doit:
   2662 	@$(TRUE)
   2663 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2664   am_cv_make_support_nested_variables=yes
   2665 else
   2666   am_cv_make_support_nested_variables=no
   2667 fi
   2668 fi
   2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2670 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2671 if test $am_cv_make_support_nested_variables = yes; then
   2672     AM_V='$(V)'
   2673   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2674 else
   2675   AM_V=$AM_DEFAULT_VERBOSITY
   2676   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2677 fi
   2678 AM_BACKSLASH='\'
   2679 
   2680 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2681   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2682   # is not polluted with repeated "-I."
   2683   am__isrc=' -I$(srcdir)'
   2684   # test to see if srcdir already configured
   2685   if test -f $srcdir/config.status; then
   2686     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2687   fi
   2688 fi
   2689 
   2690 # test whether we have cygpath
   2691 if test -z "$CYGPATH_W"; then
   2692   if (cygpath --version) >/dev/null 2>/dev/null; then
   2693     CYGPATH_W='cygpath -w'
   2694   else
   2695     CYGPATH_W=echo
   2696   fi
   2697 fi
   2698 
   2699 
   2700 # Define the identity of the package.
   2701  PACKAGE='libXfixes'
   2702  VERSION='5.0.1'
   2703 
   2704 
   2705 cat >>confdefs.h <<_ACEOF
   2706 #define PACKAGE "$PACKAGE"
   2707 _ACEOF
   2708 
   2709 
   2710 cat >>confdefs.h <<_ACEOF
   2711 #define VERSION "$VERSION"
   2712 _ACEOF
   2713 
   2714 # Some tools Automake needs.
   2715 
   2716 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2717 
   2718 
   2719 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2720 
   2721 
   2722 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2723 
   2724 
   2725 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2726 
   2727 
   2728 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2729 
   2730 # For better backward compatibility.  To be removed once Automake 1.9.x
   2731 # dies out for good.  For more background, see:
   2732 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2733 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2734 mkdir_p='$(MKDIR_P)'
   2735 
   2736 # We need awk for the "check" target.  The system "awk" is bad on
   2737 # some platforms.
   2738 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2739 # in the wild :-(  We should find a proper way to deprecate it ...
   2740 AMTAR='$${TAR-tar}'
   2741 
   2742 
   2743 # We'll loop over all known methods to create a tar archive until one works.
   2744 _am_tools='gnutar  pax cpio none'
   2745 
   2746 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2747 
   2748 
   2749 
   2750 
   2751 
   2752 
   2753 
   2754 # Initialize libtool
   2755 case `pwd` in
   2756   *\ * | *\	*)
   2757     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2758 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2759 esac
   2760 
   2761 
   2762 
   2763 macro_version='2.4.2'
   2764 macro_revision='1.3337'
   2765 
   2766 
   2767 
   2768 
   2769 
   2770 
   2771 
   2772 
   2773 
   2774 
   2775 
   2776 
   2777 
   2778 ltmain="$ac_aux_dir/ltmain.sh"
   2779 
   2780 # Make sure we can run config.sub.
   2781 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2782   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2783 
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2785 $as_echo_n "checking build system type... " >&6; }
   2786 if ${ac_cv_build+:} false; then :
   2787   $as_echo_n "(cached) " >&6
   2788 else
   2789   ac_build_alias=$build_alias
   2790 test "x$ac_build_alias" = x &&
   2791   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2792 test "x$ac_build_alias" = x &&
   2793   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2794 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2795   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2796 
   2797 fi
   2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2799 $as_echo "$ac_cv_build" >&6; }
   2800 case $ac_cv_build in
   2801 *-*-*) ;;
   2802 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2803 esac
   2804 build=$ac_cv_build
   2805 ac_save_IFS=$IFS; IFS='-'
   2806 set x $ac_cv_build
   2807 shift
   2808 build_cpu=$1
   2809 build_vendor=$2
   2810 shift; shift
   2811 # Remember, the first character of IFS is used to create $*,
   2812 # except with old shells:
   2813 build_os=$*
   2814 IFS=$ac_save_IFS
   2815 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2816 
   2817 
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2819 $as_echo_n "checking host system type... " >&6; }
   2820 if ${ac_cv_host+:} false; then :
   2821   $as_echo_n "(cached) " >&6
   2822 else
   2823   if test "x$host_alias" = x; then
   2824   ac_cv_host=$ac_cv_build
   2825 else
   2826   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2827     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2828 fi
   2829 
   2830 fi
   2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2832 $as_echo "$ac_cv_host" >&6; }
   2833 case $ac_cv_host in
   2834 *-*-*) ;;
   2835 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2836 esac
   2837 host=$ac_cv_host
   2838 ac_save_IFS=$IFS; IFS='-'
   2839 set x $ac_cv_host
   2840 shift
   2841 host_cpu=$1
   2842 host_vendor=$2
   2843 shift; shift
   2844 # Remember, the first character of IFS is used to create $*,
   2845 # except with old shells:
   2846 host_os=$*
   2847 IFS=$ac_save_IFS
   2848 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2849 
   2850 
   2851 # Backslashify metacharacters that are still active within
   2852 # double-quoted strings.
   2853 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2854 
   2855 # Same as above, but do not quote variable references.
   2856 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2857 
   2858 # Sed substitution to delay expansion of an escaped shell variable in a
   2859 # double_quote_subst'ed string.
   2860 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2861 
   2862 # Sed substitution to delay expansion of an escaped single quote.
   2863 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2864 
   2865 # Sed substitution to avoid accidental globbing in evaled expressions
   2866 no_glob_subst='s/\*/\\\*/g'
   2867 
   2868 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2869 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2870 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2871 
   2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2873 $as_echo_n "checking how to print strings... " >&6; }
   2874 # Test print first, because it will be a builtin if present.
   2875 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2876    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2877   ECHO='print -r --'
   2878 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2879   ECHO='printf %s\n'
   2880 else
   2881   # Use this function as a fallback that always works.
   2882   func_fallback_echo ()
   2883   {
   2884     eval 'cat <<_LTECHO_EOF
   2885 $1
   2886 _LTECHO_EOF'
   2887   }
   2888   ECHO='func_fallback_echo'
   2889 fi
   2890 
   2891 # func_echo_all arg...
   2892 # Invoke $ECHO with all args, space-separated.
   2893 func_echo_all ()
   2894 {
   2895     $ECHO ""
   2896 }
   2897 
   2898 case "$ECHO" in
   2899   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2900 $as_echo "printf" >&6; } ;;
   2901   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2902 $as_echo "print -r" >&6; } ;;
   2903   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2904 $as_echo "cat" >&6; } ;;
   2905 esac
   2906 
   2907 
   2908 
   2909 
   2910 
   2911 
   2912 
   2913 
   2914 
   2915 
   2916 
   2917 
   2918 
   2919 
   2920 DEPDIR="${am__leading_dot}deps"
   2921 
   2922 ac_config_commands="$ac_config_commands depfiles"
   2923 
   2924 
   2925 am_make=${MAKE-make}
   2926 cat > confinc << 'END'
   2927 am__doit:
   2928 	@echo this is the am__doit target
   2929 .PHONY: am__doit
   2930 END
   2931 # If we don't find an include directive, just comment out the code.
   2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2933 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2934 am__include="#"
   2935 am__quote=
   2936 _am_result=none
   2937 # First try GNU make style include.
   2938 echo "include confinc" > confmf
   2939 # Ignore all kinds of additional output from 'make'.
   2940 case `$am_make -s -f confmf 2> /dev/null` in #(
   2941 *the\ am__doit\ target*)
   2942   am__include=include
   2943   am__quote=
   2944   _am_result=GNU
   2945   ;;
   2946 esac
   2947 # Now try BSD make style include.
   2948 if test "$am__include" = "#"; then
   2949    echo '.include "confinc"' > confmf
   2950    case `$am_make -s -f confmf 2> /dev/null` in #(
   2951    *the\ am__doit\ target*)
   2952      am__include=.include
   2953      am__quote="\""
   2954      _am_result=BSD
   2955      ;;
   2956    esac
   2957 fi
   2958 
   2959 
   2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2961 $as_echo "$_am_result" >&6; }
   2962 rm -f confinc confmf
   2963 
   2964 # Check whether --enable-dependency-tracking was given.
   2965 if test "${enable_dependency_tracking+set}" = set; then :
   2966   enableval=$enable_dependency_tracking;
   2967 fi
   2968 
   2969 if test "x$enable_dependency_tracking" != xno; then
   2970   am_depcomp="$ac_aux_dir/depcomp"
   2971   AMDEPBACKSLASH='\'
   2972   am__nodep='_no'
   2973 fi
   2974  if test "x$enable_dependency_tracking" != xno; then
   2975   AMDEP_TRUE=
   2976   AMDEP_FALSE='#'
   2977 else
   2978   AMDEP_TRUE='#'
   2979   AMDEP_FALSE=
   2980 fi
   2981 
   2982 
   2983 ac_ext=c
   2984 ac_cpp='$CPP $CPPFLAGS'
   2985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2988 if test -n "$ac_tool_prefix"; then
   2989   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2992 $as_echo_n "checking for $ac_word... " >&6; }
   2993 if ${ac_cv_prog_CC+:} false; then :
   2994   $as_echo_n "(cached) " >&6
   2995 else
   2996   if test -n "$CC"; then
   2997   ac_cv_prog_CC="$CC" # Let the user override the test.
   2998 else
   2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3000 for as_dir in $PATH
   3001 do
   3002   IFS=$as_save_IFS
   3003   test -z "$as_dir" && as_dir=.
   3004     for ac_exec_ext in '' $ac_executable_extensions; do
   3005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3006     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3008     break 2
   3009   fi
   3010 done
   3011   done
   3012 IFS=$as_save_IFS
   3013 
   3014 fi
   3015 fi
   3016 CC=$ac_cv_prog_CC
   3017 if test -n "$CC"; then
   3018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3019 $as_echo "$CC" >&6; }
   3020 else
   3021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3022 $as_echo "no" >&6; }
   3023 fi
   3024 
   3025 
   3026 fi
   3027 if test -z "$ac_cv_prog_CC"; then
   3028   ac_ct_CC=$CC
   3029   # Extract the first word of "gcc", so it can be a program name with args.
   3030 set dummy gcc; ac_word=$2
   3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3032 $as_echo_n "checking for $ac_word... " >&6; }
   3033 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3034   $as_echo_n "(cached) " >&6
   3035 else
   3036   if test -n "$ac_ct_CC"; then
   3037   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3038 else
   3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3040 for as_dir in $PATH
   3041 do
   3042   IFS=$as_save_IFS
   3043   test -z "$as_dir" && as_dir=.
   3044     for ac_exec_ext in '' $ac_executable_extensions; do
   3045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3046     ac_cv_prog_ac_ct_CC="gcc"
   3047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3048     break 2
   3049   fi
   3050 done
   3051   done
   3052 IFS=$as_save_IFS
   3053 
   3054 fi
   3055 fi
   3056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3057 if test -n "$ac_ct_CC"; then
   3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3059 $as_echo "$ac_ct_CC" >&6; }
   3060 else
   3061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3062 $as_echo "no" >&6; }
   3063 fi
   3064 
   3065   if test "x$ac_ct_CC" = x; then
   3066     CC=""
   3067   else
   3068     case $cross_compiling:$ac_tool_warned in
   3069 yes:)
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3072 ac_tool_warned=yes ;;
   3073 esac
   3074     CC=$ac_ct_CC
   3075   fi
   3076 else
   3077   CC="$ac_cv_prog_CC"
   3078 fi
   3079 
   3080 if test -z "$CC"; then
   3081           if test -n "$ac_tool_prefix"; then
   3082     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3083 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3085 $as_echo_n "checking for $ac_word... " >&6; }
   3086 if ${ac_cv_prog_CC+:} false; then :
   3087   $as_echo_n "(cached) " >&6
   3088 else
   3089   if test -n "$CC"; then
   3090   ac_cv_prog_CC="$CC" # Let the user override the test.
   3091 else
   3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3093 for as_dir in $PATH
   3094 do
   3095   IFS=$as_save_IFS
   3096   test -z "$as_dir" && as_dir=.
   3097     for ac_exec_ext in '' $ac_executable_extensions; do
   3098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3099     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3101     break 2
   3102   fi
   3103 done
   3104   done
   3105 IFS=$as_save_IFS
   3106 
   3107 fi
   3108 fi
   3109 CC=$ac_cv_prog_CC
   3110 if test -n "$CC"; then
   3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3112 $as_echo "$CC" >&6; }
   3113 else
   3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3115 $as_echo "no" >&6; }
   3116 fi
   3117 
   3118 
   3119   fi
   3120 fi
   3121 if test -z "$CC"; then
   3122   # Extract the first word of "cc", so it can be a program name with args.
   3123 set dummy cc; ac_word=$2
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3125 $as_echo_n "checking for $ac_word... " >&6; }
   3126 if ${ac_cv_prog_CC+:} false; then :
   3127   $as_echo_n "(cached) " >&6
   3128 else
   3129   if test -n "$CC"; then
   3130   ac_cv_prog_CC="$CC" # Let the user override the test.
   3131 else
   3132   ac_prog_rejected=no
   3133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3134 for as_dir in $PATH
   3135 do
   3136   IFS=$as_save_IFS
   3137   test -z "$as_dir" && as_dir=.
   3138     for ac_exec_ext in '' $ac_executable_extensions; do
   3139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3140     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3141        ac_prog_rejected=yes
   3142        continue
   3143      fi
   3144     ac_cv_prog_CC="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 if test $ac_prog_rejected = yes; then
   3153   # We found a bogon in the path, so make sure we never use it.
   3154   set dummy $ac_cv_prog_CC
   3155   shift
   3156   if test $# != 0; then
   3157     # We chose a different compiler from the bogus one.
   3158     # However, it has the same basename, so the bogon will be chosen
   3159     # first if we set CC to just the basename; use the full file name.
   3160     shift
   3161     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3162   fi
   3163 fi
   3164 fi
   3165 fi
   3166 CC=$ac_cv_prog_CC
   3167 if test -n "$CC"; then
   3168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3169 $as_echo "$CC" >&6; }
   3170 else
   3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3172 $as_echo "no" >&6; }
   3173 fi
   3174 
   3175 
   3176 fi
   3177 if test -z "$CC"; then
   3178   if test -n "$ac_tool_prefix"; then
   3179   for ac_prog in cl.exe
   3180   do
   3181     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3184 $as_echo_n "checking for $ac_word... " >&6; }
   3185 if ${ac_cv_prog_CC+:} false; then :
   3186   $as_echo_n "(cached) " >&6
   3187 else
   3188   if test -n "$CC"; then
   3189   ac_cv_prog_CC="$CC" # Let the user override the test.
   3190 else
   3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3192 for as_dir in $PATH
   3193 do
   3194   IFS=$as_save_IFS
   3195   test -z "$as_dir" && as_dir=.
   3196     for ac_exec_ext in '' $ac_executable_extensions; do
   3197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3198     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3200     break 2
   3201   fi
   3202 done
   3203   done
   3204 IFS=$as_save_IFS
   3205 
   3206 fi
   3207 fi
   3208 CC=$ac_cv_prog_CC
   3209 if test -n "$CC"; then
   3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3211 $as_echo "$CC" >&6; }
   3212 else
   3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3214 $as_echo "no" >&6; }
   3215 fi
   3216 
   3217 
   3218     test -n "$CC" && break
   3219   done
   3220 fi
   3221 if test -z "$CC"; then
   3222   ac_ct_CC=$CC
   3223   for ac_prog in cl.exe
   3224 do
   3225   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3226 set dummy $ac_prog; ac_word=$2
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3228 $as_echo_n "checking for $ac_word... " >&6; }
   3229 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3230   $as_echo_n "(cached) " >&6
   3231 else
   3232   if test -n "$ac_ct_CC"; then
   3233   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3234 else
   3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3236 for as_dir in $PATH
   3237 do
   3238   IFS=$as_save_IFS
   3239   test -z "$as_dir" && as_dir=.
   3240     for ac_exec_ext in '' $ac_executable_extensions; do
   3241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3242     ac_cv_prog_ac_ct_CC="$ac_prog"
   3243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3244     break 2
   3245   fi
   3246 done
   3247   done
   3248 IFS=$as_save_IFS
   3249 
   3250 fi
   3251 fi
   3252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3253 if test -n "$ac_ct_CC"; then
   3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3255 $as_echo "$ac_ct_CC" >&6; }
   3256 else
   3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 $as_echo "no" >&6; }
   3259 fi
   3260 
   3261 
   3262   test -n "$ac_ct_CC" && break
   3263 done
   3264 
   3265   if test "x$ac_ct_CC" = x; then
   3266     CC=""
   3267   else
   3268     case $cross_compiling:$ac_tool_warned in
   3269 yes:)
   3270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3272 ac_tool_warned=yes ;;
   3273 esac
   3274     CC=$ac_ct_CC
   3275   fi
   3276 fi
   3277 
   3278 fi
   3279 
   3280 
   3281 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3283 as_fn_error $? "no acceptable C compiler found in \$PATH
   3284 See \`config.log' for more details" "$LINENO" 5; }
   3285 
   3286 # Provide some information about the compiler.
   3287 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3288 set X $ac_compile
   3289 ac_compiler=$2
   3290 for ac_option in --version -v -V -qversion; do
   3291   { { ac_try="$ac_compiler $ac_option >&5"
   3292 case "(($ac_try" in
   3293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3294   *) ac_try_echo=$ac_try;;
   3295 esac
   3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3297 $as_echo "$ac_try_echo"; } >&5
   3298   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3299   ac_status=$?
   3300   if test -s conftest.err; then
   3301     sed '10a\
   3302 ... rest of stderr output deleted ...
   3303          10q' conftest.err >conftest.er1
   3304     cat conftest.er1 >&5
   3305   fi
   3306   rm -f conftest.er1 conftest.err
   3307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3308   test $ac_status = 0; }
   3309 done
   3310 
   3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3312 /* end confdefs.h.  */
   3313 
   3314 int
   3315 main ()
   3316 {
   3317 
   3318   ;
   3319   return 0;
   3320 }
   3321 _ACEOF
   3322 ac_clean_files_save=$ac_clean_files
   3323 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3324 # Try to create an executable without -o first, disregard a.out.
   3325 # It will help us diagnose broken compilers, and finding out an intuition
   3326 # of exeext.
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3328 $as_echo_n "checking whether the C compiler works... " >&6; }
   3329 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3330 
   3331 # The possible output files:
   3332 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3333 
   3334 ac_rmfiles=
   3335 for ac_file in $ac_files
   3336 do
   3337   case $ac_file in
   3338     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3339     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3340   esac
   3341 done
   3342 rm -f $ac_rmfiles
   3343 
   3344 if { { ac_try="$ac_link_default"
   3345 case "(($ac_try" in
   3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3347   *) ac_try_echo=$ac_try;;
   3348 esac
   3349 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3350 $as_echo "$ac_try_echo"; } >&5
   3351   (eval "$ac_link_default") 2>&5
   3352   ac_status=$?
   3353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3354   test $ac_status = 0; }; then :
   3355   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3356 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3357 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3358 # so that the user can short-circuit this test for compilers unknown to
   3359 # Autoconf.
   3360 for ac_file in $ac_files ''
   3361 do
   3362   test -f "$ac_file" || continue
   3363   case $ac_file in
   3364     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3365 	;;
   3366     [ab].out )
   3367 	# We found the default executable, but exeext='' is most
   3368 	# certainly right.
   3369 	break;;
   3370     *.* )
   3371 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3372 	then :; else
   3373 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3374 	fi
   3375 	# We set ac_cv_exeext here because the later test for it is not
   3376 	# safe: cross compilers may not add the suffix if given an `-o'
   3377 	# argument, so we may need to know it at that point already.
   3378 	# Even if this section looks crufty: it has the advantage of
   3379 	# actually working.
   3380 	break;;
   3381     * )
   3382 	break;;
   3383   esac
   3384 done
   3385 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3386 
   3387 else
   3388   ac_file=''
   3389 fi
   3390 if test -z "$ac_file"; then :
   3391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3392 $as_echo "no" >&6; }
   3393 $as_echo "$as_me: failed program was:" >&5
   3394 sed 's/^/| /' conftest.$ac_ext >&5
   3395 
   3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3397 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3398 as_fn_error 77 "C compiler cannot create executables
   3399 See \`config.log' for more details" "$LINENO" 5; }
   3400 else
   3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3402 $as_echo "yes" >&6; }
   3403 fi
   3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3405 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3407 $as_echo "$ac_file" >&6; }
   3408 ac_exeext=$ac_cv_exeext
   3409 
   3410 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3411 ac_clean_files=$ac_clean_files_save
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3413 $as_echo_n "checking for suffix of executables... " >&6; }
   3414 if { { ac_try="$ac_link"
   3415 case "(($ac_try" in
   3416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3417   *) ac_try_echo=$ac_try;;
   3418 esac
   3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3420 $as_echo "$ac_try_echo"; } >&5
   3421   (eval "$ac_link") 2>&5
   3422   ac_status=$?
   3423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3424   test $ac_status = 0; }; then :
   3425   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3426 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3427 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3428 # `rm'.
   3429 for ac_file in conftest.exe conftest conftest.*; do
   3430   test -f "$ac_file" || continue
   3431   case $ac_file in
   3432     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3433     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3434 	  break;;
   3435     * ) break;;
   3436   esac
   3437 done
   3438 else
   3439   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3441 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3442 See \`config.log' for more details" "$LINENO" 5; }
   3443 fi
   3444 rm -f conftest conftest$ac_cv_exeext
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3446 $as_echo "$ac_cv_exeext" >&6; }
   3447 
   3448 rm -f conftest.$ac_ext
   3449 EXEEXT=$ac_cv_exeext
   3450 ac_exeext=$EXEEXT
   3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3452 /* end confdefs.h.  */
   3453 #include <stdio.h>
   3454 int
   3455 main ()
   3456 {
   3457 FILE *f = fopen ("conftest.out", "w");
   3458  return ferror (f) || fclose (f) != 0;
   3459 
   3460   ;
   3461   return 0;
   3462 }
   3463 _ACEOF
   3464 ac_clean_files="$ac_clean_files conftest.out"
   3465 # Check that the compiler produces executables we can run.  If not, either
   3466 # the compiler is broken, or we cross compile.
   3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3468 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3469 if test "$cross_compiling" != yes; then
   3470   { { ac_try="$ac_link"
   3471 case "(($ac_try" in
   3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3473   *) ac_try_echo=$ac_try;;
   3474 esac
   3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3476 $as_echo "$ac_try_echo"; } >&5
   3477   (eval "$ac_link") 2>&5
   3478   ac_status=$?
   3479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3480   test $ac_status = 0; }
   3481   if { ac_try='./conftest$ac_cv_exeext'
   3482   { { case "(($ac_try" in
   3483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3484   *) ac_try_echo=$ac_try;;
   3485 esac
   3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3487 $as_echo "$ac_try_echo"; } >&5
   3488   (eval "$ac_try") 2>&5
   3489   ac_status=$?
   3490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3491   test $ac_status = 0; }; }; then
   3492     cross_compiling=no
   3493   else
   3494     if test "$cross_compiling" = maybe; then
   3495 	cross_compiling=yes
   3496     else
   3497 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3499 as_fn_error $? "cannot run C compiled programs.
   3500 If you meant to cross compile, use \`--host'.
   3501 See \`config.log' for more details" "$LINENO" 5; }
   3502     fi
   3503   fi
   3504 fi
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3506 $as_echo "$cross_compiling" >&6; }
   3507 
   3508 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3509 ac_clean_files=$ac_clean_files_save
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3511 $as_echo_n "checking for suffix of object files... " >&6; }
   3512 if ${ac_cv_objext+:} false; then :
   3513   $as_echo_n "(cached) " >&6
   3514 else
   3515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3516 /* end confdefs.h.  */
   3517 
   3518 int
   3519 main ()
   3520 {
   3521 
   3522   ;
   3523   return 0;
   3524 }
   3525 _ACEOF
   3526 rm -f conftest.o conftest.obj
   3527 if { { ac_try="$ac_compile"
   3528 case "(($ac_try" in
   3529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3530   *) ac_try_echo=$ac_try;;
   3531 esac
   3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3533 $as_echo "$ac_try_echo"; } >&5
   3534   (eval "$ac_compile") 2>&5
   3535   ac_status=$?
   3536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3537   test $ac_status = 0; }; then :
   3538   for ac_file in conftest.o conftest.obj conftest.*; do
   3539   test -f "$ac_file" || continue;
   3540   case $ac_file in
   3541     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3542     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3543        break;;
   3544   esac
   3545 done
   3546 else
   3547   $as_echo "$as_me: failed program was:" >&5
   3548 sed 's/^/| /' conftest.$ac_ext >&5
   3549 
   3550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3552 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3553 See \`config.log' for more details" "$LINENO" 5; }
   3554 fi
   3555 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3556 fi
   3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3558 $as_echo "$ac_cv_objext" >&6; }
   3559 OBJEXT=$ac_cv_objext
   3560 ac_objext=$OBJEXT
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3562 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3563 if ${ac_cv_c_compiler_gnu+:} false; then :
   3564   $as_echo_n "(cached) " >&6
   3565 else
   3566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3567 /* end confdefs.h.  */
   3568 
   3569 int
   3570 main ()
   3571 {
   3572 #ifndef __GNUC__
   3573        choke me
   3574 #endif
   3575 
   3576   ;
   3577   return 0;
   3578 }
   3579 _ACEOF
   3580 if ac_fn_c_try_compile "$LINENO"; then :
   3581   ac_compiler_gnu=yes
   3582 else
   3583   ac_compiler_gnu=no
   3584 fi
   3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3587 
   3588 fi
   3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3590 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3591 if test $ac_compiler_gnu = yes; then
   3592   GCC=yes
   3593 else
   3594   GCC=
   3595 fi
   3596 ac_test_CFLAGS=${CFLAGS+set}
   3597 ac_save_CFLAGS=$CFLAGS
   3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3599 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3600 if ${ac_cv_prog_cc_g+:} false; then :
   3601   $as_echo_n "(cached) " >&6
   3602 else
   3603   ac_save_c_werror_flag=$ac_c_werror_flag
   3604    ac_c_werror_flag=yes
   3605    ac_cv_prog_cc_g=no
   3606    CFLAGS="-g"
   3607    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3608 /* end confdefs.h.  */
   3609 
   3610 int
   3611 main ()
   3612 {
   3613 
   3614   ;
   3615   return 0;
   3616 }
   3617 _ACEOF
   3618 if ac_fn_c_try_compile "$LINENO"; then :
   3619   ac_cv_prog_cc_g=yes
   3620 else
   3621   CFLAGS=""
   3622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3623 /* end confdefs.h.  */
   3624 
   3625 int
   3626 main ()
   3627 {
   3628 
   3629   ;
   3630   return 0;
   3631 }
   3632 _ACEOF
   3633 if ac_fn_c_try_compile "$LINENO"; then :
   3634 
   3635 else
   3636   ac_c_werror_flag=$ac_save_c_werror_flag
   3637 	 CFLAGS="-g"
   3638 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3639 /* end confdefs.h.  */
   3640 
   3641 int
   3642 main ()
   3643 {
   3644 
   3645   ;
   3646   return 0;
   3647 }
   3648 _ACEOF
   3649 if ac_fn_c_try_compile "$LINENO"; then :
   3650   ac_cv_prog_cc_g=yes
   3651 fi
   3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3653 fi
   3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3655 fi
   3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3657    ac_c_werror_flag=$ac_save_c_werror_flag
   3658 fi
   3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3660 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3661 if test "$ac_test_CFLAGS" = set; then
   3662   CFLAGS=$ac_save_CFLAGS
   3663 elif test $ac_cv_prog_cc_g = yes; then
   3664   if test "$GCC" = yes; then
   3665     CFLAGS="-g -O2"
   3666   else
   3667     CFLAGS="-g"
   3668   fi
   3669 else
   3670   if test "$GCC" = yes; then
   3671     CFLAGS="-O2"
   3672   else
   3673     CFLAGS=
   3674   fi
   3675 fi
   3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3677 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3678 if ${ac_cv_prog_cc_c89+:} false; then :
   3679   $as_echo_n "(cached) " >&6
   3680 else
   3681   ac_cv_prog_cc_c89=no
   3682 ac_save_CC=$CC
   3683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3684 /* end confdefs.h.  */
   3685 #include <stdarg.h>
   3686 #include <stdio.h>
   3687 #include <sys/types.h>
   3688 #include <sys/stat.h>
   3689 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3690 struct buf { int x; };
   3691 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3692 static char *e (p, i)
   3693      char **p;
   3694      int i;
   3695 {
   3696   return p[i];
   3697 }
   3698 static char *f (char * (*g) (char **, int), char **p, ...)
   3699 {
   3700   char *s;
   3701   va_list v;
   3702   va_start (v,p);
   3703   s = g (p, va_arg (v,int));
   3704   va_end (v);
   3705   return s;
   3706 }
   3707 
   3708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3709    function prototypes and stuff, but not '\xHH' hex character constants.
   3710    These don't provoke an error unfortunately, instead are silently treated
   3711    as 'x'.  The following induces an error, until -std is added to get
   3712    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3713    array size at least.  It's necessary to write '\x00'==0 to get something
   3714    that's true only with -std.  */
   3715 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3716 
   3717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3718    inside strings and character constants.  */
   3719 #define FOO(x) 'x'
   3720 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3721 
   3722 int test (int i, double x);
   3723 struct s1 {int (*f) (int a);};
   3724 struct s2 {int (*f) (double a);};
   3725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3726 int argc;
   3727 char **argv;
   3728 int
   3729 main ()
   3730 {
   3731 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3732   ;
   3733   return 0;
   3734 }
   3735 _ACEOF
   3736 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3737 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3738 do
   3739   CC="$ac_save_CC $ac_arg"
   3740   if ac_fn_c_try_compile "$LINENO"; then :
   3741   ac_cv_prog_cc_c89=$ac_arg
   3742 fi
   3743 rm -f core conftest.err conftest.$ac_objext
   3744   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3745 done
   3746 rm -f conftest.$ac_ext
   3747 CC=$ac_save_CC
   3748 
   3749 fi
   3750 # AC_CACHE_VAL
   3751 case "x$ac_cv_prog_cc_c89" in
   3752   x)
   3753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3754 $as_echo "none needed" >&6; } ;;
   3755   xno)
   3756     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3757 $as_echo "unsupported" >&6; } ;;
   3758   *)
   3759     CC="$CC $ac_cv_prog_cc_c89"
   3760     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3761 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3762 esac
   3763 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3764 
   3765 fi
   3766 
   3767 ac_ext=c
   3768 ac_cpp='$CPP $CPPFLAGS'
   3769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3772 
   3773 depcc="$CC"   am_compiler_list=
   3774 
   3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3776 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3777 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3778   $as_echo_n "(cached) " >&6
   3779 else
   3780   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3781   # We make a subdir and do the tests there.  Otherwise we can end up
   3782   # making bogus files that we don't know about and never remove.  For
   3783   # instance it was reported that on HP-UX the gcc test will end up
   3784   # making a dummy file named 'D' -- because '-MD' means "put the output
   3785   # in D".
   3786   rm -rf conftest.dir
   3787   mkdir conftest.dir
   3788   # Copy depcomp to subdir because otherwise we won't find it if we're
   3789   # using a relative directory.
   3790   cp "$am_depcomp" conftest.dir
   3791   cd conftest.dir
   3792   # We will build objects and dependencies in a subdirectory because
   3793   # it helps to detect inapplicable dependency modes.  For instance
   3794   # both Tru64's cc and ICC support -MD to output dependencies as a
   3795   # side effect of compilation, but ICC will put the dependencies in
   3796   # the current directory while Tru64 will put them in the object
   3797   # directory.
   3798   mkdir sub
   3799 
   3800   am_cv_CC_dependencies_compiler_type=none
   3801   if test "$am_compiler_list" = ""; then
   3802      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3803   fi
   3804   am__universal=false
   3805   case " $depcc " in #(
   3806      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3807      esac
   3808 
   3809   for depmode in $am_compiler_list; do
   3810     # Setup a source with many dependencies, because some compilers
   3811     # like to wrap large dependency lists on column 80 (with \), and
   3812     # we should not choose a depcomp mode which is confused by this.
   3813     #
   3814     # We need to recreate these files for each test, as the compiler may
   3815     # overwrite some of them when testing with obscure command lines.
   3816     # This happens at least with the AIX C compiler.
   3817     : > sub/conftest.c
   3818     for i in 1 2 3 4 5 6; do
   3819       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3820       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3821       # Solaris 10 /bin/sh.
   3822       echo '/* dummy */' > sub/conftst$i.h
   3823     done
   3824     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3825 
   3826     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3827     # mode.  It turns out that the SunPro C++ compiler does not properly
   3828     # handle '-M -o', and we need to detect this.  Also, some Intel
   3829     # versions had trouble with output in subdirs.
   3830     am__obj=sub/conftest.${OBJEXT-o}
   3831     am__minus_obj="-o $am__obj"
   3832     case $depmode in
   3833     gcc)
   3834       # This depmode causes a compiler race in universal mode.
   3835       test "$am__universal" = false || continue
   3836       ;;
   3837     nosideeffect)
   3838       # After this tag, mechanisms are not by side-effect, so they'll
   3839       # only be used when explicitly requested.
   3840       if test "x$enable_dependency_tracking" = xyes; then
   3841 	continue
   3842       else
   3843 	break
   3844       fi
   3845       ;;
   3846     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3847       # This compiler won't grok '-c -o', but also, the minuso test has
   3848       # not run yet.  These depmodes are late enough in the game, and
   3849       # so weak that their functioning should not be impacted.
   3850       am__obj=conftest.${OBJEXT-o}
   3851       am__minus_obj=
   3852       ;;
   3853     none) break ;;
   3854     esac
   3855     if depmode=$depmode \
   3856        source=sub/conftest.c object=$am__obj \
   3857        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3858        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3859          >/dev/null 2>conftest.err &&
   3860        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3861        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3862        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3863        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3864       # icc doesn't choke on unknown options, it will just issue warnings
   3865       # or remarks (even with -Werror).  So we grep stderr for any message
   3866       # that says an option was ignored or not supported.
   3867       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3868       #   icc: Command line warning: ignoring option '-M'; no argument required
   3869       # The diagnosis changed in icc 8.0:
   3870       #   icc: Command line remark: option '-MP' not supported
   3871       if (grep 'ignoring option' conftest.err ||
   3872           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3873         am_cv_CC_dependencies_compiler_type=$depmode
   3874         break
   3875       fi
   3876     fi
   3877   done
   3878 
   3879   cd ..
   3880   rm -rf conftest.dir
   3881 else
   3882   am_cv_CC_dependencies_compiler_type=none
   3883 fi
   3884 
   3885 fi
   3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3887 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3888 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3889 
   3890  if
   3891   test "x$enable_dependency_tracking" != xno \
   3892   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3893   am__fastdepCC_TRUE=
   3894   am__fastdepCC_FALSE='#'
   3895 else
   3896   am__fastdepCC_TRUE='#'
   3897   am__fastdepCC_FALSE=
   3898 fi
   3899 
   3900 
   3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3902 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3903 if ${ac_cv_path_SED+:} false; then :
   3904   $as_echo_n "(cached) " >&6
   3905 else
   3906             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3907      for ac_i in 1 2 3 4 5 6 7; do
   3908        ac_script="$ac_script$as_nl$ac_script"
   3909      done
   3910      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3911      { ac_script=; unset ac_script;}
   3912      if test -z "$SED"; then
   3913   ac_path_SED_found=false
   3914   # Loop through the user's path and test for each of PROGNAME-LIST
   3915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3916 for as_dir in $PATH
   3917 do
   3918   IFS=$as_save_IFS
   3919   test -z "$as_dir" && as_dir=.
   3920     for ac_prog in sed gsed; do
   3921     for ac_exec_ext in '' $ac_executable_extensions; do
   3922       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3923       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3924 # Check for GNU ac_path_SED and select it if it is found.
   3925   # Check for GNU $ac_path_SED
   3926 case `"$ac_path_SED" --version 2>&1` in
   3927 *GNU*)
   3928   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3929 *)
   3930   ac_count=0
   3931   $as_echo_n 0123456789 >"conftest.in"
   3932   while :
   3933   do
   3934     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3935     mv "conftest.tmp" "conftest.in"
   3936     cp "conftest.in" "conftest.nl"
   3937     $as_echo '' >> "conftest.nl"
   3938     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3939     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3940     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3941     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3942       # Best one so far, save it but keep looking for a better one
   3943       ac_cv_path_SED="$ac_path_SED"
   3944       ac_path_SED_max=$ac_count
   3945     fi
   3946     # 10*(2^10) chars as input seems more than enough
   3947     test $ac_count -gt 10 && break
   3948   done
   3949   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3950 esac
   3951 
   3952       $ac_path_SED_found && break 3
   3953     done
   3954   done
   3955   done
   3956 IFS=$as_save_IFS
   3957   if test -z "$ac_cv_path_SED"; then
   3958     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3959   fi
   3960 else
   3961   ac_cv_path_SED=$SED
   3962 fi
   3963 
   3964 fi
   3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3966 $as_echo "$ac_cv_path_SED" >&6; }
   3967  SED="$ac_cv_path_SED"
   3968   rm -f conftest.sed
   3969 
   3970 test -z "$SED" && SED=sed
   3971 Xsed="$SED -e 1s/^X//"
   3972 
   3973 
   3974 
   3975 
   3976 
   3977 
   3978 
   3979 
   3980 
   3981 
   3982 
   3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3984 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3985 if ${ac_cv_path_GREP+:} false; then :
   3986   $as_echo_n "(cached) " >&6
   3987 else
   3988   if test -z "$GREP"; then
   3989   ac_path_GREP_found=false
   3990   # Loop through the user's path and test for each of PROGNAME-LIST
   3991   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3992 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3993 do
   3994   IFS=$as_save_IFS
   3995   test -z "$as_dir" && as_dir=.
   3996     for ac_prog in grep ggrep; do
   3997     for ac_exec_ext in '' $ac_executable_extensions; do
   3998       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3999       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4000 # Check for GNU ac_path_GREP and select it if it is found.
   4001   # Check for GNU $ac_path_GREP
   4002 case `"$ac_path_GREP" --version 2>&1` in
   4003 *GNU*)
   4004   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4005 *)
   4006   ac_count=0
   4007   $as_echo_n 0123456789 >"conftest.in"
   4008   while :
   4009   do
   4010     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4011     mv "conftest.tmp" "conftest.in"
   4012     cp "conftest.in" "conftest.nl"
   4013     $as_echo 'GREP' >> "conftest.nl"
   4014     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4015     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4016     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4017     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4018       # Best one so far, save it but keep looking for a better one
   4019       ac_cv_path_GREP="$ac_path_GREP"
   4020       ac_path_GREP_max=$ac_count
   4021     fi
   4022     # 10*(2^10) chars as input seems more than enough
   4023     test $ac_count -gt 10 && break
   4024   done
   4025   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4026 esac
   4027 
   4028       $ac_path_GREP_found && break 3
   4029     done
   4030   done
   4031   done
   4032 IFS=$as_save_IFS
   4033   if test -z "$ac_cv_path_GREP"; then
   4034     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4035   fi
   4036 else
   4037   ac_cv_path_GREP=$GREP
   4038 fi
   4039 
   4040 fi
   4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4042 $as_echo "$ac_cv_path_GREP" >&6; }
   4043  GREP="$ac_cv_path_GREP"
   4044 
   4045 
   4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4047 $as_echo_n "checking for egrep... " >&6; }
   4048 if ${ac_cv_path_EGREP+:} false; then :
   4049   $as_echo_n "(cached) " >&6
   4050 else
   4051   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4052    then ac_cv_path_EGREP="$GREP -E"
   4053    else
   4054      if test -z "$EGREP"; then
   4055   ac_path_EGREP_found=false
   4056   # Loop through the user's path and test for each of PROGNAME-LIST
   4057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4058 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4059 do
   4060   IFS=$as_save_IFS
   4061   test -z "$as_dir" && as_dir=.
   4062     for ac_prog in egrep; do
   4063     for ac_exec_ext in '' $ac_executable_extensions; do
   4064       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4065       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4066 # Check for GNU ac_path_EGREP and select it if it is found.
   4067   # Check for GNU $ac_path_EGREP
   4068 case `"$ac_path_EGREP" --version 2>&1` in
   4069 *GNU*)
   4070   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4071 *)
   4072   ac_count=0
   4073   $as_echo_n 0123456789 >"conftest.in"
   4074   while :
   4075   do
   4076     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4077     mv "conftest.tmp" "conftest.in"
   4078     cp "conftest.in" "conftest.nl"
   4079     $as_echo 'EGREP' >> "conftest.nl"
   4080     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4081     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4082     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4083     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4084       # Best one so far, save it but keep looking for a better one
   4085       ac_cv_path_EGREP="$ac_path_EGREP"
   4086       ac_path_EGREP_max=$ac_count
   4087     fi
   4088     # 10*(2^10) chars as input seems more than enough
   4089     test $ac_count -gt 10 && break
   4090   done
   4091   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4092 esac
   4093 
   4094       $ac_path_EGREP_found && break 3
   4095     done
   4096   done
   4097   done
   4098 IFS=$as_save_IFS
   4099   if test -z "$ac_cv_path_EGREP"; then
   4100     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4101   fi
   4102 else
   4103   ac_cv_path_EGREP=$EGREP
   4104 fi
   4105 
   4106    fi
   4107 fi
   4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4109 $as_echo "$ac_cv_path_EGREP" >&6; }
   4110  EGREP="$ac_cv_path_EGREP"
   4111 
   4112 
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4114 $as_echo_n "checking for fgrep... " >&6; }
   4115 if ${ac_cv_path_FGREP+:} false; then :
   4116   $as_echo_n "(cached) " >&6
   4117 else
   4118   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4119    then ac_cv_path_FGREP="$GREP -F"
   4120    else
   4121      if test -z "$FGREP"; then
   4122   ac_path_FGREP_found=false
   4123   # Loop through the user's path and test for each of PROGNAME-LIST
   4124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4126 do
   4127   IFS=$as_save_IFS
   4128   test -z "$as_dir" && as_dir=.
   4129     for ac_prog in fgrep; do
   4130     for ac_exec_ext in '' $ac_executable_extensions; do
   4131       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4132       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4133 # Check for GNU ac_path_FGREP and select it if it is found.
   4134   # Check for GNU $ac_path_FGREP
   4135 case `"$ac_path_FGREP" --version 2>&1` in
   4136 *GNU*)
   4137   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4138 *)
   4139   ac_count=0
   4140   $as_echo_n 0123456789 >"conftest.in"
   4141   while :
   4142   do
   4143     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4144     mv "conftest.tmp" "conftest.in"
   4145     cp "conftest.in" "conftest.nl"
   4146     $as_echo 'FGREP' >> "conftest.nl"
   4147     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4148     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4149     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4150     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4151       # Best one so far, save it but keep looking for a better one
   4152       ac_cv_path_FGREP="$ac_path_FGREP"
   4153       ac_path_FGREP_max=$ac_count
   4154     fi
   4155     # 10*(2^10) chars as input seems more than enough
   4156     test $ac_count -gt 10 && break
   4157   done
   4158   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4159 esac
   4160 
   4161       $ac_path_FGREP_found && break 3
   4162     done
   4163   done
   4164   done
   4165 IFS=$as_save_IFS
   4166   if test -z "$ac_cv_path_FGREP"; then
   4167     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4168   fi
   4169 else
   4170   ac_cv_path_FGREP=$FGREP
   4171 fi
   4172 
   4173    fi
   4174 fi
   4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4176 $as_echo "$ac_cv_path_FGREP" >&6; }
   4177  FGREP="$ac_cv_path_FGREP"
   4178 
   4179 
   4180 test -z "$GREP" && GREP=grep
   4181 
   4182 
   4183 
   4184 
   4185 
   4186 
   4187 
   4188 
   4189 
   4190 
   4191 
   4192 
   4193 
   4194 
   4195 
   4196 
   4197 
   4198 
   4199 
   4200 # Check whether --with-gnu-ld was given.
   4201 if test "${with_gnu_ld+set}" = set; then :
   4202   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4203 else
   4204   with_gnu_ld=no
   4205 fi
   4206 
   4207 ac_prog=ld
   4208 if test "$GCC" = yes; then
   4209   # Check if gcc -print-prog-name=ld gives a path.
   4210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4211 $as_echo_n "checking for ld used by $CC... " >&6; }
   4212   case $host in
   4213   *-*-mingw*)
   4214     # gcc leaves a trailing carriage return which upsets mingw
   4215     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4216   *)
   4217     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4218   esac
   4219   case $ac_prog in
   4220     # Accept absolute paths.
   4221     [\\/]* | ?:[\\/]*)
   4222       re_direlt='/[^/][^/]*/\.\./'
   4223       # Canonicalize the pathname of ld
   4224       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4225       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4226 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4227       done
   4228       test -z "$LD" && LD="$ac_prog"
   4229       ;;
   4230   "")
   4231     # If it fails, then pretend we aren't using GCC.
   4232     ac_prog=ld
   4233     ;;
   4234   *)
   4235     # If it is relative, then search for the first ld in PATH.
   4236     with_gnu_ld=unknown
   4237     ;;
   4238   esac
   4239 elif test "$with_gnu_ld" = yes; then
   4240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4241 $as_echo_n "checking for GNU ld... " >&6; }
   4242 else
   4243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4244 $as_echo_n "checking for non-GNU ld... " >&6; }
   4245 fi
   4246 if ${lt_cv_path_LD+:} false; then :
   4247   $as_echo_n "(cached) " >&6
   4248 else
   4249   if test -z "$LD"; then
   4250   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4251   for ac_dir in $PATH; do
   4252     IFS="$lt_save_ifs"
   4253     test -z "$ac_dir" && ac_dir=.
   4254     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4255       lt_cv_path_LD="$ac_dir/$ac_prog"
   4256       # Check to see if the program is GNU ld.  I'd rather use --version,
   4257       # but apparently some variants of GNU ld only accept -v.
   4258       # Break only if it was the GNU/non-GNU ld that we prefer.
   4259       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4260       *GNU* | *'with BFD'*)
   4261 	test "$with_gnu_ld" != no && break
   4262 	;;
   4263       *)
   4264 	test "$with_gnu_ld" != yes && break
   4265 	;;
   4266       esac
   4267     fi
   4268   done
   4269   IFS="$lt_save_ifs"
   4270 else
   4271   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4272 fi
   4273 fi
   4274 
   4275 LD="$lt_cv_path_LD"
   4276 if test -n "$LD"; then
   4277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4278 $as_echo "$LD" >&6; }
   4279 else
   4280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4281 $as_echo "no" >&6; }
   4282 fi
   4283 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4285 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4286 if ${lt_cv_prog_gnu_ld+:} false; then :
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4290 case `$LD -v 2>&1 </dev/null` in
   4291 *GNU* | *'with BFD'*)
   4292   lt_cv_prog_gnu_ld=yes
   4293   ;;
   4294 *)
   4295   lt_cv_prog_gnu_ld=no
   4296   ;;
   4297 esac
   4298 fi
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4300 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4301 with_gnu_ld=$lt_cv_prog_gnu_ld
   4302 
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4312 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4313 if ${lt_cv_path_NM+:} false; then :
   4314   $as_echo_n "(cached) " >&6
   4315 else
   4316   if test -n "$NM"; then
   4317   # Let the user override the test.
   4318   lt_cv_path_NM="$NM"
   4319 else
   4320   lt_nm_to_check="${ac_tool_prefix}nm"
   4321   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4322     lt_nm_to_check="$lt_nm_to_check nm"
   4323   fi
   4324   for lt_tmp_nm in $lt_nm_to_check; do
   4325     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4326     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4327       IFS="$lt_save_ifs"
   4328       test -z "$ac_dir" && ac_dir=.
   4329       tmp_nm="$ac_dir/$lt_tmp_nm"
   4330       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4331 	# Check to see if the nm accepts a BSD-compat flag.
   4332 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4333 	#   nm: unknown option "B" ignored
   4334 	# Tru64's nm complains that /dev/null is an invalid object file
   4335 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4336 	*/dev/null* | *'Invalid file or object type'*)
   4337 	  lt_cv_path_NM="$tmp_nm -B"
   4338 	  break
   4339 	  ;;
   4340 	*)
   4341 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4342 	  */dev/null*)
   4343 	    lt_cv_path_NM="$tmp_nm -p"
   4344 	    break
   4345 	    ;;
   4346 	  *)
   4347 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4348 	    continue # so that we can try to find one that supports BSD flags
   4349 	    ;;
   4350 	  esac
   4351 	  ;;
   4352 	esac
   4353       fi
   4354     done
   4355     IFS="$lt_save_ifs"
   4356   done
   4357   : ${lt_cv_path_NM=no}
   4358 fi
   4359 fi
   4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4361 $as_echo "$lt_cv_path_NM" >&6; }
   4362 if test "$lt_cv_path_NM" != "no"; then
   4363   NM="$lt_cv_path_NM"
   4364 else
   4365   # Didn't find any BSD compatible name lister, look for dumpbin.
   4366   if test -n "$DUMPBIN"; then :
   4367     # Let the user override the test.
   4368   else
   4369     if test -n "$ac_tool_prefix"; then
   4370   for ac_prog in dumpbin "link -dump"
   4371   do
   4372     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4375 $as_echo_n "checking for $ac_word... " >&6; }
   4376 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4377   $as_echo_n "(cached) " >&6
   4378 else
   4379   if test -n "$DUMPBIN"; then
   4380   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4381 else
   4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4383 for as_dir in $PATH
   4384 do
   4385   IFS=$as_save_IFS
   4386   test -z "$as_dir" && as_dir=.
   4387     for ac_exec_ext in '' $ac_executable_extensions; do
   4388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4389     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4391     break 2
   4392   fi
   4393 done
   4394   done
   4395 IFS=$as_save_IFS
   4396 
   4397 fi
   4398 fi
   4399 DUMPBIN=$ac_cv_prog_DUMPBIN
   4400 if test -n "$DUMPBIN"; then
   4401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4402 $as_echo "$DUMPBIN" >&6; }
   4403 else
   4404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4405 $as_echo "no" >&6; }
   4406 fi
   4407 
   4408 
   4409     test -n "$DUMPBIN" && break
   4410   done
   4411 fi
   4412 if test -z "$DUMPBIN"; then
   4413   ac_ct_DUMPBIN=$DUMPBIN
   4414   for ac_prog in dumpbin "link -dump"
   4415 do
   4416   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4417 set dummy $ac_prog; ac_word=$2
   4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4419 $as_echo_n "checking for $ac_word... " >&6; }
   4420 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4421   $as_echo_n "(cached) " >&6
   4422 else
   4423   if test -n "$ac_ct_DUMPBIN"; then
   4424   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4425 else
   4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4427 for as_dir in $PATH
   4428 do
   4429   IFS=$as_save_IFS
   4430   test -z "$as_dir" && as_dir=.
   4431     for ac_exec_ext in '' $ac_executable_extensions; do
   4432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4433     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4435     break 2
   4436   fi
   4437 done
   4438   done
   4439 IFS=$as_save_IFS
   4440 
   4441 fi
   4442 fi
   4443 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4444 if test -n "$ac_ct_DUMPBIN"; then
   4445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4446 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4447 else
   4448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4449 $as_echo "no" >&6; }
   4450 fi
   4451 
   4452 
   4453   test -n "$ac_ct_DUMPBIN" && break
   4454 done
   4455 
   4456   if test "x$ac_ct_DUMPBIN" = x; then
   4457     DUMPBIN=":"
   4458   else
   4459     case $cross_compiling:$ac_tool_warned in
   4460 yes:)
   4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4463 ac_tool_warned=yes ;;
   4464 esac
   4465     DUMPBIN=$ac_ct_DUMPBIN
   4466   fi
   4467 fi
   4468 
   4469     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4470     *COFF*)
   4471       DUMPBIN="$DUMPBIN -symbols"
   4472       ;;
   4473     *)
   4474       DUMPBIN=:
   4475       ;;
   4476     esac
   4477   fi
   4478 
   4479   if test "$DUMPBIN" != ":"; then
   4480     NM="$DUMPBIN"
   4481   fi
   4482 fi
   4483 test -z "$NM" && NM=nm
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4491 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4492 if ${lt_cv_nm_interface+:} false; then :
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495   lt_cv_nm_interface="BSD nm"
   4496   echo "int some_variable = 0;" > conftest.$ac_ext
   4497   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4498   (eval "$ac_compile" 2>conftest.err)
   4499   cat conftest.err >&5
   4500   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4501   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4502   cat conftest.err >&5
   4503   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4504   cat conftest.out >&5
   4505   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4506     lt_cv_nm_interface="MS dumpbin"
   4507   fi
   4508   rm -f conftest*
   4509 fi
   4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4511 $as_echo "$lt_cv_nm_interface" >&6; }
   4512 
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4514 $as_echo_n "checking whether ln -s works... " >&6; }
   4515 LN_S=$as_ln_s
   4516 if test "$LN_S" = "ln -s"; then
   4517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4518 $as_echo "yes" >&6; }
   4519 else
   4520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4521 $as_echo "no, using $LN_S" >&6; }
   4522 fi
   4523 
   4524 # find the maximum length of command line arguments
   4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4526 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4527 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4528   $as_echo_n "(cached) " >&6
   4529 else
   4530     i=0
   4531   teststring="ABCD"
   4532 
   4533   case $build_os in
   4534   msdosdjgpp*)
   4535     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4536     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4537     # during glob expansion).  Even if it were fixed, the result of this
   4538     # check would be larger than it should be.
   4539     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4540     ;;
   4541 
   4542   gnu*)
   4543     # Under GNU Hurd, this test is not required because there is
   4544     # no limit to the length of command line arguments.
   4545     # Libtool will interpret -1 as no limit whatsoever
   4546     lt_cv_sys_max_cmd_len=-1;
   4547     ;;
   4548 
   4549   cygwin* | mingw* | cegcc*)
   4550     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4551     # about 5 minutes as the teststring grows exponentially.
   4552     # Worse, since 9x/ME are not pre-emptively multitasking,
   4553     # you end up with a "frozen" computer, even though with patience
   4554     # the test eventually succeeds (with a max line length of 256k).
   4555     # Instead, let's just punt: use the minimum linelength reported by
   4556     # all of the supported platforms: 8192 (on NT/2K/XP).
   4557     lt_cv_sys_max_cmd_len=8192;
   4558     ;;
   4559 
   4560   mint*)
   4561     # On MiNT this can take a long time and run out of memory.
   4562     lt_cv_sys_max_cmd_len=8192;
   4563     ;;
   4564 
   4565   amigaos*)
   4566     # On AmigaOS with pdksh, this test takes hours, literally.
   4567     # So we just punt and use a minimum line length of 8192.
   4568     lt_cv_sys_max_cmd_len=8192;
   4569     ;;
   4570 
   4571   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4572     # This has been around since 386BSD, at least.  Likely further.
   4573     if test -x /sbin/sysctl; then
   4574       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4575     elif test -x /usr/sbin/sysctl; then
   4576       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4577     else
   4578       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4579     fi
   4580     # And add a safety zone
   4581     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4582     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4583     ;;
   4584 
   4585   interix*)
   4586     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4587     lt_cv_sys_max_cmd_len=196608
   4588     ;;
   4589 
   4590   os2*)
   4591     # The test takes a long time on OS/2.
   4592     lt_cv_sys_max_cmd_len=8192
   4593     ;;
   4594 
   4595   osf*)
   4596     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4597     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4598     # nice to cause kernel panics so lets avoid the loop below.
   4599     # First set a reasonable default.
   4600     lt_cv_sys_max_cmd_len=16384
   4601     #
   4602     if test -x /sbin/sysconfig; then
   4603       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4604         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4605       esac
   4606     fi
   4607     ;;
   4608   sco3.2v5*)
   4609     lt_cv_sys_max_cmd_len=102400
   4610     ;;
   4611   sysv5* | sco5v6* | sysv4.2uw2*)
   4612     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4613     if test -n "$kargmax"; then
   4614       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4615     else
   4616       lt_cv_sys_max_cmd_len=32768
   4617     fi
   4618     ;;
   4619   *)
   4620     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4621     if test -n "$lt_cv_sys_max_cmd_len"; then
   4622       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4623       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4624     else
   4625       # Make teststring a little bigger before we do anything with it.
   4626       # a 1K string should be a reasonable start.
   4627       for i in 1 2 3 4 5 6 7 8 ; do
   4628         teststring=$teststring$teststring
   4629       done
   4630       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4631       # If test is not a shell built-in, we'll probably end up computing a
   4632       # maximum length that is only half of the actual maximum length, but
   4633       # we can't tell.
   4634       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4635 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4636 	      test $i != 17 # 1/2 MB should be enough
   4637       do
   4638         i=`expr $i + 1`
   4639         teststring=$teststring$teststring
   4640       done
   4641       # Only check the string length outside the loop.
   4642       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4643       teststring=
   4644       # Add a significant safety factor because C++ compilers can tack on
   4645       # massive amounts of additional arguments before passing them to the
   4646       # linker.  It appears as though 1/2 is a usable value.
   4647       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4648     fi
   4649     ;;
   4650   esac
   4651 
   4652 fi
   4653 
   4654 if test -n $lt_cv_sys_max_cmd_len ; then
   4655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4656 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4657 else
   4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4659 $as_echo "none" >&6; }
   4660 fi
   4661 max_cmd_len=$lt_cv_sys_max_cmd_len
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 : ${CP="cp -f"}
   4669 : ${MV="mv -f"}
   4670 : ${RM="rm -f"}
   4671 
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4673 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4674 # Try some XSI features
   4675 xsi_shell=no
   4676 ( _lt_dummy="a/b/c"
   4677   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4678       = c,a/b,b/c, \
   4679     && eval 'test $(( 1 + 1 )) -eq 2 \
   4680     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4681   && xsi_shell=yes
   4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4683 $as_echo "$xsi_shell" >&6; }
   4684 
   4685 
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4687 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4688 lt_shell_append=no
   4689 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4690     >/dev/null 2>&1 \
   4691   && lt_shell_append=yes
   4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4693 $as_echo "$lt_shell_append" >&6; }
   4694 
   4695 
   4696 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4697   lt_unset=unset
   4698 else
   4699   lt_unset=false
   4700 fi
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 # test EBCDIC or ASCII
   4707 case `echo X|tr X '\101'` in
   4708  A) # ASCII based system
   4709     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4710   lt_SP2NL='tr \040 \012'
   4711   lt_NL2SP='tr \015\012 \040\040'
   4712   ;;
   4713  *) # EBCDIC based system
   4714   lt_SP2NL='tr \100 \n'
   4715   lt_NL2SP='tr \r\n \100\100'
   4716   ;;
   4717 esac
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4728 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4729 if ${lt_cv_to_host_file_cmd+:} false; then :
   4730   $as_echo_n "(cached) " >&6
   4731 else
   4732   case $host in
   4733   *-*-mingw* )
   4734     case $build in
   4735       *-*-mingw* ) # actually msys
   4736         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4737         ;;
   4738       *-*-cygwin* )
   4739         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4740         ;;
   4741       * ) # otherwise, assume *nix
   4742         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4743         ;;
   4744     esac
   4745     ;;
   4746   *-*-cygwin* )
   4747     case $build in
   4748       *-*-mingw* ) # actually msys
   4749         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4750         ;;
   4751       *-*-cygwin* )
   4752         lt_cv_to_host_file_cmd=func_convert_file_noop
   4753         ;;
   4754       * ) # otherwise, assume *nix
   4755         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4756         ;;
   4757     esac
   4758     ;;
   4759   * ) # unhandled hosts (and "normal" native builds)
   4760     lt_cv_to_host_file_cmd=func_convert_file_noop
   4761     ;;
   4762 esac
   4763 
   4764 fi
   4765 
   4766 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4768 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4775 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4776 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4777   $as_echo_n "(cached) " >&6
   4778 else
   4779   #assume ordinary cross tools, or native build.
   4780 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4781 case $host in
   4782   *-*-mingw* )
   4783     case $build in
   4784       *-*-mingw* ) # actually msys
   4785         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4786         ;;
   4787     esac
   4788     ;;
   4789 esac
   4790 
   4791 fi
   4792 
   4793 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4795 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4802 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4803 if ${lt_cv_ld_reload_flag+:} false; then :
   4804   $as_echo_n "(cached) " >&6
   4805 else
   4806   lt_cv_ld_reload_flag='-r'
   4807 fi
   4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4809 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4810 reload_flag=$lt_cv_ld_reload_flag
   4811 case $reload_flag in
   4812 "" | " "*) ;;
   4813 *) reload_flag=" $reload_flag" ;;
   4814 esac
   4815 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4816 case $host_os in
   4817   cygwin* | mingw* | pw32* | cegcc*)
   4818     if test "$GCC" != yes; then
   4819       reload_cmds=false
   4820     fi
   4821     ;;
   4822   darwin*)
   4823     if test "$GCC" = yes; then
   4824       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4825     else
   4826       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4827     fi
   4828     ;;
   4829 esac
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 if test -n "$ac_tool_prefix"; then
   4840   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4841 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4843 $as_echo_n "checking for $ac_word... " >&6; }
   4844 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4845   $as_echo_n "(cached) " >&6
   4846 else
   4847   if test -n "$OBJDUMP"; then
   4848   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4849 else
   4850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4851 for as_dir in $PATH
   4852 do
   4853   IFS=$as_save_IFS
   4854   test -z "$as_dir" && as_dir=.
   4855     for ac_exec_ext in '' $ac_executable_extensions; do
   4856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4857     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4859     break 2
   4860   fi
   4861 done
   4862   done
   4863 IFS=$as_save_IFS
   4864 
   4865 fi
   4866 fi
   4867 OBJDUMP=$ac_cv_prog_OBJDUMP
   4868 if test -n "$OBJDUMP"; then
   4869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4870 $as_echo "$OBJDUMP" >&6; }
   4871 else
   4872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4873 $as_echo "no" >&6; }
   4874 fi
   4875 
   4876 
   4877 fi
   4878 if test -z "$ac_cv_prog_OBJDUMP"; then
   4879   ac_ct_OBJDUMP=$OBJDUMP
   4880   # Extract the first word of "objdump", so it can be a program name with args.
   4881 set dummy objdump; ac_word=$2
   4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4883 $as_echo_n "checking for $ac_word... " >&6; }
   4884 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4885   $as_echo_n "(cached) " >&6
   4886 else
   4887   if test -n "$ac_ct_OBJDUMP"; then
   4888   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4889 else
   4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4891 for as_dir in $PATH
   4892 do
   4893   IFS=$as_save_IFS
   4894   test -z "$as_dir" && as_dir=.
   4895     for ac_exec_ext in '' $ac_executable_extensions; do
   4896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4897     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4899     break 2
   4900   fi
   4901 done
   4902   done
   4903 IFS=$as_save_IFS
   4904 
   4905 fi
   4906 fi
   4907 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4908 if test -n "$ac_ct_OBJDUMP"; then
   4909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4910 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4911 else
   4912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4913 $as_echo "no" >&6; }
   4914 fi
   4915 
   4916   if test "x$ac_ct_OBJDUMP" = x; then
   4917     OBJDUMP="false"
   4918   else
   4919     case $cross_compiling:$ac_tool_warned in
   4920 yes:)
   4921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4923 ac_tool_warned=yes ;;
   4924 esac
   4925     OBJDUMP=$ac_ct_OBJDUMP
   4926   fi
   4927 else
   4928   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4929 fi
   4930 
   4931 test -z "$OBJDUMP" && OBJDUMP=objdump
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4942 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4943 if ${lt_cv_deplibs_check_method+:} false; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4947 lt_cv_file_magic_test_file=
   4948 lt_cv_deplibs_check_method='unknown'
   4949 # Need to set the preceding variable on all platforms that support
   4950 # interlibrary dependencies.
   4951 # 'none' -- dependencies not supported.
   4952 # `unknown' -- same as none, but documents that we really don't know.
   4953 # 'pass_all' -- all dependencies passed with no checks.
   4954 # 'test_compile' -- check by making test program.
   4955 # 'file_magic [[regex]]' -- check by looking for files in library path
   4956 # which responds to the $file_magic_cmd with a given extended regex.
   4957 # If you have `file' or equivalent on your system and you're not sure
   4958 # whether `pass_all' will *always* work, you probably want this one.
   4959 
   4960 case $host_os in
   4961 aix[4-9]*)
   4962   lt_cv_deplibs_check_method=pass_all
   4963   ;;
   4964 
   4965 beos*)
   4966   lt_cv_deplibs_check_method=pass_all
   4967   ;;
   4968 
   4969 bsdi[45]*)
   4970   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4971   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4972   lt_cv_file_magic_test_file=/shlib/libc.so
   4973   ;;
   4974 
   4975 cygwin*)
   4976   # func_win32_libid is a shell function defined in ltmain.sh
   4977   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4978   lt_cv_file_magic_cmd='func_win32_libid'
   4979   ;;
   4980 
   4981 mingw* | pw32*)
   4982   # Base MSYS/MinGW do not provide the 'file' command needed by
   4983   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4984   # unless we find 'file', for example because we are cross-compiling.
   4985   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   4986   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   4987     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4988     lt_cv_file_magic_cmd='func_win32_libid'
   4989   else
   4990     # Keep this pattern in sync with the one in func_win32_libid.
   4991     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   4992     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4993   fi
   4994   ;;
   4995 
   4996 cegcc*)
   4997   # use the weaker test based on 'objdump'. See mingw*.
   4998   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4999   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5000   ;;
   5001 
   5002 darwin* | rhapsody*)
   5003   lt_cv_deplibs_check_method=pass_all
   5004   ;;
   5005 
   5006 freebsd* | dragonfly*)
   5007   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5008     case $host_cpu in
   5009     i*86 )
   5010       # Not sure whether the presence of OpenBSD here was a mistake.
   5011       # Let's accept both of them until this is cleared up.
   5012       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5013       lt_cv_file_magic_cmd=/usr/bin/file
   5014       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5015       ;;
   5016     esac
   5017   else
   5018     lt_cv_deplibs_check_method=pass_all
   5019   fi
   5020   ;;
   5021 
   5022 gnu*)
   5023   lt_cv_deplibs_check_method=pass_all
   5024   ;;
   5025 
   5026 haiku*)
   5027   lt_cv_deplibs_check_method=pass_all
   5028   ;;
   5029 
   5030 hpux10.20* | hpux11*)
   5031   lt_cv_file_magic_cmd=/usr/bin/file
   5032   case $host_cpu in
   5033   ia64*)
   5034     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5035     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5036     ;;
   5037   hppa*64*)
   5038     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]'
   5039     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5040     ;;
   5041   *)
   5042     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5043     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5044     ;;
   5045   esac
   5046   ;;
   5047 
   5048 interix[3-9]*)
   5049   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5050   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5051   ;;
   5052 
   5053 irix5* | irix6* | nonstopux*)
   5054   case $LD in
   5055   *-32|*"-32 ") libmagic=32-bit;;
   5056   *-n32|*"-n32 ") libmagic=N32;;
   5057   *-64|*"-64 ") libmagic=64-bit;;
   5058   *) libmagic=never-match;;
   5059   esac
   5060   lt_cv_deplibs_check_method=pass_all
   5061   ;;
   5062 
   5063 # This must be glibc/ELF.
   5064 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5065   lt_cv_deplibs_check_method=pass_all
   5066   ;;
   5067 
   5068 netbsd*)
   5069   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5070     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5071   else
   5072     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5073   fi
   5074   ;;
   5075 
   5076 newos6*)
   5077   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5078   lt_cv_file_magic_cmd=/usr/bin/file
   5079   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5080   ;;
   5081 
   5082 *nto* | *qnx*)
   5083   lt_cv_deplibs_check_method=pass_all
   5084   ;;
   5085 
   5086 openbsd*)
   5087   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5088     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5089   else
   5090     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5091   fi
   5092   ;;
   5093 
   5094 osf3* | osf4* | osf5*)
   5095   lt_cv_deplibs_check_method=pass_all
   5096   ;;
   5097 
   5098 rdos*)
   5099   lt_cv_deplibs_check_method=pass_all
   5100   ;;
   5101 
   5102 solaris*)
   5103   lt_cv_deplibs_check_method=pass_all
   5104   ;;
   5105 
   5106 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5107   lt_cv_deplibs_check_method=pass_all
   5108   ;;
   5109 
   5110 sysv4 | sysv4.3*)
   5111   case $host_vendor in
   5112   motorola)
   5113     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]'
   5114     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5115     ;;
   5116   ncr)
   5117     lt_cv_deplibs_check_method=pass_all
   5118     ;;
   5119   sequent)
   5120     lt_cv_file_magic_cmd='/bin/file'
   5121     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5122     ;;
   5123   sni)
   5124     lt_cv_file_magic_cmd='/bin/file'
   5125     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5126     lt_cv_file_magic_test_file=/lib/libc.so
   5127     ;;
   5128   siemens)
   5129     lt_cv_deplibs_check_method=pass_all
   5130     ;;
   5131   pc)
   5132     lt_cv_deplibs_check_method=pass_all
   5133     ;;
   5134   esac
   5135   ;;
   5136 
   5137 tpf*)
   5138   lt_cv_deplibs_check_method=pass_all
   5139   ;;
   5140 esac
   5141 
   5142 fi
   5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5144 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5145 
   5146 file_magic_glob=
   5147 want_nocaseglob=no
   5148 if test "$build" = "$host"; then
   5149   case $host_os in
   5150   mingw* | pw32*)
   5151     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5152       want_nocaseglob=yes
   5153     else
   5154       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5155     fi
   5156     ;;
   5157   esac
   5158 fi
   5159 
   5160 file_magic_cmd=$lt_cv_file_magic_cmd
   5161 deplibs_check_method=$lt_cv_deplibs_check_method
   5162 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 if test -n "$ac_tool_prefix"; then
   5186   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5187 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5189 $as_echo_n "checking for $ac_word... " >&6; }
   5190 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5191   $as_echo_n "(cached) " >&6
   5192 else
   5193   if test -n "$DLLTOOL"; then
   5194   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5195 else
   5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5197 for as_dir in $PATH
   5198 do
   5199   IFS=$as_save_IFS
   5200   test -z "$as_dir" && as_dir=.
   5201     for ac_exec_ext in '' $ac_executable_extensions; do
   5202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5203     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5205     break 2
   5206   fi
   5207 done
   5208   done
   5209 IFS=$as_save_IFS
   5210 
   5211 fi
   5212 fi
   5213 DLLTOOL=$ac_cv_prog_DLLTOOL
   5214 if test -n "$DLLTOOL"; then
   5215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5216 $as_echo "$DLLTOOL" >&6; }
   5217 else
   5218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5219 $as_echo "no" >&6; }
   5220 fi
   5221 
   5222 
   5223 fi
   5224 if test -z "$ac_cv_prog_DLLTOOL"; then
   5225   ac_ct_DLLTOOL=$DLLTOOL
   5226   # Extract the first word of "dlltool", so it can be a program name with args.
   5227 set dummy dlltool; ac_word=$2
   5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5229 $as_echo_n "checking for $ac_word... " >&6; }
   5230 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5231   $as_echo_n "(cached) " >&6
   5232 else
   5233   if test -n "$ac_ct_DLLTOOL"; then
   5234   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5235 else
   5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5237 for as_dir in $PATH
   5238 do
   5239   IFS=$as_save_IFS
   5240   test -z "$as_dir" && as_dir=.
   5241     for ac_exec_ext in '' $ac_executable_extensions; do
   5242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5243     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5245     break 2
   5246   fi
   5247 done
   5248   done
   5249 IFS=$as_save_IFS
   5250 
   5251 fi
   5252 fi
   5253 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5254 if test -n "$ac_ct_DLLTOOL"; then
   5255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5256 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5257 else
   5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5259 $as_echo "no" >&6; }
   5260 fi
   5261 
   5262   if test "x$ac_ct_DLLTOOL" = x; then
   5263     DLLTOOL="false"
   5264   else
   5265     case $cross_compiling:$ac_tool_warned in
   5266 yes:)
   5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5269 ac_tool_warned=yes ;;
   5270 esac
   5271     DLLTOOL=$ac_ct_DLLTOOL
   5272   fi
   5273 else
   5274   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5275 fi
   5276 
   5277 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5289 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5290 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5291   $as_echo_n "(cached) " >&6
   5292 else
   5293   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5294 
   5295 case $host_os in
   5296 cygwin* | mingw* | pw32* | cegcc*)
   5297   # two different shell functions defined in ltmain.sh
   5298   # decide which to use based on capabilities of $DLLTOOL
   5299   case `$DLLTOOL --help 2>&1` in
   5300   *--identify-strict*)
   5301     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5302     ;;
   5303   *)
   5304     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5305     ;;
   5306   esac
   5307   ;;
   5308 *)
   5309   # fallback: assume linklib IS sharedlib
   5310   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5311   ;;
   5312 esac
   5313 
   5314 fi
   5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5316 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5317 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5318 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 if test -n "$ac_tool_prefix"; then
   5328   for ac_prog in ar
   5329   do
   5330     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5333 $as_echo_n "checking for $ac_word... " >&6; }
   5334 if ${ac_cv_prog_AR+:} false; then :
   5335   $as_echo_n "(cached) " >&6
   5336 else
   5337   if test -n "$AR"; then
   5338   ac_cv_prog_AR="$AR" # Let the user override the test.
   5339 else
   5340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5341 for as_dir in $PATH
   5342 do
   5343   IFS=$as_save_IFS
   5344   test -z "$as_dir" && as_dir=.
   5345     for ac_exec_ext in '' $ac_executable_extensions; do
   5346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5347     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5349     break 2
   5350   fi
   5351 done
   5352   done
   5353 IFS=$as_save_IFS
   5354 
   5355 fi
   5356 fi
   5357 AR=$ac_cv_prog_AR
   5358 if test -n "$AR"; then
   5359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5360 $as_echo "$AR" >&6; }
   5361 else
   5362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5363 $as_echo "no" >&6; }
   5364 fi
   5365 
   5366 
   5367     test -n "$AR" && break
   5368   done
   5369 fi
   5370 if test -z "$AR"; then
   5371   ac_ct_AR=$AR
   5372   for ac_prog in ar
   5373 do
   5374   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5375 set dummy $ac_prog; ac_word=$2
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5377 $as_echo_n "checking for $ac_word... " >&6; }
   5378 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5379   $as_echo_n "(cached) " >&6
   5380 else
   5381   if test -n "$ac_ct_AR"; then
   5382   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5383 else
   5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5385 for as_dir in $PATH
   5386 do
   5387   IFS=$as_save_IFS
   5388   test -z "$as_dir" && as_dir=.
   5389     for ac_exec_ext in '' $ac_executable_extensions; do
   5390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5391     ac_cv_prog_ac_ct_AR="$ac_prog"
   5392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5393     break 2
   5394   fi
   5395 done
   5396   done
   5397 IFS=$as_save_IFS
   5398 
   5399 fi
   5400 fi
   5401 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5402 if test -n "$ac_ct_AR"; then
   5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5404 $as_echo "$ac_ct_AR" >&6; }
   5405 else
   5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5407 $as_echo "no" >&6; }
   5408 fi
   5409 
   5410 
   5411   test -n "$ac_ct_AR" && break
   5412 done
   5413 
   5414   if test "x$ac_ct_AR" = x; then
   5415     AR="false"
   5416   else
   5417     case $cross_compiling:$ac_tool_warned in
   5418 yes:)
   5419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5421 ac_tool_warned=yes ;;
   5422 esac
   5423     AR=$ac_ct_AR
   5424   fi
   5425 fi
   5426 
   5427 : ${AR=ar}
   5428 : ${AR_FLAGS=cru}
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5441 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5442 if ${lt_cv_ar_at_file+:} false; then :
   5443   $as_echo_n "(cached) " >&6
   5444 else
   5445   lt_cv_ar_at_file=no
   5446    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5447 /* end confdefs.h.  */
   5448 
   5449 int
   5450 main ()
   5451 {
   5452 
   5453   ;
   5454   return 0;
   5455 }
   5456 _ACEOF
   5457 if ac_fn_c_try_compile "$LINENO"; then :
   5458   echo conftest.$ac_objext > conftest.lst
   5459       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5460       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5461   (eval $lt_ar_try) 2>&5
   5462   ac_status=$?
   5463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5464   test $ac_status = 0; }
   5465       if test "$ac_status" -eq 0; then
   5466 	# Ensure the archiver fails upon bogus file names.
   5467 	rm -f conftest.$ac_objext libconftest.a
   5468 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5469   (eval $lt_ar_try) 2>&5
   5470   ac_status=$?
   5471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5472   test $ac_status = 0; }
   5473 	if test "$ac_status" -ne 0; then
   5474           lt_cv_ar_at_file=@
   5475         fi
   5476       fi
   5477       rm -f conftest.* libconftest.a
   5478 
   5479 fi
   5480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5481 
   5482 fi
   5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5484 $as_echo "$lt_cv_ar_at_file" >&6; }
   5485 
   5486 if test "x$lt_cv_ar_at_file" = xno; then
   5487   archiver_list_spec=
   5488 else
   5489   archiver_list_spec=$lt_cv_ar_at_file
   5490 fi
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 if test -n "$ac_tool_prefix"; then
   5499   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5500 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5502 $as_echo_n "checking for $ac_word... " >&6; }
   5503 if ${ac_cv_prog_STRIP+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   if test -n "$STRIP"; then
   5507   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5508 else
   5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5510 for as_dir in $PATH
   5511 do
   5512   IFS=$as_save_IFS
   5513   test -z "$as_dir" && as_dir=.
   5514     for ac_exec_ext in '' $ac_executable_extensions; do
   5515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5516     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5518     break 2
   5519   fi
   5520 done
   5521   done
   5522 IFS=$as_save_IFS
   5523 
   5524 fi
   5525 fi
   5526 STRIP=$ac_cv_prog_STRIP
   5527 if test -n "$STRIP"; then
   5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5529 $as_echo "$STRIP" >&6; }
   5530 else
   5531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5532 $as_echo "no" >&6; }
   5533 fi
   5534 
   5535 
   5536 fi
   5537 if test -z "$ac_cv_prog_STRIP"; then
   5538   ac_ct_STRIP=$STRIP
   5539   # Extract the first word of "strip", so it can be a program name with args.
   5540 set dummy strip; ac_word=$2
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5542 $as_echo_n "checking for $ac_word... " >&6; }
   5543 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5544   $as_echo_n "(cached) " >&6
   5545 else
   5546   if test -n "$ac_ct_STRIP"; then
   5547   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5548 else
   5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5550 for as_dir in $PATH
   5551 do
   5552   IFS=$as_save_IFS
   5553   test -z "$as_dir" && as_dir=.
   5554     for ac_exec_ext in '' $ac_executable_extensions; do
   5555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5556     ac_cv_prog_ac_ct_STRIP="strip"
   5557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5558     break 2
   5559   fi
   5560 done
   5561   done
   5562 IFS=$as_save_IFS
   5563 
   5564 fi
   5565 fi
   5566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5567 if test -n "$ac_ct_STRIP"; then
   5568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5569 $as_echo "$ac_ct_STRIP" >&6; }
   5570 else
   5571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5572 $as_echo "no" >&6; }
   5573 fi
   5574 
   5575   if test "x$ac_ct_STRIP" = x; then
   5576     STRIP=":"
   5577   else
   5578     case $cross_compiling:$ac_tool_warned in
   5579 yes:)
   5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5582 ac_tool_warned=yes ;;
   5583 esac
   5584     STRIP=$ac_ct_STRIP
   5585   fi
   5586 else
   5587   STRIP="$ac_cv_prog_STRIP"
   5588 fi
   5589 
   5590 test -z "$STRIP" && STRIP=:
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 if test -n "$ac_tool_prefix"; then
   5598   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5599 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5601 $as_echo_n "checking for $ac_word... " >&6; }
   5602 if ${ac_cv_prog_RANLIB+:} false; then :
   5603   $as_echo_n "(cached) " >&6
   5604 else
   5605   if test -n "$RANLIB"; then
   5606   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5607 else
   5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5609 for as_dir in $PATH
   5610 do
   5611   IFS=$as_save_IFS
   5612   test -z "$as_dir" && as_dir=.
   5613     for ac_exec_ext in '' $ac_executable_extensions; do
   5614   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5615     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5616     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5617     break 2
   5618   fi
   5619 done
   5620   done
   5621 IFS=$as_save_IFS
   5622 
   5623 fi
   5624 fi
   5625 RANLIB=$ac_cv_prog_RANLIB
   5626 if test -n "$RANLIB"; then
   5627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5628 $as_echo "$RANLIB" >&6; }
   5629 else
   5630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5631 $as_echo "no" >&6; }
   5632 fi
   5633 
   5634 
   5635 fi
   5636 if test -z "$ac_cv_prog_RANLIB"; then
   5637   ac_ct_RANLIB=$RANLIB
   5638   # Extract the first word of "ranlib", so it can be a program name with args.
   5639 set dummy ranlib; ac_word=$2
   5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5641 $as_echo_n "checking for $ac_word... " >&6; }
   5642 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5643   $as_echo_n "(cached) " >&6
   5644 else
   5645   if test -n "$ac_ct_RANLIB"; then
   5646   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5647 else
   5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5649 for as_dir in $PATH
   5650 do
   5651   IFS=$as_save_IFS
   5652   test -z "$as_dir" && as_dir=.
   5653     for ac_exec_ext in '' $ac_executable_extensions; do
   5654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5655     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5656     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5657     break 2
   5658   fi
   5659 done
   5660   done
   5661 IFS=$as_save_IFS
   5662 
   5663 fi
   5664 fi
   5665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5666 if test -n "$ac_ct_RANLIB"; then
   5667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5668 $as_echo "$ac_ct_RANLIB" >&6; }
   5669 else
   5670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5671 $as_echo "no" >&6; }
   5672 fi
   5673 
   5674   if test "x$ac_ct_RANLIB" = x; then
   5675     RANLIB=":"
   5676   else
   5677     case $cross_compiling:$ac_tool_warned in
   5678 yes:)
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5681 ac_tool_warned=yes ;;
   5682 esac
   5683     RANLIB=$ac_ct_RANLIB
   5684   fi
   5685 else
   5686   RANLIB="$ac_cv_prog_RANLIB"
   5687 fi
   5688 
   5689 test -z "$RANLIB" && RANLIB=:
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 # Determine commands to create old-style static archives.
   5697 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5698 old_postinstall_cmds='chmod 644 $oldlib'
   5699 old_postuninstall_cmds=
   5700 
   5701 if test -n "$RANLIB"; then
   5702   case $host_os in
   5703   openbsd*)
   5704     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5705     ;;
   5706   *)
   5707     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5708     ;;
   5709   esac
   5710   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5711 fi
   5712 
   5713 case $host_os in
   5714   darwin*)
   5715     lock_old_archive_extraction=yes ;;
   5716   *)
   5717     lock_old_archive_extraction=no ;;
   5718 esac
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 # If no C compiler was specified, use CC.
   5759 LTCC=${LTCC-"$CC"}
   5760 
   5761 # If no C compiler flags were specified, use CFLAGS.
   5762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5763 
   5764 # Allow CC to be a program name with arguments.
   5765 compiler=$CC
   5766 
   5767 
   5768 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5770 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5771 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5772   $as_echo_n "(cached) " >&6
   5773 else
   5774 
   5775 # These are sane defaults that work on at least a few old systems.
   5776 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5777 
   5778 # Character class describing NM global symbol codes.
   5779 symcode='[BCDEGRST]'
   5780 
   5781 # Regexp to match symbols that can be accessed directly from C.
   5782 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5783 
   5784 # Define system-specific variables.
   5785 case $host_os in
   5786 aix*)
   5787   symcode='[BCDT]'
   5788   ;;
   5789 cygwin* | mingw* | pw32* | cegcc*)
   5790   symcode='[ABCDGISTW]'
   5791   ;;
   5792 hpux*)
   5793   if test "$host_cpu" = ia64; then
   5794     symcode='[ABCDEGRST]'
   5795   fi
   5796   ;;
   5797 irix* | nonstopux*)
   5798   symcode='[BCDEGRST]'
   5799   ;;
   5800 osf*)
   5801   symcode='[BCDEGQRST]'
   5802   ;;
   5803 solaris*)
   5804   symcode='[BDRT]'
   5805   ;;
   5806 sco3.2v5*)
   5807   symcode='[DT]'
   5808   ;;
   5809 sysv4.2uw2*)
   5810   symcode='[DT]'
   5811   ;;
   5812 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5813   symcode='[ABDT]'
   5814   ;;
   5815 sysv4)
   5816   symcode='[DFNSTU]'
   5817   ;;
   5818 esac
   5819 
   5820 # If we're using GNU nm, then use its standard symbol codes.
   5821 case `$NM -V 2>&1` in
   5822 *GNU* | *'with BFD'*)
   5823   symcode='[ABCDGIRSTW]' ;;
   5824 esac
   5825 
   5826 # Transform an extracted symbol line into a proper C declaration.
   5827 # Some systems (esp. on ia64) link data and code symbols differently,
   5828 # so use this general approach.
   5829 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5830 
   5831 # Transform an extracted symbol line into symbol name and symbol address
   5832 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5833 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'"
   5834 
   5835 # Handle CRLF in mingw tool chain
   5836 opt_cr=
   5837 case $build_os in
   5838 mingw*)
   5839   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5840   ;;
   5841 esac
   5842 
   5843 # Try without a prefix underscore, then with it.
   5844 for ac_symprfx in "" "_"; do
   5845 
   5846   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5847   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5848 
   5849   # Write the raw and C identifiers.
   5850   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5851     # Fake it for dumpbin and say T for any non-static function
   5852     # and D for any global variable.
   5853     # Also find C++ and __fastcall symbols from MSVC++,
   5854     # which start with @ or ?.
   5855     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5856 "     {last_section=section; section=\$ 3};"\
   5857 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5858 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5859 "     \$ 0!~/External *\|/{next};"\
   5860 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5861 "     {if(hide[section]) next};"\
   5862 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5863 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5864 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5865 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5866 "     ' prfx=^$ac_symprfx"
   5867   else
   5868     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5869   fi
   5870   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5871 
   5872   # Check to see that the pipe works correctly.
   5873   pipe_works=no
   5874 
   5875   rm -f conftest*
   5876   cat > conftest.$ac_ext <<_LT_EOF
   5877 #ifdef __cplusplus
   5878 extern "C" {
   5879 #endif
   5880 char nm_test_var;
   5881 void nm_test_func(void);
   5882 void nm_test_func(void){}
   5883 #ifdef __cplusplus
   5884 }
   5885 #endif
   5886 int main(){nm_test_var='a';nm_test_func();return(0);}
   5887 _LT_EOF
   5888 
   5889   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5890   (eval $ac_compile) 2>&5
   5891   ac_status=$?
   5892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5893   test $ac_status = 0; }; then
   5894     # Now try to grab the symbols.
   5895     nlist=conftest.nm
   5896     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5897   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5898   ac_status=$?
   5899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5900   test $ac_status = 0; } && test -s "$nlist"; then
   5901       # Try sorting and uniquifying the output.
   5902       if sort "$nlist" | uniq > "$nlist"T; then
   5903 	mv -f "$nlist"T "$nlist"
   5904       else
   5905 	rm -f "$nlist"T
   5906       fi
   5907 
   5908       # Make sure that we snagged all the symbols we need.
   5909       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5910 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5911 	  cat <<_LT_EOF > conftest.$ac_ext
   5912 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5913 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5914 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5915    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5916 # define LT_DLSYM_CONST
   5917 #elif defined(__osf__)
   5918 /* This system does not cope well with relocations in const data.  */
   5919 # define LT_DLSYM_CONST
   5920 #else
   5921 # define LT_DLSYM_CONST const
   5922 #endif
   5923 
   5924 #ifdef __cplusplus
   5925 extern "C" {
   5926 #endif
   5927 
   5928 _LT_EOF
   5929 	  # Now generate the symbol file.
   5930 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5931 
   5932 	  cat <<_LT_EOF >> conftest.$ac_ext
   5933 
   5934 /* The mapping between symbol names and symbols.  */
   5935 LT_DLSYM_CONST struct {
   5936   const char *name;
   5937   void       *address;
   5938 }
   5939 lt__PROGRAM__LTX_preloaded_symbols[] =
   5940 {
   5941   { "@PROGRAM@", (void *) 0 },
   5942 _LT_EOF
   5943 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5944 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5945   {0, (void *) 0}
   5946 };
   5947 
   5948 /* This works around a problem in FreeBSD linker */
   5949 #ifdef FREEBSD_WORKAROUND
   5950 static const void *lt_preloaded_setup() {
   5951   return lt__PROGRAM__LTX_preloaded_symbols;
   5952 }
   5953 #endif
   5954 
   5955 #ifdef __cplusplus
   5956 }
   5957 #endif
   5958 _LT_EOF
   5959 	  # Now try linking the two files.
   5960 	  mv conftest.$ac_objext conftstm.$ac_objext
   5961 	  lt_globsym_save_LIBS=$LIBS
   5962 	  lt_globsym_save_CFLAGS=$CFLAGS
   5963 	  LIBS="conftstm.$ac_objext"
   5964 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5965 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5966   (eval $ac_link) 2>&5
   5967   ac_status=$?
   5968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5969   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5970 	    pipe_works=yes
   5971 	  fi
   5972 	  LIBS=$lt_globsym_save_LIBS
   5973 	  CFLAGS=$lt_globsym_save_CFLAGS
   5974 	else
   5975 	  echo "cannot find nm_test_func in $nlist" >&5
   5976 	fi
   5977       else
   5978 	echo "cannot find nm_test_var in $nlist" >&5
   5979       fi
   5980     else
   5981       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5982     fi
   5983   else
   5984     echo "$progname: failed program was:" >&5
   5985     cat conftest.$ac_ext >&5
   5986   fi
   5987   rm -rf conftest* conftst*
   5988 
   5989   # Do not use the global_symbol_pipe unless it works.
   5990   if test "$pipe_works" = yes; then
   5991     break
   5992   else
   5993     lt_cv_sys_global_symbol_pipe=
   5994   fi
   5995 done
   5996 
   5997 fi
   5998 
   5999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6000   lt_cv_sys_global_symbol_to_cdecl=
   6001 fi
   6002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6004 $as_echo "failed" >&6; }
   6005 else
   6006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6007 $as_echo "ok" >&6; }
   6008 fi
   6009 
   6010 # Response file support.
   6011 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6012   nm_file_list_spec='@'
   6013 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6014   nm_file_list_spec='@'
   6015 fi
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6044 $as_echo_n "checking for sysroot... " >&6; }
   6045 
   6046 # Check whether --with-sysroot was given.
   6047 if test "${with_sysroot+set}" = set; then :
   6048   withval=$with_sysroot;
   6049 else
   6050   with_sysroot=no
   6051 fi
   6052 
   6053 
   6054 lt_sysroot=
   6055 case ${with_sysroot} in #(
   6056  yes)
   6057    if test "$GCC" = yes; then
   6058      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6059    fi
   6060    ;; #(
   6061  /*)
   6062    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6063    ;; #(
   6064  no|'')
   6065    ;; #(
   6066  *)
   6067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6068 $as_echo "${with_sysroot}" >&6; }
   6069    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6070    ;;
   6071 esac
   6072 
   6073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6074 $as_echo "${lt_sysroot:-no}" >&6; }
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 # Check whether --enable-libtool-lock was given.
   6081 if test "${enable_libtool_lock+set}" = set; then :
   6082   enableval=$enable_libtool_lock;
   6083 fi
   6084 
   6085 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6086 
   6087 # Some flags need to be propagated to the compiler or linker for good
   6088 # libtool support.
   6089 case $host in
   6090 ia64-*-hpux*)
   6091   # Find out which ABI we are using.
   6092   echo 'int i;' > conftest.$ac_ext
   6093   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6094   (eval $ac_compile) 2>&5
   6095   ac_status=$?
   6096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6097   test $ac_status = 0; }; then
   6098     case `/usr/bin/file conftest.$ac_objext` in
   6099       *ELF-32*)
   6100 	HPUX_IA64_MODE="32"
   6101 	;;
   6102       *ELF-64*)
   6103 	HPUX_IA64_MODE="64"
   6104 	;;
   6105     esac
   6106   fi
   6107   rm -rf conftest*
   6108   ;;
   6109 *-*-irix6*)
   6110   # Find out which ABI we are using.
   6111   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6112   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6113   (eval $ac_compile) 2>&5
   6114   ac_status=$?
   6115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6116   test $ac_status = 0; }; then
   6117     if test "$lt_cv_prog_gnu_ld" = yes; then
   6118       case `/usr/bin/file conftest.$ac_objext` in
   6119 	*32-bit*)
   6120 	  LD="${LD-ld} -melf32bsmip"
   6121 	  ;;
   6122 	*N32*)
   6123 	  LD="${LD-ld} -melf32bmipn32"
   6124 	  ;;
   6125 	*64-bit*)
   6126 	  LD="${LD-ld} -melf64bmip"
   6127 	;;
   6128       esac
   6129     else
   6130       case `/usr/bin/file conftest.$ac_objext` in
   6131 	*32-bit*)
   6132 	  LD="${LD-ld} -32"
   6133 	  ;;
   6134 	*N32*)
   6135 	  LD="${LD-ld} -n32"
   6136 	  ;;
   6137 	*64-bit*)
   6138 	  LD="${LD-ld} -64"
   6139 	  ;;
   6140       esac
   6141     fi
   6142   fi
   6143   rm -rf conftest*
   6144   ;;
   6145 
   6146 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6147 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6148   # Find out which ABI we are using.
   6149   echo 'int i;' > conftest.$ac_ext
   6150   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6151   (eval $ac_compile) 2>&5
   6152   ac_status=$?
   6153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6154   test $ac_status = 0; }; then
   6155     case `/usr/bin/file conftest.o` in
   6156       *32-bit*)
   6157 	case $host in
   6158 	  x86_64-*kfreebsd*-gnu)
   6159 	    LD="${LD-ld} -m elf_i386_fbsd"
   6160 	    ;;
   6161 	  x86_64-*linux*)
   6162 	    LD="${LD-ld} -m elf_i386"
   6163 	    ;;
   6164 	  ppc64-*linux*|powerpc64-*linux*)
   6165 	    LD="${LD-ld} -m elf32ppclinux"
   6166 	    ;;
   6167 	  s390x-*linux*)
   6168 	    LD="${LD-ld} -m elf_s390"
   6169 	    ;;
   6170 	  sparc64-*linux*)
   6171 	    LD="${LD-ld} -m elf32_sparc"
   6172 	    ;;
   6173 	esac
   6174 	;;
   6175       *64-bit*)
   6176 	case $host in
   6177 	  x86_64-*kfreebsd*-gnu)
   6178 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6179 	    ;;
   6180 	  x86_64-*linux*)
   6181 	    LD="${LD-ld} -m elf_x86_64"
   6182 	    ;;
   6183 	  ppc*-*linux*|powerpc*-*linux*)
   6184 	    LD="${LD-ld} -m elf64ppc"
   6185 	    ;;
   6186 	  s390*-*linux*|s390*-*tpf*)
   6187 	    LD="${LD-ld} -m elf64_s390"
   6188 	    ;;
   6189 	  sparc*-*linux*)
   6190 	    LD="${LD-ld} -m elf64_sparc"
   6191 	    ;;
   6192 	esac
   6193 	;;
   6194     esac
   6195   fi
   6196   rm -rf conftest*
   6197   ;;
   6198 
   6199 *-*-sco3.2v5*)
   6200   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6201   SAVE_CFLAGS="$CFLAGS"
   6202   CFLAGS="$CFLAGS -belf"
   6203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6204 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6205 if ${lt_cv_cc_needs_belf+:} false; then :
   6206   $as_echo_n "(cached) " >&6
   6207 else
   6208   ac_ext=c
   6209 ac_cpp='$CPP $CPPFLAGS'
   6210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6213 
   6214      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 
   6217 int
   6218 main ()
   6219 {
   6220 
   6221   ;
   6222   return 0;
   6223 }
   6224 _ACEOF
   6225 if ac_fn_c_try_link "$LINENO"; then :
   6226   lt_cv_cc_needs_belf=yes
   6227 else
   6228   lt_cv_cc_needs_belf=no
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext \
   6231     conftest$ac_exeext conftest.$ac_ext
   6232      ac_ext=c
   6233 ac_cpp='$CPP $CPPFLAGS'
   6234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6237 
   6238 fi
   6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6240 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6241   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6242     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6243     CFLAGS="$SAVE_CFLAGS"
   6244   fi
   6245   ;;
   6246 *-*solaris*)
   6247   # Find out which ABI we are using.
   6248   echo 'int i;' > conftest.$ac_ext
   6249   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6250   (eval $ac_compile) 2>&5
   6251   ac_status=$?
   6252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6253   test $ac_status = 0; }; then
   6254     case `/usr/bin/file conftest.o` in
   6255     *64-bit*)
   6256       case $lt_cv_prog_gnu_ld in
   6257       yes*)
   6258         case $host in
   6259         i?86-*-solaris*)
   6260           LD="${LD-ld} -m elf_x86_64"
   6261           ;;
   6262         sparc*-*-solaris*)
   6263           LD="${LD-ld} -m elf64_sparc"
   6264           ;;
   6265         esac
   6266         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6267         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6268           LD="${LD-ld}_sol2"
   6269         fi
   6270         ;;
   6271       *)
   6272 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6273 	  LD="${LD-ld} -64"
   6274 	fi
   6275 	;;
   6276       esac
   6277       ;;
   6278     esac
   6279   fi
   6280   rm -rf conftest*
   6281   ;;
   6282 esac
   6283 
   6284 need_locks="$enable_libtool_lock"
   6285 
   6286 if test -n "$ac_tool_prefix"; then
   6287   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6288 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6290 $as_echo_n "checking for $ac_word... " >&6; }
   6291 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6292   $as_echo_n "(cached) " >&6
   6293 else
   6294   if test -n "$MANIFEST_TOOL"; then
   6295   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6296 else
   6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6298 for as_dir in $PATH
   6299 do
   6300   IFS=$as_save_IFS
   6301   test -z "$as_dir" && as_dir=.
   6302     for ac_exec_ext in '' $ac_executable_extensions; do
   6303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6304     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6306     break 2
   6307   fi
   6308 done
   6309   done
   6310 IFS=$as_save_IFS
   6311 
   6312 fi
   6313 fi
   6314 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6315 if test -n "$MANIFEST_TOOL"; then
   6316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6317 $as_echo "$MANIFEST_TOOL" >&6; }
   6318 else
   6319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6320 $as_echo "no" >&6; }
   6321 fi
   6322 
   6323 
   6324 fi
   6325 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6326   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6327   # Extract the first word of "mt", so it can be a program name with args.
   6328 set dummy mt; ac_word=$2
   6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6330 $as_echo_n "checking for $ac_word... " >&6; }
   6331 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6332   $as_echo_n "(cached) " >&6
   6333 else
   6334   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6335   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6336 else
   6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6338 for as_dir in $PATH
   6339 do
   6340   IFS=$as_save_IFS
   6341   test -z "$as_dir" && as_dir=.
   6342     for ac_exec_ext in '' $ac_executable_extensions; do
   6343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6344     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6346     break 2
   6347   fi
   6348 done
   6349   done
   6350 IFS=$as_save_IFS
   6351 
   6352 fi
   6353 fi
   6354 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6355 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6357 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6358 else
   6359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6360 $as_echo "no" >&6; }
   6361 fi
   6362 
   6363   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6364     MANIFEST_TOOL=":"
   6365   else
   6366     case $cross_compiling:$ac_tool_warned in
   6367 yes:)
   6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6370 ac_tool_warned=yes ;;
   6371 esac
   6372     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6373   fi
   6374 else
   6375   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6376 fi
   6377 
   6378 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6380 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6381 if ${lt_cv_path_mainfest_tool+:} false; then :
   6382   $as_echo_n "(cached) " >&6
   6383 else
   6384   lt_cv_path_mainfest_tool=no
   6385   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6386   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6387   cat conftest.err >&5
   6388   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6389     lt_cv_path_mainfest_tool=yes
   6390   fi
   6391   rm -f conftest*
   6392 fi
   6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6394 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6395 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6396   MANIFEST_TOOL=:
   6397 fi
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404   case $host_os in
   6405     rhapsody* | darwin*)
   6406     if test -n "$ac_tool_prefix"; then
   6407   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6408 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6410 $as_echo_n "checking for $ac_word... " >&6; }
   6411 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6412   $as_echo_n "(cached) " >&6
   6413 else
   6414   if test -n "$DSYMUTIL"; then
   6415   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6416 else
   6417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6418 for as_dir in $PATH
   6419 do
   6420   IFS=$as_save_IFS
   6421   test -z "$as_dir" && as_dir=.
   6422     for ac_exec_ext in '' $ac_executable_extensions; do
   6423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6424     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6426     break 2
   6427   fi
   6428 done
   6429   done
   6430 IFS=$as_save_IFS
   6431 
   6432 fi
   6433 fi
   6434 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6435 if test -n "$DSYMUTIL"; then
   6436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6437 $as_echo "$DSYMUTIL" >&6; }
   6438 else
   6439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6440 $as_echo "no" >&6; }
   6441 fi
   6442 
   6443 
   6444 fi
   6445 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6446   ac_ct_DSYMUTIL=$DSYMUTIL
   6447   # Extract the first word of "dsymutil", so it can be a program name with args.
   6448 set dummy dsymutil; ac_word=$2
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6450 $as_echo_n "checking for $ac_word... " >&6; }
   6451 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   if test -n "$ac_ct_DSYMUTIL"; then
   6455   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6456 else
   6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6458 for as_dir in $PATH
   6459 do
   6460   IFS=$as_save_IFS
   6461   test -z "$as_dir" && as_dir=.
   6462     for ac_exec_ext in '' $ac_executable_extensions; do
   6463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6464     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6466     break 2
   6467   fi
   6468 done
   6469   done
   6470 IFS=$as_save_IFS
   6471 
   6472 fi
   6473 fi
   6474 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6475 if test -n "$ac_ct_DSYMUTIL"; then
   6476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6477 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6478 else
   6479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6480 $as_echo "no" >&6; }
   6481 fi
   6482 
   6483   if test "x$ac_ct_DSYMUTIL" = x; then
   6484     DSYMUTIL=":"
   6485   else
   6486     case $cross_compiling:$ac_tool_warned in
   6487 yes:)
   6488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6490 ac_tool_warned=yes ;;
   6491 esac
   6492     DSYMUTIL=$ac_ct_DSYMUTIL
   6493   fi
   6494 else
   6495   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6496 fi
   6497 
   6498     if test -n "$ac_tool_prefix"; then
   6499   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6500 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6502 $as_echo_n "checking for $ac_word... " >&6; }
   6503 if ${ac_cv_prog_NMEDIT+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506   if test -n "$NMEDIT"; then
   6507   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6508 else
   6509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6510 for as_dir in $PATH
   6511 do
   6512   IFS=$as_save_IFS
   6513   test -z "$as_dir" && as_dir=.
   6514     for ac_exec_ext in '' $ac_executable_extensions; do
   6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6516     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6518     break 2
   6519   fi
   6520 done
   6521   done
   6522 IFS=$as_save_IFS
   6523 
   6524 fi
   6525 fi
   6526 NMEDIT=$ac_cv_prog_NMEDIT
   6527 if test -n "$NMEDIT"; then
   6528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6529 $as_echo "$NMEDIT" >&6; }
   6530 else
   6531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6532 $as_echo "no" >&6; }
   6533 fi
   6534 
   6535 
   6536 fi
   6537 if test -z "$ac_cv_prog_NMEDIT"; then
   6538   ac_ct_NMEDIT=$NMEDIT
   6539   # Extract the first word of "nmedit", so it can be a program name with args.
   6540 set dummy nmedit; ac_word=$2
   6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6542 $as_echo_n "checking for $ac_word... " >&6; }
   6543 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   if test -n "$ac_ct_NMEDIT"; then
   6547   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6548 else
   6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6550 for as_dir in $PATH
   6551 do
   6552   IFS=$as_save_IFS
   6553   test -z "$as_dir" && as_dir=.
   6554     for ac_exec_ext in '' $ac_executable_extensions; do
   6555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6556     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6558     break 2
   6559   fi
   6560 done
   6561   done
   6562 IFS=$as_save_IFS
   6563 
   6564 fi
   6565 fi
   6566 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6567 if test -n "$ac_ct_NMEDIT"; then
   6568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6569 $as_echo "$ac_ct_NMEDIT" >&6; }
   6570 else
   6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6572 $as_echo "no" >&6; }
   6573 fi
   6574 
   6575   if test "x$ac_ct_NMEDIT" = x; then
   6576     NMEDIT=":"
   6577   else
   6578     case $cross_compiling:$ac_tool_warned in
   6579 yes:)
   6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6582 ac_tool_warned=yes ;;
   6583 esac
   6584     NMEDIT=$ac_ct_NMEDIT
   6585   fi
   6586 else
   6587   NMEDIT="$ac_cv_prog_NMEDIT"
   6588 fi
   6589 
   6590     if test -n "$ac_tool_prefix"; then
   6591   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6592 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6594 $as_echo_n "checking for $ac_word... " >&6; }
   6595 if ${ac_cv_prog_LIPO+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   if test -n "$LIPO"; then
   6599   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6600 else
   6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6602 for as_dir in $PATH
   6603 do
   6604   IFS=$as_save_IFS
   6605   test -z "$as_dir" && as_dir=.
   6606     for ac_exec_ext in '' $ac_executable_extensions; do
   6607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6608     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6610     break 2
   6611   fi
   6612 done
   6613   done
   6614 IFS=$as_save_IFS
   6615 
   6616 fi
   6617 fi
   6618 LIPO=$ac_cv_prog_LIPO
   6619 if test -n "$LIPO"; then
   6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6621 $as_echo "$LIPO" >&6; }
   6622 else
   6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6624 $as_echo "no" >&6; }
   6625 fi
   6626 
   6627 
   6628 fi
   6629 if test -z "$ac_cv_prog_LIPO"; then
   6630   ac_ct_LIPO=$LIPO
   6631   # Extract the first word of "lipo", so it can be a program name with args.
   6632 set dummy lipo; ac_word=$2
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6634 $as_echo_n "checking for $ac_word... " >&6; }
   6635 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   if test -n "$ac_ct_LIPO"; then
   6639   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6640 else
   6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6642 for as_dir in $PATH
   6643 do
   6644   IFS=$as_save_IFS
   6645   test -z "$as_dir" && as_dir=.
   6646     for ac_exec_ext in '' $ac_executable_extensions; do
   6647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6648     ac_cv_prog_ac_ct_LIPO="lipo"
   6649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6650     break 2
   6651   fi
   6652 done
   6653   done
   6654 IFS=$as_save_IFS
   6655 
   6656 fi
   6657 fi
   6658 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6659 if test -n "$ac_ct_LIPO"; then
   6660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6661 $as_echo "$ac_ct_LIPO" >&6; }
   6662 else
   6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6664 $as_echo "no" >&6; }
   6665 fi
   6666 
   6667   if test "x$ac_ct_LIPO" = x; then
   6668     LIPO=":"
   6669   else
   6670     case $cross_compiling:$ac_tool_warned in
   6671 yes:)
   6672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6674 ac_tool_warned=yes ;;
   6675 esac
   6676     LIPO=$ac_ct_LIPO
   6677   fi
   6678 else
   6679   LIPO="$ac_cv_prog_LIPO"
   6680 fi
   6681 
   6682     if test -n "$ac_tool_prefix"; then
   6683   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6684 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6686 $as_echo_n "checking for $ac_word... " >&6; }
   6687 if ${ac_cv_prog_OTOOL+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   if test -n "$OTOOL"; then
   6691   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6692 else
   6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6694 for as_dir in $PATH
   6695 do
   6696   IFS=$as_save_IFS
   6697   test -z "$as_dir" && as_dir=.
   6698     for ac_exec_ext in '' $ac_executable_extensions; do
   6699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6700     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6702     break 2
   6703   fi
   6704 done
   6705   done
   6706 IFS=$as_save_IFS
   6707 
   6708 fi
   6709 fi
   6710 OTOOL=$ac_cv_prog_OTOOL
   6711 if test -n "$OTOOL"; then
   6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6713 $as_echo "$OTOOL" >&6; }
   6714 else
   6715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6716 $as_echo "no" >&6; }
   6717 fi
   6718 
   6719 
   6720 fi
   6721 if test -z "$ac_cv_prog_OTOOL"; then
   6722   ac_ct_OTOOL=$OTOOL
   6723   # Extract the first word of "otool", so it can be a program name with args.
   6724 set dummy otool; ac_word=$2
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6726 $as_echo_n "checking for $ac_word... " >&6; }
   6727 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6728   $as_echo_n "(cached) " >&6
   6729 else
   6730   if test -n "$ac_ct_OTOOL"; then
   6731   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6732 else
   6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6734 for as_dir in $PATH
   6735 do
   6736   IFS=$as_save_IFS
   6737   test -z "$as_dir" && as_dir=.
   6738     for ac_exec_ext in '' $ac_executable_extensions; do
   6739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6740     ac_cv_prog_ac_ct_OTOOL="otool"
   6741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6742     break 2
   6743   fi
   6744 done
   6745   done
   6746 IFS=$as_save_IFS
   6747 
   6748 fi
   6749 fi
   6750 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6751 if test -n "$ac_ct_OTOOL"; then
   6752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6753 $as_echo "$ac_ct_OTOOL" >&6; }
   6754 else
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6756 $as_echo "no" >&6; }
   6757 fi
   6758 
   6759   if test "x$ac_ct_OTOOL" = x; then
   6760     OTOOL=":"
   6761   else
   6762     case $cross_compiling:$ac_tool_warned in
   6763 yes:)
   6764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6766 ac_tool_warned=yes ;;
   6767 esac
   6768     OTOOL=$ac_ct_OTOOL
   6769   fi
   6770 else
   6771   OTOOL="$ac_cv_prog_OTOOL"
   6772 fi
   6773 
   6774     if test -n "$ac_tool_prefix"; then
   6775   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6776 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6778 $as_echo_n "checking for $ac_word... " >&6; }
   6779 if ${ac_cv_prog_OTOOL64+:} false; then :
   6780   $as_echo_n "(cached) " >&6
   6781 else
   6782   if test -n "$OTOOL64"; then
   6783   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6784 else
   6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6786 for as_dir in $PATH
   6787 do
   6788   IFS=$as_save_IFS
   6789   test -z "$as_dir" && as_dir=.
   6790     for ac_exec_ext in '' $ac_executable_extensions; do
   6791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6792     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6794     break 2
   6795   fi
   6796 done
   6797   done
   6798 IFS=$as_save_IFS
   6799 
   6800 fi
   6801 fi
   6802 OTOOL64=$ac_cv_prog_OTOOL64
   6803 if test -n "$OTOOL64"; then
   6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6805 $as_echo "$OTOOL64" >&6; }
   6806 else
   6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6808 $as_echo "no" >&6; }
   6809 fi
   6810 
   6811 
   6812 fi
   6813 if test -z "$ac_cv_prog_OTOOL64"; then
   6814   ac_ct_OTOOL64=$OTOOL64
   6815   # Extract the first word of "otool64", so it can be a program name with args.
   6816 set dummy otool64; ac_word=$2
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6818 $as_echo_n "checking for $ac_word... " >&6; }
   6819 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6820   $as_echo_n "(cached) " >&6
   6821 else
   6822   if test -n "$ac_ct_OTOOL64"; then
   6823   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6824 else
   6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6826 for as_dir in $PATH
   6827 do
   6828   IFS=$as_save_IFS
   6829   test -z "$as_dir" && as_dir=.
   6830     for ac_exec_ext in '' $ac_executable_extensions; do
   6831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6832     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6834     break 2
   6835   fi
   6836 done
   6837   done
   6838 IFS=$as_save_IFS
   6839 
   6840 fi
   6841 fi
   6842 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6843 if test -n "$ac_ct_OTOOL64"; then
   6844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6845 $as_echo "$ac_ct_OTOOL64" >&6; }
   6846 else
   6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6848 $as_echo "no" >&6; }
   6849 fi
   6850 
   6851   if test "x$ac_ct_OTOOL64" = x; then
   6852     OTOOL64=":"
   6853   else
   6854     case $cross_compiling:$ac_tool_warned in
   6855 yes:)
   6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6858 ac_tool_warned=yes ;;
   6859 esac
   6860     OTOOL64=$ac_ct_OTOOL64
   6861   fi
   6862 else
   6863   OTOOL64="$ac_cv_prog_OTOOL64"
   6864 fi
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6893 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6894 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6895   $as_echo_n "(cached) " >&6
   6896 else
   6897   lt_cv_apple_cc_single_mod=no
   6898       if test -z "${LT_MULTI_MODULE}"; then
   6899 	# By default we will add the -single_module flag. You can override
   6900 	# by either setting the environment variable LT_MULTI_MODULE
   6901 	# non-empty at configure time, or by adding -multi_module to the
   6902 	# link flags.
   6903 	rm -rf libconftest.dylib*
   6904 	echo "int foo(void){return 1;}" > conftest.c
   6905 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6906 -dynamiclib -Wl,-single_module conftest.c" >&5
   6907 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6908 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6909         _lt_result=$?
   6910 	# If there is a non-empty error log, and "single_module"
   6911 	# appears in it, assume the flag caused a linker warning
   6912         if test -s conftest.err && $GREP single_module conftest.err; then
   6913 	  cat conftest.err >&5
   6914 	# Otherwise, if the output was created with a 0 exit code from
   6915 	# the compiler, it worked.
   6916 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6917 	  lt_cv_apple_cc_single_mod=yes
   6918 	else
   6919 	  cat conftest.err >&5
   6920 	fi
   6921 	rm -rf libconftest.dylib*
   6922 	rm -f conftest.*
   6923       fi
   6924 fi
   6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6926 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6927 
   6928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6929 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6930 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   lt_cv_ld_exported_symbols_list=no
   6934       save_LDFLAGS=$LDFLAGS
   6935       echo "_main" > conftest.sym
   6936       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 
   6940 int
   6941 main ()
   6942 {
   6943 
   6944   ;
   6945   return 0;
   6946 }
   6947 _ACEOF
   6948 if ac_fn_c_try_link "$LINENO"; then :
   6949   lt_cv_ld_exported_symbols_list=yes
   6950 else
   6951   lt_cv_ld_exported_symbols_list=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext \
   6954     conftest$ac_exeext conftest.$ac_ext
   6955 	LDFLAGS="$save_LDFLAGS"
   6956 
   6957 fi
   6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6959 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6960 
   6961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6962 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6963 if ${lt_cv_ld_force_load+:} false; then :
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   lt_cv_ld_force_load=no
   6967       cat > conftest.c << _LT_EOF
   6968 int forced_loaded() { return 2;}
   6969 _LT_EOF
   6970       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6971       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6972       echo "$AR cru libconftest.a conftest.o" >&5
   6973       $AR cru libconftest.a conftest.o 2>&5
   6974       echo "$RANLIB libconftest.a" >&5
   6975       $RANLIB libconftest.a 2>&5
   6976       cat > conftest.c << _LT_EOF
   6977 int main() { return 0;}
   6978 _LT_EOF
   6979       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6980       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6981       _lt_result=$?
   6982       if test -s conftest.err && $GREP force_load conftest.err; then
   6983 	cat conftest.err >&5
   6984       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   6985 	lt_cv_ld_force_load=yes
   6986       else
   6987 	cat conftest.err >&5
   6988       fi
   6989         rm -f conftest.err libconftest.a conftest conftest.c
   6990         rm -rf conftest.dSYM
   6991 
   6992 fi
   6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   6994 $as_echo "$lt_cv_ld_force_load" >&6; }
   6995     case $host_os in
   6996     rhapsody* | darwin1.[012])
   6997       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6998     darwin1.*)
   6999       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7000     darwin*) # darwin 5.x on
   7001       # if running on 10.5 or later, the deployment target defaults
   7002       # to the OS version, if on x86, and 10.4, the deployment
   7003       # target defaults to 10.4. Don't you love it?
   7004       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7005 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7006 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7007 	10.[012]*)
   7008 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7009 	10.*)
   7010 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7011       esac
   7012     ;;
   7013   esac
   7014     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7015       _lt_dar_single_mod='$single_module'
   7016     fi
   7017     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7018       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7019     else
   7020       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7021     fi
   7022     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7023       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7024     else
   7025       _lt_dsymutil=
   7026     fi
   7027     ;;
   7028   esac
   7029 
   7030 ac_ext=c
   7031 ac_cpp='$CPP $CPPFLAGS'
   7032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7036 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7037 # On Suns, sometimes $CPP names a directory.
   7038 if test -n "$CPP" && test -d "$CPP"; then
   7039   CPP=
   7040 fi
   7041 if test -z "$CPP"; then
   7042   if ${ac_cv_prog_CPP+:} false; then :
   7043   $as_echo_n "(cached) " >&6
   7044 else
   7045       # Double quotes because CPP needs to be expanded
   7046     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7047     do
   7048       ac_preproc_ok=false
   7049 for ac_c_preproc_warn_flag in '' yes
   7050 do
   7051   # Use a header file that comes with gcc, so configuring glibc
   7052   # with a fresh cross-compiler works.
   7053   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7054   # <limits.h> exists even on freestanding compilers.
   7055   # On the NeXT, cc -E runs the code through the compiler's parser,
   7056   # not just through cpp. "Syntax error" is here to catch this case.
   7057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7058 /* end confdefs.h.  */
   7059 #ifdef __STDC__
   7060 # include <limits.h>
   7061 #else
   7062 # include <assert.h>
   7063 #endif
   7064 		     Syntax error
   7065 _ACEOF
   7066 if ac_fn_c_try_cpp "$LINENO"; then :
   7067 
   7068 else
   7069   # Broken: fails on valid input.
   7070 continue
   7071 fi
   7072 rm -f conftest.err conftest.i conftest.$ac_ext
   7073 
   7074   # OK, works on sane cases.  Now check whether nonexistent headers
   7075   # can be detected and how.
   7076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7077 /* end confdefs.h.  */
   7078 #include <ac_nonexistent.h>
   7079 _ACEOF
   7080 if ac_fn_c_try_cpp "$LINENO"; then :
   7081   # Broken: success on invalid input.
   7082 continue
   7083 else
   7084   # Passes both tests.
   7085 ac_preproc_ok=:
   7086 break
   7087 fi
   7088 rm -f conftest.err conftest.i conftest.$ac_ext
   7089 
   7090 done
   7091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7092 rm -f conftest.i conftest.err conftest.$ac_ext
   7093 if $ac_preproc_ok; then :
   7094   break
   7095 fi
   7096 
   7097     done
   7098     ac_cv_prog_CPP=$CPP
   7099 
   7100 fi
   7101   CPP=$ac_cv_prog_CPP
   7102 else
   7103   ac_cv_prog_CPP=$CPP
   7104 fi
   7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7106 $as_echo "$CPP" >&6; }
   7107 ac_preproc_ok=false
   7108 for ac_c_preproc_warn_flag in '' yes
   7109 do
   7110   # Use a header file that comes with gcc, so configuring glibc
   7111   # with a fresh cross-compiler works.
   7112   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7113   # <limits.h> exists even on freestanding compilers.
   7114   # On the NeXT, cc -E runs the code through the compiler's parser,
   7115   # not just through cpp. "Syntax error" is here to catch this case.
   7116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7117 /* end confdefs.h.  */
   7118 #ifdef __STDC__
   7119 # include <limits.h>
   7120 #else
   7121 # include <assert.h>
   7122 #endif
   7123 		     Syntax error
   7124 _ACEOF
   7125 if ac_fn_c_try_cpp "$LINENO"; then :
   7126 
   7127 else
   7128   # Broken: fails on valid input.
   7129 continue
   7130 fi
   7131 rm -f conftest.err conftest.i conftest.$ac_ext
   7132 
   7133   # OK, works on sane cases.  Now check whether nonexistent headers
   7134   # can be detected and how.
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 #include <ac_nonexistent.h>
   7138 _ACEOF
   7139 if ac_fn_c_try_cpp "$LINENO"; then :
   7140   # Broken: success on invalid input.
   7141 continue
   7142 else
   7143   # Passes both tests.
   7144 ac_preproc_ok=:
   7145 break
   7146 fi
   7147 rm -f conftest.err conftest.i conftest.$ac_ext
   7148 
   7149 done
   7150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7151 rm -f conftest.i conftest.err conftest.$ac_ext
   7152 if $ac_preproc_ok; then :
   7153 
   7154 else
   7155   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7157 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7158 See \`config.log' for more details" "$LINENO" 5; }
   7159 fi
   7160 
   7161 ac_ext=c
   7162 ac_cpp='$CPP $CPPFLAGS'
   7163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7166 
   7167 
   7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7169 $as_echo_n "checking for ANSI C header files... " >&6; }
   7170 if ${ac_cv_header_stdc+:} false; then :
   7171   $as_echo_n "(cached) " >&6
   7172 else
   7173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7174 /* end confdefs.h.  */
   7175 #include <stdlib.h>
   7176 #include <stdarg.h>
   7177 #include <string.h>
   7178 #include <float.h>
   7179 
   7180 int
   7181 main ()
   7182 {
   7183 
   7184   ;
   7185   return 0;
   7186 }
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"; then :
   7189   ac_cv_header_stdc=yes
   7190 else
   7191   ac_cv_header_stdc=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7194 
   7195 if test $ac_cv_header_stdc = yes; then
   7196   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 #include <string.h>
   7200 
   7201 _ACEOF
   7202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7203   $EGREP "memchr" >/dev/null 2>&1; then :
   7204 
   7205 else
   7206   ac_cv_header_stdc=no
   7207 fi
   7208 rm -f conftest*
   7209 
   7210 fi
   7211 
   7212 if test $ac_cv_header_stdc = yes; then
   7213   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 #include <stdlib.h>
   7217 
   7218 _ACEOF
   7219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7220   $EGREP "free" >/dev/null 2>&1; then :
   7221 
   7222 else
   7223   ac_cv_header_stdc=no
   7224 fi
   7225 rm -f conftest*
   7226 
   7227 fi
   7228 
   7229 if test $ac_cv_header_stdc = yes; then
   7230   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7231   if test "$cross_compiling" = yes; then :
   7232   :
   7233 else
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 #include <ctype.h>
   7237 #include <stdlib.h>
   7238 #if ((' ' & 0x0FF) == 0x020)
   7239 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7240 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7241 #else
   7242 # define ISLOWER(c) \
   7243 		   (('a' <= (c) && (c) <= 'i') \
   7244 		     || ('j' <= (c) && (c) <= 'r') \
   7245 		     || ('s' <= (c) && (c) <= 'z'))
   7246 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7247 #endif
   7248 
   7249 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7250 int
   7251 main ()
   7252 {
   7253   int i;
   7254   for (i = 0; i < 256; i++)
   7255     if (XOR (islower (i), ISLOWER (i))
   7256 	|| toupper (i) != TOUPPER (i))
   7257       return 2;
   7258   return 0;
   7259 }
   7260 _ACEOF
   7261 if ac_fn_c_try_run "$LINENO"; then :
   7262 
   7263 else
   7264   ac_cv_header_stdc=no
   7265 fi
   7266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7267   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7268 fi
   7269 
   7270 fi
   7271 fi
   7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7273 $as_echo "$ac_cv_header_stdc" >&6; }
   7274 if test $ac_cv_header_stdc = yes; then
   7275 
   7276 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7277 
   7278 fi
   7279 
   7280 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7281 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7282 		  inttypes.h stdint.h unistd.h
   7283 do :
   7284   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7285 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7286 "
   7287 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7288   cat >>confdefs.h <<_ACEOF
   7289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7290 _ACEOF
   7291 
   7292 fi
   7293 
   7294 done
   7295 
   7296 
   7297 for ac_header in dlfcn.h
   7298 do :
   7299   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7300 "
   7301 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7302   cat >>confdefs.h <<_ACEOF
   7303 #define HAVE_DLFCN_H 1
   7304 _ACEOF
   7305 
   7306 fi
   7307 
   7308 done
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 # Set options
   7315 
   7316 
   7317 
   7318         enable_dlopen=no
   7319 
   7320 
   7321   enable_win32_dll=no
   7322 
   7323 
   7324             # Check whether --enable-shared was given.
   7325 if test "${enable_shared+set}" = set; then :
   7326   enableval=$enable_shared; p=${PACKAGE-default}
   7327     case $enableval in
   7328     yes) enable_shared=yes ;;
   7329     no) enable_shared=no ;;
   7330     *)
   7331       enable_shared=no
   7332       # Look at the argument we got.  We use all the common list separators.
   7333       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7334       for pkg in $enableval; do
   7335 	IFS="$lt_save_ifs"
   7336 	if test "X$pkg" = "X$p"; then
   7337 	  enable_shared=yes
   7338 	fi
   7339       done
   7340       IFS="$lt_save_ifs"
   7341       ;;
   7342     esac
   7343 else
   7344   enable_shared=yes
   7345 fi
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355   # Check whether --enable-static was given.
   7356 if test "${enable_static+set}" = set; then :
   7357   enableval=$enable_static; p=${PACKAGE-default}
   7358     case $enableval in
   7359     yes) enable_static=yes ;;
   7360     no) enable_static=no ;;
   7361     *)
   7362      enable_static=no
   7363       # Look at the argument we got.  We use all the common list separators.
   7364       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7365       for pkg in $enableval; do
   7366 	IFS="$lt_save_ifs"
   7367 	if test "X$pkg" = "X$p"; then
   7368 	  enable_static=yes
   7369 	fi
   7370       done
   7371       IFS="$lt_save_ifs"
   7372       ;;
   7373     esac
   7374 else
   7375   enable_static=yes
   7376 fi
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 # Check whether --with-pic was given.
   7388 if test "${with_pic+set}" = set; then :
   7389   withval=$with_pic; lt_p=${PACKAGE-default}
   7390     case $withval in
   7391     yes|no) pic_mode=$withval ;;
   7392     *)
   7393       pic_mode=default
   7394       # Look at the argument we got.  We use all the common list separators.
   7395       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7396       for lt_pkg in $withval; do
   7397 	IFS="$lt_save_ifs"
   7398 	if test "X$lt_pkg" = "X$lt_p"; then
   7399 	  pic_mode=yes
   7400 	fi
   7401       done
   7402       IFS="$lt_save_ifs"
   7403       ;;
   7404     esac
   7405 else
   7406   pic_mode=default
   7407 fi
   7408 
   7409 
   7410 test -z "$pic_mode" && pic_mode=default
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418   # Check whether --enable-fast-install was given.
   7419 if test "${enable_fast_install+set}" = set; then :
   7420   enableval=$enable_fast_install; p=${PACKAGE-default}
   7421     case $enableval in
   7422     yes) enable_fast_install=yes ;;
   7423     no) enable_fast_install=no ;;
   7424     *)
   7425       enable_fast_install=no
   7426       # Look at the argument we got.  We use all the common list separators.
   7427       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7428       for pkg in $enableval; do
   7429 	IFS="$lt_save_ifs"
   7430 	if test "X$pkg" = "X$p"; then
   7431 	  enable_fast_install=yes
   7432 	fi
   7433       done
   7434       IFS="$lt_save_ifs"
   7435       ;;
   7436     esac
   7437 else
   7438   enable_fast_install=yes
   7439 fi
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 # This can be used to rebuild libtool when needed
   7452 LIBTOOL_DEPS="$ltmain"
   7453 
   7454 # Always use our own libtool.
   7455 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 test -z "$LN_S" && LN_S="ln -s"
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 if test -n "${ZSH_VERSION+set}" ; then
   7502    setopt NO_GLOB_SUBST
   7503 fi
   7504 
   7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7506 $as_echo_n "checking for objdir... " >&6; }
   7507 if ${lt_cv_objdir+:} false; then :
   7508   $as_echo_n "(cached) " >&6
   7509 else
   7510   rm -f .libs 2>/dev/null
   7511 mkdir .libs 2>/dev/null
   7512 if test -d .libs; then
   7513   lt_cv_objdir=.libs
   7514 else
   7515   # MS-DOS does not allow filenames that begin with a dot.
   7516   lt_cv_objdir=_libs
   7517 fi
   7518 rmdir .libs 2>/dev/null
   7519 fi
   7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7521 $as_echo "$lt_cv_objdir" >&6; }
   7522 objdir=$lt_cv_objdir
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 cat >>confdefs.h <<_ACEOF
   7529 #define LT_OBJDIR "$lt_cv_objdir/"
   7530 _ACEOF
   7531 
   7532 
   7533 
   7534 
   7535 case $host_os in
   7536 aix3*)
   7537   # AIX sometimes has problems with the GCC collect2 program.  For some
   7538   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7539   # vanish in a puff of smoke.
   7540   if test "X${COLLECT_NAMES+set}" != Xset; then
   7541     COLLECT_NAMES=
   7542     export COLLECT_NAMES
   7543   fi
   7544   ;;
   7545 esac
   7546 
   7547 # Global variables:
   7548 ofile=libtool
   7549 can_build_shared=yes
   7550 
   7551 # All known linkers require a `.a' archive for static linking (except MSVC,
   7552 # which needs '.lib').
   7553 libext=a
   7554 
   7555 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7556 
   7557 old_CC="$CC"
   7558 old_CFLAGS="$CFLAGS"
   7559 
   7560 # Set sane defaults for various variables
   7561 test -z "$CC" && CC=cc
   7562 test -z "$LTCC" && LTCC=$CC
   7563 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7564 test -z "$LD" && LD=ld
   7565 test -z "$ac_objext" && ac_objext=o
   7566 
   7567 for cc_temp in $compiler""; do
   7568   case $cc_temp in
   7569     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7570     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7571     \-*) ;;
   7572     *) break;;
   7573   esac
   7574 done
   7575 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7576 
   7577 
   7578 # Only perform the check for file, if the check method requires it
   7579 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7580 case $deplibs_check_method in
   7581 file_magic*)
   7582   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7584 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7585 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   case $MAGIC_CMD in
   7589 [\\/*] |  ?:[\\/]*)
   7590   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7591   ;;
   7592 *)
   7593   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7594   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7595   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7596   for ac_dir in $ac_dummy; do
   7597     IFS="$lt_save_ifs"
   7598     test -z "$ac_dir" && ac_dir=.
   7599     if test -f $ac_dir/${ac_tool_prefix}file; then
   7600       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7601       if test -n "$file_magic_test_file"; then
   7602 	case $deplibs_check_method in
   7603 	"file_magic "*)
   7604 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7605 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7606 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7607 	    $EGREP "$file_magic_regex" > /dev/null; then
   7608 	    :
   7609 	  else
   7610 	    cat <<_LT_EOF 1>&2
   7611 
   7612 *** Warning: the command libtool uses to detect shared libraries,
   7613 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7614 *** The result is that libtool may fail to recognize shared libraries
   7615 *** as such.  This will affect the creation of libtool libraries that
   7616 *** depend on shared libraries, but programs linked with such libtool
   7617 *** libraries will work regardless of this problem.  Nevertheless, you
   7618 *** may want to report the problem to your system manager and/or to
   7619 *** bug-libtool@gnu.org
   7620 
   7621 _LT_EOF
   7622 	  fi ;;
   7623 	esac
   7624       fi
   7625       break
   7626     fi
   7627   done
   7628   IFS="$lt_save_ifs"
   7629   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7630   ;;
   7631 esac
   7632 fi
   7633 
   7634 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7635 if test -n "$MAGIC_CMD"; then
   7636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7637 $as_echo "$MAGIC_CMD" >&6; }
   7638 else
   7639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7640 $as_echo "no" >&6; }
   7641 fi
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7648   if test -n "$ac_tool_prefix"; then
   7649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7650 $as_echo_n "checking for file... " >&6; }
   7651 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7652   $as_echo_n "(cached) " >&6
   7653 else
   7654   case $MAGIC_CMD in
   7655 [\\/*] |  ?:[\\/]*)
   7656   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7657   ;;
   7658 *)
   7659   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7660   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7661   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7662   for ac_dir in $ac_dummy; do
   7663     IFS="$lt_save_ifs"
   7664     test -z "$ac_dir" && ac_dir=.
   7665     if test -f $ac_dir/file; then
   7666       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7667       if test -n "$file_magic_test_file"; then
   7668 	case $deplibs_check_method in
   7669 	"file_magic "*)
   7670 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7671 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7672 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7673 	    $EGREP "$file_magic_regex" > /dev/null; then
   7674 	    :
   7675 	  else
   7676 	    cat <<_LT_EOF 1>&2
   7677 
   7678 *** Warning: the command libtool uses to detect shared libraries,
   7679 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7680 *** The result is that libtool may fail to recognize shared libraries
   7681 *** as such.  This will affect the creation of libtool libraries that
   7682 *** depend on shared libraries, but programs linked with such libtool
   7683 *** libraries will work regardless of this problem.  Nevertheless, you
   7684 *** may want to report the problem to your system manager and/or to
   7685 *** bug-libtool@gnu.org
   7686 
   7687 _LT_EOF
   7688 	  fi ;;
   7689 	esac
   7690       fi
   7691       break
   7692     fi
   7693   done
   7694   IFS="$lt_save_ifs"
   7695   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7696   ;;
   7697 esac
   7698 fi
   7699 
   7700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7701 if test -n "$MAGIC_CMD"; then
   7702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7703 $as_echo "$MAGIC_CMD" >&6; }
   7704 else
   7705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7706 $as_echo "no" >&6; }
   7707 fi
   7708 
   7709 
   7710   else
   7711     MAGIC_CMD=:
   7712   fi
   7713 fi
   7714 
   7715   fi
   7716   ;;
   7717 esac
   7718 
   7719 # Use C for the default configuration in the libtool script
   7720 
   7721 lt_save_CC="$CC"
   7722 ac_ext=c
   7723 ac_cpp='$CPP $CPPFLAGS'
   7724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7727 
   7728 
   7729 # Source file extension for C test sources.
   7730 ac_ext=c
   7731 
   7732 # Object file extension for compiled C test sources.
   7733 objext=o
   7734 objext=$objext
   7735 
   7736 # Code to be used in simple compile tests
   7737 lt_simple_compile_test_code="int some_variable = 0;"
   7738 
   7739 # Code to be used in simple link tests
   7740 lt_simple_link_test_code='int main(){return(0);}'
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 # If no C compiler was specified, use CC.
   7749 LTCC=${LTCC-"$CC"}
   7750 
   7751 # If no C compiler flags were specified, use CFLAGS.
   7752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7753 
   7754 # Allow CC to be a program name with arguments.
   7755 compiler=$CC
   7756 
   7757 # Save the default compiler, since it gets overwritten when the other
   7758 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7759 compiler_DEFAULT=$CC
   7760 
   7761 # save warnings/boilerplate of simple test code
   7762 ac_outfile=conftest.$ac_objext
   7763 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7764 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7765 _lt_compiler_boilerplate=`cat conftest.err`
   7766 $RM conftest*
   7767 
   7768 ac_outfile=conftest.$ac_objext
   7769 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7770 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7771 _lt_linker_boilerplate=`cat conftest.err`
   7772 $RM -r conftest*
   7773 
   7774 
   7775 if test -n "$compiler"; then
   7776 
   7777 lt_prog_compiler_no_builtin_flag=
   7778 
   7779 if test "$GCC" = yes; then
   7780   case $cc_basename in
   7781   nvcc*)
   7782     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7783   *)
   7784     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7785   esac
   7786 
   7787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7788 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7789 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7790   $as_echo_n "(cached) " >&6
   7791 else
   7792   lt_cv_prog_compiler_rtti_exceptions=no
   7793    ac_outfile=conftest.$ac_objext
   7794    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7795    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7796    # Insert the option either (1) after the last *FLAGS variable, or
   7797    # (2) before a word containing "conftest.", or (3) at the end.
   7798    # Note that $ac_compile itself does not contain backslashes and begins
   7799    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7800    # The option is referenced via a variable to avoid confusing sed.
   7801    lt_compile=`echo "$ac_compile" | $SED \
   7802    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7803    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7804    -e 's:$: $lt_compiler_flag:'`
   7805    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7806    (eval "$lt_compile" 2>conftest.err)
   7807    ac_status=$?
   7808    cat conftest.err >&5
   7809    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7810    if (exit $ac_status) && test -s "$ac_outfile"; then
   7811      # The compiler can only warn and ignore the option if not recognized
   7812      # So say no if there are warnings other than the usual output.
   7813      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7814      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7815      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7816        lt_cv_prog_compiler_rtti_exceptions=yes
   7817      fi
   7818    fi
   7819    $RM conftest*
   7820 
   7821 fi
   7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7823 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7824 
   7825 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7826     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7827 else
   7828     :
   7829 fi
   7830 
   7831 fi
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838   lt_prog_compiler_wl=
   7839 lt_prog_compiler_pic=
   7840 lt_prog_compiler_static=
   7841 
   7842 
   7843   if test "$GCC" = yes; then
   7844     lt_prog_compiler_wl='-Wl,'
   7845     lt_prog_compiler_static='-static'
   7846 
   7847     case $host_os in
   7848       aix*)
   7849       # All AIX code is PIC.
   7850       if test "$host_cpu" = ia64; then
   7851 	# AIX 5 now supports IA64 processor
   7852 	lt_prog_compiler_static='-Bstatic'
   7853       fi
   7854       ;;
   7855 
   7856     amigaos*)
   7857       case $host_cpu in
   7858       powerpc)
   7859             # see comment about AmigaOS4 .so support
   7860             lt_prog_compiler_pic='-fPIC'
   7861         ;;
   7862       m68k)
   7863             # FIXME: we need at least 68020 code to build shared libraries, but
   7864             # adding the `-m68020' flag to GCC prevents building anything better,
   7865             # like `-m68040'.
   7866             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7867         ;;
   7868       esac
   7869       ;;
   7870 
   7871     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7872       # PIC is the default for these OSes.
   7873       ;;
   7874 
   7875     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7876       # This hack is so that the source file can tell whether it is being
   7877       # built for inclusion in a dll (and should export symbols for example).
   7878       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7879       # (--disable-auto-import) libraries
   7880       lt_prog_compiler_pic='-DDLL_EXPORT'
   7881       ;;
   7882 
   7883     darwin* | rhapsody*)
   7884       # PIC is the default on this platform
   7885       # Common symbols not allowed in MH_DYLIB files
   7886       lt_prog_compiler_pic='-fno-common'
   7887       ;;
   7888 
   7889     haiku*)
   7890       # PIC is the default for Haiku.
   7891       # The "-static" flag exists, but is broken.
   7892       lt_prog_compiler_static=
   7893       ;;
   7894 
   7895     hpux*)
   7896       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7897       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7898       # sets the default TLS model and affects inlining.
   7899       case $host_cpu in
   7900       hppa*64*)
   7901 	# +Z the default
   7902 	;;
   7903       *)
   7904 	lt_prog_compiler_pic='-fPIC'
   7905 	;;
   7906       esac
   7907       ;;
   7908 
   7909     interix[3-9]*)
   7910       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7911       # Instead, we relocate shared libraries at runtime.
   7912       ;;
   7913 
   7914     msdosdjgpp*)
   7915       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7916       # on systems that don't support them.
   7917       lt_prog_compiler_can_build_shared=no
   7918       enable_shared=no
   7919       ;;
   7920 
   7921     *nto* | *qnx*)
   7922       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7923       # it will coredump.
   7924       lt_prog_compiler_pic='-fPIC -shared'
   7925       ;;
   7926 
   7927     sysv4*MP*)
   7928       if test -d /usr/nec; then
   7929 	lt_prog_compiler_pic=-Kconform_pic
   7930       fi
   7931       ;;
   7932 
   7933     *)
   7934       lt_prog_compiler_pic='-fPIC'
   7935       ;;
   7936     esac
   7937 
   7938     case $cc_basename in
   7939     nvcc*) # Cuda Compiler Driver 2.2
   7940       lt_prog_compiler_wl='-Xlinker '
   7941       if test -n "$lt_prog_compiler_pic"; then
   7942         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7943       fi
   7944       ;;
   7945     esac
   7946   else
   7947     # PORTME Check for flag to pass linker flags through the system compiler.
   7948     case $host_os in
   7949     aix*)
   7950       lt_prog_compiler_wl='-Wl,'
   7951       if test "$host_cpu" = ia64; then
   7952 	# AIX 5 now supports IA64 processor
   7953 	lt_prog_compiler_static='-Bstatic'
   7954       else
   7955 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7956       fi
   7957       ;;
   7958 
   7959     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7960       # This hack is so that the source file can tell whether it is being
   7961       # built for inclusion in a dll (and should export symbols for example).
   7962       lt_prog_compiler_pic='-DDLL_EXPORT'
   7963       ;;
   7964 
   7965     hpux9* | hpux10* | hpux11*)
   7966       lt_prog_compiler_wl='-Wl,'
   7967       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7968       # not for PA HP-UX.
   7969       case $host_cpu in
   7970       hppa*64*|ia64*)
   7971 	# +Z the default
   7972 	;;
   7973       *)
   7974 	lt_prog_compiler_pic='+Z'
   7975 	;;
   7976       esac
   7977       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7978       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7979       ;;
   7980 
   7981     irix5* | irix6* | nonstopux*)
   7982       lt_prog_compiler_wl='-Wl,'
   7983       # PIC (with -KPIC) is the default.
   7984       lt_prog_compiler_static='-non_shared'
   7985       ;;
   7986 
   7987     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7988       case $cc_basename in
   7989       # old Intel for x86_64 which still supported -KPIC.
   7990       ecc*)
   7991 	lt_prog_compiler_wl='-Wl,'
   7992 	lt_prog_compiler_pic='-KPIC'
   7993 	lt_prog_compiler_static='-static'
   7994         ;;
   7995       # icc used to be incompatible with GCC.
   7996       # ICC 10 doesn't accept -KPIC any more.
   7997       icc* | ifort*)
   7998 	lt_prog_compiler_wl='-Wl,'
   7999 	lt_prog_compiler_pic='-fPIC'
   8000 	lt_prog_compiler_static='-static'
   8001         ;;
   8002       # Lahey Fortran 8.1.
   8003       lf95*)
   8004 	lt_prog_compiler_wl='-Wl,'
   8005 	lt_prog_compiler_pic='--shared'
   8006 	lt_prog_compiler_static='--static'
   8007 	;;
   8008       nagfor*)
   8009 	# NAG Fortran compiler
   8010 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8011 	lt_prog_compiler_pic='-PIC'
   8012 	lt_prog_compiler_static='-Bstatic'
   8013 	;;
   8014       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8015         # Portland Group compilers (*not* the Pentium gcc compiler,
   8016 	# which looks to be a dead project)
   8017 	lt_prog_compiler_wl='-Wl,'
   8018 	lt_prog_compiler_pic='-fpic'
   8019 	lt_prog_compiler_static='-Bstatic'
   8020         ;;
   8021       ccc*)
   8022         lt_prog_compiler_wl='-Wl,'
   8023         # All Alpha code is PIC.
   8024         lt_prog_compiler_static='-non_shared'
   8025         ;;
   8026       xl* | bgxl* | bgf* | mpixl*)
   8027 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8028 	lt_prog_compiler_wl='-Wl,'
   8029 	lt_prog_compiler_pic='-qpic'
   8030 	lt_prog_compiler_static='-qstaticlink'
   8031 	;;
   8032       *)
   8033 	case `$CC -V 2>&1 | sed 5q` in
   8034 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8035 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8036 	  lt_prog_compiler_pic='-KPIC'
   8037 	  lt_prog_compiler_static='-Bstatic'
   8038 	  lt_prog_compiler_wl=''
   8039 	  ;;
   8040 	*Sun\ F* | *Sun*Fortran*)
   8041 	  lt_prog_compiler_pic='-KPIC'
   8042 	  lt_prog_compiler_static='-Bstatic'
   8043 	  lt_prog_compiler_wl='-Qoption ld '
   8044 	  ;;
   8045 	*Sun\ C*)
   8046 	  # Sun C 5.9
   8047 	  lt_prog_compiler_pic='-KPIC'
   8048 	  lt_prog_compiler_static='-Bstatic'
   8049 	  lt_prog_compiler_wl='-Wl,'
   8050 	  ;;
   8051         *Intel*\ [CF]*Compiler*)
   8052 	  lt_prog_compiler_wl='-Wl,'
   8053 	  lt_prog_compiler_pic='-fPIC'
   8054 	  lt_prog_compiler_static='-static'
   8055 	  ;;
   8056 	*Portland\ Group*)
   8057 	  lt_prog_compiler_wl='-Wl,'
   8058 	  lt_prog_compiler_pic='-fpic'
   8059 	  lt_prog_compiler_static='-Bstatic'
   8060 	  ;;
   8061 	esac
   8062 	;;
   8063       esac
   8064       ;;
   8065 
   8066     newsos6)
   8067       lt_prog_compiler_pic='-KPIC'
   8068       lt_prog_compiler_static='-Bstatic'
   8069       ;;
   8070 
   8071     *nto* | *qnx*)
   8072       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8073       # it will coredump.
   8074       lt_prog_compiler_pic='-fPIC -shared'
   8075       ;;
   8076 
   8077     osf3* | osf4* | osf5*)
   8078       lt_prog_compiler_wl='-Wl,'
   8079       # All OSF/1 code is PIC.
   8080       lt_prog_compiler_static='-non_shared'
   8081       ;;
   8082 
   8083     rdos*)
   8084       lt_prog_compiler_static='-non_shared'
   8085       ;;
   8086 
   8087     solaris*)
   8088       lt_prog_compiler_pic='-KPIC'
   8089       lt_prog_compiler_static='-Bstatic'
   8090       case $cc_basename in
   8091       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8092 	lt_prog_compiler_wl='-Qoption ld ';;
   8093       *)
   8094 	lt_prog_compiler_wl='-Wl,';;
   8095       esac
   8096       ;;
   8097 
   8098     sunos4*)
   8099       lt_prog_compiler_wl='-Qoption ld '
   8100       lt_prog_compiler_pic='-PIC'
   8101       lt_prog_compiler_static='-Bstatic'
   8102       ;;
   8103 
   8104     sysv4 | sysv4.2uw2* | sysv4.3*)
   8105       lt_prog_compiler_wl='-Wl,'
   8106       lt_prog_compiler_pic='-KPIC'
   8107       lt_prog_compiler_static='-Bstatic'
   8108       ;;
   8109 
   8110     sysv4*MP*)
   8111       if test -d /usr/nec ;then
   8112 	lt_prog_compiler_pic='-Kconform_pic'
   8113 	lt_prog_compiler_static='-Bstatic'
   8114       fi
   8115       ;;
   8116 
   8117     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8118       lt_prog_compiler_wl='-Wl,'
   8119       lt_prog_compiler_pic='-KPIC'
   8120       lt_prog_compiler_static='-Bstatic'
   8121       ;;
   8122 
   8123     unicos*)
   8124       lt_prog_compiler_wl='-Wl,'
   8125       lt_prog_compiler_can_build_shared=no
   8126       ;;
   8127 
   8128     uts4*)
   8129       lt_prog_compiler_pic='-pic'
   8130       lt_prog_compiler_static='-Bstatic'
   8131       ;;
   8132 
   8133     *)
   8134       lt_prog_compiler_can_build_shared=no
   8135       ;;
   8136     esac
   8137   fi
   8138 
   8139 case $host_os in
   8140   # For platforms which do not support PIC, -DPIC is meaningless:
   8141   *djgpp*)
   8142     lt_prog_compiler_pic=
   8143     ;;
   8144   *)
   8145     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8146     ;;
   8147 esac
   8148 
   8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8150 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8151 if ${lt_cv_prog_compiler_pic+:} false; then :
   8152   $as_echo_n "(cached) " >&6
   8153 else
   8154   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8155 fi
   8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8157 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8158 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8159 
   8160 #
   8161 # Check to make sure the PIC flag actually works.
   8162 #
   8163 if test -n "$lt_prog_compiler_pic"; then
   8164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8165 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8166 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8167   $as_echo_n "(cached) " >&6
   8168 else
   8169   lt_cv_prog_compiler_pic_works=no
   8170    ac_outfile=conftest.$ac_objext
   8171    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8172    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8173    # Insert the option either (1) after the last *FLAGS variable, or
   8174    # (2) before a word containing "conftest.", or (3) at the end.
   8175    # Note that $ac_compile itself does not contain backslashes and begins
   8176    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8177    # The option is referenced via a variable to avoid confusing sed.
   8178    lt_compile=`echo "$ac_compile" | $SED \
   8179    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8180    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8181    -e 's:$: $lt_compiler_flag:'`
   8182    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8183    (eval "$lt_compile" 2>conftest.err)
   8184    ac_status=$?
   8185    cat conftest.err >&5
   8186    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8187    if (exit $ac_status) && test -s "$ac_outfile"; then
   8188      # The compiler can only warn and ignore the option if not recognized
   8189      # So say no if there are warnings other than the usual output.
   8190      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8191      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8192      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8193        lt_cv_prog_compiler_pic_works=yes
   8194      fi
   8195    fi
   8196    $RM conftest*
   8197 
   8198 fi
   8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8200 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8201 
   8202 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8203     case $lt_prog_compiler_pic in
   8204      "" | " "*) ;;
   8205      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8206      esac
   8207 else
   8208     lt_prog_compiler_pic=
   8209      lt_prog_compiler_can_build_shared=no
   8210 fi
   8211 
   8212 fi
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 #
   8225 # Check to make sure the static flag actually works.
   8226 #
   8227 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8229 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8230 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8231   $as_echo_n "(cached) " >&6
   8232 else
   8233   lt_cv_prog_compiler_static_works=no
   8234    save_LDFLAGS="$LDFLAGS"
   8235    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8236    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8237    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8238      # The linker can only warn and ignore the option if not recognized
   8239      # So say no if there are warnings
   8240      if test -s conftest.err; then
   8241        # Append any errors to the config.log.
   8242        cat conftest.err 1>&5
   8243        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8244        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8245        if diff conftest.exp conftest.er2 >/dev/null; then
   8246          lt_cv_prog_compiler_static_works=yes
   8247        fi
   8248      else
   8249        lt_cv_prog_compiler_static_works=yes
   8250      fi
   8251    fi
   8252    $RM -r conftest*
   8253    LDFLAGS="$save_LDFLAGS"
   8254 
   8255 fi
   8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8257 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8258 
   8259 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8260     :
   8261 else
   8262     lt_prog_compiler_static=
   8263 fi
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8272 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8273 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8274   $as_echo_n "(cached) " >&6
   8275 else
   8276   lt_cv_prog_compiler_c_o=no
   8277    $RM -r conftest 2>/dev/null
   8278    mkdir conftest
   8279    cd conftest
   8280    mkdir out
   8281    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8282 
   8283    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8284    # Insert the option either (1) after the last *FLAGS variable, or
   8285    # (2) before a word containing "conftest.", or (3) at the end.
   8286    # Note that $ac_compile itself does not contain backslashes and begins
   8287    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8288    lt_compile=`echo "$ac_compile" | $SED \
   8289    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8290    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8291    -e 's:$: $lt_compiler_flag:'`
   8292    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8293    (eval "$lt_compile" 2>out/conftest.err)
   8294    ac_status=$?
   8295    cat out/conftest.err >&5
   8296    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8297    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8298    then
   8299      # The compiler can only warn and ignore the option if not recognized
   8300      # So say no if there are warnings
   8301      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8302      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8303      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8304        lt_cv_prog_compiler_c_o=yes
   8305      fi
   8306    fi
   8307    chmod u+w . 2>&5
   8308    $RM conftest*
   8309    # SGI C++ compiler will create directory out/ii_files/ for
   8310    # template instantiation
   8311    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8312    $RM out/* && rmdir out
   8313    cd ..
   8314    $RM -r conftest
   8315    $RM conftest*
   8316 
   8317 fi
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8319 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8327 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8328 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8329   $as_echo_n "(cached) " >&6
   8330 else
   8331   lt_cv_prog_compiler_c_o=no
   8332    $RM -r conftest 2>/dev/null
   8333    mkdir conftest
   8334    cd conftest
   8335    mkdir out
   8336    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8337 
   8338    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8339    # Insert the option either (1) after the last *FLAGS variable, or
   8340    # (2) before a word containing "conftest.", or (3) at the end.
   8341    # Note that $ac_compile itself does not contain backslashes and begins
   8342    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8343    lt_compile=`echo "$ac_compile" | $SED \
   8344    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8345    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8346    -e 's:$: $lt_compiler_flag:'`
   8347    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8348    (eval "$lt_compile" 2>out/conftest.err)
   8349    ac_status=$?
   8350    cat out/conftest.err >&5
   8351    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8352    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8353    then
   8354      # The compiler can only warn and ignore the option if not recognized
   8355      # So say no if there are warnings
   8356      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8357      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8358      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8359        lt_cv_prog_compiler_c_o=yes
   8360      fi
   8361    fi
   8362    chmod u+w . 2>&5
   8363    $RM conftest*
   8364    # SGI C++ compiler will create directory out/ii_files/ for
   8365    # template instantiation
   8366    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8367    $RM out/* && rmdir out
   8368    cd ..
   8369    $RM -r conftest
   8370    $RM conftest*
   8371 
   8372 fi
   8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8374 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8375 
   8376 
   8377 
   8378 
   8379 hard_links="nottested"
   8380 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8381   # do not overwrite the value of need_locks provided by the user
   8382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8383 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8384   hard_links=yes
   8385   $RM conftest*
   8386   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8387   touch conftest.a
   8388   ln conftest.a conftest.b 2>&5 || hard_links=no
   8389   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8391 $as_echo "$hard_links" >&6; }
   8392   if test "$hard_links" = no; then
   8393     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8394 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8395     need_locks=warn
   8396   fi
   8397 else
   8398   need_locks=no
   8399 fi
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8407 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8408 
   8409   runpath_var=
   8410   allow_undefined_flag=
   8411   always_export_symbols=no
   8412   archive_cmds=
   8413   archive_expsym_cmds=
   8414   compiler_needs_object=no
   8415   enable_shared_with_static_runtimes=no
   8416   export_dynamic_flag_spec=
   8417   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8418   hardcode_automatic=no
   8419   hardcode_direct=no
   8420   hardcode_direct_absolute=no
   8421   hardcode_libdir_flag_spec=
   8422   hardcode_libdir_separator=
   8423   hardcode_minus_L=no
   8424   hardcode_shlibpath_var=unsupported
   8425   inherit_rpath=no
   8426   link_all_deplibs=unknown
   8427   module_cmds=
   8428   module_expsym_cmds=
   8429   old_archive_from_new_cmds=
   8430   old_archive_from_expsyms_cmds=
   8431   thread_safe_flag_spec=
   8432   whole_archive_flag_spec=
   8433   # include_expsyms should be a list of space-separated symbols to be *always*
   8434   # included in the symbol list
   8435   include_expsyms=
   8436   # exclude_expsyms can be an extended regexp of symbols to exclude
   8437   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8438   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8439   # as well as any symbol that contains `d'.
   8440   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8441   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8442   # platforms (ab)use it in PIC code, but their linkers get confused if
   8443   # the symbol is explicitly referenced.  Since portable code cannot
   8444   # rely on this symbol name, it's probably fine to never include it in
   8445   # preloaded symbol tables.
   8446   # Exclude shared library initialization/finalization symbols.
   8447   extract_expsyms_cmds=
   8448 
   8449   case $host_os in
   8450   cygwin* | mingw* | pw32* | cegcc*)
   8451     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8452     # When not using gcc, we currently assume that we are using
   8453     # Microsoft Visual C++.
   8454     if test "$GCC" != yes; then
   8455       with_gnu_ld=no
   8456     fi
   8457     ;;
   8458   interix*)
   8459     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8460     with_gnu_ld=yes
   8461     ;;
   8462   openbsd*)
   8463     with_gnu_ld=no
   8464     ;;
   8465   esac
   8466 
   8467   ld_shlibs=yes
   8468 
   8469   # On some targets, GNU ld is compatible enough with the native linker
   8470   # that we're better off using the native interface for both.
   8471   lt_use_gnu_ld_interface=no
   8472   if test "$with_gnu_ld" = yes; then
   8473     case $host_os in
   8474       aix*)
   8475 	# The AIX port of GNU ld has always aspired to compatibility
   8476 	# with the native linker.  However, as the warning in the GNU ld
   8477 	# block says, versions before 2.19.5* couldn't really create working
   8478 	# shared libraries, regardless of the interface used.
   8479 	case `$LD -v 2>&1` in
   8480 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8481 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8482 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8483 	  *)
   8484 	    lt_use_gnu_ld_interface=yes
   8485 	    ;;
   8486 	esac
   8487 	;;
   8488       *)
   8489 	lt_use_gnu_ld_interface=yes
   8490 	;;
   8491     esac
   8492   fi
   8493 
   8494   if test "$lt_use_gnu_ld_interface" = yes; then
   8495     # If archive_cmds runs LD, not CC, wlarc should be empty
   8496     wlarc='${wl}'
   8497 
   8498     # Set some defaults for GNU ld with shared library support. These
   8499     # are reset later if shared libraries are not supported. Putting them
   8500     # here allows them to be overridden if necessary.
   8501     runpath_var=LD_RUN_PATH
   8502     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8503     export_dynamic_flag_spec='${wl}--export-dynamic'
   8504     # ancient GNU ld didn't support --whole-archive et. al.
   8505     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8506       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8507     else
   8508       whole_archive_flag_spec=
   8509     fi
   8510     supports_anon_versioning=no
   8511     case `$LD -v 2>&1` in
   8512       *GNU\ gold*) supports_anon_versioning=yes ;;
   8513       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8514       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8515       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8516       *\ 2.11.*) ;; # other 2.11 versions
   8517       *) supports_anon_versioning=yes ;;
   8518     esac
   8519 
   8520     # See if GNU ld supports shared libraries.
   8521     case $host_os in
   8522     aix[3-9]*)
   8523       # On AIX/PPC, the GNU linker is very broken
   8524       if test "$host_cpu" != ia64; then
   8525 	ld_shlibs=no
   8526 	cat <<_LT_EOF 1>&2
   8527 
   8528 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8529 *** to be unable to reliably create shared libraries on AIX.
   8530 *** Therefore, libtool is disabling shared libraries support.  If you
   8531 *** really care for shared libraries, you may want to install binutils
   8532 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8533 *** You will then need to restart the configuration process.
   8534 
   8535 _LT_EOF
   8536       fi
   8537       ;;
   8538 
   8539     amigaos*)
   8540       case $host_cpu in
   8541       powerpc)
   8542             # see comment about AmigaOS4 .so support
   8543             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8544             archive_expsym_cmds=''
   8545         ;;
   8546       m68k)
   8547             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)'
   8548             hardcode_libdir_flag_spec='-L$libdir'
   8549             hardcode_minus_L=yes
   8550         ;;
   8551       esac
   8552       ;;
   8553 
   8554     beos*)
   8555       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8556 	allow_undefined_flag=unsupported
   8557 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8558 	# support --undefined.  This deserves some investigation.  FIXME
   8559 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8560       else
   8561 	ld_shlibs=no
   8562       fi
   8563       ;;
   8564 
   8565     cygwin* | mingw* | pw32* | cegcc*)
   8566       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8567       # as there is no search path for DLLs.
   8568       hardcode_libdir_flag_spec='-L$libdir'
   8569       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8570       allow_undefined_flag=unsupported
   8571       always_export_symbols=no
   8572       enable_shared_with_static_runtimes=yes
   8573       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'
   8574       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8575 
   8576       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8577         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8578 	# If the export-symbols file already is a .def file (1st line
   8579 	# is EXPORTS), use it as is; otherwise, prepend...
   8580 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8581 	  cp $export_symbols $output_objdir/$soname.def;
   8582 	else
   8583 	  echo EXPORTS > $output_objdir/$soname.def;
   8584 	  cat $export_symbols >> $output_objdir/$soname.def;
   8585 	fi~
   8586 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8587       else
   8588 	ld_shlibs=no
   8589       fi
   8590       ;;
   8591 
   8592     haiku*)
   8593       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8594       link_all_deplibs=yes
   8595       ;;
   8596 
   8597     interix[3-9]*)
   8598       hardcode_direct=no
   8599       hardcode_shlibpath_var=no
   8600       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8601       export_dynamic_flag_spec='${wl}-E'
   8602       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8603       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8604       # default) and relocated if they conflict, which is a slow very memory
   8605       # consuming and fragmenting process.  To avoid this, we pick a random,
   8606       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8607       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8608       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8609       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'
   8610       ;;
   8611 
   8612     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8613       tmp_diet=no
   8614       if test "$host_os" = linux-dietlibc; then
   8615 	case $cc_basename in
   8616 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8617 	esac
   8618       fi
   8619       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8620 	 && test "$tmp_diet" = no
   8621       then
   8622 	tmp_addflag=' $pic_flag'
   8623 	tmp_sharedflag='-shared'
   8624 	case $cc_basename,$host_cpu in
   8625         pgcc*)				# Portland Group C compiler
   8626 	  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'
   8627 	  tmp_addflag=' $pic_flag'
   8628 	  ;;
   8629 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8630 					# Portland Group f77 and f90 compilers
   8631 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8632 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8633 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8634 	  tmp_addflag=' -i_dynamic' ;;
   8635 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8636 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8637 	ifc* | ifort*)			# Intel Fortran compiler
   8638 	  tmp_addflag=' -nofor_main' ;;
   8639 	lf95*)				# Lahey Fortran 8.1
   8640 	  whole_archive_flag_spec=
   8641 	  tmp_sharedflag='--shared' ;;
   8642 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8643 	  tmp_sharedflag='-qmkshrobj'
   8644 	  tmp_addflag= ;;
   8645 	nvcc*)	# Cuda Compiler Driver 2.2
   8646 	  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'
   8647 	  compiler_needs_object=yes
   8648 	  ;;
   8649 	esac
   8650 	case `$CC -V 2>&1 | sed 5q` in
   8651 	*Sun\ C*)			# Sun C 5.9
   8652 	  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'
   8653 	  compiler_needs_object=yes
   8654 	  tmp_sharedflag='-G' ;;
   8655 	*Sun\ F*)			# Sun Fortran 8.3
   8656 	  tmp_sharedflag='-G' ;;
   8657 	esac
   8658 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8659 
   8660         if test "x$supports_anon_versioning" = xyes; then
   8661           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8662 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8663 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8664 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8665         fi
   8666 
   8667 	case $cc_basename in
   8668 	xlf* | bgf* | bgxlf* | mpixlf*)
   8669 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8670 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8671 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8672 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8673 	  if test "x$supports_anon_versioning" = xyes; then
   8674 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8675 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8676 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8677 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8678 	  fi
   8679 	  ;;
   8680 	esac
   8681       else
   8682         ld_shlibs=no
   8683       fi
   8684       ;;
   8685 
   8686     netbsd*)
   8687       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8688 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8689 	wlarc=
   8690       else
   8691 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8692 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8693       fi
   8694       ;;
   8695 
   8696     solaris*)
   8697       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8698 	ld_shlibs=no
   8699 	cat <<_LT_EOF 1>&2
   8700 
   8701 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8702 *** create shared libraries on Solaris systems.  Therefore, libtool
   8703 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8704 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8705 *** your PATH or compiler configuration so that the native linker is
   8706 *** used, and then restart.
   8707 
   8708 _LT_EOF
   8709       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8710 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8711 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8712       else
   8713 	ld_shlibs=no
   8714       fi
   8715       ;;
   8716 
   8717     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8718       case `$LD -v 2>&1` in
   8719         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8720 	ld_shlibs=no
   8721 	cat <<_LT_EOF 1>&2
   8722 
   8723 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8724 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8725 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8726 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8727 *** your PATH or compiler configuration so that the native linker is
   8728 *** used, and then restart.
   8729 
   8730 _LT_EOF
   8731 	;;
   8732 	*)
   8733 	  # For security reasons, it is highly recommended that you always
   8734 	  # use absolute paths for naming shared libraries, and exclude the
   8735 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8736 	  # requires that you compile everything twice, which is a pain.
   8737 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8738 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8739 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8740 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8741 	  else
   8742 	    ld_shlibs=no
   8743 	  fi
   8744 	;;
   8745       esac
   8746       ;;
   8747 
   8748     sunos4*)
   8749       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8750       wlarc=
   8751       hardcode_direct=yes
   8752       hardcode_shlibpath_var=no
   8753       ;;
   8754 
   8755     *)
   8756       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8757 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8758 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8759       else
   8760 	ld_shlibs=no
   8761       fi
   8762       ;;
   8763     esac
   8764 
   8765     if test "$ld_shlibs" = no; then
   8766       runpath_var=
   8767       hardcode_libdir_flag_spec=
   8768       export_dynamic_flag_spec=
   8769       whole_archive_flag_spec=
   8770     fi
   8771   else
   8772     # PORTME fill in a description of your system's linker (not GNU ld)
   8773     case $host_os in
   8774     aix3*)
   8775       allow_undefined_flag=unsupported
   8776       always_export_symbols=yes
   8777       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'
   8778       # Note: this linker hardcodes the directories in LIBPATH if there
   8779       # are no directories specified by -L.
   8780       hardcode_minus_L=yes
   8781       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8782 	# Neither direct hardcoding nor static linking is supported with a
   8783 	# broken collect2.
   8784 	hardcode_direct=unsupported
   8785       fi
   8786       ;;
   8787 
   8788     aix[4-9]*)
   8789       if test "$host_cpu" = ia64; then
   8790 	# On IA64, the linker does run time linking by default, so we don't
   8791 	# have to do anything special.
   8792 	aix_use_runtimelinking=no
   8793 	exp_sym_flag='-Bexport'
   8794 	no_entry_flag=""
   8795       else
   8796 	# If we're using GNU nm, then we don't want the "-C" option.
   8797 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8798 	# Also, AIX nm treats weak defined symbols like other global
   8799 	# defined symbols, whereas GNU nm marks them as "W".
   8800 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8801 	  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'
   8802 	else
   8803 	  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'
   8804 	fi
   8805 	aix_use_runtimelinking=no
   8806 
   8807 	# Test if we are trying to use run time linking or normal
   8808 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8809 	# need to do runtime linking.
   8810 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8811 	  for ld_flag in $LDFLAGS; do
   8812 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8813 	    aix_use_runtimelinking=yes
   8814 	    break
   8815 	  fi
   8816 	  done
   8817 	  ;;
   8818 	esac
   8819 
   8820 	exp_sym_flag='-bexport'
   8821 	no_entry_flag='-bnoentry'
   8822       fi
   8823 
   8824       # When large executables or shared objects are built, AIX ld can
   8825       # have problems creating the table of contents.  If linking a library
   8826       # or program results in "error TOC overflow" add -mminimal-toc to
   8827       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8828       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8829 
   8830       archive_cmds=''
   8831       hardcode_direct=yes
   8832       hardcode_direct_absolute=yes
   8833       hardcode_libdir_separator=':'
   8834       link_all_deplibs=yes
   8835       file_list_spec='${wl}-f,'
   8836 
   8837       if test "$GCC" = yes; then
   8838 	case $host_os in aix4.[012]|aix4.[012].*)
   8839 	# We only want to do this on AIX 4.2 and lower, the check
   8840 	# below for broken collect2 doesn't work under 4.3+
   8841 	  collect2name=`${CC} -print-prog-name=collect2`
   8842 	  if test -f "$collect2name" &&
   8843 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8844 	  then
   8845 	  # We have reworked collect2
   8846 	  :
   8847 	  else
   8848 	  # We have old collect2
   8849 	  hardcode_direct=unsupported
   8850 	  # It fails to find uninstalled libraries when the uninstalled
   8851 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8852 	  # to unsupported forces relinking
   8853 	  hardcode_minus_L=yes
   8854 	  hardcode_libdir_flag_spec='-L$libdir'
   8855 	  hardcode_libdir_separator=
   8856 	  fi
   8857 	  ;;
   8858 	esac
   8859 	shared_flag='-shared'
   8860 	if test "$aix_use_runtimelinking" = yes; then
   8861 	  shared_flag="$shared_flag "'${wl}-G'
   8862 	fi
   8863       else
   8864 	# not using gcc
   8865 	if test "$host_cpu" = ia64; then
   8866 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8867 	# chokes on -Wl,-G. The following line is correct:
   8868 	  shared_flag='-G'
   8869 	else
   8870 	  if test "$aix_use_runtimelinking" = yes; then
   8871 	    shared_flag='${wl}-G'
   8872 	  else
   8873 	    shared_flag='${wl}-bM:SRE'
   8874 	  fi
   8875 	fi
   8876       fi
   8877 
   8878       export_dynamic_flag_spec='${wl}-bexpall'
   8879       # It seems that -bexpall does not export symbols beginning with
   8880       # underscore (_), so it is better to generate a list of symbols to export.
   8881       always_export_symbols=yes
   8882       if test "$aix_use_runtimelinking" = yes; then
   8883 	# Warning - without using the other runtime loading flags (-brtl),
   8884 	# -berok will link without error, but may produce a broken library.
   8885 	allow_undefined_flag='-berok'
   8886         # Determine the default libpath from the value encoded in an
   8887         # empty executable.
   8888         if test "${lt_cv_aix_libpath+set}" = set; then
   8889   aix_libpath=$lt_cv_aix_libpath
   8890 else
   8891   if ${lt_cv_aix_libpath_+:} false; then :
   8892   $as_echo_n "(cached) " >&6
   8893 else
   8894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8895 /* end confdefs.h.  */
   8896 
   8897 int
   8898 main ()
   8899 {
   8900 
   8901   ;
   8902   return 0;
   8903 }
   8904 _ACEOF
   8905 if ac_fn_c_try_link "$LINENO"; then :
   8906 
   8907   lt_aix_libpath_sed='
   8908       /Import File Strings/,/^$/ {
   8909 	  /^0/ {
   8910 	      s/^0  *\([^ ]*\) *$/\1/
   8911 	      p
   8912 	  }
   8913       }'
   8914   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8915   # Check for a 64-bit object if we didn't find anything.
   8916   if test -z "$lt_cv_aix_libpath_"; then
   8917     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8918   fi
   8919 fi
   8920 rm -f core conftest.err conftest.$ac_objext \
   8921     conftest$ac_exeext conftest.$ac_ext
   8922   if test -z "$lt_cv_aix_libpath_"; then
   8923     lt_cv_aix_libpath_="/usr/lib:/lib"
   8924   fi
   8925 
   8926 fi
   8927 
   8928   aix_libpath=$lt_cv_aix_libpath_
   8929 fi
   8930 
   8931         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8932         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"
   8933       else
   8934 	if test "$host_cpu" = ia64; then
   8935 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8936 	  allow_undefined_flag="-z nodefs"
   8937 	  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"
   8938 	else
   8939 	 # Determine the default libpath from the value encoded in an
   8940 	 # empty executable.
   8941 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8942   aix_libpath=$lt_cv_aix_libpath
   8943 else
   8944   if ${lt_cv_aix_libpath_+:} false; then :
   8945   $as_echo_n "(cached) " >&6
   8946 else
   8947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8948 /* end confdefs.h.  */
   8949 
   8950 int
   8951 main ()
   8952 {
   8953 
   8954   ;
   8955   return 0;
   8956 }
   8957 _ACEOF
   8958 if ac_fn_c_try_link "$LINENO"; then :
   8959 
   8960   lt_aix_libpath_sed='
   8961       /Import File Strings/,/^$/ {
   8962 	  /^0/ {
   8963 	      s/^0  *\([^ ]*\) *$/\1/
   8964 	      p
   8965 	  }
   8966       }'
   8967   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8968   # Check for a 64-bit object if we didn't find anything.
   8969   if test -z "$lt_cv_aix_libpath_"; then
   8970     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8971   fi
   8972 fi
   8973 rm -f core conftest.err conftest.$ac_objext \
   8974     conftest$ac_exeext conftest.$ac_ext
   8975   if test -z "$lt_cv_aix_libpath_"; then
   8976     lt_cv_aix_libpath_="/usr/lib:/lib"
   8977   fi
   8978 
   8979 fi
   8980 
   8981   aix_libpath=$lt_cv_aix_libpath_
   8982 fi
   8983 
   8984 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8985 	  # Warning - without using the other run time loading flags,
   8986 	  # -berok will link without error, but may produce a broken library.
   8987 	  no_undefined_flag=' ${wl}-bernotok'
   8988 	  allow_undefined_flag=' ${wl}-berok'
   8989 	  if test "$with_gnu_ld" = yes; then
   8990 	    # We only use this code for GNU lds that support --whole-archive.
   8991 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8992 	  else
   8993 	    # Exported symbols can be pulled into shared objects from archives
   8994 	    whole_archive_flag_spec='$convenience'
   8995 	  fi
   8996 	  archive_cmds_need_lc=yes
   8997 	  # This is similar to how AIX traditionally builds its shared libraries.
   8998 	  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'
   8999 	fi
   9000       fi
   9001       ;;
   9002 
   9003     amigaos*)
   9004       case $host_cpu in
   9005       powerpc)
   9006             # see comment about AmigaOS4 .so support
   9007             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9008             archive_expsym_cmds=''
   9009         ;;
   9010       m68k)
   9011             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)'
   9012             hardcode_libdir_flag_spec='-L$libdir'
   9013             hardcode_minus_L=yes
   9014         ;;
   9015       esac
   9016       ;;
   9017 
   9018     bsdi[45]*)
   9019       export_dynamic_flag_spec=-rdynamic
   9020       ;;
   9021 
   9022     cygwin* | mingw* | pw32* | cegcc*)
   9023       # When not using gcc, we currently assume that we are using
   9024       # Microsoft Visual C++.
   9025       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9026       # no search path for DLLs.
   9027       case $cc_basename in
   9028       cl*)
   9029 	# Native MSVC
   9030 	hardcode_libdir_flag_spec=' '
   9031 	allow_undefined_flag=unsupported
   9032 	always_export_symbols=yes
   9033 	file_list_spec='@'
   9034 	# Tell ltmain to make .lib files, not .a files.
   9035 	libext=lib
   9036 	# Tell ltmain to make .dll files, not .so files.
   9037 	shrext_cmds=".dll"
   9038 	# FIXME: Setting linknames here is a bad hack.
   9039 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9040 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9041 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9042 	  else
   9043 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9044 	  fi~
   9045 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9046 	  linknames='
   9047 	# The linker will not automatically build a static lib if we build a DLL.
   9048 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9049 	enable_shared_with_static_runtimes=yes
   9050 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9051 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9052 	# Don't use ranlib
   9053 	old_postinstall_cmds='chmod 644 $oldlib'
   9054 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9055 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9056 	  case $lt_outputfile in
   9057 	    *.exe|*.EXE) ;;
   9058 	    *)
   9059 	      lt_outputfile="$lt_outputfile.exe"
   9060 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9061 	      ;;
   9062 	  esac~
   9063 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9064 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9065 	    $RM "$lt_outputfile.manifest";
   9066 	  fi'
   9067 	;;
   9068       *)
   9069 	# Assume MSVC wrapper
   9070 	hardcode_libdir_flag_spec=' '
   9071 	allow_undefined_flag=unsupported
   9072 	# Tell ltmain to make .lib files, not .a files.
   9073 	libext=lib
   9074 	# Tell ltmain to make .dll files, not .so files.
   9075 	shrext_cmds=".dll"
   9076 	# FIXME: Setting linknames here is a bad hack.
   9077 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9078 	# The linker will automatically build a .lib file if we build a DLL.
   9079 	old_archive_from_new_cmds='true'
   9080 	# FIXME: Should let the user specify the lib program.
   9081 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9082 	enable_shared_with_static_runtimes=yes
   9083 	;;
   9084       esac
   9085       ;;
   9086 
   9087     darwin* | rhapsody*)
   9088 
   9089 
   9090   archive_cmds_need_lc=no
   9091   hardcode_direct=no
   9092   hardcode_automatic=yes
   9093   hardcode_shlibpath_var=unsupported
   9094   if test "$lt_cv_ld_force_load" = "yes"; then
   9095     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\"`'
   9096 
   9097   else
   9098     whole_archive_flag_spec=''
   9099   fi
   9100   link_all_deplibs=yes
   9101   allow_undefined_flag="$_lt_dar_allow_undefined"
   9102   case $cc_basename in
   9103      ifort*) _lt_dar_can_shared=yes ;;
   9104      *) _lt_dar_can_shared=$GCC ;;
   9105   esac
   9106   if test "$_lt_dar_can_shared" = "yes"; then
   9107     output_verbose_link_cmd=func_echo_all
   9108     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9109     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9110     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}"
   9111     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}"
   9112 
   9113   else
   9114   ld_shlibs=no
   9115   fi
   9116 
   9117       ;;
   9118 
   9119     dgux*)
   9120       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9121       hardcode_libdir_flag_spec='-L$libdir'
   9122       hardcode_shlibpath_var=no
   9123       ;;
   9124 
   9125     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9126     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9127     # does not break anything, and helps significantly (at the cost of a little
   9128     # extra space).
   9129     freebsd2.2*)
   9130       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9131       hardcode_libdir_flag_spec='-R$libdir'
   9132       hardcode_direct=yes
   9133       hardcode_shlibpath_var=no
   9134       ;;
   9135 
   9136     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9137     freebsd2.*)
   9138       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9139       hardcode_direct=yes
   9140       hardcode_minus_L=yes
   9141       hardcode_shlibpath_var=no
   9142       ;;
   9143 
   9144     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9145     freebsd* | dragonfly*)
   9146       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9147       hardcode_libdir_flag_spec='-R$libdir'
   9148       hardcode_direct=yes
   9149       hardcode_shlibpath_var=no
   9150       ;;
   9151 
   9152     hpux9*)
   9153       if test "$GCC" = yes; then
   9154 	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'
   9155       else
   9156 	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'
   9157       fi
   9158       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9159       hardcode_libdir_separator=:
   9160       hardcode_direct=yes
   9161 
   9162       # hardcode_minus_L: Not really in the search PATH,
   9163       # but as the default location of the library.
   9164       hardcode_minus_L=yes
   9165       export_dynamic_flag_spec='${wl}-E'
   9166       ;;
   9167 
   9168     hpux10*)
   9169       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9170 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9171       else
   9172 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9173       fi
   9174       if test "$with_gnu_ld" = no; then
   9175 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9176 	hardcode_libdir_separator=:
   9177 	hardcode_direct=yes
   9178 	hardcode_direct_absolute=yes
   9179 	export_dynamic_flag_spec='${wl}-E'
   9180 	# hardcode_minus_L: Not really in the search PATH,
   9181 	# but as the default location of the library.
   9182 	hardcode_minus_L=yes
   9183       fi
   9184       ;;
   9185 
   9186     hpux11*)
   9187       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9188 	case $host_cpu in
   9189 	hppa*64*)
   9190 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9191 	  ;;
   9192 	ia64*)
   9193 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9194 	  ;;
   9195 	*)
   9196 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9197 	  ;;
   9198 	esac
   9199       else
   9200 	case $host_cpu in
   9201 	hppa*64*)
   9202 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9203 	  ;;
   9204 	ia64*)
   9205 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9206 	  ;;
   9207 	*)
   9208 
   9209 	  # Older versions of the 11.00 compiler do not understand -b yet
   9210 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9211 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9212 $as_echo_n "checking if $CC understands -b... " >&6; }
   9213 if ${lt_cv_prog_compiler__b+:} false; then :
   9214   $as_echo_n "(cached) " >&6
   9215 else
   9216   lt_cv_prog_compiler__b=no
   9217    save_LDFLAGS="$LDFLAGS"
   9218    LDFLAGS="$LDFLAGS -b"
   9219    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9220    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9221      # The linker can only warn and ignore the option if not recognized
   9222      # So say no if there are warnings
   9223      if test -s conftest.err; then
   9224        # Append any errors to the config.log.
   9225        cat conftest.err 1>&5
   9226        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9227        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9228        if diff conftest.exp conftest.er2 >/dev/null; then
   9229          lt_cv_prog_compiler__b=yes
   9230        fi
   9231      else
   9232        lt_cv_prog_compiler__b=yes
   9233      fi
   9234    fi
   9235    $RM -r conftest*
   9236    LDFLAGS="$save_LDFLAGS"
   9237 
   9238 fi
   9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9240 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9241 
   9242 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9243     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9244 else
   9245     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9246 fi
   9247 
   9248 	  ;;
   9249 	esac
   9250       fi
   9251       if test "$with_gnu_ld" = no; then
   9252 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9253 	hardcode_libdir_separator=:
   9254 
   9255 	case $host_cpu in
   9256 	hppa*64*|ia64*)
   9257 	  hardcode_direct=no
   9258 	  hardcode_shlibpath_var=no
   9259 	  ;;
   9260 	*)
   9261 	  hardcode_direct=yes
   9262 	  hardcode_direct_absolute=yes
   9263 	  export_dynamic_flag_spec='${wl}-E'
   9264 
   9265 	  # hardcode_minus_L: Not really in the search PATH,
   9266 	  # but as the default location of the library.
   9267 	  hardcode_minus_L=yes
   9268 	  ;;
   9269 	esac
   9270       fi
   9271       ;;
   9272 
   9273     irix5* | irix6* | nonstopux*)
   9274       if test "$GCC" = yes; then
   9275 	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'
   9276 	# Try to use the -exported_symbol ld option, if it does not
   9277 	# work, assume that -exports_file does not work either and
   9278 	# implicitly export all symbols.
   9279 	# This should be the same for all languages, so no per-tag cache variable.
   9280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9281 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9282 if ${lt_cv_irix_exported_symbol+:} false; then :
   9283   $as_echo_n "(cached) " >&6
   9284 else
   9285   save_LDFLAGS="$LDFLAGS"
   9286 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9287 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int foo (void) { return 0; }
   9290 _ACEOF
   9291 if ac_fn_c_try_link "$LINENO"; then :
   9292   lt_cv_irix_exported_symbol=yes
   9293 else
   9294   lt_cv_irix_exported_symbol=no
   9295 fi
   9296 rm -f core conftest.err conftest.$ac_objext \
   9297     conftest$ac_exeext conftest.$ac_ext
   9298            LDFLAGS="$save_LDFLAGS"
   9299 fi
   9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9301 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9302 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9303           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'
   9304 	fi
   9305       else
   9306 	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'
   9307 	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'
   9308       fi
   9309       archive_cmds_need_lc='no'
   9310       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9311       hardcode_libdir_separator=:
   9312       inherit_rpath=yes
   9313       link_all_deplibs=yes
   9314       ;;
   9315 
   9316     netbsd*)
   9317       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9318 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9319       else
   9320 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9321       fi
   9322       hardcode_libdir_flag_spec='-R$libdir'
   9323       hardcode_direct=yes
   9324       hardcode_shlibpath_var=no
   9325       ;;
   9326 
   9327     newsos6)
   9328       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9329       hardcode_direct=yes
   9330       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9331       hardcode_libdir_separator=:
   9332       hardcode_shlibpath_var=no
   9333       ;;
   9334 
   9335     *nto* | *qnx*)
   9336       ;;
   9337 
   9338     openbsd*)
   9339       if test -f /usr/libexec/ld.so; then
   9340 	hardcode_direct=yes
   9341 	hardcode_shlibpath_var=no
   9342 	hardcode_direct_absolute=yes
   9343 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9344 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9345 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9346 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9347 	  export_dynamic_flag_spec='${wl}-E'
   9348 	else
   9349 	  case $host_os in
   9350 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9351 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9352 	     hardcode_libdir_flag_spec='-R$libdir'
   9353 	     ;;
   9354 	   *)
   9355 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9356 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9357 	     ;;
   9358 	  esac
   9359 	fi
   9360       else
   9361 	ld_shlibs=no
   9362       fi
   9363       ;;
   9364 
   9365     os2*)
   9366       hardcode_libdir_flag_spec='-L$libdir'
   9367       hardcode_minus_L=yes
   9368       allow_undefined_flag=unsupported
   9369       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'
   9370       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9371       ;;
   9372 
   9373     osf3*)
   9374       if test "$GCC" = yes; then
   9375 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9376 	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'
   9377       else
   9378 	allow_undefined_flag=' -expect_unresolved \*'
   9379 	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'
   9380       fi
   9381       archive_cmds_need_lc='no'
   9382       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9383       hardcode_libdir_separator=:
   9384       ;;
   9385 
   9386     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9387       if test "$GCC" = yes; then
   9388 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9389 	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'
   9390 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9391       else
   9392 	allow_undefined_flag=' -expect_unresolved \*'
   9393 	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'
   9394 	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~
   9395 	$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'
   9396 
   9397 	# Both c and cxx compiler support -rpath directly
   9398 	hardcode_libdir_flag_spec='-rpath $libdir'
   9399       fi
   9400       archive_cmds_need_lc='no'
   9401       hardcode_libdir_separator=:
   9402       ;;
   9403 
   9404     solaris*)
   9405       no_undefined_flag=' -z defs'
   9406       if test "$GCC" = yes; then
   9407 	wlarc='${wl}'
   9408 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9409 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9410 	  $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'
   9411       else
   9412 	case `$CC -V 2>&1` in
   9413 	*"Compilers 5.0"*)
   9414 	  wlarc=''
   9415 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9416 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9417 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9418 	  ;;
   9419 	*)
   9420 	  wlarc='${wl}'
   9421 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9422 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9423 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9424 	  ;;
   9425 	esac
   9426       fi
   9427       hardcode_libdir_flag_spec='-R$libdir'
   9428       hardcode_shlibpath_var=no
   9429       case $host_os in
   9430       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9431       *)
   9432 	# The compiler driver will combine and reorder linker options,
   9433 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9434 	# but is careful enough not to reorder.
   9435 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9436 	if test "$GCC" = yes; then
   9437 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9438 	else
   9439 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9440 	fi
   9441 	;;
   9442       esac
   9443       link_all_deplibs=yes
   9444       ;;
   9445 
   9446     sunos4*)
   9447       if test "x$host_vendor" = xsequent; then
   9448 	# Use $CC to link under sequent, because it throws in some extra .o
   9449 	# files that make .init and .fini sections work.
   9450 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9451       else
   9452 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9453       fi
   9454       hardcode_libdir_flag_spec='-L$libdir'
   9455       hardcode_direct=yes
   9456       hardcode_minus_L=yes
   9457       hardcode_shlibpath_var=no
   9458       ;;
   9459 
   9460     sysv4)
   9461       case $host_vendor in
   9462 	sni)
   9463 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9464 	  hardcode_direct=yes # is this really true???
   9465 	;;
   9466 	siemens)
   9467 	  ## LD is ld it makes a PLAMLIB
   9468 	  ## CC just makes a GrossModule.
   9469 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9470 	  reload_cmds='$CC -r -o $output$reload_objs'
   9471 	  hardcode_direct=no
   9472         ;;
   9473 	motorola)
   9474 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9475 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9476 	;;
   9477       esac
   9478       runpath_var='LD_RUN_PATH'
   9479       hardcode_shlibpath_var=no
   9480       ;;
   9481 
   9482     sysv4.3*)
   9483       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9484       hardcode_shlibpath_var=no
   9485       export_dynamic_flag_spec='-Bexport'
   9486       ;;
   9487 
   9488     sysv4*MP*)
   9489       if test -d /usr/nec; then
   9490 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9491 	hardcode_shlibpath_var=no
   9492 	runpath_var=LD_RUN_PATH
   9493 	hardcode_runpath_var=yes
   9494 	ld_shlibs=yes
   9495       fi
   9496       ;;
   9497 
   9498     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9499       no_undefined_flag='${wl}-z,text'
   9500       archive_cmds_need_lc=no
   9501       hardcode_shlibpath_var=no
   9502       runpath_var='LD_RUN_PATH'
   9503 
   9504       if test "$GCC" = yes; then
   9505 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9506 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9507       else
   9508 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9509 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9510       fi
   9511       ;;
   9512 
   9513     sysv5* | sco3.2v5* | sco5v6*)
   9514       # Note: We can NOT use -z defs as we might desire, because we do not
   9515       # link with -lc, and that would cause any symbols used from libc to
   9516       # always be unresolved, which means just about no library would
   9517       # ever link correctly.  If we're not using GNU ld we use -z text
   9518       # though, which does catch some bad symbols but isn't as heavy-handed
   9519       # as -z defs.
   9520       no_undefined_flag='${wl}-z,text'
   9521       allow_undefined_flag='${wl}-z,nodefs'
   9522       archive_cmds_need_lc=no
   9523       hardcode_shlibpath_var=no
   9524       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9525       hardcode_libdir_separator=':'
   9526       link_all_deplibs=yes
   9527       export_dynamic_flag_spec='${wl}-Bexport'
   9528       runpath_var='LD_RUN_PATH'
   9529 
   9530       if test "$GCC" = yes; then
   9531 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9532 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9533       else
   9534 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9535 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9536       fi
   9537       ;;
   9538 
   9539     uts4*)
   9540       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9541       hardcode_libdir_flag_spec='-L$libdir'
   9542       hardcode_shlibpath_var=no
   9543       ;;
   9544 
   9545     *)
   9546       ld_shlibs=no
   9547       ;;
   9548     esac
   9549 
   9550     if test x$host_vendor = xsni; then
   9551       case $host in
   9552       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9553 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9554 	;;
   9555       esac
   9556     fi
   9557   fi
   9558 
   9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9560 $as_echo "$ld_shlibs" >&6; }
   9561 test "$ld_shlibs" = no && can_build_shared=no
   9562 
   9563 with_gnu_ld=$with_gnu_ld
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 #
   9580 # Do we need to explicitly link libc?
   9581 #
   9582 case "x$archive_cmds_need_lc" in
   9583 x|xyes)
   9584   # Assume -lc should be added
   9585   archive_cmds_need_lc=yes
   9586 
   9587   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9588     case $archive_cmds in
   9589     *'~'*)
   9590       # FIXME: we may have to deal with multi-command sequences.
   9591       ;;
   9592     '$CC '*)
   9593       # Test whether the compiler implicitly links with -lc since on some
   9594       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9595       # to ld, don't add -lc before -lgcc.
   9596       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9597 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9598 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9599   $as_echo_n "(cached) " >&6
   9600 else
   9601   $RM conftest*
   9602 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9603 
   9604 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9605   (eval $ac_compile) 2>&5
   9606   ac_status=$?
   9607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9608   test $ac_status = 0; } 2>conftest.err; then
   9609 	  soname=conftest
   9610 	  lib=conftest
   9611 	  libobjs=conftest.$ac_objext
   9612 	  deplibs=
   9613 	  wl=$lt_prog_compiler_wl
   9614 	  pic_flag=$lt_prog_compiler_pic
   9615 	  compiler_flags=-v
   9616 	  linker_flags=-v
   9617 	  verstring=
   9618 	  output_objdir=.
   9619 	  libname=conftest
   9620 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9621 	  allow_undefined_flag=
   9622 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9623   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9624   ac_status=$?
   9625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9626   test $ac_status = 0; }
   9627 	  then
   9628 	    lt_cv_archive_cmds_need_lc=no
   9629 	  else
   9630 	    lt_cv_archive_cmds_need_lc=yes
   9631 	  fi
   9632 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9633 	else
   9634 	  cat conftest.err 1>&5
   9635 	fi
   9636 	$RM conftest*
   9637 
   9638 fi
   9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9640 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9641       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9642       ;;
   9643     esac
   9644   fi
   9645   ;;
   9646 esac
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9800 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9801 
   9802 if test "$GCC" = yes; then
   9803   case $host_os in
   9804     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9805     *) lt_awk_arg="/^libraries:/" ;;
   9806   esac
   9807   case $host_os in
   9808     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9809     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9810   esac
   9811   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9812   case $lt_search_path_spec in
   9813   *\;*)
   9814     # if the path contains ";" then we assume it to be the separator
   9815     # otherwise default to the standard path separator (i.e. ":") - it is
   9816     # assumed that no part of a normal pathname contains ";" but that should
   9817     # okay in the real world where ";" in dirpaths is itself problematic.
   9818     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9819     ;;
   9820   *)
   9821     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9822     ;;
   9823   esac
   9824   # Ok, now we have the path, separated by spaces, we can step through it
   9825   # and add multilib dir if necessary.
   9826   lt_tmp_lt_search_path_spec=
   9827   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9828   for lt_sys_path in $lt_search_path_spec; do
   9829     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9830       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9831     else
   9832       test -d "$lt_sys_path" && \
   9833 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9834     fi
   9835   done
   9836   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9837 BEGIN {RS=" "; FS="/|\n";} {
   9838   lt_foo="";
   9839   lt_count=0;
   9840   for (lt_i = NF; lt_i > 0; lt_i--) {
   9841     if ($lt_i != "" && $lt_i != ".") {
   9842       if ($lt_i == "..") {
   9843         lt_count++;
   9844       } else {
   9845         if (lt_count == 0) {
   9846           lt_foo="/" $lt_i lt_foo;
   9847         } else {
   9848           lt_count--;
   9849         }
   9850       }
   9851     }
   9852   }
   9853   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9854   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9855 }'`
   9856   # AWK program above erroneously prepends '/' to C:/dos/paths
   9857   # for these hosts.
   9858   case $host_os in
   9859     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9860       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9861   esac
   9862   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9863 else
   9864   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9865 fi
   9866 library_names_spec=
   9867 libname_spec='lib$name'
   9868 soname_spec=
   9869 shrext_cmds=".so"
   9870 postinstall_cmds=
   9871 postuninstall_cmds=
   9872 finish_cmds=
   9873 finish_eval=
   9874 shlibpath_var=
   9875 shlibpath_overrides_runpath=unknown
   9876 version_type=none
   9877 dynamic_linker="$host_os ld.so"
   9878 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9879 need_lib_prefix=unknown
   9880 hardcode_into_libs=no
   9881 
   9882 # when you set need_version to no, make sure it does not cause -set_version
   9883 # flags to be left without arguments
   9884 need_version=unknown
   9885 
   9886 case $host_os in
   9887 aix3*)
   9888   version_type=linux # correct to gnu/linux during the next big refactor
   9889   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9890   shlibpath_var=LIBPATH
   9891 
   9892   # AIX 3 has no versioning support, so we append a major version to the name.
   9893   soname_spec='${libname}${release}${shared_ext}$major'
   9894   ;;
   9895 
   9896 aix[4-9]*)
   9897   version_type=linux # correct to gnu/linux during the next big refactor
   9898   need_lib_prefix=no
   9899   need_version=no
   9900   hardcode_into_libs=yes
   9901   if test "$host_cpu" = ia64; then
   9902     # AIX 5 supports IA64
   9903     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9904     shlibpath_var=LD_LIBRARY_PATH
   9905   else
   9906     # With GCC up to 2.95.x, collect2 would create an import file
   9907     # for dependence libraries.  The import file would start with
   9908     # the line `#! .'.  This would cause the generated library to
   9909     # depend on `.', always an invalid library.  This was fixed in
   9910     # development snapshots of GCC prior to 3.0.
   9911     case $host_os in
   9912       aix4 | aix4.[01] | aix4.[01].*)
   9913       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9914 	   echo ' yes '
   9915 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9916 	:
   9917       else
   9918 	can_build_shared=no
   9919       fi
   9920       ;;
   9921     esac
   9922     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9923     # soname into executable. Probably we can add versioning support to
   9924     # collect2, so additional links can be useful in future.
   9925     if test "$aix_use_runtimelinking" = yes; then
   9926       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9927       # instead of lib<name>.a to let people know that these are not
   9928       # typical AIX shared libraries.
   9929       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9930     else
   9931       # We preserve .a as extension for shared libraries through AIX4.2
   9932       # and later when we are not doing run time linking.
   9933       library_names_spec='${libname}${release}.a $libname.a'
   9934       soname_spec='${libname}${release}${shared_ext}$major'
   9935     fi
   9936     shlibpath_var=LIBPATH
   9937   fi
   9938   ;;
   9939 
   9940 amigaos*)
   9941   case $host_cpu in
   9942   powerpc)
   9943     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9944     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9945     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9946     ;;
   9947   m68k)
   9948     library_names_spec='$libname.ixlibrary $libname.a'
   9949     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9950     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'
   9951     ;;
   9952   esac
   9953   ;;
   9954 
   9955 beos*)
   9956   library_names_spec='${libname}${shared_ext}'
   9957   dynamic_linker="$host_os ld.so"
   9958   shlibpath_var=LIBRARY_PATH
   9959   ;;
   9960 
   9961 bsdi[45]*)
   9962   version_type=linux # correct to gnu/linux during the next big refactor
   9963   need_version=no
   9964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9965   soname_spec='${libname}${release}${shared_ext}$major'
   9966   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9967   shlibpath_var=LD_LIBRARY_PATH
   9968   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9969   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9970   # the default ld.so.conf also contains /usr/contrib/lib and
   9971   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9972   # libtool to hard-code these into programs
   9973   ;;
   9974 
   9975 cygwin* | mingw* | pw32* | cegcc*)
   9976   version_type=windows
   9977   shrext_cmds=".dll"
   9978   need_version=no
   9979   need_lib_prefix=no
   9980 
   9981   case $GCC,$cc_basename in
   9982   yes,*)
   9983     # gcc
   9984     library_names_spec='$libname.dll.a'
   9985     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9986     postinstall_cmds='base_file=`basename \${file}`~
   9987       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9988       dldir=$destdir/`dirname \$dlpath`~
   9989       test -d \$dldir || mkdir -p \$dldir~
   9990       $install_prog $dir/$dlname \$dldir/$dlname~
   9991       chmod a+x \$dldir/$dlname~
   9992       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9993         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9994       fi'
   9995     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9996       dlpath=$dir/\$dldll~
   9997        $RM \$dlpath'
   9998     shlibpath_overrides_runpath=yes
   9999 
   10000     case $host_os in
   10001     cygwin*)
   10002       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10003       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10004 
   10005       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10006       ;;
   10007     mingw* | cegcc*)
   10008       # MinGW DLLs use traditional 'lib' prefix
   10009       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10010       ;;
   10011     pw32*)
   10012       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10013       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10014       ;;
   10015     esac
   10016     dynamic_linker='Win32 ld.exe'
   10017     ;;
   10018 
   10019   *,cl*)
   10020     # Native MSVC
   10021     libname_spec='$name'
   10022     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10023     library_names_spec='${libname}.dll.lib'
   10024 
   10025     case $build_os in
   10026     mingw*)
   10027       sys_lib_search_path_spec=
   10028       lt_save_ifs=$IFS
   10029       IFS=';'
   10030       for lt_path in $LIB
   10031       do
   10032         IFS=$lt_save_ifs
   10033         # Let DOS variable expansion print the short 8.3 style file name.
   10034         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10035         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10036       done
   10037       IFS=$lt_save_ifs
   10038       # Convert to MSYS style.
   10039       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10040       ;;
   10041     cygwin*)
   10042       # Convert to unix form, then to dos form, then back to unix form
   10043       # but this time dos style (no spaces!) so that the unix form looks
   10044       # like /cygdrive/c/PROGRA~1:/cygdr...
   10045       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10046       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10047       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10048       ;;
   10049     *)
   10050       sys_lib_search_path_spec="$LIB"
   10051       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10052         # It is most probably a Windows format PATH.
   10053         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10054       else
   10055         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10056       fi
   10057       # FIXME: find the short name or the path components, as spaces are
   10058       # common. (e.g. "Program Files" -> "PROGRA~1")
   10059       ;;
   10060     esac
   10061 
   10062     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10063     postinstall_cmds='base_file=`basename \${file}`~
   10064       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10065       dldir=$destdir/`dirname \$dlpath`~
   10066       test -d \$dldir || mkdir -p \$dldir~
   10067       $install_prog $dir/$dlname \$dldir/$dlname'
   10068     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10069       dlpath=$dir/\$dldll~
   10070        $RM \$dlpath'
   10071     shlibpath_overrides_runpath=yes
   10072     dynamic_linker='Win32 link.exe'
   10073     ;;
   10074 
   10075   *)
   10076     # Assume MSVC wrapper
   10077     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10078     dynamic_linker='Win32 ld.exe'
   10079     ;;
   10080   esac
   10081   # FIXME: first we should search . and the directory the executable is in
   10082   shlibpath_var=PATH
   10083   ;;
   10084 
   10085 darwin* | rhapsody*)
   10086   dynamic_linker="$host_os dyld"
   10087   version_type=darwin
   10088   need_lib_prefix=no
   10089   need_version=no
   10090   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10091   soname_spec='${libname}${release}${major}$shared_ext'
   10092   shlibpath_overrides_runpath=yes
   10093   shlibpath_var=DYLD_LIBRARY_PATH
   10094   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10095 
   10096   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10097   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10098   ;;
   10099 
   10100 dgux*)
   10101   version_type=linux # correct to gnu/linux during the next big refactor
   10102   need_lib_prefix=no
   10103   need_version=no
   10104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10105   soname_spec='${libname}${release}${shared_ext}$major'
   10106   shlibpath_var=LD_LIBRARY_PATH
   10107   ;;
   10108 
   10109 freebsd* | dragonfly*)
   10110   # DragonFly does not have aout.  When/if they implement a new
   10111   # versioning mechanism, adjust this.
   10112   if test -x /usr/bin/objformat; then
   10113     objformat=`/usr/bin/objformat`
   10114   else
   10115     case $host_os in
   10116     freebsd[23].*) objformat=aout ;;
   10117     *) objformat=elf ;;
   10118     esac
   10119   fi
   10120   version_type=freebsd-$objformat
   10121   case $version_type in
   10122     freebsd-elf*)
   10123       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10124       need_version=no
   10125       need_lib_prefix=no
   10126       ;;
   10127     freebsd-*)
   10128       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10129       need_version=yes
   10130       ;;
   10131   esac
   10132   shlibpath_var=LD_LIBRARY_PATH
   10133   case $host_os in
   10134   freebsd2.*)
   10135     shlibpath_overrides_runpath=yes
   10136     ;;
   10137   freebsd3.[01]* | freebsdelf3.[01]*)
   10138     shlibpath_overrides_runpath=yes
   10139     hardcode_into_libs=yes
   10140     ;;
   10141   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10142   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10143     shlibpath_overrides_runpath=no
   10144     hardcode_into_libs=yes
   10145     ;;
   10146   *) # from 4.6 on, and DragonFly
   10147     shlibpath_overrides_runpath=yes
   10148     hardcode_into_libs=yes
   10149     ;;
   10150   esac
   10151   ;;
   10152 
   10153 gnu*)
   10154   version_type=linux # correct to gnu/linux during the next big refactor
   10155   need_lib_prefix=no
   10156   need_version=no
   10157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10158   soname_spec='${libname}${release}${shared_ext}$major'
   10159   shlibpath_var=LD_LIBRARY_PATH
   10160   shlibpath_overrides_runpath=no
   10161   hardcode_into_libs=yes
   10162   ;;
   10163 
   10164 haiku*)
   10165   version_type=linux # correct to gnu/linux during the next big refactor
   10166   need_lib_prefix=no
   10167   need_version=no
   10168   dynamic_linker="$host_os runtime_loader"
   10169   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10170   soname_spec='${libname}${release}${shared_ext}$major'
   10171   shlibpath_var=LIBRARY_PATH
   10172   shlibpath_overrides_runpath=yes
   10173   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10174   hardcode_into_libs=yes
   10175   ;;
   10176 
   10177 hpux9* | hpux10* | hpux11*)
   10178   # Give a soname corresponding to the major version so that dld.sl refuses to
   10179   # link against other versions.
   10180   version_type=sunos
   10181   need_lib_prefix=no
   10182   need_version=no
   10183   case $host_cpu in
   10184   ia64*)
   10185     shrext_cmds='.so'
   10186     hardcode_into_libs=yes
   10187     dynamic_linker="$host_os dld.so"
   10188     shlibpath_var=LD_LIBRARY_PATH
   10189     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10190     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10191     soname_spec='${libname}${release}${shared_ext}$major'
   10192     if test "X$HPUX_IA64_MODE" = X32; then
   10193       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10194     else
   10195       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10196     fi
   10197     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10198     ;;
   10199   hppa*64*)
   10200     shrext_cmds='.sl'
   10201     hardcode_into_libs=yes
   10202     dynamic_linker="$host_os dld.sl"
   10203     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10204     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10205     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10206     soname_spec='${libname}${release}${shared_ext}$major'
   10207     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10208     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10209     ;;
   10210   *)
   10211     shrext_cmds='.sl'
   10212     dynamic_linker="$host_os dld.sl"
   10213     shlibpath_var=SHLIB_PATH
   10214     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10215     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10216     soname_spec='${libname}${release}${shared_ext}$major'
   10217     ;;
   10218   esac
   10219   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10220   postinstall_cmds='chmod 555 $lib'
   10221   # or fails outright, so override atomically:
   10222   install_override_mode=555
   10223   ;;
   10224 
   10225 interix[3-9]*)
   10226   version_type=linux # correct to gnu/linux during the next big refactor
   10227   need_lib_prefix=no
   10228   need_version=no
   10229   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10230   soname_spec='${libname}${release}${shared_ext}$major'
   10231   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10232   shlibpath_var=LD_LIBRARY_PATH
   10233   shlibpath_overrides_runpath=no
   10234   hardcode_into_libs=yes
   10235   ;;
   10236 
   10237 irix5* | irix6* | nonstopux*)
   10238   case $host_os in
   10239     nonstopux*) version_type=nonstopux ;;
   10240     *)
   10241 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10242 		version_type=linux # correct to gnu/linux during the next big refactor
   10243 	else
   10244 		version_type=irix
   10245 	fi ;;
   10246   esac
   10247   need_lib_prefix=no
   10248   need_version=no
   10249   soname_spec='${libname}${release}${shared_ext}$major'
   10250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10251   case $host_os in
   10252   irix5* | nonstopux*)
   10253     libsuff= shlibsuff=
   10254     ;;
   10255   *)
   10256     case $LD in # libtool.m4 will add one of these switches to LD
   10257     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10258       libsuff= shlibsuff= libmagic=32-bit;;
   10259     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10260       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10261     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10262       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10263     *) libsuff= shlibsuff= libmagic=never-match;;
   10264     esac
   10265     ;;
   10266   esac
   10267   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10268   shlibpath_overrides_runpath=no
   10269   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10270   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10271   hardcode_into_libs=yes
   10272   ;;
   10273 
   10274 # No shared lib support for Linux oldld, aout, or coff.
   10275 linux*oldld* | linux*aout* | linux*coff*)
   10276   dynamic_linker=no
   10277   ;;
   10278 
   10279 # This must be glibc/ELF.
   10280 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10281   version_type=linux # correct to gnu/linux during the next big refactor
   10282   need_lib_prefix=no
   10283   need_version=no
   10284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10285   soname_spec='${libname}${release}${shared_ext}$major'
   10286   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10287   shlibpath_var=LD_LIBRARY_PATH
   10288   shlibpath_overrides_runpath=no
   10289 
   10290   # Some binutils ld are patched to set DT_RUNPATH
   10291   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10292   $as_echo_n "(cached) " >&6
   10293 else
   10294   lt_cv_shlibpath_overrides_runpath=no
   10295     save_LDFLAGS=$LDFLAGS
   10296     save_libdir=$libdir
   10297     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10298 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10299     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10300 /* end confdefs.h.  */
   10301 
   10302 int
   10303 main ()
   10304 {
   10305 
   10306   ;
   10307   return 0;
   10308 }
   10309 _ACEOF
   10310 if ac_fn_c_try_link "$LINENO"; then :
   10311   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10312   lt_cv_shlibpath_overrides_runpath=yes
   10313 fi
   10314 fi
   10315 rm -f core conftest.err conftest.$ac_objext \
   10316     conftest$ac_exeext conftest.$ac_ext
   10317     LDFLAGS=$save_LDFLAGS
   10318     libdir=$save_libdir
   10319 
   10320 fi
   10321 
   10322   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10323 
   10324   # This implies no fast_install, which is unacceptable.
   10325   # Some rework will be needed to allow for fast_install
   10326   # before this can be enabled.
   10327   hardcode_into_libs=yes
   10328 
   10329   # Append ld.so.conf contents to the search path
   10330   if test -f /etc/ld.so.conf; then
   10331     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' ' '`
   10332     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10333   fi
   10334 
   10335   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10336   # powerpc, because MkLinux only supported shared libraries with the
   10337   # GNU dynamic linker.  Since this was broken with cross compilers,
   10338   # most powerpc-linux boxes support dynamic linking these days and
   10339   # people can always --disable-shared, the test was removed, and we
   10340   # assume the GNU/Linux dynamic linker is in use.
   10341   dynamic_linker='GNU/Linux ld.so'
   10342   ;;
   10343 
   10344 netbsd*)
   10345   version_type=sunos
   10346   need_lib_prefix=no
   10347   need_version=no
   10348   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10349     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10350     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10351     dynamic_linker='NetBSD (a.out) ld.so'
   10352   else
   10353     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10354     soname_spec='${libname}${release}${shared_ext}$major'
   10355     dynamic_linker='NetBSD ld.elf_so'
   10356   fi
   10357   shlibpath_var=LD_LIBRARY_PATH
   10358   shlibpath_overrides_runpath=yes
   10359   hardcode_into_libs=yes
   10360   ;;
   10361 
   10362 newsos6)
   10363   version_type=linux # correct to gnu/linux during the next big refactor
   10364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10365   shlibpath_var=LD_LIBRARY_PATH
   10366   shlibpath_overrides_runpath=yes
   10367   ;;
   10368 
   10369 *nto* | *qnx*)
   10370   version_type=qnx
   10371   need_lib_prefix=no
   10372   need_version=no
   10373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10374   soname_spec='${libname}${release}${shared_ext}$major'
   10375   shlibpath_var=LD_LIBRARY_PATH
   10376   shlibpath_overrides_runpath=no
   10377   hardcode_into_libs=yes
   10378   dynamic_linker='ldqnx.so'
   10379   ;;
   10380 
   10381 openbsd*)
   10382   version_type=sunos
   10383   sys_lib_dlsearch_path_spec="/usr/lib"
   10384   need_lib_prefix=no
   10385   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10386   case $host_os in
   10387     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10388     *)				need_version=no  ;;
   10389   esac
   10390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10391   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10392   shlibpath_var=LD_LIBRARY_PATH
   10393   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10394     case $host_os in
   10395       openbsd2.[89] | openbsd2.[89].*)
   10396 	shlibpath_overrides_runpath=no
   10397 	;;
   10398       *)
   10399 	shlibpath_overrides_runpath=yes
   10400 	;;
   10401       esac
   10402   else
   10403     shlibpath_overrides_runpath=yes
   10404   fi
   10405   ;;
   10406 
   10407 os2*)
   10408   libname_spec='$name'
   10409   shrext_cmds=".dll"
   10410   need_lib_prefix=no
   10411   library_names_spec='$libname${shared_ext} $libname.a'
   10412   dynamic_linker='OS/2 ld.exe'
   10413   shlibpath_var=LIBPATH
   10414   ;;
   10415 
   10416 osf3* | osf4* | osf5*)
   10417   version_type=osf
   10418   need_lib_prefix=no
   10419   need_version=no
   10420   soname_spec='${libname}${release}${shared_ext}$major'
   10421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10422   shlibpath_var=LD_LIBRARY_PATH
   10423   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10424   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10425   ;;
   10426 
   10427 rdos*)
   10428   dynamic_linker=no
   10429   ;;
   10430 
   10431 solaris*)
   10432   version_type=linux # correct to gnu/linux during the next big refactor
   10433   need_lib_prefix=no
   10434   need_version=no
   10435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10436   soname_spec='${libname}${release}${shared_ext}$major'
   10437   shlibpath_var=LD_LIBRARY_PATH
   10438   shlibpath_overrides_runpath=yes
   10439   hardcode_into_libs=yes
   10440   # ldd complains unless libraries are executable
   10441   postinstall_cmds='chmod +x $lib'
   10442   ;;
   10443 
   10444 sunos4*)
   10445   version_type=sunos
   10446   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10447   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10448   shlibpath_var=LD_LIBRARY_PATH
   10449   shlibpath_overrides_runpath=yes
   10450   if test "$with_gnu_ld" = yes; then
   10451     need_lib_prefix=no
   10452   fi
   10453   need_version=yes
   10454   ;;
   10455 
   10456 sysv4 | sysv4.3*)
   10457   version_type=linux # correct to gnu/linux during the next big refactor
   10458   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10459   soname_spec='${libname}${release}${shared_ext}$major'
   10460   shlibpath_var=LD_LIBRARY_PATH
   10461   case $host_vendor in
   10462     sni)
   10463       shlibpath_overrides_runpath=no
   10464       need_lib_prefix=no
   10465       runpath_var=LD_RUN_PATH
   10466       ;;
   10467     siemens)
   10468       need_lib_prefix=no
   10469       ;;
   10470     motorola)
   10471       need_lib_prefix=no
   10472       need_version=no
   10473       shlibpath_overrides_runpath=no
   10474       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10475       ;;
   10476   esac
   10477   ;;
   10478 
   10479 sysv4*MP*)
   10480   if test -d /usr/nec ;then
   10481     version_type=linux # correct to gnu/linux during the next big refactor
   10482     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10483     soname_spec='$libname${shared_ext}.$major'
   10484     shlibpath_var=LD_LIBRARY_PATH
   10485   fi
   10486   ;;
   10487 
   10488 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10489   version_type=freebsd-elf
   10490   need_lib_prefix=no
   10491   need_version=no
   10492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10493   soname_spec='${libname}${release}${shared_ext}$major'
   10494   shlibpath_var=LD_LIBRARY_PATH
   10495   shlibpath_overrides_runpath=yes
   10496   hardcode_into_libs=yes
   10497   if test "$with_gnu_ld" = yes; then
   10498     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10499   else
   10500     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10501     case $host_os in
   10502       sco3.2v5*)
   10503         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10504 	;;
   10505     esac
   10506   fi
   10507   sys_lib_dlsearch_path_spec='/usr/lib'
   10508   ;;
   10509 
   10510 tpf*)
   10511   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10512   version_type=linux # correct to gnu/linux during the next big refactor
   10513   need_lib_prefix=no
   10514   need_version=no
   10515   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10516   shlibpath_var=LD_LIBRARY_PATH
   10517   shlibpath_overrides_runpath=no
   10518   hardcode_into_libs=yes
   10519   ;;
   10520 
   10521 uts4*)
   10522   version_type=linux # correct to gnu/linux during the next big refactor
   10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10524   soname_spec='${libname}${release}${shared_ext}$major'
   10525   shlibpath_var=LD_LIBRARY_PATH
   10526   ;;
   10527 
   10528 *)
   10529   dynamic_linker=no
   10530   ;;
   10531 esac
   10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10533 $as_echo "$dynamic_linker" >&6; }
   10534 test "$dynamic_linker" = no && can_build_shared=no
   10535 
   10536 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10537 if test "$GCC" = yes; then
   10538   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10539 fi
   10540 
   10541 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10542   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10543 fi
   10544 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10545   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10546 fi
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10640 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10641 hardcode_action=
   10642 if test -n "$hardcode_libdir_flag_spec" ||
   10643    test -n "$runpath_var" ||
   10644    test "X$hardcode_automatic" = "Xyes" ; then
   10645 
   10646   # We can hardcode non-existent directories.
   10647   if test "$hardcode_direct" != no &&
   10648      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10649      # have to relink, otherwise we might link with an installed library
   10650      # when we should be linking with a yet-to-be-installed one
   10651      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10652      test "$hardcode_minus_L" != no; then
   10653     # Linking always hardcodes the temporary library directory.
   10654     hardcode_action=relink
   10655   else
   10656     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10657     hardcode_action=immediate
   10658   fi
   10659 else
   10660   # We cannot hardcode anything, or else we can only hardcode existing
   10661   # directories.
   10662   hardcode_action=unsupported
   10663 fi
   10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10665 $as_echo "$hardcode_action" >&6; }
   10666 
   10667 if test "$hardcode_action" = relink ||
   10668    test "$inherit_rpath" = yes; then
   10669   # Fast installation is not supported
   10670   enable_fast_install=no
   10671 elif test "$shlibpath_overrides_runpath" = yes ||
   10672      test "$enable_shared" = no; then
   10673   # Fast installation is not necessary
   10674   enable_fast_install=needless
   10675 fi
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682   if test "x$enable_dlopen" != xyes; then
   10683   enable_dlopen=unknown
   10684   enable_dlopen_self=unknown
   10685   enable_dlopen_self_static=unknown
   10686 else
   10687   lt_cv_dlopen=no
   10688   lt_cv_dlopen_libs=
   10689 
   10690   case $host_os in
   10691   beos*)
   10692     lt_cv_dlopen="load_add_on"
   10693     lt_cv_dlopen_libs=
   10694     lt_cv_dlopen_self=yes
   10695     ;;
   10696 
   10697   mingw* | pw32* | cegcc*)
   10698     lt_cv_dlopen="LoadLibrary"
   10699     lt_cv_dlopen_libs=
   10700     ;;
   10701 
   10702   cygwin*)
   10703     lt_cv_dlopen="dlopen"
   10704     lt_cv_dlopen_libs=
   10705     ;;
   10706 
   10707   darwin*)
   10708   # if libdl is installed we need to link against it
   10709     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10710 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10711 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10712   $as_echo_n "(cached) " >&6
   10713 else
   10714   ac_check_lib_save_LIBS=$LIBS
   10715 LIBS="-ldl  $LIBS"
   10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 
   10719 /* Override any GCC internal prototype to avoid an error.
   10720    Use char because int might match the return type of a GCC
   10721    builtin and then its argument prototype would still apply.  */
   10722 #ifdef __cplusplus
   10723 extern "C"
   10724 #endif
   10725 char dlopen ();
   10726 int
   10727 main ()
   10728 {
   10729 return dlopen ();
   10730   ;
   10731   return 0;
   10732 }
   10733 _ACEOF
   10734 if ac_fn_c_try_link "$LINENO"; then :
   10735   ac_cv_lib_dl_dlopen=yes
   10736 else
   10737   ac_cv_lib_dl_dlopen=no
   10738 fi
   10739 rm -f core conftest.err conftest.$ac_objext \
   10740     conftest$ac_exeext conftest.$ac_ext
   10741 LIBS=$ac_check_lib_save_LIBS
   10742 fi
   10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10744 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10745 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10746   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10747 else
   10748 
   10749     lt_cv_dlopen="dyld"
   10750     lt_cv_dlopen_libs=
   10751     lt_cv_dlopen_self=yes
   10752 
   10753 fi
   10754 
   10755     ;;
   10756 
   10757   *)
   10758     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10759 if test "x$ac_cv_func_shl_load" = xyes; then :
   10760   lt_cv_dlopen="shl_load"
   10761 else
   10762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10763 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10764 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10765   $as_echo_n "(cached) " >&6
   10766 else
   10767   ac_check_lib_save_LIBS=$LIBS
   10768 LIBS="-ldld  $LIBS"
   10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10770 /* end confdefs.h.  */
   10771 
   10772 /* Override any GCC internal prototype to avoid an error.
   10773    Use char because int might match the return type of a GCC
   10774    builtin and then its argument prototype would still apply.  */
   10775 #ifdef __cplusplus
   10776 extern "C"
   10777 #endif
   10778 char shl_load ();
   10779 int
   10780 main ()
   10781 {
   10782 return shl_load ();
   10783   ;
   10784   return 0;
   10785 }
   10786 _ACEOF
   10787 if ac_fn_c_try_link "$LINENO"; then :
   10788   ac_cv_lib_dld_shl_load=yes
   10789 else
   10790   ac_cv_lib_dld_shl_load=no
   10791 fi
   10792 rm -f core conftest.err conftest.$ac_objext \
   10793     conftest$ac_exeext conftest.$ac_ext
   10794 LIBS=$ac_check_lib_save_LIBS
   10795 fi
   10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10797 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10798 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10799   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10800 else
   10801   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10802 if test "x$ac_cv_func_dlopen" = xyes; then :
   10803   lt_cv_dlopen="dlopen"
   10804 else
   10805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10806 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10807 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10808   $as_echo_n "(cached) " >&6
   10809 else
   10810   ac_check_lib_save_LIBS=$LIBS
   10811 LIBS="-ldl  $LIBS"
   10812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10813 /* end confdefs.h.  */
   10814 
   10815 /* Override any GCC internal prototype to avoid an error.
   10816    Use char because int might match the return type of a GCC
   10817    builtin and then its argument prototype would still apply.  */
   10818 #ifdef __cplusplus
   10819 extern "C"
   10820 #endif
   10821 char dlopen ();
   10822 int
   10823 main ()
   10824 {
   10825 return dlopen ();
   10826   ;
   10827   return 0;
   10828 }
   10829 _ACEOF
   10830 if ac_fn_c_try_link "$LINENO"; then :
   10831   ac_cv_lib_dl_dlopen=yes
   10832 else
   10833   ac_cv_lib_dl_dlopen=no
   10834 fi
   10835 rm -f core conftest.err conftest.$ac_objext \
   10836     conftest$ac_exeext conftest.$ac_ext
   10837 LIBS=$ac_check_lib_save_LIBS
   10838 fi
   10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10840 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10841 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10842   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10843 else
   10844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10845 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10846 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10847   $as_echo_n "(cached) " >&6
   10848 else
   10849   ac_check_lib_save_LIBS=$LIBS
   10850 LIBS="-lsvld  $LIBS"
   10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10852 /* end confdefs.h.  */
   10853 
   10854 /* Override any GCC internal prototype to avoid an error.
   10855    Use char because int might match the return type of a GCC
   10856    builtin and then its argument prototype would still apply.  */
   10857 #ifdef __cplusplus
   10858 extern "C"
   10859 #endif
   10860 char dlopen ();
   10861 int
   10862 main ()
   10863 {
   10864 return dlopen ();
   10865   ;
   10866   return 0;
   10867 }
   10868 _ACEOF
   10869 if ac_fn_c_try_link "$LINENO"; then :
   10870   ac_cv_lib_svld_dlopen=yes
   10871 else
   10872   ac_cv_lib_svld_dlopen=no
   10873 fi
   10874 rm -f core conftest.err conftest.$ac_objext \
   10875     conftest$ac_exeext conftest.$ac_ext
   10876 LIBS=$ac_check_lib_save_LIBS
   10877 fi
   10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10879 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10880 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10881   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10882 else
   10883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10884 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10885 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10886   $as_echo_n "(cached) " >&6
   10887 else
   10888   ac_check_lib_save_LIBS=$LIBS
   10889 LIBS="-ldld  $LIBS"
   10890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10891 /* end confdefs.h.  */
   10892 
   10893 /* Override any GCC internal prototype to avoid an error.
   10894    Use char because int might match the return type of a GCC
   10895    builtin and then its argument prototype would still apply.  */
   10896 #ifdef __cplusplus
   10897 extern "C"
   10898 #endif
   10899 char dld_link ();
   10900 int
   10901 main ()
   10902 {
   10903 return dld_link ();
   10904   ;
   10905   return 0;
   10906 }
   10907 _ACEOF
   10908 if ac_fn_c_try_link "$LINENO"; then :
   10909   ac_cv_lib_dld_dld_link=yes
   10910 else
   10911   ac_cv_lib_dld_dld_link=no
   10912 fi
   10913 rm -f core conftest.err conftest.$ac_objext \
   10914     conftest$ac_exeext conftest.$ac_ext
   10915 LIBS=$ac_check_lib_save_LIBS
   10916 fi
   10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10918 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10919 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10920   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10921 fi
   10922 
   10923 
   10924 fi
   10925 
   10926 
   10927 fi
   10928 
   10929 
   10930 fi
   10931 
   10932 
   10933 fi
   10934 
   10935 
   10936 fi
   10937 
   10938     ;;
   10939   esac
   10940 
   10941   if test "x$lt_cv_dlopen" != xno; then
   10942     enable_dlopen=yes
   10943   else
   10944     enable_dlopen=no
   10945   fi
   10946 
   10947   case $lt_cv_dlopen in
   10948   dlopen)
   10949     save_CPPFLAGS="$CPPFLAGS"
   10950     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10951 
   10952     save_LDFLAGS="$LDFLAGS"
   10953     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10954 
   10955     save_LIBS="$LIBS"
   10956     LIBS="$lt_cv_dlopen_libs $LIBS"
   10957 
   10958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10959 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10960 if ${lt_cv_dlopen_self+:} false; then :
   10961   $as_echo_n "(cached) " >&6
   10962 else
   10963   	  if test "$cross_compiling" = yes; then :
   10964   lt_cv_dlopen_self=cross
   10965 else
   10966   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10967   lt_status=$lt_dlunknown
   10968   cat > conftest.$ac_ext <<_LT_EOF
   10969 #line $LINENO "configure"
   10970 #include "confdefs.h"
   10971 
   10972 #if HAVE_DLFCN_H
   10973 #include <dlfcn.h>
   10974 #endif
   10975 
   10976 #include <stdio.h>
   10977 
   10978 #ifdef RTLD_GLOBAL
   10979 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10980 #else
   10981 #  ifdef DL_GLOBAL
   10982 #    define LT_DLGLOBAL		DL_GLOBAL
   10983 #  else
   10984 #    define LT_DLGLOBAL		0
   10985 #  endif
   10986 #endif
   10987 
   10988 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10989    find out it does not work in some platform. */
   10990 #ifndef LT_DLLAZY_OR_NOW
   10991 #  ifdef RTLD_LAZY
   10992 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10993 #  else
   10994 #    ifdef DL_LAZY
   10995 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10996 #    else
   10997 #      ifdef RTLD_NOW
   10998 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10999 #      else
   11000 #        ifdef DL_NOW
   11001 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11002 #        else
   11003 #          define LT_DLLAZY_OR_NOW	0
   11004 #        endif
   11005 #      endif
   11006 #    endif
   11007 #  endif
   11008 #endif
   11009 
   11010 /* When -fvisbility=hidden is used, assume the code has been annotated
   11011    correspondingly for the symbols needed.  */
   11012 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11013 int fnord () __attribute__((visibility("default")));
   11014 #endif
   11015 
   11016 int fnord () { return 42; }
   11017 int main ()
   11018 {
   11019   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11020   int status = $lt_dlunknown;
   11021 
   11022   if (self)
   11023     {
   11024       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11025       else
   11026         {
   11027 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11028           else puts (dlerror ());
   11029 	}
   11030       /* dlclose (self); */
   11031     }
   11032   else
   11033     puts (dlerror ());
   11034 
   11035   return status;
   11036 }
   11037 _LT_EOF
   11038   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11039   (eval $ac_link) 2>&5
   11040   ac_status=$?
   11041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11042   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11043     (./conftest; exit; ) >&5 2>/dev/null
   11044     lt_status=$?
   11045     case x$lt_status in
   11046       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11047       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11048       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11049     esac
   11050   else :
   11051     # compilation failed
   11052     lt_cv_dlopen_self=no
   11053   fi
   11054 fi
   11055 rm -fr conftest*
   11056 
   11057 
   11058 fi
   11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11060 $as_echo "$lt_cv_dlopen_self" >&6; }
   11061 
   11062     if test "x$lt_cv_dlopen_self" = xyes; then
   11063       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11064       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11065 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11066 if ${lt_cv_dlopen_self_static+:} false; then :
   11067   $as_echo_n "(cached) " >&6
   11068 else
   11069   	  if test "$cross_compiling" = yes; then :
   11070   lt_cv_dlopen_self_static=cross
   11071 else
   11072   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11073   lt_status=$lt_dlunknown
   11074   cat > conftest.$ac_ext <<_LT_EOF
   11075 #line $LINENO "configure"
   11076 #include "confdefs.h"
   11077 
   11078 #if HAVE_DLFCN_H
   11079 #include <dlfcn.h>
   11080 #endif
   11081 
   11082 #include <stdio.h>
   11083 
   11084 #ifdef RTLD_GLOBAL
   11085 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11086 #else
   11087 #  ifdef DL_GLOBAL
   11088 #    define LT_DLGLOBAL		DL_GLOBAL
   11089 #  else
   11090 #    define LT_DLGLOBAL		0
   11091 #  endif
   11092 #endif
   11093 
   11094 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11095    find out it does not work in some platform. */
   11096 #ifndef LT_DLLAZY_OR_NOW
   11097 #  ifdef RTLD_LAZY
   11098 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11099 #  else
   11100 #    ifdef DL_LAZY
   11101 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11102 #    else
   11103 #      ifdef RTLD_NOW
   11104 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11105 #      else
   11106 #        ifdef DL_NOW
   11107 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11108 #        else
   11109 #          define LT_DLLAZY_OR_NOW	0
   11110 #        endif
   11111 #      endif
   11112 #    endif
   11113 #  endif
   11114 #endif
   11115 
   11116 /* When -fvisbility=hidden is used, assume the code has been annotated
   11117    correspondingly for the symbols needed.  */
   11118 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11119 int fnord () __attribute__((visibility("default")));
   11120 #endif
   11121 
   11122 int fnord () { return 42; }
   11123 int main ()
   11124 {
   11125   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11126   int status = $lt_dlunknown;
   11127 
   11128   if (self)
   11129     {
   11130       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11131       else
   11132         {
   11133 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11134           else puts (dlerror ());
   11135 	}
   11136       /* dlclose (self); */
   11137     }
   11138   else
   11139     puts (dlerror ());
   11140 
   11141   return status;
   11142 }
   11143 _LT_EOF
   11144   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11145   (eval $ac_link) 2>&5
   11146   ac_status=$?
   11147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11148   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11149     (./conftest; exit; ) >&5 2>/dev/null
   11150     lt_status=$?
   11151     case x$lt_status in
   11152       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11153       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11154       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11155     esac
   11156   else :
   11157     # compilation failed
   11158     lt_cv_dlopen_self_static=no
   11159   fi
   11160 fi
   11161 rm -fr conftest*
   11162 
   11163 
   11164 fi
   11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11166 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11167     fi
   11168 
   11169     CPPFLAGS="$save_CPPFLAGS"
   11170     LDFLAGS="$save_LDFLAGS"
   11171     LIBS="$save_LIBS"
   11172     ;;
   11173   esac
   11174 
   11175   case $lt_cv_dlopen_self in
   11176   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11177   *) enable_dlopen_self=unknown ;;
   11178   esac
   11179 
   11180   case $lt_cv_dlopen_self_static in
   11181   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11182   *) enable_dlopen_self_static=unknown ;;
   11183   esac
   11184 fi
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 striplib=
   11203 old_striplib=
   11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11205 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11206 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11207   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11208   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11210 $as_echo "yes" >&6; }
   11211 else
   11212 # FIXME - insert some real tests, host_os isn't really good enough
   11213   case $host_os in
   11214   darwin*)
   11215     if test -n "$STRIP" ; then
   11216       striplib="$STRIP -x"
   11217       old_striplib="$STRIP -S"
   11218       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11219 $as_echo "yes" >&6; }
   11220     else
   11221       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11222 $as_echo "no" >&6; }
   11223     fi
   11224     ;;
   11225   *)
   11226     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11227 $as_echo "no" >&6; }
   11228     ;;
   11229   esac
   11230 fi
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243   # Report which library types will actually be built
   11244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11245 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11247 $as_echo "$can_build_shared" >&6; }
   11248 
   11249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11250 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11251   test "$can_build_shared" = "no" && enable_shared=no
   11252 
   11253   # On AIX, shared libraries and static libraries use the same namespace, and
   11254   # are all built from PIC.
   11255   case $host_os in
   11256   aix3*)
   11257     test "$enable_shared" = yes && enable_static=no
   11258     if test -n "$RANLIB"; then
   11259       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11260       postinstall_cmds='$RANLIB $lib'
   11261     fi
   11262     ;;
   11263 
   11264   aix[4-9]*)
   11265     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11266       test "$enable_shared" = yes && enable_static=no
   11267     fi
   11268     ;;
   11269   esac
   11270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11271 $as_echo "$enable_shared" >&6; }
   11272 
   11273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11274 $as_echo_n "checking whether to build static libraries... " >&6; }
   11275   # Make sure either enable_shared or enable_static is yes.
   11276   test "$enable_shared" = yes || enable_static=yes
   11277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11278 $as_echo "$enable_static" >&6; }
   11279 
   11280 
   11281 
   11282 
   11283 fi
   11284 ac_ext=c
   11285 ac_cpp='$CPP $CPPFLAGS'
   11286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11289 
   11290 CC="$lt_save_CC"
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306         ac_config_commands="$ac_config_commands libtool"
   11307 
   11308 
   11309 
   11310 
   11311 # Only expand once:
   11312 
   11313 
   11314 
   11315 # Require xorg-macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11328 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11329 if ${ac_cv_prog_cc_c99+:} false; then :
   11330   $as_echo_n "(cached) " >&6
   11331 else
   11332   ac_cv_prog_cc_c99=no
   11333 ac_save_CC=$CC
   11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11335 /* end confdefs.h.  */
   11336 #include <stdarg.h>
   11337 #include <stdbool.h>
   11338 #include <stdlib.h>
   11339 #include <wchar.h>
   11340 #include <stdio.h>
   11341 
   11342 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11343 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11344 #define showlist(...) puts (#__VA_ARGS__)
   11345 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11346 static void
   11347 test_varargs_macros (void)
   11348 {
   11349   int x = 1234;
   11350   int y = 5678;
   11351   debug ("Flag");
   11352   debug ("X = %d\n", x);
   11353   showlist (The first, second, and third items.);
   11354   report (x>y, "x is %d but y is %d", x, y);
   11355 }
   11356 
   11357 // Check long long types.
   11358 #define BIG64 18446744073709551615ull
   11359 #define BIG32 4294967295ul
   11360 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11361 #if !BIG_OK
   11362   your preprocessor is broken;
   11363 #endif
   11364 #if BIG_OK
   11365 #else
   11366   your preprocessor is broken;
   11367 #endif
   11368 static long long int bignum = -9223372036854775807LL;
   11369 static unsigned long long int ubignum = BIG64;
   11370 
   11371 struct incomplete_array
   11372 {
   11373   int datasize;
   11374   double data[];
   11375 };
   11376 
   11377 struct named_init {
   11378   int number;
   11379   const wchar_t *name;
   11380   double average;
   11381 };
   11382 
   11383 typedef const char *ccp;
   11384 
   11385 static inline int
   11386 test_restrict (ccp restrict text)
   11387 {
   11388   // See if C++-style comments work.
   11389   // Iterate through items via the restricted pointer.
   11390   // Also check for declarations in for loops.
   11391   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11392     continue;
   11393   return 0;
   11394 }
   11395 
   11396 // Check varargs and va_copy.
   11397 static void
   11398 test_varargs (const char *format, ...)
   11399 {
   11400   va_list args;
   11401   va_start (args, format);
   11402   va_list args_copy;
   11403   va_copy (args_copy, args);
   11404 
   11405   const char *str;
   11406   int number;
   11407   float fnumber;
   11408 
   11409   while (*format)
   11410     {
   11411       switch (*format++)
   11412 	{
   11413 	case 's': // string
   11414 	  str = va_arg (args_copy, const char *);
   11415 	  break;
   11416 	case 'd': // int
   11417 	  number = va_arg (args_copy, int);
   11418 	  break;
   11419 	case 'f': // float
   11420 	  fnumber = va_arg (args_copy, double);
   11421 	  break;
   11422 	default:
   11423 	  break;
   11424 	}
   11425     }
   11426   va_end (args_copy);
   11427   va_end (args);
   11428 }
   11429 
   11430 int
   11431 main ()
   11432 {
   11433 
   11434   // Check bool.
   11435   _Bool success = false;
   11436 
   11437   // Check restrict.
   11438   if (test_restrict ("String literal") == 0)
   11439     success = true;
   11440   char *restrict newvar = "Another string";
   11441 
   11442   // Check varargs.
   11443   test_varargs ("s, d' f .", "string", 65, 34.234);
   11444   test_varargs_macros ();
   11445 
   11446   // Check flexible array members.
   11447   struct incomplete_array *ia =
   11448     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11449   ia->datasize = 10;
   11450   for (int i = 0; i < ia->datasize; ++i)
   11451     ia->data[i] = i * 1.234;
   11452 
   11453   // Check named initializers.
   11454   struct named_init ni = {
   11455     .number = 34,
   11456     .name = L"Test wide string",
   11457     .average = 543.34343,
   11458   };
   11459 
   11460   ni.number = 58;
   11461 
   11462   int dynamic_array[ni.number];
   11463   dynamic_array[ni.number - 1] = 543;
   11464 
   11465   // work around unused variable warnings
   11466   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11467 	  || dynamic_array[ni.number - 1] != 543);
   11468 
   11469   ;
   11470   return 0;
   11471 }
   11472 _ACEOF
   11473 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11474 do
   11475   CC="$ac_save_CC $ac_arg"
   11476   if ac_fn_c_try_compile "$LINENO"; then :
   11477   ac_cv_prog_cc_c99=$ac_arg
   11478 fi
   11479 rm -f core conftest.err conftest.$ac_objext
   11480   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11481 done
   11482 rm -f conftest.$ac_ext
   11483 CC=$ac_save_CC
   11484 
   11485 fi
   11486 # AC_CACHE_VAL
   11487 case "x$ac_cv_prog_cc_c99" in
   11488   x)
   11489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11490 $as_echo "none needed" >&6; } ;;
   11491   xno)
   11492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11493 $as_echo "unsupported" >&6; } ;;
   11494   *)
   11495     CC="$CC $ac_cv_prog_cc_c99"
   11496     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11497 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11498 esac
   11499 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11500 
   11501 fi
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11509 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11510   CLANGCC="yes"
   11511 else
   11512   CLANGCC="no"
   11513 fi
   11514 
   11515 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11516 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11517   INTELCC="yes"
   11518 else
   11519   INTELCC="no"
   11520 fi
   11521 
   11522 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11523 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11524   SUNCC="yes"
   11525 else
   11526   SUNCC="no"
   11527 fi
   11528 
   11529 
   11530 
   11531 
   11532 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11533 	if test -n "$ac_tool_prefix"; then
   11534   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11535 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11537 $as_echo_n "checking for $ac_word... " >&6; }
   11538 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11539   $as_echo_n "(cached) " >&6
   11540 else
   11541   case $PKG_CONFIG in
   11542   [\\/]* | ?:[\\/]*)
   11543   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11544   ;;
   11545   *)
   11546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11547 for as_dir in $PATH
   11548 do
   11549   IFS=$as_save_IFS
   11550   test -z "$as_dir" && as_dir=.
   11551     for ac_exec_ext in '' $ac_executable_extensions; do
   11552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11553     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11555     break 2
   11556   fi
   11557 done
   11558   done
   11559 IFS=$as_save_IFS
   11560 
   11561   ;;
   11562 esac
   11563 fi
   11564 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11565 if test -n "$PKG_CONFIG"; then
   11566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11567 $as_echo "$PKG_CONFIG" >&6; }
   11568 else
   11569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11570 $as_echo "no" >&6; }
   11571 fi
   11572 
   11573 
   11574 fi
   11575 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11576   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11577   # Extract the first word of "pkg-config", so it can be a program name with args.
   11578 set dummy pkg-config; ac_word=$2
   11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11580 $as_echo_n "checking for $ac_word... " >&6; }
   11581 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11582   $as_echo_n "(cached) " >&6
   11583 else
   11584   case $ac_pt_PKG_CONFIG in
   11585   [\\/]* | ?:[\\/]*)
   11586   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11587   ;;
   11588   *)
   11589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11590 for as_dir in $PATH
   11591 do
   11592   IFS=$as_save_IFS
   11593   test -z "$as_dir" && as_dir=.
   11594     for ac_exec_ext in '' $ac_executable_extensions; do
   11595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11596     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11598     break 2
   11599   fi
   11600 done
   11601   done
   11602 IFS=$as_save_IFS
   11603 
   11604   ;;
   11605 esac
   11606 fi
   11607 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11608 if test -n "$ac_pt_PKG_CONFIG"; then
   11609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11610 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11611 else
   11612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11613 $as_echo "no" >&6; }
   11614 fi
   11615 
   11616   if test "x$ac_pt_PKG_CONFIG" = x; then
   11617     PKG_CONFIG=""
   11618   else
   11619     case $cross_compiling:$ac_tool_warned in
   11620 yes:)
   11621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11623 ac_tool_warned=yes ;;
   11624 esac
   11625     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11626   fi
   11627 else
   11628   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11629 fi
   11630 
   11631 fi
   11632 if test -n "$PKG_CONFIG"; then
   11633 	_pkg_min_version=0.9.0
   11634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11635 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11636 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11638 $as_echo "yes" >&6; }
   11639 	else
   11640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11641 $as_echo "no" >&6; }
   11642 		PKG_CONFIG=""
   11643 	fi
   11644 
   11645 fi
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 # Check whether --enable-selective-werror was given.
   11652 if test "${enable_selective_werror+set}" = set; then :
   11653   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11654 else
   11655   SELECTIVE_WERROR=yes
   11656 fi
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11663 if test "x$SUNCC" = "xyes"; then
   11664     BASE_CFLAGS="-v"
   11665 else
   11666     BASE_CFLAGS=""
   11667 fi
   11668 
   11669 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 xorg_testset_save_CFLAGS="$CFLAGS"
   11684 
   11685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11690   $as_echo_n "(cached) " >&6
   11691 else
   11692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11693 /* end confdefs.h.  */
   11694 int i;
   11695 _ACEOF
   11696 if ac_fn_c_try_compile "$LINENO"; then :
   11697   xorg_cv_cc_flag_unknown_warning_option=yes
   11698 else
   11699   xorg_cv_cc_flag_unknown_warning_option=no
   11700 fi
   11701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11702 fi
   11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11706 	CFLAGS="$xorg_testset_save_CFLAGS"
   11707 fi
   11708 
   11709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11712 	fi
   11713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11717   $as_echo_n "(cached) " >&6
   11718 else
   11719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11720 /* end confdefs.h.  */
   11721 int i;
   11722 _ACEOF
   11723 if ac_fn_c_try_compile "$LINENO"; then :
   11724   xorg_cv_cc_flag_unused_command_line_argument=yes
   11725 else
   11726   xorg_cv_cc_flag_unused_command_line_argument=no
   11727 fi
   11728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11729 fi
   11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11733 	CFLAGS="$xorg_testset_save_CFLAGS"
   11734 fi
   11735 
   11736 found="no"
   11737 
   11738 	if test $found = "no" ; then
   11739 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11741 		fi
   11742 
   11743 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11745 		fi
   11746 
   11747 		CFLAGS="$CFLAGS -Wall"
   11748 
   11749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11750 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11751 		cacheid=xorg_cv_cc_flag__Wall
   11752 		if eval \${$cacheid+:} false; then :
   11753   $as_echo_n "(cached) " >&6
   11754 else
   11755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11756 /* end confdefs.h.  */
   11757 int i;
   11758 int
   11759 main ()
   11760 {
   11761 
   11762   ;
   11763   return 0;
   11764 }
   11765 _ACEOF
   11766 if ac_fn_c_try_link "$LINENO"; then :
   11767   eval $cacheid=yes
   11768 else
   11769   eval $cacheid=no
   11770 fi
   11771 rm -f core conftest.err conftest.$ac_objext \
   11772     conftest$ac_exeext conftest.$ac_ext
   11773 fi
   11774 
   11775 
   11776 		CFLAGS="$xorg_testset_save_CFLAGS"
   11777 
   11778 		eval supported=\$$cacheid
   11779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11780 $as_echo "$supported" >&6; }
   11781 		if test "$supported" = "yes" ; then
   11782 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11783 			found="yes"
   11784 		fi
   11785 	fi
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 xorg_testset_save_CFLAGS="$CFLAGS"
   11802 
   11803 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11804 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11806 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11807 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11808   $as_echo_n "(cached) " >&6
   11809 else
   11810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11811 /* end confdefs.h.  */
   11812 int i;
   11813 _ACEOF
   11814 if ac_fn_c_try_compile "$LINENO"; then :
   11815   xorg_cv_cc_flag_unknown_warning_option=yes
   11816 else
   11817   xorg_cv_cc_flag_unknown_warning_option=no
   11818 fi
   11819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11820 fi
   11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11822 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11823 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11824 	CFLAGS="$xorg_testset_save_CFLAGS"
   11825 fi
   11826 
   11827 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11828 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11829 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11830 	fi
   11831 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11832 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11833 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11834 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11835   $as_echo_n "(cached) " >&6
   11836 else
   11837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11838 /* end confdefs.h.  */
   11839 int i;
   11840 _ACEOF
   11841 if ac_fn_c_try_compile "$LINENO"; then :
   11842   xorg_cv_cc_flag_unused_command_line_argument=yes
   11843 else
   11844   xorg_cv_cc_flag_unused_command_line_argument=no
   11845 fi
   11846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11847 fi
   11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11849 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11851 	CFLAGS="$xorg_testset_save_CFLAGS"
   11852 fi
   11853 
   11854 found="no"
   11855 
   11856 	if test $found = "no" ; then
   11857 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11859 		fi
   11860 
   11861 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11863 		fi
   11864 
   11865 		CFLAGS="$CFLAGS -Wpointer-arith"
   11866 
   11867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11868 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11869 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11870 		if eval \${$cacheid+:} false; then :
   11871   $as_echo_n "(cached) " >&6
   11872 else
   11873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11874 /* end confdefs.h.  */
   11875 int i;
   11876 int
   11877 main ()
   11878 {
   11879 
   11880   ;
   11881   return 0;
   11882 }
   11883 _ACEOF
   11884 if ac_fn_c_try_link "$LINENO"; then :
   11885   eval $cacheid=yes
   11886 else
   11887   eval $cacheid=no
   11888 fi
   11889 rm -f core conftest.err conftest.$ac_objext \
   11890     conftest$ac_exeext conftest.$ac_ext
   11891 fi
   11892 
   11893 
   11894 		CFLAGS="$xorg_testset_save_CFLAGS"
   11895 
   11896 		eval supported=\$$cacheid
   11897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11898 $as_echo "$supported" >&6; }
   11899 		if test "$supported" = "yes" ; then
   11900 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11901 			found="yes"
   11902 		fi
   11903 	fi
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 xorg_testset_save_CFLAGS="$CFLAGS"
   11920 
   11921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11926   $as_echo_n "(cached) " >&6
   11927 else
   11928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11929 /* end confdefs.h.  */
   11930 int i;
   11931 _ACEOF
   11932 if ac_fn_c_try_compile "$LINENO"; then :
   11933   xorg_cv_cc_flag_unknown_warning_option=yes
   11934 else
   11935   xorg_cv_cc_flag_unknown_warning_option=no
   11936 fi
   11937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11938 fi
   11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11942 	CFLAGS="$xorg_testset_save_CFLAGS"
   11943 fi
   11944 
   11945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11948 	fi
   11949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11953   $as_echo_n "(cached) " >&6
   11954 else
   11955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11956 /* end confdefs.h.  */
   11957 int i;
   11958 _ACEOF
   11959 if ac_fn_c_try_compile "$LINENO"; then :
   11960   xorg_cv_cc_flag_unused_command_line_argument=yes
   11961 else
   11962   xorg_cv_cc_flag_unused_command_line_argument=no
   11963 fi
   11964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11965 fi
   11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11969 	CFLAGS="$xorg_testset_save_CFLAGS"
   11970 fi
   11971 
   11972 found="no"
   11973 
   11974 	if test $found = "no" ; then
   11975 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11977 		fi
   11978 
   11979 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11981 		fi
   11982 
   11983 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11984 
   11985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11986 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11987 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   11988 		if eval \${$cacheid+:} false; then :
   11989   $as_echo_n "(cached) " >&6
   11990 else
   11991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11992 /* end confdefs.h.  */
   11993 int i;
   11994 int
   11995 main ()
   11996 {
   11997 
   11998   ;
   11999   return 0;
   12000 }
   12001 _ACEOF
   12002 if ac_fn_c_try_link "$LINENO"; then :
   12003   eval $cacheid=yes
   12004 else
   12005   eval $cacheid=no
   12006 fi
   12007 rm -f core conftest.err conftest.$ac_objext \
   12008     conftest$ac_exeext conftest.$ac_ext
   12009 fi
   12010 
   12011 
   12012 		CFLAGS="$xorg_testset_save_CFLAGS"
   12013 
   12014 		eval supported=\$$cacheid
   12015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12016 $as_echo "$supported" >&6; }
   12017 		if test "$supported" = "yes" ; then
   12018 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12019 			found="yes"
   12020 		fi
   12021 	fi
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 xorg_testset_save_CFLAGS="$CFLAGS"
   12038 
   12039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12044   $as_echo_n "(cached) " >&6
   12045 else
   12046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12047 /* end confdefs.h.  */
   12048 int i;
   12049 _ACEOF
   12050 if ac_fn_c_try_compile "$LINENO"; then :
   12051   xorg_cv_cc_flag_unknown_warning_option=yes
   12052 else
   12053   xorg_cv_cc_flag_unknown_warning_option=no
   12054 fi
   12055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12056 fi
   12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12060 	CFLAGS="$xorg_testset_save_CFLAGS"
   12061 fi
   12062 
   12063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12066 	fi
   12067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12071   $as_echo_n "(cached) " >&6
   12072 else
   12073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12074 /* end confdefs.h.  */
   12075 int i;
   12076 _ACEOF
   12077 if ac_fn_c_try_compile "$LINENO"; then :
   12078   xorg_cv_cc_flag_unused_command_line_argument=yes
   12079 else
   12080   xorg_cv_cc_flag_unused_command_line_argument=no
   12081 fi
   12082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12083 fi
   12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12087 	CFLAGS="$xorg_testset_save_CFLAGS"
   12088 fi
   12089 
   12090 found="no"
   12091 
   12092 	if test $found = "no" ; then
   12093 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12095 		fi
   12096 
   12097 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12099 		fi
   12100 
   12101 		CFLAGS="$CFLAGS -Wformat=2"
   12102 
   12103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12104 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12105 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12106 		if eval \${$cacheid+:} false; then :
   12107   $as_echo_n "(cached) " >&6
   12108 else
   12109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12110 /* end confdefs.h.  */
   12111 int i;
   12112 int
   12113 main ()
   12114 {
   12115 
   12116   ;
   12117   return 0;
   12118 }
   12119 _ACEOF
   12120 if ac_fn_c_try_link "$LINENO"; then :
   12121   eval $cacheid=yes
   12122 else
   12123   eval $cacheid=no
   12124 fi
   12125 rm -f core conftest.err conftest.$ac_objext \
   12126     conftest$ac_exeext conftest.$ac_ext
   12127 fi
   12128 
   12129 
   12130 		CFLAGS="$xorg_testset_save_CFLAGS"
   12131 
   12132 		eval supported=\$$cacheid
   12133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12134 $as_echo "$supported" >&6; }
   12135 		if test "$supported" = "yes" ; then
   12136 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12137 			found="yes"
   12138 		fi
   12139 	fi
   12140 
   12141 	if test $found = "no" ; then
   12142 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12144 		fi
   12145 
   12146 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12148 		fi
   12149 
   12150 		CFLAGS="$CFLAGS -Wformat"
   12151 
   12152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12153 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12154 		cacheid=xorg_cv_cc_flag__Wformat
   12155 		if eval \${$cacheid+:} false; then :
   12156   $as_echo_n "(cached) " >&6
   12157 else
   12158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12159 /* end confdefs.h.  */
   12160 int i;
   12161 int
   12162 main ()
   12163 {
   12164 
   12165   ;
   12166   return 0;
   12167 }
   12168 _ACEOF
   12169 if ac_fn_c_try_link "$LINENO"; then :
   12170   eval $cacheid=yes
   12171 else
   12172   eval $cacheid=no
   12173 fi
   12174 rm -f core conftest.err conftest.$ac_objext \
   12175     conftest$ac_exeext conftest.$ac_ext
   12176 fi
   12177 
   12178 
   12179 		CFLAGS="$xorg_testset_save_CFLAGS"
   12180 
   12181 		eval supported=\$$cacheid
   12182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12183 $as_echo "$supported" >&6; }
   12184 		if test "$supported" = "yes" ; then
   12185 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12186 			found="yes"
   12187 		fi
   12188 	fi
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 xorg_testset_save_CFLAGS="$CFLAGS"
   12207 
   12208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12213   $as_echo_n "(cached) " >&6
   12214 else
   12215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12216 /* end confdefs.h.  */
   12217 int i;
   12218 _ACEOF
   12219 if ac_fn_c_try_compile "$LINENO"; then :
   12220   xorg_cv_cc_flag_unknown_warning_option=yes
   12221 else
   12222   xorg_cv_cc_flag_unknown_warning_option=no
   12223 fi
   12224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12225 fi
   12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12229 	CFLAGS="$xorg_testset_save_CFLAGS"
   12230 fi
   12231 
   12232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12235 	fi
   12236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12240   $as_echo_n "(cached) " >&6
   12241 else
   12242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12243 /* end confdefs.h.  */
   12244 int i;
   12245 _ACEOF
   12246 if ac_fn_c_try_compile "$LINENO"; then :
   12247   xorg_cv_cc_flag_unused_command_line_argument=yes
   12248 else
   12249   xorg_cv_cc_flag_unused_command_line_argument=no
   12250 fi
   12251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12252 fi
   12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12256 	CFLAGS="$xorg_testset_save_CFLAGS"
   12257 fi
   12258 
   12259 found="no"
   12260 
   12261 	if test $found = "no" ; then
   12262 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12264 		fi
   12265 
   12266 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12268 		fi
   12269 
   12270 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12271 
   12272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12273 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12274 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12275 		if eval \${$cacheid+:} false; then :
   12276   $as_echo_n "(cached) " >&6
   12277 else
   12278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12279 /* end confdefs.h.  */
   12280 int i;
   12281 int
   12282 main ()
   12283 {
   12284 
   12285   ;
   12286   return 0;
   12287 }
   12288 _ACEOF
   12289 if ac_fn_c_try_link "$LINENO"; then :
   12290   eval $cacheid=yes
   12291 else
   12292   eval $cacheid=no
   12293 fi
   12294 rm -f core conftest.err conftest.$ac_objext \
   12295     conftest$ac_exeext conftest.$ac_ext
   12296 fi
   12297 
   12298 
   12299 		CFLAGS="$xorg_testset_save_CFLAGS"
   12300 
   12301 		eval supported=\$$cacheid
   12302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12303 $as_echo "$supported" >&6; }
   12304 		if test "$supported" = "yes" ; then
   12305 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12306 			found="yes"
   12307 		fi
   12308 	fi
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 xorg_testset_save_CFLAGS="$CFLAGS"
   12325 
   12326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12331   $as_echo_n "(cached) " >&6
   12332 else
   12333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12334 /* end confdefs.h.  */
   12335 int i;
   12336 _ACEOF
   12337 if ac_fn_c_try_compile "$LINENO"; then :
   12338   xorg_cv_cc_flag_unknown_warning_option=yes
   12339 else
   12340   xorg_cv_cc_flag_unknown_warning_option=no
   12341 fi
   12342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12343 fi
   12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12347 	CFLAGS="$xorg_testset_save_CFLAGS"
   12348 fi
   12349 
   12350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12353 	fi
   12354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12358   $as_echo_n "(cached) " >&6
   12359 else
   12360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12361 /* end confdefs.h.  */
   12362 int i;
   12363 _ACEOF
   12364 if ac_fn_c_try_compile "$LINENO"; then :
   12365   xorg_cv_cc_flag_unused_command_line_argument=yes
   12366 else
   12367   xorg_cv_cc_flag_unused_command_line_argument=no
   12368 fi
   12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12370 fi
   12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12374 	CFLAGS="$xorg_testset_save_CFLAGS"
   12375 fi
   12376 
   12377 found="no"
   12378 
   12379 	if test $found = "no" ; then
   12380 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12382 		fi
   12383 
   12384 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12386 		fi
   12387 
   12388 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12389 
   12390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12391 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12392 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12393 		if eval \${$cacheid+:} false; then :
   12394   $as_echo_n "(cached) " >&6
   12395 else
   12396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12397 /* end confdefs.h.  */
   12398 int i;
   12399 int
   12400 main ()
   12401 {
   12402 
   12403   ;
   12404   return 0;
   12405 }
   12406 _ACEOF
   12407 if ac_fn_c_try_link "$LINENO"; then :
   12408   eval $cacheid=yes
   12409 else
   12410   eval $cacheid=no
   12411 fi
   12412 rm -f core conftest.err conftest.$ac_objext \
   12413     conftest$ac_exeext conftest.$ac_ext
   12414 fi
   12415 
   12416 
   12417 		CFLAGS="$xorg_testset_save_CFLAGS"
   12418 
   12419 		eval supported=\$$cacheid
   12420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12421 $as_echo "$supported" >&6; }
   12422 		if test "$supported" = "yes" ; then
   12423 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12424 			found="yes"
   12425 		fi
   12426 	fi
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 xorg_testset_save_CFLAGS="$CFLAGS"
   12443 
   12444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12449   $as_echo_n "(cached) " >&6
   12450 else
   12451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12452 /* end confdefs.h.  */
   12453 int i;
   12454 _ACEOF
   12455 if ac_fn_c_try_compile "$LINENO"; then :
   12456   xorg_cv_cc_flag_unknown_warning_option=yes
   12457 else
   12458   xorg_cv_cc_flag_unknown_warning_option=no
   12459 fi
   12460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12461 fi
   12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12465 	CFLAGS="$xorg_testset_save_CFLAGS"
   12466 fi
   12467 
   12468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12471 	fi
   12472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12476   $as_echo_n "(cached) " >&6
   12477 else
   12478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12479 /* end confdefs.h.  */
   12480 int i;
   12481 _ACEOF
   12482 if ac_fn_c_try_compile "$LINENO"; then :
   12483   xorg_cv_cc_flag_unused_command_line_argument=yes
   12484 else
   12485   xorg_cv_cc_flag_unused_command_line_argument=no
   12486 fi
   12487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12488 fi
   12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12492 	CFLAGS="$xorg_testset_save_CFLAGS"
   12493 fi
   12494 
   12495 found="no"
   12496 
   12497 	if test $found = "no" ; then
   12498 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12500 		fi
   12501 
   12502 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12504 		fi
   12505 
   12506 		CFLAGS="$CFLAGS -Wnested-externs"
   12507 
   12508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12509 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12510 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12511 		if eval \${$cacheid+:} false; then :
   12512   $as_echo_n "(cached) " >&6
   12513 else
   12514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12515 /* end confdefs.h.  */
   12516 int i;
   12517 int
   12518 main ()
   12519 {
   12520 
   12521   ;
   12522   return 0;
   12523 }
   12524 _ACEOF
   12525 if ac_fn_c_try_link "$LINENO"; then :
   12526   eval $cacheid=yes
   12527 else
   12528   eval $cacheid=no
   12529 fi
   12530 rm -f core conftest.err conftest.$ac_objext \
   12531     conftest$ac_exeext conftest.$ac_ext
   12532 fi
   12533 
   12534 
   12535 		CFLAGS="$xorg_testset_save_CFLAGS"
   12536 
   12537 		eval supported=\$$cacheid
   12538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12539 $as_echo "$supported" >&6; }
   12540 		if test "$supported" = "yes" ; then
   12541 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12542 			found="yes"
   12543 		fi
   12544 	fi
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 xorg_testset_save_CFLAGS="$CFLAGS"
   12561 
   12562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12567   $as_echo_n "(cached) " >&6
   12568 else
   12569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12570 /* end confdefs.h.  */
   12571 int i;
   12572 _ACEOF
   12573 if ac_fn_c_try_compile "$LINENO"; then :
   12574   xorg_cv_cc_flag_unknown_warning_option=yes
   12575 else
   12576   xorg_cv_cc_flag_unknown_warning_option=no
   12577 fi
   12578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12579 fi
   12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12583 	CFLAGS="$xorg_testset_save_CFLAGS"
   12584 fi
   12585 
   12586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12589 	fi
   12590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12594   $as_echo_n "(cached) " >&6
   12595 else
   12596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12597 /* end confdefs.h.  */
   12598 int i;
   12599 _ACEOF
   12600 if ac_fn_c_try_compile "$LINENO"; then :
   12601   xorg_cv_cc_flag_unused_command_line_argument=yes
   12602 else
   12603   xorg_cv_cc_flag_unused_command_line_argument=no
   12604 fi
   12605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12606 fi
   12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12610 	CFLAGS="$xorg_testset_save_CFLAGS"
   12611 fi
   12612 
   12613 found="no"
   12614 
   12615 	if test $found = "no" ; then
   12616 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12618 		fi
   12619 
   12620 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12622 		fi
   12623 
   12624 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12625 
   12626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12627 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12628 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12629 		if eval \${$cacheid+:} false; then :
   12630   $as_echo_n "(cached) " >&6
   12631 else
   12632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12633 /* end confdefs.h.  */
   12634 int i;
   12635 int
   12636 main ()
   12637 {
   12638 
   12639   ;
   12640   return 0;
   12641 }
   12642 _ACEOF
   12643 if ac_fn_c_try_link "$LINENO"; then :
   12644   eval $cacheid=yes
   12645 else
   12646   eval $cacheid=no
   12647 fi
   12648 rm -f core conftest.err conftest.$ac_objext \
   12649     conftest$ac_exeext conftest.$ac_ext
   12650 fi
   12651 
   12652 
   12653 		CFLAGS="$xorg_testset_save_CFLAGS"
   12654 
   12655 		eval supported=\$$cacheid
   12656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12657 $as_echo "$supported" >&6; }
   12658 		if test "$supported" = "yes" ; then
   12659 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12660 			found="yes"
   12661 		fi
   12662 	fi
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 xorg_testset_save_CFLAGS="$CFLAGS"
   12679 
   12680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12685   $as_echo_n "(cached) " >&6
   12686 else
   12687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12688 /* end confdefs.h.  */
   12689 int i;
   12690 _ACEOF
   12691 if ac_fn_c_try_compile "$LINENO"; then :
   12692   xorg_cv_cc_flag_unknown_warning_option=yes
   12693 else
   12694   xorg_cv_cc_flag_unknown_warning_option=no
   12695 fi
   12696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12697 fi
   12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12701 	CFLAGS="$xorg_testset_save_CFLAGS"
   12702 fi
   12703 
   12704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12707 	fi
   12708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12712   $as_echo_n "(cached) " >&6
   12713 else
   12714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12715 /* end confdefs.h.  */
   12716 int i;
   12717 _ACEOF
   12718 if ac_fn_c_try_compile "$LINENO"; then :
   12719   xorg_cv_cc_flag_unused_command_line_argument=yes
   12720 else
   12721   xorg_cv_cc_flag_unused_command_line_argument=no
   12722 fi
   12723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12724 fi
   12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12728 	CFLAGS="$xorg_testset_save_CFLAGS"
   12729 fi
   12730 
   12731 found="no"
   12732 
   12733 	if test $found = "no" ; then
   12734 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12736 		fi
   12737 
   12738 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12740 		fi
   12741 
   12742 		CFLAGS="$CFLAGS -Wold-style-definition"
   12743 
   12744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12745 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12746 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12747 		if eval \${$cacheid+:} false; then :
   12748   $as_echo_n "(cached) " >&6
   12749 else
   12750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12751 /* end confdefs.h.  */
   12752 int i;
   12753 int
   12754 main ()
   12755 {
   12756 
   12757   ;
   12758   return 0;
   12759 }
   12760 _ACEOF
   12761 if ac_fn_c_try_link "$LINENO"; then :
   12762   eval $cacheid=yes
   12763 else
   12764   eval $cacheid=no
   12765 fi
   12766 rm -f core conftest.err conftest.$ac_objext \
   12767     conftest$ac_exeext conftest.$ac_ext
   12768 fi
   12769 
   12770 
   12771 		CFLAGS="$xorg_testset_save_CFLAGS"
   12772 
   12773 		eval supported=\$$cacheid
   12774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12775 $as_echo "$supported" >&6; }
   12776 		if test "$supported" = "yes" ; then
   12777 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12778 			found="yes"
   12779 		fi
   12780 	fi
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 xorg_testset_save_CFLAGS="$CFLAGS"
   12797 
   12798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12803   $as_echo_n "(cached) " >&6
   12804 else
   12805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12806 /* end confdefs.h.  */
   12807 int i;
   12808 _ACEOF
   12809 if ac_fn_c_try_compile "$LINENO"; then :
   12810   xorg_cv_cc_flag_unknown_warning_option=yes
   12811 else
   12812   xorg_cv_cc_flag_unknown_warning_option=no
   12813 fi
   12814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12815 fi
   12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12819 	CFLAGS="$xorg_testset_save_CFLAGS"
   12820 fi
   12821 
   12822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12825 	fi
   12826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12830   $as_echo_n "(cached) " >&6
   12831 else
   12832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12833 /* end confdefs.h.  */
   12834 int i;
   12835 _ACEOF
   12836 if ac_fn_c_try_compile "$LINENO"; then :
   12837   xorg_cv_cc_flag_unused_command_line_argument=yes
   12838 else
   12839   xorg_cv_cc_flag_unused_command_line_argument=no
   12840 fi
   12841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12842 fi
   12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12846 	CFLAGS="$xorg_testset_save_CFLAGS"
   12847 fi
   12848 
   12849 found="no"
   12850 
   12851 	if test $found = "no" ; then
   12852 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12854 		fi
   12855 
   12856 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12858 		fi
   12859 
   12860 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12861 
   12862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12863 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12864 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12865 		if eval \${$cacheid+:} false; then :
   12866   $as_echo_n "(cached) " >&6
   12867 else
   12868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12869 /* end confdefs.h.  */
   12870 int i;
   12871 int
   12872 main ()
   12873 {
   12874 
   12875   ;
   12876   return 0;
   12877 }
   12878 _ACEOF
   12879 if ac_fn_c_try_link "$LINENO"; then :
   12880   eval $cacheid=yes
   12881 else
   12882   eval $cacheid=no
   12883 fi
   12884 rm -f core conftest.err conftest.$ac_objext \
   12885     conftest$ac_exeext conftest.$ac_ext
   12886 fi
   12887 
   12888 
   12889 		CFLAGS="$xorg_testset_save_CFLAGS"
   12890 
   12891 		eval supported=\$$cacheid
   12892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12893 $as_echo "$supported" >&6; }
   12894 		if test "$supported" = "yes" ; then
   12895 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12896 			found="yes"
   12897 		fi
   12898 	fi
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 # This chunk adds additional warnings that could catch undesired effects.
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 xorg_testset_save_CFLAGS="$CFLAGS"
   12919 
   12920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12923 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12924 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12925   $as_echo_n "(cached) " >&6
   12926 else
   12927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12928 /* end confdefs.h.  */
   12929 int i;
   12930 _ACEOF
   12931 if ac_fn_c_try_compile "$LINENO"; then :
   12932   xorg_cv_cc_flag_unknown_warning_option=yes
   12933 else
   12934   xorg_cv_cc_flag_unknown_warning_option=no
   12935 fi
   12936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12937 fi
   12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12939 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12941 	CFLAGS="$xorg_testset_save_CFLAGS"
   12942 fi
   12943 
   12944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12947 	fi
   12948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12950 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12951 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12952   $as_echo_n "(cached) " >&6
   12953 else
   12954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12955 /* end confdefs.h.  */
   12956 int i;
   12957 _ACEOF
   12958 if ac_fn_c_try_compile "$LINENO"; then :
   12959   xorg_cv_cc_flag_unused_command_line_argument=yes
   12960 else
   12961   xorg_cv_cc_flag_unused_command_line_argument=no
   12962 fi
   12963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12964 fi
   12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12966 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12968 	CFLAGS="$xorg_testset_save_CFLAGS"
   12969 fi
   12970 
   12971 found="no"
   12972 
   12973 	if test $found = "no" ; then
   12974 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12976 		fi
   12977 
   12978 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12980 		fi
   12981 
   12982 		CFLAGS="$CFLAGS -Wunused"
   12983 
   12984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12985 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12986 		cacheid=xorg_cv_cc_flag__Wunused
   12987 		if eval \${$cacheid+:} false; then :
   12988   $as_echo_n "(cached) " >&6
   12989 else
   12990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12991 /* end confdefs.h.  */
   12992 int i;
   12993 int
   12994 main ()
   12995 {
   12996 
   12997   ;
   12998   return 0;
   12999 }
   13000 _ACEOF
   13001 if ac_fn_c_try_link "$LINENO"; then :
   13002   eval $cacheid=yes
   13003 else
   13004   eval $cacheid=no
   13005 fi
   13006 rm -f core conftest.err conftest.$ac_objext \
   13007     conftest$ac_exeext conftest.$ac_ext
   13008 fi
   13009 
   13010 
   13011 		CFLAGS="$xorg_testset_save_CFLAGS"
   13012 
   13013 		eval supported=\$$cacheid
   13014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13015 $as_echo "$supported" >&6; }
   13016 		if test "$supported" = "yes" ; then
   13017 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13018 			found="yes"
   13019 		fi
   13020 	fi
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 xorg_testset_save_CFLAGS="$CFLAGS"
   13037 
   13038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13041 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13042 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13043   $as_echo_n "(cached) " >&6
   13044 else
   13045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13046 /* end confdefs.h.  */
   13047 int i;
   13048 _ACEOF
   13049 if ac_fn_c_try_compile "$LINENO"; then :
   13050   xorg_cv_cc_flag_unknown_warning_option=yes
   13051 else
   13052   xorg_cv_cc_flag_unknown_warning_option=no
   13053 fi
   13054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13055 fi
   13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13057 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13059 	CFLAGS="$xorg_testset_save_CFLAGS"
   13060 fi
   13061 
   13062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13065 	fi
   13066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13068 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13069 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13070   $as_echo_n "(cached) " >&6
   13071 else
   13072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13073 /* end confdefs.h.  */
   13074 int i;
   13075 _ACEOF
   13076 if ac_fn_c_try_compile "$LINENO"; then :
   13077   xorg_cv_cc_flag_unused_command_line_argument=yes
   13078 else
   13079   xorg_cv_cc_flag_unused_command_line_argument=no
   13080 fi
   13081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13082 fi
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13084 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13086 	CFLAGS="$xorg_testset_save_CFLAGS"
   13087 fi
   13088 
   13089 found="no"
   13090 
   13091 	if test $found = "no" ; then
   13092 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13094 		fi
   13095 
   13096 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13098 		fi
   13099 
   13100 		CFLAGS="$CFLAGS -Wuninitialized"
   13101 
   13102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13103 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13104 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13105 		if eval \${$cacheid+:} false; then :
   13106   $as_echo_n "(cached) " >&6
   13107 else
   13108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13109 /* end confdefs.h.  */
   13110 int i;
   13111 int
   13112 main ()
   13113 {
   13114 
   13115   ;
   13116   return 0;
   13117 }
   13118 _ACEOF
   13119 if ac_fn_c_try_link "$LINENO"; then :
   13120   eval $cacheid=yes
   13121 else
   13122   eval $cacheid=no
   13123 fi
   13124 rm -f core conftest.err conftest.$ac_objext \
   13125     conftest$ac_exeext conftest.$ac_ext
   13126 fi
   13127 
   13128 
   13129 		CFLAGS="$xorg_testset_save_CFLAGS"
   13130 
   13131 		eval supported=\$$cacheid
   13132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13133 $as_echo "$supported" >&6; }
   13134 		if test "$supported" = "yes" ; then
   13135 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13136 			found="yes"
   13137 		fi
   13138 	fi
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 xorg_testset_save_CFLAGS="$CFLAGS"
   13155 
   13156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13159 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13160 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13161   $as_echo_n "(cached) " >&6
   13162 else
   13163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13164 /* end confdefs.h.  */
   13165 int i;
   13166 _ACEOF
   13167 if ac_fn_c_try_compile "$LINENO"; then :
   13168   xorg_cv_cc_flag_unknown_warning_option=yes
   13169 else
   13170   xorg_cv_cc_flag_unknown_warning_option=no
   13171 fi
   13172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13173 fi
   13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13175 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13176 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13177 	CFLAGS="$xorg_testset_save_CFLAGS"
   13178 fi
   13179 
   13180 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13181 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13182 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13183 	fi
   13184 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13186 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13187 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13188   $as_echo_n "(cached) " >&6
   13189 else
   13190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13191 /* end confdefs.h.  */
   13192 int i;
   13193 _ACEOF
   13194 if ac_fn_c_try_compile "$LINENO"; then :
   13195   xorg_cv_cc_flag_unused_command_line_argument=yes
   13196 else
   13197   xorg_cv_cc_flag_unused_command_line_argument=no
   13198 fi
   13199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13200 fi
   13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13202 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13204 	CFLAGS="$xorg_testset_save_CFLAGS"
   13205 fi
   13206 
   13207 found="no"
   13208 
   13209 	if test $found = "no" ; then
   13210 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13212 		fi
   13213 
   13214 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13216 		fi
   13217 
   13218 		CFLAGS="$CFLAGS -Wshadow"
   13219 
   13220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13221 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13222 		cacheid=xorg_cv_cc_flag__Wshadow
   13223 		if eval \${$cacheid+:} false; then :
   13224   $as_echo_n "(cached) " >&6
   13225 else
   13226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13227 /* end confdefs.h.  */
   13228 int i;
   13229 int
   13230 main ()
   13231 {
   13232 
   13233   ;
   13234   return 0;
   13235 }
   13236 _ACEOF
   13237 if ac_fn_c_try_link "$LINENO"; then :
   13238   eval $cacheid=yes
   13239 else
   13240   eval $cacheid=no
   13241 fi
   13242 rm -f core conftest.err conftest.$ac_objext \
   13243     conftest$ac_exeext conftest.$ac_ext
   13244 fi
   13245 
   13246 
   13247 		CFLAGS="$xorg_testset_save_CFLAGS"
   13248 
   13249 		eval supported=\$$cacheid
   13250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13251 $as_echo "$supported" >&6; }
   13252 		if test "$supported" = "yes" ; then
   13253 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13254 			found="yes"
   13255 		fi
   13256 	fi
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 xorg_testset_save_CFLAGS="$CFLAGS"
   13273 
   13274 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13275 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13277 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13278 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13279   $as_echo_n "(cached) " >&6
   13280 else
   13281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13282 /* end confdefs.h.  */
   13283 int i;
   13284 _ACEOF
   13285 if ac_fn_c_try_compile "$LINENO"; then :
   13286   xorg_cv_cc_flag_unknown_warning_option=yes
   13287 else
   13288   xorg_cv_cc_flag_unknown_warning_option=no
   13289 fi
   13290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13291 fi
   13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13293 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13294 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13295 	CFLAGS="$xorg_testset_save_CFLAGS"
   13296 fi
   13297 
   13298 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13299 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13300 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13301 	fi
   13302 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13304 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13305 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13306   $as_echo_n "(cached) " >&6
   13307 else
   13308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13309 /* end confdefs.h.  */
   13310 int i;
   13311 _ACEOF
   13312 if ac_fn_c_try_compile "$LINENO"; then :
   13313   xorg_cv_cc_flag_unused_command_line_argument=yes
   13314 else
   13315   xorg_cv_cc_flag_unused_command_line_argument=no
   13316 fi
   13317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13318 fi
   13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13320 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13322 	CFLAGS="$xorg_testset_save_CFLAGS"
   13323 fi
   13324 
   13325 found="no"
   13326 
   13327 	if test $found = "no" ; then
   13328 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13330 		fi
   13331 
   13332 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13334 		fi
   13335 
   13336 		CFLAGS="$CFLAGS -Wcast-qual"
   13337 
   13338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13339 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13340 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13341 		if eval \${$cacheid+:} false; then :
   13342   $as_echo_n "(cached) " >&6
   13343 else
   13344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13345 /* end confdefs.h.  */
   13346 int i;
   13347 int
   13348 main ()
   13349 {
   13350 
   13351   ;
   13352   return 0;
   13353 }
   13354 _ACEOF
   13355 if ac_fn_c_try_link "$LINENO"; then :
   13356   eval $cacheid=yes
   13357 else
   13358   eval $cacheid=no
   13359 fi
   13360 rm -f core conftest.err conftest.$ac_objext \
   13361     conftest$ac_exeext conftest.$ac_ext
   13362 fi
   13363 
   13364 
   13365 		CFLAGS="$xorg_testset_save_CFLAGS"
   13366 
   13367 		eval supported=\$$cacheid
   13368 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13369 $as_echo "$supported" >&6; }
   13370 		if test "$supported" = "yes" ; then
   13371 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13372 			found="yes"
   13373 		fi
   13374 	fi
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 xorg_testset_save_CFLAGS="$CFLAGS"
   13391 
   13392 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13393 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13394 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13395 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13396 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13397   $as_echo_n "(cached) " >&6
   13398 else
   13399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13400 /* end confdefs.h.  */
   13401 int i;
   13402 _ACEOF
   13403 if ac_fn_c_try_compile "$LINENO"; then :
   13404   xorg_cv_cc_flag_unknown_warning_option=yes
   13405 else
   13406   xorg_cv_cc_flag_unknown_warning_option=no
   13407 fi
   13408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13409 fi
   13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13411 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13412 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13413 	CFLAGS="$xorg_testset_save_CFLAGS"
   13414 fi
   13415 
   13416 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13417 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13418 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13419 	fi
   13420 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13422 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13423 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13424   $as_echo_n "(cached) " >&6
   13425 else
   13426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13427 /* end confdefs.h.  */
   13428 int i;
   13429 _ACEOF
   13430 if ac_fn_c_try_compile "$LINENO"; then :
   13431   xorg_cv_cc_flag_unused_command_line_argument=yes
   13432 else
   13433   xorg_cv_cc_flag_unused_command_line_argument=no
   13434 fi
   13435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13436 fi
   13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13438 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13439 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13440 	CFLAGS="$xorg_testset_save_CFLAGS"
   13441 fi
   13442 
   13443 found="no"
   13444 
   13445 	if test $found = "no" ; then
   13446 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13448 		fi
   13449 
   13450 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13452 		fi
   13453 
   13454 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13455 
   13456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13457 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13458 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13459 		if eval \${$cacheid+:} false; then :
   13460   $as_echo_n "(cached) " >&6
   13461 else
   13462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13463 /* end confdefs.h.  */
   13464 int i;
   13465 int
   13466 main ()
   13467 {
   13468 
   13469   ;
   13470   return 0;
   13471 }
   13472 _ACEOF
   13473 if ac_fn_c_try_link "$LINENO"; then :
   13474   eval $cacheid=yes
   13475 else
   13476   eval $cacheid=no
   13477 fi
   13478 rm -f core conftest.err conftest.$ac_objext \
   13479     conftest$ac_exeext conftest.$ac_ext
   13480 fi
   13481 
   13482 
   13483 		CFLAGS="$xorg_testset_save_CFLAGS"
   13484 
   13485 		eval supported=\$$cacheid
   13486 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13487 $as_echo "$supported" >&6; }
   13488 		if test "$supported" = "yes" ; then
   13489 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13490 			found="yes"
   13491 		fi
   13492 	fi
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 xorg_testset_save_CFLAGS="$CFLAGS"
   13509 
   13510 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13511 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13512 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13513 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13514 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13515   $as_echo_n "(cached) " >&6
   13516 else
   13517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13518 /* end confdefs.h.  */
   13519 int i;
   13520 _ACEOF
   13521 if ac_fn_c_try_compile "$LINENO"; then :
   13522   xorg_cv_cc_flag_unknown_warning_option=yes
   13523 else
   13524   xorg_cv_cc_flag_unknown_warning_option=no
   13525 fi
   13526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13527 fi
   13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13529 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13530 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13531 	CFLAGS="$xorg_testset_save_CFLAGS"
   13532 fi
   13533 
   13534 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13535 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13536 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13537 	fi
   13538 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13540 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13541 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13542   $as_echo_n "(cached) " >&6
   13543 else
   13544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13545 /* end confdefs.h.  */
   13546 int i;
   13547 _ACEOF
   13548 if ac_fn_c_try_compile "$LINENO"; then :
   13549   xorg_cv_cc_flag_unused_command_line_argument=yes
   13550 else
   13551   xorg_cv_cc_flag_unused_command_line_argument=no
   13552 fi
   13553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13554 fi
   13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13556 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13557 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13558 	CFLAGS="$xorg_testset_save_CFLAGS"
   13559 fi
   13560 
   13561 found="no"
   13562 
   13563 	if test $found = "no" ; then
   13564 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13565 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13566 		fi
   13567 
   13568 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13569 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13570 		fi
   13571 
   13572 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13573 
   13574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13575 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13576 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13577 		if eval \${$cacheid+:} false; then :
   13578   $as_echo_n "(cached) " >&6
   13579 else
   13580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13581 /* end confdefs.h.  */
   13582 int i;
   13583 int
   13584 main ()
   13585 {
   13586 
   13587   ;
   13588   return 0;
   13589 }
   13590 _ACEOF
   13591 if ac_fn_c_try_link "$LINENO"; then :
   13592   eval $cacheid=yes
   13593 else
   13594   eval $cacheid=no
   13595 fi
   13596 rm -f core conftest.err conftest.$ac_objext \
   13597     conftest$ac_exeext conftest.$ac_ext
   13598 fi
   13599 
   13600 
   13601 		CFLAGS="$xorg_testset_save_CFLAGS"
   13602 
   13603 		eval supported=\$$cacheid
   13604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13605 $as_echo "$supported" >&6; }
   13606 		if test "$supported" = "yes" ; then
   13607 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13608 			found="yes"
   13609 		fi
   13610 	fi
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 xorg_testset_save_CFLAGS="$CFLAGS"
   13627 
   13628 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13629 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13631 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13632 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13633   $as_echo_n "(cached) " >&6
   13634 else
   13635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13636 /* end confdefs.h.  */
   13637 int i;
   13638 _ACEOF
   13639 if ac_fn_c_try_compile "$LINENO"; then :
   13640   xorg_cv_cc_flag_unknown_warning_option=yes
   13641 else
   13642   xorg_cv_cc_flag_unknown_warning_option=no
   13643 fi
   13644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13645 fi
   13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13647 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13648 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13649 	CFLAGS="$xorg_testset_save_CFLAGS"
   13650 fi
   13651 
   13652 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13653 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13654 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13655 	fi
   13656 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13658 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13659 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13660   $as_echo_n "(cached) " >&6
   13661 else
   13662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13663 /* end confdefs.h.  */
   13664 int i;
   13665 _ACEOF
   13666 if ac_fn_c_try_compile "$LINENO"; then :
   13667   xorg_cv_cc_flag_unused_command_line_argument=yes
   13668 else
   13669   xorg_cv_cc_flag_unused_command_line_argument=no
   13670 fi
   13671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13672 fi
   13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13674 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13676 	CFLAGS="$xorg_testset_save_CFLAGS"
   13677 fi
   13678 
   13679 found="no"
   13680 
   13681 	if test $found = "no" ; then
   13682 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13684 		fi
   13685 
   13686 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13688 		fi
   13689 
   13690 		CFLAGS="$CFLAGS -Wredundant-decls"
   13691 
   13692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13693 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13694 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13695 		if eval \${$cacheid+:} false; then :
   13696   $as_echo_n "(cached) " >&6
   13697 else
   13698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13699 /* end confdefs.h.  */
   13700 int i;
   13701 int
   13702 main ()
   13703 {
   13704 
   13705   ;
   13706   return 0;
   13707 }
   13708 _ACEOF
   13709 if ac_fn_c_try_link "$LINENO"; then :
   13710   eval $cacheid=yes
   13711 else
   13712   eval $cacheid=no
   13713 fi
   13714 rm -f core conftest.err conftest.$ac_objext \
   13715     conftest$ac_exeext conftest.$ac_ext
   13716 fi
   13717 
   13718 
   13719 		CFLAGS="$xorg_testset_save_CFLAGS"
   13720 
   13721 		eval supported=\$$cacheid
   13722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13723 $as_echo "$supported" >&6; }
   13724 		if test "$supported" = "yes" ; then
   13725 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13726 			found="yes"
   13727 		fi
   13728 	fi
   13729 
   13730 
   13731 
   13732 # These are currently disabled because they are noisy.  They will be enabled
   13733 # in the future once the codebase is sufficiently modernized to silence
   13734 # them.  For now, I don't want them to drown out the other warnings.
   13735 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13736 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13737 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13738 
   13739 # Turn some warnings into errors, so we don't accidently get successful builds
   13740 # when there are problems that should be fixed.
   13741 
   13742 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 xorg_testset_save_CFLAGS="$CFLAGS"
   13757 
   13758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13761 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13762 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13763   $as_echo_n "(cached) " >&6
   13764 else
   13765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13766 /* end confdefs.h.  */
   13767 int i;
   13768 _ACEOF
   13769 if ac_fn_c_try_compile "$LINENO"; then :
   13770   xorg_cv_cc_flag_unknown_warning_option=yes
   13771 else
   13772   xorg_cv_cc_flag_unknown_warning_option=no
   13773 fi
   13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13775 fi
   13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13777 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13778 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13779 	CFLAGS="$xorg_testset_save_CFLAGS"
   13780 fi
   13781 
   13782 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13783 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13784 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13785 	fi
   13786 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13788 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13789 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13790   $as_echo_n "(cached) " >&6
   13791 else
   13792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13793 /* end confdefs.h.  */
   13794 int i;
   13795 _ACEOF
   13796 if ac_fn_c_try_compile "$LINENO"; then :
   13797   xorg_cv_cc_flag_unused_command_line_argument=yes
   13798 else
   13799   xorg_cv_cc_flag_unused_command_line_argument=no
   13800 fi
   13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13802 fi
   13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13804 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13806 	CFLAGS="$xorg_testset_save_CFLAGS"
   13807 fi
   13808 
   13809 found="no"
   13810 
   13811 	if test $found = "no" ; then
   13812 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13814 		fi
   13815 
   13816 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13818 		fi
   13819 
   13820 		CFLAGS="$CFLAGS -Werror=implicit"
   13821 
   13822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13823 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13824 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13825 		if eval \${$cacheid+:} false; then :
   13826   $as_echo_n "(cached) " >&6
   13827 else
   13828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13829 /* end confdefs.h.  */
   13830 int i;
   13831 int
   13832 main ()
   13833 {
   13834 
   13835   ;
   13836   return 0;
   13837 }
   13838 _ACEOF
   13839 if ac_fn_c_try_link "$LINENO"; then :
   13840   eval $cacheid=yes
   13841 else
   13842   eval $cacheid=no
   13843 fi
   13844 rm -f core conftest.err conftest.$ac_objext \
   13845     conftest$ac_exeext conftest.$ac_ext
   13846 fi
   13847 
   13848 
   13849 		CFLAGS="$xorg_testset_save_CFLAGS"
   13850 
   13851 		eval supported=\$$cacheid
   13852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13853 $as_echo "$supported" >&6; }
   13854 		if test "$supported" = "yes" ; then
   13855 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13856 			found="yes"
   13857 		fi
   13858 	fi
   13859 
   13860 	if test $found = "no" ; then
   13861 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13863 		fi
   13864 
   13865 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13867 		fi
   13868 
   13869 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13870 
   13871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13872 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13873 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13874 		if eval \${$cacheid+:} false; then :
   13875   $as_echo_n "(cached) " >&6
   13876 else
   13877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13878 /* end confdefs.h.  */
   13879 int i;
   13880 int
   13881 main ()
   13882 {
   13883 
   13884   ;
   13885   return 0;
   13886 }
   13887 _ACEOF
   13888 if ac_fn_c_try_link "$LINENO"; then :
   13889   eval $cacheid=yes
   13890 else
   13891   eval $cacheid=no
   13892 fi
   13893 rm -f core conftest.err conftest.$ac_objext \
   13894     conftest$ac_exeext conftest.$ac_ext
   13895 fi
   13896 
   13897 
   13898 		CFLAGS="$xorg_testset_save_CFLAGS"
   13899 
   13900 		eval supported=\$$cacheid
   13901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13902 $as_echo "$supported" >&6; }
   13903 		if test "$supported" = "yes" ; then
   13904 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13905 			found="yes"
   13906 		fi
   13907 	fi
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 xorg_testset_save_CFLAGS="$CFLAGS"
   13924 
   13925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13930   $as_echo_n "(cached) " >&6
   13931 else
   13932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13933 /* end confdefs.h.  */
   13934 int i;
   13935 _ACEOF
   13936 if ac_fn_c_try_compile "$LINENO"; then :
   13937   xorg_cv_cc_flag_unknown_warning_option=yes
   13938 else
   13939   xorg_cv_cc_flag_unknown_warning_option=no
   13940 fi
   13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13942 fi
   13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13946 	CFLAGS="$xorg_testset_save_CFLAGS"
   13947 fi
   13948 
   13949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13952 	fi
   13953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13957   $as_echo_n "(cached) " >&6
   13958 else
   13959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13960 /* end confdefs.h.  */
   13961 int i;
   13962 _ACEOF
   13963 if ac_fn_c_try_compile "$LINENO"; then :
   13964   xorg_cv_cc_flag_unused_command_line_argument=yes
   13965 else
   13966   xorg_cv_cc_flag_unused_command_line_argument=no
   13967 fi
   13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13969 fi
   13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13973 	CFLAGS="$xorg_testset_save_CFLAGS"
   13974 fi
   13975 
   13976 found="no"
   13977 
   13978 	if test $found = "no" ; then
   13979 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13981 		fi
   13982 
   13983 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13985 		fi
   13986 
   13987 		CFLAGS="$CFLAGS -Werror=nonnull"
   13988 
   13989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13990 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13991 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   13992 		if eval \${$cacheid+:} false; then :
   13993   $as_echo_n "(cached) " >&6
   13994 else
   13995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13996 /* end confdefs.h.  */
   13997 int i;
   13998 int
   13999 main ()
   14000 {
   14001 
   14002   ;
   14003   return 0;
   14004 }
   14005 _ACEOF
   14006 if ac_fn_c_try_link "$LINENO"; then :
   14007   eval $cacheid=yes
   14008 else
   14009   eval $cacheid=no
   14010 fi
   14011 rm -f core conftest.err conftest.$ac_objext \
   14012     conftest$ac_exeext conftest.$ac_ext
   14013 fi
   14014 
   14015 
   14016 		CFLAGS="$xorg_testset_save_CFLAGS"
   14017 
   14018 		eval supported=\$$cacheid
   14019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14020 $as_echo "$supported" >&6; }
   14021 		if test "$supported" = "yes" ; then
   14022 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14023 			found="yes"
   14024 		fi
   14025 	fi
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 xorg_testset_save_CFLAGS="$CFLAGS"
   14042 
   14043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14048   $as_echo_n "(cached) " >&6
   14049 else
   14050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14051 /* end confdefs.h.  */
   14052 int i;
   14053 _ACEOF
   14054 if ac_fn_c_try_compile "$LINENO"; then :
   14055   xorg_cv_cc_flag_unknown_warning_option=yes
   14056 else
   14057   xorg_cv_cc_flag_unknown_warning_option=no
   14058 fi
   14059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14060 fi
   14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14064 	CFLAGS="$xorg_testset_save_CFLAGS"
   14065 fi
   14066 
   14067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14070 	fi
   14071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14075   $as_echo_n "(cached) " >&6
   14076 else
   14077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14078 /* end confdefs.h.  */
   14079 int i;
   14080 _ACEOF
   14081 if ac_fn_c_try_compile "$LINENO"; then :
   14082   xorg_cv_cc_flag_unused_command_line_argument=yes
   14083 else
   14084   xorg_cv_cc_flag_unused_command_line_argument=no
   14085 fi
   14086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14087 fi
   14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14091 	CFLAGS="$xorg_testset_save_CFLAGS"
   14092 fi
   14093 
   14094 found="no"
   14095 
   14096 	if test $found = "no" ; then
   14097 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14099 		fi
   14100 
   14101 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14103 		fi
   14104 
   14105 		CFLAGS="$CFLAGS -Werror=init-self"
   14106 
   14107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14108 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14109 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14110 		if eval \${$cacheid+:} false; then :
   14111   $as_echo_n "(cached) " >&6
   14112 else
   14113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14114 /* end confdefs.h.  */
   14115 int i;
   14116 int
   14117 main ()
   14118 {
   14119 
   14120   ;
   14121   return 0;
   14122 }
   14123 _ACEOF
   14124 if ac_fn_c_try_link "$LINENO"; then :
   14125   eval $cacheid=yes
   14126 else
   14127   eval $cacheid=no
   14128 fi
   14129 rm -f core conftest.err conftest.$ac_objext \
   14130     conftest$ac_exeext conftest.$ac_ext
   14131 fi
   14132 
   14133 
   14134 		CFLAGS="$xorg_testset_save_CFLAGS"
   14135 
   14136 		eval supported=\$$cacheid
   14137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14138 $as_echo "$supported" >&6; }
   14139 		if test "$supported" = "yes" ; then
   14140 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14141 			found="yes"
   14142 		fi
   14143 	fi
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 xorg_testset_save_CFLAGS="$CFLAGS"
   14160 
   14161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14166   $as_echo_n "(cached) " >&6
   14167 else
   14168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14169 /* end confdefs.h.  */
   14170 int i;
   14171 _ACEOF
   14172 if ac_fn_c_try_compile "$LINENO"; then :
   14173   xorg_cv_cc_flag_unknown_warning_option=yes
   14174 else
   14175   xorg_cv_cc_flag_unknown_warning_option=no
   14176 fi
   14177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14178 fi
   14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14182 	CFLAGS="$xorg_testset_save_CFLAGS"
   14183 fi
   14184 
   14185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14188 	fi
   14189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14193   $as_echo_n "(cached) " >&6
   14194 else
   14195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14196 /* end confdefs.h.  */
   14197 int i;
   14198 _ACEOF
   14199 if ac_fn_c_try_compile "$LINENO"; then :
   14200   xorg_cv_cc_flag_unused_command_line_argument=yes
   14201 else
   14202   xorg_cv_cc_flag_unused_command_line_argument=no
   14203 fi
   14204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14205 fi
   14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14209 	CFLAGS="$xorg_testset_save_CFLAGS"
   14210 fi
   14211 
   14212 found="no"
   14213 
   14214 	if test $found = "no" ; then
   14215 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14217 		fi
   14218 
   14219 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14221 		fi
   14222 
   14223 		CFLAGS="$CFLAGS -Werror=main"
   14224 
   14225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14226 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14227 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14228 		if eval \${$cacheid+:} false; then :
   14229   $as_echo_n "(cached) " >&6
   14230 else
   14231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14232 /* end confdefs.h.  */
   14233 int i;
   14234 int
   14235 main ()
   14236 {
   14237 
   14238   ;
   14239   return 0;
   14240 }
   14241 _ACEOF
   14242 if ac_fn_c_try_link "$LINENO"; then :
   14243   eval $cacheid=yes
   14244 else
   14245   eval $cacheid=no
   14246 fi
   14247 rm -f core conftest.err conftest.$ac_objext \
   14248     conftest$ac_exeext conftest.$ac_ext
   14249 fi
   14250 
   14251 
   14252 		CFLAGS="$xorg_testset_save_CFLAGS"
   14253 
   14254 		eval supported=\$$cacheid
   14255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14256 $as_echo "$supported" >&6; }
   14257 		if test "$supported" = "yes" ; then
   14258 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14259 			found="yes"
   14260 		fi
   14261 	fi
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 xorg_testset_save_CFLAGS="$CFLAGS"
   14278 
   14279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14284   $as_echo_n "(cached) " >&6
   14285 else
   14286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14287 /* end confdefs.h.  */
   14288 int i;
   14289 _ACEOF
   14290 if ac_fn_c_try_compile "$LINENO"; then :
   14291   xorg_cv_cc_flag_unknown_warning_option=yes
   14292 else
   14293   xorg_cv_cc_flag_unknown_warning_option=no
   14294 fi
   14295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14296 fi
   14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14300 	CFLAGS="$xorg_testset_save_CFLAGS"
   14301 fi
   14302 
   14303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14306 	fi
   14307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14311   $as_echo_n "(cached) " >&6
   14312 else
   14313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14314 /* end confdefs.h.  */
   14315 int i;
   14316 _ACEOF
   14317 if ac_fn_c_try_compile "$LINENO"; then :
   14318   xorg_cv_cc_flag_unused_command_line_argument=yes
   14319 else
   14320   xorg_cv_cc_flag_unused_command_line_argument=no
   14321 fi
   14322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14323 fi
   14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14327 	CFLAGS="$xorg_testset_save_CFLAGS"
   14328 fi
   14329 
   14330 found="no"
   14331 
   14332 	if test $found = "no" ; then
   14333 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14335 		fi
   14336 
   14337 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14339 		fi
   14340 
   14341 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14342 
   14343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14344 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14345 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14346 		if eval \${$cacheid+:} false; then :
   14347   $as_echo_n "(cached) " >&6
   14348 else
   14349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14350 /* end confdefs.h.  */
   14351 int i;
   14352 int
   14353 main ()
   14354 {
   14355 
   14356   ;
   14357   return 0;
   14358 }
   14359 _ACEOF
   14360 if ac_fn_c_try_link "$LINENO"; then :
   14361   eval $cacheid=yes
   14362 else
   14363   eval $cacheid=no
   14364 fi
   14365 rm -f core conftest.err conftest.$ac_objext \
   14366     conftest$ac_exeext conftest.$ac_ext
   14367 fi
   14368 
   14369 
   14370 		CFLAGS="$xorg_testset_save_CFLAGS"
   14371 
   14372 		eval supported=\$$cacheid
   14373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14374 $as_echo "$supported" >&6; }
   14375 		if test "$supported" = "yes" ; then
   14376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14377 			found="yes"
   14378 		fi
   14379 	fi
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 xorg_testset_save_CFLAGS="$CFLAGS"
   14396 
   14397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14402   $as_echo_n "(cached) " >&6
   14403 else
   14404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14405 /* end confdefs.h.  */
   14406 int i;
   14407 _ACEOF
   14408 if ac_fn_c_try_compile "$LINENO"; then :
   14409   xorg_cv_cc_flag_unknown_warning_option=yes
   14410 else
   14411   xorg_cv_cc_flag_unknown_warning_option=no
   14412 fi
   14413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14414 fi
   14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14418 	CFLAGS="$xorg_testset_save_CFLAGS"
   14419 fi
   14420 
   14421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14424 	fi
   14425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14429   $as_echo_n "(cached) " >&6
   14430 else
   14431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14432 /* end confdefs.h.  */
   14433 int i;
   14434 _ACEOF
   14435 if ac_fn_c_try_compile "$LINENO"; then :
   14436   xorg_cv_cc_flag_unused_command_line_argument=yes
   14437 else
   14438   xorg_cv_cc_flag_unused_command_line_argument=no
   14439 fi
   14440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14441 fi
   14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14445 	CFLAGS="$xorg_testset_save_CFLAGS"
   14446 fi
   14447 
   14448 found="no"
   14449 
   14450 	if test $found = "no" ; then
   14451 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14453 		fi
   14454 
   14455 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14457 		fi
   14458 
   14459 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14460 
   14461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14462 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14463 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14464 		if eval \${$cacheid+:} false; then :
   14465   $as_echo_n "(cached) " >&6
   14466 else
   14467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14468 /* end confdefs.h.  */
   14469 int i;
   14470 int
   14471 main ()
   14472 {
   14473 
   14474   ;
   14475   return 0;
   14476 }
   14477 _ACEOF
   14478 if ac_fn_c_try_link "$LINENO"; then :
   14479   eval $cacheid=yes
   14480 else
   14481   eval $cacheid=no
   14482 fi
   14483 rm -f core conftest.err conftest.$ac_objext \
   14484     conftest$ac_exeext conftest.$ac_ext
   14485 fi
   14486 
   14487 
   14488 		CFLAGS="$xorg_testset_save_CFLAGS"
   14489 
   14490 		eval supported=\$$cacheid
   14491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14492 $as_echo "$supported" >&6; }
   14493 		if test "$supported" = "yes" ; then
   14494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14495 			found="yes"
   14496 		fi
   14497 	fi
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 xorg_testset_save_CFLAGS="$CFLAGS"
   14514 
   14515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14520   $as_echo_n "(cached) " >&6
   14521 else
   14522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14523 /* end confdefs.h.  */
   14524 int i;
   14525 _ACEOF
   14526 if ac_fn_c_try_compile "$LINENO"; then :
   14527   xorg_cv_cc_flag_unknown_warning_option=yes
   14528 else
   14529   xorg_cv_cc_flag_unknown_warning_option=no
   14530 fi
   14531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14532 fi
   14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14536 	CFLAGS="$xorg_testset_save_CFLAGS"
   14537 fi
   14538 
   14539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14542 	fi
   14543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14547   $as_echo_n "(cached) " >&6
   14548 else
   14549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14550 /* end confdefs.h.  */
   14551 int i;
   14552 _ACEOF
   14553 if ac_fn_c_try_compile "$LINENO"; then :
   14554   xorg_cv_cc_flag_unused_command_line_argument=yes
   14555 else
   14556   xorg_cv_cc_flag_unused_command_line_argument=no
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14559 fi
   14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14563 	CFLAGS="$xorg_testset_save_CFLAGS"
   14564 fi
   14565 
   14566 found="no"
   14567 
   14568 	if test $found = "no" ; then
   14569 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14571 		fi
   14572 
   14573 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14575 		fi
   14576 
   14577 		CFLAGS="$CFLAGS -Werror=return-type"
   14578 
   14579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14580 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14581 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14582 		if eval \${$cacheid+:} false; then :
   14583   $as_echo_n "(cached) " >&6
   14584 else
   14585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14586 /* end confdefs.h.  */
   14587 int i;
   14588 int
   14589 main ()
   14590 {
   14591 
   14592   ;
   14593   return 0;
   14594 }
   14595 _ACEOF
   14596 if ac_fn_c_try_link "$LINENO"; then :
   14597   eval $cacheid=yes
   14598 else
   14599   eval $cacheid=no
   14600 fi
   14601 rm -f core conftest.err conftest.$ac_objext \
   14602     conftest$ac_exeext conftest.$ac_ext
   14603 fi
   14604 
   14605 
   14606 		CFLAGS="$xorg_testset_save_CFLAGS"
   14607 
   14608 		eval supported=\$$cacheid
   14609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14610 $as_echo "$supported" >&6; }
   14611 		if test "$supported" = "yes" ; then
   14612 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14613 			found="yes"
   14614 		fi
   14615 	fi
   14616 
   14617 	if test $found = "no" ; then
   14618 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14620 		fi
   14621 
   14622 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14624 		fi
   14625 
   14626 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14627 
   14628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14629 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14630 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14631 		if eval \${$cacheid+:} false; then :
   14632   $as_echo_n "(cached) " >&6
   14633 else
   14634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14635 /* end confdefs.h.  */
   14636 int i;
   14637 int
   14638 main ()
   14639 {
   14640 
   14641   ;
   14642   return 0;
   14643 }
   14644 _ACEOF
   14645 if ac_fn_c_try_link "$LINENO"; then :
   14646   eval $cacheid=yes
   14647 else
   14648   eval $cacheid=no
   14649 fi
   14650 rm -f core conftest.err conftest.$ac_objext \
   14651     conftest$ac_exeext conftest.$ac_ext
   14652 fi
   14653 
   14654 
   14655 		CFLAGS="$xorg_testset_save_CFLAGS"
   14656 
   14657 		eval supported=\$$cacheid
   14658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14659 $as_echo "$supported" >&6; }
   14660 		if test "$supported" = "yes" ; then
   14661 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14662 			found="yes"
   14663 		fi
   14664 	fi
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 xorg_testset_save_CFLAGS="$CFLAGS"
   14681 
   14682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14687   $as_echo_n "(cached) " >&6
   14688 else
   14689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14690 /* end confdefs.h.  */
   14691 int i;
   14692 _ACEOF
   14693 if ac_fn_c_try_compile "$LINENO"; then :
   14694   xorg_cv_cc_flag_unknown_warning_option=yes
   14695 else
   14696   xorg_cv_cc_flag_unknown_warning_option=no
   14697 fi
   14698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14699 fi
   14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14703 	CFLAGS="$xorg_testset_save_CFLAGS"
   14704 fi
   14705 
   14706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14709 	fi
   14710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14714   $as_echo_n "(cached) " >&6
   14715 else
   14716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14717 /* end confdefs.h.  */
   14718 int i;
   14719 _ACEOF
   14720 if ac_fn_c_try_compile "$LINENO"; then :
   14721   xorg_cv_cc_flag_unused_command_line_argument=yes
   14722 else
   14723   xorg_cv_cc_flag_unused_command_line_argument=no
   14724 fi
   14725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14726 fi
   14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14730 	CFLAGS="$xorg_testset_save_CFLAGS"
   14731 fi
   14732 
   14733 found="no"
   14734 
   14735 	if test $found = "no" ; then
   14736 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14738 		fi
   14739 
   14740 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14742 		fi
   14743 
   14744 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14745 
   14746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14747 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14748 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14749 		if eval \${$cacheid+:} false; then :
   14750   $as_echo_n "(cached) " >&6
   14751 else
   14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14753 /* end confdefs.h.  */
   14754 int i;
   14755 int
   14756 main ()
   14757 {
   14758 
   14759   ;
   14760   return 0;
   14761 }
   14762 _ACEOF
   14763 if ac_fn_c_try_link "$LINENO"; then :
   14764   eval $cacheid=yes
   14765 else
   14766   eval $cacheid=no
   14767 fi
   14768 rm -f core conftest.err conftest.$ac_objext \
   14769     conftest$ac_exeext conftest.$ac_ext
   14770 fi
   14771 
   14772 
   14773 		CFLAGS="$xorg_testset_save_CFLAGS"
   14774 
   14775 		eval supported=\$$cacheid
   14776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14777 $as_echo "$supported" >&6; }
   14778 		if test "$supported" = "yes" ; then
   14779 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14780 			found="yes"
   14781 		fi
   14782 	fi
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 xorg_testset_save_CFLAGS="$CFLAGS"
   14799 
   14800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14805   $as_echo_n "(cached) " >&6
   14806 else
   14807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14808 /* end confdefs.h.  */
   14809 int i;
   14810 _ACEOF
   14811 if ac_fn_c_try_compile "$LINENO"; then :
   14812   xorg_cv_cc_flag_unknown_warning_option=yes
   14813 else
   14814   xorg_cv_cc_flag_unknown_warning_option=no
   14815 fi
   14816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14817 fi
   14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14821 	CFLAGS="$xorg_testset_save_CFLAGS"
   14822 fi
   14823 
   14824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14827 	fi
   14828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14832   $as_echo_n "(cached) " >&6
   14833 else
   14834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14835 /* end confdefs.h.  */
   14836 int i;
   14837 _ACEOF
   14838 if ac_fn_c_try_compile "$LINENO"; then :
   14839   xorg_cv_cc_flag_unused_command_line_argument=yes
   14840 else
   14841   xorg_cv_cc_flag_unused_command_line_argument=no
   14842 fi
   14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14844 fi
   14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14848 	CFLAGS="$xorg_testset_save_CFLAGS"
   14849 fi
   14850 
   14851 found="no"
   14852 
   14853 	if test $found = "no" ; then
   14854 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14856 		fi
   14857 
   14858 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14860 		fi
   14861 
   14862 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14863 
   14864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14865 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14866 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14867 		if eval \${$cacheid+:} false; then :
   14868   $as_echo_n "(cached) " >&6
   14869 else
   14870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14871 /* end confdefs.h.  */
   14872 int i;
   14873 int
   14874 main ()
   14875 {
   14876 
   14877   ;
   14878   return 0;
   14879 }
   14880 _ACEOF
   14881 if ac_fn_c_try_link "$LINENO"; then :
   14882   eval $cacheid=yes
   14883 else
   14884   eval $cacheid=no
   14885 fi
   14886 rm -f core conftest.err conftest.$ac_objext \
   14887     conftest$ac_exeext conftest.$ac_ext
   14888 fi
   14889 
   14890 
   14891 		CFLAGS="$xorg_testset_save_CFLAGS"
   14892 
   14893 		eval supported=\$$cacheid
   14894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14895 $as_echo "$supported" >&6; }
   14896 		if test "$supported" = "yes" ; then
   14897 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14898 			found="yes"
   14899 		fi
   14900 	fi
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 xorg_testset_save_CFLAGS="$CFLAGS"
   14917 
   14918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14923   $as_echo_n "(cached) " >&6
   14924 else
   14925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14926 /* end confdefs.h.  */
   14927 int i;
   14928 _ACEOF
   14929 if ac_fn_c_try_compile "$LINENO"; then :
   14930   xorg_cv_cc_flag_unknown_warning_option=yes
   14931 else
   14932   xorg_cv_cc_flag_unknown_warning_option=no
   14933 fi
   14934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14935 fi
   14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14939 	CFLAGS="$xorg_testset_save_CFLAGS"
   14940 fi
   14941 
   14942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14945 	fi
   14946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14950   $as_echo_n "(cached) " >&6
   14951 else
   14952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14953 /* end confdefs.h.  */
   14954 int i;
   14955 _ACEOF
   14956 if ac_fn_c_try_compile "$LINENO"; then :
   14957   xorg_cv_cc_flag_unused_command_line_argument=yes
   14958 else
   14959   xorg_cv_cc_flag_unused_command_line_argument=no
   14960 fi
   14961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14962 fi
   14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14966 	CFLAGS="$xorg_testset_save_CFLAGS"
   14967 fi
   14968 
   14969 found="no"
   14970 
   14971 	if test $found = "no" ; then
   14972 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14974 		fi
   14975 
   14976 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14978 		fi
   14979 
   14980 		CFLAGS="$CFLAGS -Werror=write-strings"
   14981 
   14982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14983 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14984 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   14985 		if eval \${$cacheid+:} false; then :
   14986   $as_echo_n "(cached) " >&6
   14987 else
   14988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14989 /* end confdefs.h.  */
   14990 int i;
   14991 int
   14992 main ()
   14993 {
   14994 
   14995   ;
   14996   return 0;
   14997 }
   14998 _ACEOF
   14999 if ac_fn_c_try_link "$LINENO"; then :
   15000   eval $cacheid=yes
   15001 else
   15002   eval $cacheid=no
   15003 fi
   15004 rm -f core conftest.err conftest.$ac_objext \
   15005     conftest$ac_exeext conftest.$ac_ext
   15006 fi
   15007 
   15008 
   15009 		CFLAGS="$xorg_testset_save_CFLAGS"
   15010 
   15011 		eval supported=\$$cacheid
   15012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15013 $as_echo "$supported" >&6; }
   15014 		if test "$supported" = "yes" ; then
   15015 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15016 			found="yes"
   15017 		fi
   15018 	fi
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 xorg_testset_save_CFLAGS="$CFLAGS"
   15035 
   15036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15041   $as_echo_n "(cached) " >&6
   15042 else
   15043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15044 /* end confdefs.h.  */
   15045 int i;
   15046 _ACEOF
   15047 if ac_fn_c_try_compile "$LINENO"; then :
   15048   xorg_cv_cc_flag_unknown_warning_option=yes
   15049 else
   15050   xorg_cv_cc_flag_unknown_warning_option=no
   15051 fi
   15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15053 fi
   15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15057 	CFLAGS="$xorg_testset_save_CFLAGS"
   15058 fi
   15059 
   15060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15063 	fi
   15064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15068   $as_echo_n "(cached) " >&6
   15069 else
   15070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15071 /* end confdefs.h.  */
   15072 int i;
   15073 _ACEOF
   15074 if ac_fn_c_try_compile "$LINENO"; then :
   15075   xorg_cv_cc_flag_unused_command_line_argument=yes
   15076 else
   15077   xorg_cv_cc_flag_unused_command_line_argument=no
   15078 fi
   15079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15080 fi
   15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15084 	CFLAGS="$xorg_testset_save_CFLAGS"
   15085 fi
   15086 
   15087 found="no"
   15088 
   15089 	if test $found = "no" ; then
   15090 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15092 		fi
   15093 
   15094 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15096 		fi
   15097 
   15098 		CFLAGS="$CFLAGS -Werror=address"
   15099 
   15100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15101 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15102 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15103 		if eval \${$cacheid+:} false; then :
   15104   $as_echo_n "(cached) " >&6
   15105 else
   15106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15107 /* end confdefs.h.  */
   15108 int i;
   15109 int
   15110 main ()
   15111 {
   15112 
   15113   ;
   15114   return 0;
   15115 }
   15116 _ACEOF
   15117 if ac_fn_c_try_link "$LINENO"; then :
   15118   eval $cacheid=yes
   15119 else
   15120   eval $cacheid=no
   15121 fi
   15122 rm -f core conftest.err conftest.$ac_objext \
   15123     conftest$ac_exeext conftest.$ac_ext
   15124 fi
   15125 
   15126 
   15127 		CFLAGS="$xorg_testset_save_CFLAGS"
   15128 
   15129 		eval supported=\$$cacheid
   15130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15131 $as_echo "$supported" >&6; }
   15132 		if test "$supported" = "yes" ; then
   15133 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15134 			found="yes"
   15135 		fi
   15136 	fi
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 xorg_testset_save_CFLAGS="$CFLAGS"
   15153 
   15154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15159   $as_echo_n "(cached) " >&6
   15160 else
   15161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15162 /* end confdefs.h.  */
   15163 int i;
   15164 _ACEOF
   15165 if ac_fn_c_try_compile "$LINENO"; then :
   15166   xorg_cv_cc_flag_unknown_warning_option=yes
   15167 else
   15168   xorg_cv_cc_flag_unknown_warning_option=no
   15169 fi
   15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15171 fi
   15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15175 	CFLAGS="$xorg_testset_save_CFLAGS"
   15176 fi
   15177 
   15178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15181 	fi
   15182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15186   $as_echo_n "(cached) " >&6
   15187 else
   15188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15189 /* end confdefs.h.  */
   15190 int i;
   15191 _ACEOF
   15192 if ac_fn_c_try_compile "$LINENO"; then :
   15193   xorg_cv_cc_flag_unused_command_line_argument=yes
   15194 else
   15195   xorg_cv_cc_flag_unused_command_line_argument=no
   15196 fi
   15197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15198 fi
   15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15202 	CFLAGS="$xorg_testset_save_CFLAGS"
   15203 fi
   15204 
   15205 found="no"
   15206 
   15207 	if test $found = "no" ; then
   15208 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15210 		fi
   15211 
   15212 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15214 		fi
   15215 
   15216 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15217 
   15218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15219 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15220 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15221 		if eval \${$cacheid+:} false; then :
   15222   $as_echo_n "(cached) " >&6
   15223 else
   15224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15225 /* end confdefs.h.  */
   15226 int i;
   15227 int
   15228 main ()
   15229 {
   15230 
   15231   ;
   15232   return 0;
   15233 }
   15234 _ACEOF
   15235 if ac_fn_c_try_link "$LINENO"; then :
   15236   eval $cacheid=yes
   15237 else
   15238   eval $cacheid=no
   15239 fi
   15240 rm -f core conftest.err conftest.$ac_objext \
   15241     conftest$ac_exeext conftest.$ac_ext
   15242 fi
   15243 
   15244 
   15245 		CFLAGS="$xorg_testset_save_CFLAGS"
   15246 
   15247 		eval supported=\$$cacheid
   15248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15249 $as_echo "$supported" >&6; }
   15250 		if test "$supported" = "yes" ; then
   15251 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15252 			found="yes"
   15253 		fi
   15254 	fi
   15255 
   15256 	if test $found = "no" ; then
   15257 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15259 		fi
   15260 
   15261 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15263 		fi
   15264 
   15265 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15266 
   15267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15268 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15269 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15270 		if eval \${$cacheid+:} false; then :
   15271   $as_echo_n "(cached) " >&6
   15272 else
   15273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15274 /* end confdefs.h.  */
   15275 int i;
   15276 int
   15277 main ()
   15278 {
   15279 
   15280   ;
   15281   return 0;
   15282 }
   15283 _ACEOF
   15284 if ac_fn_c_try_link "$LINENO"; then :
   15285   eval $cacheid=yes
   15286 else
   15287   eval $cacheid=no
   15288 fi
   15289 rm -f core conftest.err conftest.$ac_objext \
   15290     conftest$ac_exeext conftest.$ac_ext
   15291 fi
   15292 
   15293 
   15294 		CFLAGS="$xorg_testset_save_CFLAGS"
   15295 
   15296 		eval supported=\$$cacheid
   15297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15298 $as_echo "$supported" >&6; }
   15299 		if test "$supported" = "yes" ; then
   15300 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15301 			found="yes"
   15302 		fi
   15303 	fi
   15304 
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 
   15316 
   15317 
   15318 
   15319 xorg_testset_save_CFLAGS="$CFLAGS"
   15320 
   15321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15326   $as_echo_n "(cached) " >&6
   15327 else
   15328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15329 /* end confdefs.h.  */
   15330 int i;
   15331 _ACEOF
   15332 if ac_fn_c_try_compile "$LINENO"; then :
   15333   xorg_cv_cc_flag_unknown_warning_option=yes
   15334 else
   15335   xorg_cv_cc_flag_unknown_warning_option=no
   15336 fi
   15337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15338 fi
   15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15342 	CFLAGS="$xorg_testset_save_CFLAGS"
   15343 fi
   15344 
   15345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15348 	fi
   15349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15353   $as_echo_n "(cached) " >&6
   15354 else
   15355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15356 /* end confdefs.h.  */
   15357 int i;
   15358 _ACEOF
   15359 if ac_fn_c_try_compile "$LINENO"; then :
   15360   xorg_cv_cc_flag_unused_command_line_argument=yes
   15361 else
   15362   xorg_cv_cc_flag_unused_command_line_argument=no
   15363 fi
   15364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15365 fi
   15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15369 	CFLAGS="$xorg_testset_save_CFLAGS"
   15370 fi
   15371 
   15372 found="no"
   15373 
   15374 	if test $found = "no" ; then
   15375 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15377 		fi
   15378 
   15379 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15381 		fi
   15382 
   15383 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15384 
   15385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15386 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15387 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15388 		if eval \${$cacheid+:} false; then :
   15389   $as_echo_n "(cached) " >&6
   15390 else
   15391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15392 /* end confdefs.h.  */
   15393 int i;
   15394 int
   15395 main ()
   15396 {
   15397 
   15398   ;
   15399   return 0;
   15400 }
   15401 _ACEOF
   15402 if ac_fn_c_try_link "$LINENO"; then :
   15403   eval $cacheid=yes
   15404 else
   15405   eval $cacheid=no
   15406 fi
   15407 rm -f core conftest.err conftest.$ac_objext \
   15408     conftest$ac_exeext conftest.$ac_ext
   15409 fi
   15410 
   15411 
   15412 		CFLAGS="$xorg_testset_save_CFLAGS"
   15413 
   15414 		eval supported=\$$cacheid
   15415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15416 $as_echo "$supported" >&6; }
   15417 		if test "$supported" = "yes" ; then
   15418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15419 			found="yes"
   15420 		fi
   15421 	fi
   15422 
   15423  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15424 else
   15425 { $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
   15426 $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;}
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 xorg_testset_save_CFLAGS="$CFLAGS"
   15441 
   15442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15447   $as_echo_n "(cached) " >&6
   15448 else
   15449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15450 /* end confdefs.h.  */
   15451 int i;
   15452 _ACEOF
   15453 if ac_fn_c_try_compile "$LINENO"; then :
   15454   xorg_cv_cc_flag_unknown_warning_option=yes
   15455 else
   15456   xorg_cv_cc_flag_unknown_warning_option=no
   15457 fi
   15458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15459 fi
   15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15463 	CFLAGS="$xorg_testset_save_CFLAGS"
   15464 fi
   15465 
   15466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15469 	fi
   15470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15474   $as_echo_n "(cached) " >&6
   15475 else
   15476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15477 /* end confdefs.h.  */
   15478 int i;
   15479 _ACEOF
   15480 if ac_fn_c_try_compile "$LINENO"; then :
   15481   xorg_cv_cc_flag_unused_command_line_argument=yes
   15482 else
   15483   xorg_cv_cc_flag_unused_command_line_argument=no
   15484 fi
   15485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15486 fi
   15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15490 	CFLAGS="$xorg_testset_save_CFLAGS"
   15491 fi
   15492 
   15493 found="no"
   15494 
   15495 	if test $found = "no" ; then
   15496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15498 		fi
   15499 
   15500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15502 		fi
   15503 
   15504 		CFLAGS="$CFLAGS -Wimplicit"
   15505 
   15506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15507 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15508 		cacheid=xorg_cv_cc_flag__Wimplicit
   15509 		if eval \${$cacheid+:} false; then :
   15510   $as_echo_n "(cached) " >&6
   15511 else
   15512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15513 /* end confdefs.h.  */
   15514 int i;
   15515 int
   15516 main ()
   15517 {
   15518 
   15519   ;
   15520   return 0;
   15521 }
   15522 _ACEOF
   15523 if ac_fn_c_try_link "$LINENO"; then :
   15524   eval $cacheid=yes
   15525 else
   15526   eval $cacheid=no
   15527 fi
   15528 rm -f core conftest.err conftest.$ac_objext \
   15529     conftest$ac_exeext conftest.$ac_ext
   15530 fi
   15531 
   15532 
   15533 		CFLAGS="$xorg_testset_save_CFLAGS"
   15534 
   15535 		eval supported=\$$cacheid
   15536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15537 $as_echo "$supported" >&6; }
   15538 		if test "$supported" = "yes" ; then
   15539 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15540 			found="yes"
   15541 		fi
   15542 	fi
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 
   15557 
   15558 xorg_testset_save_CFLAGS="$CFLAGS"
   15559 
   15560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15565   $as_echo_n "(cached) " >&6
   15566 else
   15567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15568 /* end confdefs.h.  */
   15569 int i;
   15570 _ACEOF
   15571 if ac_fn_c_try_compile "$LINENO"; then :
   15572   xorg_cv_cc_flag_unknown_warning_option=yes
   15573 else
   15574   xorg_cv_cc_flag_unknown_warning_option=no
   15575 fi
   15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15577 fi
   15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15581 	CFLAGS="$xorg_testset_save_CFLAGS"
   15582 fi
   15583 
   15584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15587 	fi
   15588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15592   $as_echo_n "(cached) " >&6
   15593 else
   15594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15595 /* end confdefs.h.  */
   15596 int i;
   15597 _ACEOF
   15598 if ac_fn_c_try_compile "$LINENO"; then :
   15599   xorg_cv_cc_flag_unused_command_line_argument=yes
   15600 else
   15601   xorg_cv_cc_flag_unused_command_line_argument=no
   15602 fi
   15603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15604 fi
   15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15608 	CFLAGS="$xorg_testset_save_CFLAGS"
   15609 fi
   15610 
   15611 found="no"
   15612 
   15613 	if test $found = "no" ; then
   15614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15616 		fi
   15617 
   15618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15620 		fi
   15621 
   15622 		CFLAGS="$CFLAGS -Wnonnull"
   15623 
   15624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15625 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15626 		cacheid=xorg_cv_cc_flag__Wnonnull
   15627 		if eval \${$cacheid+:} false; then :
   15628   $as_echo_n "(cached) " >&6
   15629 else
   15630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15631 /* end confdefs.h.  */
   15632 int i;
   15633 int
   15634 main ()
   15635 {
   15636 
   15637   ;
   15638   return 0;
   15639 }
   15640 _ACEOF
   15641 if ac_fn_c_try_link "$LINENO"; then :
   15642   eval $cacheid=yes
   15643 else
   15644   eval $cacheid=no
   15645 fi
   15646 rm -f core conftest.err conftest.$ac_objext \
   15647     conftest$ac_exeext conftest.$ac_ext
   15648 fi
   15649 
   15650 
   15651 		CFLAGS="$xorg_testset_save_CFLAGS"
   15652 
   15653 		eval supported=\$$cacheid
   15654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15655 $as_echo "$supported" >&6; }
   15656 		if test "$supported" = "yes" ; then
   15657 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15658 			found="yes"
   15659 		fi
   15660 	fi
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 xorg_testset_save_CFLAGS="$CFLAGS"
   15677 
   15678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15683   $as_echo_n "(cached) " >&6
   15684 else
   15685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15686 /* end confdefs.h.  */
   15687 int i;
   15688 _ACEOF
   15689 if ac_fn_c_try_compile "$LINENO"; then :
   15690   xorg_cv_cc_flag_unknown_warning_option=yes
   15691 else
   15692   xorg_cv_cc_flag_unknown_warning_option=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15695 fi
   15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15699 	CFLAGS="$xorg_testset_save_CFLAGS"
   15700 fi
   15701 
   15702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15705 	fi
   15706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15710   $as_echo_n "(cached) " >&6
   15711 else
   15712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15713 /* end confdefs.h.  */
   15714 int i;
   15715 _ACEOF
   15716 if ac_fn_c_try_compile "$LINENO"; then :
   15717   xorg_cv_cc_flag_unused_command_line_argument=yes
   15718 else
   15719   xorg_cv_cc_flag_unused_command_line_argument=no
   15720 fi
   15721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15722 fi
   15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15726 	CFLAGS="$xorg_testset_save_CFLAGS"
   15727 fi
   15728 
   15729 found="no"
   15730 
   15731 	if test $found = "no" ; then
   15732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15734 		fi
   15735 
   15736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15738 		fi
   15739 
   15740 		CFLAGS="$CFLAGS -Winit-self"
   15741 
   15742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15743 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15744 		cacheid=xorg_cv_cc_flag__Winit_self
   15745 		if eval \${$cacheid+:} false; then :
   15746   $as_echo_n "(cached) " >&6
   15747 else
   15748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15749 /* end confdefs.h.  */
   15750 int i;
   15751 int
   15752 main ()
   15753 {
   15754 
   15755   ;
   15756   return 0;
   15757 }
   15758 _ACEOF
   15759 if ac_fn_c_try_link "$LINENO"; then :
   15760   eval $cacheid=yes
   15761 else
   15762   eval $cacheid=no
   15763 fi
   15764 rm -f core conftest.err conftest.$ac_objext \
   15765     conftest$ac_exeext conftest.$ac_ext
   15766 fi
   15767 
   15768 
   15769 		CFLAGS="$xorg_testset_save_CFLAGS"
   15770 
   15771 		eval supported=\$$cacheid
   15772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15773 $as_echo "$supported" >&6; }
   15774 		if test "$supported" = "yes" ; then
   15775 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15776 			found="yes"
   15777 		fi
   15778 	fi
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 xorg_testset_save_CFLAGS="$CFLAGS"
   15795 
   15796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15801   $as_echo_n "(cached) " >&6
   15802 else
   15803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15804 /* end confdefs.h.  */
   15805 int i;
   15806 _ACEOF
   15807 if ac_fn_c_try_compile "$LINENO"; then :
   15808   xorg_cv_cc_flag_unknown_warning_option=yes
   15809 else
   15810   xorg_cv_cc_flag_unknown_warning_option=no
   15811 fi
   15812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15813 fi
   15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15817 	CFLAGS="$xorg_testset_save_CFLAGS"
   15818 fi
   15819 
   15820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15823 	fi
   15824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15828   $as_echo_n "(cached) " >&6
   15829 else
   15830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15831 /* end confdefs.h.  */
   15832 int i;
   15833 _ACEOF
   15834 if ac_fn_c_try_compile "$LINENO"; then :
   15835   xorg_cv_cc_flag_unused_command_line_argument=yes
   15836 else
   15837   xorg_cv_cc_flag_unused_command_line_argument=no
   15838 fi
   15839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15840 fi
   15841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15844 	CFLAGS="$xorg_testset_save_CFLAGS"
   15845 fi
   15846 
   15847 found="no"
   15848 
   15849 	if test $found = "no" ; then
   15850 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15852 		fi
   15853 
   15854 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15856 		fi
   15857 
   15858 		CFLAGS="$CFLAGS -Wmain"
   15859 
   15860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15861 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15862 		cacheid=xorg_cv_cc_flag__Wmain
   15863 		if eval \${$cacheid+:} false; then :
   15864   $as_echo_n "(cached) " >&6
   15865 else
   15866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15867 /* end confdefs.h.  */
   15868 int i;
   15869 int
   15870 main ()
   15871 {
   15872 
   15873   ;
   15874   return 0;
   15875 }
   15876 _ACEOF
   15877 if ac_fn_c_try_link "$LINENO"; then :
   15878   eval $cacheid=yes
   15879 else
   15880   eval $cacheid=no
   15881 fi
   15882 rm -f core conftest.err conftest.$ac_objext \
   15883     conftest$ac_exeext conftest.$ac_ext
   15884 fi
   15885 
   15886 
   15887 		CFLAGS="$xorg_testset_save_CFLAGS"
   15888 
   15889 		eval supported=\$$cacheid
   15890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15891 $as_echo "$supported" >&6; }
   15892 		if test "$supported" = "yes" ; then
   15893 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15894 			found="yes"
   15895 		fi
   15896 	fi
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 xorg_testset_save_CFLAGS="$CFLAGS"
   15913 
   15914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15919   $as_echo_n "(cached) " >&6
   15920 else
   15921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15922 /* end confdefs.h.  */
   15923 int i;
   15924 _ACEOF
   15925 if ac_fn_c_try_compile "$LINENO"; then :
   15926   xorg_cv_cc_flag_unknown_warning_option=yes
   15927 else
   15928   xorg_cv_cc_flag_unknown_warning_option=no
   15929 fi
   15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15931 fi
   15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15935 	CFLAGS="$xorg_testset_save_CFLAGS"
   15936 fi
   15937 
   15938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15941 	fi
   15942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15946   $as_echo_n "(cached) " >&6
   15947 else
   15948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15949 /* end confdefs.h.  */
   15950 int i;
   15951 _ACEOF
   15952 if ac_fn_c_try_compile "$LINENO"; then :
   15953   xorg_cv_cc_flag_unused_command_line_argument=yes
   15954 else
   15955   xorg_cv_cc_flag_unused_command_line_argument=no
   15956 fi
   15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15958 fi
   15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15962 	CFLAGS="$xorg_testset_save_CFLAGS"
   15963 fi
   15964 
   15965 found="no"
   15966 
   15967 	if test $found = "no" ; then
   15968 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15970 		fi
   15971 
   15972 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15974 		fi
   15975 
   15976 		CFLAGS="$CFLAGS -Wmissing-braces"
   15977 
   15978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15979 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15980 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   15981 		if eval \${$cacheid+:} false; then :
   15982   $as_echo_n "(cached) " >&6
   15983 else
   15984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15985 /* end confdefs.h.  */
   15986 int i;
   15987 int
   15988 main ()
   15989 {
   15990 
   15991   ;
   15992   return 0;
   15993 }
   15994 _ACEOF
   15995 if ac_fn_c_try_link "$LINENO"; then :
   15996   eval $cacheid=yes
   15997 else
   15998   eval $cacheid=no
   15999 fi
   16000 rm -f core conftest.err conftest.$ac_objext \
   16001     conftest$ac_exeext conftest.$ac_ext
   16002 fi
   16003 
   16004 
   16005 		CFLAGS="$xorg_testset_save_CFLAGS"
   16006 
   16007 		eval supported=\$$cacheid
   16008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16009 $as_echo "$supported" >&6; }
   16010 		if test "$supported" = "yes" ; then
   16011 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16012 			found="yes"
   16013 		fi
   16014 	fi
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 xorg_testset_save_CFLAGS="$CFLAGS"
   16031 
   16032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16037   $as_echo_n "(cached) " >&6
   16038 else
   16039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16040 /* end confdefs.h.  */
   16041 int i;
   16042 _ACEOF
   16043 if ac_fn_c_try_compile "$LINENO"; then :
   16044   xorg_cv_cc_flag_unknown_warning_option=yes
   16045 else
   16046   xorg_cv_cc_flag_unknown_warning_option=no
   16047 fi
   16048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16049 fi
   16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16053 	CFLAGS="$xorg_testset_save_CFLAGS"
   16054 fi
   16055 
   16056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16059 	fi
   16060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16064   $as_echo_n "(cached) " >&6
   16065 else
   16066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16067 /* end confdefs.h.  */
   16068 int i;
   16069 _ACEOF
   16070 if ac_fn_c_try_compile "$LINENO"; then :
   16071   xorg_cv_cc_flag_unused_command_line_argument=yes
   16072 else
   16073   xorg_cv_cc_flag_unused_command_line_argument=no
   16074 fi
   16075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16076 fi
   16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16080 	CFLAGS="$xorg_testset_save_CFLAGS"
   16081 fi
   16082 
   16083 found="no"
   16084 
   16085 	if test $found = "no" ; then
   16086 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16088 		fi
   16089 
   16090 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16092 		fi
   16093 
   16094 		CFLAGS="$CFLAGS -Wsequence-point"
   16095 
   16096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16097 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16098 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16099 		if eval \${$cacheid+:} false; then :
   16100   $as_echo_n "(cached) " >&6
   16101 else
   16102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16103 /* end confdefs.h.  */
   16104 int i;
   16105 int
   16106 main ()
   16107 {
   16108 
   16109   ;
   16110   return 0;
   16111 }
   16112 _ACEOF
   16113 if ac_fn_c_try_link "$LINENO"; then :
   16114   eval $cacheid=yes
   16115 else
   16116   eval $cacheid=no
   16117 fi
   16118 rm -f core conftest.err conftest.$ac_objext \
   16119     conftest$ac_exeext conftest.$ac_ext
   16120 fi
   16121 
   16122 
   16123 		CFLAGS="$xorg_testset_save_CFLAGS"
   16124 
   16125 		eval supported=\$$cacheid
   16126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16127 $as_echo "$supported" >&6; }
   16128 		if test "$supported" = "yes" ; then
   16129 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16130 			found="yes"
   16131 		fi
   16132 	fi
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 xorg_testset_save_CFLAGS="$CFLAGS"
   16149 
   16150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16153 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16154 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16155   $as_echo_n "(cached) " >&6
   16156 else
   16157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16158 /* end confdefs.h.  */
   16159 int i;
   16160 _ACEOF
   16161 if ac_fn_c_try_compile "$LINENO"; then :
   16162   xorg_cv_cc_flag_unknown_warning_option=yes
   16163 else
   16164   xorg_cv_cc_flag_unknown_warning_option=no
   16165 fi
   16166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16167 fi
   16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16169 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16171 	CFLAGS="$xorg_testset_save_CFLAGS"
   16172 fi
   16173 
   16174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16177 	fi
   16178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16180 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16181 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16182   $as_echo_n "(cached) " >&6
   16183 else
   16184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16185 /* end confdefs.h.  */
   16186 int i;
   16187 _ACEOF
   16188 if ac_fn_c_try_compile "$LINENO"; then :
   16189   xorg_cv_cc_flag_unused_command_line_argument=yes
   16190 else
   16191   xorg_cv_cc_flag_unused_command_line_argument=no
   16192 fi
   16193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16194 fi
   16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16196 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16198 	CFLAGS="$xorg_testset_save_CFLAGS"
   16199 fi
   16200 
   16201 found="no"
   16202 
   16203 	if test $found = "no" ; then
   16204 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16206 		fi
   16207 
   16208 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16210 		fi
   16211 
   16212 		CFLAGS="$CFLAGS -Wreturn-type"
   16213 
   16214 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16215 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16216 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16217 		if eval \${$cacheid+:} false; then :
   16218   $as_echo_n "(cached) " >&6
   16219 else
   16220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16221 /* end confdefs.h.  */
   16222 int i;
   16223 int
   16224 main ()
   16225 {
   16226 
   16227   ;
   16228   return 0;
   16229 }
   16230 _ACEOF
   16231 if ac_fn_c_try_link "$LINENO"; then :
   16232   eval $cacheid=yes
   16233 else
   16234   eval $cacheid=no
   16235 fi
   16236 rm -f core conftest.err conftest.$ac_objext \
   16237     conftest$ac_exeext conftest.$ac_ext
   16238 fi
   16239 
   16240 
   16241 		CFLAGS="$xorg_testset_save_CFLAGS"
   16242 
   16243 		eval supported=\$$cacheid
   16244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16245 $as_echo "$supported" >&6; }
   16246 		if test "$supported" = "yes" ; then
   16247 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16248 			found="yes"
   16249 		fi
   16250 	fi
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 xorg_testset_save_CFLAGS="$CFLAGS"
   16267 
   16268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16271 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16272 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16273   $as_echo_n "(cached) " >&6
   16274 else
   16275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16276 /* end confdefs.h.  */
   16277 int i;
   16278 _ACEOF
   16279 if ac_fn_c_try_compile "$LINENO"; then :
   16280   xorg_cv_cc_flag_unknown_warning_option=yes
   16281 else
   16282   xorg_cv_cc_flag_unknown_warning_option=no
   16283 fi
   16284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16285 fi
   16286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16287 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16288 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16289 	CFLAGS="$xorg_testset_save_CFLAGS"
   16290 fi
   16291 
   16292 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16293 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16294 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16295 	fi
   16296 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16298 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16299 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16300   $as_echo_n "(cached) " >&6
   16301 else
   16302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16303 /* end confdefs.h.  */
   16304 int i;
   16305 _ACEOF
   16306 if ac_fn_c_try_compile "$LINENO"; then :
   16307   xorg_cv_cc_flag_unused_command_line_argument=yes
   16308 else
   16309   xorg_cv_cc_flag_unused_command_line_argument=no
   16310 fi
   16311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16312 fi
   16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16314 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16316 	CFLAGS="$xorg_testset_save_CFLAGS"
   16317 fi
   16318 
   16319 found="no"
   16320 
   16321 	if test $found = "no" ; then
   16322 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16324 		fi
   16325 
   16326 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16328 		fi
   16329 
   16330 		CFLAGS="$CFLAGS -Wtrigraphs"
   16331 
   16332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16333 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16334 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16335 		if eval \${$cacheid+:} false; then :
   16336   $as_echo_n "(cached) " >&6
   16337 else
   16338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16339 /* end confdefs.h.  */
   16340 int i;
   16341 int
   16342 main ()
   16343 {
   16344 
   16345   ;
   16346   return 0;
   16347 }
   16348 _ACEOF
   16349 if ac_fn_c_try_link "$LINENO"; then :
   16350   eval $cacheid=yes
   16351 else
   16352   eval $cacheid=no
   16353 fi
   16354 rm -f core conftest.err conftest.$ac_objext \
   16355     conftest$ac_exeext conftest.$ac_ext
   16356 fi
   16357 
   16358 
   16359 		CFLAGS="$xorg_testset_save_CFLAGS"
   16360 
   16361 		eval supported=\$$cacheid
   16362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16363 $as_echo "$supported" >&6; }
   16364 		if test "$supported" = "yes" ; then
   16365 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16366 			found="yes"
   16367 		fi
   16368 	fi
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 xorg_testset_save_CFLAGS="$CFLAGS"
   16385 
   16386 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16387 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16389 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16390 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16391   $as_echo_n "(cached) " >&6
   16392 else
   16393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16394 /* end confdefs.h.  */
   16395 int i;
   16396 _ACEOF
   16397 if ac_fn_c_try_compile "$LINENO"; then :
   16398   xorg_cv_cc_flag_unknown_warning_option=yes
   16399 else
   16400   xorg_cv_cc_flag_unknown_warning_option=no
   16401 fi
   16402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16403 fi
   16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16405 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16406 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16407 	CFLAGS="$xorg_testset_save_CFLAGS"
   16408 fi
   16409 
   16410 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16411 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16412 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16413 	fi
   16414 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16416 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16417 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16418   $as_echo_n "(cached) " >&6
   16419 else
   16420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16421 /* end confdefs.h.  */
   16422 int i;
   16423 _ACEOF
   16424 if ac_fn_c_try_compile "$LINENO"; then :
   16425   xorg_cv_cc_flag_unused_command_line_argument=yes
   16426 else
   16427   xorg_cv_cc_flag_unused_command_line_argument=no
   16428 fi
   16429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16430 fi
   16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16432 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16433 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16434 	CFLAGS="$xorg_testset_save_CFLAGS"
   16435 fi
   16436 
   16437 found="no"
   16438 
   16439 	if test $found = "no" ; then
   16440 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16441 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16442 		fi
   16443 
   16444 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16445 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16446 		fi
   16447 
   16448 		CFLAGS="$CFLAGS -Warray-bounds"
   16449 
   16450 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16451 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16452 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16453 		if eval \${$cacheid+:} false; then :
   16454   $as_echo_n "(cached) " >&6
   16455 else
   16456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16457 /* end confdefs.h.  */
   16458 int i;
   16459 int
   16460 main ()
   16461 {
   16462 
   16463   ;
   16464   return 0;
   16465 }
   16466 _ACEOF
   16467 if ac_fn_c_try_link "$LINENO"; then :
   16468   eval $cacheid=yes
   16469 else
   16470   eval $cacheid=no
   16471 fi
   16472 rm -f core conftest.err conftest.$ac_objext \
   16473     conftest$ac_exeext conftest.$ac_ext
   16474 fi
   16475 
   16476 
   16477 		CFLAGS="$xorg_testset_save_CFLAGS"
   16478 
   16479 		eval supported=\$$cacheid
   16480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16481 $as_echo "$supported" >&6; }
   16482 		if test "$supported" = "yes" ; then
   16483 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16484 			found="yes"
   16485 		fi
   16486 	fi
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 xorg_testset_save_CFLAGS="$CFLAGS"
   16503 
   16504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16507 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16508 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16509   $as_echo_n "(cached) " >&6
   16510 else
   16511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16512 /* end confdefs.h.  */
   16513 int i;
   16514 _ACEOF
   16515 if ac_fn_c_try_compile "$LINENO"; then :
   16516   xorg_cv_cc_flag_unknown_warning_option=yes
   16517 else
   16518   xorg_cv_cc_flag_unknown_warning_option=no
   16519 fi
   16520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16521 fi
   16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16523 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16524 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16525 	CFLAGS="$xorg_testset_save_CFLAGS"
   16526 fi
   16527 
   16528 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16529 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16530 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16531 	fi
   16532 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16534 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16535 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16536   $as_echo_n "(cached) " >&6
   16537 else
   16538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16539 /* end confdefs.h.  */
   16540 int i;
   16541 _ACEOF
   16542 if ac_fn_c_try_compile "$LINENO"; then :
   16543   xorg_cv_cc_flag_unused_command_line_argument=yes
   16544 else
   16545   xorg_cv_cc_flag_unused_command_line_argument=no
   16546 fi
   16547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16548 fi
   16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16550 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16552 	CFLAGS="$xorg_testset_save_CFLAGS"
   16553 fi
   16554 
   16555 found="no"
   16556 
   16557 	if test $found = "no" ; then
   16558 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16560 		fi
   16561 
   16562 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16564 		fi
   16565 
   16566 		CFLAGS="$CFLAGS -Wwrite-strings"
   16567 
   16568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16569 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16570 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16571 		if eval \${$cacheid+:} false; then :
   16572   $as_echo_n "(cached) " >&6
   16573 else
   16574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16575 /* end confdefs.h.  */
   16576 int i;
   16577 int
   16578 main ()
   16579 {
   16580 
   16581   ;
   16582   return 0;
   16583 }
   16584 _ACEOF
   16585 if ac_fn_c_try_link "$LINENO"; then :
   16586   eval $cacheid=yes
   16587 else
   16588   eval $cacheid=no
   16589 fi
   16590 rm -f core conftest.err conftest.$ac_objext \
   16591     conftest$ac_exeext conftest.$ac_ext
   16592 fi
   16593 
   16594 
   16595 		CFLAGS="$xorg_testset_save_CFLAGS"
   16596 
   16597 		eval supported=\$$cacheid
   16598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16599 $as_echo "$supported" >&6; }
   16600 		if test "$supported" = "yes" ; then
   16601 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16602 			found="yes"
   16603 		fi
   16604 	fi
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 xorg_testset_save_CFLAGS="$CFLAGS"
   16621 
   16622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16625 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16626 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16627   $as_echo_n "(cached) " >&6
   16628 else
   16629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16630 /* end confdefs.h.  */
   16631 int i;
   16632 _ACEOF
   16633 if ac_fn_c_try_compile "$LINENO"; then :
   16634   xorg_cv_cc_flag_unknown_warning_option=yes
   16635 else
   16636   xorg_cv_cc_flag_unknown_warning_option=no
   16637 fi
   16638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16639 fi
   16640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16641 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16643 	CFLAGS="$xorg_testset_save_CFLAGS"
   16644 fi
   16645 
   16646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16649 	fi
   16650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16652 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16653 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16654   $as_echo_n "(cached) " >&6
   16655 else
   16656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16657 /* end confdefs.h.  */
   16658 int i;
   16659 _ACEOF
   16660 if ac_fn_c_try_compile "$LINENO"; then :
   16661   xorg_cv_cc_flag_unused_command_line_argument=yes
   16662 else
   16663   xorg_cv_cc_flag_unused_command_line_argument=no
   16664 fi
   16665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16666 fi
   16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16668 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16670 	CFLAGS="$xorg_testset_save_CFLAGS"
   16671 fi
   16672 
   16673 found="no"
   16674 
   16675 	if test $found = "no" ; then
   16676 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16678 		fi
   16679 
   16680 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16682 		fi
   16683 
   16684 		CFLAGS="$CFLAGS -Waddress"
   16685 
   16686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16687 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16688 		cacheid=xorg_cv_cc_flag__Waddress
   16689 		if eval \${$cacheid+:} false; then :
   16690   $as_echo_n "(cached) " >&6
   16691 else
   16692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16693 /* end confdefs.h.  */
   16694 int i;
   16695 int
   16696 main ()
   16697 {
   16698 
   16699   ;
   16700   return 0;
   16701 }
   16702 _ACEOF
   16703 if ac_fn_c_try_link "$LINENO"; then :
   16704   eval $cacheid=yes
   16705 else
   16706   eval $cacheid=no
   16707 fi
   16708 rm -f core conftest.err conftest.$ac_objext \
   16709     conftest$ac_exeext conftest.$ac_ext
   16710 fi
   16711 
   16712 
   16713 		CFLAGS="$xorg_testset_save_CFLAGS"
   16714 
   16715 		eval supported=\$$cacheid
   16716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16717 $as_echo "$supported" >&6; }
   16718 		if test "$supported" = "yes" ; then
   16719 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16720 			found="yes"
   16721 		fi
   16722 	fi
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 xorg_testset_save_CFLAGS="$CFLAGS"
   16739 
   16740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16743 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16744 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16745   $as_echo_n "(cached) " >&6
   16746 else
   16747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16748 /* end confdefs.h.  */
   16749 int i;
   16750 _ACEOF
   16751 if ac_fn_c_try_compile "$LINENO"; then :
   16752   xorg_cv_cc_flag_unknown_warning_option=yes
   16753 else
   16754   xorg_cv_cc_flag_unknown_warning_option=no
   16755 fi
   16756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16757 fi
   16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16759 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16761 	CFLAGS="$xorg_testset_save_CFLAGS"
   16762 fi
   16763 
   16764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16767 	fi
   16768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16770 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16771 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16772   $as_echo_n "(cached) " >&6
   16773 else
   16774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16775 /* end confdefs.h.  */
   16776 int i;
   16777 _ACEOF
   16778 if ac_fn_c_try_compile "$LINENO"; then :
   16779   xorg_cv_cc_flag_unused_command_line_argument=yes
   16780 else
   16781   xorg_cv_cc_flag_unused_command_line_argument=no
   16782 fi
   16783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16784 fi
   16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16786 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16788 	CFLAGS="$xorg_testset_save_CFLAGS"
   16789 fi
   16790 
   16791 found="no"
   16792 
   16793 	if test $found = "no" ; then
   16794 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16796 		fi
   16797 
   16798 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16800 		fi
   16801 
   16802 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16803 
   16804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16805 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16806 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16807 		if eval \${$cacheid+:} false; then :
   16808   $as_echo_n "(cached) " >&6
   16809 else
   16810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16811 /* end confdefs.h.  */
   16812 int i;
   16813 int
   16814 main ()
   16815 {
   16816 
   16817   ;
   16818   return 0;
   16819 }
   16820 _ACEOF
   16821 if ac_fn_c_try_link "$LINENO"; then :
   16822   eval $cacheid=yes
   16823 else
   16824   eval $cacheid=no
   16825 fi
   16826 rm -f core conftest.err conftest.$ac_objext \
   16827     conftest$ac_exeext conftest.$ac_ext
   16828 fi
   16829 
   16830 
   16831 		CFLAGS="$xorg_testset_save_CFLAGS"
   16832 
   16833 		eval supported=\$$cacheid
   16834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16835 $as_echo "$supported" >&6; }
   16836 		if test "$supported" = "yes" ; then
   16837 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16838 			found="yes"
   16839 		fi
   16840 	fi
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 xorg_testset_save_CFLAGS="$CFLAGS"
   16857 
   16858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16861 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16862 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16863   $as_echo_n "(cached) " >&6
   16864 else
   16865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16866 /* end confdefs.h.  */
   16867 int i;
   16868 _ACEOF
   16869 if ac_fn_c_try_compile "$LINENO"; then :
   16870   xorg_cv_cc_flag_unknown_warning_option=yes
   16871 else
   16872   xorg_cv_cc_flag_unknown_warning_option=no
   16873 fi
   16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16875 fi
   16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16877 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16879 	CFLAGS="$xorg_testset_save_CFLAGS"
   16880 fi
   16881 
   16882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16885 	fi
   16886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16888 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16889 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16890   $as_echo_n "(cached) " >&6
   16891 else
   16892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16893 /* end confdefs.h.  */
   16894 int i;
   16895 _ACEOF
   16896 if ac_fn_c_try_compile "$LINENO"; then :
   16897   xorg_cv_cc_flag_unused_command_line_argument=yes
   16898 else
   16899   xorg_cv_cc_flag_unused_command_line_argument=no
   16900 fi
   16901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16902 fi
   16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16904 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16906 	CFLAGS="$xorg_testset_save_CFLAGS"
   16907 fi
   16908 
   16909 found="no"
   16910 
   16911 	if test $found = "no" ; then
   16912 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16914 		fi
   16915 
   16916 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16918 		fi
   16919 
   16920 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16921 
   16922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16923 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16924 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16925 		if eval \${$cacheid+:} false; then :
   16926   $as_echo_n "(cached) " >&6
   16927 else
   16928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16929 /* end confdefs.h.  */
   16930 int i;
   16931 int
   16932 main ()
   16933 {
   16934 
   16935   ;
   16936   return 0;
   16937 }
   16938 _ACEOF
   16939 if ac_fn_c_try_link "$LINENO"; then :
   16940   eval $cacheid=yes
   16941 else
   16942   eval $cacheid=no
   16943 fi
   16944 rm -f core conftest.err conftest.$ac_objext \
   16945     conftest$ac_exeext conftest.$ac_ext
   16946 fi
   16947 
   16948 
   16949 		CFLAGS="$xorg_testset_save_CFLAGS"
   16950 
   16951 		eval supported=\$$cacheid
   16952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16953 $as_echo "$supported" >&6; }
   16954 		if test "$supported" = "yes" ; then
   16955 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16956 			found="yes"
   16957 		fi
   16958 	fi
   16959 
   16960 
   16961 fi
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 		CWARNFLAGS="$BASE_CFLAGS"
   16970 		if  test "x$GCC" = xyes ; then
   16971 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16972 		fi
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 # Check whether --enable-strict-compilation was given.
   16982 if test "${enable_strict_compilation+set}" = set; then :
   16983   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16984 else
   16985   STRICT_COMPILE=no
   16986 fi
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 STRICT_CFLAGS=""
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 xorg_testset_save_CFLAGS="$CFLAGS"
   17008 
   17009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17014   $as_echo_n "(cached) " >&6
   17015 else
   17016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17017 /* end confdefs.h.  */
   17018 int i;
   17019 _ACEOF
   17020 if ac_fn_c_try_compile "$LINENO"; then :
   17021   xorg_cv_cc_flag_unknown_warning_option=yes
   17022 else
   17023   xorg_cv_cc_flag_unknown_warning_option=no
   17024 fi
   17025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17026 fi
   17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17030 	CFLAGS="$xorg_testset_save_CFLAGS"
   17031 fi
   17032 
   17033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17036 	fi
   17037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17041   $as_echo_n "(cached) " >&6
   17042 else
   17043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17044 /* end confdefs.h.  */
   17045 int i;
   17046 _ACEOF
   17047 if ac_fn_c_try_compile "$LINENO"; then :
   17048   xorg_cv_cc_flag_unused_command_line_argument=yes
   17049 else
   17050   xorg_cv_cc_flag_unused_command_line_argument=no
   17051 fi
   17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17053 fi
   17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17057 	CFLAGS="$xorg_testset_save_CFLAGS"
   17058 fi
   17059 
   17060 found="no"
   17061 
   17062 	if test $found = "no" ; then
   17063 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17065 		fi
   17066 
   17067 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17069 		fi
   17070 
   17071 		CFLAGS="$CFLAGS -pedantic"
   17072 
   17073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17074 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17075 		cacheid=xorg_cv_cc_flag__pedantic
   17076 		if eval \${$cacheid+:} false; then :
   17077   $as_echo_n "(cached) " >&6
   17078 else
   17079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17080 /* end confdefs.h.  */
   17081 int i;
   17082 int
   17083 main ()
   17084 {
   17085 
   17086   ;
   17087   return 0;
   17088 }
   17089 _ACEOF
   17090 if ac_fn_c_try_link "$LINENO"; then :
   17091   eval $cacheid=yes
   17092 else
   17093   eval $cacheid=no
   17094 fi
   17095 rm -f core conftest.err conftest.$ac_objext \
   17096     conftest$ac_exeext conftest.$ac_ext
   17097 fi
   17098 
   17099 
   17100 		CFLAGS="$xorg_testset_save_CFLAGS"
   17101 
   17102 		eval supported=\$$cacheid
   17103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17104 $as_echo "$supported" >&6; }
   17105 		if test "$supported" = "yes" ; then
   17106 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17107 			found="yes"
   17108 		fi
   17109 	fi
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 
   17123 
   17124 
   17125 xorg_testset_save_CFLAGS="$CFLAGS"
   17126 
   17127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17132   $as_echo_n "(cached) " >&6
   17133 else
   17134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17135 /* end confdefs.h.  */
   17136 int i;
   17137 _ACEOF
   17138 if ac_fn_c_try_compile "$LINENO"; then :
   17139   xorg_cv_cc_flag_unknown_warning_option=yes
   17140 else
   17141   xorg_cv_cc_flag_unknown_warning_option=no
   17142 fi
   17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17144 fi
   17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17148 	CFLAGS="$xorg_testset_save_CFLAGS"
   17149 fi
   17150 
   17151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17154 	fi
   17155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17159   $as_echo_n "(cached) " >&6
   17160 else
   17161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17162 /* end confdefs.h.  */
   17163 int i;
   17164 _ACEOF
   17165 if ac_fn_c_try_compile "$LINENO"; then :
   17166   xorg_cv_cc_flag_unused_command_line_argument=yes
   17167 else
   17168   xorg_cv_cc_flag_unused_command_line_argument=no
   17169 fi
   17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17171 fi
   17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17175 	CFLAGS="$xorg_testset_save_CFLAGS"
   17176 fi
   17177 
   17178 found="no"
   17179 
   17180 	if test $found = "no" ; then
   17181 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17183 		fi
   17184 
   17185 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17187 		fi
   17188 
   17189 		CFLAGS="$CFLAGS -Werror"
   17190 
   17191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17192 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17193 		cacheid=xorg_cv_cc_flag__Werror
   17194 		if eval \${$cacheid+:} false; then :
   17195   $as_echo_n "(cached) " >&6
   17196 else
   17197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17198 /* end confdefs.h.  */
   17199 int i;
   17200 int
   17201 main ()
   17202 {
   17203 
   17204   ;
   17205   return 0;
   17206 }
   17207 _ACEOF
   17208 if ac_fn_c_try_link "$LINENO"; then :
   17209   eval $cacheid=yes
   17210 else
   17211   eval $cacheid=no
   17212 fi
   17213 rm -f core conftest.err conftest.$ac_objext \
   17214     conftest$ac_exeext conftest.$ac_ext
   17215 fi
   17216 
   17217 
   17218 		CFLAGS="$xorg_testset_save_CFLAGS"
   17219 
   17220 		eval supported=\$$cacheid
   17221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17222 $as_echo "$supported" >&6; }
   17223 		if test "$supported" = "yes" ; then
   17224 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17225 			found="yes"
   17226 		fi
   17227 	fi
   17228 
   17229 	if test $found = "no" ; then
   17230 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17232 		fi
   17233 
   17234 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17236 		fi
   17237 
   17238 		CFLAGS="$CFLAGS -errwarn"
   17239 
   17240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17241 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17242 		cacheid=xorg_cv_cc_flag__errwarn
   17243 		if eval \${$cacheid+:} false; then :
   17244   $as_echo_n "(cached) " >&6
   17245 else
   17246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17247 /* end confdefs.h.  */
   17248 int i;
   17249 int
   17250 main ()
   17251 {
   17252 
   17253   ;
   17254   return 0;
   17255 }
   17256 _ACEOF
   17257 if ac_fn_c_try_link "$LINENO"; then :
   17258   eval $cacheid=yes
   17259 else
   17260   eval $cacheid=no
   17261 fi
   17262 rm -f core conftest.err conftest.$ac_objext \
   17263     conftest$ac_exeext conftest.$ac_ext
   17264 fi
   17265 
   17266 
   17267 		CFLAGS="$xorg_testset_save_CFLAGS"
   17268 
   17269 		eval supported=\$$cacheid
   17270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17271 $as_echo "$supported" >&6; }
   17272 		if test "$supported" = "yes" ; then
   17273 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17274 			found="yes"
   17275 		fi
   17276 	fi
   17277 
   17278 
   17279 
   17280 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17281 # activate it with -Werror, so we add it here explicitly.
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 xorg_testset_save_CFLAGS="$CFLAGS"
   17296 
   17297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17300 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17301 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17302   $as_echo_n "(cached) " >&6
   17303 else
   17304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17305 /* end confdefs.h.  */
   17306 int i;
   17307 _ACEOF
   17308 if ac_fn_c_try_compile "$LINENO"; then :
   17309   xorg_cv_cc_flag_unknown_warning_option=yes
   17310 else
   17311   xorg_cv_cc_flag_unknown_warning_option=no
   17312 fi
   17313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17314 fi
   17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17316 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17317 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17318 	CFLAGS="$xorg_testset_save_CFLAGS"
   17319 fi
   17320 
   17321 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17322 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17323 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17324 	fi
   17325 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17327 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17328 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17329   $as_echo_n "(cached) " >&6
   17330 else
   17331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17332 /* end confdefs.h.  */
   17333 int i;
   17334 _ACEOF
   17335 if ac_fn_c_try_compile "$LINENO"; then :
   17336   xorg_cv_cc_flag_unused_command_line_argument=yes
   17337 else
   17338   xorg_cv_cc_flag_unused_command_line_argument=no
   17339 fi
   17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17341 fi
   17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17343 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17344 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17345 	CFLAGS="$xorg_testset_save_CFLAGS"
   17346 fi
   17347 
   17348 found="no"
   17349 
   17350 	if test $found = "no" ; then
   17351 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17352 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17353 		fi
   17354 
   17355 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17356 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17357 		fi
   17358 
   17359 		CFLAGS="$CFLAGS -Werror=attributes"
   17360 
   17361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17362 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17363 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17364 		if eval \${$cacheid+:} false; then :
   17365   $as_echo_n "(cached) " >&6
   17366 else
   17367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17368 /* end confdefs.h.  */
   17369 int i;
   17370 int
   17371 main ()
   17372 {
   17373 
   17374   ;
   17375   return 0;
   17376 }
   17377 _ACEOF
   17378 if ac_fn_c_try_link "$LINENO"; then :
   17379   eval $cacheid=yes
   17380 else
   17381   eval $cacheid=no
   17382 fi
   17383 rm -f core conftest.err conftest.$ac_objext \
   17384     conftest$ac_exeext conftest.$ac_ext
   17385 fi
   17386 
   17387 
   17388 		CFLAGS="$xorg_testset_save_CFLAGS"
   17389 
   17390 		eval supported=\$$cacheid
   17391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17392 $as_echo "$supported" >&6; }
   17393 		if test "$supported" = "yes" ; then
   17394 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17395 			found="yes"
   17396 		fi
   17397 	fi
   17398 
   17399 
   17400 
   17401 if test "x$STRICT_COMPILE" = "xyes"; then
   17402     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17403     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17404 fi
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 cat >>confdefs.h <<_ACEOF
   17412 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17413 _ACEOF
   17414 
   17415 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17416 	if test "x$PVM" = "x"; then
   17417 		PVM="0"
   17418 	fi
   17419 
   17420 cat >>confdefs.h <<_ACEOF
   17421 #define PACKAGE_VERSION_MINOR $PVM
   17422 _ACEOF
   17423 
   17424 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17425 	if test "x$PVP" = "x"; then
   17426 		PVP="0"
   17427 	fi
   17428 
   17429 cat >>confdefs.h <<_ACEOF
   17430 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17431 _ACEOF
   17432 
   17433 
   17434 
   17435 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17436 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17437 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17438 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17439 
   17440 
   17441 
   17442 
   17443 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17444 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17445 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17446 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17447 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 if test x$APP_MAN_SUFFIX = x    ; then
   17455     APP_MAN_SUFFIX=1
   17456 fi
   17457 if test x$APP_MAN_DIR = x    ; then
   17458     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17459 fi
   17460 
   17461 if test x$LIB_MAN_SUFFIX = x    ; then
   17462     LIB_MAN_SUFFIX=3
   17463 fi
   17464 if test x$LIB_MAN_DIR = x    ; then
   17465     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17466 fi
   17467 
   17468 if test x$FILE_MAN_SUFFIX = x    ; then
   17469     case $host_os in
   17470 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17471 	*)		FILE_MAN_SUFFIX=5  ;;
   17472     esac
   17473 fi
   17474 if test x$FILE_MAN_DIR = x    ; then
   17475     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17476 fi
   17477 
   17478 if test x$MISC_MAN_SUFFIX = x    ; then
   17479     case $host_os in
   17480 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17481 	*)		MISC_MAN_SUFFIX=7  ;;
   17482     esac
   17483 fi
   17484 if test x$MISC_MAN_DIR = x    ; then
   17485     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17486 fi
   17487 
   17488 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17489     case $host_os in
   17490 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17491 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17492     esac
   17493 fi
   17494 if test x$DRIVER_MAN_DIR = x    ; then
   17495     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17496 fi
   17497 
   17498 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17499     case $host_os in
   17500 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17501 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17502     esac
   17503 fi
   17504 if test x$ADMIN_MAN_DIR = x    ; then
   17505     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17506 fi
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 XORG_MAN_PAGE="X Version 11"
   17523 
   17524 MAN_SUBSTS="\
   17525 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17526 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17527 	-e 's|__xservername__|Xorg|g' \
   17528 	-e 's|__xconfigfile__|xorg.conf|g' \
   17529 	-e 's|__projectroot__|\$(prefix)|g' \
   17530 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17531 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17532 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17533 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17534 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17535 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17536 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17537 
   17538 
   17539 
   17540 # Check whether --enable-silent-rules was given.
   17541 if test "${enable_silent_rules+set}" = set; then :
   17542   enableval=$enable_silent_rules;
   17543 fi
   17544 
   17545 case $enable_silent_rules in # (((
   17546   yes) AM_DEFAULT_VERBOSITY=0;;
   17547    no) AM_DEFAULT_VERBOSITY=1;;
   17548     *) AM_DEFAULT_VERBOSITY=0;;
   17549 esac
   17550 am_make=${MAKE-make}
   17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17552 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17553 if ${am_cv_make_support_nested_variables+:} false; then :
   17554   $as_echo_n "(cached) " >&6
   17555 else
   17556   if $as_echo 'TRUE=$(BAR$(V))
   17557 BAR0=false
   17558 BAR1=true
   17559 V=1
   17560 am__doit:
   17561 	@$(TRUE)
   17562 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17563   am_cv_make_support_nested_variables=yes
   17564 else
   17565   am_cv_make_support_nested_variables=no
   17566 fi
   17567 fi
   17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17569 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17570 if test $am_cv_make_support_nested_variables = yes; then
   17571     AM_V='$(V)'
   17572   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17573 else
   17574   AM_V=$AM_DEFAULT_VERBOSITY
   17575   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17576 fi
   17577 AM_BACKSLASH='\'
   17578 
   17579 
   17580 
   17581 # Check fixesext configuration, strip extra digits from package version to
   17582 # find the required protocol version
   17583 FIXESEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17584 
   17585 
   17586 # Obtain compiler/linker options for depedencies
   17587 
   17588 pkg_failed=no
   17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIXESEXT" >&5
   17590 $as_echo_n "checking for FIXESEXT... " >&6; }
   17591 
   17592 if test -n "$FIXESEXT_CFLAGS"; then
   17593     pkg_cv_FIXESEXT_CFLAGS="$FIXESEXT_CFLAGS"
   17594  elif test -n "$PKG_CONFIG"; then
   17595     if test -n "$PKG_CONFIG" && \
   17596     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto fixesproto >= \$FIXESEXT_VERSION xextproto x11\""; } >&5
   17597   ($PKG_CONFIG --exists --print-errors "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11") 2>&5
   17598   ac_status=$?
   17599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17600   test $ac_status = 0; }; then
   17601   pkg_cv_FIXESEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11" 2>/dev/null`
   17602 else
   17603   pkg_failed=yes
   17604 fi
   17605  else
   17606     pkg_failed=untried
   17607 fi
   17608 if test -n "$FIXESEXT_LIBS"; then
   17609     pkg_cv_FIXESEXT_LIBS="$FIXESEXT_LIBS"
   17610  elif test -n "$PKG_CONFIG"; then
   17611     if test -n "$PKG_CONFIG" && \
   17612     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto fixesproto >= \$FIXESEXT_VERSION xextproto x11\""; } >&5
   17613   ($PKG_CONFIG --exists --print-errors "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11") 2>&5
   17614   ac_status=$?
   17615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17616   test $ac_status = 0; }; then
   17617   pkg_cv_FIXESEXT_LIBS=`$PKG_CONFIG --libs "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11" 2>/dev/null`
   17618 else
   17619   pkg_failed=yes
   17620 fi
   17621  else
   17622     pkg_failed=untried
   17623 fi
   17624 
   17625 
   17626 
   17627 if test $pkg_failed = yes; then
   17628 
   17629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17630         _pkg_short_errors_supported=yes
   17631 else
   17632         _pkg_short_errors_supported=no
   17633 fi
   17634         if test $_pkg_short_errors_supported = yes; then
   17635 	        FIXESEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11" 2>&1`
   17636         else
   17637 	        FIXESEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11" 2>&1`
   17638         fi
   17639 	# Put the nasty error message in config.log where it belongs
   17640 	echo "$FIXESEXT_PKG_ERRORS" >&5
   17641 
   17642 	as_fn_error $? "Package requirements (xproto fixesproto >= $FIXESEXT_VERSION xextproto x11) were not met:
   17643 
   17644 $FIXESEXT_PKG_ERRORS
   17645 
   17646 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17647 installed software in a non-standard prefix.
   17648 
   17649 Alternatively, you may set the environment variables FIXESEXT_CFLAGS
   17650 and FIXESEXT_LIBS to avoid the need to call pkg-config.
   17651 See the pkg-config man page for more details.
   17652 " "$LINENO" 5
   17653 elif test $pkg_failed = untried; then
   17654 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17656 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17657 is in your PATH or set the PKG_CONFIG environment variable to the full
   17658 path to pkg-config.
   17659 
   17660 Alternatively, you may set the environment variables FIXESEXT_CFLAGS
   17661 and FIXESEXT_LIBS to avoid the need to call pkg-config.
   17662 See the pkg-config man page for more details.
   17663 
   17664 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17665 See \`config.log' for more details" "$LINENO" 5; }
   17666 else
   17667 	FIXESEXT_CFLAGS=$pkg_cv_FIXESEXT_CFLAGS
   17668 	FIXESEXT_LIBS=$pkg_cv_FIXESEXT_LIBS
   17669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17670 $as_echo "yes" >&6; }
   17671 	:
   17672 fi
   17673 
   17674 # Check for _XEatDataWords function that may be patched into older Xlib releases
   17675 SAVE_LIBS="$LIBS"
   17676 LIBS="$FIXESEXT_LIBS"
   17677 for ac_func in _XEatDataWords
   17678 do :
   17679   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   17680 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   17681   cat >>confdefs.h <<_ACEOF
   17682 #define HAVE__XEATDATAWORDS 1
   17683 _ACEOF
   17684 
   17685 fi
   17686 done
   17687 
   17688 LIBS="$SAVE_LIBS"
   17689 
   17690 
   17691 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xfixes.pc"
   17692 
   17693 cat >confcache <<\_ACEOF
   17694 # This file is a shell script that caches the results of configure
   17695 # tests run on this system so they can be shared between configure
   17696 # scripts and configure runs, see configure's option --config-cache.
   17697 # It is not useful on other systems.  If it contains results you don't
   17698 # want to keep, you may remove or edit it.
   17699 #
   17700 # config.status only pays attention to the cache file if you give it
   17701 # the --recheck option to rerun configure.
   17702 #
   17703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17705 # following values.
   17706 
   17707 _ACEOF
   17708 
   17709 # The following way of writing the cache mishandles newlines in values,
   17710 # but we know of no workaround that is simple, portable, and efficient.
   17711 # So, we kill variables containing newlines.
   17712 # Ultrix sh set writes to stderr and can't be redirected directly,
   17713 # and sets the high bit in the cache file unless we assign to the vars.
   17714 (
   17715   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17716     eval ac_val=\$$ac_var
   17717     case $ac_val in #(
   17718     *${as_nl}*)
   17719       case $ac_var in #(
   17720       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17722       esac
   17723       case $ac_var in #(
   17724       _ | IFS | as_nl) ;; #(
   17725       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17726       *) { eval $ac_var=; unset $ac_var;} ;;
   17727       esac ;;
   17728     esac
   17729   done
   17730 
   17731   (set) 2>&1 |
   17732     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17733     *${as_nl}ac_space=\ *)
   17734       # `set' does not quote correctly, so add quotes: double-quote
   17735       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17736       sed -n \
   17737 	"s/'/'\\\\''/g;
   17738 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17739       ;; #(
   17740     *)
   17741       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17742       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17743       ;;
   17744     esac |
   17745     sort
   17746 ) |
   17747   sed '
   17748      /^ac_cv_env_/b end
   17749      t clear
   17750      :clear
   17751      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17752      t end
   17753      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17754      :end' >>confcache
   17755 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17756   if test -w "$cache_file"; then
   17757     if test "x$cache_file" != "x/dev/null"; then
   17758       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17759 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17760       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17761 	cat confcache >"$cache_file"
   17762       else
   17763         case $cache_file in #(
   17764         */* | ?:*)
   17765 	  mv -f confcache "$cache_file"$$ &&
   17766 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17767         *)
   17768 	  mv -f confcache "$cache_file" ;;
   17769 	esac
   17770       fi
   17771     fi
   17772   else
   17773     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17774 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17775   fi
   17776 fi
   17777 rm -f confcache
   17778 
   17779 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17780 # Let make expand exec_prefix.
   17781 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17782 
   17783 DEFS=-DHAVE_CONFIG_H
   17784 
   17785 ac_libobjs=
   17786 ac_ltlibobjs=
   17787 U=
   17788 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17789   # 1. Remove the extension, and $U if already installed.
   17790   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17791   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17792   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17793   #    will be set to the directory where LIBOBJS objects are built.
   17794   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17795   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17796 done
   17797 LIBOBJS=$ac_libobjs
   17798 
   17799 LTLIBOBJS=$ac_ltlibobjs
   17800 
   17801 
   17802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17803 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17804    if test -n "$am_sleep_pid"; then
   17805      # Hide warnings about reused PIDs.
   17806      wait $am_sleep_pid 2>/dev/null
   17807    fi
   17808    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17809 $as_echo "done" >&6; }
   17810  if test -n "$EXEEXT"; then
   17811   am__EXEEXT_TRUE=
   17812   am__EXEEXT_FALSE='#'
   17813 else
   17814   am__EXEEXT_TRUE='#'
   17815   am__EXEEXT_FALSE=
   17816 fi
   17817 
   17818 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17819   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17821 fi
   17822 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17823   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17825 fi
   17826 
   17827 : "${CONFIG_STATUS=./config.status}"
   17828 ac_write_fail=0
   17829 ac_clean_files_save=$ac_clean_files
   17830 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17832 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17833 as_write_fail=0
   17834 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17835 #! $SHELL
   17836 # Generated by $as_me.
   17837 # Run this file to recreate the current configuration.
   17838 # Compiler output produced by configure, useful for debugging
   17839 # configure, is in config.log if it exists.
   17840 
   17841 debug=false
   17842 ac_cs_recheck=false
   17843 ac_cs_silent=false
   17844 
   17845 SHELL=\${CONFIG_SHELL-$SHELL}
   17846 export SHELL
   17847 _ASEOF
   17848 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17849 ## -------------------- ##
   17850 ## M4sh Initialization. ##
   17851 ## -------------------- ##
   17852 
   17853 # Be more Bourne compatible
   17854 DUALCASE=1; export DUALCASE # for MKS sh
   17855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17856   emulate sh
   17857   NULLCMD=:
   17858   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17859   # is contrary to our usage.  Disable this feature.
   17860   alias -g '${1+"$@"}'='"$@"'
   17861   setopt NO_GLOB_SUBST
   17862 else
   17863   case `(set -o) 2>/dev/null` in #(
   17864   *posix*) :
   17865     set -o posix ;; #(
   17866   *) :
   17867      ;;
   17868 esac
   17869 fi
   17870 
   17871 
   17872 as_nl='
   17873 '
   17874 export as_nl
   17875 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17876 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17879 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17880 # but without wasting forks for bash or zsh.
   17881 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17882     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17883   as_echo='print -r --'
   17884   as_echo_n='print -rn --'
   17885 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17886   as_echo='printf %s\n'
   17887   as_echo_n='printf %s'
   17888 else
   17889   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17890     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17891     as_echo_n='/usr/ucb/echo -n'
   17892   else
   17893     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17894     as_echo_n_body='eval
   17895       arg=$1;
   17896       case $arg in #(
   17897       *"$as_nl"*)
   17898 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17899 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17900       esac;
   17901       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17902     '
   17903     export as_echo_n_body
   17904     as_echo_n='sh -c $as_echo_n_body as_echo'
   17905   fi
   17906   export as_echo_body
   17907   as_echo='sh -c $as_echo_body as_echo'
   17908 fi
   17909 
   17910 # The user is always right.
   17911 if test "${PATH_SEPARATOR+set}" != set; then
   17912   PATH_SEPARATOR=:
   17913   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17914     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17915       PATH_SEPARATOR=';'
   17916   }
   17917 fi
   17918 
   17919 
   17920 # IFS
   17921 # We need space, tab and new line, in precisely that order.  Quoting is
   17922 # there to prevent editors from complaining about space-tab.
   17923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17924 # splitting by setting IFS to empty value.)
   17925 IFS=" ""	$as_nl"
   17926 
   17927 # Find who we are.  Look in the path if we contain no directory separator.
   17928 as_myself=
   17929 case $0 in #((
   17930   *[\\/]* ) as_myself=$0 ;;
   17931   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17932 for as_dir in $PATH
   17933 do
   17934   IFS=$as_save_IFS
   17935   test -z "$as_dir" && as_dir=.
   17936     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17937   done
   17938 IFS=$as_save_IFS
   17939 
   17940      ;;
   17941 esac
   17942 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17943 # in which case we are not to be found in the path.
   17944 if test "x$as_myself" = x; then
   17945   as_myself=$0
   17946 fi
   17947 if test ! -f "$as_myself"; then
   17948   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17949   exit 1
   17950 fi
   17951 
   17952 # Unset variables that we do not need and which cause bugs (e.g. in
   17953 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17954 # suppresses any "Segmentation fault" message there.  '((' could
   17955 # trigger a bug in pdksh 5.2.14.
   17956 for as_var in BASH_ENV ENV MAIL MAILPATH
   17957 do eval test x\${$as_var+set} = xset \
   17958   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17959 done
   17960 PS1='$ '
   17961 PS2='> '
   17962 PS4='+ '
   17963 
   17964 # NLS nuisances.
   17965 LC_ALL=C
   17966 export LC_ALL
   17967 LANGUAGE=C
   17968 export LANGUAGE
   17969 
   17970 # CDPATH.
   17971 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17972 
   17973 
   17974 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17975 # ----------------------------------------
   17976 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17977 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17978 # script with STATUS, using 1 if that was 0.
   17979 as_fn_error ()
   17980 {
   17981   as_status=$1; test $as_status -eq 0 && as_status=1
   17982   if test "$4"; then
   17983     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17984     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17985   fi
   17986   $as_echo "$as_me: error: $2" >&2
   17987   as_fn_exit $as_status
   17988 } # as_fn_error
   17989 
   17990 
   17991 # as_fn_set_status STATUS
   17992 # -----------------------
   17993 # Set $? to STATUS, without forking.
   17994 as_fn_set_status ()
   17995 {
   17996   return $1
   17997 } # as_fn_set_status
   17998 
   17999 # as_fn_exit STATUS
   18000 # -----------------
   18001 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18002 as_fn_exit ()
   18003 {
   18004   set +e
   18005   as_fn_set_status $1
   18006   exit $1
   18007 } # as_fn_exit
   18008 
   18009 # as_fn_unset VAR
   18010 # ---------------
   18011 # Portably unset VAR.
   18012 as_fn_unset ()
   18013 {
   18014   { eval $1=; unset $1;}
   18015 }
   18016 as_unset=as_fn_unset
   18017 # as_fn_append VAR VALUE
   18018 # ----------------------
   18019 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18020 # advantage of any shell optimizations that allow amortized linear growth over
   18021 # repeated appends, instead of the typical quadratic growth present in naive
   18022 # implementations.
   18023 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18024   eval 'as_fn_append ()
   18025   {
   18026     eval $1+=\$2
   18027   }'
   18028 else
   18029   as_fn_append ()
   18030   {
   18031     eval $1=\$$1\$2
   18032   }
   18033 fi # as_fn_append
   18034 
   18035 # as_fn_arith ARG...
   18036 # ------------------
   18037 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18038 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18039 # must be portable across $(()) and expr.
   18040 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18041   eval 'as_fn_arith ()
   18042   {
   18043     as_val=$(( $* ))
   18044   }'
   18045 else
   18046   as_fn_arith ()
   18047   {
   18048     as_val=`expr "$@" || test $? -eq 1`
   18049   }
   18050 fi # as_fn_arith
   18051 
   18052 
   18053 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18054    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18055   as_expr=expr
   18056 else
   18057   as_expr=false
   18058 fi
   18059 
   18060 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18061   as_basename=basename
   18062 else
   18063   as_basename=false
   18064 fi
   18065 
   18066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18067   as_dirname=dirname
   18068 else
   18069   as_dirname=false
   18070 fi
   18071 
   18072 as_me=`$as_basename -- "$0" ||
   18073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18074 	 X"$0" : 'X\(//\)$' \| \
   18075 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18076 $as_echo X/"$0" |
   18077     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18078 	    s//\1/
   18079 	    q
   18080 	  }
   18081 	  /^X\/\(\/\/\)$/{
   18082 	    s//\1/
   18083 	    q
   18084 	  }
   18085 	  /^X\/\(\/\).*/{
   18086 	    s//\1/
   18087 	    q
   18088 	  }
   18089 	  s/.*/./; q'`
   18090 
   18091 # Avoid depending upon Character Ranges.
   18092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18095 as_cr_digits='0123456789'
   18096 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18097 
   18098 ECHO_C= ECHO_N= ECHO_T=
   18099 case `echo -n x` in #(((((
   18100 -n*)
   18101   case `echo 'xy\c'` in
   18102   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18103   xy)  ECHO_C='\c';;
   18104   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18105        ECHO_T='	';;
   18106   esac;;
   18107 *)
   18108   ECHO_N='-n';;
   18109 esac
   18110 
   18111 rm -f conf$$ conf$$.exe conf$$.file
   18112 if test -d conf$$.dir; then
   18113   rm -f conf$$.dir/conf$$.file
   18114 else
   18115   rm -f conf$$.dir
   18116   mkdir conf$$.dir 2>/dev/null
   18117 fi
   18118 if (echo >conf$$.file) 2>/dev/null; then
   18119   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18120     as_ln_s='ln -s'
   18121     # ... but there are two gotchas:
   18122     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18123     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18124     # In both cases, we have to default to `cp -p'.
   18125     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18126       as_ln_s='cp -p'
   18127   elif ln conf$$.file conf$$ 2>/dev/null; then
   18128     as_ln_s=ln
   18129   else
   18130     as_ln_s='cp -p'
   18131   fi
   18132 else
   18133   as_ln_s='cp -p'
   18134 fi
   18135 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18136 rmdir conf$$.dir 2>/dev/null
   18137 
   18138 
   18139 # as_fn_mkdir_p
   18140 # -------------
   18141 # Create "$as_dir" as a directory, including parents if necessary.
   18142 as_fn_mkdir_p ()
   18143 {
   18144 
   18145   case $as_dir in #(
   18146   -*) as_dir=./$as_dir;;
   18147   esac
   18148   test -d "$as_dir" || eval $as_mkdir_p || {
   18149     as_dirs=
   18150     while :; do
   18151       case $as_dir in #(
   18152       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18153       *) as_qdir=$as_dir;;
   18154       esac
   18155       as_dirs="'$as_qdir' $as_dirs"
   18156       as_dir=`$as_dirname -- "$as_dir" ||
   18157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18158 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18159 	 X"$as_dir" : 'X\(//\)$' \| \
   18160 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18161 $as_echo X"$as_dir" |
   18162     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18163 	    s//\1/
   18164 	    q
   18165 	  }
   18166 	  /^X\(\/\/\)[^/].*/{
   18167 	    s//\1/
   18168 	    q
   18169 	  }
   18170 	  /^X\(\/\/\)$/{
   18171 	    s//\1/
   18172 	    q
   18173 	  }
   18174 	  /^X\(\/\).*/{
   18175 	    s//\1/
   18176 	    q
   18177 	  }
   18178 	  s/.*/./; q'`
   18179       test -d "$as_dir" && break
   18180     done
   18181     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18182   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18183 
   18184 
   18185 } # as_fn_mkdir_p
   18186 if mkdir -p . 2>/dev/null; then
   18187   as_mkdir_p='mkdir -p "$as_dir"'
   18188 else
   18189   test -d ./-p && rmdir ./-p
   18190   as_mkdir_p=false
   18191 fi
   18192 
   18193 if test -x / >/dev/null 2>&1; then
   18194   as_test_x='test -x'
   18195 else
   18196   if ls -dL / >/dev/null 2>&1; then
   18197     as_ls_L_option=L
   18198   else
   18199     as_ls_L_option=
   18200   fi
   18201   as_test_x='
   18202     eval sh -c '\''
   18203       if test -d "$1"; then
   18204 	test -d "$1/.";
   18205       else
   18206 	case $1 in #(
   18207 	-*)set "./$1";;
   18208 	esac;
   18209 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18210 	???[sx]*):;;*)false;;esac;fi
   18211     '\'' sh
   18212   '
   18213 fi
   18214 as_executable_p=$as_test_x
   18215 
   18216 # Sed expression to map a string onto a valid CPP name.
   18217 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18218 
   18219 # Sed expression to map a string onto a valid variable name.
   18220 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18221 
   18222 
   18223 exec 6>&1
   18224 ## ----------------------------------- ##
   18225 ## Main body of $CONFIG_STATUS script. ##
   18226 ## ----------------------------------- ##
   18227 _ASEOF
   18228 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18229 
   18230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18231 # Save the log message, to keep $0 and so on meaningful, and to
   18232 # report actual input values of CONFIG_FILES etc. instead of their
   18233 # values after options handling.
   18234 ac_log="
   18235 This file was extended by libXfixes $as_me 5.0.1, which was
   18236 generated by GNU Autoconf 2.68.  Invocation command line was
   18237 
   18238   CONFIG_FILES    = $CONFIG_FILES
   18239   CONFIG_HEADERS  = $CONFIG_HEADERS
   18240   CONFIG_LINKS    = $CONFIG_LINKS
   18241   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18242   $ $0 $@
   18243 
   18244 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18245 "
   18246 
   18247 _ACEOF
   18248 
   18249 case $ac_config_files in *"
   18250 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18251 esac
   18252 
   18253 case $ac_config_headers in *"
   18254 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18255 esac
   18256 
   18257 
   18258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18259 # Files that config.status was made for.
   18260 config_files="$ac_config_files"
   18261 config_headers="$ac_config_headers"
   18262 config_commands="$ac_config_commands"
   18263 
   18264 _ACEOF
   18265 
   18266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18267 ac_cs_usage="\
   18268 \`$as_me' instantiates files and other configuration actions
   18269 from templates according to the current configuration.  Unless the files
   18270 and actions are specified as TAGs, all are instantiated by default.
   18271 
   18272 Usage: $0 [OPTION]... [TAG]...
   18273 
   18274   -h, --help       print this help, then exit
   18275   -V, --version    print version number and configuration settings, then exit
   18276       --config     print configuration, then exit
   18277   -q, --quiet, --silent
   18278                    do not print progress messages
   18279   -d, --debug      don't remove temporary files
   18280       --recheck    update $as_me by reconfiguring in the same conditions
   18281       --file=FILE[:TEMPLATE]
   18282                    instantiate the configuration file FILE
   18283       --header=FILE[:TEMPLATE]
   18284                    instantiate the configuration header FILE
   18285 
   18286 Configuration files:
   18287 $config_files
   18288 
   18289 Configuration headers:
   18290 $config_headers
   18291 
   18292 Configuration commands:
   18293 $config_commands
   18294 
   18295 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18296 
   18297 _ACEOF
   18298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18299 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18300 ac_cs_version="\\
   18301 libXfixes config.status 5.0.1
   18302 configured by $0, generated by GNU Autoconf 2.68,
   18303   with options \\"\$ac_cs_config\\"
   18304 
   18305 Copyright (C) 2010 Free Software Foundation, Inc.
   18306 This config.status script is free software; the Free Software Foundation
   18307 gives unlimited permission to copy, distribute and modify it."
   18308 
   18309 ac_pwd='$ac_pwd'
   18310 srcdir='$srcdir'
   18311 INSTALL='$INSTALL'
   18312 MKDIR_P='$MKDIR_P'
   18313 AWK='$AWK'
   18314 test -n "\$AWK" || AWK=awk
   18315 _ACEOF
   18316 
   18317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18318 # The default lists apply if the user does not specify any file.
   18319 ac_need_defaults=:
   18320 while test $# != 0
   18321 do
   18322   case $1 in
   18323   --*=?*)
   18324     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18325     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18326     ac_shift=:
   18327     ;;
   18328   --*=)
   18329     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18330     ac_optarg=
   18331     ac_shift=:
   18332     ;;
   18333   *)
   18334     ac_option=$1
   18335     ac_optarg=$2
   18336     ac_shift=shift
   18337     ;;
   18338   esac
   18339 
   18340   case $ac_option in
   18341   # Handling of the options.
   18342   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18343     ac_cs_recheck=: ;;
   18344   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18345     $as_echo "$ac_cs_version"; exit ;;
   18346   --config | --confi | --conf | --con | --co | --c )
   18347     $as_echo "$ac_cs_config"; exit ;;
   18348   --debug | --debu | --deb | --de | --d | -d )
   18349     debug=: ;;
   18350   --file | --fil | --fi | --f )
   18351     $ac_shift
   18352     case $ac_optarg in
   18353     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18354     '') as_fn_error $? "missing file argument" ;;
   18355     esac
   18356     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18357     ac_need_defaults=false;;
   18358   --header | --heade | --head | --hea )
   18359     $ac_shift
   18360     case $ac_optarg in
   18361     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18362     esac
   18363     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18364     ac_need_defaults=false;;
   18365   --he | --h)
   18366     # Conflict between --help and --header
   18367     as_fn_error $? "ambiguous option: \`$1'
   18368 Try \`$0 --help' for more information.";;
   18369   --help | --hel | -h )
   18370     $as_echo "$ac_cs_usage"; exit ;;
   18371   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18372   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18373     ac_cs_silent=: ;;
   18374 
   18375   # This is an error.
   18376   -*) as_fn_error $? "unrecognized option: \`$1'
   18377 Try \`$0 --help' for more information." ;;
   18378 
   18379   *) as_fn_append ac_config_targets " $1"
   18380      ac_need_defaults=false ;;
   18381 
   18382   esac
   18383   shift
   18384 done
   18385 
   18386 ac_configure_extra_args=
   18387 
   18388 if $ac_cs_silent; then
   18389   exec 6>/dev/null
   18390   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18391 fi
   18392 
   18393 _ACEOF
   18394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18395 if \$ac_cs_recheck; then
   18396   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18397   shift
   18398   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18399   CONFIG_SHELL='$SHELL'
   18400   export CONFIG_SHELL
   18401   exec "\$@"
   18402 fi
   18403 
   18404 _ACEOF
   18405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18406 exec 5>>config.log
   18407 {
   18408   echo
   18409   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18410 ## Running $as_me. ##
   18411 _ASBOX
   18412   $as_echo "$ac_log"
   18413 } >&5
   18414 
   18415 _ACEOF
   18416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18417 #
   18418 # INIT-COMMANDS
   18419 #
   18420 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18421 
   18422 
   18423 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18424 # if CDPATH is set.
   18425 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18426 
   18427 sed_quote_subst='$sed_quote_subst'
   18428 double_quote_subst='$double_quote_subst'
   18429 delay_variable_subst='$delay_variable_subst'
   18430 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18431 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18432 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18433 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18434 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18435 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18436 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18437 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18438 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18439 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18440 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18441 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18442 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18443 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18444 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18445 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18446 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18447 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18448 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18449 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18450 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18451 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18452 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18453 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18454 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18455 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18456 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18457 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18458 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18459 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18460 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18461 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18462 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18463 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18464 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18465 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18466 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18467 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18468 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18469 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18470 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18471 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18472 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18473 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18474 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18475 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18476 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18477 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18478 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18479 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18480 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18481 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18482 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18483 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18484 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18485 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18486 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"`'
   18487 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18488 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18489 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18490 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18491 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18492 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18493 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18494 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18495 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18496 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18497 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18498 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18499 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18500 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18501 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18502 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18503 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18504 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18505 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18506 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18507 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18508 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18509 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18510 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18511 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18512 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18513 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18514 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18515 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18516 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18517 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18518 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18519 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18520 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18521 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18522 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18523 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18524 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18525 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18526 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18527 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18528 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18529 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18530 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18531 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18532 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18533 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18534 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18535 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18536 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18537 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18538 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18539 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18540 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18541 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18542 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18543 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18544 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18545 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18546 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18547 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18548 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18549 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18550 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18551 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18552 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18553 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18554 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18555 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18556 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18557 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18558 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18559 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18560 
   18561 LTCC='$LTCC'
   18562 LTCFLAGS='$LTCFLAGS'
   18563 compiler='$compiler_DEFAULT'
   18564 
   18565 # A function that is used when there is no print builtin or printf.
   18566 func_fallback_echo ()
   18567 {
   18568   eval 'cat <<_LTECHO_EOF
   18569 \$1
   18570 _LTECHO_EOF'
   18571 }
   18572 
   18573 # Quote evaled strings.
   18574 for var in SHELL \
   18575 ECHO \
   18576 PATH_SEPARATOR \
   18577 SED \
   18578 GREP \
   18579 EGREP \
   18580 FGREP \
   18581 LD \
   18582 NM \
   18583 LN_S \
   18584 lt_SP2NL \
   18585 lt_NL2SP \
   18586 reload_flag \
   18587 OBJDUMP \
   18588 deplibs_check_method \
   18589 file_magic_cmd \
   18590 file_magic_glob \
   18591 want_nocaseglob \
   18592 DLLTOOL \
   18593 sharedlib_from_linklib_cmd \
   18594 AR \
   18595 AR_FLAGS \
   18596 archiver_list_spec \
   18597 STRIP \
   18598 RANLIB \
   18599 CC \
   18600 CFLAGS \
   18601 compiler \
   18602 lt_cv_sys_global_symbol_pipe \
   18603 lt_cv_sys_global_symbol_to_cdecl \
   18604 lt_cv_sys_global_symbol_to_c_name_address \
   18605 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18606 nm_file_list_spec \
   18607 lt_prog_compiler_no_builtin_flag \
   18608 lt_prog_compiler_pic \
   18609 lt_prog_compiler_wl \
   18610 lt_prog_compiler_static \
   18611 lt_cv_prog_compiler_c_o \
   18612 need_locks \
   18613 MANIFEST_TOOL \
   18614 DSYMUTIL \
   18615 NMEDIT \
   18616 LIPO \
   18617 OTOOL \
   18618 OTOOL64 \
   18619 shrext_cmds \
   18620 export_dynamic_flag_spec \
   18621 whole_archive_flag_spec \
   18622 compiler_needs_object \
   18623 with_gnu_ld \
   18624 allow_undefined_flag \
   18625 no_undefined_flag \
   18626 hardcode_libdir_flag_spec \
   18627 hardcode_libdir_separator \
   18628 exclude_expsyms \
   18629 include_expsyms \
   18630 file_list_spec \
   18631 variables_saved_for_relink \
   18632 libname_spec \
   18633 library_names_spec \
   18634 soname_spec \
   18635 install_override_mode \
   18636 finish_eval \
   18637 old_striplib \
   18638 striplib; do
   18639     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18640     *[\\\\\\\`\\"\\\$]*)
   18641       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18642       ;;
   18643     *)
   18644       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18645       ;;
   18646     esac
   18647 done
   18648 
   18649 # Double-quote double-evaled strings.
   18650 for var in reload_cmds \
   18651 old_postinstall_cmds \
   18652 old_postuninstall_cmds \
   18653 old_archive_cmds \
   18654 extract_expsyms_cmds \
   18655 old_archive_from_new_cmds \
   18656 old_archive_from_expsyms_cmds \
   18657 archive_cmds \
   18658 archive_expsym_cmds \
   18659 module_cmds \
   18660 module_expsym_cmds \
   18661 export_symbols_cmds \
   18662 prelink_cmds \
   18663 postlink_cmds \
   18664 postinstall_cmds \
   18665 postuninstall_cmds \
   18666 finish_cmds \
   18667 sys_lib_search_path_spec \
   18668 sys_lib_dlsearch_path_spec; do
   18669     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18670     *[\\\\\\\`\\"\\\$]*)
   18671       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18672       ;;
   18673     *)
   18674       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18675       ;;
   18676     esac
   18677 done
   18678 
   18679 ac_aux_dir='$ac_aux_dir'
   18680 xsi_shell='$xsi_shell'
   18681 lt_shell_append='$lt_shell_append'
   18682 
   18683 # See if we are running on zsh, and set the options which allow our
   18684 # commands through without removal of \ escapes INIT.
   18685 if test -n "\${ZSH_VERSION+set}" ; then
   18686    setopt NO_GLOB_SUBST
   18687 fi
   18688 
   18689 
   18690     PACKAGE='$PACKAGE'
   18691     VERSION='$VERSION'
   18692     TIMESTAMP='$TIMESTAMP'
   18693     RM='$RM'
   18694     ofile='$ofile'
   18695 
   18696 
   18697 
   18698 
   18699 _ACEOF
   18700 
   18701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18702 
   18703 # Handling of arguments.
   18704 for ac_config_target in $ac_config_targets
   18705 do
   18706   case $ac_config_target in
   18707     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18708     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18709     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18710     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18711     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18712     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18713     "xfixes.pc") CONFIG_FILES="$CONFIG_FILES xfixes.pc" ;;
   18714 
   18715   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18716   esac
   18717 done
   18718 
   18719 
   18720 # If the user did not use the arguments to specify the items to instantiate,
   18721 # then the envvar interface is used.  Set only those that are not.
   18722 # We use the long form for the default assignment because of an extremely
   18723 # bizarre bug on SunOS 4.1.3.
   18724 if $ac_need_defaults; then
   18725   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18726   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18727   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18728 fi
   18729 
   18730 # Have a temporary directory for convenience.  Make it in the build tree
   18731 # simply because there is no reason against having it here, and in addition,
   18732 # creating and moving files from /tmp can sometimes cause problems.
   18733 # Hook for its removal unless debugging.
   18734 # Note that there is a small window in which the directory will not be cleaned:
   18735 # after its creation but before its name has been assigned to `$tmp'.
   18736 $debug ||
   18737 {
   18738   tmp= ac_tmp=
   18739   trap 'exit_status=$?
   18740   : "${ac_tmp:=$tmp}"
   18741   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18742 ' 0
   18743   trap 'as_fn_exit 1' 1 2 13 15
   18744 }
   18745 # Create a (secure) tmp directory for tmp files.
   18746 
   18747 {
   18748   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18749   test -d "$tmp"
   18750 }  ||
   18751 {
   18752   tmp=./conf$$-$RANDOM
   18753   (umask 077 && mkdir "$tmp")
   18754 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18755 ac_tmp=$tmp
   18756 
   18757 # Set up the scripts for CONFIG_FILES section.
   18758 # No need to generate them if there are no CONFIG_FILES.
   18759 # This happens for instance with `./config.status config.h'.
   18760 if test -n "$CONFIG_FILES"; then
   18761 
   18762 
   18763 ac_cr=`echo X | tr X '\015'`
   18764 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18765 # But we know of no other shell where ac_cr would be empty at this
   18766 # point, so we can use a bashism as a fallback.
   18767 if test "x$ac_cr" = x; then
   18768   eval ac_cr=\$\'\\r\'
   18769 fi
   18770 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18771 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18772   ac_cs_awk_cr='\\r'
   18773 else
   18774   ac_cs_awk_cr=$ac_cr
   18775 fi
   18776 
   18777 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18778 _ACEOF
   18779 
   18780 
   18781 {
   18782   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18783   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18784   echo "_ACEOF"
   18785 } >conf$$subs.sh ||
   18786   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18787 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18788 ac_delim='%!_!# '
   18789 for ac_last_try in false false false false false :; do
   18790   . ./conf$$subs.sh ||
   18791     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18792 
   18793   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18794   if test $ac_delim_n = $ac_delim_num; then
   18795     break
   18796   elif $ac_last_try; then
   18797     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18798   else
   18799     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18800   fi
   18801 done
   18802 rm -f conf$$subs.sh
   18803 
   18804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18805 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18806 _ACEOF
   18807 sed -n '
   18808 h
   18809 s/^/S["/; s/!.*/"]=/
   18810 p
   18811 g
   18812 s/^[^!]*!//
   18813 :repl
   18814 t repl
   18815 s/'"$ac_delim"'$//
   18816 t delim
   18817 :nl
   18818 h
   18819 s/\(.\{148\}\)..*/\1/
   18820 t more1
   18821 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18822 p
   18823 n
   18824 b repl
   18825 :more1
   18826 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18827 p
   18828 g
   18829 s/.\{148\}//
   18830 t nl
   18831 :delim
   18832 h
   18833 s/\(.\{148\}\)..*/\1/
   18834 t more2
   18835 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18836 p
   18837 b
   18838 :more2
   18839 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18840 p
   18841 g
   18842 s/.\{148\}//
   18843 t delim
   18844 ' <conf$$subs.awk | sed '
   18845 /^[^""]/{
   18846   N
   18847   s/\n//
   18848 }
   18849 ' >>$CONFIG_STATUS || ac_write_fail=1
   18850 rm -f conf$$subs.awk
   18851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18852 _ACAWK
   18853 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18854   for (key in S) S_is_set[key] = 1
   18855   FS = ""
   18856 
   18857 }
   18858 {
   18859   line = $ 0
   18860   nfields = split(line, field, "@")
   18861   substed = 0
   18862   len = length(field[1])
   18863   for (i = 2; i < nfields; i++) {
   18864     key = field[i]
   18865     keylen = length(key)
   18866     if (S_is_set[key]) {
   18867       value = S[key]
   18868       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18869       len += length(value) + length(field[++i])
   18870       substed = 1
   18871     } else
   18872       len += 1 + keylen
   18873   }
   18874 
   18875   print line
   18876 }
   18877 
   18878 _ACAWK
   18879 _ACEOF
   18880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18881 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18882   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18883 else
   18884   cat
   18885 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18886   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18887 _ACEOF
   18888 
   18889 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18890 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18891 # trailing colons and then remove the whole line if VPATH becomes empty
   18892 # (actually we leave an empty line to preserve line numbers).
   18893 if test "x$srcdir" = x.; then
   18894   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18895 h
   18896 s///
   18897 s/^/:/
   18898 s/[	 ]*$/:/
   18899 s/:\$(srcdir):/:/g
   18900 s/:\${srcdir}:/:/g
   18901 s/:@srcdir@:/:/g
   18902 s/^:*//
   18903 s/:*$//
   18904 x
   18905 s/\(=[	 ]*\).*/\1/
   18906 G
   18907 s/\n//
   18908 s/^[^=]*=[	 ]*$//
   18909 }'
   18910 fi
   18911 
   18912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18913 fi # test -n "$CONFIG_FILES"
   18914 
   18915 # Set up the scripts for CONFIG_HEADERS section.
   18916 # No need to generate them if there are no CONFIG_HEADERS.
   18917 # This happens for instance with `./config.status Makefile'.
   18918 if test -n "$CONFIG_HEADERS"; then
   18919 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18920 BEGIN {
   18921 _ACEOF
   18922 
   18923 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18924 # here-document in config.status, that substitutes the proper values into
   18925 # config.h.in to produce config.h.
   18926 
   18927 # Create a delimiter string that does not exist in confdefs.h, to ease
   18928 # handling of long lines.
   18929 ac_delim='%!_!# '
   18930 for ac_last_try in false false :; do
   18931   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18932   if test -z "$ac_tt"; then
   18933     break
   18934   elif $ac_last_try; then
   18935     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18936   else
   18937     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18938   fi
   18939 done
   18940 
   18941 # For the awk script, D is an array of macro values keyed by name,
   18942 # likewise P contains macro parameters if any.  Preserve backslash
   18943 # newline sequences.
   18944 
   18945 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18946 sed -n '
   18947 s/.\{148\}/&'"$ac_delim"'/g
   18948 t rset
   18949 :rset
   18950 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18951 t def
   18952 d
   18953 :def
   18954 s/\\$//
   18955 t bsnl
   18956 s/["\\]/\\&/g
   18957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18958 D["\1"]=" \3"/p
   18959 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18960 d
   18961 :bsnl
   18962 s/["\\]/\\&/g
   18963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18964 D["\1"]=" \3\\\\\\n"\\/p
   18965 t cont
   18966 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18967 t cont
   18968 d
   18969 :cont
   18970 n
   18971 s/.\{148\}/&'"$ac_delim"'/g
   18972 t clear
   18973 :clear
   18974 s/\\$//
   18975 t bsnlc
   18976 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18977 d
   18978 :bsnlc
   18979 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18980 b cont
   18981 ' <confdefs.h | sed '
   18982 s/'"$ac_delim"'/"\\\
   18983 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18984 
   18985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18986   for (key in D) D_is_set[key] = 1
   18987   FS = ""
   18988 }
   18989 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18990   line = \$ 0
   18991   split(line, arg, " ")
   18992   if (arg[1] == "#") {
   18993     defundef = arg[2]
   18994     mac1 = arg[3]
   18995   } else {
   18996     defundef = substr(arg[1], 2)
   18997     mac1 = arg[2]
   18998   }
   18999   split(mac1, mac2, "(") #)
   19000   macro = mac2[1]
   19001   prefix = substr(line, 1, index(line, defundef) - 1)
   19002   if (D_is_set[macro]) {
   19003     # Preserve the white space surrounding the "#".
   19004     print prefix "define", macro P[macro] D[macro]
   19005     next
   19006   } else {
   19007     # Replace #undef with comments.  This is necessary, for example,
   19008     # in the case of _POSIX_SOURCE, which is predefined and required
   19009     # on some systems where configure will not decide to define it.
   19010     if (defundef == "undef") {
   19011       print "/*", prefix defundef, macro, "*/"
   19012       next
   19013     }
   19014   }
   19015 }
   19016 { print }
   19017 _ACAWK
   19018 _ACEOF
   19019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19020   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19021 fi # test -n "$CONFIG_HEADERS"
   19022 
   19023 
   19024 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19025 shift
   19026 for ac_tag
   19027 do
   19028   case $ac_tag in
   19029   :[FHLC]) ac_mode=$ac_tag; continue;;
   19030   esac
   19031   case $ac_mode$ac_tag in
   19032   :[FHL]*:*);;
   19033   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19034   :[FH]-) ac_tag=-:-;;
   19035   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19036   esac
   19037   ac_save_IFS=$IFS
   19038   IFS=:
   19039   set x $ac_tag
   19040   IFS=$ac_save_IFS
   19041   shift
   19042   ac_file=$1
   19043   shift
   19044 
   19045   case $ac_mode in
   19046   :L) ac_source=$1;;
   19047   :[FH])
   19048     ac_file_inputs=
   19049     for ac_f
   19050     do
   19051       case $ac_f in
   19052       -) ac_f="$ac_tmp/stdin";;
   19053       *) # Look for the file first in the build tree, then in the source tree
   19054 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19055 	 # because $ac_f cannot contain `:'.
   19056 	 test -f "$ac_f" ||
   19057 	   case $ac_f in
   19058 	   [\\/$]*) false;;
   19059 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19060 	   esac ||
   19061 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19062       esac
   19063       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19064       as_fn_append ac_file_inputs " '$ac_f'"
   19065     done
   19066 
   19067     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19068     # use $as_me), people would be surprised to read:
   19069     #    /* config.h.  Generated by config.status.  */
   19070     configure_input='Generated from '`
   19071 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19072 	`' by configure.'
   19073     if test x"$ac_file" != x-; then
   19074       configure_input="$ac_file.  $configure_input"
   19075       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19076 $as_echo "$as_me: creating $ac_file" >&6;}
   19077     fi
   19078     # Neutralize special characters interpreted by sed in replacement strings.
   19079     case $configure_input in #(
   19080     *\&* | *\|* | *\\* )
   19081        ac_sed_conf_input=`$as_echo "$configure_input" |
   19082        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19083     *) ac_sed_conf_input=$configure_input;;
   19084     esac
   19085 
   19086     case $ac_tag in
   19087     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19088       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19089     esac
   19090     ;;
   19091   esac
   19092 
   19093   ac_dir=`$as_dirname -- "$ac_file" ||
   19094 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19095 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19096 	 X"$ac_file" : 'X\(//\)$' \| \
   19097 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19098 $as_echo X"$ac_file" |
   19099     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19100 	    s//\1/
   19101 	    q
   19102 	  }
   19103 	  /^X\(\/\/\)[^/].*/{
   19104 	    s//\1/
   19105 	    q
   19106 	  }
   19107 	  /^X\(\/\/\)$/{
   19108 	    s//\1/
   19109 	    q
   19110 	  }
   19111 	  /^X\(\/\).*/{
   19112 	    s//\1/
   19113 	    q
   19114 	  }
   19115 	  s/.*/./; q'`
   19116   as_dir="$ac_dir"; as_fn_mkdir_p
   19117   ac_builddir=.
   19118 
   19119 case "$ac_dir" in
   19120 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19121 *)
   19122   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19123   # A ".." for each directory in $ac_dir_suffix.
   19124   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19125   case $ac_top_builddir_sub in
   19126   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19127   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19128   esac ;;
   19129 esac
   19130 ac_abs_top_builddir=$ac_pwd
   19131 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19132 # for backward compatibility:
   19133 ac_top_builddir=$ac_top_build_prefix
   19134 
   19135 case $srcdir in
   19136   .)  # We are building in place.
   19137     ac_srcdir=.
   19138     ac_top_srcdir=$ac_top_builddir_sub
   19139     ac_abs_top_srcdir=$ac_pwd ;;
   19140   [\\/]* | ?:[\\/]* )  # Absolute name.
   19141     ac_srcdir=$srcdir$ac_dir_suffix;
   19142     ac_top_srcdir=$srcdir
   19143     ac_abs_top_srcdir=$srcdir ;;
   19144   *) # Relative name.
   19145     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19146     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19147     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19148 esac
   19149 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19150 
   19151 
   19152   case $ac_mode in
   19153   :F)
   19154   #
   19155   # CONFIG_FILE
   19156   #
   19157 
   19158   case $INSTALL in
   19159   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19160   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19161   esac
   19162   ac_MKDIR_P=$MKDIR_P
   19163   case $MKDIR_P in
   19164   [\\/$]* | ?:[\\/]* ) ;;
   19165   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19166   esac
   19167 _ACEOF
   19168 
   19169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19170 # If the template does not know about datarootdir, expand it.
   19171 # FIXME: This hack should be removed a few years after 2.60.
   19172 ac_datarootdir_hack=; ac_datarootdir_seen=
   19173 ac_sed_dataroot='
   19174 /datarootdir/ {
   19175   p
   19176   q
   19177 }
   19178 /@datadir@/p
   19179 /@docdir@/p
   19180 /@infodir@/p
   19181 /@localedir@/p
   19182 /@mandir@/p'
   19183 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19184 *datarootdir*) ac_datarootdir_seen=yes;;
   19185 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19186   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19187 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19188 _ACEOF
   19189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19190   ac_datarootdir_hack='
   19191   s&@datadir@&$datadir&g
   19192   s&@docdir@&$docdir&g
   19193   s&@infodir@&$infodir&g
   19194   s&@localedir@&$localedir&g
   19195   s&@mandir@&$mandir&g
   19196   s&\\\${datarootdir}&$datarootdir&g' ;;
   19197 esac
   19198 _ACEOF
   19199 
   19200 # Neutralize VPATH when `$srcdir' = `.'.
   19201 # Shell code in configure.ac might set extrasub.
   19202 # FIXME: do we really want to maintain this feature?
   19203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19204 ac_sed_extra="$ac_vpsub
   19205 $extrasub
   19206 _ACEOF
   19207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19208 :t
   19209 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19210 s|@configure_input@|$ac_sed_conf_input|;t t
   19211 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19212 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19213 s&@srcdir@&$ac_srcdir&;t t
   19214 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19215 s&@top_srcdir@&$ac_top_srcdir&;t t
   19216 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19217 s&@builddir@&$ac_builddir&;t t
   19218 s&@abs_builddir@&$ac_abs_builddir&;t t
   19219 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19220 s&@INSTALL@&$ac_INSTALL&;t t
   19221 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19222 $ac_datarootdir_hack
   19223 "
   19224 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19225   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19226 
   19227 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19228   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19229   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19230       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19231   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19232 which seems to be undefined.  Please make sure it is defined" >&5
   19233 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19234 which seems to be undefined.  Please make sure it is defined" >&2;}
   19235 
   19236   rm -f "$ac_tmp/stdin"
   19237   case $ac_file in
   19238   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19239   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19240   esac \
   19241   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19242  ;;
   19243   :H)
   19244   #
   19245   # CONFIG_HEADER
   19246   #
   19247   if test x"$ac_file" != x-; then
   19248     {
   19249       $as_echo "/* $configure_input  */" \
   19250       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19251     } >"$ac_tmp/config.h" \
   19252       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19253     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19254       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19255 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19256     else
   19257       rm -f "$ac_file"
   19258       mv "$ac_tmp/config.h" "$ac_file" \
   19259 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19260     fi
   19261   else
   19262     $as_echo "/* $configure_input  */" \
   19263       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19264       || as_fn_error $? "could not create -" "$LINENO" 5
   19265   fi
   19266 # Compute "$ac_file"'s index in $config_headers.
   19267 _am_arg="$ac_file"
   19268 _am_stamp_count=1
   19269 for _am_header in $config_headers :; do
   19270   case $_am_header in
   19271     $_am_arg | $_am_arg:* )
   19272       break ;;
   19273     * )
   19274       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19275   esac
   19276 done
   19277 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19278 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19279 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19280 	 X"$_am_arg" : 'X\(//\)$' \| \
   19281 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19282 $as_echo X"$_am_arg" |
   19283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19284 	    s//\1/
   19285 	    q
   19286 	  }
   19287 	  /^X\(\/\/\)[^/].*/{
   19288 	    s//\1/
   19289 	    q
   19290 	  }
   19291 	  /^X\(\/\/\)$/{
   19292 	    s//\1/
   19293 	    q
   19294 	  }
   19295 	  /^X\(\/\).*/{
   19296 	    s//\1/
   19297 	    q
   19298 	  }
   19299 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19300  ;;
   19301 
   19302   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19303 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19304  ;;
   19305   esac
   19306 
   19307 
   19308   case $ac_file$ac_mode in
   19309     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19310   # Older Autoconf quotes --file arguments for eval, but not when files
   19311   # are listed without --file.  Let's play safe and only enable the eval
   19312   # if we detect the quoting.
   19313   case $CONFIG_FILES in
   19314   *\'*) eval set x "$CONFIG_FILES" ;;
   19315   *)   set x $CONFIG_FILES ;;
   19316   esac
   19317   shift
   19318   for mf
   19319   do
   19320     # Strip MF so we end up with the name of the file.
   19321     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19322     # Check whether this is an Automake generated Makefile or not.
   19323     # We used to match only the files named 'Makefile.in', but
   19324     # some people rename them; so instead we look at the file content.
   19325     # Grep'ing the first line is not enough: some people post-process
   19326     # each Makefile.in and add a new line on top of each file to say so.
   19327     # Grep'ing the whole file is not good either: AIX grep has a line
   19328     # limit of 2048, but all sed's we know have understand at least 4000.
   19329     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19330       dirpart=`$as_dirname -- "$mf" ||
   19331 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19332 	 X"$mf" : 'X\(//\)[^/]' \| \
   19333 	 X"$mf" : 'X\(//\)$' \| \
   19334 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19335 $as_echo X"$mf" |
   19336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19337 	    s//\1/
   19338 	    q
   19339 	  }
   19340 	  /^X\(\/\/\)[^/].*/{
   19341 	    s//\1/
   19342 	    q
   19343 	  }
   19344 	  /^X\(\/\/\)$/{
   19345 	    s//\1/
   19346 	    q
   19347 	  }
   19348 	  /^X\(\/\).*/{
   19349 	    s//\1/
   19350 	    q
   19351 	  }
   19352 	  s/.*/./; q'`
   19353     else
   19354       continue
   19355     fi
   19356     # Extract the definition of DEPDIR, am__include, and am__quote
   19357     # from the Makefile without running 'make'.
   19358     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19359     test -z "$DEPDIR" && continue
   19360     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19361     test -z "$am__include" && continue
   19362     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19363     # Find all dependency output files, they are included files with
   19364     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19365     # simplest approach to changing $(DEPDIR) to its actual value in the
   19366     # expansion.
   19367     for file in `sed -n "
   19368       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19369 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19370       # Make sure the directory exists.
   19371       test -f "$dirpart/$file" && continue
   19372       fdir=`$as_dirname -- "$file" ||
   19373 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19374 	 X"$file" : 'X\(//\)[^/]' \| \
   19375 	 X"$file" : 'X\(//\)$' \| \
   19376 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19377 $as_echo X"$file" |
   19378     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19379 	    s//\1/
   19380 	    q
   19381 	  }
   19382 	  /^X\(\/\/\)[^/].*/{
   19383 	    s//\1/
   19384 	    q
   19385 	  }
   19386 	  /^X\(\/\/\)$/{
   19387 	    s//\1/
   19388 	    q
   19389 	  }
   19390 	  /^X\(\/\).*/{
   19391 	    s//\1/
   19392 	    q
   19393 	  }
   19394 	  s/.*/./; q'`
   19395       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19396       # echo "creating $dirpart/$file"
   19397       echo '# dummy' > "$dirpart/$file"
   19398     done
   19399   done
   19400 }
   19401  ;;
   19402     "libtool":C)
   19403 
   19404     # See if we are running on zsh, and set the options which allow our
   19405     # commands through without removal of \ escapes.
   19406     if test -n "${ZSH_VERSION+set}" ; then
   19407       setopt NO_GLOB_SUBST
   19408     fi
   19409 
   19410     cfgfile="${ofile}T"
   19411     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19412     $RM "$cfgfile"
   19413 
   19414     cat <<_LT_EOF >> "$cfgfile"
   19415 #! $SHELL
   19416 
   19417 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19418 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19419 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19420 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19421 #
   19422 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19423 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19424 #                 Foundation, Inc.
   19425 #   Written by Gordon Matzigkeit, 1996
   19426 #
   19427 #   This file is part of GNU Libtool.
   19428 #
   19429 # GNU Libtool is free software; you can redistribute it and/or
   19430 # modify it under the terms of the GNU General Public License as
   19431 # published by the Free Software Foundation; either version 2 of
   19432 # the License, or (at your option) any later version.
   19433 #
   19434 # As a special exception to the GNU General Public License,
   19435 # if you distribute this file as part of a program or library that
   19436 # is built using GNU Libtool, you may include this file under the
   19437 # same distribution terms that you use for the rest of that program.
   19438 #
   19439 # GNU Libtool is distributed in the hope that it will be useful,
   19440 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19441 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19442 # GNU General Public License for more details.
   19443 #
   19444 # You should have received a copy of the GNU General Public License
   19445 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19446 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19447 # obtained by writing to the Free Software Foundation, Inc.,
   19448 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19449 
   19450 
   19451 # The names of the tagged configurations supported by this script.
   19452 available_tags=""
   19453 
   19454 # ### BEGIN LIBTOOL CONFIG
   19455 
   19456 # Which release of libtool.m4 was used?
   19457 macro_version=$macro_version
   19458 macro_revision=$macro_revision
   19459 
   19460 # Whether or not to build shared libraries.
   19461 build_libtool_libs=$enable_shared
   19462 
   19463 # Whether or not to build static libraries.
   19464 build_old_libs=$enable_static
   19465 
   19466 # What type of objects to build.
   19467 pic_mode=$pic_mode
   19468 
   19469 # Whether or not to optimize for fast installation.
   19470 fast_install=$enable_fast_install
   19471 
   19472 # Shell to use when invoking shell scripts.
   19473 SHELL=$lt_SHELL
   19474 
   19475 # An echo program that protects backslashes.
   19476 ECHO=$lt_ECHO
   19477 
   19478 # The PATH separator for the build system.
   19479 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19480 
   19481 # The host system.
   19482 host_alias=$host_alias
   19483 host=$host
   19484 host_os=$host_os
   19485 
   19486 # The build system.
   19487 build_alias=$build_alias
   19488 build=$build
   19489 build_os=$build_os
   19490 
   19491 # A sed program that does not truncate output.
   19492 SED=$lt_SED
   19493 
   19494 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19495 Xsed="\$SED -e 1s/^X//"
   19496 
   19497 # A grep program that handles long lines.
   19498 GREP=$lt_GREP
   19499 
   19500 # An ERE matcher.
   19501 EGREP=$lt_EGREP
   19502 
   19503 # A literal string matcher.
   19504 FGREP=$lt_FGREP
   19505 
   19506 # A BSD- or MS-compatible name lister.
   19507 NM=$lt_NM
   19508 
   19509 # Whether we need soft or hard links.
   19510 LN_S=$lt_LN_S
   19511 
   19512 # What is the maximum length of a command?
   19513 max_cmd_len=$max_cmd_len
   19514 
   19515 # Object file suffix (normally "o").
   19516 objext=$ac_objext
   19517 
   19518 # Executable file suffix (normally "").
   19519 exeext=$exeext
   19520 
   19521 # whether the shell understands "unset".
   19522 lt_unset=$lt_unset
   19523 
   19524 # turn spaces into newlines.
   19525 SP2NL=$lt_lt_SP2NL
   19526 
   19527 # turn newlines into spaces.
   19528 NL2SP=$lt_lt_NL2SP
   19529 
   19530 # convert \$build file names to \$host format.
   19531 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19532 
   19533 # convert \$build files to toolchain format.
   19534 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19535 
   19536 # An object symbol dumper.
   19537 OBJDUMP=$lt_OBJDUMP
   19538 
   19539 # Method to check whether dependent libraries are shared objects.
   19540 deplibs_check_method=$lt_deplibs_check_method
   19541 
   19542 # Command to use when deplibs_check_method = "file_magic".
   19543 file_magic_cmd=$lt_file_magic_cmd
   19544 
   19545 # How to find potential files when deplibs_check_method = "file_magic".
   19546 file_magic_glob=$lt_file_magic_glob
   19547 
   19548 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19549 want_nocaseglob=$lt_want_nocaseglob
   19550 
   19551 # DLL creation program.
   19552 DLLTOOL=$lt_DLLTOOL
   19553 
   19554 # Command to associate shared and link libraries.
   19555 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19556 
   19557 # The archiver.
   19558 AR=$lt_AR
   19559 
   19560 # Flags to create an archive.
   19561 AR_FLAGS=$lt_AR_FLAGS
   19562 
   19563 # How to feed a file listing to the archiver.
   19564 archiver_list_spec=$lt_archiver_list_spec
   19565 
   19566 # A symbol stripping program.
   19567 STRIP=$lt_STRIP
   19568 
   19569 # Commands used to install an old-style archive.
   19570 RANLIB=$lt_RANLIB
   19571 old_postinstall_cmds=$lt_old_postinstall_cmds
   19572 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19573 
   19574 # Whether to use a lock for old archive extraction.
   19575 lock_old_archive_extraction=$lock_old_archive_extraction
   19576 
   19577 # A C compiler.
   19578 LTCC=$lt_CC
   19579 
   19580 # LTCC compiler flags.
   19581 LTCFLAGS=$lt_CFLAGS
   19582 
   19583 # Take the output of nm and produce a listing of raw symbols and C names.
   19584 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19585 
   19586 # Transform the output of nm in a proper C declaration.
   19587 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19588 
   19589 # Transform the output of nm in a C name address pair.
   19590 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19591 
   19592 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19593 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19594 
   19595 # Specify filename containing input files for \$NM.
   19596 nm_file_list_spec=$lt_nm_file_list_spec
   19597 
   19598 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19599 lt_sysroot=$lt_sysroot
   19600 
   19601 # The name of the directory that contains temporary libtool files.
   19602 objdir=$objdir
   19603 
   19604 # Used to examine libraries when file_magic_cmd begins with "file".
   19605 MAGIC_CMD=$MAGIC_CMD
   19606 
   19607 # Must we lock files when doing compilation?
   19608 need_locks=$lt_need_locks
   19609 
   19610 # Manifest tool.
   19611 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19612 
   19613 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19614 DSYMUTIL=$lt_DSYMUTIL
   19615 
   19616 # Tool to change global to local symbols on Mac OS X.
   19617 NMEDIT=$lt_NMEDIT
   19618 
   19619 # Tool to manipulate fat objects and archives on Mac OS X.
   19620 LIPO=$lt_LIPO
   19621 
   19622 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19623 OTOOL=$lt_OTOOL
   19624 
   19625 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19626 OTOOL64=$lt_OTOOL64
   19627 
   19628 # Old archive suffix (normally "a").
   19629 libext=$libext
   19630 
   19631 # Shared library suffix (normally ".so").
   19632 shrext_cmds=$lt_shrext_cmds
   19633 
   19634 # The commands to extract the exported symbol list from a shared archive.
   19635 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19636 
   19637 # Variables whose values should be saved in libtool wrapper scripts and
   19638 # restored at link time.
   19639 variables_saved_for_relink=$lt_variables_saved_for_relink
   19640 
   19641 # Do we need the "lib" prefix for modules?
   19642 need_lib_prefix=$need_lib_prefix
   19643 
   19644 # Do we need a version for libraries?
   19645 need_version=$need_version
   19646 
   19647 # Library versioning type.
   19648 version_type=$version_type
   19649 
   19650 # Shared library runtime path variable.
   19651 runpath_var=$runpath_var
   19652 
   19653 # Shared library path variable.
   19654 shlibpath_var=$shlibpath_var
   19655 
   19656 # Is shlibpath searched before the hard-coded library search path?
   19657 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19658 
   19659 # Format of library name prefix.
   19660 libname_spec=$lt_libname_spec
   19661 
   19662 # List of archive names.  First name is the real one, the rest are links.
   19663 # The last name is the one that the linker finds with -lNAME
   19664 library_names_spec=$lt_library_names_spec
   19665 
   19666 # The coded name of the library, if different from the real name.
   19667 soname_spec=$lt_soname_spec
   19668 
   19669 # Permission mode override for installation of shared libraries.
   19670 install_override_mode=$lt_install_override_mode
   19671 
   19672 # Command to use after installation of a shared archive.
   19673 postinstall_cmds=$lt_postinstall_cmds
   19674 
   19675 # Command to use after uninstallation of a shared archive.
   19676 postuninstall_cmds=$lt_postuninstall_cmds
   19677 
   19678 # Commands used to finish a libtool library installation in a directory.
   19679 finish_cmds=$lt_finish_cmds
   19680 
   19681 # As "finish_cmds", except a single script fragment to be evaled but
   19682 # not shown.
   19683 finish_eval=$lt_finish_eval
   19684 
   19685 # Whether we should hardcode library paths into libraries.
   19686 hardcode_into_libs=$hardcode_into_libs
   19687 
   19688 # Compile-time system search path for libraries.
   19689 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19690 
   19691 # Run-time system search path for libraries.
   19692 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19693 
   19694 # Whether dlopen is supported.
   19695 dlopen_support=$enable_dlopen
   19696 
   19697 # Whether dlopen of programs is supported.
   19698 dlopen_self=$enable_dlopen_self
   19699 
   19700 # Whether dlopen of statically linked programs is supported.
   19701 dlopen_self_static=$enable_dlopen_self_static
   19702 
   19703 # Commands to strip libraries.
   19704 old_striplib=$lt_old_striplib
   19705 striplib=$lt_striplib
   19706 
   19707 
   19708 # The linker used to build libraries.
   19709 LD=$lt_LD
   19710 
   19711 # How to create reloadable object files.
   19712 reload_flag=$lt_reload_flag
   19713 reload_cmds=$lt_reload_cmds
   19714 
   19715 # Commands used to build an old-style archive.
   19716 old_archive_cmds=$lt_old_archive_cmds
   19717 
   19718 # A language specific compiler.
   19719 CC=$lt_compiler
   19720 
   19721 # Is the compiler the GNU compiler?
   19722 with_gcc=$GCC
   19723 
   19724 # Compiler flag to turn off builtin functions.
   19725 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19726 
   19727 # Additional compiler flags for building library objects.
   19728 pic_flag=$lt_lt_prog_compiler_pic
   19729 
   19730 # How to pass a linker flag through the compiler.
   19731 wl=$lt_lt_prog_compiler_wl
   19732 
   19733 # Compiler flag to prevent dynamic linking.
   19734 link_static_flag=$lt_lt_prog_compiler_static
   19735 
   19736 # Does compiler simultaneously support -c and -o options?
   19737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19738 
   19739 # Whether or not to add -lc for building shared libraries.
   19740 build_libtool_need_lc=$archive_cmds_need_lc
   19741 
   19742 # Whether or not to disallow shared libs when runtime libs are static.
   19743 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19744 
   19745 # Compiler flag to allow reflexive dlopens.
   19746 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19747 
   19748 # Compiler flag to generate shared objects directly from archives.
   19749 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19750 
   19751 # Whether the compiler copes with passing no objects directly.
   19752 compiler_needs_object=$lt_compiler_needs_object
   19753 
   19754 # Create an old-style archive from a shared archive.
   19755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19756 
   19757 # Create a temporary old-style archive to link instead of a shared archive.
   19758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19759 
   19760 # Commands used to build a shared archive.
   19761 archive_cmds=$lt_archive_cmds
   19762 archive_expsym_cmds=$lt_archive_expsym_cmds
   19763 
   19764 # Commands used to build a loadable module if different from building
   19765 # a shared archive.
   19766 module_cmds=$lt_module_cmds
   19767 module_expsym_cmds=$lt_module_expsym_cmds
   19768 
   19769 # Whether we are building with GNU ld or not.
   19770 with_gnu_ld=$lt_with_gnu_ld
   19771 
   19772 # Flag that allows shared libraries with undefined symbols to be built.
   19773 allow_undefined_flag=$lt_allow_undefined_flag
   19774 
   19775 # Flag that enforces no undefined symbols.
   19776 no_undefined_flag=$lt_no_undefined_flag
   19777 
   19778 # Flag to hardcode \$libdir into a binary during linking.
   19779 # This must work even if \$libdir does not exist
   19780 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19781 
   19782 # Whether we need a single "-rpath" flag with a separated argument.
   19783 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19784 
   19785 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19786 # DIR into the resulting binary.
   19787 hardcode_direct=$hardcode_direct
   19788 
   19789 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19790 # DIR into the resulting binary and the resulting library dependency is
   19791 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19792 # library is relocated.
   19793 hardcode_direct_absolute=$hardcode_direct_absolute
   19794 
   19795 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19796 # into the resulting binary.
   19797 hardcode_minus_L=$hardcode_minus_L
   19798 
   19799 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19800 # into the resulting binary.
   19801 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19802 
   19803 # Set to "yes" if building a shared library automatically hardcodes DIR
   19804 # into the library and all subsequent libraries and executables linked
   19805 # against it.
   19806 hardcode_automatic=$hardcode_automatic
   19807 
   19808 # Set to yes if linker adds runtime paths of dependent libraries
   19809 # to runtime path list.
   19810 inherit_rpath=$inherit_rpath
   19811 
   19812 # Whether libtool must link a program against all its dependency libraries.
   19813 link_all_deplibs=$link_all_deplibs
   19814 
   19815 # Set to "yes" if exported symbols are required.
   19816 always_export_symbols=$always_export_symbols
   19817 
   19818 # The commands to list exported symbols.
   19819 export_symbols_cmds=$lt_export_symbols_cmds
   19820 
   19821 # Symbols that should not be listed in the preloaded symbols.
   19822 exclude_expsyms=$lt_exclude_expsyms
   19823 
   19824 # Symbols that must always be exported.
   19825 include_expsyms=$lt_include_expsyms
   19826 
   19827 # Commands necessary for linking programs (against libraries) with templates.
   19828 prelink_cmds=$lt_prelink_cmds
   19829 
   19830 # Commands necessary for finishing linking programs.
   19831 postlink_cmds=$lt_postlink_cmds
   19832 
   19833 # Specify filename containing input files.
   19834 file_list_spec=$lt_file_list_spec
   19835 
   19836 # How to hardcode a shared library path into an executable.
   19837 hardcode_action=$hardcode_action
   19838 
   19839 # ### END LIBTOOL CONFIG
   19840 
   19841 _LT_EOF
   19842 
   19843   case $host_os in
   19844   aix3*)
   19845     cat <<\_LT_EOF >> "$cfgfile"
   19846 # AIX sometimes has problems with the GCC collect2 program.  For some
   19847 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19848 # vanish in a puff of smoke.
   19849 if test "X${COLLECT_NAMES+set}" != Xset; then
   19850   COLLECT_NAMES=
   19851   export COLLECT_NAMES
   19852 fi
   19853 _LT_EOF
   19854     ;;
   19855   esac
   19856 
   19857 
   19858 ltmain="$ac_aux_dir/ltmain.sh"
   19859 
   19860 
   19861   # We use sed instead of cat because bash on DJGPP gets confused if
   19862   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19863   # text mode, it properly converts lines to CR/LF.  This bash problem
   19864   # is reportedly fixed, but why not run on old versions too?
   19865   sed '$q' "$ltmain" >> "$cfgfile" \
   19866      || (rm -f "$cfgfile"; exit 1)
   19867 
   19868   if test x"$xsi_shell" = xyes; then
   19869   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19870 func_dirname ()\
   19871 {\
   19872 \    case ${1} in\
   19873 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19874 \      *  ) func_dirname_result="${3}" ;;\
   19875 \    esac\
   19876 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19877   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19878     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19879 test 0 -eq $? || _lt_function_replace_fail=:
   19880 
   19881 
   19882   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19883 func_basename ()\
   19884 {\
   19885 \    func_basename_result="${1##*/}"\
   19886 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19887   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19888     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19889 test 0 -eq $? || _lt_function_replace_fail=:
   19890 
   19891 
   19892   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19893 func_dirname_and_basename ()\
   19894 {\
   19895 \    case ${1} in\
   19896 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19897 \      *  ) func_dirname_result="${3}" ;;\
   19898 \    esac\
   19899 \    func_basename_result="${1##*/}"\
   19900 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19901   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19902     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19903 test 0 -eq $? || _lt_function_replace_fail=:
   19904 
   19905 
   19906   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19907 func_stripname ()\
   19908 {\
   19909 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19910 \    # positional parameters, so assign one to ordinary parameter first.\
   19911 \    func_stripname_result=${3}\
   19912 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19913 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19914 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19915   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19916     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19917 test 0 -eq $? || _lt_function_replace_fail=:
   19918 
   19919 
   19920   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19921 func_split_long_opt ()\
   19922 {\
   19923 \    func_split_long_opt_name=${1%%=*}\
   19924 \    func_split_long_opt_arg=${1#*=}\
   19925 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19926   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19927     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19928 test 0 -eq $? || _lt_function_replace_fail=:
   19929 
   19930 
   19931   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19932 func_split_short_opt ()\
   19933 {\
   19934 \    func_split_short_opt_arg=${1#??}\
   19935 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19936 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19937   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19938     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19939 test 0 -eq $? || _lt_function_replace_fail=:
   19940 
   19941 
   19942   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   19943 func_lo2o ()\
   19944 {\
   19945 \    case ${1} in\
   19946 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   19947 \      *)    func_lo2o_result=${1} ;;\
   19948 \    esac\
   19949 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   19950   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19951     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19952 test 0 -eq $? || _lt_function_replace_fail=:
   19953 
   19954 
   19955   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   19956 func_xform ()\
   19957 {\
   19958     func_xform_result=${1%.*}.lo\
   19959 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   19960   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19961     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19962 test 0 -eq $? || _lt_function_replace_fail=:
   19963 
   19964 
   19965   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   19966 func_arith ()\
   19967 {\
   19968     func_arith_result=$(( $* ))\
   19969 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   19970   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19971     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19972 test 0 -eq $? || _lt_function_replace_fail=:
   19973 
   19974 
   19975   sed -e '/^func_len ()$/,/^} # func_len /c\
   19976 func_len ()\
   19977 {\
   19978     func_len_result=${#1}\
   19979 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   19980   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19981     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19982 test 0 -eq $? || _lt_function_replace_fail=:
   19983 
   19984 fi
   19985 
   19986 if test x"$lt_shell_append" = xyes; then
   19987   sed -e '/^func_append ()$/,/^} # func_append /c\
   19988 func_append ()\
   19989 {\
   19990     eval "${1}+=\\${2}"\
   19991 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   19992   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19993     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19994 test 0 -eq $? || _lt_function_replace_fail=:
   19995 
   19996 
   19997   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   19998 func_append_quoted ()\
   19999 {\
   20000 \    func_quote_for_eval "${2}"\
   20001 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20002 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20003   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20004     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20005 test 0 -eq $? || _lt_function_replace_fail=:
   20006 
   20007 
   20008   # Save a `func_append' function call where possible by direct use of '+='
   20009   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20010     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20011       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20012   test 0 -eq $? || _lt_function_replace_fail=:
   20013 else
   20014   # Save a `func_append' function call even when '+=' is not available
   20015   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20016     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20017       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20018   test 0 -eq $? || _lt_function_replace_fail=:
   20019 fi
   20020 
   20021 if test x"$_lt_function_replace_fail" = x":"; then
   20022   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20023 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20024 fi
   20025 
   20026 
   20027    mv -f "$cfgfile" "$ofile" ||
   20028     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20029   chmod +x "$ofile"
   20030 
   20031  ;;
   20032 
   20033   esac
   20034 done # for ac_tag
   20035 
   20036 
   20037 as_fn_exit 0
   20038 _ACEOF
   20039 ac_clean_files=$ac_clean_files_save
   20040 
   20041 test $ac_write_fail = 0 ||
   20042   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20043 
   20044 
   20045 # configure is writing to config.log, and then calls config.status.
   20046 # config.status does its own redirection, appending to config.log.
   20047 # Unfortunately, on DOS this fails, as config.log is still kept open
   20048 # by configure, so config.status won't be able to write to it; its
   20049 # output is simply discarded.  So we exec the FD to /dev/null,
   20050 # effectively closing config.log, so it can be properly (re)opened and
   20051 # appended to by config.status.  When coming back to configure, we
   20052 # need to make the FD available again.
   20053 if test "$no_create" != yes; then
   20054   ac_cs_success=:
   20055   ac_config_status_args=
   20056   test "$silent" = yes &&
   20057     ac_config_status_args="$ac_config_status_args --quiet"
   20058   exec 5>/dev/null
   20059   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20060   exec 5>>config.log
   20061   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20062   # would make configure fail if this is the last instruction.
   20063   $ac_cs_success || as_fn_exit 1
   20064 fi
   20065 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20066   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20067 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20068 fi
   20069 
   20070